* lisp/progmodes/compile.el (compilation-next-error-function):
[bpt/emacs.git] / lisp / ChangeLog
1 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
2
3 * progmodes/compile.el (compilation-next-error-function):
4 Pass "formats" to compilation-find-file (bug#11777).
5
6 2013-04-24 Glenn Morris <rgm@gnu.org>
7
8 * vc/vc-bzr.el (vc-bzr-print-log):
9 * vc/vc-hg.el (vc-hg-print-log):
10 * vc/vc-svn.el (vc-svn-print-log):
11 Fix START-REVISION with LIMIT != 1. (Bug#14168)
12
13 * vc/vc-bzr.el (vc-bzr-print-log):
14 * vc/vc-cvs.el (vc-cvs-print-log):
15 * vc/vc-git.el (vc-git-print-log):
16 * vc/vc-hg.el (vc-hg-print-log):
17 * vc/vc-mtn.el (vc-mtn-print-log):
18 * vc/vc-rcs.el (vc-rcs-print-log):
19 * vc/vc-sccs.el (vc-sccs-print-log):
20 * vc/vc-svn.el (vc-svn-print-log):
21 * vc/vc.el (vc-print-log-internal): Doc fixes.
22
23 2013-04-23 Glenn Morris <rgm@gnu.org>
24
25 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
26 Remove venerable code attempting to avoid substitute-command-keys.
27
28 2013-04-23 Tassilo Horn <tsdh@gnu.org>
29
30 * textmodes/reftex-vars.el (reftex-label-regexps):
31 Call `reftex-compile-variables' after changes to this variable.
32
33 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
34
35 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
36 Use lexical-binding.
37 (jit-lock-force-redisplay): Use markers, check buffer's continued
38 existence and beware narrowed buffers.
39 (jit-lock-fontify-now): Adjust call accordingly.
40
41 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
42
43 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
44 to avoid misleading the user.
45
46 2013-04-22 Leo Liu <sdl.web@gmail.com>
47
48 * info-look.el: Prefer latex2e.info. (Bug#14240)
49
50 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
51
52 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
53
54 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
55 * net/tramp.el (tramp-call-process): ... here
56 (tramp-set-completion-function, tramp-parse-putty):
57 * net/tramp-adb.el (tramp-adb-execute-adb-command):
58 * net/tramp-gvfs.el (tramp-gvfs-send-command):
59 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
60 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
61 (tramp-call-local-coding-command): Use `tramp-call-process'
62 instead of `tramp-compat-call-process'.
63
64 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
65 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
66 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
67 (tramp-find-inline-compress):Improve traces.
68 (tramp-maybe-send-script): Check for Perl binary.
69 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
70
71 2013-04-22 Daiki Ueno <ueno@gnu.org>
72
73 * epg.el (epg-context-pinentry-mode): New function.
74 (epg-context-set-pinentry-mode): New function.
75 (epg--start): Pass --pinentry-mode option to gpg command.
76
77 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
78
79 * comint.el: (comint-dynamic-complete-functions, comint-mode-map):
80 `comint-dynamic-complete' is obsolete since 24.1, replaced by
81 `completion-at-point'. (Bug#13774)
82
83 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
84 default key binding for `describe-distribution' has been moved to
85 `C-h C-o'. (Bug#13970)
86
87 2013-04-21 Glenn Morris <rgm@gnu.org>
88
89 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
90 Add doc strings.
91 (vc-print-log): Clarify interactive prompt.
92
93 2013-04-20 Glenn Morris <rgm@gnu.org>
94
95 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
96 No longer include timestamp etc information.
97
98 2013-04-20 Roland Winkler <winkler@gnu.org>
99
100 * faces.el (read-face-name): Bug fix, return just one face if arg
101 multiple is nil. (Bug#14209)
102
103 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
104
105 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
106 (remove-function): Autoload.
107
108 * comint.el (comint-redirect-original-filter-function): Remove.
109 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
110 * vc/vc-cvs.el (vc-cvs-annotate-process-filter,vc-cvs-annotate-command):
111 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
112 * progmodes/prolog.el (prolog-consult-compile):
113 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
114 Use add/remove-function instead.
115 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
116 (gud-tooltip-process-output, gud-tooltip-tips):
117 Use add/remove-function instead.
118 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
119 (scheme-interaction-mode, exit-scheme-interaction-mode):
120 Use add/remove-function instead.
121
122 * vc/vc-dispatcher.el: Use lexical-binding.
123 (vc--process-sentinel): Rename from vc-process-sentinel.
124 Change last arg to be the code to run. Don't use vc-previous-sentinel
125 and vc-sentinel-commands any more.
126 (vc-exec-after): Allow code to be a function. Use add/remove-function.
127 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
128
129 2013-04-19 Masatake YAMATO <yamato@redhat.com>
130
131 * progmodes/sh-script.el (sh-imenu-generic-expression):
132 Handle function names with a single character. (Bug#14111)
133
134 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
135
136 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
137 for subroutines defined in an eval (bug#14182).
138
139 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
140
141 * bookmark.el (bookmark-completing-read): Improve handling of empty
142 string (bug#14176).
143
144 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
145
146 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
147
148 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
149
150 New faster Imenu implementation (bug#14058).
151 * progmodes/python.el:
152 (python-imenu-prev-index-position):
153 (python-imenu-format-item-label-function)
154 (python-imenu-format-parent-item-label-function)
155 (python-imenu-format-parent-item-jump-label-function):
156 New vars.
157 (python-imenu-format-item-label)
158 (python-imenu-format-parent-item-label)
159 (python-imenu-format-parent-item-jump-label)
160 (python-imenu--put-parent, python-imenu--build-tree)
161 (python-imenu-create-index, python-imenu-create-flat-index)
162 (python-util-popn): New functions.
163 (python-mode): Set imenu-create-index-function to
164 python-imenu-create-index.
165
166 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
167
168 * winner.el (winner-active-region): Use region-active-p, activate-mark
169 and deactivate-mark (bug#14225).
170
171 * simple.el (deactivate-mark): Don't inline it.
172
173 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
174
175 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
176
177 2013-04-18 Tassilo Horn <tsdh@gnu.org>
178
179 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
180 file extensions from the archive-mode entry in order to prefer
181 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
182
183 2013-04-18 Leo Liu <sdl.web@gmail.com>
184
185 * bindings.el (help-event-list): Add ?\?.
186
187 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
188
189 * subr.el (with-wrapper-hook): Declare obsolete.
190 * simple.el (filter-buffer-substring-function): New hook.
191 (filter-buffer-substring): Use it.
192 (filter-buffer-substring-functions): Mark obsolete.
193 * minibuffer.el (completion-in-region-function): New hook.
194 (completion-in-region): Use it.
195 (completion-in-region-functions): Mark obsolete.
196 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
197 * abbrev.el (abbrev-expand-function): New hook.
198 (expand-abbrev): Use it.
199 (abbrev-expand-functions): Mark obsolete.
200 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
201 and :filter-return.
202
203 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
204
205 * progmodes/python.el (python-nav--syntactically): Fix cornercases
206 and do not care about match data.
207
208 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
209
210 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
211 completion tables when completing error conditions and
212 `declare' arguments.
213 (lisp-complete-symbol, field-complete): Mark as obsolete.
214 (check-parens): Unmatched parens are user errors.
215 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
216
217 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
218
219 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
220 command changed buffer (ie. `flyspell-pre-buffer' is not current
221 buffer), which prevents making decisions based on invalid value of
222 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
223 cause an error when `flyspell-pre-point' was nil after switching
224 buffers.
225 (flyspell-post-command-hook): No longer needs to change buffers when
226 checking pre-word. While at it remove unnecessary progn.
227
228 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
229
230 * textmodes/ispell.el (ispell-add-per-file-word-list):
231 Fix `flyspell-correct-word-before-point' error when accepting
232 words and `coment-padding' is an integer by using
233 `comment-normalize-vars' (Bug #14214).
234
235 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
236
237 New defun movement commands.
238 * progmodes/python.el (python-nav--syntactically)
239 (python-nav--forward-defun, python-nav-backward-defun)
240 (python-nav-forward-defun): New functions.
241
242 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
243
244 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
245 (python-syntax-context): Use named compiler-macro for backwards
246 compatibility with Emacs 24.x.
247
248 2013-04-17 Leo Liu <sdl.web@gmail.com>
249
250 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
251 octave-hide-process-buffer.
252
253 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
254
255 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
256 (bug#14216).
257
258 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
259
260 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
261 Fix adjustment of offset when receiving incomplete responses from GDB
262 (bug#14129).
263
264 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
265
266 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
267 python-mode-abbrev-table.
268 (python-skeleton-define): Adjust accordingly.
269 (python-mode-abbrev-table): New table that inherits from it so that
270 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
271
272 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
273 (abbrev-symbol): Use it.
274 (abbrev--before-point): Use it since we already handle inheritance.
275
276 2013-04-16 Leo Liu <sdl.web@gmail.com>
277
278 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
279 binding to info-lookup-symbol.
280
281 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
282
283 * minibuffer.el (completion--twq-all):
284 * term/ns-win.el (ns-initialize-window-system):
285 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
286
287 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
288
289 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
290 global bindings.
291
292 * doc-view.el (doc-view-start-process): Handle url-handler directories.
293
294 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
295
296 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
297 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
298 to nil.
299 (ruby-end-of-defun): Remove the unused arg, change the docstring
300 to reflect that this function is only used as the value of
301 `end-of-defun-function'.
302 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
303 to reflect an earlier change that beginning/end-of-defun functions
304 jump between methods in a class definition, as well as top-level
305 functions.
306
307 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
308
309 * minibuffer.el (minibuffer-complete): Don't just scroll
310 a *Completions* that's been iconified.
311 (minibuffer-force-complete): Make sure repetitions do cycle when going
312 through completion-in-region -> minibuffer-complete.
313
314 2013-04-15 Alan Mackenzie <acm@muc.de>
315
316 Correct the placement of c-cpp-delimiters when there're #s not at
317 col 0.
318
319 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
320 place a submatch around the #.
321 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
322 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
323 on the #, not BOL.
324
325 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
326
327 * emacs-lisp/nadvice.el: Properly test names when adding advice.
328 (advice--member-p): New arg `name'.
329 (advice--add-function, advice-member-p): Use it (bug#14202).
330
331 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
332
333 Reformulate java imenu-generic-expression.
334 The old expression contained ill formed regexps.
335
336 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
337 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
338 (cc-imenu-java-method-arg-regexp): New defconsts.
339 (cc-imenu-java-build-type-args-regex): New defun.
340 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
341 handling of spaces in the regexp.
342
343 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
344
345 * textmodes/ispell.el (ispell-command-loop): Remove
346 flyspell highlight of a word when ispell accepts it (bug #14178).
347
348 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
349
350 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
351 uses code from the previous `ange-ftp-run-real-handler'.
352 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
353 only in case that function exist. This is needed for proper
354 unloading of Tramp.
355
356 2013-04-15 Tassilo Horn <tsdh@gnu.org>
357
358 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
359
360 * textmodes/reftex.el (reftex-compile-variables): Use it.
361
362 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
363
364 * files.el (normal-mode): Only use default major-mode if no other mode
365 was specified.
366
367 * emacs-lisp/trace.el (trace-values): New function.
368
369 * files.el: Allow : in local variables (bug#14089).
370 (hack-local-variable-regexp): New var.
371 (hack-local-variables-prop-line, hack-local-variables): Use it.
372
373 2013-04-13 Roland Winkler <winkler@gnu.org>
374
375 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
376 data before it gets modified by bibtex-beginning-of-entry.
377
378 2013-04-13 Roland Winkler <winkler@gnu.org>
379
380 * textmodes/bibtex.el (bibtex-url): Doc fix.
381
382 2013-04-13 Roland Winkler <winkler@gnu.org>
383
384 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
385 does not visit a BibTeX file, exclude it from the list of buffers
386 returned by bibtex-initialize.
387
388 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
389
390 * window.el (split-window): Remove interactive form, since as a
391 command this function is a special case of split-window-below.
392 Correct doc string.
393
394 2013-04-12 Roland Winkler <winkler@gnu.org>
395
396 * faces.el (read-face-name): Do not override value of arg default.
397 Allow single faces and strings as default values. Remove those
398 elements from return value that are not faces.
399 (describe-face): Simplify.
400 (face-at-point): New optional args thing and multiple so that this
401 function can provide the same functionality previously provided by
402 read-face-name.
403 (make-face-bold, make-face-unbold, make-face-italic)
404 (make-face-unitalic, make-face-bold-italic, invert-face)
405 (modify-face, read-face-and-attribute): Use face-at-point.
406
407 * cus-edit.el (customize-face, customize-face-other-window)
408 * cus-theme.el (custom-theme-add-face)
409 * face-remap.el (buffer-face-set)
410 * facemenu.el (facemenu-set-face): Use face-at-point.
411
412 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
413
414 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
415
416 2013-04-10 Tassilo Horn <tsdh@gnu.org>
417
418 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
419 off leading { and trailing } from field values.
420
421 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
422
423 * emacs-lisp/timer.el (timer--check): New function.
424 (timer--time, timer-set-function, timer-event-handler): Use it.
425 (timer-set-idle-time): Simplify.
426 (timer--activate): CSE.
427 (timer-event-handler): Give more info in error message.
428 (internal-timer-start-idle): New function, moved from C.
429
430 * mpc.el (mpc-proc): Add `restart' argument.
431 (mpc-proc-cmd): Use it.
432 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
433 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
434 less often.
435
436 2013-04-10 Masatake YAMATO <yamato@redhat.com>
437
438 * progmodes/sh-script.el: Implement `sh-mode' own
439 `add-log-current-defun-function' (bug#14112).
440 (sh-current-defun-name): New function.
441 (sh-mode): Use the function.
442
443 2013-04-09 Bastien Guerry <bzg@gnu.org>
444
445 * simple.el (choose-completion-string): Fix docstring (bug#14163).
446
447 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
448
449 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
450
451 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
452 timer (bug#14156).
453
454 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
455
456 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
457 declaration.
458
459 2013-04-07 Leo Liu <sdl.web@gmail.com>
460
461 * pcmpl-x.el: New file.
462
463 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
464
465 Do not set x-display-name until X connection is established.
466 This is needed to prevent from weird situation described at
467 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
468 * frame.el (make-frame): Set x-display-name after call to
469 window system initialization function, not before.
470 * term/x-win.el (x-initialize-window-system): Add optional
471 display argument and use it.
472 * term/w32-win.el (w32-initialize-window-system):
473 * term/ns-win.el (ns-initialize-window-system):
474 * term/pc-win.el (msdos-initialize-window-system):
475 Add compatible optional display argument.
476
477 2013-04-06 Eli Zaretskii <eliz@gnu.org>
478
479 * files.el (normal-backup-enable-predicate): On MS-Windows and
480 MS-DOS compare truenames of temporary-file-directory and of the
481 file, so that 8+3 aliases (usually found in $TEMP on Windows)
482 don't fail comparison by compare-strings. Also, compare file
483 names case-insensitively on MS-Windows and MS-DOS.
484
485 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
486
487 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
488 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
489
490 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
491
492 * whitespace.el (whitespace-color-on, whitespace-color-off):
493 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
494
495 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
496
497 * ispell.el (ispell-set-spellchecker-params):
498 Really set `ispell-args' for all equivs.
499
500 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
501
502 * ido.el (ido-completions): Use extra elements of ido-decorations
503 (bug#14143).
504 (ido-decorations): Update docstring.
505
506 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
507
508 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
509 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
510 nil during initialization, in order not to miss changes since the
511 file was opened. (Bug#14140)
512
513 2013-04-05 Leo Liu <sdl.web@gmail.com>
514
515 * kmacro.el (kmacro-call-macro): Fix bug#14135.
516
517 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
518
519 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
520
521 2013-04-04 Glenn Morris <rgm@gnu.org>
522
523 * electric.el (electric-pair-inhibit-predicate): Add :version.
524
525 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
526
527 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
528 when a package is required several times (bug#14082).
529
530 2013-04-04 Roland Winkler <winkler@gnu.org>
531
532 * faces.el (read-face-name): Behave as promised by the docstring.
533 Assume that arg default is a list of faces.
534 (describe-face): Call read-face-name with list of default faces.
535
536 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
537
538 * bookmark.el: Fix deletion of bookmarks (bug#13972).
539 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
540 (bookmark-bmenu-execute-deletions): Only skip first line if it's
541 the header.
542 (bookmark-exit-hook-internal): Save even if list is empty.
543
544 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
545
546 * emacs-lisp/package.el (package-pinned-packages): New var.
547 (package--add-to-archive-contents): Obey it (bug#14118).
548
549 2013-04-03 Alan Mackenzie <acm@muc.de>
550
551 Handle `parse-partial-sexp' landing inside a comment opener
552 (Bug#13244). Also adapt to the new values of element 7 of a parse
553 state.
554
555 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
556 parameter `not-in-delimiter'. Handle being inside comment opener.
557 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
558 character in case we're typing a '*' after a '/'.
559 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
560 instead by passing the parameter to c-state-pp-to-literal.
561
562 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
563 for elt. 7 of a parse state.
564
565 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
566
567 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
568 * international/latin1-disp.el, international/mule-util.el:
569 * language/cyril-util.el, language/european.el, language/ind-util.el:
570 * language/lao-util.el, language/thai.el, language/tibet-util.el:
571 * language/tibetan.el, language/viet-util.el:
572 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
573
574 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
575
576 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
577 (electric-pair-post-self-insert-function): Use it.
578 (electric-pair-default-inhibit): New function, extracted from
579 electric-pair-post-self-insert-function.
580
581 2013-03-31 Roland Winkler <winkler@gnu.org>
582
583 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
584
585 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
586
587 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
588
589 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
590
591 Un-indent after "pass" and "return" statements (Bug#13888)
592 * progmodes/python.el (python-indent-block-enders): New var.
593 (python-indent-calculate-indentation): Use it.
594
595 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
596
597 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
598 defun. Defining it as defalias could introduce too eager
599 byte-compiler optimization. (Bug#14030)
600
601 2013-03-30 Chong Yidong <cyd@gnu.org>
602
603 * iswitchb.el (iswitchb-read-buffer): Fix typo.
604
605 2013-03-30 Leo Liu <sdl.web@gmail.com>
606
607 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
608 (kmacro-execute-from-register): Pass the keyboard macro to
609 kmacro-call-macro or repeating won't work correctly.
610
611 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
612
613 * progmodes/subword.el: Back to using `forward-symbol'.
614
615 * subr.el (forward-whitespace, forward-symbol)
616 (forward-same-syntax): Move from thingatpt.el.
617
618 2013-03-29 Leo Liu <sdl.web@gmail.com>
619
620 * kmacro.el (kmacro-to-register): New command.
621 (kmacro-execute-from-register): New function.
622 (kmacro-keymap): Bind to 'x'. (Bug#14071)
623
624 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
625
626 * mpc.el: Use defvar-local and setq-local.
627 (mpc--proc-connect): Connection failures are not bugs.
628 (mpc-mode-map): `follow-link' only applies to the buffer's content.
629 (mpc-volume-map): Bind to the up-events.
630
631 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
632
633 * progmodes/subword.el (superword-mode): Use `forward-sexp'
634 instead of `forward-symbol'.
635
636 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
637
638 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
639 (edebug--recursive-edit): Use it.
640 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
641 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
642
643 2013-03-28 Leo Liu <sdl.web@gmail.com>
644
645 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
646
647 2013-03-27 Eli Zaretskii <eliz@gnu.org>
648
649 * facemenu.el (list-colors-callback): New defvar.
650 (list-colors-redisplay): New function.
651 (list-colors-display): Install list-colors-redisplay as the
652 revert-buffer-function. (Bug#14063)
653
654 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
655
656 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
657 and suffixes don't overlap (bug#14061).
658
659 * case-table.el: Use lexical-binding.
660 (case-table-get-table): New function.
661 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
662
663 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
664
665 * progmodes/subword.el: Add `superword-mode' to do word motion
666 over symbol_words (parallels and leverages `subword-mode' which
667 does word motion inside MixedCaseWords).
668
669 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
670
671 * eshell/em-unix.el: Move su and sudo to...
672 * eshell/em-tramp.el: ...Eshell tramp module.
673
674 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
675
676 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
677 Change return value to be a sexp. Delay `get-buffer' to after
678 restoring the desktop (bug#13951).
679
680 2013-03-26 Leo Liu <sdl.web@gmail.com>
681
682 * register.el: Move semantic tag handling back to
683 cedet/semantic/senator.el. (Bug#14052)
684
685 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
686
687 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
688 into the prompt either (bug#13963).
689
690 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
691
692 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
693 part of "(error-foo)".
694
695 2013-03-24 Juri Linkov <juri@jurta.org>
696
697 * replace.el (list-matching-lines-prefix-face): New defcustom.
698 (occur-1): Pass `list-matching-lines-prefix-face' to the function
699 `occur-engine' if `face-differs-from-default-p' returns t.
700 (occur-engine): Add `,' inside backquote construct to evaluate
701 `prefix-face'. Propertize the prefix with the `prefix-face' face.
702 Pass `prefix-face' to the functions `occur-context-lines' and
703 `occur-engine-add-prefix'.
704 (occur-engine-add-prefix, occur-context-lines): Add optional arg
705 `prefix-face' and propertize the prefix with `prefix-face'.
706 (Bug#14017)
707
708 2013-03-24 Leo Liu <sdl.web@gmail.com>
709
710 * nxml/rng-valid.el (rng-validate-while-idle)
711 (rng-validate-quick-while-idle): Guard against deleted buffer.
712 (Bug#13999)
713
714 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
715 is the last entry in kill-buffer-hook.
716
717 * files.el (kill-buffer-hook): Doc fix.
718
719 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
720
721 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
722 Make it safe-local.
723
724 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
725
726 2013-03-23 Leo Liu <sdl.web@gmail.com>
727
728 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
729 Remove.
730
731 * nxml/rng-valid.el (rng-validate-mode)
732 (rng-after-change-function, rng-do-some-validation):
733 * nxml/rng-maint.el (rng-validate-buffer):
734 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
735 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
736 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
737 (nxml-extend-after-change-region): Use with-silent-modifications.
738
739 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
740 timer-idle-list.
741
742 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
743 (rng-next-error-1, rng-previous-error-1): Do not let-bind
744 timer-idle-list. (Bug#13999)
745
746 2013-03-23 Juri Linkov <juri@jurta.org>
747
748 * info.el (info-index-match): New face.
749 (Info-index, Info-apropos-matches): Add a nested subgroup to the
750 main pattern and add text properties with the new face to matches
751 in index entries relative to the beginning of the index entry.
752 (Bug#14015)
753
754 2013-03-21 Eric Ludlam <zappo@gnu.org>
755
756 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
757 Inhibit read only while inserting objects.
758
759 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
760
761 * progmodes/cfengine.el: Update docs to mention
762 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
763 symbol motion. Remove "_" from the word syntax.
764
765 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
766
767 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
768 syntax for both `cfengine2-mode' and `cfengine3-mode'.
769
770 2013-03-20 Juri Linkov <juri@jurta.org>
771
772 * info.el (Info-next-reference-or-link)
773 (Info-prev-reference-or-link): New functions.
774 (Info-next-reference, Info-prev-reference): Use them.
775 (Info-try-follow-nearest-node): Handle footnote navigation.
776 (Info-fontify-node): Fontify footnotes. (Bug#13989)
777
778 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
779
780 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
781 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
782
783 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
784
785 Suppress unnecessary non-ASCII chatter during build process.
786 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
787 (batch-skkdic-convert): Suppress most of the chatter.
788 It's not needed so much now that machines are faster,
789 and its non-ASCII component was confusing; see Dmitry Gutov in
790 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
791
792 2013-03-20 Leo Liu <sdl.web@gmail.com>
793
794 * ido.el (ido-chop): Fix bug#10994.
795
796 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
797
798 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
799 Remove vars.
800 (whitespace-color-on, whitespace-color-off):
801 Use `font-lock-fontify-buffer' (Bug#13817).
802
803 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
804
805 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
806 remapping in mode-line.
807 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
808
809 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
810
811 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
812 value for `whitespace-line' face (Bug#13875).
813 (whitespace-font-lock-keywords): Change description.
814 (whitespace-color-on): Don't save `font-lock-keywords' value, save
815 the constructed keywords instead.
816 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
817
818 2013-03-19 Leo Liu <sdl.web@gmail.com>
819
820 * progmodes/compile.el (compilation-display-error): New command.
821 (compilation-mode-map, compilation-minor-mode-map): Bind it to
822 C-o. (Bug#13992)
823
824 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
825
826 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
827
828 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
829
830 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
831
832 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
833
834 * net/tramp-compat.el (tramp-compat-user-error): New defun.
835
836 * net/tramp-adb.el (tramp-adb-handle-shell-command):
837 * net/tramp-gvfs.el (top):
838 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
839 (tramp-handle-shell-command): Use it.
840 (tramp-dissect-file-name): Raise an error when hostname is a
841 method name, and neither method nor user is specified.
842
843 * net/trampver.el: Update release number.
844
845 2013-03-18 Leo Liu <sdl.web@gmail.com>
846
847 Make sure eldoc can be turned off properly.
848 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
849 eldoc-mode.
850 (eldoc-display-message-p): Revert last change.
851 (eldoc-display-message-no-interference-p)
852 (eldoc-print-current-symbol-info): Tweak.
853
854 2013-03-18 Tassilo Horn <tsdh@gnu.org>
855
856 * doc-view.el (doc-view-new-window-function): Check the new window
857 overlay's display property instead the char property of the
858 buffer's first char. Use `with-selected-window' instead of
859 `save-window-excursion' with `select-window'.
860 (doc-view-document->bitmap): Check the current doc-view overlay's
861 display property instead the char property of the buffer's first char.
862
863 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
864
865 Automate the build of ja-dic.el (Bug#13984).
866 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
867 from the input, rather than assume that it's been done for us by the
868 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
869 the current date into a ja-dic.el comment, as that complicates
870 regression testing.
871
872 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
873
874 * whitespace.el: Fix double evaluation.
875 (whitespace-space, whitespace-hspace, whitespace-tab)
876 (whitespace-newline, whitespace-trailing, whitespace-line)
877 (whitespace-space-before-tab, whitespace-indentation)
878 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
879 obsolete defvars.
880 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
881 (whitespace-color-on): Use a single font-lock-add-keywords call.
882 Fix double-evaluation of face variables.
883
884 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
885
886 * net/tramp-adb.el (tramp-adb-parse-device-names):
887 Use `start-process' instead of `call-process'. Otherwise, the
888 function might be blocked under MS Windows. (Bug#13299)
889
890 2013-03-17 Leo Liu <sdl.web@gmail.com>
891
892 Extend eldoc to display info in the mode-line. (Bug#13978)
893 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
894 (eldoc-mode-line-string): New variable.
895 (eldoc-minibuffer-message): New function.
896 (eldoc-message-function): New variable.
897 (eldoc-message): Use it.
898 (eldoc-display-message-p)
899 (eldoc-display-message-no-interference-p):
900 Support eldoc-post-insert-mode.
901
902 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
903 (eval-expression): Run it.
904
905 2013-03-17 Roland Winkler <winkler@gnu.org>
906
907 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
908 strings in the list of return values.
909
910 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
911
912 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
913 radix before checking for HMS forms.
914
915 2013-03-16 Leo Liu <sdl.web@gmail.com>
916
917 * progmodes/scheme.el: Add indentation and font-locking for λ.
918 (Bug#13975)
919
920 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
921
922 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
923 token before point (bug#13942).
924
925 2013-03-16 Leo Liu <sdl.web@gmail.com>
926
927 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
928
929 2013-03-16 Eli Zaretskii <eliz@gnu.org>
930
931 * startup.el (command-line-normalize-file-name): Fix handling of
932 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
933 <xfq.free@gmail.com> in
934 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
935
936 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
937
938 Sync with Tramp 2.2.7.
939
940 * net/trampver.el: Update release number.
941
942 2013-03-14 Tassilo Horn <tsdh@gnu.org>
943
944 * doc-view.el Fix bug#13887.
945 (doc-view-insert-image): Don't modify overlay associated to
946 non-live windows, and implement horizontal centering of image in
947 case it's smaller than the window.
948 (doc-view-new-window-function): Force redisplay of new windows on
949 doc-view buffers.
950
951 2013-03-13 Karl Fogel <kfogel@red-bean.com>
952
953 * saveplace.el (save-place-alist-to-file): Don't sort
954 `save-place-alist', just pretty-print it (bug#13882).
955
956 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
957
958 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Check,
959 whether `default-file-name-coding-system' is bound. It isn't in
960 XEmacs.
961
962 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
963
964 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
965 backquotes for `obsolete' (bug#13929).
966
967 * international/mule.el (find-auto-coding): Include file name in
968 obsolescence warning (bug#13922).
969
970 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
971
972 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
973 for CFEngine 3-specific indentation.
974 (cfengine3-indent-line): Use it. Fix up category regex.
975 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
976
977 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
978
979 * type-break.el (type-break-file-name):
980 * textmodes/remember.el (remember-data-file):
981 * strokes.el (strokes-file):
982 * shadowfile.el (shadow-initialize):
983 * saveplace.el (save-place-file):
984 * ps-bdf.el (bdf-cache-file):
985 * progmodes/idlwave.el (idlwave-config-directory):
986 * net/quickurl.el (quickurl-url-file):
987 * international/kkc.el (kkc-init-file-name):
988 * ido.el (ido-save-directory-list-file):
989 * emulation/viper.el (viper-custom-file-name):
990 * emulation/vip.el (vip-startup-file):
991 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
992 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
993
994 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
995
996 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
997 * language/thai-word.el: Switch to UTF-8.
998
999 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
1000
1001 * recentf.el (recentf-save-file): Use locate-user-emacs-file (bug#13870).
1002
1003 2013-03-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1004
1005 * net/net-utils.el (net-utils-remove-ctrl-m-filter):
1006 Use with-current-buffer and don't move point.
1007 (net-utils-run-simple): Remove useless code.
1008 (net-utils-remove-ctl-m): Remove unused custom.
1009
1010 2013-03-11 Per Starbäck <starback@stp.lingfil.uu.se>
1011
1012 * international/characters.el (glyphless-set-char-table-range): New fun.
1013 (update-glyphless-char-display): Use it (bug#13744).
1014
1015 2013-03-11 Teodor Zlatanov <tzz@lifelogs.com>
1016
1017 * progmodes/cfengine.el: Update for CFEngine 3.4.2 and higher:
1018 namespaces in the syntax, indent closer for hanging brace
1019 correctly, allow single-quote delimited 'strings', and make
1020 `cfengine3-mode' the default.
1021
1022 2013-03-11 Jean-Philippe Gravel <jpgravel@gmail.com>
1023
1024 * progmodes/gdb-mi.el: Speed up initialization (bug#10580).
1025 Use lexical-binding. Fix up docstring according to conventions.
1026 (gdbmi-debug-mode): New var.
1027 (gdbmi-start-with, gdbmi-same-start, gdbmi-is-number, gdbmi-bnf-init)
1028 (gdbmi-bnf-output, gdbmi-bnf-skip-unrecognized, gdbmi-bnf-gdb-prompt)
1029 (gdbmi-bnf-result-record, gdbmi-bnf-out-of-band-record)
1030 (gdbmi-bnf-async-record, gdbmi-bnf-stream-record)
1031 (gdbmi-bnf-console-stream-output, gdbmi-bnf-target-stream-output)
1032 (gdbmi-bnf-log-stream-output, gdbmi-bnf-result-and-async-record-impl)
1033 (gdbmi-bnf-incomplete-record-result): New functions.
1034 (gdb-car<): Remove function.
1035 (gdbmi-record-list): Remove variable.
1036 (gdbmi-bnf-state, gdbmi-bnf-offset): New vars.
1037 (gdbmi-bnf-result-state-configs): New const.
1038 (gud-gdbmi-marker-filter): Rewrite.
1039 (gdb-ignored-notification, gdb-thread-created, gdb-thread-exited)
1040 (gdb-thread-selected, gdb-running, gdb-starting, gdb-stopped):
1041 Add `token' argument.
1042 (gdb-done, gdb-error): New functions.
1043 (gdb-done-or-error): Add `is-complete' argument. Change arg order.
1044
1045 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
1046
1047 * term/xterm.el (xterm--report-background-handler): Don't burp
1048 upon timeout.
1049 (xterm--version-handler): Extract from terminal-init-xterm.
1050 (xterm--query): Don't mishandle timeout. Remove debugging messages.
1051 Allow multiple handlers.
1052 (terminal-init-xterm): Handle OSX's Terminal.app's incorrect answer.
1053
1054 * term/xterm.el: Don't discard input (bug#6758). Use lexical-binding.
1055 (xterm--report-background-handler, xterm--query): New functions.
1056 (terminal-init-xterm): Use them.
1057
1058 2013-03-11 Michael R. Mauger <michael@mauger.com>
1059
1060 * progmodes/sql.el Version 3.2
1061 Please note that my address changed to <michael@mauger.com>;
1062 the <mmaug@yahoo.com> address remains active.
1063 (sql-connection-alist): Updates documentation to fix bug#13715.
1064 (sql-connect): Handle missing `sql-connection-alist' correctly.
1065 (sql-mode-oracle-font-lock-keywords): Add missing keywords.
1066 (sql-magic-go, sql-magic-semicolon): Mark with `delete-selection'
1067 property.
1068 (sql-default-value): New function.
1069 (sql-get-login-ext, sql-get-login): Fixes bug where buffer-local
1070 values were not used.
1071 (sql-rename-buffer): Make sure alternate buffer name has no text
1072 properties.
1073 (sql-input-sender, sql-execute-feature): Fetch variable with
1074 `buffer-local-value' rather than `with-current-buffer'.
1075 (sql-*): Use #' function syntax consistently.
1076 (sql-*): Use message/error/user-error consistently.
1077
1078 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
1079
1080 * xt-mouse.el (xterm-mouse-event-read): Remove.
1081 (xterm-mouse--read-event-sequence-1000)
1082 (xterm-mouse--read-event-sequence-1006): Use read-event instead.
1083
1084 2013-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
1085
1086 * term/xterm.el (xterm-function-map): Support format used with
1087 formatOtherKeys=1 (bug#13839).
1088
1089 * emacs-lisp/byte-run.el (dont-compile): Declare obsolete.
1090 (with-no-warnings): Use `declare'.
1091
1092 * whitespace.el (whitespace-enable-predicate): New variable.
1093 (whitespace-enable-predicate): Use it.
1094
1095 * comint.el (comint-send-input, comint-snapshot-last-prompt)
1096 (comint-output-filter, comint-update-fence):
1097 Use with-silent-modifications.
1098
1099 2013-03-10 Jambunathan K <kjambunathan@gmail.com>
1100
1101 * replace.el (occur-read-regexp-defaults-function): New var.
1102 (occur-read-regexp-defaults): New defun.
1103 (occur-read-primary-args): Propagate above change (bug#13892).
1104
1105 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
1106
1107 * mouse.el (mouse-drag-track): Remove left-over debugging code.
1108
1109 2013-03-09 Michael Albinus <michael.albinus@gmx.de>
1110
1111 Major rewrite due to changed D-Bus interface of GVFS 1.14.
1112
1113 * net/tramp-gvfs.el (top): Extend check for gvfs availability.
1114 (tramp-gvfs-methods-mounttracker, tramp-gvfs-listmounts)
1115 (tramp-gvfs-mountlocation, tramp-gvfs-mountlocation-signature):
1116 New defconst.
1117 (tramp-gvfs-file-name-handler-alist) [directory-files]
1118 [directory-files-and-attributes, file-exists-p, file-modes]:
1119 Use Tramp default handler.
1120 [file-acl, file-selinux-context, process-file, set-file-acl]:
1121 [set-file-modes, set-file-selinux-context, shell-command]:
1122 [start-file-process]: Remove handler.
1123 [verify-visited-file-modtime]: New handler.
1124 (tramp-gvfs-dbus-string-to-byte-array)
1125 (tramp-gvfs-dbus-byte-array-to-string): New defuns. Replace all
1126 calls of `dbus-string-to-byte-array' and
1127 `tramp-gvfs-dbus-byte-array-to-string'.
1128 (tramp-gvfs-handle-copy-file)
1129 (tramp-gvfs-handle-delete-directory)
1130 (tramp-gvfs-handle-delete-file, tramp-gvfs-handle-file-attributes)
1131 (tramp-gvfs-handle-file-directory-p)
1132 (tramp-gvfs-handle-file-executable-p)
1133 (tramp-gvfs-handle-file-name-all-completions)
1134 (tramp-gvfs-handle-file-readable-p)
1135 (tramp-gvfs-handle-file-writable-p)
1136 (tramp-gvfs-handle-insert-directory)
1137 (tramp-gvfs-handle-insert-file-contents)
1138 (tramp-gvfs-handle-make-directory, tramp-gvfs-handle-rename-file)
1139 (tramp-gvfs-handle-set-visited-file-modtime)
1140 (tramp-gvfs-handle-write-region): Rewrite.
1141 (tramp-gvfs-handle-file-acl)
1142 (tramp-gvfs-handle-file-selinux-context)
1143 (tramp-gvfs-handle-process-file, tramp-gvfs-handle-set-file-acl)
1144 (tramp-gvfs-handle-set-file-modes)
1145 (tramp-gvfs-handle-set-file-selinux-context)
1146 (tramp-gvfs-handle-shell-command)
1147 (tramp-gvfs-handle-start-file-process)
1148 (tramp-gvfs-handle-verify-visited-file-modtime): Remove defuns.
1149 (tramp-gvfs-url-file-name): Do not use `file-truename', we work
1150 over the symlinks. Fix user handling.
1151 (top, tramp-gvfs-handler-mounted-unmounted): Handle different names
1152 of the D-Bus signals.
1153 (tramp-gvfs-connection-mounted-p): Handle different names of the
1154 D-Bus methods.
1155 (tramp-gvfs-mount-spec-entry): New defun.
1156 (tramp-gvfs-mount-spec): Use it.
1157 (tramp-gvfs-maybe-open-connection): Check, that in case of "smb"
1158 there is a share name. Handle different names of the D-Bus
1159 signals and methods. Set connection properties needed for
1160 `tramp-check-cached-permissions'.
1161 (tramp-gvfs-send-command): Apply `tramp-gvfs-maybe-open-connection'.
1162 Return t or nil.
1163
1164 * net/tramp.el (tramp-backtrace): Move up.
1165 (tramp-error): Dump a backtrace into the debug buffer when
1166 `tramp-verbose > 9.
1167 (tramp-file-mode-type-map, tramp-file-mode-from-int)
1168 (tramp-file-mode-permissions, tramp-get-local-uid)
1169 (tramp-get-local-gid, tramp-check-cached-permissions): Move from
1170 tramp-sh.el.
1171
1172 * net/tramp-sh.el (tramp-file-mode-type-map)
1173 (tramp-check-cached-permissions, tramp-file-mode-from-int)
1174 (tramp-file-mode-permissions, tramp-get-local-uid)
1175 (tramp-get-local-gid): Move to tramp.el.
1176
1177 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
1178
1179 Separate mouse-1-click-follows-link from mouse-drag-region.
1180 * mouse.el (mouse--down-1-maybe-follows-link): New function.
1181 (key-translation-map): Use it to implement mouse-1-click-follows-link.
1182 (mouse-drag-line, mouse-drag-track):
1183 Remove mouse-1-click-follows-link code.
1184 (mouse--remap-link-click-p): Remove.
1185
1186 2013-03-08 Jambunathan K <kjambunathan@gmail.com>
1187
1188 * hi-lock.el (hi-lock-read-regexp-defaults-function): New var.
1189 (hi-lock-read-regexp-defaults): New defun.
1190 (hi-lock-line-face-buffer, hi-lock-face-buffer)
1191 (hi-lock-face-phrase-buffer): Propagate above change.
1192 Update docstring (bug#13892).
1193
1194 * subr.el (find-tag-default-as-regexp): New defun.
1195 * replace.el (read-regexp): Propagate above change.
1196
1197 2013-03-08 Jay Belanger <jay.p.belanger@gmail.com>
1198
1199 * calc/calc-units.el (calc-convert-units): Fix the way that default
1200 new units are stored.
1201
1202 2013-03-07 Matthias Meulien <orontee@gmail.com>
1203
1204 * bookmark.el: Define a face to highlight bookmark names in
1205 bookmark menu buffers, where the default is a bold face similarly
1206 to buffer names in buffer menu buffers.
1207 (bookmark-menu-bookmark): New face to highlight bookmark names.
1208 (bookmark-insert-location): Remove duplicated text property to
1209 conform to buffer list (see `list-buffers').
1210 (bookmark-bmenu-list, bookmark-bmenu-hide-filenames): Apply face
1211 `bookmark-menu-bookmark' to bookmark names.
1212
1213 2013-03-07 Matthias Meulien <orontee@gmail.com>
1214 Karl Fogel <kfogel@red-bean.com>
1215
1216 * bookmark.el: Display the bookmark list header similarly to the
1217 buffer list header (see `list-buffers'), where the default is now
1218 an immovable/immutable header line.
1219 (bookmark-bmenu-use-header-line): New variable.
1220 (bookmark-bmenu-inline-header-height): New name for
1221 `bookmark-bmenu-header-height', to avoid confusion with the code
1222 for the new immovable header. All references changed.
1223 (bookmark-bmenu-set-header): New function.
1224 (bookmark-bmenu-list, bookmark-bmenu-toggle-filenames):
1225 Conditionalize header construction accordingly.
1226 (bookmark-bmenu-ensure-position): Conditionalize the skipping of
1227 the inline header height.
1228 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
1229 Conditionalize the skipping of the inline header height.
1230
1231 2013-03-07 Dmitry Gutov <dgutov@yandex.ru>
1232
1233 * progmodes/js.el (js--multi-line-declaration-indentation):
1234 Merge from js2-mode (https://github.com/mooz/js2-mode/issues/89).
1235
1236 2013-03-06 Dmitry Gutov <dgutov@yandex.ru>
1237
1238 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1239 Only propertize regexp when not inside a string (Bug#13885).
1240
1241 2013-03-06 Alan Mackenzie <acm@muc.de>
1242
1243 Correct the position of point in some line-up functions.
1244 * progmodes/cc-align.el (c-lineup-whitesmith-in-block)
1245 (c-lineup-assignments, c-lineup-gcc-asm-reg ): take position of
1246 point at column 0 rather than at a random place in the line.
1247
1248 2013-03-05 Michael Albinus <michael.albinus@gmx.de>
1249
1250 * net/tramp-compat.el (tramp-compat-delete-directory):
1251 Implement TRASH argument.
1252
1253 2013-03-05 Dmitry Gutov <dgutov@yandex.ru>
1254
1255 Keep pre-existing highlighting in completion candidates (Bug#13250).
1256 * minibuffer.el (completions-first-difference): State that the
1257 face is "added" in the docstring.
1258 (completions-common-part): Same. And don't inherit from default.
1259 (completion-hilit-commonality): Prepend 'completions-common-part
1260 and 'completion-first-difference faces to the 'face property,
1261 instead of replacing the value(s).
1262 (completion--insert-strings): Same with 'completions-annotations face.
1263 (completion-hilit-commonality): Use 'face instead of
1264 'font-lock-face, because it gets priority if the completion
1265 strings already have 'face set.
1266
1267 2013-03-04 Alan Mackenzie <acm@muc.de>
1268
1269 Replace `last-command-event' by `last-command-char' in XEmacs.
1270 * progmodes/cc-defs.el (c-last-command-char): New macro.
1271 * progmodes/cc-align.el (c-semi&comma-inside-parenlist)
1272 (c-semi&comma-no-newlines-before-nonblanks)
1273 (c-semi&comma-no-newlines-for-oneline-inliners): Use the new macro
1274 in place of `last-command-event'.
1275 * progmodes/cc-cmds.el (c-electric-pound, c-electric-brace)
1276 (c-electric-slash, c-electric-semi&comma, c-electric-lt-gt)
1277 (c-electric-paren, c-electric-continued-statement): Use the new
1278 macro in place of `last-command-event'.
1279
1280 2013-03-04 Glenn Morris <rgm@gnu.org>
1281
1282 * files.el (inhibit-local-variables-regexps):
1283 Add .diff and .patch. (Bug#13862)
1284
1285 2013-03-03 Michael Albinus <michael.albinus@gmx.de>
1286
1287 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Cache,
1288 whether the "su" command is available on the device.
1289
1290 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
1291
1292 * net/tramp-adb.el (tramp-adb-prompt): Extend regexp.
1293 (tramp-adb-handle-process-file): Remove superfluous setting.
1294 (tramp-adb-command-exit-status): Handle case that COMMAND is nil.
1295 (tramp-adb-barf-unless-okay): Use `tramp-adb-command-exit-status'.
1296 (tramp-adb-maybe-open-connection): Apply "su" if user is defined.
1297
1298 2013-03-01 Stefan Monnier <monnier@iro.umontreal.ca>
1299
1300 * textmodes/ispell.el: Fix nitpicks and byte-compiler warnings.
1301 (ispell-print-if-debug): Build `format' in. Avoid end-of-buffer.
1302 (ispell-parse-hunspell-affix-file): Avoid beginning-of-buffer.
1303 Use dict-key rather than dict-name for the error message.
1304
1305 2013-03-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1306
1307 * net/net-utils.el (net-utils-run-simple): Don't display-buffer
1308 when reverting (bug#13831).
1309
1310 2013-03-01 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1311
1312 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
1313 Always expand affix-file before storing to protect against changed
1314 `default-directory'.
1315 (ispell-print-if-debug): Make sure message is printed at the end
1316 of the debug buffer.
1317
1318 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
1319
1320 * net/tramp.el (tramp-obsolete-methods): New defconst.
1321 (tramp-warned-obsolete-methods): New defvar.
1322 (tramp-find-method): Check for obsolete methods. Map them to a
1323 replacement method if appropriate.
1324
1325 * net/tramp-sh.el (tramp-methods) [scp1, scp2, ssh1, ssh2, plink1]:
1326 Remove methods.
1327 (top): Remove completion functions for "scp1", "scp2", "ssh1",
1328 "ssh2" and "plink1".
1329
1330 2013-02-28 Dale Sedivec <dale@codefu.org>
1331
1332 * textmodes/sgml-mode.el (sgml-syntax-propertize-function):
1333 Return valid syntax-table property value when converting
1334 quotes within text from string syntax to punctuation syntax (bug#13844).
1335
1336 2013-02-28 Juri Linkov <juri@jurta.org>
1337
1338 * dired-aux.el (dired-diff): If file at point is a backup file,
1339 use its original as the default value, and reverse the order
1340 of arguments to the `diff' call. Doc fix. (Bug#13772)
1341
1342 2013-02-28 Michael Albinus <michael.albinus@gmx.de>
1343
1344 * net/tramp-adb.el (tramp-adb-sdk-dir): Remove. Replaced by ...
1345 (tramp-adb-program): New defcustom. Remove function. Adapt calls.
1346
1347 2013-02-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1348
1349 Initial support for hunspell dictionaries auto-detection (Bug#13639)
1350
1351 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
1352 Ask hunspell about available and default dictionaries.
1353 (ispell-parse-hunspell-affix-file): Extract relevant info from
1354 hunspell affix file.
1355 (ispell-hunspell-fill-dictionary-entry): Fill non-initialized
1356 `ispell-dictionary-alist' entry for given dictionary after info
1357 provided by `ispell-parse-hunspell-affix-file'.
1358 (ispell-hunspell-dict-paths-alist): New defvar to contain an alist
1359 of parsed hunspell dicts and associated affix files.
1360 (ispell-hunspell-dictionary-alist): New defvar to contain an alist
1361 of parsed hunspell dicts and associated parameters.
1362 (ispell-set-spellchecker-params):
1363 Call `ispell-find-hunspell-dictionaries' if hunspell and not
1364 previously done.
1365 (ispell-start-process):
1366 Call `ispell-hunspell-fill-dictionary-entry' for current
1367 dictionary if it is not initialized.
1368
1369 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
1370
1371 * imenu.el: Comment nitpicks.
1372
1373 2013-02-28 Sam Steingold <sds@gnu.org>
1374
1375 * vc/diff-mode.el (diff-hunk-file-names): Handle filenames with spaces.
1376 See <http://stackoverflow.com/questions/14720205>.
1377
1378 2013-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1379
1380 * net/net-utils.el (net-utils--revert-function): New fun (bug#13831).
1381 (net-utils-mode): Use it.
1382 (net-utils--revert-cmd): New var.
1383 (net-utils-run-simple): Set it, and remove bogus interactive spec.
1384 (traceroute): Use net-utils-run-simple.
1385
1386 2013-02-28 Glenn Morris <rgm@gnu.org>
1387
1388 * textmodes/paragraphs.el (mark-paragraph): Doc fix.
1389
1390 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
1391
1392 * doc-view.el: Preserve h&v scroll across C-c C-c C-c C-c.
1393 (doc-view-fallback-mode): Remove overlays here.
1394 (doc-view-toggle-display): Instead of here. Don't throw away
1395 image-mode-winprops-alist.
1396 (doc-view-goto-page): Don't mess with hscroll.
1397
1398 2013-02-27 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1399
1400 * font-lock.el (lisp-font-lock-keywords-2): Fix highlighting of
1401 &optional (bug#13819).
1402
1403 2013-02-27 Michael Albinus <michael.albinus@gmx.de>
1404
1405 * net/tramp-adb.el (tramp-adb-parse-device-names)
1406 (tramp-adb-maybe-open-connection): Add timeouts. (Bug#13299)
1407
1408 2013-02-26 Michael Albinus <michael.albinus@gmx.de>
1409
1410 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
1411 Add "2>/dev/null" to the ls command, in case "en_US.utf8" is not
1412 defined. POSIX environments fall back to the "C" locale then and
1413 emit a warning, which shall be suppressed.
1414
1415 2013-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
1416
1417 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): Tweak logic.
1418 (easy-mmode-set-keymap-parents): Use make-composed-keymap.
1419
1420 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
1421
1422 * emacs-lisp/bytecomp.el (byte-compile-file): Use let.
1423
1424 2013-02-25 Juri Linkov <juri@jurta.org>
1425
1426 * replace.el (read-regexp): Let-bind `default' to the first
1427 element of `defaults' if it's a list, otherwise it should be
1428 a string or nil. Let-bind `suggestions' to `defaults' if it's
1429 a list, otherwise make a list with the string value. Doc fix.
1430 (Bug#13805)
1431
1432 2013-02-25 Eli Zaretskii <eliz@gnu.org>
1433
1434 * emacs-lisp/bytecomp.el (byte-recompile-directory): Reject files
1435 that match "\`\.#", to avoid compiling lock files, even if they
1436 are readable (as they are on MS-Windows).
1437
1438 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
1439
1440 * files.el (basic-save-buffer): Remove redundant directory-creation.
1441
1442 2013-02-24 Jay Belanger <jay.p.belanger@gmail.com>
1443
1444 * calc/calc-ext.el (math-to-radians-2, math-from-radians-2):
1445 Add option to force `pi' to remain symbolic.
1446 * calc/calcalg2.el (calcFunc-sin, calcFunc-cos, calcFunc-tan)
1447 (calcFunc-cot, calcFunc-csc, calcFunc-sec, calcFunc-arcsin)
1448 (calcFunc-arccos, calcFunc-arctan): Use symbolic `pi' in the
1449 derivatives, when necessary.
1450
1451 2013-02-23 Peter Kleiweg <p.c.j.kleiweg@rug.nl>
1452
1453 * progmodes/ps-mode.el (ps-mode-version): Bump to 1.1i.
1454 (ps-mode-octal-region): Use string-make-unibyte.
1455
1456 2013-02-23 Glenn Morris <rgm@gnu.org>
1457
1458 * emulation/viper-cmd.el (viper-submit-report):
1459 * progmodes/ps-mode.el (ps-mode-maintainer-address):
1460 * progmodes/vera-mode.el (vera-mode-help-address):
1461 * textmodes/artist.el (artist-maintainer-address):
1462 * textmodes/reftex.el (reftex-report-bug):
1463 * vc/ediff-util.el (ediff-submit-report):
1464 Add bug-gnu-emacs to bug report address.
1465
1466 * progmodes/simula.el (simula-mode-menu, simula-mode-map):
1467 Remove bug report entries.
1468 (simula-mode-help-address, simula-submit-bug-report): Make obsolete.
1469
1470 * emacs-lisp/bytecomp.el (byte-compile-level): New.
1471 (byte-compile-file, byte-compile-from-buffer):
1472 Use separate input/output buffers for each level of recursive
1473 byte-compile-file calls. (Bug#13787)
1474
1475 2013-02-23 Michael Albinus <michael.albinus@gmx.de>
1476
1477 * net/tramp.el (tramp-methods): Fix docstring.
1478 (tramp-ssh-controlmaster-options): Rename it from
1479 `tramp-ssh-controlmaster-template'. Return a string.
1480 (tramp-default-method): Adapt check for
1481 `tramp-ssh-controlmaster-options'.
1482
1483 * net/tramp-sh.el (tramp-methods):
1484 Replace `tramp-ssh-controlmaster-template' by "%c".
1485 (tramp-do-copy-or-rename-file-out-of-band)
1486 (tramp-maybe-open-connection): Use it in format spec. Ensure,
1487 that it is applied for the first hop only.
1488
1489 2013-02-22 Juri Linkov <juri@jurta.org>
1490
1491 * isearch.el (isearch-lazy-highlight-new-loop):
1492 Set `isearch-lazy-highlight-start' and `isearch-lazy-highlight-end'
1493 to `isearch-other-end' if it is not nil. (Bug#13402)
1494
1495 * replace.el (replace-highlight): Let-bind `isearch-other-end'
1496 to `match-beg'.
1497
1498 * textmodes/ispell.el (ispell-highlight-spelling-error-overlay):
1499 Let-bind `isearch-other-end' to `start', `isearch-forward' to t
1500 and `isearch-error' to nil.
1501
1502 2013-03-16 Fabián Ezequiel Gallina <fgallina@cuca>
1503
1504 * progmodes/python.el (python-info-current-defun):
1505 Enhance match-data cluttering prevention.
1506
1507 2013-02-22 Michael Albinus <michael.albinus@gmx.de>
1508
1509 * net/tramp.el (tramp-tramp-file-p): Fix docstring.
1510
1511 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
1512 Handle multibyte file names.
1513
1514 2013-02-22 Glenn Morris <rgm@gnu.org>
1515
1516 * textmodes/sgml-mode.el (sgml-xml-mode): Move before use.
1517 (sgml-transformation-function): Give it a :set function.
1518 (sgml-tag): Doc fix.
1519
1520 * cmuscheme.el (scheme-buffer):
1521 * progmodes/inf-lisp.el (inferior-lisp-buffer):
1522 * progmodes/tcl.el (inferior-tcl-buffer):
1523 * textmodes/tex-mode.el (tex-command): Doc fixes.
1524
1525 * image-mode.el (image-mode): Add mouse bindings for mode-line-process.
1526
1527 * htmlfontify.el (hfy-default-header): Encode title string. (Bug#7457)
1528
1529 2013-02-21 Bastien Guerry <bzg@gnu.org>
1530
1531 * cmuscheme.el (scheme-buffer): Fix docstring. (Bug#13778)
1532
1533 2013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
1534
1535 * progmodes/python.el (python-info-current-defun):
1536 Enhance match-data cluttering prevention.
1537
1538 2013-02-21 Glenn Morris <rgm@gnu.org>
1539
1540 * net/tramp.el (tramp-get-debug-buffer): Ensure outline.el is not
1541 loaded while outline-regexp is let bound. (Bug#9584)
1542
1543 2013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
1544
1545 * progmodes/python.el (python-info-current-defun): Fix failed
1546 defun name retrieval because of unwanted match-data cluttering.
1547
1548 2013-02-21 Michael Albinus <michael.albinus@gmx.de>
1549
1550 * net/tramp.el (tramp-ssh-controlmaster-template): Make it a
1551 defconst. Apply independent check for ControlPersist.
1552
1553 * net/tramp-sh.el (tramp-sh-handle-set-file-times): Set $UTC only
1554 temporarily, via "env".
1555
1556 2013-02-21 Glenn Morris <rgm@gnu.org>
1557
1558 * info.el (Info-enable-edit): Remove.
1559 (Info-edit): Disable it rather than using Info-enable.
1560 (Info-edit-mode-hook, Info-edit-map, Info-edit-mode, Info-edit)
1561 (Info-cease-edit): Make editing of Info files obsolete.
1562
1563 * informat.el (Info-tagify):
1564 Handle buffers not visiting files. (Bug#13763)
1565
1566 2013-02-21 Juanma Barranquero <lekktu@gmail.com>
1567
1568 * calc/calc-graph.el (calc-graph-show-dumb): Fix typo.
1569
1570 2013-02-21 Glenn Morris <rgm@gnu.org>
1571
1572 * files.el (basic-save-buffer): Move check for existing parent
1573 directory after hooks. (Bug#13773)
1574
1575 2013-02-20 Stefan Monnier <monnier@iro.umontreal.ca>
1576
1577 * simple.el (command-execute): Move from C. Add obsolete check.
1578 (extended-command-history): Move from C.
1579
1580 2013-02-20 Ulrich Müller <ulm@gentoo.org>
1581
1582 * jka-cmpr-hook.el (jka-compr-compression-info-list)
1583 (jka-compr-mode-alist-additions): Handle .txz suffix for
1584 XZ-compressed tar archives (bug#13770).
1585
1586 2013-02-20 Bastien Guerry <bzg@gnu.org>
1587
1588 * outline.el (outline-regexp, outline-heading-end-regexp):
1589 Make variables, not options (bug#13731).
1590
1591 2013-02-20 Glenn Morris <rgm@gnu.org>
1592
1593 * image.el (image-current-frame): Change from variable to function.
1594 (image-show-frame): Rename from image-nth-frame. Update callers.
1595 * image-mode.el (image-multi-frame): New variable.
1596 (image-mode-map, image-mode, image-goto-frame):
1597 Use image-multi-frame rather than image-current-frame.
1598 (image-mode, image-goto-frame): Use image-current-frame as
1599 function rather than as variable.
1600
1601 * emacs-lisp/cl-lib.el (cl-floatp-safe): Make it an alias for floatp.
1602 * emacs-lisp/cl-macs.el (cl--make-type-test)
1603 (cl--compiler-macro-assoc): Use floatp rather than cl-floatp-safe.
1604
1605 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
1606
1607 * net/tramp-cache.el (tramp-get-hash-table): New defun.
1608 (tramp-get-file-property, tramp-set-file-property)
1609 (tramp-get-connection-property, tramp-set-connection-property): Use it.
1610 (tramp-flush-file-property, tramp-flush-directory-property):
1611 Rename argument to KEY.
1612 (tramp-flush-connection-property): Simplify a little bit.
1613 (tramp-connection-property-p): New defun.
1614 (top): Reapply saved values only if there isn't a corresponding
1615 entry in `tramp-connection-properties'.
1616
1617 2013-02-19 Fabián Ezequiel Gallina <fgallina@cuca>
1618
1619 * progmodes/python.el (python-indent-context):
1620 Fix python-info-line-ends-backslash-p call.
1621 (python-info-line-ends-backslash-p)
1622 (python-info-beginning-of-backslash): Respect line-number argument.
1623 (python-info-current-line-comment-p):
1624 Fix behavior when not at beginning-of-line.
1625 (python-util-position): Remove function.
1626 (python-util-goto-line): New function.
1627
1628 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
1629
1630 * eshell/em-unix.el (eshell/su): Require tramp.
1631 (eshell/sudo): Require tramp. Remove now unnecessary check.
1632
1633 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Let-bind
1634 `tramp-current-connection' in order to avoid an error when several
1635 commands are invoked in a short time in eshell and friends.
1636
1637 2013-02-19 Stefan Monnier <monnier@iro.umontreal.ca>
1638
1639 Cleanup some of EIEIO's namespace.
1640 * emacs-lisp/eieio.el (eieio--define-field-accessors): New macro.
1641 Use it to define all the class-* and object-* field accessors (renamed
1642 to eieio--class-* and eieio--object-*). Update all uses.
1643 (eieio--class-num-slots, eieio--object-num-slots): Rename from
1644 class-num-slots and object-num-slots.
1645 (eieio--check-type): New macro.
1646 (eieio-defclass, eieio-oref, eieio-oref-default, same-class-p)
1647 (object-of-class-p, child-of-class-p, object-slots, class-slot-initarg)
1648 (eieio-oset, eieio-oset-default, object-assoc, object-assoc-list)
1649 (object-assoc-list-safe): Use it.
1650 (eieio-defclass): Tighten regexp.
1651 (eieio--defmethod): Use `memq'. Signal an error for unknown method kind.
1652 Remove unreachable code.
1653 (object-class-fast): Declare obsolete.
1654 (eieio-class-name, eieio-object-name, eieio-object-set-name-string)
1655 (eieio-object-class, eieio-object-class-name, eieio-class-parents)
1656 (eieio-class-children, eieio-class-precedence-list, eieio-class-parent):
1657 Rename from class-name, object-name, object-set-name-string,
1658 object-class, object-class-name, class-parents, class-children,
1659 class-precedence-list, class-parent; with obsolete alias.
1660 (class-of, class-direct-superclasses, class-direct-subclasses):
1661 Declare obsolete.
1662 (eieio-defmethod): Use `memq'; remove unreachable code.
1663 * emacs-lisp/eieio-base.el (eieio-persistent-read):
1664 * emacs-lisp/eieio-opt.el (eieio-class-button, eieio-describe-generic)
1665 (eieio-browse-tree, eieio-browse): Use eieio--check-type.
1666
1667 2013-02-18 Aidan Gauland <aidalgol@no8wireless.co.nz>
1668
1669 * eshell/em-cmpl.el: Correct "context-related help" keybinding in
1670 commentary.
1671
1672 2013-02-18 Michael Heerdegen <michael_heerdegen@web.de>
1673
1674 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument):
1675 Use font-lock-keyword-face for macros and special forms (bug#8345).
1676
1677 2013-02-17 Didier Verna <didier@didierverna.net>
1678
1679 * net/network-stream.el (network-stream-open-starttls):
1680 Check that response to the starttls-command is non-nil. (Bug#13706)
1681
1682 2013-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
1683
1684 * font-lock.el (lisp-font-lock-keywords-1, lisp-font-lock-keywords-2):
1685 Don't assume all identifier chars have syntax word.
1686 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
1687 Remove bar-not-symbol. Adjust callers.
1688 (lisp-mode-variables): Don't set a font-lock-syntax-table.
1689
1690 2013-02-17 Leo Liu <sdl.web@gmail.com>
1691
1692 * net/rcirc.el (rcirc-keepalive): Fix invalid timer error.
1693
1694 2013-02-17 Glenn Morris <rgm@gnu.org>
1695
1696 * menu-bar.el (menu-bar-tools-menu): Fix case of EDE entry.
1697
1698 * image-mode.el (image-mode-map): Add image-dired menu entry.
1699
1700 * image-dired.el (tumme): Make this alias obsolete.
1701
1702 2013-02-16 Glenn Morris <rgm@gnu.org>
1703
1704 * image.el (image-animated-types): Remove.
1705 (image-multi-frame-p): Rename from image-animated-p, and generalize.
1706 (image-animated-p): Make obsolete alias.
1707 (image-animate, image-nth-frame, image-animate-timeout):
1708 Use image-multi-frame-p.
1709 (image-animate-timeout): If no delay, use image-default-frame-delay.
1710 * image-mode.el (image-mode, image-toggle-animation):
1711 Use image-multi-frame-p. (Bug#763, bug#10739)
1712 (image-mode): Adjust startup message for a multi-frame image.
1713
1714 * image-mode.el (image-mode-map): Give it a menu.
1715
1716 2013-02-16 Michael Albinus <michael.albinus@gmx.de>
1717
1718 * net/tramp-cache.el (tramp-connection-properties): New customer
1719 option.
1720 (tramp-get-connection-property): Use it.
1721
1722 * net/tramp-compat.el (top): Require 'trampver.
1723
1724 * net/tramp-sh.el (tramp-remote-process-environment):
1725 Set tramp-autoload cookie.
1726
1727 2013-02-16 Kevin Ryde <user42@zip.com.au>
1728
1729 * info-look.el (info-lookup-select-mode): If major-mode has no
1730 info-lookup-alist entry then search up derived-mode-parent (bug#8660).
1731
1732 2013-02-16 Jambunathan K <kjambunathan@gmail.com>
1733
1734 * replace.el (read-regexp): Tighten the regexp that matches tag.
1735 When tag is retrieved with `find-tag-default', use regexp that
1736 matches tag at point. Also update docstring (Bug#13687).
1737
1738 2013-02-16 Eli Zaretskii <eliz@gnu.org>
1739
1740 * autorevert.el (auto-revert-notify-add-watch): With 'w32notify',
1741 add watch for the file, not its parent directory, since w32notify
1742 sets up the watch for the directory internally. (Bug#13725)
1743
1744 2013-02-16 Glenn Morris <rgm@gnu.org>
1745
1746 * image.el (image-default-frame-delay): New variable.
1747 (image-animated-p): Use image-default-frame-delay.
1748 (image-minimum-frame-delay): New constant.
1749 (image-animate-timeout): Use image-minimum-frame-delay.
1750
1751 * image.el (image-nth-frame): New, split from image-animate-timeout.
1752 (image-animate-timeout): Use image-nth-frame.
1753 * image-mode.el (image-goto-frame, image-next-frame)
1754 (image-previous-frame): New commands.
1755 (image-mode-map): Add new frame commands.
1756
1757 2013-02-16 Jonas Bernoulli <jonas@bernoul.li>
1758
1759 * emacs-lisp/tabulated-list.el (tabulated-list-print-col):
1760 If col-desc already has help-echo, use it. (Bug#13563)
1761
1762 2013-02-16 Glenn Morris <rgm@gnu.org>
1763
1764 * image.el (image-current-frame): New variable.
1765 (image-animate-timeout): Set image-current-frame.
1766 * image-mode.el (image-mode): For animated images,
1767 display a frame counter via mode-line-process.
1768
1769 * font-lock.el (lisp-font-lock-keywords-1): Add defvar-local.
1770
1771 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
1772
1773 * simple.el (eval-expression): Let `exp' set the mark (bug#13724).
1774
1775 2013-02-15 Alan Mackenzie <acm@muc.de>
1776
1777 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): When a
1778 global minor mode has been enabled, call the minor mode function
1779 for a new buffer once only, after the major mode hook, whilst
1780 allowing that hook explicitly to disable the minor mode.
1781 (MODE-disable-in-buffer): New (generated) function.
1782 (disable-MODE): New (generated) buffer local variable.
1783
1784 2013-02-15 Jambunathan K <kjambunathan@gmail.com>
1785
1786 * iswitchb.el (iswitchb-read-buffer): Bind `C-.' and `C-,' to
1787 `iswitchb-next-match' and `iswitchb-prev-match' resply.
1788 * ido.el (ido-init-completion-maps): Bind `C-.' and `C-,' to
1789 `ido-next-match' and `ido-prev-match' resply.
1790 * icomplete.el (icomplete-minibuffer-map): Unbind `C-s' and `C-r'.
1791 Bind `C-.' and `C-,' to `icomplete-forward-completions' and
1792 `icomplete-backward-completions' (Bug#13708).
1793
1794 2013-02-15 Glenn Morris <rgm@gnu.org>
1795
1796 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
1797
1798 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
1799
1800 * net/goto-addr.el (goto-address-fontify): Add start and end args.
1801 (goto-address-fontify-region): Use them instead of narrowing, so
1802 syntax-ppss has access to the whole buffer.
1803
1804 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
1805
1806 * progmodes/python.el: Explain how to restore "cc-mode"-like
1807 forward-sexp movement in header documentation (Bug#13642).
1808 (python-nav--forward-sexp): Behave like emacs-lisp-mode in
1809 comments and strings (GH bug 114).
1810
1811 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
1812
1813 * progmodes/python.el (python-info-current-defun): Fix current
1814 defun detection (Bug#13618).
1815
1816 2013-02-15 Chong Yidong <cyd@gnu.org>
1817
1818 * xml.el (xml-parse-string): Fix typo in handling of bad character
1819 references.
1820
1821 2013-02-15 Glenn Morris <rgm@gnu.org>
1822
1823 * play/fortune.el (fortune-compile): Simplify and fix previous change.
1824
1825 2013-02-14 Michael Albinus <michael.albinus@gmx.de>
1826
1827 * net/tramp.el (tramp-debug-message):
1828 Add `tramp-condition-case-unless-debug'.
1829 (tramp-debug-on-error): New defvar.
1830 (tramp-condition-case-unless-debug): New defun.
1831 (tramp-file-name-handler): Use it.
1832
1833 2013-02-14 Juri Linkov <juri@jurta.org>
1834
1835 * info.el (Info-isearch-filter): Treat non-nil values of
1836 `search-invisible' including its default value `open'
1837 like the value `t' to match hidden text. (Bug#13402)
1838
1839 2013-02-14 Glenn Morris <rgm@gnu.org>
1840
1841 * help-fns.el (find-lisp-object-file-name): Give special treatment
1842 to all ~/.foo.elc files, not just ~/.emacs. (Bug#9007)
1843
1844 2013-02-14 David Biesack <sasdjb@d72933.na.sas.com> (tiny change)
1845
1846 * net/quickurl.el (quickurl-save-urls):
1847 Ensure quickurl-urls is not truncated on printing. (Bug#9276)
1848
1849 2013-02-14 Dmitry Gutov <dgutov@yandex.ru>
1850
1851 * progmodes/ruby-mode.el (ruby-parse-partial): Don't increase
1852 depth for unfinished percent literal. Not using it in the caller.
1853 (ruby-move-to-block): Jump over multiline literals of all types,
1854 ignoring code-looking contents inside them.
1855 (ruby-add-log-current-method): Improve performance at the expense
1856 of accuracy. `ruby-block-contains-point' is relatively slow, so
1857 only use it for method and singleton class blocks.
1858
1859 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
1860
1861 Use ControlMaster where applicable. (Bug#13677)
1862
1863 * net/tramp.el (tramp-ssh-controlmaster-template): New defvar,
1864 replacing `tramp-detect-ssh-controlmaster'.
1865 (tramp-default-method): Use it.
1866
1867 * net/tramp-sh.el (tramp-methods) [scp, scp1, scp2, scpx, sftp]:
1868 [rsync, ssh, ssh1, ssh2, sshx]: Add ControlPath and ControlMaster
1869 arguments.
1870 [scpc, rsyncc]: Remove methods.
1871 (top): Remove completion functions for "scpc", "rsyncc", "ssh1_old"
1872 and "ssh2_old".
1873 (tramp-do-copy-or-rename-file-out-of-band): Change trace level.
1874 (tramp-maybe-open-connection): Reuse tmpfile for ControlPath.
1875
1876 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
1877
1878 * emacs-lisp/package.el (package--initialized): Move before first use.
1879
1880 2013-02-13 Jambunathan K <kjambunathan@gmail.com>
1881
1882 * icomplete.el (icomplete-hide-common-prefix): New user option.
1883 (icomplete-first-match): New face.
1884 (icomplete-completions): Correct handling of "complete but not
1885 unique" (Bug#12638).
1886
1887 2013-02-13 YE Qianchuan <stool.ye@gmail.com> (tiny change)
1888
1889 * descr-text.el (describe-char): Display the script (bug#13698).
1890
1891 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
1892
1893 * tmm.el: Use lexical-binding and current-active-maps.
1894 (tmm-menubar): Use map-keymap and pcase.
1895 (tmm--completion-table): New function.
1896 (tmm-prompt): Use it to fix the menu order.
1897 (tmm-get-keybind): Use current-active-maps.
1898
1899 2013-02-12 Christopher Schmidt <christopher@ch.ristopher.com>
1900
1901 Add dired-hide-details-mode. (Bug#6799)
1902
1903 * locate.el (locate-mode): Set parent mode property to dired-mode.
1904
1905 * find-dired.el (find-dired): Call dired-insert-set-properties on
1906 initial information line. Set process mark on end of buffer.
1907 (find-dired-sentinel):
1908 Call dired-insert-set-properties on summary.
1909
1910 * dired.el (dired-hide-details-hide-symlink-targets)
1911 (dired-hide-details-hide-information-lines): New options.
1912 (dired-insert-directory):
1913 Set properties after final treatment of output.
1914 (dired-insert-set-properties):
1915 Set dired-hide-details-* properties.
1916 (dired-mode-map): Bind dired-hide-details-mode.
1917 (dired-mode): Set buffer-invisibility-spec to a list.
1918 (dired-next-line): Skip hidden lines.
1919 (dired-previous-line): Use dired-next-line.
1920 (dired-hide-details-mode): New minor mode.
1921 (dired-hide-details-update-invisibility-spec): New function.
1922
1923 2013-02-13 Glenn Morris <rgm@gnu.org>
1924
1925 * play/yow.el: Move to obsolete/. (Bug#9384)
1926
1927 2013-02-13 Juri Linkov <juri@jurta.org>
1928
1929 * vc/ediff-util.el (ediff-recenter): Use `select-frame-set-input-focus'
1930 to select `ediff-control-frame' and set input focus correctly on Xfce.
1931 (Bug#12218)
1932
1933 2013-02-13 Juri Linkov <juri@jurta.org>
1934
1935 * image-mode.el (image-mode-map):
1936 * doc-view.el (doc-view-mode-map):
1937 * vc/ediff-util.el (ediff-setup-keymap):
1938 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
1939
1940 2013-02-13 Dmitry Gutov <dgutov@yandex.ru>
1941
1942 * progmodes/ruby-mode.el (ruby-move-to-block): Improve
1943 performance. Instead of recalculating indentation fully for each
1944 line, sum up indentation depth based only on visited lines.
1945 (ruby-parse-partial): Increase the depth after "do" even when END
1946 is right after it.
1947 (ruby-parse-partial): When END is in the middle of a percent
1948 literal, increase the depth if the delimiter chars belong to the
1949 paren syntax class.
1950
1951 2013-02-13 Kirill A. Korinskiy <catap@catap.ru>
1952
1953 * play/fortune.el (fortune-compile): Also make the compiled file
1954 if it does not exist at all, not just if it is old. (Bug#5338)
1955
1956 2013-02-13 Glenn Morris <rgm@gnu.org>
1957
1958 * emacs-lisp/package.el (package-menu-execute): Doc fix.
1959
1960 2013-02-13 Yves Baumes <ybaumes@gmail.com> (tiny change)
1961
1962 * lisp/emacs-lisp/package.el (package-menu-execute):
1963 Add optional noquery argument. (Bug#13625)
1964
1965 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
1966
1967 * net/ange-ftp.el (ange-ftp-make-directory): Don't raise an error,
1968 if DIR exists and PARENTS is non-nil.
1969
1970 2013-02-13 Juanma Barranquero <lekktu@gmail.com>
1971
1972 * progmodes/js.el (js--multi-line-declaration-indentation):
1973 Silence byte-compiler warning.
1974
1975 2013-02-12 Michael Albinus <michael.albinus@gmx.de>
1976
1977 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Rewrite.
1978
1979 * net/tramp-compat.el (top): Declare `remote-file-name-inhibit-cache'
1980 only if it doesn't exist.
1981
1982 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1983 Set process marker.
1984
1985 2013-02-12 Tassilo Horn <tsdh@gnu.org>
1986
1987 * doc-view.el (doc-view-odf->pdf-converter-soffice): Use separate
1988 UserInstallation when calling soffice to work around LibreOffice
1989 bug 37531.
1990
1991 2013-02-12 Glenn Morris <rgm@gnu.org>
1992
1993 * files.el (basic-save-buffer):
1994 Offer to create a non-existing directory. (Bug#3016)
1995
1996 * calc/calc-graph.el (calc-graph-show-dumb):
1997 * calendar/calendar.el (calendar-mode-map):
1998 * cus-edit.el (custom-mode-map):
1999 * ehelp.el (electric-help-map):
2000 * emulation/vip.el (vip-mode-map):
2001 * epa.el (epa-key-list-mode-map):
2002 * info.el (Info-mode-map):
2003 * mail/rmail.el (rmail-mode-map):
2004 * mail/rmailsum.el (rmail-summary-mode-map):
2005 * man.el (Man-mode-map):
2006 * net/newst-plainview.el (newsticker-mode-map):
2007 * progmodes/cpp.el (cpp-edit-mode-map):
2008 * progmodes/grep.el (grep-mode-map):
2009 * progmodes/idlw-help.el (idlwave-help-mode-map):
2010 * simple.el (special-mode-map):
2011 * startup.el (splash-screen-keymap):
2012 * view.el (view-mode-map):
2013 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
2014
2015 2013-02-11 Elias Pipping <pipping@lavabit.com>
2016
2017 * doc-view.el (doc-view-current-cache-dir): Beware % escapes
2018 (bug#13679).
2019
2020 2013-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
2021
2022 * cus-start.el (all): Remove inhibit-local-menu-bar-menus.
2023
2024 2013-02-11 Glenn Morris <rgm@gnu.org>
2025
2026 * vc/diff.el (diff-use-labels): New variable.
2027 (diff-no-select): Use --label rather than -L, and first
2028 check that it is supported. (Bug#11067)
2029
2030 * files.el (enable-dir-local-variables): New variable.
2031 (hack-dir-local-variables): Respect enable-dir-local-variables.
2032 * tutorial.el (help-with-tutorial):
2033 Ignore directory-local variables. (Bug#11127)
2034
2035 * vc/vc-svn.el (vc-svn-command): Move --non-interactive from here...
2036 (vc-svn-global-switches): ... to here. (Bug#13513)
2037
2038 2013-02-10 Christopher Schmidt <christopher@ch.ristopher.com>
2039
2040 * minibuf-eldef.el (minibuffer-default--in-prompt-regexps):
2041 Handle "foo (bar, default: xxx): " prompts.
2042
2043 2013-02-10 Chong Yidong <cyd@gnu.org>
2044
2045 * files.el (basic-save-buffer-1): Do not set
2046 buffer-file-coding-system-explicit (Bug#4533).
2047
2048 * mail/emacsbug.el (report-emacs-bug): Change binding of
2049 report-emacs-bug-insert-to-mailer to C-c M-i (Bug#13510).
2050
2051 2013-02-09 Jay Belanger <jay.p.belanger@gmail.com>
2052
2053 * calc/calc.el (calc-allow-units-as-numbers): New variable.
2054 * calc/calc-units.el (calc-convert-units): Use new variable.
2055
2056 2013-02-09 Eli Zaretskii <eliz@gnu.org>
2057
2058 * subr.el (buffer-file-type, default-buffer-file-type): Remove.
2059
2060 * net/ange-ftp.el (ange-ftp-insert-file-contents): Don't reference
2061 buffer-file-type.
2062
2063 * mail/feedmail.el (feedmail-force-binary-write): Doc fix.
2064 (feedmail-run-the-queue, feedmail-dump-message-to-queue)
2065 (feedmail-send-it-immediately): Don't bind buffer-file-type, bind
2066 coding-system-for-write instead.
2067
2068 * jka-compr.el (jka-compr-write-region): Don't bind
2069 buffer-file-type.
2070
2071 * emacs-lisp/bytecomp.el (byte-compile-file): Don't bind
2072 buffer-file-type.
2073
2074 * files.el (file-name-buffer-file-type-alist): Remove defvar.
2075 (insert-file-contents-literally): Remove reference to
2076 file-name-buffer-file-type-alist.
2077
2078 * dos-w32.el (file-name-buffer-file-type-alist): Deprecate and
2079 make-obsolete.
2080 (find-buffer-file-type-match, find-buffer-file-type): Remove.
2081 (find-buffer-file-type-coding-system): Remove references to
2082 find-buffer-file-type-match, find-buffer-file-type, and
2083 buffer-file-type.
2084 Don't put find-buffer-file-type-coding-system into
2085 file-coding-system-alist.
2086 (find-file-binary, find-file-text): Bind coding-system-for-read
2087 instead of file-name-buffer-file-type-alist.
2088
2089 2013-02-09 Jambunathan K <kjambunathan@gmail.com>
2090
2091 * doc-view.el: Use (and prefer) soffice as default ODF->PDF
2092 converter (Bug#13622).
2093 (doc-view-unoconv-program): Make obsolete alias.
2094 (doc-view-odf->pdf-converter-program): New variable.
2095 (doc-view-odf->pdf-converter-function): New variable.
2096 (doc-view-mode-p): Use it.
2097 (doc-view-odf->pdf-converter-unoconv):
2098 Rename from `doc-view-odf->pdf-converter-unoconv'.
2099 (doc-view-odf->pdf-converter-soffice): New function.
2100 (doc-view-convert-current-doc):
2101 Use `doc-view-odf->pdf-converter-function'.
2102
2103 2013-02-09 Chong Yidong <cyd@gnu.org>
2104
2105 * minibuffer.el (minibuffer-inactive-mode-map): Bind mouse-1 to
2106 view-echo-area-messages (Bug#13340).
2107
2108 * help.el (view-echo-area-messages): Use display-buffer.
2109
2110 * dired-x.el (dired-do-run-mail): Prompt for confirmation
2111 (Bug#13561).
2112
2113 2013-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
2114
2115 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
2116 Eval body right away, now that we do eager macroexpansion (bug#13605).
2117
2118 * simple.el (end-of-buffer): Don't touch unrelated windows (bug#13466).
2119 (fundamental-mode): Use run-mode-hooks.
2120
2121 * eshell/esh-proc.el (eshell/kill): Fix last change.
2122 * eshell/em-ls.el (eshell-ls-dir): Fix use of CL in last change.
2123
2124 2013-02-08 Aidan Gauland <aidalgol@no8wireless.co.nz>
2125
2126 * eshell/esh-proc.el (eshell/kill): Rewrite.
2127
2128 * eshell/em-ls.el (show-almost-all): Declare.
2129 (eshell-do-ls): Add support for -A argument.
2130
2131 2013-02-08 Jambunathan K <kjambunathan@gmail.com>
2132
2133 * icomplete.el (icomplete-forward-completions)
2134 (icomplete-backward-completions): Handle corner case (bug#13602).
2135
2136 2013-02-07 Michael Albinus <michael.albinus@gmx.de>
2137
2138 * vc/vc-hooks.el (vc-find-file-hook): `buffer-file-truename' can
2139 be nil. Handle this. (Bug#13636)
2140
2141 2013-02-07 Richard Stallman <rms@gnu.org>
2142
2143 * mail/rmail.el (rmail-variables): Specify `no-conversion' for
2144 `save-buffer-coding-system'.
2145
2146 2013-02-07 Alan Mackenzie <acm@muc.de>
2147
2148 Fix bug in state cache mechanism. Remove 'BOD "strategy". Refactor.
2149 * progmodes/cc-engine.el (c-get-fallback-scan-pos): Remove.
2150 (c-parse-state-get-strategy): Don't return 'BOD any more.
2151 (c-append-lower-brace-pair-to-state-cache):
2152 Extra parameter HERE instead of narrowing.
2153 Widen to top of buffer before searching backwards for a brace pair.
2154 (c-state-push-any-brace-pair): Add HERE parameter to function call.
2155 (c-append-to-state-cache): Extra parameter HERE in place of narrowing.
2156 Narrow to parameter HERE, in place of being called narrowed.
2157 (c-remove-stale-state-cache): Extra parameter HERE in place of
2158 narrowing. Check there's an open brace in the cache before
2159 searching for its match.
2160 (c-invalidate-state-cache-1): Add HERE parameter to function call.
2161 (c-parse-state-1): Don't narrow here for 'forward strategy,
2162 instead passing extra parameter HERE to several functions.
2163 Remove 'BOD strategy.
2164
2165 2013-02-06 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
2166
2167 * emacs-lisp/package.el (describe-package-1): Tell what archive is
2168 used to install the package.
2169
2170 2013-02-06 Glenn Morris <rgm@gnu.org>
2171
2172 * vc/vc-hooks.el (vc-find-file-hook): Don't ask about following links
2173 if we can't get user input. (Bug#6567)
2174
2175 * startup.el (command-line): If simple.el is missing,
2176 test and warn about for some possible causes.
2177
2178 2013-02-05 Jan Djärv <jan.h.d@swipnet.se>
2179
2180 * cus-start.el (all): Add ns-use-native-fullscreen.
2181
2182 2013-02-05 Glenn Morris <rgm@gnu.org>
2183
2184 * profiler.el (profiler-report-mode-map): Add a restart menu entry.
2185
2186 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
2187 Fix directory creation in fallback case.
2188
2189 2013-02-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2190
2191 * vc/vc.el (vc-next-action): Fix inf-loop (bug#13610).
2192 (vc-update-change-log): Use dolist.
2193
2194 2013-02-04 Chong Yidong <cyd@gnu.org>
2195
2196 * thingatpt.el: Rewrite the URL detection routines, absorbing some
2197 code from ffap.el.
2198 (thing-at-point-beginning-of-url-regexp): New var.
2199 (thing-at-point-uri-schemes): Update list of URI schemes.
2200 (thing-at-point-url-regexp): Variable deleted.
2201 (thing-at-point-markedup-url-regexp): Disallow newlines.
2202 (thing-at-point-newsgroup-regexp)
2203 (thing-at-point-newsgroup-heads)
2204 (thing-at-point-default-mail-uri-scheme): New variables.
2205 (thing-at-point-bounds-of-url-at-point): Rewrite. Use ffap's
2206 method to find the possible bounds of the URI at point.
2207 New optional argument to find ill-formed URIs.
2208 (thing-at-point-url-at-point): Rewrite. New arguments for finding
2209 ill-formed URIs. Use thing-at-point-bounds-of-url-at-point, and
2210 the scheme-adding heuristics from ffap-url-at-point.
2211 (thing-at-point--bounds-of-well-formed-url): New function.
2212 Do parens matching to decide whether to include parens in the URI
2213 (Bug#9153).
2214
2215 * ffap.el: Require thingatpt.
2216 (ffap-url-at-point): Delegate URI detection to thing-at-point.
2217 All URI-valid characters are now recognized (Bug#5673).
2218 (ffap-string-at-point): Use use-region-p.
2219 (ffap-url-regexp): Extra character is handled by thing-at-point.
2220 (ffap-string-at-point-mode-alist): Allow parentheses.
2221 (ffap-newsgroup-regexp, ffap-newsgroup-heads, ffap-newsgroup-p):
2222 Convert to aliases; code moved to thingatpt.el.
2223 (ffap-gnus-hook): Use setq-local.
2224
2225 2013-02-04 Glenn Morris <rgm@gnu.org>
2226
2227 * emacs-lisp/ert.el (ert--explain-format-atom):
2228 Don't try to print non-characters as characters. (Bug#13543)
2229
2230 2013-02-03 Michael Albinus <michael.albinus@gmx.de>
2231
2232 * net/tramp.el (tramp-debug-message): Extend function exclude list.
2233 (tramp-backtrace): New defun.
2234 (tramp-handle-insert-file-contents): Use `visit' when inserting
2235 the local copy.
2236
2237 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime):
2238 Use `remote-file-name-inhibit-cache'.
2239
2240 2013-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
2241
2242 * progmodes/cperl-mode.el (cperl-mode): Avoid byte-compile warning
2243 (bug#13614).
2244
2245 * subr.el (internal--called-interactively-p--get-frame): Avoid filling
2246 current-load-list (bug#13366).
2247
2248 2013-02-02 Christopher Schmidt <christopher@ch.ristopher.com>
2249
2250 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2251 Identify g++ template instantiation trace. (Bug#12287)
2252 (compilation-mode-hook, compilation-start-hook)
2253 (compilation-window-height): Simplify docstrings. (Bug#13379)
2254
2255 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
2256
2257 * mouse.el (mouse-drag-track): Always deactivate the mark before
2258 running the final event's command since that command is in charge of
2259 activating the mark if needed (bug#13523).
2260
2261 2013-02-02 Juri Linkov <juri@jurta.org>
2262
2263 * replace.el (perform-replace): Move let-bindings of isearch-*
2264 variables deeper to the loop that searches for the next match.
2265 Add bindings for `isearch-nonincremental' and `isearch-adjusted'.
2266 Use `isearch-search-fun-default' instead of `isearch-search-fun'.
2267 (Bug#13579)
2268
2269 * isearch.el (isearch-search-fun-default): Check for null
2270 first element of isearch-cmds as a precaution when it's used
2271 with inactive isearch.
2272
2273 2013-02-02 Andrew W. Nosenko <andrew.w.nosenko@gmail.com> (tiny change)
2274
2275 * net/tramp.el (tramp-check-for-regexp): Avoid "Args out of range"
2276 error when buffer in question is narrowed so position 1 is out of
2277 visible part.
2278
2279 2013-02-02 Glenn Morris <rgm@gnu.org>
2280
2281 * textmodes/remember.el (remember-clipboard): Doc fix.
2282
2283 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
2284
2285 * progmodes/make-mode.el (makefile-fill-paragraph): Reset syntax-table
2286 properties (bug#13179).
2287
2288 2013-02-02 Juri Linkov <juri@jurta.org>
2289
2290 * progmodes/grep.el (grep-regexp-alist): Use variable grep-match-face
2291 instead of hard-coded default face `match'. (Bug#9438)
2292
2293 2012-02-01 Christopher Schmidt <christopher@ch.ristopher.com>
2294
2295 * vc/vc-arch.el (vc-arch-registered):
2296 * vc/vc-bzr.el (vc-bzr-registered):
2297 * vc/vc-cvs.el (vc-cvs-registered):
2298 * vc/vc-git.el (vc-git-registered):
2299 * vc/vc-hg.el (vc-hg-registered):
2300 * vc/vc-mtn.el (vc-mtn-registered):
2301 * vc/vc-svn.el (vc-svn-registered): Suppress load messages.
2302 (Bug#13139)
2303
2304 * info.el (Info-next-reference, Info-prev-reference): Add numeric
2305 prefix argument. (Bug#11656)
2306
2307 2013-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
2308
2309 * help-fns.el (help-split-fundoc): Don't insert byte-compiled body.
2310
2311 2013-02-01 Glenn Morris <rgm@gnu.org>
2312
2313 * vc/vc-hooks.el (vc-menu-map): Disable vc-rollback menu item
2314 if the backend is known not to support it.
2315
2316 * imenu.el (imenu-default-create-index-function):
2317 Tweak infinite loop test to check for forward motion as well as none.
2318
2319 2013-02-01 Alex Harsanyi <AlexHarsanyi@gmail.com>
2320
2321 * net/soap-client.el (soap-invoke): Encode the string for
2322 `url-request-data' as UTF-8.
2323 Fixes <http://code.google.com/p/emacs-soap-client/issues/detail?id=16>.
2324
2325 2013-02-01 Glenn Morris <rgm@gnu.org>
2326
2327 * calc/calc-help.el (calc-view-news): Use view-emacs-news.
2328
2329 * calc/README, calc/README.prev: Rename/merge to etc/CALC-NEWS.
2330
2331 2013-01-31 Michael Albinus <michael.albinus@gmx.de>
2332
2333 * net/tramp.el (tramp-tramp-file-p): Comment check for
2334 `string-as-unibyte'. The function does not exist on XEmacs, and
2335 likely we need another approach.
2336
2337 * net/tramp-sh.el (tramp-compute-multi-hops): Check, whether
2338 `tramp-gw-*' variables are bound.
2339
2340 2013-01-31 Glenn Morris <rgm@gnu.org>
2341
2342 * files.el (basic-save-buffer-2): Choose coding system for
2343 writing the file before backing it up, to reduce delay between
2344 backing up and writing the new version. (Bug#13522)
2345
2346 2013-01-31 Michal Nazarewicz <mina86@mina86.com>
2347
2348 * simple.el (cycle-spacing): New command.
2349 (just-one-space): Use it.
2350
2351 2013-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
2352
2353 * progmodes/opascal.el: Rename from delphi.el. Use lexical-binding.
2354 (opascal-newline-always-indents): Remove custom.
2355 (opascal-tab, opascal-newline): Remove commands.
2356 (opascal-new-comment-line): Insert "\n" instead of calling newline.
2357 (opascal-mode-map): Keep default bindings for RET and TAB and DEL.
2358 (opascal-save-match-data): Remove, use save-match-data instead.
2359 (opascal-save-state): Use with-silent-modifications.
2360
2361 * progmodes/pascal.el (pascal-mode-syntax-table): Accept //..\n comments
2362 (bug#13585).
2363
2364 2013-01-30 Juri Linkov <juri@jurta.org>
2365
2366 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
2367 Use fullboth as an alias for fullscreen. Suggested by Jan Djärv in
2368 <http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00203.html>.
2369
2370 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
2371
2372 * progmodes/make-mode.el (makefile-backslash-region): Don't compute
2373 column if we're just deleting the backslashes.
2374 (makefile-fill-paragraph): Use eolp.
2375
2376 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
2377
2378 * autorevert.el (auto-revert-use-notify): Fix docstring.
2379
2380 2013-01-30 Leo Liu <sdl.web@gmail.com>
2381
2382 * imenu.el (imenu--truncate-items): Fix subalist checking (bug#13576).
2383
2384 2013-01-30 Glenn Morris <rgm@gnu.org>
2385
2386 * mouse.el (mouse-drag-line): Avoid pushing same event onto
2387 unread-command-events twice in some cases. This tries to implement
2388 the 2012-07-26 changes in a different way. (Bug#13560)
2389
2390 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
2391
2392 * progmodes/python.el
2393 (python-pdbtrack-comint-output-filter-function): Enhancements on
2394 stacktrace detection. (thanks @gnovak)
2395
2396 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
2397
2398 * jit-lock.el (jit-lock-stealth-chunk-start): Don't widen (bug#13542).
2399 (jit-lock-mode, jit-lock-functions, jit-lock-context-unfontify-pos):
2400 Use defvar-local.
2401 (jit-lock-register): Use setq-local.
2402
2403 2013-01-30 Jay Belanger <jay.p.belanger@gmail.com>
2404
2405 * calc-units.el (math-default-units-table): Remove initial value.
2406 (calc-convert-units): Treat expressions where all the units cancel as
2407 if they didn't have units.
2408
2409 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
2410
2411 * net/tramp.el (tramp-process-connection-type): Fix docstring.
2412 (tramp-completion-reread-directory-timeout): Fix type.
2413 (tramp-connection-min-time-diff): New defcustom.
2414
2415 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
2416
2417 2013-01-30 Glenn Morris <rgm@gnu.org>
2418
2419 * imenu.el (imenu-default-create-index-function):
2420 Put back a version of the infinite loop test removed 2013-01-23.
2421
2422 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
2423
2424 * progmodes/python.el (python-shell-parse-command):
2425 Find python-shell-interpreter with modified environment.
2426
2427 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
2428
2429 * emacs-lisp/cl.el (cl-set-getf): Add compatibility alias.
2430
2431 2013-01-29 Alan Mackenzie <acm@muc.de>
2432
2433 Amend to fontify /regexp/s in actions correctly.
2434 * cc-awk.el (c-awk-harmless-char-re, c-awk-harmless-string*-re):
2435 (c-awk-harmless-string*-here-re): Braces, parens and semicolons
2436 are no longer included.
2437 (c-awk-harmless-line-char-re, c-awk-harmless-line-string*-re):
2438 What used to be these variables without "-line" in the name.
2439 (c-awk-neutral-re): { is no longer neutral. Escaped newlines now are.
2440 (c-awk-non-arith-op-bra-re): Now also matches {.
2441 (c-awk-pre-exp-alphanum-kwd-re): New regexp to match "print",
2442 "return", and "case".
2443 (c-awk-kwd-regexp-sign-re): New, to match "print", etc., followed
2444 by /.
2445 (c-awk-syntax-tablify-/): Check special cases "print /re/", etc.
2446 (c-awk-set-syntax-table-properties): Extend FSM to handle {,},(,),;.
2447
2448 2013-01-29 Michael Albinus <michael.albinus@gmx.de>
2449
2450 * autorevert.el (auto-revert-use-notify):
2451 Use `custom-initialize-default' for initialization. (Bug#13583)
2452
2453 * net/ange-ftp.el (ange-ftp-skip-msgs): Add another message.
2454
2455 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2456 Catch `suppress'. Otherwise, `tramp-run-real-handler' might be called
2457 in `tramp-file-name-handler'.
2458 (tramp-gw-tunnel-method, tramp-gw-socks-method): Declare for
2459 compatibility.
2460 (tramp-compute-multi-hops): Check, whether
2461 `tramp-gw-tunnel-method' and `tramp-gw-socks-method' are non-nil.
2462
2463 2013-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
2464
2465 * hi-lock.el (hi-lock-unface-buffer): Don't assume `face' is a symbol
2466 (bug#13297).
2467
2468 2013-01-27 Dmitry Gutov <dgutov@yandex.ru>
2469
2470 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove some
2471 checks made superfluous by the \_< operator.
2472 * progmodes/ruby-mode.el (ruby-move-to-block): Work with (maybe
2473 temporarily) broken indentation.
2474 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2475 Highlight nested constants, too. \_< broke that.
2476
2477 2013-01-27 Nobuyoshi Nakada <nobu@ruby-lang.org>
2478
2479 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Use "\\_<"
2480 instead of "\\b".
2481
2482 2013-01-27 Michael Albinus <michael.albinus@gmx.de>
2483
2484 * autorevert.el (auto-revert-handler): Notifications which result
2485 from a saved file shall not be taken into account. (Bug#13557)
2486
2487 2013-01-26 Andreas Schwab <schwab@linux-m68k.org>
2488
2489 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Add optional
2490 parameter BAR-NOT-SYMBOL to control syntax of | for font-lock.
2491 (lisp-mode): Pass t for it. (Bug#13556)
2492
2493 2013-01-25 Alan Mackenzie <acm@muc.de>
2494
2495 AWK Mode: Fix indentation bug at top level. Bug #12274.
2496
2497 * progmodes/cc-engine.el (c-guess-basic-syntax): Move CASE 5P to
2498 just before CASE 5D.
2499
2500 2013-01-25 Dmitry Antipov <dmantipov@yandex.ru>
2501
2502 * net/socks.el (socks-nslookup-host): Use string-to-number.
2503
2504 2013-01-25 Michael Albinus <michael.albinus@gmx.de>
2505
2506 * autorevert.el (auto-revert-remote-files)
2507 (auto-revert-notify-exclude-dir-regexp): New defcustoms.
2508 (auto-revert-notify-enabled, auto-revert-use-notify)
2509 (auto-revert-notify-watch-descriptor-hash-list)
2510 (auto-revert-notify-modified-p, auto-revert-notify-event-p)
2511 (auto-revert-notify-event-descriptor)
2512 (auto-revert-notify-event-action)
2513 (auto-revert-notify-event-file-name): Doc fix.
2514 (global-auto-revert-mode): Reorder checks.
2515 (auto-revert-notify-rm-watch): Respect changed values of
2516 `auto-revert-notify-watch-descriptor-hash-list'.
2517 (auto-revert-notify-add-watch): Check for
2518 `auto-revert-notify-exclude-dir-regexp'. Adapt filters for
2519 `inotify-add-watch'. Watch `default-directory' instead of
2520 `buffer-file-name'. `auto-revert-notify-watch-descriptor-hash-list'
2521 has a changed meaning now. (Bug#13540)
2522 (auto-revert-notify-handler): Change implementation wrt events
2523 returning from a directory.
2524 (auto-revert-handler): Reorder implementation for checks of remote
2525 files.
2526 (auto-revert-buffers): Fix parentheses error.
2527
2528 2013-01-25 Fabián Ezequiel Gallina <fgallina@cuca>
2529
2530 * progmodes/python.el: Enhancements to header documentation about
2531 skeletons. (Bug#5716)
2532
2533 * imenu.el (imenu-default-create-index-function): Remove useless
2534 infinite loop check. (Bug#13438)
2535
2536 2013-01-25 Alan Mackenzie <acm@muc.de>
2537
2538 Fix a bug in the state cache mechanism. Refactor this a bit.
2539
2540 * progmodes/cc-engine.el (c-parse-state-get-strategy): Remove the
2541 `cache-pos' element from the return value.
2542 (c-append-lower-brace-pair-to-state-cache): "Narrow" to end of
2543 buffer to enable proper searching from beyond HERE. Amend the
2544 test for detecting the sought brace pair. Amend the value written
2545 to the "brace desert cache" when the brace isn't found.
2546 (c-remove-stale-state-cache): Rename `good-pos' to `start-point',
2547 and several other variables analogously.
2548 (c-remove-stale-state-cache-backwards): Change `cache-pos' from a
2549 parameter to a locally calculated variable.
2550 (c-parse-state-1): Change the calling conventions to the two
2551 defuns involving `cache-pos'.
2552
2553 2013-01-25 Chong Yidong <cyd@gnu.org>
2554
2555 * xml.el (xml-entity-or-char-ref-re): Fix regexp.
2556
2557 2013-01-24 Aaron Ecay <aaronecay@gmail.com> (tiny change)
2558
2559 * paren.el (show-paren-function): Make sure to set 'priority and
2560 'face only if the overlay does exist.
2561
2562 2013-01-24 Michael Albinus <michael.albinus@gmx.de>
2563
2564 * net/tramp.el (tramp-tramp-file-p): Check, whether NAME is unibyte.
2565
2566 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Do not suppress
2567 basic attributes.
2568 (tramp-sh-handle-set-file-acl): Improve error checking.
2569
2570 2013-01-24 Dmitry Antipov <dmantipov@yandex.ru>
2571
2572 * doc-view.el (doc-view-display): Force mode line update until all
2573 document is converted. Suggested by Stefan Monnier (Bug#13164).
2574
2575 2013-01-23 Bastien Guerry <bzg@gnu.org>
2576
2577 * paren.el (show-paren-function): Make sure an overlay exists
2578 before trying to delete it. Also use `pos' as a position only
2579 when it is an integer.
2580
2581 2013-01-23 Dmitry Antipov <dmantipov@yandex.ru>
2582
2583 * play/gametree.el (gametree-break-line-here): Use point-marker.
2584
2585 2013-01-22 Michael Albinus <michael.albinus@gmx.de>
2586
2587 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
2588 Mark descriptive parts with `display' property.
2589
2590 2013-01-21 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2591
2592 * textmodes/ispell.el (ispell-hunspell-dictionary-equivs-alist):
2593 New variable to map standard dict names to hunspell ones.
2594 (ispell-set-spellchecker-params): Make sure specific dict names
2595 are used for standard dicts with hunspell.
2596
2597 2013-01-21 Tassilo Horn <tsdh@gnu.org>
2598
2599 * textmodes/reftex-cite.el (reftex-format-citation): Add format
2600 chars for note (%N) and url (%U).
2601 * textmodes/reftex-vars.el (reftex-cite-format): Document them.
2602
2603 2013-01-21 Juri Linkov <juri@jurta.org>
2604
2605 * frame.el: Bind `f10' in `esc-map' to `toggle-frame-maximized'
2606 in addition to existing separate binding `meta f10' in `global-map'.
2607 (Bug#13484)
2608
2609 2013-01-21 Michael Albinus <michael.albinus@gmx.de>
2610
2611 Improve XEmacs compatibility.
2612
2613 * net/tramp.el (tramp-replace-environment-variables): Make it a defun.
2614
2615 * net/tramp-adb.el (top): Require `time-date'.
2616 (tramp-adb-ls-output-time-less-p): Use `tramp-time-less-p'.
2617 (tramp-adb-handle-copy-file, tramp-adb-handle-rename-file):
2618 Use `tramp-file-name-handler'.
2619 (tramp-adb-maybe-open-connection):
2620 Use `tramp-compat-set-process-query-on-exit-flag'.
2621
2622 * net/tramp-sh.el (tramp-sh-handle-file-acl):
2623 Use `tramp-compat-funcall'.
2624
2625 * net/tramp-smb.el (tramp-smb-handle-file-acl): Use `looking-at' and
2626 `tramp-compat-funcall'.
2627
2628 2013-01-21 Jürgen Hötzel <juergen@archlinux.org>
2629
2630 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Complete
2631 reimplementation using "adb shell command ..." instead of running
2632 remote shell interactively.
2633
2634 2013-01-20 Glenn Morris <rgm@gnu.org>
2635
2636 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
2637 Add native profiler menu entries.
2638
2639 * profiler.el (profiler-running-p): New function.
2640 (profiler-cpu-profile): Use profiler-running-p.
2641 (profiler-report-mode-map): Add some more menu entries.
2642
2643 2013-01-19 Glenn Morris <rgm@gnu.org>
2644
2645 * mail/unrmail.el (unrmail): Do not mangle the mbox From line;
2646 fixes 2012-12-07 change. (Bug#13499)
2647
2648 2013-01-19 Leo Liu <sdl.web@gmail.com>
2649
2650 * dired.el (dired-get-marked-files): Prune erroneous values due to
2651 last change. (Bug#13152)
2652
2653 2013-01-19 Glenn Morris <rgm@gnu.org>
2654
2655 * progmodes/etags.el (tags-table-check-computed-list):
2656 Preserve point in tags buffer. (Bug#13412)
2657
2658 * emacs-lisp/lisp-mode.el (lisp-indent-function): Doc fix.
2659
2660 2013-01-19 Christian Wittern <cwittern@gmail.com> (tiny change)
2661 Chong Yidong <cyd@gnu.org>
2662
2663 * image-mode.el (image-next-file, image-previous-file):
2664 New commands (Bug#8453).
2665 (image-mode-map): Bind them to n and p.
2666 (image-mode--images-in-directory): New helper function.
2667
2668 2013-01-19 Chong Yidong <cyd@gnu.org>
2669
2670 * image-mode.el (image-mode-fit-frame): Add a frame argument.
2671 Suggested by Drew Adams (Bug#7730). Handle window decorations;
2672 save and restore the old window configuration.
2673
2674 2013-01-18 Leo Liu <sdl.web@gmail.com>
2675
2676 * progmodes/js.el: Tweak autoload cookie for alias.
2677
2678 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
2679
2680 * autorevert.el (auto-revert-notify-watch-descriptor): Make it
2681 buffer local, again. This was lost with the fix on 2013-01-12.
2682
2683 2013-01-17 Jürgen Hötzel <juergen@archlinux.org>
2684
2685 * eshell/esh-util.el (eshell-path-env): Make it buffer local, in
2686 order to support several eshell buffers in parallel.
2687
2688 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
2689
2690 * autorevert.el (auto-revert-use-notify): In the :set function, do
2691 not modify `kill-buffer-hook'.
2692 (auto-revert-notify-rm-watch):
2693 Remove `auto-revert-notify-rm-watch' from `kill-buffer-hook'.
2694 (auto-revert-notify-add-watch): Do not call
2695 `auto-revert-notify-rm-watch', but add it to a buffer local
2696 `kill-buffer-hook'.
2697
2698 2013-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
2699
2700 * emacs-lisp/trace.el (trace--read-args): Use a closure and an honest
2701 call to `eval' rather than a backquoted lambda.
2702
2703 2013-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
2704
2705 * emacs-lisp/nadvice.el (advice--tweak): Make it possible for `tweak'
2706 to return an explicit nil.
2707 (advice--remove-function): Change accordingly.
2708
2709 * emacs-lisp/advice.el (ad-preactivate-advice): Adjust the cleanup to
2710 the use of nadvice.el.
2711
2712 * progmodes/which-func.el (which-function): Silence imenu errors
2713 (bug#13433).
2714
2715 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
2716
2717 * progmodes/sql.el (sql-imenu-generic-expression):
2718 (sql-mode-font-lock-object-name): Match schema qualified names.
2719 (sql-connect): Use string keys.
2720 (sql-product-interactive): Wait for interpreter prompt.
2721 (sql-comint-oracle): Set process coding based on NLS_LANG.
2722
2723 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
2724
2725 * progmodes/sql.el (sql-output-to-send): Remove, unused.
2726 (sql-interactive-remove-continuation-prompt):
2727 (sql-send-magic-terminator, sql-interactive-mode): Remove references.
2728
2729 2013-01-14 Leo Liu <sdl.web@gmail.com>
2730
2731 * calendar/calendar.el (calendar-redraw): Sync window-point and point.
2732 (Bug#13420)
2733
2734 2013-01-14 Glenn Morris <rgm@gnu.org>
2735
2736 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2737 Fix interpretation of gnu line.col1-col2 format. (Bug#13335)
2738
2739 2013-01-13 Fabián Ezequiel Gallina <fgallina@cuca>
2740
2741 * progmodes/python.el (python-nav-end-of-statement):
2742 Fix cornercase when handling multiline strings.
2743
2744 2013-01-13 Richard Stallman <rms@gnu.org>
2745
2746 * mail/sendmail.el (mail-position-on-field): Add doc string.
2747
2748 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
2749 Get current message boundaries and pass them to
2750 message-forward-make-body-mime. Minor style changes.
2751
2752 2013-01-13 Eli Zaretskii <eliz@gnu.org>
2753
2754 * cus-start.el (all): Avoid warnings about
2755 scroll-bar-adjust-thumb-portion on platforms where it is not defined.
2756
2757 2013-01-11 Jan Djärv <jan.h.d@swipnet.se>
2758
2759 * cus-start.el (all): Add scroll-bar-adjust-thumb-portion.
2760
2761 2013-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
2762
2763 * jit-lock.el (jit-lock-debug-mode): New minor mode.
2764 (jit-lock--debug-fontifying): New var.
2765 (jit-lock--debug-fontify): New function.
2766 * subr.el (condition-case-unless-debug): Don't prevent catching the
2767 error, just let the debbugger run.
2768 * emacs-lisp/timer.el (timer-event-handler): Don't prevent debugging
2769 timer code and don't drop errors silently.
2770
2771 2013-01-12 Michael Albinus <michael.albinus@gmx.de>
2772
2773 * autorevert.el (auto-revert-notify-watch-descriptor): Give it
2774 `permanent-local' property.
2775 (auto-revert-notify-handler): Use `file-equal-p'.
2776
2777 2013-01-12 Eli Zaretskii <eliz@gnu.org>
2778
2779 * autorevert.el (auto-revert-notify-handler): Fix filtering of
2780 file notification by ACTION. For filtering by file name, compare
2781 only the non-directory part of the file name.
2782
2783 2013-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
2784
2785 * autorevert.el: Use cl-lib instead of cl.
2786
2787 * vc/vc-bzr.el (vc-bzr--sanitize-header): New function (bug#13307).
2788 (vc-bzr-checkin): Use it.
2789 * vc/log-edit.el (log-edit-extract-headers): Don't presume FUNCTION
2790 will preserve match-data.
2791
2792 2013-01-11 Felix H. Dahlke <fhd@ubercode.de>
2793
2794 * progmodes/js.el: Fix multiline declarations's indentation (bug#8576).
2795 (js--declaration-keyword-re): New var.
2796 (js--multi-line-declaration-indentation): New function.
2797 (js--proper-indentation): Use it.
2798
2799 2013-01-11 Aaron S. Hawley <Aaron.Hawley@vtinfo.com>
2800
2801 * calc/calc.el (calc-highlight-selections-with-faces)
2802 (calc-dispatch):
2803 * comint.el (comint-history-isearch-message):
2804 * emacs-lisp/edebug.el (edebug-read, edebug-eval-defun):
2805 * ffap.el (ffap-string-at-point-region, ffap-next)
2806 (ffap-string-at-point, ffap-string-around)
2807 (ffap-copy-string-as-kill, ffap-highlight-overlay)
2808 (ffap-literally):
2809 * font-lock.el (font-lock-keywords-alist)
2810 (font-lock-removed-keywords-alist):
2811 * help-mode.el (help-xref-symbol-regexp):
2812 * info.el (Info-find-emacs-command-nodes):
2813 * international/mule.el (add-to-coding-system-list):
2814 * isearch.el (isearch-message-function, isearch-fail-pos):
2815 * misearch.el (multi-isearch-next-buffer-function):
2816 * newcomment.el (comment-box):
2817 * printing.el (pr-txt-printer-alist, pr-ps-printer-alist)
2818 (pr-setting-database):
2819 * progmodes/cc-fonts.el (c-font-lock-keywords-3)
2820 (c++-font-lock-keywords-3, objc-font-lock-keywords-3)
2821 (java-font-lock-keywords-3, idl-font-lock-keywords-3)
2822 (pike-font-lock-keywords-3):
2823 * progmodes/compile.el (compile):
2824 * progmodes/etags.el (tags-table-files)
2825 (tags-table-files-function, tags-included-tables-function):
2826 * progmodes/gdb-mi.el (gdb, gdb-setup-windows)
2827 (gdb-restore-windows):
2828 * ps-print.el (ps-even-or-odd-pages, ps-spool-buffer-with-faces)
2829 (ps-n-up-filling-database):
2830 * server.el (server-buffer, server-log):
2831 * simple.el (newline, delete-backward-char, delete-forward-char)
2832 (minibuffer-history-isearch-message, kill-line, track-eol)
2833 (temporary-goal-column):
2834 * textmodes/flyspell.el (flyspell-mark-duplications-flag)
2835 (flyspell-default-deplacement-commands):
2836 * textmodes/ispell.el (ispell-accept-output):
2837 * textmodes/sgml-mode.el (html-tag-help):
2838 * vc/compare-w.el (compare-ignore-whitespace)
2839 (compare-ignore-case, compare-windows-dehighlight):
2840 * vc/diff.el (diff):
2841 * whitespace.el (whitespace-point)
2842 (whitespace-font-lock-refontify, whitespace-bob-marker)
2843 (whitespace-eob-marker): Fix ambiguous doc string cross-reference(s).
2844
2845 2013-01-11 Michael Albinus <michael.albinus@gmx.de>
2846
2847 * autorevert.el (top): Require 'cl in order to pacify byte compiler.
2848 (auto-revert-notify-rm-watch): Ignore errors.
2849 (auto-revert-notify-add-watch): Ignore errors. Use '(modify) for
2850 inotify, and '(size last-write-time) for w32notify.
2851 Set buffer-local `auto-revert-use-notify' to nil when adding a file
2852 watch fails - this is a fallback to the file modification check.
2853 (auto-revert-notify-event-p, auto-revert-notify-event-descriptor)
2854 (auto-revert-notify-event-action)
2855 (auto-revert-notify-event-file-name): New defuns.
2856 (auto-revert-notify-handler): Use them. Implement first
2857 plausibility checks.
2858 (auto-revert-handler): Handle also `auto-revert-tail-mode'.
2859
2860 2013-01-11 Julien Danjou <julien@danjou.info>
2861
2862 * color.el (color-rgb-to-hsv): Fix conversion computing in case min and
2863 max are almost equal. Also return the correct value for V which is
2864 already between 0 and 1.
2865
2866 2013-01-11 Dmitry Antipov <dmantipov@yandex.ru>
2867
2868 * emacs-lisp/ert.el (ert-run-test): Use point-max-marker.
2869
2870 2013-01-11 Eli Zaretskii <eliz@gnu.org>
2871
2872 * autorevert.el (auto-revert-notify-rm-watch)
2873 (auto-revert-notify-add-watch): Fix typos in w32notify function
2874 names.
2875
2876 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
2877
2878 * autorevert.el (auto-revert-notify-enabled): Move up.
2879 (auto-revert-use-notify): New defcustom.
2880 (auto-revert-mode, global-auto-revert-mode)
2881 (auto-revert-notify-add-watch, auto-revert-handler)
2882 (auto-revert-buffers): Use `auto-revert-use-notify' instead of
2883 `auto-revert-notify-enabled'.
2884
2885 2013-01-10 Elias Pipping <pipping@exherbo.org>
2886
2887 * files.el (auto-mode-alist): Use doc-view for djvu files (bug#13164).
2888 * doc-view.el (doc-view-document->bitmap):
2889 Use doc-view-single-page-converter-function instead of
2890 single-page-converter arg; adjust callers.
2891
2892 2013-01-10 Feng Li <fengli@gmail.com> (tiny change)
2893
2894 * progmodes/which-func.el (which-function): Understand Semantic's use
2895 of overlays in imenu--index-alist.
2896
2897 2013-01-10 Wolfgang Jenkner <wjenkner@inode.at>
2898
2899 * man.el: Handle different "man -k" behaviors (bug#13160). Use utf-8.
2900 (Man-man-k-use-anchor): New var.
2901 (Man-parse-man-k): New function.
2902 (Man-completion-table): Use it.
2903 (man): Flush the completion cache between uses.
2904
2905 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
2906
2907 * autorevert.el: Add file watch support.
2908 (auto-revert-notify-enabled): New defconst.
2909 (auto-revert-notify-watch-descriptor-hash-list)
2910 (auto-revert-notify-watch-descriptor)
2911 (auto-revert-notify-modified-p): New defvars.
2912 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
2913 (auto-revert-notify-handler): New defuns.
2914 (auto-revert-mode, global-auto-revert-mode): Remove file watches
2915 when mode is disabled.
2916 (auto-revert-handler): Check for `auto-revert-notify-modified-p'.
2917 (auto-revert-buffers): Add file watches for active buffers.
2918
2919 2013-01-10 Dmitry Antipov <dmantipov@yandex.ru>
2920
2921 * cus-start.el (toplevel): Only allow float values for
2922 scroll-up-aggressively and scroll-down-aggressively.
2923 Allow any number for line-spacing.
2924
2925 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
2926
2927 * doc-view.el (doc-view-pdfdraw-program): Allow "pdfdraw" name.
2928 (doc-view-pdf->png-converter-function): Use mupdf if available.
2929 (doc-view-djvu->png-converter-function)
2930 (doc-view-ps->png-converter-function): Remove.
2931 (doc-view--image-file-pattern): Replace doc-view--image-file-extension.
2932 (doc-view-goto-page, doc-view-convert-current-doc, doc-view-display)
2933 (doc-view-already-converted-p): Adjust accordingly.
2934 (doc-view-mode-p): Simplify.
2935 (doc-view-enlarge): Use setq-local.
2936 (doc-view-pdf->png-converter-ghostscript)
2937 (doc-view-djvu->png-converter-ddjvu)
2938 (doc-view-pdf->png-converter-mupdf): Rework to call
2939 doc-view-start-process directly.
2940 (doc-view-pdf/ps->png): Simplify accordingly.
2941 (doc-view-pdf->png-1, doc-view-djvu->png-1): Remove.
2942 (doc-view-document->bitmap): Rename from doc-view-document->png.
2943 (doc-view-convert-current-doc): Merge pdf and djvu cases.
2944 (doc-view-set-slice-from-bounding-box): Fix completion table.
2945 (doc-view-mode): Use add-hook for after-revert-hook.
2946
2947 2013-01-10 Glenn Morris <rgm@gnu.org>
2948
2949 * emacs-lisp/authors.el (authors-ignored-files)
2950 (authors-valid-file-names, authors-renamed-files-alist):
2951 Add some more entries.
2952
2953 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
2954
2955 * image-mode.el (image-mode-winprops): Don't throw away the fallback
2956 `t' pseudo-window entry.
2957
2958 2013-01-10 Alan Mackenzie <acm@muc.de>
2959
2960 Fix bugs in the c-parse-state mechanism. Reuse some markers
2961 instead of continually generating new ones.
2962
2963 * progmodes/cc-engine.el (c-state-old-cpp-beg-marker)
2964 (c-state-old-cpp-end-marker): New variables.
2965 (c-append-lower-brace-pair-to-state-cache): Start a backward
2966 search for "}" definitively outside CPP constructs.
2967 (c-remove-stale-state-cache): Inform the caller of a need to
2968 search back for a brace pair in certain circumstances.
2969 (c-state-maybe-marker): New macro.
2970 (c-parse-state): Reuse markers when appropriate.
2971
2972 2013-01-10 Glenn Morris <rgm@gnu.org>
2973
2974 * simple.el (execute-extended-command): Doc fix.
2975 Bind prefix-arg around read-extended-command, for prompt. (Bug#13395)
2976
2977 2013-01-10 Chong Yidong <cyd@gnu.org>
2978
2979 * faces.el (read-face-name): Doc fix.
2980
2981 2013-01-10 Roland Winkler <winkler@gnu.org>
2982
2983 * emacs-lisp/crm.el: Allow any regexp for separators.
2984 (crm-default-separator): All spaces around the default comma separator.
2985 (crm--completion-command): New macro.
2986 (crm-completion-help, crm-complete, crm-complete-word): Use it.
2987 (crm-complete-and-exit): Handle non-single-char separators.
2988
2989 2013-01-09 Elias Pipping <pipping@lavabit.com>
2990
2991 * doc-view.el: Add support for DjVu (bug#13164).
2992 (doc-view-djvu->png-converter-function): New config var.
2993 (doc-view-single-page-converter-function, doc-view--image-type)
2994 (doc-view--image-file-extension): New vars.
2995 (doc-view-mode): Initialize them.
2996 (doc-view-goto-page): Use them.
2997 (doc-view-mode-p): Add support for ddjvu.
2998 (doc-view-djvu->png-converter-ddjvu, doc-view-djvu->png-1)
2999 (doc-view-set-up-single-converter): New funs.
3000 (doc-view-pdf/ps->png): Extend for djvu.
3001 (doc-view-document->png): Rename from doc-view-pdf->png.
3002 (doc-view-convert-current-doc): Handle djvu.
3003 (doc-view-insert-image, doc-view-display)
3004 (doc-view-already-converted-p): Don't hardcode png.
3005 (doc-view-set-doc-type): Recognize djvu docs.
3006
3007 2013-01-09 Elias Pipping <pipping@lavabit.com>
3008
3009 * doc-view.el: Add support for mupdf converter (bug#13164).
3010 (doc-view-pdfdraw-program, doc-view-pdf->png-converter-function)
3011 (doc-view-ps->png-converter-function): New config vars.
3012 (doc-view-pdf->png-converter-ghostscript)
3013 (doc-view-ps->png-converter-ghostscript)
3014 (doc-view-pdf->png-converter-mupdf): New functions.
3015 (doc-view-pdf/ps->png, doc-view-pdf->png-1): Use them.
3016
3017 2013-01-09 Jürgen Hötzel <juergen@archlinux.org>
3018
3019 * net/tramp.el (tramp-eshell-directory-change): Check remote-path
3020 first in session cache: When `tramp-own-remote-path' is in
3021 `tramp-remote-path', the remote path is only set in the session
3022 cache.
3023
3024 2013-01-09 Glenn Morris <rgm@gnu.org>
3025
3026 * emacs-lisp/trace.el (trace-function-foreground)
3027 (trace-function-background): Doc fix.
3028
3029 2013-01-09 Juri Linkov <juri@jurta.org>
3030
3031 * international/mule-cmds.el (read-char-by-name): Move let-binding
3032 of completion-ignore-case around completing-read to fix regression
3033 exhibited by the test case `C-x 8 RET *acc TAB' and caused by
3034 `string-match-p' using the nil value of `case-fold-search' and
3035 `completion-ignore-case' in `completion-pcm--all-completions'.
3036 (Bug#12615).
3037
3038 2013-01-09 Glenn Morris <rgm@gnu.org>
3039
3040 * progmodes/compile.el (compilation-parse-errors):
3041 Fix typo. (Bug#13369)
3042
3043 2013-01-09 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
3044
3045 * comint.el (comint-send-input): Check size of buffer before
3046 waiting for process output, in case already accepted. (Bug#13290)
3047
3048 2013-01-09 Paul Eggert <eggert@cs.ucla.edu>
3049
3050 Spelling fixes.
3051 * net/tramp-adb.el (tramp-adb-get-toolbox):
3052 Fix misspelling of 'unknown'.
3053
3054 2013-01-08 Juri Linkov <juri@jurta.org>
3055
3056 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
3057 * progmodes/flymake.el (flymake-errline, flymake-warnline):
3058 Use underline style wave on terminals that support it. (Bug#13000)
3059
3060 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
3061
3062 * emacs-lisp/pcase.el (pcase--split-equal): Also take advantage if
3063 the predicate returns nil.
3064
3065 * simple.el: Use lexical-binding.
3066 (primitive-undo): Use pcase.
3067 (minibuffer-history-isearch-push-state): Use a closure.
3068
3069 2013-01-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3070
3071 * simple.el (primitive-undo): Move from undo.c.
3072
3073 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
3074
3075 * vc/pcvs.el (cvs-cleanup-collection): Extend meaning of `rm-handled'.
3076 (cvs-mode-remove-handled): Use it (bug#13380).
3077
3078 * emacs-lisp/nadvice.el (advice--tweak): New function.
3079 (advice--remove-function, advice--subst-main): Use it.
3080
3081 * emacs-lisp/advice.el: Update commentary.
3082
3083 2013-01-08 Michael Albinus <michael.albinus@gmx.de>
3084
3085 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3086 Remove spurious entry.
3087
3088 2013-01-08 Glenn Morris <rgm@gnu.org>
3089
3090 * net/tramp.el (tramp-default-host-alist): Add :version.
3091
3092 2013-01-08 Juri Linkov <juri@jurta.org>
3093
3094 * info.el (Info-read-node-name-2): Don't duplicate suffixes for
3095 single completion. (Bug#12456)
3096 (info--manual-names): Expand node completions into an explicit list
3097 before appending it to another list. Filter out internal buffers
3098 with the leading space in the buffer name. (Bug#10771)
3099
3100 2013-01-08 Juri Linkov <juri@jurta.org>
3101
3102 * info.el (Info-read-node-name-1): Allow empty node name in (FILENAME)
3103 that defaults to the Top node.
3104 (Info-goto-node, Info-read-node-name): Doc fix to mention that
3105 the short format (FILENAME) goes to the Top node.
3106 (Info-build-node-completions): Rename arg `file' to `filename'.
3107 (Bug#13365)
3108
3109 2013-01-07 Bastien Guerry <bzg@gnu.org>
3110
3111 * menu-bar.el (menu-bar-search-documentation-menu):
3112 Use `apropos-user-option' and fix the help message.
3113
3114 2013-01-07 Bastien Guerry <bzg@gnu.org>
3115
3116 * apropos.el (apropos-do-all): Update docstring.
3117 (apropos-user-option-button): New face.
3118 (apropos-user-option): Rename from `apropos-variable' and update
3119 docstring.
3120 (apropos-variable): Rewrite, now show all variables by default.
3121 (apropos-print): Mention "User option" instead of "Variable" when
3122 printing doc for user options. (Bug#13276)
3123
3124 2013-01-07 Jürgen Hötzel <juergen@archlinux.org>
3125
3126 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
3127 Handle filename correctly, when parsing "source -> target" symlink
3128 output.
3129 (tramp-adb-handle-set-file-times): New defun.
3130
3131 2013-01-07 Stefan Monnier <monnier@iro.umontreal.ca>
3132
3133 * emacs-lisp/advice.el (ad-activate-advised-definition): Refresh the
3134 advice list when the interactive-spec of ad-Advice-* changes.
3135
3136 2013-01-07 Katsumi Yamaoka <yamaoka@jpl.org>
3137
3138 * wid-edit.el (widget-default-get): Work for inlined elements.
3139 (Bug#12670)
3140
3141 2013-01-07 Michael Albinus <michael.albinus@gmx.de>
3142
3143 * net/tramp.el (tramp-default-host-alist): New defcustom.
3144 (tramp-find-host): Use it.
3145 (tramp-eshell-directory-change): Move from tramp-sh.el. Add to
3146 `eshell-directory-change-hook'.
3147
3148 * net/tramp-adb.el (top): Add adb specific entry in
3149 `tramp-default-host-alist'.
3150 (tramp-adb-file-name-host): Remove function.
3151 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
3152 Use `tramp-file-name-host' instead of `tramp-adb-file-name-host'.
3153
3154 * net/tramp-sh.el: Move eshell integration code to tramp.el.
3155
3156 2013-01-06 Jürgen Hötzel <juergen@archlinux.org>
3157
3158 * net/tramp-adb.el (tramp-methods): Add `tramp-tmpdir' entry.
3159
3160 2013-01-06 Michael Albinus <michael.albinus@gmx.de>
3161
3162 * net/tramp-adb.el (tramp-adb-ls-toolbox-regexp): The file size can
3163 consist of more than one digit.
3164 (tramp-adb-file-name-handler-alist):
3165 Use `tramp-handle-file-exists-p' consistently.
3166 (tramp-adb-file-name-handler): Don't tweak `tramp-default-host'.
3167 (tramp-adb-handle-file-exists-p): Remove function.
3168 (tramp-adb-file-name-host): New defun.
3169 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
3170 Use it.
3171 (tramp-adb-maybe-open-connection): Set "remote-path" property.
3172
3173 2013-01-06 Chong Yidong <cyd@gnu.org>
3174
3175 * vc/vc.el (vc-next-action): Detect buffer modifications
3176 conflicting with locking VCS operation (Bug#11490).
3177
3178 * vc/vc-hooks.el (vc-after-save): DTRT for locking VCSes.
3179
3180 2013-01-05 Michael Albinus <michael.albinus@gmx.de>
3181
3182 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
3183 (tramp-adb-handle-directory-files-and-attributes): Fix typos.
3184
3185 2013-01-05 Jürgen Hötzel <juergen@archlinux.org>
3186
3187 * net/tramp-adb.el (tramp-adb-handle-file-attributes): More robust
3188 parsing of ls output using regular expression (handle filenames
3189 with spaces). Use virtual device number.
3190 (tramp-do-parse-file-attributes-with-ls): New defun (Code
3191 cleanup).
3192
3193 2013-01-04 Daiki Ueno <ueno@gnu.org>
3194
3195 * epg.el: Silence byte-compiler warnings.
3196 (epg--start): Use delete-char instead of delete-backward-char.
3197 (epg-wait-for-completion): Pass FRAME arg to redraw-frame.
3198
3199 2013-01-04 Daiki Ueno <ueno@gnu.org>
3200
3201 * epg.el (epg--start): Don't call "tty" program on W32 platforms.
3202 Suggested by Eli Zaretskii <eliz@gnu.org>.
3203
3204 2013-01-04 Michael Albinus <michael.albinus@gmx.de>
3205
3206 * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
3207 non-negative integers. Otherwise, the default values are used.
3208 (tramp-convert-file-attributes): Convert uid and gid to integers.
3209
3210 2013-01-04 Glenn Morris <rgm@gnu.org>
3211
3212 * term.el (term-handle-colors-array): Ensure face attributes
3213 are fully specified, not nil. (Bug#13337)
3214
3215 * term.el (term-default-fg-color, term-default-bg-color):
3216 Fix custom type.
3217
3218 * progmodes/etags.el (tags-compression-info-list): Doc fix.
3219 (tag-find-file-of-tag-noselect): Check auto-compression-mode
3220 rather than 'jka-compr being loaded. (Bug#13338)
3221
3222 2013-01-04 Wesley Dawson <whd@lavabit.com> (tiny change)
3223
3224 * icomplete.el (icomplete-completions):
3225 Honor icomplete-prospects-height once more following
3226 2012-11-29 changes. (Bug#13224)
3227
3228 2013-01-04 Stefan Monnier <monnier@iro.umontreal.ca>
3229
3230 * subr.el (internal--called-interactively-p--get-frame): Find aliases
3231 of called-interactively-p as well (bug#13237).
3232
3233 * view.el (view--enable, view--disable): Rename from view-mode-enable
3234 and view-mode-disable and assume it's called from view-mode.
3235 (view-mode-enable, view-mode-disable): Redefine as obsolete
3236 compatibility layer above view-mode.
3237 (view-mode-enter): Call `view-mode'.
3238
3239 * files.el (after-find-file): Call `view-mode'.
3240
3241 * doc-view.el (doc-view-scale-internally): New var.
3242 (doc-view-enlarge, doc-view-insert-image): Obey it.
3243
3244 2013-01-03 Daiki Ueno <ueno@gnu.org>
3245
3246 * epg.el (epg--start): Ignore errors when /dev/fd/0 does not
3247 exist. (Bug#13344)
3248
3249 2013-01-03 Glenn Morris <rgm@gnu.org>
3250
3251 * mail/rmail.el (rmail-set-header-1): Ignore case.
3252 Handle multi-line headers. (Bug#13330)
3253
3254 * progmodes/make-mode.el (makefile-fill-paragraph): Add doc.
3255 Handle paragraph starting at beginning of buffer.
3256
3257 * subr.el (eval-after-load): Don't purecopy the form, so that it
3258 can be nconc'd later on; reverts 2009-11-11 change. (Bug#13331)
3259
3260 * emacs-lisp/byte-run.el (defun): Place cl declarations
3261 after any interactive spec. (Bug#13265)
3262
3263 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
3264
3265 * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
3266 defun. Don't check for DECL if DOCSTRING isn't a string.
3267 (defun): Likewise.
3268
3269 2013-01-02 Glenn Morris <rgm@gnu.org>
3270
3271 * eshell/em-cmpl.el (eshell-pcomplete):
3272 More thoroughly imitate pcomplete. (Bug#13293)
3273
3274 * files.el (parse-colon-path): Doc fix. (Bug#12351)
3275 Return nil for empty path elements. (Bug#13296)
3276
3277 2013-01-02 Fabián Ezequiel Gallina <fgallina@cuca>
3278
3279 * progmodes/python.el (python-nav-end-of-statement): Rewrite in
3280 order to improve efficiency (Based on Daniel Colascione's
3281 <dancol@dancol.org> patch). (Bug#13182)
3282
3283 2013-01-02 Glenn Morris <rgm@gnu.org>
3284
3285 * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
3286
3287 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
3288
3289 * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
3290 neither DOCSTRING nor DECL was given. (Bug#13316)
3291
3292 2013-01-02 Michael Albinus <michael.albinus@gmx.de>
3293
3294 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Add argument to
3295 `error' call.
3296 (tramp-do-copy-or-rename-file): Ignore errors when calling
3297 `set-file-extended-attributes'.
3298
3299 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
3300 Add handler for `file-acl'.
3301 (tramp-smb-handle-file-acl): New defun.
3302
3303 2013-01-02 Jay Belanger <jay.p.belanger@gmail.com>
3304
3305 * calc/README: Mention ISO 8601 week-numbering dates.
3306
3307 2013-01-01 Martin Rudalics <rudalics@gmx.at>
3308
3309 * view.el (view-mode-enable): New argument run-view-mode-hook.
3310 Run view-mode-hook only when it's non-nil (Bug#13315).
3311 (view-mode-enter): Call view-mode-enable with run-view-mode-hook
3312 argument t.
3313
3314 2012-12-31 Jürgen Hötzel <juergen@archlinux.org>
3315
3316 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Handle errors
3317 (No device connected, invalid device name). (Bug #13299)
3318
3319 2012-12-31 Martin Rudalics <rudalics@gmx.at>
3320
3321 * window.el (window-resizable--p): Rename to window-resizable-p.
3322 (window-resize-no-error): New function.
3323
3324 * mail/rmail.el (rmail-maybe-display-summary): Restore behavior
3325 broken in fix from 2012-12-28.
3326
3327 2012-12-31 Stefan Monnier <monnier@iro.umontreal.ca>
3328
3329 * subr.el (special-form-p): Don't signal errors on undef aliases.
3330
3331 2012-12-31 Jay Belanger <jay.p.belanger@gmail.com>
3332
3333 * calc/calc-forms.el (math-parse-date): Try using
3334 `math-parse-iso-date' when it looks like it might be needed.
3335 Allow times of 24:00.
3336 (math-parse-date-validate, math-parse-iso-date-validate): Allow times
3337 of 24:00.
3338
3339 2012-12-30 Glenn Morris <rgm@gnu.org>
3340
3341 * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
3342 Remove unnecessary/buggy autoloads (missing interactive). (Bug#13294)
3343 (rmail-summary-displayed, rmail-summary): Declare.
3344 (mairix-rmail-display): Just require rmail.
3345
3346 2012-12-30 Chong Yidong <cyd@gnu.org>
3347
3348 * emacs-lisp/package.el (package-untar-buffer): Improve integrity
3349 check for the tarball contents.
3350
3351 2012-12-30 Matt Fidler <matt.fidler@alcon.com> (tiny change)
3352
3353 * emacs-lisp/package.el (package-untar-buffer): Handle problematic
3354 tarfile content listings (Bug#13136).
3355
3356 2012-12-30 Mark Lillibridge <mark.lillibridge@hp.com>
3357
3358 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
3359 Insert the undecoded text of the message being forwarded. (Bug#9521)
3360
3361 2012-12-30 Michael Albinus <michael.albinus@gmx.de>
3362
3363 * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
3364 integers, if they are real numbers. (Bug#13282)
3365
3366 * net/tramp-sh.el (tramp-sh-handle-set-file-selinux-context):
3367 Return `t' on success.
3368
3369 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
3370 Add handler for `set-file-selinux-context'.
3371
3372 2012-12-29 Michael Albinus <michael.albinus@gmx.de>
3373
3374 * net/tramp-sh.el (tramp-sh-handle-file-acl): Suppress basic attributes.
3375 (tramp-sh-handle-set-file-acl): Return `t' on success.
3376
3377 2012-12-29 Eli Zaretskii <eliz@gnu.org>
3378
3379 * files.el (backup-buffer-copy, basic-save-buffer-2):
3380 If set-file-extended-attributes fails, fall back on set-file-modes
3381 instead of signaling an error. (Bug#13298)
3382 (basic-save-buffer): Likewise.
3383
3384 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
3385
3386 * progmodes/python.el: Support other commands triggering
3387 python-indent-line so indentation cycling continues to work.
3388 (python-indent-trigger-commands): New defcustom.
3389 (python-indent-line): Use it.
3390
3391 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
3392
3393 * progmodes/python.el (python-shell-send-region): Add blank lines
3394 for non sent code so backtraces remain correct.
3395
3396 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
3397
3398 * progmodes/python.el: Remove cl dependency.
3399 (python-syntax-count-quotes): Replace incf call.
3400 (python-fill-string): Replace setf call.
3401
3402 2012-12-29 Damien Cassou <damien.cassou@gmail.com>
3403
3404 * info.el (info-other-window): New arg, for consistency with info.
3405
3406 2012-12-28 Martin Rudalics <rudalics@gmx.at>
3407
3408 * mail/rmail.el (rmail-maybe-display-summary):
3409 Rewrite (Bug#13066).
3410
3411 2012-12-28 Andreas Schwab <schwab@linux-m68k.org>
3412
3413 * epg.el (epg--start): Modify process-environment locally.
3414
3415 2012-12-28 Daiki Ueno <ueno@gnu.org>
3416
3417 * epg.el: Support pinentry-curses.
3418 Suggested by Werner Koch in
3419 <http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00755.html>.
3420 (epg-agent-file, epg-agent-mtime): New variable.
3421 (epg--start): Record the modified time of gpg-agent socket file,
3422 to restore Emacs frame after pinentry-curses termination.
3423 (epg-wait-for-completion): Restore Emacs frame here.
3424
3425 2012-12-27 Juri Linkov <juri@jurta.org>
3426
3427 * info.el (Info-file-completions): New variable.
3428 (Info-read-node-name-1): Complete node names in the Info file
3429 when a file name is given. Call `Info-build-node-completions'
3430 with a file name.
3431 (Info-build-node-completions): Add new arg `file'. When it is
3432 non-nil, visit it in a temporary buffer and cache its completions in
3433 `Info-current-file-completions'. Move most of the function body to
3434 `Info-build-node-completions-1'.
3435 (Info-build-node-completions-1): New function with the body from
3436 `Info-build-node-completions'. (Bug#12456)
3437
3438 2012-12-27 Juri Linkov <juri@jurta.org>
3439
3440 * frame.el (frame-maximization-style): Remove user option.
3441 (cycle-frame-maximized): Remove function.
3442 (toggle-frame-maximized): Rewrite and bind to M-<f10>.
3443 (toggle-frame-fullscreen): New command bound to <f11> instead of
3444 `toggle-frame-maximized'.
3445 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html
3446
3447 2012-12-27 Michael Albinus <michael.albinus@gmx.de>
3448
3449 * net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.
3450
3451 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3452 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3453 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
3454 for `file-accessible-directory-p'. (Bug#13275)
3455
3456 2012-12-27 Sam Steingold <sds@gnu.org>
3457
3458 * progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
3459 continuations, see <http://stackoverflow.com/questions/3582436>.
3460
3461 2012-12-27 Dmitry Gutov <dgutov@yandex.ru>
3462
3463 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
3464 "module" and "def" to have indentation before them.
3465 Regression from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).
3466
3467 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
3468
3469 2012-12-27 Alan Mackenzie <acm@muc.de>
3470
3471 Speed up fontification where there's large brace blocks.
3472 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
3473 to a call of c-beginning-of-decl-1.
3474
3475 2012-12-27 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
3476
3477 * comint.el (comint-adjust-window-point): New function.
3478 (comint-postoutput-scroll-to-bottom):
3479 Call comint-adjust-window-point (Bug#13248).
3480
3481 2012-12-26 Dmitry Gutov <dgutov@yandex.ru>
3482
3483 * progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
3484 Rakefile regexp.
3485 (auto-mode-alist): Associate .gemspec files with ruby-mode
3486 (https://bugs.ruby-lang.org/issues/5453).
3487
3488 2012-12-26 Jürgen Hötzel <juergen@archlinux.org>
3489
3490 * net/tramp-adb.el (tramp-adb-get-ls-command): New defun.
3491 Suppress coloring, if possible (required for BusyBox based systems like
3492 CyanogenMod).
3493 (tramp-adb-handle-file-attributes)
3494 (tramp-adb-handle-insert-directory)
3495 (tramp-adb-handle-file-name-all-completions): Use it.
3496 (tramp-adb-get-toolbox): New defun. Check for remote shell
3497 implementation (BusyBox or Toolbox).
3498
3499 2012-12-24 Constantin Kulikov <zxnotdead@gmail.com> (tiny change)
3500
3501 * startup.el (initial-buffer-choice): Allow function as value
3502 (Bug#13251).
3503 (command-line-1): Handle case where initial-buffer-choice
3504 specifies a function.
3505 * server.el (server-execute): Handle case where
3506 initial-buffer-choice specifies a function.
3507
3508 2012-12-24 Lars Ingebrigtsen <larsi@gnus.org>
3509
3510 * mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
3511 its own function.
3512 (smtpmail-try-auth-methods): Forget the user name/password if the
3513 login is unsuccessful (bug#12424).
3514
3515 2012-12-22 Michael Albinus <michael.albinus@gmx.de>
3516
3517 * notifications.el (notifications-notify): Protect body with
3518 `with-demoted-errors'.
3519
3520 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3521 Check properties of remote device. Restart connection, if there is a
3522 change.
3523
3524 2012-12-21 Chong Yidong <cyd@gnu.org>
3525
3526 * sort.el (sort-subr): Doc fix (Bug#13056).
3527
3528 2012-12-21 Bastien Guerry <bzg@gnu.org>
3529
3530 * progmodes/etags.el (tags-search): Fix typo. Bug #13232.
3531
3532 2012-12-21 Michael Albinus <michael.albinus@gmx.de>
3533
3534 * simple.el (process-file): Overwrite stderr file, if exists.
3535
3536 2012-12-21 Daiki Ueno <ueno@gnu.org>
3537
3538 * epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
3539 (epg-error): Set `error-message' property.
3540
3541 2012-12-21 Chong Yidong <cyd@gnu.org>
3542
3543 * international/mule-cmds.el (read-char-by-name): Signal an error
3544 if the user does not supply a valid character (Bug#13177).
3545
3546 * simple.el (transpose-subr-1): Preserve marker positions by
3547 changing the insertion sequence (Bug#13122).
3548
3549 2012-12-21 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
3550
3551 * simple.el (kill-region): Deactivate mark even for empty regions
3552 (Bug#13169).
3553
3554 2012-12-21 Chong Yidong <cyd@gnu.org>
3555
3556 * help-fns.el (describe-variable): Make sure we get the right
3557 buffer name (Bug#13105). Suggested by Kelly Dean.
3558
3559 2012-12-20 Michael R. Mauger <mmaug@yahoo.com>
3560
3561 * comint.el (comint-redirect-previous-input-string): New variable.
3562 (comint-redirect-setup, comint-redirect-cleanup)
3563 (comint-redirect-preoutput-filter): Use it. Fixes redirection bug.
3564 (comint-redirect-preoutput-filter): Fix verbose message.
3565
3566 2012-12-20 Michael Albinus <michael.albinus@gmx.de>
3567
3568 * progmodes/grep.el (rgrep): Escape command line. Sometimes, it
3569 is too long for Tramp. See discussion in
3570 <http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.
3571
3572 * progmodes/compile.el (compilation-start): Remove line escape
3573 template.
3574
3575 2012-12-20 Dmitry Antipov <dmantipov@yandex.ru>
3576
3577 * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
3578 Adjust comment.
3579
3580 2012-12-19 Jonas Bernoulli <jonas@bernoul.li>
3581
3582 * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
3583 following non-comment text (bug#13207).
3584 (lm-header-multiline): Continuation lines need to be indented more than
3585 the first line.
3586 (lm-homepage): New function.
3587 (lm-with-file): Don't be confused if narrowing is in effect.
3588
3589 2012-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
3590
3591 * vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
3592 very beginning of a hunk (e.g. killing the first line).
3593
3594 2012-12-19 Michael Albinus <michael.albinus@gmx.de>
3595
3596 * net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
3597 and text properties from returned ACL string.
3598 (tramp-sh-handle-set-file-acl): Do not use additional parentheses
3599 for "setfacl" command.
3600
3601 2012-12-18 Michael Albinus <michael.albinus@gmx.de>
3602
3603 * net/tramp.el (tramp-error-with-buffer): Give a hint to use
3604 `tramp-cleanup-this-connection', when the process has died.
3605 (Bug#13151)
3606
3607 2012-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
3608
3609 * icomplete.el (icomplete-completions): Also use … to truncate prefix.
3610
3611 2012-12-17 Kevin Ryde <user42@zip.com.au>
3612
3613 * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
3614
3615 2012-12-17 Michael Albinus <michael.albinus@gmx.de>
3616
3617 Add support for preserving ACL entries of files.
3618
3619 * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
3620 `set-file-acl' handlers.
3621
3622 * net/tramp-adb.el (tramp-adb-handle-copy-file):
3623 Handle PRESERVE-EXTENDED-ATTRIBUTES.
3624
3625 * net/tramp-compat.el (tramp-compat-copy-file):
3626 Handle PRESERVE-EXTENDED-ATTRIBUTES.
3627
3628 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3629 Add `file-acl' and `set-file-acl' handlers.
3630 (tramp-gvfs-handle-copy-file):
3631 Handle PRESERVE-EXTENDED-ATTRIBUTES.
3632 (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
3633 New defuns.
3634
3635 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3636 Add `file-acl' and `set-file-acl' handlers.
3637 (tramp-remote-acl-p, tramp-sh-handle-file-acl)
3638 (tramp-sh-handle-set-file-acl): New defuns.
3639 (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
3640 Handle PRESERVE-EXTENDED-ATTRIBUTES.
3641
3642 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
3643 Add `file-acl' and `set-file-acl' handlers.
3644 (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
3645
3646 2012-12-17 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
3647
3648 * help-macro.el (make-help-screen): Instead of switch-to-buffer
3649 use pop-to-buffer with NORECORD argument t. As buffer name, use
3650 *Metahelp* with a leading space (Bug#13190).
3651
3652 2012-12-16 Romain Francoise <romain@orebokech.com>
3653
3654 * files.el (file-extended-attributes)
3655 (set-file-extended-attributes): New functions.
3656 (backup-buffer): Use them to handle both SELinux context and ACL
3657 entries.
3658 (backup-buffer-copy): Work with an alist of extended attributes,
3659 rather than an SELinux context.
3660 (basic-save-buffer-2): Ditto.
3661
3662 2012-12-16 Timo Myyrä <timo.myyra@gmail.com>
3663
3664 * battery.el (battery-bsd-apm): New function.
3665
3666 2012-12-16 Jay Belanger <jay.p.belanger@gmail.com>
3667
3668 * calc/calc.el (calc-standard-date-formats): Adjust one of the
3669 standard date formats.
3670
3671 2012-12-15 Juri Linkov <juri@jurta.org>
3672
3673 * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
3674 `isearch-insert-char-by-name'.
3675 (with-isearch-suspended): New defmacro with body mostly from
3676 `isearch-edit-string' except the part that sets
3677 `isearch-new-string' and `isearch-new-message'.
3678 (isearch-edit-string): Use new macro `with-isearch-suspended' with
3679 body that sets `isearch-new-string' and `isearch-new-message'.
3680 (isearch-insert-char-by-name): New command.
3681 * international/mule-cmds.el (read-char-by-name): Let-bind
3682 `enable-recursive-minibuffers' to t.
3683 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
3684
3685 2012-12-15 Juri Linkov <juri@jurta.org>
3686
3687 * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
3688 (Bug#13175)
3689
3690 2012-12-15 Christopher Schmidt <christopher@ch.ristopher.com>
3691
3692 * dired-x.el (dired-guess-shell-command): Put colon at the end of
3693 the prompt. (Bug#13045)
3694
3695 2012-12-14 Glenn Morris <rgm@gnu.org>
3696
3697 * emacs-lisp/macroexp.el (macroexp--warn-and-return):
3698 Try to include filename in non-bytecomp warning. (Bug#13132)
3699
3700 2012-12-14 Paul Eggert <eggert@cs.ucla.edu>
3701
3702 Fix permissions bugs with setgid directories etc. (Bug#13125)
3703 * files.el (backup-buffer): Don't rely on 9th output of
3704 file-attributes, as it's now a placeholder. Instead, use the new
3705 optional arg of file-ownership-preserved-p.
3706 (file-ownership-preserved-p): New optional arg GROUP.
3707 Fix mishandling of setuid directories that would cause this
3708 function to return t when it should have returned nil.
3709 Document what happens if the file does not exist, and when
3710 it's not known whether the ownership will be preserved.
3711 * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
3712 Likewise.
3713 (tramp-get-local-gid): Use group-gid for integer, as that's
3714 faster and more reliable.
3715
3716 2012-12-14 Julien Danjou <julien@danjou.info>
3717
3718 * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
3719 Update keywords list, data type and PL/pgSQL.
3720
3721 2012-12-14 Dave Abrahams <dave@boostpro.com>
3722
3723 * vc/ediff-util.el (ediff-buffer-type): New function.
3724 (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
3725 rather than taking it as as argument.
3726 (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
3727
3728 2012-12-14 Ryan Crum <ryan.crum@eleostech.com>
3729
3730 * json.el: Add pretty-print option (bug#12634).
3731 (json-encoding-separator, json-encoding-default-indentation)
3732 (json--encoding-current-indentation, json-encoding-pretty-print)
3733 (json-encoding-lisp-style-closings): New vars.
3734 (json--with-indentation): New macro.
3735 (json-encode-hash-table, json-encode-alist, json-encode-plist)
3736 (json-encode-array): Use it to obey json-encoding-pretty-print.
3737 (json-pretty-print-buffer, json-pretty-print): New commands.
3738
3739 2012-12-14 Dmitry Gutov <dgutov@yandex.ru>
3740
3741 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
3742 Extract `ruby-syntax-propertize-expansions'.
3743 (ruby-syntax-propertize-expansions): Only change syntax on
3744 certain string delimiters, to punctuation. This way the common
3745 functions like forward-word and thing-at-point still work.
3746 (ruby-match-expression-expansion): Improve readability.
3747 (ruby-block-contains-point): New function.
3748 (ruby-add-log-current-method): Handle several edge cases.
3749
3750 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
3751
3752 * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
3753 unload-feature finishes even when aborting an ongoing edebug session.
3754 Also, do not worry about edebug-mode, unload-feature takes care of it.
3755
3756 2012-12-13 Andreas Schwab <schwab@suse.de>
3757
3758 * net/tls.el (tls-program): Update customize type.
3759
3760 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
3761
3762 * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
3763 (edebug-setup-hook, cl-read-load-hooks): Use it.
3764 (edebug-unload-function): New function. (Bug#13163)
3765
3766 2012-12-13 Michael Albinus <michael.albinus@gmx.de>
3767
3768 * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
3769 Otherwise, there could be errors in autoloading. (Bug#13151)
3770
3771 2012-12-13 Jürgen Hötzel <juergen@archlinux.org>
3772
3773 * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
3774 sequences.
3775
3776 2012-12-13 Alan Mackenzie <acm@muc.de>
3777
3778 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
3779 * progmodes/cc-engine.el (c-backward-comments): Add code to work
3780 around `forward-comment' not recognizing ^M as whitespace.
3781
3782 2012-12-13 Fabián Ezequiel Gallina <fgallina@cuca>
3783
3784 * progmodes/python.el (python-skeleton-class)
3785 (python-skeleton-def): Do not add space after defun name.
3786
3787 2012-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
3788
3789 * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
3790 (cl--symbol-function): Remove (now that funbound is like nil).
3791
3792 2012-12-12 Glenn Morris <rgm@gnu.org>
3793
3794 * button.el (button--area-button-p): Fix typo.
3795
3796 2012-12-12 Sam Steingold <sds@gnu.org>
3797
3798 * frame.el (frame-maximization-style): New user option.
3799 (toggle-frame-maximized): Toggle frame maximization according to
3800 `frame-maximization-style', bound to <f11>.
3801 (cycle-frame-maximized): Cycle between all maximization styles and
3802 non-maximized frame, bound to shift-<f11>.
3803
3804 2012-12-12 David Cadé <codename68@gmail.com>
3805
3806 * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
3807
3808 2012-12-12 Jonas Bernoulli <jonas@bernoul.li>
3809
3810 * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
3811 (eieio-override-prin1): Don't quote kewords and booleans.
3812 (object-write) <eieio-default-superclass>: Don't put closing parens
3813 on new line, avoid needless empty lines, align values that are objects
3814 with the slot keyword (instead of beginning on the same line).
3815 (eieio-list-prin1): Align value with slot keyword; increase
3816 eieio-print-depth before printing members of the list.
3817
3818 2012-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
3819
3820 * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
3821 a display text-property.
3822 (report-emacs-bug-hook): Don't bother deleting it any more.
3823
3824 * hilit-chg.el (highlight-save-buffer-state): Delete.
3825 Use with-silent-modifications instead.
3826 (hilit-chg-set-face-on-change): Only fixup the text that's modified.
3827
3828 * button.el: Handle buttons in display text-properties.
3829 (button--area-button-p, button--area-button-string):
3830 Use (STRING . STRING-POS) representation instead of just STRING.
3831
3832 2012-12-11 Eli Zaretskii <eliz@gnu.org>
3833
3834 * makefile.w32-in (compile4-SH): Fix a typo that caused term
3835 subdirectory be skipped.
3836
3837 2012-12-11 Glenn Morris <rgm@gnu.org>
3838
3839 * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
3840
3841 * progmodes/f90.el (f90-line-continued, f90-indent-region):
3842 Treat preprocessor lines embedded in continuations like comments.
3843 (f90-indent-line): Special-case preprocessor lines. (Bug#13138)
3844
3845 2012-12-11 Jay Belanger <jay.p.belanger@gmail.com>
3846
3847 * calc/calc.el (calc-standard-date-formats): Add more date
3848 formats.
3849 * calc/calc-forms.el (math-parse-iso-date): New function.
3850 (math-parse-date): Use `math-parse-iso-date' when appropriate.
3851 (math-parse-iso-date-validate): Add extra error checking.
3852 (calc-date-notation): Add ability to access new date formats.
3853
3854 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
3855
3856 * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
3857 font-lock as well as when there's no text-property.
3858
3859 2012-12-10 Jambunathan K <kjambunathan@gmail.com>
3860
3861 * hi-lock.el: Refine the choice of default face.
3862 (hi-lock-keyword->face): New function. Use it wherever we used
3863 cadadadr instead.
3864 (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
3865 (hi-lock--last-face): Remove var.
3866 (hi-lock--unused-faces): New var to replace it.
3867 (hi-lock-read-face-name): Use/maintain it.
3868 (hi-lock-unface-buffer): Maintain it. Fix error for the C-u case.
3869 (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
3870 if it has another face.
3871
3872 2012-12-10 Eli Zaretskii <eliz@gnu.org>
3873
3874 * subr.el (w32notify-handle-event): New function.
3875 (inotify-handle-event): Doc fix.
3876
3877 2012-12-10 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3878
3879 * subr.el (inotify-event-p, inotify-handle-event): New functions.
3880
3881 2012-12-10 Dani Moncayo <dmoncayo@gmail.com>
3882
3883 * simple.el (just-one-space): Doc fix.
3884
3885 2012-12-10 Eli Zaretskii <eliz@gnu.org>
3886
3887 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
3888
3889 2012-12-10 Le Wang <l26wang@gmail.com>
3890
3891 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
3892 narrowed buffer (bug#12361).
3893
3894 2012-12-10 Juanma Barranquero <lekktu@gmail.com>
3895
3896 * vc/vc-hooks.el (vc-state): Doc fix.
3897
3898 2012-12-10 Glenn Morris <rgm@gnu.org>
3899
3900 * mail/rmail.el (rmail-maybe-display-summary):
3901 Preserve buffer, in case select-window changes it. (Bug#13066)
3902
3903 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
3904
3905 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
3906 cl-load-hook where they belong.
3907
3908 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
3909
3910 * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
3911
3912 2012-12-09 Eli Zaretskii <eliz@gnu.org>
3913
3914 Parallelize byte compilation on MS-Windows.
3915 * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
3916 (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
3917 (WINS_BASIC): Define as concatenation of the above.
3918 (compile): Subdivide into 4 separate and independent jobs that can
3919 be run in parallel.
3920 (compile0-CMD, compile0-SH): New targets for compiling
3921 COMPILE_FIRST files, which are prerequisites for the rest of the
3922 byte-compilation.
3923 (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
3924 New targets for parallel compilation with cmd.exe.
3925 (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
3926 compiling under a Unixy shell.
3927
3928 2012-12-09 Chong Yidong <cyd@gnu.org>
3929
3930 * simple.el (set-mark-default-inactive): Delete this
3931 accidentally-introduced option.
3932 (set-mark-command, exchange-point-and-mark): Remove calls.
3933
3934 2012-12-09 Glenn Morris <rgm@gnu.org>
3935
3936 * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
3937 Respect a defcustom's :set function, if appropriate. (Bug#109)
3938 (eval-defun): Doc fix.
3939
3940 2012-12-08 Juri Linkov <juri@jurta.org>
3941
3942 * info.el (Info-copy-current-node-name, Info-breadcrumbs)
3943 (Info-fontify-node, Info-bookmark-make-record): Remove the
3944 file extension from Info-current-file (Bug#13016).
3945
3946 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
3947
3948 * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
3949 point, still provide some default.
3950 (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
3951 names, since we don't use it right now. Actually return the list.
3952 (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
3953
3954 2012-12-07 Chong Yidong <cyd@gnu.org>
3955
3956 * novice.el (disabled-command-function): Remove a spurious help
3957 xref (Bug#13043). Suggested by Kelly Dean.
3958
3959 * subr.el (text-clone-maintain): Fix clone overlay deletion when a
3960 syntax is specified (Bug#13025).
3961
3962 * info.el (Info-set-mode-line): Remove the file extension from
3963 Info-current-file if there is one (Bug#13016).
3964
3965 2012-12-07 Glenn Morris <rgm@gnu.org>
3966
3967 * mail/rmail.el (rmail-mime-decoded): New permanent local.
3968 (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
3969 * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
3970 and rmail-mime-decoded. (Bug#9841)
3971
3972 * mail/unrmail.el (unrmail-mbox-format): New option. (Bug#6574)
3973 (batch-unrmail, unrmail): Doc fixes.
3974 (unrmail): Respect unrmail-mbox-format.
3975 * mail/rmail.el (rmail-mbox-format): New option.
3976 (rmail-show-message-1): Respect rmail-mbox-format.
3977
3978 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
3979
3980 * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
3981
3982 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3983
3984 Further cleanup of the "cl-" namespace. Fit CL in 80 columns.
3985 * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
3986 (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
3987 (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
3988 (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
3989 (cl-progv): Don't rely on dynamic scoping to find the body.
3990 * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
3991 (cl--proclaims-deferred): Rename from the "cl-" prefix.
3992 (cl-declaim): Use backquotes.
3993 * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
3994 Use "cl--" prefix for the object's tag.
3995
3996 * ses.el: Use advice-add/remove.
3997 (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
3998 (copy-region-as-kill, yank): Use advice-add.
3999 (ses-unload-function): Use advice-remove.
4000
4001 2012-12-06 Jonas Bernoulli <jonas@bernoul.li>
4002
4003 * button.el: Make them work in header-lines (bug#12817).
4004 (button-map): Add bindings for header-line and mode-line use.
4005 (button-get, button-put, button-label): `button' may now be a string.
4006 (button-activate): Don't make it a defsubst.
4007 (button--area-button-p, button--area-button-string): New functions.
4008 (make-text-button): Fix the return value when `beg' was a string.
4009 (push-button): Handle the mode-line case.
4010
4011 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
4012
4013 * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
4014 (sql-signum): Remove. Use `cl-signum' instead.
4015 (sql-read-passwd): Remove; use read-passwd instread.
4016 (sql-get-login-ext): Use read-string.
4017 (sql-get-login): Use dolist and pcase.
4018 (sql--completion-table): Rename from sql-try-completion.
4019 Use complete-with-action.
4020 (sql-mode): Don't change abbrev-all-caps globally.
4021 (sql-connect): Don't rely on dynamic scoping for `new-name'.
4022 (sql-postgres-completion-object): Initialize vars in their `let'.
4023 (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
4024 (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
4025 (sql-comint-interbase): Use a single append, without setq.
4026 (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
4027
4028 * hi-lock.el: Rework the default face and the serialize regexp code.
4029 (hi-lock--auto-select-face-defaults): Remove.
4030 (hi-lock-string-serialize-serial): Remove.
4031 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
4032 make weak.
4033 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
4034 equal string.
4035 (hi-lock-set-pattern): Adjust accordingly.
4036 (hi-lock--regexps-at-point): Simplify accordingly.
4037 (hi-lock--auto-select-face-defaults): Remove.
4038 (hi-lock--last-face): New var to replace it.
4039 (hi-lock-read-face-name): Rewrite (bug#11095).
4040 (hi-lock-unface-buffer): Arrange for the face to be the next default.
4041
4042 2012-12-06 Michael Albinus <michael.albinus@gmx.de>
4043
4044 * net/tramp.el (tramp-replace-environment-variables):
4045 Hide compiler warning.
4046 (tramp-file-name-for-operation): Remove `executable-find',
4047 `start-process', `call-process' and `call-process-region'.
4048
4049 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
4050
4051 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
4052 compatibility.
4053
4054 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
4055
4056 2012-12-06 Chong Yidong <cyd@gnu.org>
4057
4058 * ffap.el (ffap-replace-file-component): Fix typo.
4059
4060 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
4061
4062 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
4063 fix open-paren-like token test (bug#12785).
4064
4065 2012-12-06 Glenn Morris <rgm@gnu.org>
4066
4067 * mail/rmailsum.el (rmail-new-summary): Tweak for
4068 rmail-maybe-display-summary changing buffer. (Bug#13066)
4069
4070 2012-12-06 Juri Linkov <juri@jurta.org>
4071
4072 * info.el (Info-fontify-node): Don't hide the last newline.
4073 (Bug#12272)
4074
4075 2012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
4076
4077 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
4078 so as to enable message-read-from-minibuffer to expand mail aliases.
4079
4080 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
4081
4082 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
4083 the `intangible' property.
4084 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
4085
4086 2012-12-05 Deniz Dogan <deniz@dogan.se>
4087
4088 * net/rcirc.el (rcirc-urls): Update documentation.
4089 (rcirc-condition-filter): New function.
4090 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
4091 and exclude consecutive duplicate URLs (Bug#6082).
4092
4093 2012-12-05 Michael Albinus <michael.albinus@gmx.de>
4094
4095 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
4096 Check return code of copy command.
4097
4098 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
4099 Use group `tramp'. Add version.
4100
4101 2012-12-05 Chong Yidong <cyd@gnu.org>
4102
4103 * ffap.el (ffap-url-regexp): Don't require matching at front of
4104 string (Bug#4952).
4105 (ffap-url-p): If only a substring matches, return that.
4106 (ffap-url-at-point): Use the return value of ffap-url-p.
4107 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
4108 (find-file-at-point, dired-at-point, dired-at-point-prompter)
4109 (ffap-guess-file-name-at-point): Likewise.
4110 (ffap-replace-file-component): Fix typo.
4111
4112 * info.el (info-display-manual): Add existing Info buffers, whose
4113 files may not be in Info-directory-list, to the completion.
4114 (info--manual-names): New helper function.
4115
4116 2012-12-05 Glenn Morris <rgm@gnu.org>
4117
4118 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
4119 New functions, for detecting and resolving conflicts. (Bug#10709)
4120
4121 2012-12-04 Jambunathan K <kjambunathan@gmail.com>
4122
4123 * hi-lock.el (hi-lock-auto-select-face): New user variable.
4124 (hi-lock-auto-select-face-defaults): New buffer local variable.
4125 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
4126 (hi-lock-unface-buffer): Prompt user with useful defaults.
4127 With prefix arg, unhighlight all hi-lock patterns in buffer.
4128
4129 2012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
4130
4131 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
4132
4133 2012-12-04 Michael Albinus <michael.albinus@gmx.de>
4134
4135 * Makefile.in (TRAMP_SRC):
4136 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
4137
4138 2012-12-04 Juergen Hoetzel <juergen@archlinux.org>
4139
4140 * net/tramp-adb.el: New package.
4141
4142 2012-12-04 Chong Yidong <cyd@gnu.org>
4143
4144 * terminal.el: Move to obsolete/.
4145
4146 * longlines.el: Move to obsolete/.
4147
4148 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
4149 Remove code referring to longlines mode.
4150
4151 2012-12-03 Juri Linkov <juri@jurta.org>
4152
4153 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
4154
4155 2012-12-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4156
4157 * textmodes/ispell.el (ispell-init-process)
4158 (ispell-start-process, ispell-internal-change-dictionary):
4159 Make sure personal dictionary name is expanded after initial
4160 `default-directory' value. Use expanded strings for
4161 keep/restart checks and for value (Bug#13019).
4162
4163 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
4164
4165 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
4166
4167 2012-12-03 Leo Liu <sdl.web@gmail.com>
4168
4169 * files.el (dir-locals-read-from-file): Check file non-empty
4170 before reading. (Bug#13038)
4171
4172 2012-12-03 Glenn Morris <rgm@gnu.org>
4173
4174 * jka-cmpr-hook.el (jka-compr-get-compression-info):
4175 Remove any version extension before checking filename. (Bug#13006)
4176 (jka-compr-compression-info-list): Belated :version bump.
4177
4178 2012-12-03 Chong Yidong <cyd@gnu.org>
4179
4180 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
4181
4182 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
4183 (buffer-menu): Doc fix (Bug#12294).
4184
4185 2012-12-03 Roland Winkler <winkler@gnu.org>
4186
4187 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
4188 of diary-show-all-entries in the diary buffer (Bug#12994).
4189
4190 2012-12-03 Michael Albinus <michael.albinus@gmx.de>
4191
4192 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
4193 "<STDIN>". This is binary safe.
4194
4195 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
4196
4197 * calc/calc-forms.el (math-absolute-from-iso-dt)
4198 (math-date-to-iso-dt, math-parse-iso-date-validate)
4199 (math-iso-dt-to-date): New functions.
4200 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
4201 (math-fd-isoweekday): New variables.
4202 (calc-date-notation, math-parse-standard-date, math-format-date)
4203 (math-format-date-part): Add support for more formatting codes.
4204
4205 2012-12-02 Dmitry Gutov <dgutov@yandex.ru>
4206
4207 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
4208 current buffer's file name when called interactively (Bug#12488).
4209
4210 2012-12-02 Juri Linkov <juri@jurta.org>
4211
4212 * info.el (info-display-manual): Don't clobber an existing Info
4213 buffer (Bug#10770). Add completion (Bug#10771).
4214
4215 2012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
4216
4217 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
4218 before using it for comparison (Bug#5297).
4219
4220 2012-12-01 Jari Aalto <jari.aalto@cante.net>
4221
4222 * textmodes/css-mode.el (css-current-defun-name): New function.
4223 (css-mode): Use it.
4224
4225 * textmodes/sgml-mode.el (html-current-defun-name): New function.
4226 (html-mode): Use it.
4227
4228 2012-12-01 Chong Yidong <cyd@gnu.org>
4229
4230 Modularize add-log-current-defun (Bug#2224).
4231 Suggested by Jari Aalto.
4232
4233 * vc/add-log.el (add-log-current-defun-function): Doc fix.
4234 (add-log-current-defun): Move mode-specific code to other files.
4235 (add-log-lisp-like-modes, add-log-c-like-modes)
4236 (add-log-tex-like-modes): Variables deleted.
4237
4238 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
4239 (lisp-mode-variables): Use it.
4240
4241 * progmodes/cc-mode.el (c-common-init):
4242 * progmodes/cperl-mode.el (cperl-mode): Set a value for
4243 add-log-current-defun-function.
4244
4245 * progmodes/m4-mode.el (m4-current-defun-name): New function.
4246 (m4-mode): Use it.
4247
4248 * progmodes/perl-mode.el (perl-current-defun-name): New.
4249 (perl-mode): Use it.
4250
4251 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
4252 Use lisp-current-defun-name.
4253
4254 * textmodes/tex-mode.el (tex-current-defun-name): New.
4255 (tex-common-initialization): Use it.
4256
4257 * textmodes/texinfo.el (texinfo-current-defun-name): New.
4258 (texinfo-mode): Use it.
4259
4260 2012-12-01 Chong Yidong <cyd@gnu.org>
4261
4262 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
4263 * progmodes/autoconf.el (autoconf-mode):
4264 * progmodes/js.el (js-mode):
4265 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
4266 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
4267 * progmodes/perl-mode.el (perl-mode):
4268 * progmodes/sh-script.el (sh-mode, sh-set-shell):
4269 * textmodes/css-mode.el (css-mode):
4270 * textmodes/sgml-mode.el (html-mode, sgml-mode)
4271 (sgml-tags-invisible, sgml-guess-indent):
4272 * textmodes/tex-mode.el (tex-common-initialization)
4273 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
4274 (doctex-mode, plain-tex-mode, latex-mode):
4275 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
4276
4277 2012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
4278
4279 * vc/vc-hg.el (vc-hg-next-revision):
4280 Ensure use of default "tip" output format. (Bug#6968)
4281
4282 2012-12-01 Kim F. Storm <storm@cua.dk>
4283
4284 * startup.el (fancy-startup-tail): Add a clickable link
4285 (Bug#2176).
4286
4287 2012-12-01 Chong Yidong <cyd@gnu.org>
4288
4289 * startup.el (fancy-startup-tail): Improve the message about
4290 auto-save files (Bug#2176).
4291
4292 * files.el (recover-session): Improve the descriptive message, and
4293 use substitute-command-keys.
4294
4295 2012-12-01 Glenn Morris <rgm@gnu.org>
4296
4297 * ido.el (ido-file-internal):
4298 Handle other-window, other-frame for dired. (Bug#13036)
4299
4300 2012-11-30 Glenn Morris <rgm@gnu.org>
4301
4302 * icomplete.el (icomplete-separator): Fix :version.
4303
4304 2012-11-30 Chong Yidong <cyd@gnu.org>
4305
4306 * shell.el (shell): For C-u M-x shell, use an inactive shell
4307 buffer as the default (Bug#1975).
4308 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
4309 (shell-mode): Use them to reapply ansi colorization if Shell mode
4310 is re-enabled.
4311
4312 2012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
4313
4314 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
4315
4316 2012-11-30 Samuel Bronson <naesten@gmail.com>
4317
4318 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
4319 flag to xargs, for compatibility with BSD xargs (Bug#11703).
4320
4321 2012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
4322
4323 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
4324 by move-to-column (Bug#3234).
4325
4326 2012-11-30 Chong Yidong <cyd@gnu.org>
4327
4328 * longlines.el (longlines-wrap-line, longlines-encode-region):
4329 Preserve text properties (Bug#1425).
4330
4331 2012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
4332
4333 * vc/vc.el (vc-register): Allow registering a file which is
4334 already registered with a different backend (Bug#10589).
4335
4336 2012-11-29 Jambunathan K <kjambunathan@gmail.com>
4337 Stefan Monnier <monnier@iro.umontreal.ca>
4338
4339 * icomplete.el: Change separator; add ido-style commands.
4340 (icomplete-show-key-bindings): Remove custom var.
4341 (icomplete-get-keys): Remove function.
4342 (icomplete-forward-completions, icomplete-backward-completions):
4343 New commands.
4344 (icomplete-minibuffer-map): New var.
4345 (icomplete-minibuffer-setup): Use it.
4346 (icomplete-exhibit): Don't delay if the list of completions is known.
4347 (icomplete-separator): New custom.
4348 (icomplete-completions): Use it.
4349 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
4350 (minibuffer-force-complete-and-exit): New command.
4351 (minibuffer--complete-and-exit): New function extracted from
4352 minibuffer-complete-and-exit.
4353 (minibuffer-complete-and-exit): Use it.
4354
4355 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
4356 error message when the file doesn't exist (bug#12974).
4357
4358 2012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
4359
4360 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
4361
4362 2012-11-29 Glenn Morris <rgm@gnu.org>
4363
4364 * files.el (hack-dir-local-variables): Warn if try to set
4365 coding via dir-locals, since it doesn't work. (Bug#7169)
4366
4367 Add desktop support for restoring vc-dir buffers. (Bug#10606)
4368 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
4369 Set buffer-local value of desktop-save-buffer.
4370 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
4371 New functions.
4372 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
4373 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
4374
4375 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
4376 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
4377 Doc fix.
4378 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
4379 Doc fixes.
4380
4381 2012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
4382
4383 * calc/calc-forms.el (calc-date-notation): Fix regexp
4384 used to find time codes. Fix symbol for seconds.
4385
4386 2012-11-27 Glenn Morris <rgm@gnu.org>
4387
4388 * emacs-lisp/derived.el (derived-mode-make-docstring):
4389 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
4390
4391 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
4392
4393 * textmodes/table.el (table-insert): Don't use `symbol-name' on
4394 lexically scoped variables (bug#13005).
4395
4396 2012-11-27 Glenn Morris <rgm@gnu.org>
4397
4398 * vc/vc-hooks.el (vc-mistrust-permissions):
4399 Default to t, to avoid data-loss. (Bug#11490)
4400
4401 2012-11-27 Fabián Ezequiel Gallina <fgallina@cuca>
4402
4403 * progmodes/python.el (python-indent-guess-indent-offset):
4404 If indentation is guessed make python-indent-offset buffer-local.
4405
4406 Fix Imenu regression.
4407 * progmodes/python.el (python-nav-beginning-of-defun):
4408 Fix forward movement when statement(s) separates point from defun.
4409 (python-imenu-prev-index-position): New function.
4410
4411 2012-11-27 Eli Zaretskii <eliz@gnu.org>
4412
4413 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
4414
4415 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
4416 Don't set buffer-file-type. Return nil. (Bug#12989)
4417
4418 2012-11-27 Glenn Morris <rgm@gnu.org>
4419
4420 * hippie-exp.el (hippie-expand-try-functions-list):
4421 Re-autoload it. (Bug#12982)
4422
4423 2012-11-27 Eli Zaretskii <eliz@gnu.org>
4424
4425 * descr-text.el (describe-char-padded-string):
4426 Call internal-char-font only on GUI frames. (Bug#11964)
4427
4428 2012-11-27 Andreas Schwab <schwab@linux-m68k.org>
4429
4430 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
4431 and obsoletion message.
4432
4433 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
4434
4435 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
4436 the constructs to keep outside of the `cl-block' (bug#12977).
4437
4438 2012-11-27 Chong Yidong <cyd@gnu.org>
4439
4440 * mouse.el (mouse-drag-line): Even if the line is not draggable,
4441 keep reading until we get the up-event anyway, in order to process
4442 the up-event for mouse-1-click-follows-link (Bug#12971).
4443
4444 2012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
4445
4446 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
4447 base function is not yet defined (bug#12965).
4448 (ad-activate-advised-definition): Use ad-compile-function.
4449 (ad-activate): Use cond.
4450
4451 2012-11-25 Leo Liu <sdl.web@gmail.com>
4452
4453 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
4454 (Bug#12979)
4455
4456 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
4457
4458 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
4459 reftex-section-info-function in order to be compatible with
4460 Texinfo integration.
4461
4462 * textmodes/reftex.el (reftex-section-pre-regexp)
4463 (reftex-section-post-regexp, reftex-section-info-function):
4464 New variable.
4465 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
4466 reftex-section-post-regexp, and reftex-section-info-function in order
4467 to be compatible with Texinfo integration.
4468
4469 * textmodes/reftex-toc.el (reftex-toc-promote-action):
4470 use reftex-section-pre-regexp variable in order to be compatible with
4471 Texinfo integration.
4472
4473 2012-11-25 Chong Yidong <cyd@gnu.org>
4474
4475 * faces.el: Make face-spec-set more analogous to setq.
4476 (face-spec-set): Change the third arg to specify whether this
4477 function is being called via defface, customize, or a third party.
4478 Set the appropriate symbol properties. Clear the override spec if
4479 setting via Custom. Initialize face if necessary. (Bug#4988)
4480 (face-spec-recalc): Allow theme faces to completely replace the
4481 defface spec, in the same way as custom faces (Bug#8454).
4482
4483 * cus-face.el (custom-declare-face): Move face initialization to
4484 face-spec-set.
4485 (custom-theme-set-faces): Don't initialize the face name here, as
4486 that is now done in face-spec-set.
4487
4488 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
4489 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
4490 Simplify by using the new arg to face-spec-set.
4491
4492 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
4493 reset face-override-spec too, and use custom-declare-face.
4494
4495 2012-11-24 Jan Djärv <jan.h.d@swipnet.se>
4496
4497 * term/ns-win.el (ns-initialize-window-system): Move creation of
4498 fontsets here (Bug#11964).
4499
4500 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
4501
4502 * ses.el (ses-rename-cell): Correct bug on mode-line update after
4503 cell renaming.
4504
4505 2012-11-24 Chong Yidong <cyd@gnu.org>
4506
4507 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
4508 obsolete.
4509
4510 * custom.el (custom-theme-set-variables): Use a topological sort
4511 for ordering by custom dependencies (Bug#12952).
4512 (custom--sort-vars, custom--sort-vars-1): New functions.
4513
4514 2012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
4515
4516 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
4517 lexical-binding (bug#12938).
4518
4519 2012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
4520
4521 * image-mode.el (image-transform-check-size): Use assertions only
4522 for images of type imagemagick.
4523
4524 Otherwise no error, image-transform-fit-to-{width,height} is
4525 silently ignored, as before. Doc fix.
4526
4527 2012-11-24 Chong Yidong <cyd@gnu.org>
4528
4529 * faces.el (color-defined-p): Doc fix (Bug#12853).
4530
4531 2012-11-24 Juri Linkov <juri@jurta.org>
4532
4533 * dired.el (dired-mark): Add optional arg `interactive'.
4534 Check for `use-region-p' if `interactive' is non-nil.
4535 (dired-unmark, dired-flag-file-deletion): Add optional arg
4536 `interactive'. Call `dired-mark' with the arg `interactive'.
4537 (Bug#10624)
4538
4539 * wdired.el: Revert 2012-10-17 change partly and replace it with
4540 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
4541 (wdired-finish-edit): Add marks for new file names to
4542 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
4543 after `revert-buffer'.
4544 (wdired-do-renames): Remove calls to `dired-remove-file',
4545 `dired-add-file', `dired-add-entry'. (Bug#11795)
4546
4547 2012-11-24 Alan Mackenzie <acm@muc.de>
4548
4549 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
4550
4551 Fix bugs in the state cache. Enhance a debugging mechanism.
4552 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
4553 "brace at column zero" strategy for C++.
4554 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
4555 (c-parse-state-point): New variable.
4556 (c-record-parse-state-state): Record old parse state with
4557 `copy-tree'. Record previous value of point.
4558 (c-debug-parse-state-double-cons): New debugging function.
4559 (c-debug-parse-state): Call the above new function.
4560 (c-toggle-parse-state-debug): Output a confirmatory message.
4561
4562 * progmodes/cc-mode.el (c-before-change, c-after-change):
4563 Call c-invalidate-state-cache from `c-before-change' instead of
4564 `c-after-change'.
4565
4566 2012-11-23 Chong Yidong <cyd@gnu.org>
4567
4568 * find-cmd.el (find-constituents): Add executable, ipath,
4569 readable, samefile, writable, daystart, regextype (Bug#12856).
4570
4571 2012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
4572
4573 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
4574
4575 2012-11-22 Paul Eggert <eggert@cs.ucla.edu>
4576
4577 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
4578 definition. This fixes a bootstrap failure.
4579 (calc-gregorian-switch): In menu, put dates before regions.
4580 This is easier to follow, lines up better in the menu, and lets us
4581 coalesce regions that switch at the same time. Give country
4582 names, not "Vatican", as that's better for non-expert users.
4583 Use names that are stable between the date of switch and now, e.g.,
4584 Bohemia and Moravia (which existed then and now) and not
4585 Czechoslovakia (which didn't exist then and doesn't exist now).
4586 What is now the U.S. mostly did not switch at the same time as
4587 Britain, so omit the U.S. Correct spelling of "Britain".
4588 Catholic Switzerland was too much of a mess, so omit it.
4589
4590 2012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
4591
4592 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
4593 after the variable is changed.
4594
4595 2012-11-21 Daniel Colascione <dancol@dancol.org>
4596
4597 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
4598 in SQL declarations for font-lock.
4599 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
4600
4601 2012-11-21 Glenn Morris <rgm@gnu.org>
4602
4603 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
4604 (face-italic-p): Add optional argument "inherit".
4605
4606 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
4607 Remove -p suffix from names, for consistency with other set-face-*.
4608 (set-face-inverse-video): Fix interactive spec.
4609 * play/gamegrid.el (gamegrid-make-mono-tty-face):
4610 * textmodes/table.el (table--update-cell-face):
4611 Use set-face-inverse-video rather than now obsolete alias.
4612
4613 2012-11-21 Eli Zaretskii <eliz@gnu.org>
4614
4615 * simple.el (line-move): Don't call line-move-partial if
4616 scroll-conservatively is in effect. (Bug#12927)
4617
4618 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4619
4620 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
4621 Fallback on completion-at-point rather than
4622 pcomplete-expand-and-complete, and only if pcomplete actually failed.
4623 (eshell-cmpl-initialize): Setup completion-at-point.
4624
4625 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
4626
4627 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
4628
4629 2012-11-21 Michael Albinus <michael.albinus@gmx.de>
4630
4631 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
4632 are remote, check out-of-band property for both.
4633
4634 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4635
4636 * window.el (switch-to-buffer): Re-add the warning that was lost in the
4637 code rewrite.
4638
4639 2012-11-21 Paul Eggert <eggert@cs.ucla.edu>
4640
4641 More minor time fixes.
4642 * calendar/time-date.el: Commentary fix.
4643 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
4644 too much other code depends on (0 0) time stamps.
4645 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
4646 Add a couple of FIXME comments.
4647
4648 Minor cleanup for times as lists of four integers.
4649 * files.el (dir-locals-directory-cache):
4650 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
4651 Doc fixes.
4652 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
4653 * ps-bdf.el (bdf-file-newer-than-time):
4654 Process four-integers time stamps, not two. Doc fixes.
4655
4656 2012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
4657
4658 * uniquify.el (uniquify-managed): Use defvar-local.
4659 (rename-buffer, create-file-buffer): Advise with advice-add.
4660 (uniquify-unload-function): Unadvise accordingly.
4661
4662 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
4663 (trace-buffer): Don't purecopy.
4664 (trace-entry-message, trace-exit-message): Add `context' arg.
4665 (trace--timer): New var.
4666 (trace-make-advice): Adjust for use in nadvice.
4667 Add `context' argument. Delay `display-buffer' via a timer.
4668 (trace-function-internal): Use advice-add.
4669 (trace--read-args): New function.
4670 (trace-function-foreground, trace-function-background): Use it.
4671 (trace-function): Rename to trace-function-foreground and redefine as
4672 an alias to that new name.
4673 (untrace-function, untrace-all): Adjust to the use of nadvice.
4674
4675 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
4676
4677 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
4678
4679 * subr.el (called-interactively-p-functions): New var.
4680 (internal--called-interactively-p--get-frame): New macro.
4681 (called-interactively-p, interactive-p): Rewrite in Lisp.
4682 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
4683 (called-interactively-p-functions): Use it.
4684 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
4685 (called-interactively-p-functions): Use it.
4686 * allout.el (allout-called-interactively-p): Don't assume
4687 called-interactively-p is a subr.
4688
4689 2012-11-20 Glenn Morris <rgm@gnu.org>
4690
4691 * profiler.el (profiler-report-mode-map): Add a menu.
4692 No need to bind `q' because we derive from special-mode.
4693 (profiler-report-find-entry): Handle calls from the menu-bar.
4694
4695 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
4696
4697 * emacs-lisp/byte-run.el (defun-declarations-alist):
4698 Allow a compiler-macro to be a lambda expression.
4699
4700 * progmodes/python.el: Use cl-lib. Move var declarations outside of
4701 eval-when-compile.
4702 (python-syntax-context): Add compiler-macro.
4703 (python-font-lock-keywords): Simplify with De Morgan.
4704
4705 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
4706
4707 * files.el (load-file): Require match in minibuffer selection, as was
4708 the case in Emacs-20 before we changed the spec to allow .elc files
4709 (bug#12935).
4710
4711 * json.el: Don't require cl since we don't use it.
4712 * color.el: Don't require cl.
4713 (color-complement): `caddr' -> `nth 2'.
4714
4715 * calendar/time-date.el (time-to-seconds): De-obsolete.
4716
4717 2012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
4718
4719 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
4720 year numbers.
4721 (math-date-to-julian-dt): Adjust the initial approximation for the
4722 year to deal with the new definition of the DATE.
4723
4724 2012-11-19 Daniel Colascione <dancol@dancol.org>
4725
4726 * term/w32-win.el (cygwin-convert-path-from-windows):
4727 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
4728
4729 2012-11-18 Chong Yidong <cyd@gnu.org>
4730
4731 * filecache.el (file-cache--read-list): New function.
4732 (file-cache-add-directory-list, file-cache-add-file-list)
4733 (file-cache-delete-file-list, file-cache-delete-directory-list):
4734 Use it to read a list of files or directories (Bug#12846).
4735 (file-cache-add-file, file-cache-add-directory)
4736 (file-cache-delete-file-list, file-cache-delete-file-regexp)
4737 (file-cache-delete-directory): Print an message.
4738
4739 2012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
4740
4741 * calc/calc-forms.el (math-date-to-dt): Use integer date when
4742 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
4743
4744 2012-11-18 Glenn Morris <rgm@gnu.org>
4745
4746 * image.el (insert-image, insert-sliced-image): Doc fix.
4747
4748 2012-11-18 Chong Yidong <cyd@gnu.org>
4749
4750 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
4751 (Bug#12810).
4752
4753 2012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
4754
4755 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
4756 response when the target file is in a subdirectory (Bug#12757).
4757
4758 2012-11-18 Chong Yidong <cyd@gnu.org>
4759
4760 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
4761
4762 2012-11-18 Glenn Morris <rgm@gnu.org>
4763
4764 * emacs-lisp/cl-lib.el (face-underline-p):
4765 Use set-face-underline rather than the alias set-face-underline-p.
4766
4767 * window.el (with-temp-buffer-window): Doc fix.
4768 * subr.el (with-output-to-temp-buffer):
4769 Add doc xref to with-temp-buffer-window.
4770
4771 2012-11-18 Juanma Barranquero <lekktu@gmail.com>
4772
4773 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
4774 * calc/calc.el (math-format-date-cache): Declare.
4775
4776 2012-11-17 Paul Eggert <eggert@cs.ucla.edu>
4777
4778 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
4779 It also uses January 1, 1 AD as its day number 1.
4780 * calc/calc-forms.el (math-julian-date-beginning)
4781 (math-julian-date-beginning-int): Implement this.
4782
4783 2012-11-17 Juanma Barranquero <lekktu@gmail.com>
4784
4785 * descr-text.el (quail-find-key):
4786 * dired.el (desktop-file-name):
4787 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
4788 * generic-x.el (comint-mode, comint-exec):
4789 * image-dired.el (widget-forward):
4790 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
4791 (speedbar-change-expand-button-char)
4792 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
4793 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
4794 * printing.el (easy-menu-add-item, easy-menu-remove-item)
4795 (widget-field-action, widget-value-set):
4796 * speedbar.el (imenu--make-index-alist):
4797 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
4798 (ring-length, ring-insert):
4799 * vcursor.el (compare-windows-skip-whitespace):
4800 * woman.el (dired-get-filename):
4801 Declare functions.
4802
4803 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
4804
4805 2012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
4806
4807 * calc/calc.el (calc-gregorian-switch): New variable.
4808
4809 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
4810 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
4811 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
4812 (math-leap-year-p): Add option to distinguish between Julian
4813 and Gregorian calendars.
4814 (math-day-number): Use `math-day-in-year' to do the computations.
4815 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
4816 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
4817 to do the computations.
4818 (math-date-to-dt): Use `math-date-to-julian-dt' and
4819 `math-date-to-gregorian-dt' to do the computations.
4820 (calcFunc-weekday, math-format-date-part): Use the new version of
4821 the DATE to determine the weekday.
4822 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
4823 when necessary.
4824
4825 2012-11-17 Eli Zaretskii <eliz@gnu.org>
4826
4827 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
4828 Cygwin; otherwise use 'file:'. (Bug#12914)
4829 (cygwin-convert-path-from-windows): Declare, to avoid
4830 byte-compiler warnings.
4831
4832 2012-11-17 Andreas Politz <politza@fh-trier.de>
4833
4834 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
4835 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
4836 prefix and negative numeric prefix args (Bug#12795).
4837
4838 2012-11-17 Stephen Berman <stephen.berman@gmx.net>
4839
4840 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
4841 Don't signal an error with a score that is too low to add to the
4842 list of top scores. (Bug#12779)
4843
4844 2012-11-17 Chong Yidong <cyd@gnu.org>
4845
4846 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
4847
4848 * filecache.el (file-cache-add-file): Handle relative file name in
4849 the argument (Bug#12694).
4850
4851 2012-11-16 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
4852
4853 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
4854
4855 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
4856
4857 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
4858
4859 * emacs-lisp/cl-lib.el: Set more meaningful version number.
4860
4861 2012-11-16 Martin Rudalics <rudalics@gmx.at>
4862
4863 * window.el (enlarge-window, shrink-window): Don't mention return
4864 value in doc-string (Bug#12896).
4865 (window--display-buffer): Don't resize frames - it won't work
4866 with all window managers and defeat pop-up-frame-alist.
4867 (display-buffer-alist): In doc-string explain that CONDITION can
4868 be a function and which arguments are passed to it (Bug#12854).
4869 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
4870 expressions (Bug#12854).
4871 (display-buffer): Pass ACTION argument to
4872 display-buffer-assq-regexp.
4873
4874 2012-11-16 Glenn Morris <rgm@gnu.org>
4875
4876 * window.el (fit-frame-to-buffer-bottom-margin)
4877 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
4878
4879 * faces.el (face-underline-p): Use face-attribute-specified-or.
4880
4881 2012-11-16 Juanma Barranquero <lekktu@gmail.com>
4882
4883 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
4884
4885 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
4886
4887 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
4888
4889 2012-11-16 Glenn Morris <rgm@gnu.org>
4890
4891 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
4892 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
4893
4894 * faces.el (face-underline-p): Doc fix. Handle :underline being
4895 things other than `t' (a string, a list).
4896 (face-inverse-video-p): Doc fix.
4897 (set-face-underline): Rename it back from set-face-underline-p.
4898 Doc fix. Allow interactive input of values other than t.
4899 (read-face-attribute): Apply formatting to :underline,
4900 since like :box and :stipple it can take list values.
4901
4902 * term.el (ansi-term): Don't let C-x escape-char binding
4903 clobber the more standard C-c binding. (Bug#12842)
4904
4905 * subr.el (set-temporary-overlay-map): Doc fix.
4906
4907 2012-11-16 Martin Rudalics <rudalics@gmx.at>
4908
4909 * window.el (record-window-buffer)
4910 (display-buffer-record-window): When copying the markers to
4911 window-point preserve window-point-insertion-type. (Bug#12588)
4912
4913 2012-11-16 Glenn Morris <rgm@gnu.org>
4914
4915 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
4916 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
4917 Use new names for hooks rather than obsolete aliases.
4918
4919 2012-11-15 Daniel Colascione <dancol@dancol.org>
4920
4921 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
4922 prefix instead of "file:" so that when FILE-NAME begins with "//",
4923 as it does when the target file is on a network share, url-handler
4924 isn't confused.
4925
4926 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
4927
4928 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
4929 a preactivated advice from an old advice.el; they're not compatible!
4930
4931 2012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
4932
4933 * emacs-lisp/nadvice.el (advice--make-interactive-form):
4934 Fix string-spec case.
4935
4936 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
4937
4938 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
4939
4940 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
4941 (advice--buffer-local-function-sample): New var.
4942 (advice--set-buffer-local, advice--buffer-local): New functions.
4943 (add-function, remove-function): Use them.
4944
4945 2012-11-15 Drew Adams <drew.adams@oracle.com>
4946
4947 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
4948
4949 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
4950
4951 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
4952 potential binding of print-gensym to t, and prettify (back)quotes in
4953 case they appear in args's default values (bug#12884).
4954
4955 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4956
4957 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
4958 (advice-eval-interactive-spec): New function.
4959 (advice--make-interactive-form): Support around advice (bug#12844).
4960
4961 2012-11-14 Dmitry Gutov <dgutov@yandex.ru>
4962
4963 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
4964 more strict. Add docstring.
4965 (ruby-expression-expansion-re): Extract from
4966 `ruby-match-expression-expansion'.
4967 (ruby-syntax-propertize-function): After everything else, search
4968 for expansions in string literals, mark their insides as
4969 whitespace syntax and save match data for font-lock.
4970 (ruby-font-lock-keywords): Use the 2nd group from expression
4971 expansion matches.
4972 (ruby-match-expression-expansion): Use the match data saved to the
4973 text property in ruby-syntax-propertize-function.
4974
4975 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4976
4977 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
4978 (bug#12879).
4979
4980 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
4981
4982 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
4983 start/end keyword a bit harder. Works with different values of N.
4984 Add more comments.
4985 (ruby-end-of-block): Update accordingly.
4986
4987 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
4988
4989 * woman.el (woman-file-name): Don't mess with unread-command-events
4990 (bug#12861).
4991
4992 * emacs-lisp/advice.el: Layer on top of nadvice.el.
4993 Remove out of date self-require hack.
4994 (ad-do-advised-functions): Use simple `dolist'.
4995 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
4996 (ad-advice-definition): Redefine as functions.
4997 (ad-advice-classes): Move before first use.
4998 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
4999 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
5000 (ad--defalias-fset): Remove functions.
5001 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
5002 (ad-get-orig-definition): Rewrite.
5003 (ad-make-advised-definition-docstring): Change base docstring.
5004 (ad-real-orig-definition): Rewrite.
5005 (ad-map-arglists): Change name of called function.
5006 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
5007 (ad-make-advised-definition): Simplify.
5008 (ad-assemble-advised-definition): Tweak for new calling context.
5009 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
5010 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
5011 function and call ad-activate if needed.
5012 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
5013 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
5014 (ad-compile-function): Compile ad-Advice-*.
5015 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
5016 (ad-start-advice, ad-stop-advice): Remove.
5017
5018 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
5019
5020 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
5021 period before class method names, not after. Remove handling of
5022 one impossible case. Add comments.
5023
5024 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
5025
5026 * emacs-lisp/advice.el: Remove support for freezing.
5027 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
5028 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
5029 Remove support for `freeze'.
5030
5031 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
5032 override the default.
5033 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
5034 cl--dotimes/dolist.
5035 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
5036 `cl' is loaded.
5037
5038 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
5039 from add-advice.
5040 (advice--strip-macro): New function.
5041 (advice--defalias-fset): Use them to handle macros.
5042 (advice-add): Use them.
5043 (advice-member-p): Correctly handle macros.
5044
5045 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
5046
5047 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5048 Never font-lock the beginning of singleton class as heredoc.
5049
5050 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
5051
5052 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
5053
5054 2012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
5055
5056 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
5057 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
5058 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
5059
5060 2012-11-13 Fabián Ezequiel Gallina <fgallina@cuca>
5061
5062 Fix end-of-defun misbehavior.
5063 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
5064 python-beginning-of-defun-function. Handle nested defuns
5065 correctly.
5066 (python-nav-end-of-defun): Rename from
5067 python-end-of-defun-function. Ensure forward movement.
5068 (python-info-current-defun): Reimplement to work as intended
5069 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
5070 parent defuns as soon as possible.
5071
5072 2012-11-13 Glenn Morris <rgm@gnu.org>
5073
5074 * progmodes/flymake.el (flymake-error-bitmap)
5075 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
5076 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
5077
5078 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
5079
5080 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
5081 backward, always stop at indentation. Reverts the change from
5082 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
5083
5084 2012-11-13 Glenn Morris <rgm@gnu.org>
5085
5086 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
5087 Add ibuffer-filter-by-derived-mode.
5088
5089 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
5090 the same name shadowing each other.
5091
5092 * window.el (with-temp-buffer-window): Doc tweak.
5093
5094 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
5095
5096 * help.el (temp-buffer-max-height):
5097 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
5098 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
5099
5100 2012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
5101
5102 * emacs-lisp/nadvice.el: New package.
5103 * subr.el (special-form-p): New function.
5104 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
5105 (elp-all-instrumented-list): Remove var.
5106 (elp-not-profilable): Remove elp-wrapper.
5107 (elp-profilable-p): Use autoloadp and special-form-p.
5108 (elp--advice-name): New const.
5109 (elp-instrument-function): Use advice-add.
5110 (elp--instrumented-p): New predicate.
5111 (elp-restore-function): Use advice-remove.
5112 (elp-restore-all, elp-reset-all): Use mapatoms.
5113 (elp-set-master): Use elp--instrumented-p.
5114 (elp--make-wrapper): Rename from elp-wrapper, return a function
5115 suitable for advice-add. Use cl-inf.
5116 (elp-results): Use mapatoms+elp--instrumented-p.
5117 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
5118 (debug-function-list): Remove var.
5119 (debug): Rename arg, and then let-bind it explicitly inside.
5120 (debugger-setup-buffer): Rename arg.
5121 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
5122 (debugger-frame-number): Adjust to new debug-on-entry setup.
5123 (debug--implement-debug-on-entry): Rename from
5124 implement-debug-on-entry, add argument.
5125 (debugger-special-form-p): Remove, use special-form-p instead.
5126 (debug-on-entry): Use advice-add.
5127 (debug--function-list): New function.
5128 (cancel-debug-on-entry): Use it, along with advice-remove.
5129 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
5130 (debugger-list-functions): Use debug--function-list instead of
5131 debug-function-list.
5132 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
5133 (ad-special-form-p): Remove, use special-form-p instead.
5134 (ad-set-advice-info): Use add-function and remove-function.
5135 (ad--defalias-fset): Adjust accordingly.
5136
5137 2012-11-10 Glenn Morris <rgm@gnu.org>
5138
5139 * mail/emacsbug.el (report-emacs-bug-tracker-url)
5140 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
5141 (report-emacs-bug-create-existing-bugs-buffer)
5142 (report-emacs-bug-parse-query-results)
5143 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
5144
5145 * term.el (term-default-fg-color, term-default-bg-color):
5146 Make obsolete, rather than just saying "deprecated" in the doc.
5147
5148 * term.el (term): Rename from `term-face'.
5149 (term-current-face, ansi-term-color-vector)
5150 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
5151 Update all users.
5152
5153 2012-11-10 Jan Djärv <jan.h.d@swipnet.se>
5154
5155 * server.el (server-create-window-system-frame): Handle Nextstep
5156 specially (Bug#12780).
5157
5158 2012-11-10 Glenn Morris <rgm@gnu.org>
5159
5160 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
5161 Unautoload, and make obsolete. (Bug#7449)
5162
5163 2012-11-10 Chong Yidong <cyd@gnu.org>
5164
5165 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
5166 rename from diff-remove-trailing-whitespace (Bug#12831).
5167
5168 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
5169
5170 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
5171 miscompilation of trace.el.
5172
5173 2012-11-10 Glenn Morris <rgm@gnu.org>
5174
5175 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
5176
5177 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
5178
5179 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
5180 (bug#12812).
5181
5182 2012-11-10 Chong Yidong <cyd@gnu.org>
5183
5184 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
5185 a defcustom with an appropriate :set function.
5186 (minibuffer-default--in-prompt-regexps): New function.
5187
5188 2012-11-10 Glenn Morris <rgm@gnu.org>
5189
5190 * emacs-lisp/cl.el (define-setf-expander, defsetf)
5191 (define-modify-macro): Doc fixes.
5192
5193 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
5194 (gv-define-simple-setter): Update doc of `fix-return'.
5195
5196 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
5197
5198 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
5199 twice when `fix-return' is set (bug#12813).
5200
5201 * emacs-lisp/cl.el (defsetf): Pass the third arg to
5202 gv-define-simple-setter (bug#12812).
5203
5204 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
5205 (bug#12756).
5206
5207 2012-11-10 Glenn Morris <rgm@gnu.org>
5208
5209 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
5210
5211 * emacs-lisp/cl-extra.el (cl-prettyexpand):
5212 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
5213 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
5214 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
5215
5216 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
5217
5218 2012-11-10 Leo Liu <sdl.web@gmail.com>
5219
5220 * ido.el (ido-set-matches-1): Improve flex matching performance by
5221 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
5222
5223 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
5224
5225 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
5226 (ad--defalias-fset): New function.
5227 (ad-safe-fset): Remove.
5228 (ad-make-freeze-definition): Use cl-letf*.
5229
5230 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
5231
5232 * subr.el (dolist): Don't bind VAR in RESULT.
5233
5234 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
5235 (fset, documentation): Don't save real def since we don't advise.
5236 (ad-do-advised-functions): Remove problematic `result-form'.
5237 (ad-safe-fset): `ad-real-fset' => `fset'.
5238 (ad-read-advised-function): Don't assume that ad-do-advised-functions
5239 uses CL's dolist internally.
5240 (ad-arglist): Remove unused arg `name'.
5241 (ad-docstring, ad-make-advised-docstring):
5242 `ad-real-documentation' => `documentation'.
5243 (warning-suppress-types): Declare.
5244 (ad-set-arguments): Simple CSE.
5245 (ad-recover-normality): Sanity check.
5246
5247 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
5248 (funcall '(lambda ..) ..) into ((lambda ..) ..).
5249
5250 2012-11-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
5251
5252 * ses.el: symbol to coordinate mapping is made by symbol property
5253 `ses-cell'. This means that the same mapping is done for all SES
5254 sheets. That is good enough for cells with standard A1 names, but
5255 not for named cell. So a hash map is added for the latter.
5256 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
5257 (ses-sym-rowcol): Use hashmap for named cell.
5258 (ses-is-cell-sym-p): New defun.
5259 (ses-decode-cell-symbol): New defun.
5260 (ses-create-cell-variable): Add cell to hashmap when name is not
5261 A1-like.
5262 (ses-rename-cell): Check that cell new name is not already in
5263 spreadsheet with the use of ses-is-cell-sym-p
5264 (ses-rename-cell): Use hash map for named cells, but accept also
5265 renaming back to A1-like.
5266
5267 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
5268
5269 * emacs-lisp/advice.el: Use new dynamic docstrings.
5270 (ad-make-advised-definition-docstring, ad-advised-definition-p):
5271 Use dynamic-docstring-function instead of ad-advice-info.
5272 (ad--make-advised-docstring): New function extracted from
5273 ad-make-advised-docstring.
5274 (ad-make-advised-docstring): Use it.
5275 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
5276 from sql-help.
5277 (sql-help): Use it with dynamic-docstring-function.
5278
5279 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
5280
5281 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5282
5283 * files.el (hack-one-local-variable--obsolete): New function.
5284 (hack-one-local-variable): Use it for obsolete settings.
5285
5286 * subr.el (locate-user-emacs-file): If both old and new name exist, use
5287 the new name.
5288
5289 * progmodes/js.el (js--filling-paragraph): New var.
5290 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
5291 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
5292 less sneaky.
5293
5294 2012-11-08 Julien Danjou <julien@danjou.info>
5295
5296 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
5297 `auto-mode-alist' (Bug#12835).
5298
5299 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5300
5301 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
5302 (perl--prettify-symbols-alist): New const.
5303 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
5304 New functions.
5305 (perl-font-lock-keywords-2): Use them.
5306 (perl-electric-noindent-p): New function.
5307 (perl-mode): Use it to set up electric-indent-mode.
5308 (perl-electric-terminator, perl-indent-command): Mark obsolete.
5309 (perl-mode-map): Remove bindings for them.
5310 (perl-imenu-generic-expression, perl-outline-level):
5311 Match functions&packages in column>0.
5312
5313 * env.el (env--substitute-vars-regexp): New const.
5314 (substitute-env-vars): Use it. Add `only-defined' arg.
5315 * net/tramp.el (tramp-replace-environment-variables): Use it.
5316
5317 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
5318 Byte-compile *before* eval in eval-and-compile.
5319 (byte-compile-log-warning): Remove redundant inhibit-read-only.
5320 (byte-compile-file-form-autoload): Don't hide actual definition.
5321 (byte-compile-maybe-guarded): Accept `functionp' as well.
5322
5323 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
5324
5325 2012-11-07 Michael Albinus <michael.albinus@gmx.de>
5326
5327 * notifications.el (notifications-get-server-information-method):
5328 New defconst.
5329 (notifications-get-capabilities): Fix docstring.
5330 (notifications-get-server-information): New defun.
5331
5332 2012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5333
5334 * textmodes/ispell.el (ispell-region): Standard re-indent for better
5335 readability.
5336
5337 * textmodes/ispell.el: Experimental support for support debugging.
5338 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
5339 buffer for ispell.
5340 (ispell-print-if-debug): New function to print stuff to
5341 `ispell-debug-buffer' if debugging is enabled.
5342 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
5343 show some debugging info.
5344 (ispell-buffer-with-debug): New function that creates a debugging
5345 buffer and calls `ispell-buffer' with debugging enabled.
5346
5347 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
5348 comment in autoconf mode. (Bug#12768)
5349
5350 2012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
5351
5352 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
5353 frame-first-window, frame-root-window, frame-selected-window,
5354 minibuffer-selected-window, minibuffer-window,
5355 window-absolute-pixel-edges, window-at, window-body-height,
5356 window-body-width, window-display-table, window-combination-limit,
5357 window-frame, window-fringes, window-inside-absolute-pixel-edges,
5358 window-inside-edges, window-inside-pixel-edges, window-left-child,
5359 window-left-column, window-margins, window-next-buffers,
5360 window-next-sibling, window-new-normal, window-new-total,
5361 window-normal-size, window-parameter, window-parameters, window-parent,
5362 window-pixel-edges, window-point, window-prev-buffers,
5363 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
5364 window-start, window-text-height, window-top-child, window-top-line,
5365 window-total-height, window-total-width and window-use-time to the list
5366 of functions without side-effects.
5367 (toplevel): Add window-valid-p to the list of error-free functions
5368 without side-effects.
5369
5370 2012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5371
5372 * textmodes/ispell.el (ispell-program-name):
5373 Update spellchecker parameters when customized.
5374
5375 2012-11-04 Glenn Morris <rgm@gnu.org>
5376
5377 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
5378
5379 2012-11-04 Chong Yidong <cyd@gnu.org>
5380
5381 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
5382 same-window-* variables.
5383
5384 2012-11-04 Juri Linkov <juri@jurta.org>
5385
5386 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
5387 (isearch-describe-key, isearch-describe-mode): Use a display
5388 action instead of binding same-window-* variables (Bug#10040).
5389
5390 2012-11-03 Glenn Morris <rgm@gnu.org>
5391
5392 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
5393 Rename handler properties back from cl-- to cl-. (Bug#12788)
5394
5395 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
5396
5397 2012-11-03 Eli Zaretskii <eliz@gnu.org>
5398
5399 * term/pc-win.el: Don't load term/internal from here.
5400
5401 * loadup.el: Load term/internal from here.
5402
5403 2012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
5404
5405 * progmodes/python.el (inferior-python-mode): Fix hang in
5406 jit-lock (Bug#12645).
5407
5408 2012-11-03 Martin Rudalics <rudalics@gmx.at>
5409
5410 * window.el (switch-to-visible-buffer)
5411 (switch-to-buffer-preserve-window-point): Fix doc-strings.
5412
5413 2012-11-03 Glenn Morris <rgm@gnu.org>
5414
5415 * emacs-lisp/cl-lib.el (cl--random-time):
5416 Rename from cl-random-time. (Bug#12773)
5417 (cl--gensym-counter, cl--random-state): Update callers.
5418 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
5419
5420 2012-11-03 Chong Yidong <cyd@gnu.org>
5421
5422 * cus-start.el: Make cursor-type customizable (Bug#11633).
5423
5424 2012-11-02 Glenn Morris <rgm@gnu.org>
5425
5426 * filecache.el: No need to load find-lisp when compiling.
5427 (find-lisp-find-files): Autoload it.
5428 (file-cache-add-directory-recursively): Don't require find-lisp.
5429
5430 * image.el (image-type-from-file-name): Trivial simplification.
5431
5432 * emacs-lisp/bytecomp.el (byte-compile-eval):
5433 Decouple "noruntime" and "cl-functions" warnings.
5434
5435 2012-11-01 Stephen Berman <stephen.berman@gmx.net>
5436
5437 * play/gomoku.el (gomoku-display-statistics): Update mode line
5438 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
5439
5440 2012-10-31 Martin Rudalics <rudalics@gmx.at>
5441
5442 * window.el (quit-restore-window): If the window has been
5443 created on an existing frame and ended up as the sole window on
5444 that frame, do not delete it (Bug#12764).
5445
5446 2012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
5447
5448 * progmodes/sh-script.el (sh--inside-noncommand-expression):
5449 Rename from sh--inside-arithmetic-expression, handle more cases
5450 (bug#11263).
5451
5452 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
5453 (sh-font-lock-open-heredoc): Use it (bug#12770).
5454
5455 2012-10-30 Glenn Morris <rgm@gnu.org>
5456
5457 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
5458
5459 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
5460
5461 2012-10-29 Chong Yidong <cyd@gnu.org>
5462
5463 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
5464 function key is stored in a keyboard macro (Bug#4894).
5465
5466 * thingatpt.el (number-at-point): Apply a thing-at-point property.
5467
5468 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5469
5470 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
5471 header comments".
5472 (diff-unified->context, diff-context->unified)
5473 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
5474
5475 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
5476
5477 * files.el (find-alternate-file): Only ask one question (bug#12487).
5478
5479 2012-10-29 Chong Yidong <cyd@gnu.org>
5480
5481 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
5482 Suggested by Dan Nicolaescu (Bug#6326).
5483
5484 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
5485
5486 * startup.el (fancy-about-screen): Don't message (Bug#12680).
5487
5488 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
5489
5490 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
5491
5492 * face-remap.el (face-remap-add-relative): Handle the case where a
5493 face-remapping-alist entry is a cons cell (Bug#12762).
5494
5495 2012-10-29 Kevin Ryde <user42@zip.com.au>
5496
5497 * woman.el (woman-parse-numeric-value): Handle picas correctly
5498 (Bug#12639).
5499
5500 2012-10-29 Glenn Morris <rgm@gnu.org>
5501
5502 * emacs-lisp/cl.el (defsetf): Doc fix.
5503
5504 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5505
5506 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
5507 syntax to the matching opener, if any (bug#12547).
5508 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
5509 matching open as a "case-(".
5510 (sh-smie-rc-grammar): Add a corresponding rule for it.
5511
5512 2012-10-28 Daniel Hackney <dan@haxney.org>
5513
5514 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
5515 "PKGNAME-autoloads.el" in case we created it.
5516
5517 2012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5518
5519 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
5520 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
5521 (completion--twq-all): Disable too-strict assertions.
5522
5523 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
5524
5525 2012-10-27 Eli Zaretskii <eliz@gnu.org>
5526
5527 * profiler.el (profiler-report-make-entry-part): Fix help-echo
5528 text to match the real keybindings.
5529
5530 2012-10-27 Juri Linkov <juri@jurta.org>
5531
5532 * wdired.el (wdired-keep-marker-rename): New defcustom.
5533 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
5534 (Bug#11795)
5535
5536 * dired.el (dired-keep-marker-rename): Add reference to
5537 `wdired-keep-marker-rename' in the docstring.
5538 Add default character value ?R to display initially in
5539 Customization UI instead of ?@.
5540
5541 2012-10-27 Martin Rudalics <rudalics@gmx.at>
5542
5543 * window.el (display-buffer): In doc-string describe
5544 window-height and window-width alist entries.
5545
5546 * time.el (display-time-world): Restore fit-window-to-buffer
5547 behavior.
5548
5549 2012-10-27 Chong Yidong <cyd@gnu.org>
5550
5551 * subr.el (insert-buffer-substring-as-yank): Doc fix.
5552
5553 2012-10-26 Jambunathan K <kjambunathan@gmail.com>
5554
5555 * minibuffer.el (completion-category-overrides): New completion
5556 category `bookmark' (bug#11131).
5557
5558 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
5559
5560 * emacs-lisp/advice.el (ad-assemble-advised-definition):
5561 Silence bogus compiler warnings for ad-do-it.
5562
5563 * bookmark.el (bookmark-completing-read): Set the completion category
5564 to `bookmark' (bug#11131).
5565
5566 2012-10-26 Bastien <bzg@altern.org>
5567 Stefan Monnier <monnier@iro.umontreal.ca>
5568
5569 * face-remap.el: Use lexical-binding.
5570 (text-scale-adjust): Improve docstring. Use itself for the temporary
5571 overlay-map bindings, so as to repeat the "Use..." message each time.
5572
5573 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
5574
5575 * emacs-lisp/macroexp.el (macroexp--expand-all):
5576 Obey byte-compile-warning-enabled-p (bug#12486).
5577
5578 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
5579 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
5580
5581 2012-10-26 Martin Rudalics <rudalics@gmx.at>
5582
5583 * mouse.el (mouse-drag-line): Move last form into preceding when
5584 clause (Bug#12731).
5585
5586 * help.el (resize-temp-buffer-window): Fix doc-string.
5587
5588 2012-10-25 David Engster <deng@randomsample.de>
5589
5590 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
5591 Remove. This feature is already integrated in imenu.
5592
5593 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
5594 always loaded. Require `speedbar' unconditionally.
5595
5596 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
5597
5598 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
5599
5600 * minibuffer.el (minibuffer-force-complete): Fix thinko.
5601
5602 * net/ldap.el (ldap-search-internal): The official ldif format starts
5603 with a "version: 1" header (bug#12724).
5604
5605 * emacs-lisp/package.el (package-installed-p): Warn if not ready
5606 (bug#12721).
5607
5608 2012-10-25 Glenn Morris <rgm@gnu.org>
5609
5610 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
5611
5612 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5613
5614 * minibuffer.el (minibuffer-force-complete): Use one more marker
5615 for the temporary-overlay-map command (bug#12619).
5616
5617 2012-10-24 Chong Yidong <cyd@gnu.org>
5618
5619 * time.el (display-time-world-mode): Derive from special-mode.
5620 (display-time-world): Use display-buffer (Bug#12708).
5621 (display-time-world-mode-map): Variable deleted.
5622 (display-time-world-display): Wrap the final delete-char inside
5623 inhibit-read-only.
5624
5625 2012-10-24 Chong Yidong <cyd@gnu.org>
5626
5627 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
5628 Doc fix.
5629
5630 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
5631
5632 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5633
5634 * minibuffer.el (completion--all-sorted-completions-location): New var.
5635 (completion--cache-all-sorted-completions)
5636 (completion--flush-all-sorted-completions): Use it.
5637 (completion-in-region, completion-in-region--postch)
5638 (completion-at-point, completion-help-at-point): Use markers in
5639 completion-in-region--data (bug#12619).
5640
5641 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5642
5643 * progmodes/compile.el (compilation-start): Try to handle common
5644 quoting of `cd' argument (bug#12640).
5645
5646 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
5647 (bug#12671).
5648
5649 2012-10-23 Glenn Morris <rgm@gnu.org>
5650
5651 * progmodes/gud.el (gud-menu-map):
5652 Check gdb-active-process is bound. (Bug#12358)
5653
5654 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5655
5656 * repeat.el (repeat): Set real-this-command (bug#12232).
5657
5658 * htmlfontify.el (hfy-post-html-hook):
5659 * filesets.el (filesets-cache-fill-content-hook):
5660 * arc-mode.el (archive-extract-hook):
5661 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
5662 * net/rcirc.el (rcirc-sentinel-functions)
5663 (rcirc-receive-message-functions, rcirc-activity-functions)
5664 (rcirc-print-functions):
5665 * net/dbus.el (dbus-event-error-functions):
5666 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
5667 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
5668 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
5669 * term/sun.el (sun-raw-prefix-hooks):
5670 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
5671
5672 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
5673
5674 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5675 Set `tramp-chunksize' to 1. This improves the performance.
5676 (tramp-smb-wait-for-output): Add timeout to
5677 `tramp-accept-process-output' calls.
5678
5679 2012-10-23 Chong Yidong <cyd@gnu.org>
5680
5681 * faces.el (font-list-limit): Define as an obsolete variable.
5682
5683 * startup.el (command-line):
5684 * cus-start.el: Don't refer to font-list-limit.
5685
5686 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
5687
5688 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5689
5690 * subr.el (internal-temp-output-buffer-show): Rename from
5691 temp-output-buffer-show, since previously compiled files expect this name.
5692
5693 2012-10-23 Glenn Morris <rgm@gnu.org>
5694
5695 * image.el (image-type-from-file-name): If multiple types match,
5696 return the first one that is supported. (Bug#9045)
5697
5698 2012-10-22 Glenn Morris <rgm@gnu.org>
5699
5700 * image.el (imagemagick-enabled-types): Doc fix.
5701
5702 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
5703
5704 * progmodes/which-func.el (which-func-current): The hash-table may have
5705 an explicit nil (bug#12338).
5706
5707 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
5708
5709 * electric.el (electric-pair-delete-selection-self-insert-function):
5710 Rename to electric-pair-will-use-region, return a boolean.
5711 (electric-pair-mode): Adjust accordingly. Don't require delsel.
5712
5713 * delsel.el (delete-selection-helper): Use a function instead of a hook.
5714 (delete-selection-pre-hook): Use use-region-p.
5715 (delete-selection-self-insert-function): Remove.
5716 (self-insert-command): Obey self-insert-uses-region-functions.
5717 (self-insert-iso): Revert to previous setting, since we don't actually
5718 know what that command does.
5719 (delete-selection-self-insert-hooks): Remove.
5720
5721 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
5722
5723 * delsel.el (delete-selection-helper): New function, extracted from
5724 delete-selection-pre-hook.
5725 (delete-selection-pre-hook): Use it.
5726 (delete-selection-self-insert-function): New function.
5727 (delete-selection-self-insert-hooks): New hook.
5728 (self-insert-command, self-insert-iso): Use it.
5729 * electric.el (electric-pair-syntax): New function, extracted from
5730 electric-pair-post-self-insert-function.
5731 (electric-pair-post-self-insert-function): Use it.
5732 (electric-pair-delete-selection-self-insert-function): New function.
5733 (electric-pair-mode): Require delsel and setup
5734 delete-selection-self-insert-hooks (bug#11520).
5735
5736 2012-10-20 Chong Yidong <cyd@gnu.org>
5737
5738 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
5739 no changes to show (Bug#12586).
5740
5741 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
5742 list explicitly (Bug#12571).
5743
5744 2012-10-20 Arne Jørgensen <arne@arnested.dk>
5745
5746 * progmodes/flymake.el (flymake-create-temp-inplace):
5747 Use file-truename.
5748
5749 2012-10-20 Eli Zaretskii <eliz@gnu.org>
5750
5751 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
5752
5753 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
5754
5755 * calc/calc-units.el (math-extract-units): Properly extract powers
5756 of units.
5757
5758 2012-10-20 Daniel Colascione <dancol@dancol.org>
5759
5760 * frame.el (make-frame): Set x-display-name as we used to in order
5761 to unbreak creating an X11 frame from an Emacs daemon started
5762 without a display.
5763
5764 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5765
5766 * minibuffer.el (minibuffer-force-complete): Make the next completion use
5767 the same completion-field (bug#12221).
5768
5769 2012-10-19 Martin Rudalics <rudalics@gmx.at>
5770
5771 * emacs-lisp/debug.el (debug): Record height of debugger window
5772 also when debugger will be back (Bug#8789).
5773
5774 2012-10-18 Chong Yidong <cyd@gnu.org>
5775
5776 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
5777 Convert to defcustom.
5778 (gdb-get-source-file): Don't bind pop-up-windows.
5779
5780 * progmodes/gud.el (gud-display-line): Don't specially re-use
5781 other frames for the gdb-mi case (Bug#12648).
5782
5783 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
5784
5785 * emacs-lisp/advice.el: Clean up commentary a bit.
5786 (ad-do-advised-functions, ad-with-originals): Use `declare'.
5787 (byte-code-function-p): Never redefine.
5788
5789 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
5790
5791 2012-10-18 Glenn Morris <rgm@gnu.org>
5792
5793 * dired.el (dired-sort-toggle): Some ls implementations only allow
5794 a single option string. (Bug#12666)
5795
5796 * minibuffer.el (completion-cycle-threshold): Doc fix.
5797
5798 2012-10-17 Kenichi Handa <handa@gnu.org>
5799
5800 * international/mule.el (set-keyboard-coding-system):
5801 Recover input meta mode when the new coding system doesn not use 8-bit.
5802 Supply TERMINAL arg to set-input-meta-mode.
5803
5804 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
5805
5806 * wdired.el (wdired-old-marks): New variable.
5807 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
5808 (wdired-do-renames): Move point with renamed file and don't lose
5809 mark status (Bug#11795).
5810
5811 2012-10-16 Juri Linkov <juri@jurta.org>
5812
5813 * replace.el (query-replace-help): Mention multi-buffer replacement
5814 keys in the Help message. (Bug#12655)
5815
5816 2012-10-15 Chong Yidong <cyd@gnu.org>
5817
5818 * emacs-lisp/byte-run.el (defsubst): Doc fix.
5819
5820 2012-10-14 Eli Zaretskii <eliz@gnu.org>
5821
5822 * window.el (display-buffer): Doc fix.
5823
5824 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5825 Adjust the msft regexp to the output of Studio 2010, and move msft
5826 before edg-1. See the discussion on emacs-devel,
5827 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
5828 for the details.
5829
5830 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
5831
5832 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
5833 (oset): Move uses of object-class-fast macro after its definition.
5834
5835 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
5836
5837 2012-10-13 Chong Yidong <cyd@gnu.org>
5838
5839 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
5840 enabled, re-enable it (Bug#11963).
5841
5842 2012-10-13 Martin Rudalics <rudalics@gmx.at>
5843
5844 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
5845 non-nil, restore window configuration (Bug#12623).
5846
5847 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
5848
5849 * help-fns.el (describe-variable, describe-function-1):
5850 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
5851
5852 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
5853
5854 2012-10-12 Glenn Morris <rgm@gnu.org>
5855
5856 * mail/rmailsum.el (rmail-header-summary):
5857 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
5858
5859 2012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
5860
5861 * progmodes/python.el (python-mode-map):
5862 Replace subtitute-key-definition with proper command remapping.
5863 (python-nav--up-list): Fix behavior for blocks on the same level.
5864
5865 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5866
5867 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
5868
5869 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
5870 changes to the format of load-history.
5871
5872 * international/mule-cmds.el (read-char-by-name): Move let-binding of
5873 completion-ignore-case in case that var is buffer-local (bug#12615).
5874
5875 2012-10-11 Kenichi Handa <handa@gnu.org>
5876
5877 * international/eucjp-ms.el: Re-generated.
5878
5879 2012-10-10 Kenichi Handa <handa@gnu.org>
5880
5881 * select.el (xselect--encode-string): If a coding is specified for
5882 selection, and that is compatible with COMPOUND_TEXT, use it.
5883
5884 2012-10-10 Martin Rudalics <rudalics@gmx.at>
5885
5886 * window.el (switch-to-buffer-preserve-window-point): New option.
5887 (switch-to-buffer):
5888 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
5889
5890 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
5891
5892 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
5893 Don't document nil as a useful value (bug#12583).
5894
5895 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
5896
5897 * net/tramp.el (tramp-debug-message):
5898 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
5899 (with-tramp-progress-reporter): Rename from
5900 `tramp-with-progress-reporter'.
5901 (with-tramp-file-property, with-tramp-connection-property):
5902 Move from tramp-cache.el, rename from `with-file-property' and
5903 `with-connection-property', respectively.
5904
5905 * net/tramp-cache.el: Remove `with-file-property' and
5906 `with-connection-property'.
5907
5908 * net/tramp.el:
5909 * net/tramp-gvfs.el:
5910 * net/tramp-sh.el:
5911 * net/tramp-smb.el: Adapt callees.
5912
5913 * net/trampver.el: Update release number.
5914
5915 2012-10-09 Glenn Morris <rgm@gnu.org>
5916
5917 * w32-fns.el (set-message-beep):
5918 * term/w32-win.el (set-message-beep): Update declarations.
5919
5920 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
5921
5922 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
5923 (mode-line-widen, mode-line-input-method-map)
5924 (mode-line-coding-system-map, mode-line-remote)
5925 (mode-line-unbury-buffer, mode-line-bury-buffer)
5926 (mode-line-next-buffer, mode-line-previous-buffer):
5927 Replace save-selected-window+select-window => with-selected-window.
5928
5929 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
5930 * progmodes/cc-vars.el (bq-process): Remove, unused.
5931
5932 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
5933
5934 2012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
5935
5936 Implemented `backward-up-list'-like navigation.
5937 * progmodes/python.el (python-nav-up-list)
5938 (python-nav-backward-up-list): New functions.
5939 (python-mode-map): Define substitute key for backward-up-list to
5940 python-nav-backward-up-list.
5941
5942 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
5943
5944 * progmodes/python.el (python-fill-paragraph): Rename from
5945 python-fill-paragraph-function. Fixed fill-paragraph for
5946 decorators (Bug#12605).
5947
5948 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
5949
5950 * progmodes/python.el (python-shell-output-filter): Handle extra
5951 carriage return in OSX (Bug#12409).
5952
5953 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
5954
5955 Fix shell handling of unbalanced quotes and parens in output.
5956 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
5957 (python-syntax-propertize-function): Use it.
5958 (python-shell-output-syntax-table): New var.
5959 (inferior-python-mode): Prevent unbalanced parens/quotes from
5960 previous output mess with current input context.
5961
5962 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
5963
5964 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
5965 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
5966
5967 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
5968
5969 * ffap.el (ffap-replace-file-component): Support Tramp file name
5970 syntax, not only ange-ftp's one.
5971
5972 2012-10-08 Glenn Morris <rgm@gnu.org>
5973
5974 * cus-start.el (message-log-max): Set :version.
5975
5976 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
5977
5978 2012-10-08 Martin Rudalics <rudalics@gmx.at>
5979
5980 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
5981 the minibuffer window (Bug#10851).
5982
5983 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
5984
5985 Enhancements on forward-sexp movement.
5986 * progmodes/python.el (python-nav-beginning-of-statement)
5987 (python-nav-end-of-statement): Return point-marker.
5988 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
5989 (python-info-current-symbol)
5990 (python-info-statement-starts-block-p): Rename from
5991 python-info-beginning-of-block-p.
5992 (python-info-statement-ends-block-p): Rename from
5993 python-info-end-of-block-p.
5994 (python-info-beginning-of-statement-p)
5995 (python-info-end-of-statement-p)
5996 (python-info-beginning-of-block-p, python-info-end-of-block-p):
5997 New functions.
5998
5999 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
6000
6001 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
6002 frame-selected-windows.
6003
6004 2012-10-08 Daniel Colascione <dancol@dancol.org>
6005
6006 * battery.el (battery-status-function): Check for
6007 w32-battery-status itself, not system-time windows-nt.
6008
6009 * frame.el: Require cl-lib.
6010 (display-format-alist): New variable mapping frame types to
6011 functions that initialize them.
6012 (window-system-for-display): New function: interprets
6013 display-format-alist.
6014 (make-frame-on-display): Remove existing display-selection logic
6015 and just forward to make-frame, which will now DTRT.
6016 (make-frame): Restructure to use window-system-for-display to
6017 figure out how to create a frame on a given display.
6018 (display-mouse-p): Look for frame-type w32, not a particular
6019 system-type.
6020
6021 * loadup.el: Load w32 lisp code when we have the w32 feature.
6022
6023 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
6024 system-type windows-nt.
6025
6026 * server.el (server-create-window-system-frame): Look for window
6027 type.
6028 (server-proces-filter): Only force a window system when windows-nt
6029 _and_ w32. Explain why.
6030
6031 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
6032 of window systems we configure for the mode.
6033
6034 * startup.el (command-line): Mark window system is initialized
6035 after we've done it.
6036
6037 * common-win.el (x-select-text): Look for w32, not windows-nt.
6038
6039 * ns-win.el: Require cl-lib. Add ourselves to
6040 display-format-alist.
6041 (ns-initialize-window-system): Assert we're not initialized twice.
6042
6043 * w32-win.el: Enable lexical binding; require cl-lib; add
6044 ourselves to display-format-alist.
6045 (w32-handle-dropped-file): Convert incoming dropped files from
6046 Windows paths to Cygwin ones before passing them on to the rest of
6047 Emacs.
6048 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
6049 (w32-initialize-window-system): Assert we're not initialized twice.
6050
6051 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
6052 (x-initialize-window-system): Assert we're not initialized twice.
6053
6054 * w32-common-fns.el: New File.
6055 (w32-version, w32-using-nt, w32-get-clipboard-data)
6056 (w32-set-clipboard-data, x-set-selection, x-get-selection)
6057 (w32-charset-info-alist, x-last-selected, text)
6058 (x-get-selection-value, x-selection-value): Move here.
6059
6060 * w32-fns.el: Require w32-common-fns.
6061 (w32-version, w32-using-nt, w32-get-clipboard-data)
6062 (w32-set-clipboard-data, x-set-selection, x-get-selection)
6063 (w32-charset-info-alist, x-last-selected, text)
6064 (x-get-selection-value, x-selection-value): Move to
6065 w32-common-fns.
6066
6067 * w32-vars.el:
6068 (w32-allow-system-shell, w32-system-shells): Define only in
6069 non-cygwin case.
6070
6071 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
6072
6073 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
6074 (read-passwd): Remove a few more potential sources of leaks.
6075
6076 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
6077
6078 * progmodes/python.el (inferior-python-mode)
6079 (python-shell-make-comint): Fix initialization of local
6080 variables copied from parent buffer.
6081
6082 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
6083
6084 * term/ns-win.el (ns-read-file-name): Update declaration to match
6085 nsfns.m.
6086 (ns-respond-to-change-font): Change fontsize separately so we are sure
6087 it is set when font is acted upon.
6088
6089 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
6090
6091 Enhancements to indentation.
6092 * progmodes/python.el (python-indent-context): Give priority to
6093 inside-string context. Make comments indentation markers.
6094 (python-indent-region): Do not mess with strings, unless it's the
6095 enclosing set of quotes.
6096
6097 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
6098
6099 * window.el (internal--before-save-selected-window)
6100 (internal--after-save-selected-window): New functions extracted from
6101 save-selected-window. Make sure we return the `alist' we construct.
6102 (save-selected-window): Use them.
6103
6104 * textmodes/tex-mode.el (tex-recenter-output-buffer):
6105 Use with-selected-window.
6106
6107 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
6108 forms that define macros (bug#12593).
6109
6110 2012-10-07 Kenichi Handa <handa@gnu.org>
6111
6112 * international/mule-conf.el (compound-text-with-extensions):
6113 Add :mime-charset property as x-ctext.
6114
6115 2012-10-07 Stefan Merten <smerten@oekonux.de>
6116
6117 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
6118 (rst-indent-literal-normal, rst-indent-literal-minimized)
6119 (rst-indent-comment): Correct :version tag.
6120 (rst-official-cvs-rev): Correct version string.
6121
6122 2012-10-07 Glenn Morris <rgm@gnu.org>
6123
6124 * mail/rmailmm.el (rmail-mime-process-multipart):
6125 Do not confuse a multipart message with an epilogue
6126 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
6127
6128 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
6129
6130 Fix shell output retrieval and comint-prompt-regexp init.
6131 * progmodes/python.el (inferior-python-mode):
6132 (python-shell-make-comint): Fix initialization of
6133 comint-prompt-regexp from copied file local variables.
6134 (python-shell-fetched-lines): Remove var.
6135 (python-shell-output-filter-in-progress): Rename from
6136 python-shell-fetch-lines-in-progress.
6137 (python-shell-output-filter-buffer): Rename from
6138 python-shell-fetch-lines-string.
6139 (python-shell-fetch-lines-filter): Delete function.
6140 (python-shell-output-filter): New function.
6141 (python-shell-send-string-no-output): Use them.
6142
6143 2012-10-07 Glenn Morris <rgm@gnu.org>
6144
6145 * hi-lock.el (hi-lock-process-phrase):
6146 Try to make it less fragile. (Bug#7161)
6147
6148 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
6149
6150 2012-10-06 Glenn Morris <rgm@gnu.org>
6151
6152 * ehelp.el (electric-help-mode): Use help-mode rather than
6153 non-existent mode `help'.
6154 (electric-help-map): Use button-buffer-map. (Bug#10917)
6155
6156 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
6157 (reftex-create-bibtex-footer): Fix custom types.
6158
6159 * progmodes/sh-script.el (sh-indent-after-continuation):
6160 Add explicit :group.
6161
6162 * textmodes/rst.el (rst-preferred-decorations)
6163 (rst-shift-basic-offset): Clarify obsolescence versions.
6164
6165 * profiler.el (profiler): Add missing group :version tag.
6166 * avoid.el (mouse-avoidance-banish-position):
6167 * proced.el (proced-renice-command):
6168 * calc/calc.el (calc-ensure-consistent-units):
6169 * calendar/icalendar.el (icalendar-import-format-uid):
6170 * net/tramp.el (tramp-save-ad-hoc-proxies):
6171 * progmodes/bug-reference.el (bug-reference-bug-regexp):
6172 * progmodes/flymake.el (flymake-error-bitmap)
6173 (flymake-warning-bitmap, flymake-fringe-indicator-position):
6174 * progmodes/sh-script.el (sh-indent-after-continuation):
6175 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
6176 (verilog-before-save-font-hook, verilog-after-save-font-hook):
6177 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
6178 (vhdl-array-index-record-field-in-sensitivity-list)
6179 (vhdl-indent-comment-like-next-code-line):
6180 * textmodes/reftex-vars.el (reftex-ref-style-alist)
6181 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
6182 (reftex-cite-key-separator, reftex-create-bibtex-header)
6183 (reftex-create-bibtex-footer):
6184 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
6185 (rst-indent-literal-normal, rst-indent-literal-minimized)
6186 (rst-indent-comment): Add missing custom :version tags.
6187
6188 * calendar/timeclock.el (timeclock-modeline-display):
6189 Add missing obsolete alias for renamed user option.
6190
6191 * strokes.el (strokes-modeline-string):
6192 * emulation/crisp.el (crisp-mode-modeline-string):
6193 * eshell/esh-mode.el (eshell-status-in-modeline):
6194 Aliases to defcustoms must come before the defcustom.
6195
6196 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
6197 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
6198 (cal-tex-cursor-week-monday): Doc fixes.
6199 (cal-tex-cursor-week2-summary): Doc fix.
6200 Rename from cal-tex-cursor-week-at-a-glance.
6201
6202 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
6203 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
6204
6205 * calendar/calendar.el (calendar-mode-map):
6206 Add cal-tex-cursor-week2-summary.
6207
6208 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
6209
6210 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
6211
6212 * subr.el (read-passwd-map): New var.
6213 (read-passwd): Use `read-string' again.
6214 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
6215
6216 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
6217
6218 * register.el (append-to-register, prepend-to-register):
6219 Deactivate mark, as does `copy-to-register' (bug#12389).
6220
6221 2012-10-06 Chong Yidong <cyd@gnu.org>
6222
6223 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
6224
6225 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
6226
6227 * international/characters.el: Fix simple mistake ((car chars) ->
6228 elt), delete duplicated code.
6229
6230 2012-10-06 Glenn Morris <rgm@gnu.org>
6231
6232 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
6233
6234 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
6235
6236 * color.el (color-hsl-to-rgb): Fix incorrect results for
6237 small and large hue values. (Bug#12559)
6238
6239 2012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
6240
6241 Enhancements to docstring formatting when filling paragraphs.
6242 * progmodes/python.el (python-fill-docstring-style): Rename from
6243 python-fill-string-style. Added new style.
6244 (python-fill-string): Use new style. Better checks for
6245 docstrings.
6246
6247 2012-10-05 Glenn Morris <rgm@gnu.org>
6248
6249 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
6250
6251 * color.el (color-name-to-rgb, color-rgb-to-hex)
6252 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
6253 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
6254 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
6255 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
6256
6257 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
6258
6259 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
6260
6261 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
6262 to get the correct size across symlinks.
6263
6264 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
6265
6266 2012-10-04 Juri Linkov <juri@jurta.org>
6267
6268 * replace.el (query-replace-interactive): Declare obsolete.
6269 (query-replace-read-from): Add the last incremental search string
6270 to the list of default values accessible via M-n.
6271 (map-query-replace-regexp): Use `read-regexp'.
6272 (query-replace, query-replace-regexp, query-replace-regexp-eval)
6273 (map-query-replace-regexp, replace-string, replace-regexp):
6274 Fix docstrings to replace mentions of `query-replace-interactive'
6275 with alternatives. (Bug#12526)
6276
6277 2012-10-04 Juri Linkov <juri@jurta.org>
6278
6279 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
6280 (dired-pop-to-buffer): Declare obsolete.
6281 (dired-mark-pop-up): Doc fix.
6282
6283 2012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
6284
6285 Allow user to set docstring style for fill-paragraph.
6286 * progmodes/python.el
6287 (python-fill-comment-function, python-fill-string-function)
6288 (python-fill-decorator-function, python-fill-paren-function):
6289 Remove :safe for defcustoms.
6290 (python-fill-string-style): New defcustom
6291 (python-fill-paragraph-function): Enhance context detection.
6292 (python-fill-string): Honor python-fill-string-style settings.
6293
6294 2012-10-04 Martin Rudalics <rudalics@gmx.at>
6295
6296 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
6297 after setting its buffer (Bug#10805).
6298
6299 2012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
6300
6301 Fix cornercase for string syntax.
6302 * progmodes/python.el (python-syntax-propertize-function):
6303 Simplify and enhance the regexp for unescaped quotes. Now it also
6304 matches quotes in weird situations like the single quote in
6305 "something\"'".
6306 (python-syntax-stringify): Simplify num-quotes detecting code.
6307
6308 2012-10-03 Glenn Morris <rgm@gnu.org>
6309
6310 * help-macro.el (three-step-help):
6311 Revert 2012-09-29 change. (Bug#12567)
6312
6313 2012-10-03 Martin Rudalics <rudalics@gmx.at>
6314
6315 * menu-bar.el (kill-this-buffer): Don't do anything when
6316 `menu-frame' is not alive or visible (Bug#8184).
6317
6318 * emacs-lisp/debug.el (debug): When quitting the debugger window
6319 restore current buffer (Bug#12502).
6320
6321 2012-10-02 Chong Yidong <cyd@gnu.org>
6322
6323 * progmodes/hideif.el (hif-lookup, hif-defined):
6324 Handle semantic-c-takeover-hideif.
6325
6326 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
6327
6328 Change sampling interval units from ms to ns.
6329 * profiler.el (profiler-sampling-interval): Change units
6330 from ms to ns, multiplying the default by 1000000 so that
6331 it remains 1 ms.
6332 (profiler-report-cpu-line-format): Give enough room for
6333 the maximum counters on 64-bit hosts.
6334 (profiler-report-render-calltree-1): Call them "CPU samples",
6335 not "Time (ms)", since they are not milliseconds now (and
6336 never really were).
6337
6338 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
6339
6340 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
6341 Fix querying BBDB for entries without a last name (Bug#11580).
6342
6343 2012-10-02 Chong Yidong <cyd@gnu.org>
6344
6345 * emacs-lisp/eieio.el: Restore Version header.
6346
6347 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
6348
6349 * vc/diff-mode.el (diff--auto-refine-data): New var.
6350 (diff-hunk): Use it to delay refinement.
6351 (diff-mode): Remove overlays when we turn off font-lock.
6352
6353 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
6354 (table-initialize-table-fixed-width-mode)
6355 (table-set-table-fixed-width-mode): Remove functions.
6356 (table-command-list): Move initialization into declaration.
6357 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
6358 (table-with-cache-buffer): Use `declare'.
6359 (table-span-cell): Simplify via CSE.
6360 (table-fixed-width-mode): Use define-minor-mode.
6361 (table-call-interactively, table-funcall, table-apply): Remove.
6362 (table-function): New function, to replace them.
6363
6364 * bookmark.el (bookmark-search-pattern): Remove var.
6365 (bookmark-read-search-input): Remove function.
6366 (bookmark-bmenu-search): Reimplement using a minibuffer.
6367
6368 * faces.el (modeline): Remove obsolete face name.
6369
6370 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
6371 and give a non-nil default value.
6372 (add-change-log-entry): Simplify accordingly.
6373
6374 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
6375
6376 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
6377 (vc-git-log-edit-toggle-amend): New function.
6378 (vc-git-log-edit-toggle-signoff): New function.
6379 (vc-git-log-edit-mode): New major mode.
6380 (vc-git-log-edit-mode-map): Keymap for it.
6381 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
6382
6383 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
6384 header names.
6385 (log-edit-toggle-header): New function.
6386 (log-edit-extract-headers): Accept function values in HEADERS alist.
6387
6388 2012-10-01 David Engster <deng@randomsample.de>
6389
6390 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
6391 from symbol property and change message to be more consistent with
6392 Emacs proper.
6393 (eieio-describe-generic): Add filename for each implementation.
6394 Fix indices for generic and normal methods.
6395 (eieio-method-def, eieio-class-def): New buttons.
6396 (eieio-help-find-method-definition)
6397 (eieio-help-find-class-definition): New functions.
6398 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
6399 class, constructor and method definitions.
6400
6401 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
6402 information in symbol property.
6403 (scoped-class): Remove.
6404 (eieio-slot-name-index, call-next-method): Check if it is bound.
6405
6406 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
6407
6408 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
6409 (eieio-custom-mode): New major mode.
6410 (eieio-customize-object): Use it.
6411
6412 2012-10-01 Eric Ludlam <zappo@gnu.org>
6413
6414 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
6415 specifying the expected class, and whether subclassing is allowed.
6416 (eieio-persistent-convert-list-to-object):
6417 (eieio-persistent-validate/fix-slot-value)
6418 (eieio-persistent-slot-type-is-class-p): New functions.
6419 (eieio-named::slot-missing): Doc fix.
6420
6421 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
6422 Stop using unused publd variable.
6423
6424 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
6425 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
6426 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
6427 (eieio-speedbar-handle-click): Do not specify a class for the
6428 method. Fixes method invocation order problems with EDE.
6429
6430 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
6431
6432 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
6433 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
6434
6435 2012-10-01 Karl Fogel <kfogel@red-bean.com>
6436
6437 * bookmark.el (bookmark-version-control): Give tags in the
6438 :type choices (Bug#12309), and improve doc string.
6439 (bookmark-write-file): Bind `print-circle' to `t' to allow
6440 circular custom bookmark types. (Bug#12503)
6441
6442 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
6443
6444 Revert the FOLLOW-SYMLINKS change for file-attributes.
6445 * files.el (remote-file-name-inhibit-cache, after-find-file):
6446 * time.el (display-time-file-nonempty-p): Undo last change.
6447
6448 * profiler.el (profiler-sampling-interval): Change default back to 1.
6449 See Stefan Monnier in
6450 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
6451
6452 2012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
6453
6454 Shell output catching a la gud-gdb.
6455 * progmodes/python.el (python-shell-fetch-lines-in-progress)
6456 (python-shell-fetch-lines-string, python-shell-fetched-lines):
6457 New Vars.
6458 (python-shell-fetch-lines-filter): New function.
6459 (python-shell-send-string-no-output): Use them.
6460
6461 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
6462
6463 * profiler.el (profiler-sampling-interval): Rename from
6464 profiler-sample-interval.
6465 (profiler-sampling-interval): Default to 10.
6466 (profiler-find-profile): New command (was profiler-find-log).
6467 (profiler-find-profile-other-window): New command.
6468 (profiler-find-profile-other-frame): New command.
6469 (profiler-profile): Introduce API-level data structure.
6470
6471 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
6472
6473 file-attributes has a new optional arg FOLLOW-SYMLINKS.
6474 * files.el (remote-file-name-inhibit-cache):
6475 * time.el (display-time-file-nonempty-p): Use it.
6476 * files.el (after-find-file): Don't chase links before calling
6477 file-exists-p, as file-exists-p already does the right thing.
6478
6479 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
6480
6481 Merge from standalone RefTeX repository.
6482
6483 The following ChangeLog entries are shortened versions of the
6484 original ones with file paths adapted. A not so strongly edited
6485 version of the original ChangeLog can be found in the commit log.
6486
6487 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
6488 (reftex-arg-cite): Use `reftex-cite-key-separator'.
6489 Correctly handle new value type returned by `reftex-citation'.
6490
6491 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
6492 that entries with whitespace at various places are found.
6493 Doc fix. Include entries that are cross-referenced from cited entries.
6494 Include @String definitions in the resulting bib file. Add header
6495 and footer defined in `reftex-create-bibtex-header' and
6496 `reftex-create-bibtex-footer'.
6497 (reftex-do-citation): Make it possible again to insert
6498 non-existent entries. Save match data when asking for optional
6499 arguments. Return all keys, not just the first one.
6500 (reftex-all-used-citation-keys): Fix regexp to correctly extract
6501 all citations in the same line.
6502 (reftex-parse-bibtex-entry): Accept additional optional argument
6503 `raw' and keep quotes or braces if it is non-nil. Match fields
6504 containing hyphens besides word constituents.
6505 (reftex-get-string-refs): New function.
6506 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
6507 and ask if it should be reread in case it did.
6508 (reftex-pop-to-bibtex-entry)
6509 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
6510 entries with spaces or tabs in front of arguments.
6511 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
6512 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
6513 Match entries containing numbers and symbol constituents.
6514 (reftex-do-citation, reftex-figure-out-cite-format):
6515 Use `reftex-cite-key-separator'.
6516
6517 * textmodes/reftex-dcr.el: Move provide statement to end of file.
6518 (reftex-mouse-view-crossref): Explain why point is set.
6519
6520 * textmodes/reftex-global.el: Whitespace changes.
6521
6522 * textmodes/reftex-index.el: Move provide statement to end of
6523 file.
6524 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
6525 (reftex-index-visit-phrases-buffer): Set marker when visiting
6526 buffer. This allows for returning from the phrases file to the
6527 file one was just editing instead of the file where the last
6528 phrases was added from.
6529 (reftex-index-phrases-syntax-table): New variable. Give ?\"
6530 punctuation syntax as it usually is not used as string quote in
6531 TeX-related modes and may occur unmatched. The change also
6532 prevents fontification of quoted content.
6533 (reftex-index-phrases-mode): Use it.
6534
6535 * textmodes/reftex-parse.el (reftex-parse-from-file):
6536 Move backward one char if a `\' was matched after a section macro.
6537 (reftex-parse-from-file): Use beginning of match instead of end as
6538 bound.
6539
6540 * textmodes/reftex-ref.el: Adapt creation of
6541 `reftex-<package>-<macro>' functions to new structure of
6542 `reftex-ref-style-alist'.
6543 (reftex-reference): Use `reftex-ref-style-list' function.
6544 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
6545 reference macro if `reftex-ref-macro-prompt' is non-nil.
6546 (reftex-reference): Pass refstyle to `reftex-format-special'.
6547 Determine reference macro by looking at
6548 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
6549 Use only one special format function.
6550 (reftex-varioref-vref, reftex-fancyref-fref)
6551 (reftex-fancyref-Fref): Remove definitions. The functions are now
6552 generated from `reftex-ref-style-alist'.
6553 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
6554 Remove.
6555 (reftex-format-special): New function.
6556
6557 * textmodes/reftex-sel.el
6558 (reftex-select-cycle-ref-style-internal): Adapt to new structure
6559 of `reftex-ref-style-alist'. Remove code for testing macro type.
6560 (reftex-select-toggle-varioref)
6561 (reftex-select-toggle-fancyref): Remove.
6562 (reftex-select-cycle-ref-style-internal)
6563 (reftex-select-cycle-ref-style-forward)
6564 (reftex-select-cycle-ref-style-backward): New functions.
6565 (reftex-select-label-map): Use `v' and `V' for general cycling
6566 through reference styles. Add `p' for switching between number
6567 and page reference types.
6568
6569 * textmodes/reftex-toc.el (reftex-re-enlarge):
6570 Call `enlarge-window' only if there is something to do because in Emacs
6571 the horizontal version throws an error even if the parameter is 0.
6572
6573 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
6574 (reftex-plug-into-AUCTeX): Doc fix.
6575 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
6576 string. Adapt to new name.
6577 (reftex-ref-style-alist): Change structure so that it is not
6578 possible to use multiple different package names within a style.
6579 Remove the symbols for symbols for macro type distinction.
6580 Add characters for macro selection.
6581 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
6582 (reftex-create-bibtex-footer): New variables.
6583 (reftex-format-ref-function): Mention third argument of special
6584 format function.
6585 (reftex-ref-style-alist, reftex-ref-style-default-list):
6586 New variables.
6587 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
6588 to new implementation. Mark as obsolete. Add compatibility code
6589 for honoring the variable values in case they are set.
6590 (reftex-cite-format-builtin, reftex-bibliography-commands):
6591 Add support for ConTeXt.
6592 (reftex-format-ref-function, reftex-format-cite-function):
6593 Fix custom type.
6594 (reftex-cite-key-separator): New variable.
6595
6596 * textmodes/reftex.el (reftex-syntax-table-for-bib)
6597 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
6598 `reftex-syntax-table' because parens have to retain their paren
6599 syntax in order for parsing of BibTeX entries like @book(...) to
6600 work.
6601 (reftex-in-comment): Do not error out if `comment-start-skip' is
6602 not set. Deal correctly with escaped comment characters.
6603 (reftex-tie-multifile-symbols): Add doc string.
6604 Initialize `reftex-ref-style-list'.
6605 (reftex-untie-multifile-symbols): Add doc string.
6606 (reftex-add-index-macros): Doc fix.
6607 (reftex-ref-style-activate, reftex-ref-style-toggle)
6608 (reftex-ref-style-list): New functions.
6609 (reftex-mode-menu): Use them. Adapt to new structure of
6610 `reftex-ref-style-alist'.
6611 (reftex-select-with-char): Kill the RefTeX Select buffer when
6612 done.
6613 (reftex-remove-if): New function.
6614 (reftex-erase-all-selection-and-index-buffers)
6615 (reftex-mode-menu): Reference styles are now computed from
6616 `reftex-ref-style-alist'. Fix typo.
6617 (reftex-report-bug): New function.
6618 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
6619 algorithms with O(n log n). Introduce optional argument SORT (not
6620 yet used).
6621
6622 2012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
6623
6624 Enhancements for triple-quote string syntax.
6625 * progmodes/python.el (python-syntax-propertize-function):
6626 Match both quote cases in one regexp.
6627 (python-syntax-stringify): Handle matches properly.
6628
6629 2012-09-30 Juri Linkov <juri@jurta.org>
6630
6631 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
6632 to nil around the call to `insert' to prevent
6633 directory time modification by lock_file. (Bug#2295)
6634 * tar-mode.el (tar-summarize-buffer): Idem.
6635
6636 2012-09-30 Juri Linkov <juri@jurta.org>
6637
6638 * facemenu.el (list-colors-sort): Add option "Luminance".
6639 (list-colors-sort-key): Implement it.
6640
6641 * vc/diff-mode.el (diff-refine-removed):
6642 * vc/ediff-init.el (ediff-fine-diff-A):
6643 * vc/smerge-mode.el (smerge-refined-removed):
6644 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
6645
6646 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
6647
6648 * term/ns-win.el (x-file-dialog): New function.
6649
6650 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
6651
6652 * ido.el (ido-max-directory-size): Default to nil; the current
6653 default is small for POSIX systems, and impractical on Windows 7
6654 now that lstat returns directory sizes for NTFS.
6655
6656 2012-09-30 Martin Rudalics <rudalics@gmx.at>
6657
6658 In buffer display functions handle window-height/window-width
6659 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
6660 * window.el (window--display-buffer): New argument ALIST.
6661 Obey window-height and window-width alist entries.
6662 (window--try-to-split-window): New argument ALIST.
6663 Bind window-combination-limit to t when the window's size shall be
6664 changed and window-combination-limit equals `window-size'.
6665 (display-buffer-in-atom-window)
6666 (display-buffer-in-major-side-window)
6667 (display-buffer-in-side-window, display-buffer-same-window)
6668 (display-buffer-reuse-window, display-buffer-pop-up-frame)
6669 (display-buffer-pop-up-window, display-buffer-below-selected)
6670 (display-buffer-at-bottom, display-buffer-in-previous-window)
6671 (display-buffer-use-some-window): Adjust all callers of
6672 window--display-buffer and window--try-to-split-window.
6673 (fit-frame-to-buffer): New option.
6674 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
6675 is non-nil.
6676 (display-buffer-in-major-side-window): Evaluate window-height /
6677 window-width alist entries.
6678
6679 * help.el (temp-buffer-resize-frames)
6680 (temp-buffer-resize-regexps): Remove options.
6681 (temp-buffer-resize-mode): Adjust doc-string.
6682 (resize-temp-buffer-window): Don't consult
6683 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
6684 temp-buffer-resize-frames.
6685
6686 * dired.el (dired-mark-pop-up):
6687 Call display-buffer-below-selected with a fit-window-to-buffer alist
6688 entry.
6689
6690 2012-09-30 Chong Yidong <cyd@gnu.org>
6691
6692 * server.el (server-host): Document the security implications.
6693 (server-auth-key): Doc fix.
6694
6695 * startup.el (initial-buffer-choice): Doc fix.
6696
6697 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
6698
6699 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
6700 restriction change.
6701
6702 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
6703
6704 * help-fns.el (help-fns--obsolete): Fix last change.
6705
6706 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
6707
6708 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
6709 (minor-mode-map-alist): Remove redundant code.
6710
6711 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
6712 visited in a buffer.
6713 (cvs-insert-visited-file): New function.
6714 (find-file-hook): Use it.
6715
6716 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
6717
6718 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
6719 chose face.
6720 (log-edit-empty-buffer-p): Don't require a space after a header.
6721
6722 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
6723
6724 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
6725
6726 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
6727 a proper minor-mode.
6728
6729 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
6730
6731 2012-09-29 Glenn Morris <rgm@gnu.org>
6732
6733 * winner.el (winner-mode): Remove variable (let define-minor-mode
6734 handle it).
6735 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
6736 Doc fixes.
6737 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
6738 (winner-mode): Use define-minor-mode.
6739
6740 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
6741 the full definition in loaddefs, rather than duplicating it.
6742
6743 * help-macro.el (three-step-help): No need to autoload defcustom.
6744
6745 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
6746 (inferior-lisp-program, inferior-lisp-load-command)
6747 (inferior-lisp-prompt, inferior-lisp-mode-hook):
6748 No need to autoload defcustoms.
6749
6750 * hippie-exp.el (hippie-expand-try-functions-list)
6751 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
6752 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
6753 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
6754 (hippie-expand-only-buffers): No need to autoload defcustoms.
6755 * progmodes/vhdl-mode.el (vhdl-line-expand):
6756 Explicitly load hippie-exp, so it does not get autoloaded
6757 while hippie-expand-try-functions-list is let-bound.
6758
6759 2012-09-28 Glenn Morris <rgm@gnu.org>
6760
6761 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
6762
6763 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
6764 Only "cl.el" counts as cl these days.
6765
6766 2012-09-28 Juri Linkov <juri@jurta.org>
6767
6768 Display archive errors in the echo area instead of inserting
6769 to the file buffer.
6770
6771 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
6772 to STDERR-TEST that can be a regexp matching a successful output.
6773 Create a temporary file and redirect stderr to it. Search for
6774 STDERR-TEST in the stderr output and display it in the echo area
6775 if no match is found.
6776 (archive-extract-by-file): New function like
6777 `archive-extract-by-stdout' but extracting archives to files
6778 and looking for successful matches in stdout. Function body is
6779 mostly copied from `archive-rar-extract'.
6780 (archive-rar-extract): Use `archive-extract-by-file'.
6781 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
6782
6783 2012-09-28 Leo Liu <sdl.web@gmail.com>
6784
6785 * pcomplete.el (pcomplete-show-completions):
6786 Use minibuffer-message to make pcomplete usable in minibuffer.
6787
6788 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
6789
6790 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
6791
6792 * type-break.el: Use lexical-binding.
6793 (type-break-mode): Use define-minor-mode.
6794
6795 * emacs-lisp/pcase.el (pcase--mark-used): New.
6796 (pcase--u1): Use it (bug#12512).
6797
6798 * custom.el (load-theme): Set buffer-file-name so the load is recorded
6799 in load-history with the right file name.
6800
6801 2012-09-28 Tassilo Horn <tsdh@gnu.org>
6802
6803 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
6804 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
6805 (doc-view-get-bounding-box): Make bounding box slicing work for
6806 ODF and DVI documents.
6807
6808 2012-09-28 Glenn Morris <rgm@gnu.org>
6809
6810 * type-break.el (type-break-mode, type-break-interval)
6811 (type-break-good-rest-interval, type-break-keystroke-threshold):
6812 No need to autoload.
6813 (type-break-good-rest-interval, type-break-keystroke-threshold):
6814 Add :set-after.
6815
6816 2012-09-28 Chong Yidong <cyd@gnu.org>
6817
6818 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
6819 Add :version tag.
6820
6821 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
6822
6823 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
6824
6825 2012-09-27 Glenn Morris <rgm@gnu.org>
6826
6827 * faces.el (x-display-name): Declare (for without-x builds).
6828
6829 * linum.el (linum-format): Don't autoload it. Improve :type.
6830
6831 * progmodes/tcl.el: Don't require outline when compiling.
6832 (outline-regexp, outline-level): Declare.
6833 * textmodes/sgml-mode.el: Don't require outline when compiling.
6834 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
6835
6836 * term.el (term-ansi-reset):
6837 Try setting term-ansi-face-already-done to nil. (Bug#11785)
6838
6839 * vc/vc.el (vc-next-action): Only gripe about committing read-only
6840 files for RCS and SCCS. (Bug#9781)
6841
6842 2012-09-27 Chong Yidong <cyd@gnu.org>
6843
6844 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
6845 change; value should be t.
6846
6847 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
6848
6849 * image-mode.el: Use lexical-binding.
6850 (image-mode-winprops): Use t to stand for the window of
6851 a buffer that's not displayed.
6852 * doc-view.el (doc-view-new-window-function): Handle the new
6853 t in winprops.
6854 (doc-view-enlarge): Make it a real nop if the size is not changed.
6855 (doc-view-display): Handle the case where the buffer is not (yet?)
6856 displayed in any window.
6857 (doc-view-saved-settings): New var.
6858 (doc-view-mode): Use it.
6859 (doc-view-fallback-mode): Set it.
6860
6861 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
6862 Set lexical-binding.
6863 (minibuffer-eldef-shorten-default): New var.
6864 (minibuffer-default-in-prompt-regexps): Use it for new default.
6865 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
6866
6867 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
6868
6869 * international/uni-bidi.el:
6870 * international/uni-category.el:
6871 * international/uni-name.el:
6872 * international/uni-numeric.el: Regenerate.
6873
6874 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
6875 Stefan Monnier <monnier@iro.umontreal.ca>
6876
6877 * profiler.el: New file.
6878
6879 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
6880
6881 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
6882 (testcover-reinstrument): Simplify with CSE.
6883
6884 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
6885
6886 * window.el (temp-buffer-window-setup): Fix typo in docstring.
6887
6888 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
6889
6890 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
6891 (verilog-auto-input, verilog-auto-insert-lisp)
6892 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
6893 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
6894 (verilog-auto-unused, verilog-auto-wire)
6895 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
6896 newline. Reported by Andrew Jones.
6897 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
6898 Reported by Brad Dobbie.
6899 (verilog-batch-delete-trailing-whitespace):
6900 Create verilog-batch-delete-trailing-whitespace.
6901 Reported by Brad Dobbie.
6902 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
6903 parameters from another module. Reported by Dan Katz.
6904 (verilog-auto, verilog-auto-assign-modport)
6905 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
6906 AUTOINOUTMODPORT for UVM interface module shell generation.
6907 Reported by Brad Dobbie.
6908 (verilog-auto-inst-interfaced-ports): Make default nil, as more
6909 standard behavior.
6910 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
6911 Reported by Matt Martin.
6912
6913 2012-09-25 Martin Rudalics <rudalics@gmx.at>
6914
6915 * window.el (window--resize-child-windows): When resizing child
6916 windows proportionally, process them in reverse order to
6917 preserve the "when splitting a window the new one gets the odd
6918 line" behavior.
6919 (window--resize-root-window-vertically): When resizing the
6920 minibuffer window try to affect only windows at the bottom of the
6921 frame. (Bug#12419)
6922
6923 2012-09-25 Chong Yidong <cyd@gnu.org>
6924
6925 * subr.el (declare): Doc fix.
6926
6927 * help-fns.el (help-fns--obsolete): Handle macros properly.
6928
6929 2012-09-25 Chong Yidong <cyd@gnu.org>
6930
6931 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
6932 this function obsolete.
6933
6934 * calendar/cal-x.el (calendar-two-frame-setup)
6935 (calendar-only-one-frame-setup, calendar-one-frame-setup):
6936 * calendar/calendar.el (american-calendar, european-calendar)
6937 (calendar-for-loop):
6938 * comint.el (comint-dynamic-simple-complete)
6939 (comint-dynamic-complete-as-filename, comint-unquote-filename):
6940 * desktop.el (desktop-load-default):
6941 * dired-x.el (dired-omit-here-always)
6942 (dired-hack-local-variables, dired-default-directory):
6943 * emacs-lisp/derived.el (derived-mode-class):
6944 * emacs-lisp/timer.el (timer-set-time-with-usecs):
6945 * emacs-lock.el (toggle-emacs-lock):
6946 * epa.el (epa-display-verify-result):
6947 * epg.el (epg-sign-keys, epg-start-sign-keys)
6948 (epg-passphrase-callback-function):
6949 * eshell/esh-util.el (eshell-for):
6950 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
6951 (eshell-add-to-window-buffer-names):
6952 * files.el (locate-file-completion):
6953 * imenu.el (imenu-example--create-c-index)
6954 (imenu-example--create-lisp-index)
6955 (imenu-example--lisp-extract-index-name)
6956 (imenu-example--name-and-position):
6957 * international/mule-cmds.el (princ-list):
6958 * international/mule-diag.el (decode-codepage-char):
6959 * international/mule-util.el (detect-coding-with-priority):
6960 * iswitchb.el (iswitchb-read-buffer):
6961 * mail/mailalias.el (mail-complete):
6962 * mail/sendmail.el (mail-sent-via):
6963 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
6964 (mouse-major-mode-menu):
6965 * password-cache.el (password-read-and-add):
6966 * pcomplete.el (pcomplete-parse-comint-arguments):
6967 * progmodes/sh-script.el (sh-maybe-here-document):
6968 * replace.el (query-replace-regexp-eval):
6969 * savehist.el (savehist-load):
6970 * simple.el (choose-completion-delete-max-match):
6971 * term.el (term-dynamic-simple-complete):
6972 * vc/ediff-init.el (ediff-check-version):
6973 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
6974 * vc/vc.el (vc-diff-switches-list):
6975 * view.el (view-return-to-alist-update): Likewise.
6976
6977 * subr.el (eval-next-after-load, makehash, insert-string)
6978 (assoc-ignore-representation, assoc-ignore-case): Use declare to
6979 mark obsolete.
6980 (mode-line-inverse-video): Variable deleted.
6981
6982 * international/mule-util.el (string-to-sequence): Remove.
6983
6984 * calendar/calendar.el (calendar-version):
6985 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
6986 (icalendar-convert-diary-to-ical):
6987 * cus-edit.el (custom-mode):
6988 * ansi-color.el (ansi-color-unfontify-region):
6989 * international/latin1-disp.el (latin1-char-displayable-p):
6990 * progmodes/cwarn.el (turn-on-cwarn-mode):
6991 * progmodes/which-func.el (which-func-update-1):
6992 Use define-obsolete-function-alias.
6993
6994 * net/newst-backend.el (newsticker-cache-filename):
6995 * net/newst-treeview.el (newsticker-groups-filename):
6996 Fix incorrect obsolescence declaration.
6997
6998 * allout.el (allout-passphrase-hint-string): Likewise.
6999 (allout-init): Use a declare form to mark obsolete.
7000
7001 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
7002 this applies to functions.
7003
7004 * iswitchb.el (iswitchb-read-buffer): Move code of
7005 iswitchb-define-mode-map here, and delete that obsolete function.
7006
7007 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
7008 font-lock-reference-face.
7009
7010 2012-09-25 Glenn Morris <rgm@gnu.org>
7011
7012 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
7013 Doc fixes.
7014
7015 * eshell/em-term.el (eshell-term-name):
7016 Default to term-term-name. (Bug#12485)
7017
7018 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
7019
7020 * progmodes/python.el (python-shell-send-buffer): Better handling
7021 of "if __name__ == '__main__':" conditionals when sending the buffer.
7022
7023 2012-09-24 Glenn Morris <rgm@gnu.org>
7024
7025 * eshell/esh-cmd.el (eshell-find-alias-function):
7026 Tighten up file-name regexp. (Bug#12499)
7027
7028 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
7029
7030 Enhancements for triple-quote string syntax.
7031 * progmodes/python.el (python-quote-syntax): Remove.
7032 (python-syntax-propertize-function): New value.
7033 (python-syntax-count-quotes, python-syntax-stringify):
7034 New functions.
7035
7036 2012-09-24 Chong Yidong <cyd@gnu.org>
7037
7038 * mail/supercite.el (sc-version): Remove obsolete function.
7039 (sc-describe): Don't mark as obsolete, since it is bound.
7040 (sc-submit-bug-report): Remove.
7041
7042 * vc/log-edit.el (cvs-changelog-full-paragraphs)
7043 (cvs-commit-buffer-require-final-newline): Remove.
7044 (log-edit-require-final-newline)
7045 (log-edit-changelog-full-paragraphs): Default to t.
7046
7047 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
7048 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
7049 * vc/vc.el (vc-checkout-carefully): Likewise.
7050
7051 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
7052 (emerge-version): Remove.
7053
7054 * progmodes/compile.el (compile-internal): Remove.
7055 (compilation-parse-errors-function): Fix typo.
7056
7057 * international/mule.el (set-char-table-default): Remove.
7058 (set-coding-priority, make-coding-system, generic-char-p)
7059 (charset-list, charset-bytes, charset-id): Use declare to mark
7060 functions as obsolete.
7061
7062 * vc/pcvs-defs.el (cvs-buffer-name-alist)
7063 (cvs-invert-ignore-marks): Remove references to obsolete vars.
7064 * vc/vc-hooks.el (vc-default-registered): Don't use
7065 vc-master-templates.
7066
7067 * font-lock.el (font-lock-reference-face):
7068 Use define-obsolete-variable-alias.
7069
7070 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
7071 * calendar/calendar.el (calendar-font-lock-keywords):
7072 * calendar/diary-lib.el (diary-font-lock-keywords)
7073 (diary-fancy-font-lock-keywords):
7074 * textmodes/reftex-sel.el (reftex-insert-docstruct):
7075 * textmodes/reftex-index.el (reftex-insert-index):
7076 * textmodes/reftex-cite.el (reftex-format-bib-entry):
7077 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7078 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
7079 * progmodes/prolog.el (prolog-font-lock-keywords):
7080 * progmodes/idlwave.el (idlwave-idl-keywords):
7081 * progmodes/ada-mode.el (ada-font-lock-keywords):
7082 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
7083
7084 2012-09-24 Glenn Morris <rgm@gnu.org>
7085
7086 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
7087
7088 2012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
7089
7090 * progmodes/python.el (python-indent-line): More consistent cursor
7091 movement behavior.
7092
7093 2012-09-23 Stefan Merten <smerten@oekonux.de>
7094
7095 * textmodes/rst.el: Fix compiler warning.
7096
7097 2012-09-23 Roland Winkler <winkler@gnu.org>
7098
7099 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
7100 Transcribe also LaTeX hyphenation.
7101 (bibtex-reformat): Bug fix. Do not quote twice the elements of
7102 bibtex-reformat-previous-options.
7103
7104 2012-09-23 Roland Winkler <winkler@gnu.org>
7105
7106 * proced.el (proced-renice-command): New variable.
7107 (proced-marked-processes): New function.
7108 (proced-with-processes-buffer): New macro.
7109 (proced-send-signal): Use them.
7110 (proced-renice): New command bound to r.
7111
7112 2012-09-23 Roland Winkler <winkler@gnu.org>
7113
7114 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
7115 ibuffer-saved-filter-groups has one element, shortcut the call of
7116 completing-read. (Bug#12331)
7117
7118 2012-09-23 Chong Yidong <cyd@gnu.org>
7119
7120 * bindings.el (mode-line-toggle-read-only):
7121 * bs.el (bs-toggle-readonly):
7122 * buff-menu.el (Buffer-menu-toggle-read-only):
7123 * dired.el (dired-toggle-read-only):
7124 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
7125
7126 2012-09-23 Chong Yidong <cyd@gnu.org>
7127
7128 * image.el (image-type-available-p): Adapt to init-image-library
7129 argument changes.
7130
7131 2012-09-22 Juri Linkov <juri@jurta.org>
7132
7133 * dired.el (dired-mode-map): Add [remap read-only-mode] for
7134 `dired-toggle-read-only'. (Bug#12462)
7135
7136 2012-09-22 Martin Rudalics <rudalics@gmx.at>
7137
7138 * subr.el (temp-output-buffer-show): New function.
7139 (with-output-to-temp-buffer): Call temp-output-buffer-show
7140 instead of internal-temp-output-buffer-show.
7141
7142 2012-09-22 Chong Yidong <cyd@gnu.org>
7143
7144 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
7145 (Bug#12462).
7146
7147 * repeat.el (repeat): Doc fix (Bug#12348).
7148
7149 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
7150 (Bug#10909).
7151
7152 * simple.el (shell-command-on-region): Doc fix.
7153 (read-only-mode): Doc fix.
7154
7155 2012-09-22 Eli Zaretskii <eliz@gnu.org>
7156
7157 * emacs-lisp/timer.el (run-with-idle-timer)
7158 (timer-activate-when-idle): Warn against reinvoking an idle timer
7159 from within its own timer action. (Bug#12447)
7160
7161 2012-09-22 Martin Rudalics <rudalics@gmx.at>
7162
7163 * cus-start.el (window-combination-limit): Add new optional
7164 values.
7165 * window.el (temp-buffer-window-show)
7166 (window--try-to-split-window): Handle new values of
7167 window-combination-limit (Bug#1806).
7168 (split-window): Test window-combination-limit for t instead of
7169 non-nil.
7170 (display-buffer-at-bottom): New buffer display action function.
7171 * help.el (temp-buffer-resize-regexps): New option.
7172 (temp-buffer-resize-mode): Rewrite doc-string.
7173 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
7174 Don't resize reused window. Suggested by Glenn Morris.
7175
7176 2012-09-22 Stefan Merten <smerten@oekonux.de>
7177
7178 * textmodes/rst.el: Revamp section title faces.
7179 (rst-official-version)
7180 (rst-package-emacs-version-alist): Sync with official version
7181 V1.4.0.
7182 (rst-faces-defaults, rst-set-level-default)
7183 (rst-level-face-max, rst-level-face-base-color)
7184 (rst-level-face-base-light, rst-level-face-format-light)
7185 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
7186 (rst-adornment-faces-alist): Match new setup.
7187 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
7188 (rst-level-5, rst-level-6): New faces.
7189
7190 2012-09-22 Chong Yidong <cyd@gnu.org>
7191
7192 * simple.el (undo): Handle indirect buffers (Bug#8207).
7193
7194 2012-09-21 Leo Liu <sdl.web@gmail.com>
7195
7196 IDO: Disable match re-ordering for buffer switching.
7197 * ido.el (ido-buffer-disable-smart-matches): New variable.
7198 (ido-set-matches-1): Use it. (Bug#2042)
7199
7200 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
7201
7202 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
7203 Fix 2011-05-17 change. (Bug#12418)
7204
7205 2012-09-21 Leo Liu <sdl.web@gmail.com>
7206
7207 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
7208
7209 2012-09-21 Glenn Morris <rgm@gnu.org>
7210
7211 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
7212 Be more robust about locating simple.el.
7213
7214 2012-09-21 Glenn Morris <rgm@gnu.org>
7215
7216 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
7217
7218 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
7219
7220 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
7221
7222 2012-09-20 Juri Linkov <juri@jurta.org>
7223
7224 * replace.el (query-replace-read-from): Use `read-regexp' instead
7225 of `read-from-minibuffer' when `regexp-flag' is non-nil.
7226 (occur-read-primary-args): Use `read-regexp' instead of
7227 `read-string'.
7228 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
7229 `read-from-minibuffer'.
7230 * isearch.el (isearch-occur): Use `read-regexp' instead of
7231 `read-string'.
7232 * dired.el (dired-read-regexp): Use `read-regexp' instead of
7233 `read-from-minibuffer'.
7234 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
7235 of `read-string'. (Bug#7567)
7236
7237 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
7238 and allow accepting a list of strings prepended to a list of
7239 standard default values. Doc fix. (Bug#12321)
7240
7241 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
7242
7243 * replace.el (read-regexp): Don't add ": " when PROMPT already
7244 ends with a colon and space. (Bug#12321)
7245
7246 2012-09-20 Tassilo Horn <tsdh@gnu.org>
7247
7248 * doc-view.el (doc-view-display): Better fix for the cl-assertion
7249 error.
7250
7251 2012-09-20 Stefan Merten <smerten@oekonux.de>
7252
7253 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
7254 Fixes feature request bug#11711.
7255 (rst-mode): Create `imenu-create-index-function'.
7256 (rst-get-stripped-line): Delete after refactoring.
7257 (rst-section-tree, rst-section-tree-rec)
7258 (rst-section-tree-point): Refactor and document properly.
7259 (rst-imenu-find-adornments-for-position)
7260 (rst-imenu-convert-cell, rst-imenu-create-index):
7261 New function.
7262
7263 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
7264
7265 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
7266 (macroexp--expand-all): Use it.
7267 (macroexp--funcall-and-return): Remove by folding it into its sole
7268 caller (macroexp--warn-and-return).
7269 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
7270 Use macroexp--obsolete-warning.
7271
7272 * calc/calc.el: Fix last change by removing the whole chunk, since it
7273 was only needed back when Calc was not bundled.
7274
7275 2012-09-20 Martin Rudalics <rudalics@gmx.at>
7276
7277 * emacs-lisp/debug.el (debug): Restore assignment to
7278 debugger-old-buffer removed on 2012-09-08.
7279
7280 2012-09-20 Juri Linkov <juri@jurta.org>
7281
7282 * dired-aux.el (dired-diff): Remove (require 'diff) since
7283 `diff-latest-backup-file' is now autoloaded.
7284
7285 2012-09-20 Chong Yidong <cyd@gnu.org>
7286
7287 * vc/diff.el (diff-latest-backup-file): Autoload.
7288
7289 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
7290
7291 * calc/calc.el: Remove redundant autoload shape check.
7292 (sel-mode): Don't defvar.
7293 (calc-get-stack-element): Add `sel-mode' arg instead.
7294 (calc-top, calc-top-list): Pass it this additional argument.
7295 * calc/calc-store.el (calc-store-map):
7296 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
7297 (calc-map-equation, calc-outer-product, calc-inner-product):
7298 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
7299
7300 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
7301
7302 2012-09-19 Juri Linkov <juri@jurta.org>
7303
7304 * dired-aux.el (dired-diff): Add (require 'diff) because
7305 `diff-latest-backup-file' is not autoloaded.
7306 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
7307 of `dired-get-filename' to t to not report error when there is
7308 no default file on the current line.
7309
7310 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7311
7312 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
7313 macroexp--eval-if-compile.
7314 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
7315 (macroexp--expand-all): Use them (bug#12371).
7316
7317 * doc-view.el (doc-view-guess-paper-size)
7318 (doc-view-scale-bounding-box): Fix unbound `caddr'.
7319
7320 2012-09-19 Tassilo Horn <tsdh@gnu.org>
7321
7322 New feature: set optimal slice from BoundingBox information.
7323 * doc-view.el (doc-view-mode-map): Add keybinding.
7324 (doc-view-menu): Add menu entry.
7325 (doc-view-set-slice): Adapt docstring.
7326 (doc-view-get-bounding-box, doc-view-guess-paper-size)
7327 (doc-view-scale-bounding-box)
7328 (doc-view-set-slice-from-bounding-box): New functions.
7329 (doc-view-paper-sizes): New defvar.
7330
7331 2012-09-19 Glenn Morris <rgm@gnu.org>
7332
7333 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
7334 (byte-compile-log-warning): Autoload. (Bug#12371)
7335
7336 * calendar/calendar.el (calendar-american-month-header)
7337 (calendar-european-month-header, calendar-iso-month-header)
7338 (calendar-month-header): New options.
7339 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
7340 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
7341
7342 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
7343
7344 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
7345
7346 2012-09-18 Juri Linkov <juri@jurta.org>
7347
7348 * dired-aux.el (dired-diff): Restore original functionality of
7349 getting the default value, but keep new feature of using the
7350 latest existing backup file (`diff-latest-backup-file').
7351
7352 2012-09-18 Juri Linkov <juri@jurta.org>
7353
7354 * dired.el (dired-mark): If the region is active in Transient Mark
7355 mode, mark all files in the active region. Doc fix.
7356 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
7357 Doc fix. (Bug#10624)
7358
7359 2012-09-18 Juri Linkov <juri@jurta.org>
7360
7361 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
7362 attributes for M-n are pulled from the file at point.
7363 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
7364 Suggested by Drew Adams. (Bug#10624)
7365
7366 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
7367
7368 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
7369 whitespace after "end".
7370 (ruby-do-end-to-brace): Collapse block to one line if it fits
7371 within fill-column.
7372
7373 2012-09-18 Martin Rudalics <rudalics@gmx.at>
7374
7375 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
7376 value.
7377 (debug): Don't remove debugger window when debugger is expected
7378 to be back.
7379
7380 2012-09-18 Chong Yidong <cyd@gnu.org>
7381
7382 * custom.el (defface): Doc fix.
7383
7384 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
7385
7386 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
7387
7388 * progmodes/compile.el (compilation-start): Use compilation-always-kill
7389 to initialize query-on-exit; then test that instead (bug#12288).
7390
7391 2012-09-17 Stefan Merten <smerten@oekonux.de>
7392
7393 * textmodes/rst.el: Add support for `testcover'.
7394 (rst-defcustom-testcover, rst-testcover-add-compose)
7395 (rst-testcover-add-1value): New functions.
7396 (rst-portable-mark-active-p): Replace by `use-region-p'.
7397 (rst-update-section, rst-classify-adornment)
7398 (rst-find-title-line): Mark `1value' forms.
7399 (rst-classify-adornment): Remove superfluous form.
7400 (rst-update-section, rst-get-adornments-around)
7401 (rst-adornment-complete-p, rst-get-next-adornment)
7402 (rst-adjust, rst-promote-region)
7403 (rst-display-adornments-hierarchy, rst-straighten-adornments)
7404 (rst-find-pfx-in-region, rst-section-tree-rec)
7405 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
7406 (rst-toc-node, rst-toc, rst-forward-section)
7407 (rst-iterate-leftmost-paragraphs)
7408 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
7409 (rst-bullet-list-region)
7410 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
7411 (rst-compile-find-conf, rst-compile)
7412 (rst-repeat-last-character): Fix style.
7413
7414 2012-09-17 Chong Yidong <cyd@gnu.org>
7415
7416 * comint.el (comint--complete-file-name-data): Don't add a space
7417 if the status is `sole'; that adds a gratuitous space in the
7418 completion-cycling case (Bug#12092).
7419
7420 * pcomplete.el (pcomplete-completions-at-point): Likewise.
7421
7422 2012-09-17 Richard Stallman <rms@gnu.org>
7423
7424 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
7425 only in the mime-shown mode, not in raw mode.
7426 (rmail-mime): Toggle off mime by displaying the message without
7427 mime processing. (Bug#12305)
7428
7429 * mail/rmail.el (rmail-retry-failure):
7430 Turn off mime processing first. (Bug#12037)
7431
7432 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
7433
7434 2012-09-17 Chong Yidong <cyd@gnu.org>
7435
7436 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
7437 (shell-dynamic-complete-functions): Convert to defcustom.
7438 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
7439
7440 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
7441 * comint.el (comint-prompt-read-only):
7442 * custom.el (defcustom):
7443 * hi-lock.el (hi-lock-mode):
7444 * ibuffer.el (ibuffer-formats):
7445 * ielm.el (ielm-prompt-read-only):
7446 * novice.el (disable-command):
7447 * saveplace.el (toggle-save-place):
7448 * speedbar.el (speedbar-supported-extension-expressions):
7449 * startup.el (auto-save-list-file-prefix, init-file-user)
7450 (after-init-hook, inhibit-startup-echo-area-message):
7451 * strokes.el (strokes-help):
7452 * time-stamp.el (time-stamp):
7453 * calendar/calendar.el (calendar, diary-file):
7454 * calendar/diary-lib.el (diary-mail-entries, diary)
7455 (diary-list-entries-hook):
7456 * calendar/holidays.el (holidays, calendar-holidays):
7457 * calendar/lunar.el (lunar-phases):
7458 * calendar/solar.el (sunrise-sunset):
7459 * emulation/edt.el (edt-load-keys):
7460 * emulation/viper.el (viper-mode):
7461 * eshell/em-alias.el (eshell-command-aliases-list):
7462 * eshell/esh-util.el (eshell-convert-numeric-arguments):
7463 * international/ogonek.el (ogonek-information):
7464 * net/tramp-cmds.el (tramp-bug):
7465 * net/quickurl.el (quickurl-reread-hook-postfix):
7466 * play/decipher.el (decipher-font-lock-keywords):
7467 * progmodes/cc-styles.el (c-set-style):
7468 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
7469 * progmodes/inf-lisp.el (inferior-lisp-prompt):
7470 * progmodes/octave-mod.el (octave-mode):
7471 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
7472 * progmodes/verilog-mode.el (verilog-read-defines):
7473 * textmodes/two-column.el (2C-mode): Likewise.
7474
7475 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
7476
7477 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
7478 that holds many addresses.
7479
7480 2012-09-16 Chong Yidong <cyd@gnu.org>
7481
7482 * align.el (align-areas): Call the indication function with
7483 positions instead of markers for arguments (Bug#12343).
7484
7485 * files.el (parse-colon-path): Use split-string (Bug#12351).
7486
7487 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
7488 (display-buffer-function): Mark as obsolete.
7489
7490 * progmodes/compile.el (compilation-parse-errors): Accept list
7491 values similar to font-lock-keywords (Bug#12136).
7492 Suggested by Oleksandr Manzyuk.
7493 (compilation-error-regexp-alist): Doc fix.
7494
7495 2012-09-15 Glenn Morris <rgm@gnu.org>
7496
7497 * version.el (emacs-bzr-version-bzr): New function.
7498 (emacs-bzr-get-version): Add optional EXTERNAL argument.
7499
7500 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
7501 checkouts, check the parent dirstate matches the branch.
7502 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
7503 empty string.
7504
7505 * version.el (emacs-bzr-version): Doc fix.
7506 (emacs-bzr-version-dirstate): New function.
7507 (emacs-bzr-get-version): For lightweight checkouts, if the parent
7508 is local try and check that it matches the branch. If not, just
7509 use dirstate information. (Bug#12441)
7510
7511 2012-09-14 Juri Linkov <juri@jurta.org>
7512
7513 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
7514 (Bug#12399)
7515
7516 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
7517
7518 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
7519
7520 * emacs-lisp/edebug.el: Miscellaneous cleanup.
7521 Remove obsolete byte-compiler hack that tried to silence some warnings.
7522 (edebug-submit-bug-report): Remove.
7523 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
7524 Remove aliases, use the un-prefixed name instead.
7525 (edebug-pop-to-buffer): Consider other frames.
7526 (edebug-original-read):: Make it more obvious that it's always defined.
7527 (edebug--make-form-data-entry, edebug--form-data-name)
7528 (edebug--form-data-begin, edebug--form-data-end): Rename from the
7529 single-dashed name, and implement with cl-defstruct.
7530 (edebug-set-form-data-entry): Use the standard accessors.
7531 (edebug-make-top-form-data-entry): Use push.
7532 (edebug-no-match): Drop useless `funcall'.
7533 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
7534 to functions.
7535 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
7536 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
7537 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
7538 (easy-menu-define, with-custom-print): Remove redundant specs.
7539 (edebug-outside-overriding-local-map)
7540 (edebug-outside-overriding-terminal-local-map): Remove, unused.
7541 (edebug--display): Bind unread-command-events directly to nil rather
7542 than binding it to unread-command-events and later setting it to nil.
7543 (edebug--display): Kill edebug-eval-buffer here...
7544 (edebug--recursive-edit): ...rather than here.
7545 Bind standard-output and standard-input.
7546 (edebug-eval): Check cl-macroexpand-all is fboundp.
7547 (edebug-temp-display-freq-count): Fix last change.
7548
7549 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
7550 * subr.el (noreturn, 1value): Add `debug' spec.
7551 * emacs-lisp/advice.el: Require cl-lib.
7552 (ad-copy-tree): Remove, use copy-tree instead.
7553 (ad-dolist): Remove use dolist or cl-dolist instead.
7554 (ad-do-return): Remove, use cl-return instead.
7555 (defadvice): Add `debug' spec.
7556
7557 2012-09-13 Juri Linkov <juri@jurta.org>
7558
7559 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
7560 (Bug#12399)
7561
7562 2012-09-13 Glenn Morris <rgm@gnu.org>
7563
7564 * calc/calc.el (math-compose-expr):
7565 * calc/calc-ext.el (math-compose-expr):
7566 * progmodes/cc-defs.el (cl-macroexpand-all):
7567 * progmodes/cc-langs.el (delete-duplicates, mapcan)
7568 (cl-macroexpand-all): Update declarations.
7569
7570 * vc/vc.el: No need to require ediff.
7571 (ediff-load-version-control): Declare.
7572 (ediff-vc-internal): Fix declaration.
7573 (vc-version-ediff): Require ediff.
7574
7575 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
7576
7577 Use a more backwards-compatible timer format (Bug#12430).
7578 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
7579 being right after USECS, as that better supports old code that
7580 inadvisedly looked directly at the timer vector.
7581
7582 2012-09-13 Kenichi Handa <handa@gnu.org>
7583
7584 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
7585 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
7586 `coding-priority' property of these language environment.
7587
7588 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
7589
7590 Fix glitches caused by addition of psec to timers (Bug#12430).
7591 * image.el (image-animate-timer):
7592 * time.el (display-time-world-timer):
7593 Use timer--function and timer--args rather than raw access to
7594 timer vector.
7595
7596 2012-09-13 Glenn Morris <rgm@gnu.org>
7597
7598 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
7599 If not compiling a file, try using load-file-name.
7600
7601 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
7602
7603 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
7604 Fix last change.
7605 (edebug-update-eval-list): Use `push'.
7606
7607 * emacs-lisp/edebug.el: Use lexical-binding.
7608 Remove the "edebug-" prefix from non-dynamically-scoped variables.
7609 Mark unused args with underscore.
7610 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
7611 (edebug-form-data): Use defvar-local.
7612 (edebug-make-before-and-after-form, edebug-make-after-form):
7613 Use backquote.
7614 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
7615 Not dynamically scoped any more.
7616 (edebug--enter-trace): Add arguments `function' and `args'.
7617 Rename from edebug-enter-trace.
7618 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
7619 (edebug--update-coverage): Add `after-index' and `value' args.
7620 Rename from edebug-update-coverage.
7621 (edebug-slow-after): Call it accordingly.
7622 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
7623 edebug-recursive-edit.
7624 (edebug--display): Call it accordingly. Add args `value',
7625 `offset-index', and `arg-mode'. Rename from edebug-display.
7626 (edebug-debugger, edebug): Call it accordingly.
7627 (edebug-eval-display-list): Use dolist.
7628
7629 2012-09-12 Juri Linkov <juri@jurta.org>
7630
7631 * info.el (Info-search): Don't check for isearch-mode and
7632 isearch-regexp before let-binding search-spaces-regexp to
7633 Info-search-whitespace-regexp.
7634 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
7635 search-whitespace-regexp if isearch-lax-whitespace or
7636 isearch-regexp-lax-whitespace is non-nil.
7637 (Info-mode): Don't set local variable search-whitespace-regexp.
7638 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
7639
7640 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7641
7642 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
7643 (debugger-env-macro): Remove support for unread-command-char.
7644
7645 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
7646 the temporary map re-appearing on emulation-mode-map-alists.
7647
7648 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
7649 since 22.1.
7650
7651 * ehelp.el (with-electric-help): Accept functions in
7652 electric-help-form-to-execute.
7653 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
7654 And replace unread-command-char -> unread-command-events.
7655
7656 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
7657
7658 Sync with Tramp 2.2.6.
7659
7660 * net/tramp.el (tramp-accept-process-output): Don't use
7661 JUST-THIS-ONE in the XEmacs case.
7662
7663 * net/trampver.el: Update release number.
7664
7665 2012-09-12 Martin Rudalics <rudalics@gmx.at>
7666
7667 * emacs-lisp/debug.el (debugger-previous-window-height):
7668 New variable.
7669 (debug): When debugger-jumping-flag is non-nil try to restore
7670 height of debugger window. (Bug#8789)
7671
7672 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7673
7674 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
7675 overriding-local-map and pre/post-command-hook here.
7676 (edebug-recursive-edit): Do it here instead (bug#12345).
7677 (edebug-outside-unread-command-char): Remove all uses of
7678 unread-command-char.
7679
7680 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
7681 inhibit-debugger is bound instead.
7682
7683 2012-09-11 Bastien Guerry <bzg@gnu.org>
7684
7685 * subr.el (set-temporary-overlay-map): Add a docstring.
7686 (Bug#12346)
7687
7688 2012-09-11 Bastien Guerry <bzg@gnu.org>
7689
7690 * minibuffer.el (completion-table-subvert): Fix docstring.
7691 (Bug#12347)
7692
7693 2012-09-11 Bastien Guerry <bzg@gnu.org>
7694
7695 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
7696
7697 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
7698
7699 * progmodes/sql.el: Version 3.1
7700 (sql-db2-escape-newlines): New variable.
7701 (sql-escape-newlines-filter): Use it.
7702
7703 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
7704
7705 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
7706
7707 2012-09-10 Dan Nicolaescu <dann@gnu.org>
7708
7709 * vc/diff-mode.el (diff-mode-menu):
7710 Bind diff-remove-trailing-whitespace.
7711
7712 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
7713
7714 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
7715 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
7716 (emacs-lisp-byte-code-mode): New functions.
7717 (eval-sexp-add-defvars): Don't skip defvars in column >0.
7718 (eval-defun-2): Remove bogus interactive spec.
7719 (lisp-indent-line): Remove redundant whole-exp code, now done in
7720 indent-according-to-mode.
7721 (save-match-data): Remove redundant indent data.
7722
7723 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
7724 Use `declare'.
7725
7726 2012-09-09 Juri Linkov <juri@jurta.org>
7727
7728 * replace.el (replace-regexp-lax-whitespace): New defcustom.
7729 (replace-lax-whitespace, query-replace-regexp)
7730 (query-replace-regexp-eval, replace-regexp): Doc fix.
7731 (perform-replace, replace-highlight): Let-bind
7732 isearch-lax-whitespace to replace-lax-whitespace and
7733 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
7734
7735 * isearch.el (isearch-query-replace): Let-bind
7736 replace-lax-whitespace to isearch-lax-whitespace and
7737 replace-regexp-lax-whitespace to
7738 isearch-regexp-lax-whitespace. (Bug#10885)
7739
7740 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
7741
7742 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
7743
7744 2012-09-09 Alan Mackenzie <acm@muc.de>
7745
7746 * progmodes/cc-engine.el (c-state-cache-init):
7747 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
7748 (c-record-parse-state-state):
7749 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
7750
7751 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
7752
7753 * register.el (register-separator): Rename from
7754 separator-register. All uses changed. Doc fix.
7755 (register): Fix version.
7756
7757 2012-09-09 Chong Yidong <cyd@gnu.org>
7758
7759 * replace.el (query-replace-map): Bind four new symbols for
7760 requesting window scrolling.
7761
7762 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
7763 query-replace-map (Bug#8948).
7764
7765 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
7766
7767 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
7768 since they are now in query-replace-map.
7769
7770 * window.el (scroll-other-window-down): Make the arg optional.
7771
7772 2012-09-09 Chong Yidong <cyd@gnu.org>
7773
7774 * files.el (hack-local-variables-confirm): Use quit-window to kill
7775 the *Local Variables* buffer.
7776
7777 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
7778
7779 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
7780 not just expect to be at its beginning. Adjust callees.
7781 Succeed when do-end block has no space before the pipe character.
7782 (ruby-brace-to-do-end): When the original block is one-liner,
7783 convert to multiline. Reindent the result.
7784
7785 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
7786
7787 * register.el (register): New group.
7788 (separator-register): New user option.
7789 (increment-register): Route it to `append-to-register', if
7790 register contains text. Implication is that `C-x r +' can now be
7791 used for appending to a text register (bug#12217).
7792 (append-to-register, prepend-to-register): Add separator based on
7793 `separator-register'.
7794
7795 2012-09-08 Alan Mackenzie <acm@muc.de>
7796
7797 AWK Mode: make auto-newline work when there's "==" in the pattern.
7798 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
7799 correctly.
7800 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
7801 Test more rigorously for "=" token.
7802
7803 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
7804
7805 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
7806 Only fail when reached LIMIT.
7807
7808 2012-09-08 Chong Yidong <cyd@gnu.org>
7809
7810 * dired.el (dired-mode-map): Don't bind M-=.
7811
7812 * dired-aux.el (dired-diff): Use backup file as default.
7813
7814 2012-09-08 Drew Adams <drew.adams@oracle.com>
7815
7816 * subr.el (add-to-history): Fix delete usage (Bug#12314).
7817
7818 2012-09-08 Chong Yidong <cyd@gnu.org>
7819
7820 * subr.el (syntax-after, syntax-class): Doc fix.
7821
7822 2012-09-08 Martin Rudalics <rudalics@gmx.at>
7823
7824 * window.el (display-buffer-in-previous-window): New buffer
7825 display action function.
7826
7827 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
7828 (debugger-previous-window): New variable.
7829 (debug): Rewrite using display-buffer-in-previous-window,
7830 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
7831
7832 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
7833
7834 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
7835
7836 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
7837
7838 * progmodes/python.el (python-shell-send-string):
7839 When default-directory is remote, create temp file on remote
7840 filesystem.
7841 (python-shell-send-file): When file is remote, pass local view of
7842 file paths to remote Python interpreter. (Bug#12340)
7843
7844 2012-09-07 Chong Yidong <cyd@gnu.org>
7845
7846 * window.el (switch-to-buffer): Doc fix (Bug#12181).
7847
7848 * files.el (after-find-file): Don't fail on a read-only buffer if
7849 require-final-newline is `visit' or `visit-save' (Bug#11156).
7850
7851 * subr.el (read-char-choice): Allow quitting via ESC ESC.
7852
7853 * userlock.el (ask-user-about-supersession-threat):
7854 Use read-char-choice (Bug#12093).
7855
7856 2012-09-07 Chong Yidong <cyd@gnu.org>
7857
7858 * subr.el (buffer-narrowed-p): New function.
7859
7860 * ses.el (ses-widen):
7861 * simple.el (count-words--buffer-message):
7862 * net/browse-url.el (browse-url-of-buffer): Use it.
7863
7864 * simple.el (count-words-region): Don't signal an error if there
7865 is a non-nil prefix arg and the mark is not set.
7866
7867 * help.el (describe-key-briefly): Allow the message to be seen
7868 when invoked from the minibuffer (Bug#7014).
7869
7870 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
7871
7872 * progmodes/ruby-mode.el (ruby-end-of-defun)
7873 (ruby-beginning-of-defun): Simplify, allow indentation before
7874 block beginning and end keywords.
7875 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
7876 (ruby-end-of-defun): Expect that the point is at the beginning of
7877 the defun.
7878
7879 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7880
7881 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
7882 (bug#12367).
7883 (cl--make-usage-args): Strip _ from argument names.
7884
7885 2012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7886
7887 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
7888 obsolete alias speedbar-key-map.
7889 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
7890 (vhdl-index-menu-init): Don't use obsolete variable
7891 font-lock-maximum-size.
7892
7893 2012-09-06 Chong Yidong <cyd@gnu.org>
7894
7895 * frame.el (window-system-version): Mark as obsolete.
7896
7897 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
7898 of obsolete variable speedbar-key-map.
7899
7900 2012-09-06 Juri Linkov <juri@jurta.org>
7901
7902 * replace.el (replace-lax-whitespace): New defcustom.
7903 (query-replace, query-replace-regexp, query-replace-regexp-eval)
7904 (replace-string, replace-regexp): Mention it in docstrings.
7905 (perform-replace, replace-highlight): Let-bind
7906 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
7907 to the values of replace-lax-whitespace and regexp-flag.
7908 Don't let-bind search-whitespace-regexp. (Bug#10885)
7909
7910 * isearch.el (isearch-query-replace): Let-bind
7911 replace-lax-whitespace instead of let-binding
7912 replace-search-function and replace-re-search-function.
7913 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
7914 and isearch-regexp-lax-whitespace to lazy-highlight variables.
7915 (isearch-toggle-symbol): Set isearch-regexp to nil
7916 in isearch-word mode (like in isearch-toggle-word).
7917
7918 2012-09-06 Juri Linkov <juri@jurta.org>
7919
7920 * replace.el (replace-search-function)
7921 (replace-re-search-function): Set default values to nil.
7922 (perform-replace): Let-bind isearch-related variables based on
7923 replace-related values, call `isearch-search-fun' and let-bind
7924 the result to `search-function'. Remove code that sets
7925 `search-function' and `search-string' separately for
7926 `delimited-flag'.
7927 (replace-highlight): Add new argument `delimited-flag' and
7928 rename other arguments to the names used in `perform-replace'.
7929 Let-bind `isearch-word' to the argument `delimited-flag'.
7930 (Bug#10885, bug#10887)
7931
7932 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
7933
7934 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
7935 ruby-beginning-of-indent, simplify, allow all keywords to have
7936 indentation before them.
7937 (ruby-beginning-of-indent): Adjust for above. Search until the
7938 found point is not inside a string or comment.
7939 (ruby-font-lock-keywords): Allow symbols to start with "@"
7940 character, give them higher priority than variables.
7941 (ruby-syntax-propertize-function)
7942 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
7943 matchers. Expression expansions are not comments when inside a
7944 string, and there comment syntax status is irrelevant.
7945 (ruby-match-expression-expansion): New function. Check that
7946 expression expansion is inside a string, and it's not escaped.
7947 (ruby-font-lock-keywords): Use it.
7948
7949 2012-09-05 Martin Rudalics <rudalics@gmx.at>
7950
7951 * help.el (temp-buffer-max-height): New default value.
7952 (temp-buffer-resize-frames): New option.
7953 (resize-temp-buffer-window): Optionally resize frame.
7954
7955 * window.el (fit-frame-to-buffer-bottom-margin): New option.
7956 (fit-frame-to-buffer): New function.
7957
7958 2012-09-05 Glenn Morris <rgm@gnu.org>
7959
7960 * emulation/cua-rect.el (cua--init-rectangles):
7961 * textmodes/picture.el (picture-mode-map):
7962 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
7963 like forward-char and backward-char. (Bug#12317)
7964
7965 2012-09-05 Leo Liu <sdl.web@gmail.com>
7966
7967 * progmodes/flymake.el (flymake-warning-re): New variable.
7968 (flymake-parse-line): Use it.
7969
7970 2012-09-05 Glenn Morris <rgm@gnu.org>
7971
7972 * calendar/holidays.el (holiday-christian-holidays):
7973 Rename an entry. (Bug#12289)
7974
7975 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
7976
7977 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
7978 (bug#12222).
7979
7980 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
7981
7982 * loadup.el: Load macroexp. Remove hack.
7983 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
7984 (macroexp--expand-all): Use it to get better warnings.
7985 (macroexp--backtrace, macroexp--trim-backtrace-frame)
7986 (internal-macroexpand-for-load): New functions.
7987 (macroexp--pending-eager-loads): New var.
7988 (emacs-startup-hook): New hack to replace one in loadup.el.
7989 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
7990 (cl--compiler-macro-cXXr): Move to top, before they can be used.
7991 (cl-psetf): Simplify.
7992 (cl-defstruct): Add indent rule.
7993
7994 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
7995
7996 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
7997 over `user-mail-address' for the SMTP MAIL FROM envelope.
7998 (smtpmail-via-smtp): Ditto.
7999
8000 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
8001
8002 * progmodes/ruby-mode.el: Clean up keybindings.
8003 (ruby-mode-map): Don't bind ruby-electric-brace,
8004 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
8005 backward-kill-word, reindent-then-newline-and-indent.
8006 (ruby-mark-defun): Remove.
8007 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
8008 (ruby-mode): Set local beginning-of-defun-function and
8009 end-of-defun-function values.
8010
8011 2012-09-03 Martin Rudalics <rudalics@gmx.at>
8012
8013 * window.el (temp-buffer-window-setup-hook)
8014 (temp-buffer-window-show-hook): New hooks.
8015 (temp-buffer-window-setup, temp-buffer-window-show)
8016 (with-temp-buffer-window): New functions.
8017 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
8018 (special-display-popup-frame): Make sure the window used shows BUFFER.
8019
8020 * help.el (temp-buffer-resize-mode): Fix doc-string.
8021 (resize-temp-buffer-window): New optional argument WINDOW.
8022
8023 * files.el (recover-file, save-buffers-kill-emacs):
8024 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
8025
8026 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
8027
8028 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
8029 remote definition of `default-directory', ensure we can connect.
8030
8031 2012-09-02 Juri Linkov <juri@jurta.org>
8032
8033 Toggle whitespace matching mode with M-s SPC.
8034 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
8035
8036 * isearch.el (search-whitespace-regexp): Doc fix.
8037 Remove cons cell customization.
8038 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
8039 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
8040 New variables.
8041 (isearch-forward, isearch-forward-regexp): Doc fix.
8042 (isearch-toggle-lax-whitespace): New command.
8043 (search-forward-lax-whitespace, search-backward-lax-whitespace)
8044 (re-search-forward-lax-whitespace)
8045 (re-search-backward-lax-whitespace): New functions.
8046 (isearch-whitespace-regexp): Remove function.
8047 (isearch-query-replace): Let-bind replace-search-function and
8048 replace-re-search-function.
8049 (isearch-occur): Let-bind search-spaces-regexp according to the
8050 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
8051 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
8052 condition for C-q SPC.
8053 (isearch-search-fun-default): Use new functions mentioned above.
8054 (isearch-search-forward, isearch-search-backward): Remove functions.
8055 (isearch-search): Don't let-bind search-spaces-regexp.
8056 (isearch-lazy-highlight-space-regexp): Remove variable.
8057 (isearch-lazy-highlight-lax-whitespace)
8058 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
8059 (isearch-lazy-highlight-new-loop): Use them.
8060 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
8061
8062 2012-09-02 Chong Yidong <cyd@gnu.org>
8063
8064 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
8065
8066 2012-09-02 Glenn Morris <rgm@gnu.org>
8067
8068 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
8069
8070 2012-09-01 Glenn Morris <rgm@gnu.org>
8071
8072 * term.el: Tidy up menu definitions.
8073 (term-mode-map): Use easymenu for In/Out, Complete menus.
8074 (term-pager-break-map): Initialize in the defvar.
8075 (term-terminal-menu, term-signals-menu): Define with easymenu.
8076 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
8077 (term-pager-menu): New, extracted from term-process-pager.
8078 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
8079 (term-update-mode-line): Propertize line/char and page items.
8080 (term-process-pager): Move keymap initialization elsewhere.
8081
8082 2012-09-01 Martin Rudalics <rudalics@gmx.at>
8083
8084 * window.el (switch-to-prev-buffer): Handle additional values of
8085 BURY-OR-KILL argument. Don't switch in minibuffer window.
8086 (switch-to-next-buffer): Don't switch in minibuffer window.
8087 (quit-restore-window): New function based on quit-window.
8088 Handle additional values of former KILL argument.
8089 (quit-window): Call quit-restore-window with appropriate
8090 interpretation of KILL argument.
8091 (display-buffer-below-selected): New buffer display action
8092 function.
8093
8094 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
8095
8096 * minibuffer.el (completion-at-point-functions): Complete docstring
8097 (bug#12254).
8098
8099 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
8100
8101 Better seed support for (random).
8102 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
8103 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
8104 * play/mpuz.el, play/tetris.el, play/zone.el:
8105 * calc/calc-comb.el (math-init-random-base):
8106 * play/blackbox.el (bb-init-board):
8107 * play/life.el (life):
8108 * server.el (server-use-tcp):
8109 * type-break.el (type-break):
8110 Remove unnecessary call to (random t).
8111 * net/sasl.el (sasl-unique-id-function):
8112 Change (random t) to (random), now that the latter is more random.
8113 * play/life.el (life-initialized): Remove no-longer-needed var.
8114
8115 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
8116
8117 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
8118 Consider frame's buffer predicate when choosing the buffer.
8119 (Bug#12081)
8120
8121 2012-08-30 Richard Stallman <rms@gnu.org>
8122
8123 * simple.el (special-mode-map): Delete binding for `z'.
8124
8125 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
8126
8127 * progmodes/compile.el (compilation-always-kill): Doc fix.
8128
8129 2012-08-30 Chong Yidong <cyd@gnu.org>
8130
8131 * window.el (display-buffer-reuse-frames): Make the obsolescence
8132 message more informative.
8133
8134 2012-08-30 Glenn Morris <rgm@gnu.org>
8135
8136 * paren.el (show-paren-delay):
8137 Add a :set function. Doc fix. (Bug#12297)
8138
8139 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
8140
8141 * progmodes/compile.el (compilation-always-kill): New var.
8142 (compilation-start): Use it.
8143
8144 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
8145
8146 * simple.el (read-only-mode): Move from files.el for bootstrapping.
8147 * files.el (read-only-mode): Move to simple.el.
8148
8149 * files.el (read-only-mode): New minor mode.
8150 (toggle-read-only): Use it and mark obsolete.
8151 (find-file--read-only):
8152 * vc/vc.el (vc-next-action, vc-checkout):
8153 * vc/vc-cvs.el (vc-cvs-checkout):
8154 * obsolete/vc-mcvs.el (vc-mcvs-update):
8155 * ffap.el (ffap--toggle-read-only): Update callers.
8156
8157 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
8158
8159 * eshell/esh-ext.el (eshell-external-command): Do not examine
8160 remote shell scripts.
8161 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
8162
8163 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
8164 "/usr/local/sbin".
8165
8166 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
8167
8168 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
8169
8170 2012-08-28 Leo Liu <sdl.web@gmail.com>
8171
8172 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
8173 completion-at-point. (Bug#12220)
8174
8175 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
8176
8177 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
8178
8179 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
8180
8181 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
8182 be buffer-local; add delete-trailing-whitespace (bug#12259).
8183
8184 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
8185
8186 * progmodes/hideif.el (hif-compress-define-list):
8187 Fix typo. (Bug#11951)
8188
8189 2012-08-28 Dan Nicolaescu <dann@gnu.org>
8190
8191 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
8192 buffer local setting.
8193
8194 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
8195 rcirc-encode-coding-system.
8196
8197 2012-08-28 Leo Liu <sdl.web@gmail.com>
8198
8199 * net/rcirc.el (rcirc-split-message): New function.
8200 (rcirc-send-message): Use it. (Bug#12051)
8201
8202 2012-08-28 Juri Linkov <juri@jurta.org>
8203
8204 * info.el (Info-fontify-node): Hide empty lines at the end of
8205 the node. (Bug#12272)
8206
8207 2012-08-27 Drew Adams <drew.adams@oracle.com>
8208
8209 * dired.el (dired-pop-to-buffer): Make window start at beginning
8210 of buffer (Bug#12281).
8211
8212 2012-08-26 Chong Yidong <cyd@gnu.org>
8213
8214 * window.el (special-display-regexps, special-display-frame-alist)
8215 (special-display-buffer-names, special-display-function)
8216 (display-buffer-reuse-frames): Mark as obsolete.
8217
8218 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
8219
8220 * help.el (help-print-return-message): Don't treat
8221 display-buffer-reuse-frames specially.
8222
8223 2012-08-26 Chong Yidong <cyd@gnu.org>
8224
8225 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
8226 New variable, replacing gdb-frame-parameters.
8227 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
8228 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
8229 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
8230 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
8231 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
8232 the functions directly with gdb-display-buffer-other-frame-action.
8233 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
8234 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
8235 (gdb-display-stack-buffer, gdb-display-locals-buffer)
8236 (gdb-display-registers-buffer): Define directly.
8237 (def-gdb-display-buffer): Macro deleted.
8238 (gdb-display-buffer): Remove second and third args, callers don't
8239 use them. Defer to the default display-buffer behavior, apart
8240 from making windows dedicated.
8241 (gdb-setup-windows): Don't call display-buffer unnecessarily.
8242
8243 * progmodes/gud.el (gud-display-line): Just use display-buffer.
8244
8245 * window.el (display-buffer-pop-up-frame): Handle a
8246 pop-up-frame-parameters alist entry.
8247 (display-buffer): Document it.
8248
8249 2012-08-26 Chong Yidong <cyd@gnu.org>
8250
8251 * isearch.el (search-whitespace-regexp): Make string and nil
8252 values apply to both ordinary and regexp search. Allow a cons
8253 cell value to distinguish between the two.
8254 (isearch-whitespace-regexp, isearch-search-forward)
8255 (isearch-search-backward): New functions.
8256 (isearch-occur, isearch-search-fun-default, isearch-search)
8257 (isearch-lazy-highlight-new-loop): Use them.
8258 (isearch-forward, isearch-forward-regexp): Doc fix.
8259
8260 2012-08-26 Chong Yidong <cyd@gnu.org>
8261
8262 * faces.el (help-argument-name): Always inherit from italic
8263 (Bug#12213).
8264
8265 2012-08-25 Martin Rudalics <rudalics@gmx.at>
8266
8267 * window.el (window--even-window-heights): Even heights when
8268 WINDOW and the selected window form a vertical combination.
8269 (display-buffer-use-some-window): Provide that window used gets
8270 sized back by quit-window. (Bug#11880) and (Bug#12091)
8271
8272 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
8273
8274 Fix file time stamp problem with bzr and CVS (Bug#12001).
8275 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
8276 in the file's time stamp, since the version control system loses
8277 that information.
8278
8279 2012-08-22 Juri Linkov <juri@jurta.org>
8280
8281 * info.el (Info-fontify-node): Hide the suffix of the
8282 Info file name in the header line. (Bug#12187)
8283
8284 2012-08-22 Glenn Morris <rgm@gnu.org>
8285
8286 * calendar/cal-tex.el (cal-tex-weekly-common):
8287 Restore leading blank page.
8288
8289 2012-08-22 Le Wang <l26wang@gmail.com>
8290
8291 * misc.el (forward-to-word, backward-to-word): Activate or extend
8292 the region under `shift-select-mode'. (Bug#12231)
8293
8294 2012-08-22 Bastien Guerry <bzg@gnu.org>
8295
8296 * progmodes/executable.el (executable-prefix): Set to "#!" instead
8297 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
8298 gives details on why the space is never needed.
8299
8300 2012-08-22 Martin Rudalics <rudalics@gmx.at>
8301
8302 * window.el (walk-window-tree, window-with-parameter):
8303 New optional argument MINIBUF to control whether these functions
8304 should run on the minibuffer window.
8305 (window-at-side-list): Don't operate on minibuffer window.
8306 (window-in-direction): Simplify and rewrite doc-string.
8307 (window--size-ignore): Rename to window--size-ignore-p.
8308 Update callers.
8309 (display-buffer-in-atom-window, window--major-non-side-window)
8310 (window--major-side-window, display-buffer-in-major-side-window)
8311 (delete-side-window, display-buffer-in-side-window):
8312 New functions.
8313 (window--side-check, window-deletable-p, delete-window)
8314 (delete-other-windows, split-window): Handle side windows and
8315 atomic windows appropriately.
8316 (window--display-buffer): Call display-buffer-record-window also
8317 when the window buffer did not change.
8318
8319 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
8320
8321 * help-fns.el (help-fns--key-bindings):
8322 Abbreviate non-symbol remap targets. (Bug#12174)
8323
8324 2012-08-22 Martin Rudalics <rudalics@gmx.at>
8325
8326 * dired.el (dired-mark-remembered): Don't clobber point.
8327 (Bug#11795)
8328
8329 2012-08-22 Glenn Morris <rgm@gnu.org>
8330
8331 * progmodes/bug-reference.el (bug-reference): New custom group.
8332 (bug-reference-bug-regexp): Make it a defcustom.
8333
8334 2012-08-22 Daiki Ueno <ueno@unixuser.org>
8335
8336 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
8337 (js-paren-indent-offset, js-square-indent-offset)
8338 (js-curly-indent-offset): Add :safe (Bug#12257).
8339
8340 2012-08-22 Edward O'Connor <hober0@gmail.com>
8341
8342 * json.el (json-key-format): Add error properties.
8343 (json-encode-key): New function.
8344 (json-encode-hash-table, json-encode-alist, json-encode-plist):
8345 Use json-encode-key.
8346
8347 2012-08-22 Glenn Morris <rgm@gnu.org>
8348
8349 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
8350 (cal-tex-leftday, cal-tex-rightday): Remove functions.
8351 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
8352 Update for above change.
8353
8354 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
8355
8356 * cus-face.el (custom-face-attributes): Fix customize type for the
8357 :underline attribute. (Bug#11805)
8358
8359 2012-08-21 Martin Rudalics <rudalics@gmx.at>
8360
8361 * window.el (window-point-1, set-window-point-1): Remove.
8362 (window-in-direction, record-window-buffer)
8363 (set-window-buffer-start-and-point, split-window-below)
8364 (window--state-get-1, display-buffer-record-window):
8365 Replace calls to window-point-1 and set-window-point-1 by calls to
8366 window-point and set-window-point respectively.
8367
8368 2012-08-21 Glenn Morris <rgm@gnu.org>
8369
8370 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
8371 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
8372 Use it.
8373
8374 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
8375 (cal-tex-shortday): New function.
8376 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
8377 (cal-tex-cursor-filofax-daily): Use the above.
8378
8379 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
8380 New functions.
8381 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
8382 (cal-tex-cursor-filofax-week): Use them.
8383
8384 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
8385 New constants.
8386 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
8387 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
8388
8389 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
8390 (cal-tex-end-document): Don't rely on buffer name.
8391
8392 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
8393 Use cal-tex-vspace.
8394 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
8395 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
8396 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
8397 Use cal-tex-arg.
8398
8399 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
8400 (cal-tex-cursor-week, cal-tex-cursor-week2)
8401 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
8402 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
8403 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
8404 (cal-tex-insert-preamble, cal-tex-b-document)
8405 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
8406 Improve cal-tex-cmd usage.
8407
8408 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
8409 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
8410 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
8411 (cal-tex-weekly-paper): New function.
8412 (cal-tex-cursor-week, cal-tex-cursor-week2)
8413 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
8414 (cal-tex-cursor-day): Use it.
8415
8416 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
8417 (cal-tex-cursor-filofax-week): Remove leading blank page.
8418
8419 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
8420 Add autoload cookie. For now at least, don't use color, since
8421 no other cal-tex function does.
8422
8423 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
8424 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
8425 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
8426
8427 2012-08-21 Juri Linkov <juri@jurta.org>
8428
8429 * info.el (Info-file-attributes): New variable.
8430 (info-insert-file-contents): Add file attributes to
8431 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
8432 `Info-toc-nodes' when previous modtime of the Info file is less
8433 than new modtime.
8434 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
8435 of info.el. (Bug#12230)
8436
8437 2012-08-20 Glenn Morris <rgm@gnu.org>
8438
8439 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
8440 * calendar/holidays.el (calendar-holiday-list):
8441 Report errors with display-warning rather than beep'n'sleep.
8442
8443 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
8444
8445 * net/tramp.el (tramp-accept-process-output): Accept only output
8446 from PROC. Otherwise, process filters and sentinels might be
8447 confused. (Bug#12145)
8448
8449 2012-08-20 Chong Yidong <cyd@gnu.org>
8450
8451 * descr-text.el (describe-text-properties-1): Use overlays-in to
8452 report on empty overlays (Bug#3322).
8453
8454 2012-08-20 Glenn Morris <rgm@gnu.org>
8455
8456 * mail/rmailout.el (rmail-output-read-file-name):
8457 Trap and report errors in rmail-output-file-alist elements.
8458
8459 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
8460 since most non-font-lock faces are not also variables).
8461
8462 2012-08-20 Edward Reingold <reingold@iit.edu>
8463
8464 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
8465 New function. (Bug12160)
8466
8467 2012-08-19 Glenn Morris <rgm@gnu.org>
8468
8469 * mail/rmailout.el (rmail-output-read-file-name):
8470 Fix previous change (when the alist is nil or does not match).
8471
8472 2012-08-19 Chong Yidong <cyd@gnu.org>
8473
8474 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
8475 (Bug#12228).
8476
8477 2012-08-18 Chong Yidong <cyd@gnu.org>
8478
8479 * simple.el (yank-handled-properties): New defcustom.
8480 (yank-excluded-properties): Add font-lock-face and category.
8481 (yank): Doc fix.
8482
8483 * subr.el (remove-yank-excluded-properties):
8484 Obey yank-handled-properties. The special handling of font-lock-face
8485 and category is now done this way, instead of being hard-coded.
8486 (insert-for-yank-1): Remove font-lock-face handling.
8487 (yank-handle-font-lock-face-property)
8488 (yank-handle-category-property): New function.
8489
8490 2012-08-17 Glenn Morris <rgm@gnu.org>
8491
8492 * mail/rmailout.el (rmail-output-read-file-name):
8493 Check rmail-output-file-alist against the full message body
8494 in the correct rmail buffer. (Bug#12214)
8495
8496 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
8497
8498 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
8499 Eliminate superfluous prompt. (Bug#12203)
8500
8501 2012-08-17 Chong Yidong <cyd@gnu.org>
8502
8503 * mouse.el (mouse-appearance-menu): If x-select-font returns a
8504 font spec, set the font directly (Bug#3228).
8505
8506 2012-08-17 Martin Rudalics <rudalics@gmx.at>
8507
8508 * window.el (delete-window): Fix last fix.
8509
8510 2012-08-16 Martin Rudalics <rudalics@gmx.at>
8511
8512 * window.el (window-valid-p): Move to window.c.
8513 (window-child, window-child-count, window-last-child)
8514 (window-normalize-window, window-combined-p)
8515 (window-combinations, window-atom-root, window-min-size)
8516 (window-sizable, window-sizable-p, window-size-fixed-p)
8517 (window-min-delta, window-max-delta, window--resizable)
8518 (window--resizable-p, window-resizable, window-total-size)
8519 (window-full-height-p, window-full-width-p, window-body-size)
8520 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
8521 (minimize-window, window-deletable-p, delete-window)
8522 (delete-other-windows, set-window-buffer-start-and-point)
8523 (next-buffer, previous-buffer, split-window, balance-windows-2)
8524 (set-window-text-height, window-buffer-height)
8525 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
8526 (truncated-partial-width-window-p): Minor code adjustments.
8527 In doc-strings state whether the argument window has to denote a
8528 live, valid or any window.
8529
8530 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
8531
8532 * progmodes/subword.el (subword-forward-function)
8533 (subword-backward-function, subword-forward-regexp)
8534 (subword-backward-regexp): New variables.
8535 (subword-forward, subword-forward-internal, subword-backward-internal):
8536 Use new variables, eg so that different "word" definitions
8537 can be easily used. (Bug#11411)
8538
8539 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
8540
8541 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
8542 for composite selectors.
8543 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
8544 operation just because we can't find a previous revision.
8545
8546 2012-08-15 Chong Yidong <cyd@gnu.org>
8547
8548 * frame.el (set-frame-font): Accept font objects.
8549
8550 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
8551
8552 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
8553
8554 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
8555
8556 * man.el (Man-overstrike-face, Man-underline-face)
8557 (Man-reverse-face): Remove variables.
8558 (Man-overstrike, Man-underline, Man-reverse): New faces.
8559 (Man-fontify-manpage): Use them instead of the variables.
8560 (Man-cleanup-manpage): Comment change.
8561 (Man-ansi-color-map): New variable.
8562 (Man-fontify-manpage): Use it.
8563 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
8564
8565 Implement ANSI SGR parameters 22-27 (bug#12146).
8566 * ansi-color.el (ansi-colors): Doc fix.
8567 (ansi-color-context, ansi-color-context-region): Doc fix.
8568 (ansi-color--find-face): New function.
8569 (ansi-color-apply, ansi-color-apply-on-region): Use it.
8570 Rename the local variable `face' to `codes' since it is now a list of
8571 ansi codes. Doc fix.
8572 (ansi-color-get-face): Remove.
8573 (ansi-color-parse-sequence): New function, derived from
8574 ansi-color-get-face.
8575 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
8576 codes 22-27.
8577
8578 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
8579
8580 * subr.el (read-passwd): Allow use from a minibuffer.
8581
8582 2012-08-14 Eli Zaretskii <eliz@gnu.org>
8583
8584 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
8585 inside comments and strings as identifiers.
8586
8587 * progmodes/gud.el (gud-tooltip-print-command): Quote the
8588 expression to evaluate. This allows to evaluate expressions with
8589 embedded whitespace.
8590 (gud-tooltip-tips): Add a blank before the newline in the
8591 message-box text, for the benefit of message-box emulation on
8592 MS-Windows.
8593
8594 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
8595 messages from GDB, pop them up in a tooltip to give feedback to
8596 user.
8597 (gdb-tooltip-print-1): Quote the expression to evaluate.
8598 This allows to evaluate expressions with embedded whitespace.
8599 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
8600 if the TTY name is nil or empty (which happens when communicating
8601 with the inferior via pipes, e.g. on MS-Windows).
8602 (gdb-internals): If GDB sends a "&\n" empty debugging message,
8603 don't send that to the GUD buffer.
8604
8605 2012-08-14 Glenn Morris <rgm@gnu.org>
8606
8607 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
8608 Optimize away setq-default with no args, as for setq. (Bug#12195)
8609
8610 2012-08-14 Chong Yidong <cyd@gnu.org>
8611
8612 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
8613
8614 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
8615 (Bug#12085).
8616
8617 2012-08-14 Glenn Morris <rgm@gnu.org>
8618
8619 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
8620
8621 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
8622
8623 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
8624 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
8625 Use cached shell name.
8626
8627 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
8628
8629 * progmodes/python.el (python-shell-send-string):
8630 (python-shell-send-setup-code): Do not use `format' with `message'.
8631
8632 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
8633
8634 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
8635 (ruby-percent-literal-beg-re): New constant.
8636 (ruby-syntax-general-delimiters-goto-beg): Rename to
8637 `ruby-syntax-enclosing-percent-literal', improve literal type check.
8638 (ruby-syntax-propertize-general-delimiters): Rename to
8639 `ruby-syntax-propertize-percent-literal', it's a shorter and more
8640 popular term. Adjust comments everywhere.
8641 (ruby-syntax-propertize-percent-literal): Only propertize when not
8642 inside a simple string or comment. When the literal is unclosed,
8643 leave the text after it unpropertized.
8644 (ruby-syntax-methods-before-regexp): New constant.
8645 (ruby-syntax-propertize-function): Use it to recognize regexps.
8646 Don't look at the text after regexp, just use the whitelist.
8647
8648 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
8649
8650 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
8651 non-nil always load the compiled file if it exists. (Bug#12197)
8652
8653 2012-08-14 Chong Yidong <cyd@gnu.org>
8654
8655 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
8656 (hi-lock-set-pattern): When deciding whether to use font lock or
8657 overlays, look at font-lock-mode instead of font-lock-fontified
8658 (Bug#12168).
8659 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
8660 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
8661
8662 2012-08-14 Daiki Ueno <ueno@unixuser.org>
8663
8664 * subr.el (internal--after-with-selected-window): Fix typo
8665 (Bug#12193).
8666
8667 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
8668
8669 Use `completion-table-dynamic' for completion functions.
8670 * progmodes/python.el
8671 (python-shell-completion--do-completion-at-point)
8672 (python-shell-completion--get-completions):
8673 Remove functions.
8674 (python-shell-completion-complete-at-point): New function.
8675 (python-completion-complete-at-point): Use it.
8676
8677 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
8678
8679 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
8680 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
8681
8682 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
8683
8684 * subr.el (function-get): Refine `autoload' arg so it can also
8685 autoload functions for gv.el (bug#12191).
8686 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
8687 autoloads macros.
8688
8689 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
8690 Prefer pcase-let over destructuring-bind.
8691 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
8692 Also, remove whitespace as we go, rather than after accumulating the
8693 various places.
8694
8695 * subr.el (internal--before-with-selected-window)
8696 (internal--after-with-selected-window): Fix typo seleted->selected.
8697 (with-selected-window): Adjust callers.
8698 Reported by Dmitry Gutov <dgutov@yandex.ru>.
8699
8700 2012-08-13 Bastien Guerry <bzg@gnu.org>
8701
8702 * window.el (special-display-popup-frame): Minor docstring
8703 enhancement. (Bug#12172)
8704
8705 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
8706
8707 * tar-mode.el (tar-header-data-end): Only ignore size for files of
8708 type 1-6.
8709 (tar-header-block-summarize, tar-get-descriptor): Handle pax
8710 extended headers.
8711
8712 * files.el (hack-local-variables-filter): Remove useless eval.
8713
8714 2012-08-13 Martin Rudalics <rudalics@gmx.at>
8715
8716 * subr.el (with-selected-window): Fix last change.
8717
8718 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
8719
8720 * subr.el (internal--before-with-seleted-window)
8721 (internal--after-with-seleted-window): New functions.
8722 (with-selected-window): Use them, to replace dependency on
8723 tty-top-frame.
8724
8725 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
8726
8727 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
8728 binding for `newline'.
8729 (ruby-move-to-block): When moving backward, stop at block opening,
8730 not indentation.
8731 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
8732 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
8733 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
8734 `ruby-toggle-block'.
8735
8736 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
8737
8738 * ibuffer.el (ibuffer-do-toggle-read-only):
8739 * dired.el (dired-toggle-read-only):
8740 * buff-menu.el (Buffer-menu-toggle-read-only):
8741 * bindings.el (mode-line-toggle-read-only):
8742 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
8743
8744 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
8745
8746 * descr-text.el (describe-char): Put the overlays over the
8747 "displayed as" character.
8748
8749 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
8750
8751 * calc/calc-units.el (math-default-units-table): Give an
8752 initial value.
8753 (math-put-default-units): Add options to put composite units and
8754 unit systems in the default units table.
8755 (calc-convert-units): Send composite units to
8756 `math-put-default-units' when appropriate.
8757
8758 2012-08-11 Glenn Morris <rgm@gnu.org>
8759
8760 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
8761
8762 * tutorial.el (help-with-tutorial):
8763 * emacs-lisp/copyright.el (copyright-update-directory):
8764 * emacs-lisp/autoload.el (autoload-find-generated-file)
8765 (autoload-find-file): Disable local eval: (for insurance).
8766
8767 * files.el (hack-local-variables-filter): If an eval: form is not
8768 known to be safe, and enable-local-variables is :safe, then ignore
8769 the form totally, as is done for non-eval forms. (Bug#12155)
8770 This is CVE-2012-3479.
8771
8772 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
8773
8774 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
8775 (rx-form): Simplify.
8776
8777 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
8778
8779 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
8780 ?, _, and : are symbol constituents, ! is not (but kinda should be).
8781 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
8782 (ruby-syntax-propertize-function): Adjust for changes in
8783 `ruby-syntax-propertize-heredoc'.
8784
8785 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
8786
8787 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
8788 binding (use `M-;' instead).
8789 (ruby-singleton-class-p): New function.
8790 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
8791
8792 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
8793
8794 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
8795
8796 2012-08-10 Chong Yidong <cyd@gnu.org>
8797
8798 * progmodes/python.el (python-shell-get-process-name): Don't mess
8799 with same-window-buffer-names.
8800
8801 * eshell/eshell.el (eshell-add-to-window-buffer-names)
8802 (eshell-remove-from-window-buffer-names): Make obsolete.
8803 (eshell-buffer-name, eshell-unload-hook): Don't use them.
8804 (eshell): Just use pop-to-buffer-same-window instead.
8805
8806 2012-08-10 Chong Yidong <cyd@gnu.org>
8807
8808 * bindings.el: Bind M-= back to count-words-region.
8809
8810 * simple.el (count-words-region): Accept a prefix arg for acting
8811 on the entire buffer.
8812 (count-words--buffer-message): New helper function.
8813
8814 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
8815
8816 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
8817 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
8818 (event-start, event-end): Use posn-at-point to return a more
8819 informative posn.
8820 (posnp): New function.
8821 * mouse.el (popup-menu-normalize-position): Use it.
8822
8823 2012-08-10 Masatake YAMATO <yamato@redhat.com>
8824
8825 * mouse.el (popup-menu-normalize-position): New function.
8826 (popup-menu): Use `popup-menu-normalize-position' to normalize
8827 the form for POSITION argument.
8828
8829 * term/x-win.el (x-menu-bar-open):
8830 Use the value returend from (posn-at-point) as position
8831 passed to `popup-menu'.
8832
8833 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
8834
8835 * calc/calccomp.el (math-compose-expr): Add extra argument
8836 indicating that parentheses should be put around products in
8837 denominators. Give multiplication precedence over division during
8838 composition.
8839
8840 2012-08-09 Chong Yidong <cyd@gnu.org>
8841
8842 * man.el (Man-switches, Man-sed-command, Man-awk-command)
8843 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
8844 (Man-untabify-command, manual-program): Convert to defcustom
8845 (Bug#10429).
8846
8847 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
8848
8849 * descr-text.el (describe-char): Don't insert extra newlines
8850 (Bug#10127).
8851
8852 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
8853 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
8854
8855 * align.el (align-region): Delete temporary markers (Bug#10047).
8856 Plus some code cleanups.
8857
8858 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
8859
8860 * progmodes/python.el (python-pdbtrack-tracked-buffer)
8861 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
8862 (python-shell-internal-last-output): Use make-local-variable
8863 instead of make-variable-buffer-local.
8864
8865 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
8866
8867 * progmodes/python.el: Enhancements to forward-sexp.
8868 (python-nav-forward-sexp): Rename from
8869 python-nav-forward-sexp-function.
8870 (python-nav--forward-sexp, python-nav--backward-sexp):
8871 New functions.
8872
8873 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
8874
8875 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
8876 modes and simplification modes.
8877
8878 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
8879
8880 * delsel.el (delete-selection-pre-hook): Don't propagate the
8881 file-supersession signals (bug#12161).
8882
8883 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8884
8885 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
8886 (cl-map-extents): Add compatibility aliases (bug#12135).
8887
8888 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
8889
8890 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
8891 tests by `ignore-error'.
8892 (tramp-find-shell): Open also a new shell, when cache is already
8893 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
8894
8895 2012-08-08 Juri Linkov <juri@jurta.org>
8896
8897 * bookmark.el: Add `defaults' property to the bookmark record.
8898 (bookmark-current-buffer): Doc fix.
8899 (bookmark-make-record): Add `defaults' property with default values
8900 to the bookmark record.
8901 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
8902 with `bookmark-insert-current-bookmark'.
8903 (bookmark-set): Get `defaults' property from the bookmark record
8904 and use it in `read-from-minibuffer'.
8905 (bookmark-insert-current-bookmark): Remove function.
8906
8907 * info.el (Info-bookmark-make-record): Add `defaults' property
8908 with values of canonical Info node name, the current Info file
8909 name and the current Info node name. (Bug#12107)
8910
8911 2012-08-08 Juri Linkov <juri@jurta.org>
8912
8913 * files.el (basic-save-buffer): Use `buffer-name' as the default
8914 of `read-file-name' when buffer is not visiting a file (bug#12128).
8915
8916 2012-08-08 Juri Linkov <juri@jurta.org>
8917
8918 * info.el (Info-isearch-search): Doc fix.
8919 (Info-search): Change search-failed message from "initial node" to
8920 "end of node" (bug#12078).
8921 (Info-isearch-search): Change `isearch-string-state' to
8922 `isearch--state-string'.
8923
8924 2012-08-08 Glenn Morris <rgm@gnu.org>
8925
8926 * language/persian.el: Remove file.
8927 * language/misc-lang.el: Move unique part of persian.el here.
8928 * loadup.el: Remove language/persian.
8929
8930 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
8931
8932 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
8933
8934 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
8935
8936 * progmodes/python.el: Fix defsubst warning.
8937 (python-syntax-context) Rename from python-info-ppss-context.
8938 (python-syntax-context-type): Rename from
8939 python-info-ppss-context-type.
8940 (python-syntax-comment-or-string-p): Rename from
8941 python-info-ppss-comment-or-string-p.
8942
8943 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
8944
8945 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
8946
8947 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
8948
8949 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
8950 a defcustom that is quoted with backquote.
8951
8952 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
8953 Fix handling of interactive spec when the body uses return.
8954 (math-do-arg-check, math-define-function-body): Use backquote forms.
8955 * calc/calc-ext.el (math-defcache): Likewise.
8956 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
8957 * allout.el (allout-new-exposure): Likewise.
8958 * calc/calcalg2.el (math-tracing-integral): Likewise.
8959 * info.el (Info-last-menu-item): Likewise.
8960 * emulation/vip.el (vip-loop): Likewise.
8961 * textmodes/artist.el (artist-funcall): Likewise.
8962 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
8963 Construct menu-item directly.
8964
8965 * progmodes/autoconf.el (font-lock-syntactic-keywords):
8966 Don't declare.
8967
8968 2012-08-07 Chong Yidong <cyd@gnu.org>
8969
8970 * simple.el (deactivate-mark): Preserve text properties when
8971 saving the primary selection (Bug#8384).
8972
8973 2012-08-07 Kevin Ryde <user42@zip.com.au>
8974
8975 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
8976 (woman-parse-numeric-value): On a bad .IP line, issue a warning
8977 and continue processing (Bug#12110).
8978
8979 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
8980
8981 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
8982 syntax-propertize-function (bug#10095).
8983
8984 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
8985
8986 * help-fns.el (help-fns--key-bindings, help-fns--signature)
8987 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
8988 describe-function-1.
8989 (describe-function-1): Use them. Move compiler macro after sig.
8990 (help-fns--compiler-macro): Use function-get. Assume we're already in
8991 standard-output. Adjust layout to new call order.
8992
8993 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
8994 re-binding a symbol that has a symbol-macro (bug#12119).
8995
8996 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
8997
8998 * language/persian.el: New file. (Bug#11812)
8999 * loadup.el: Add language/persian.el.
9000
9001 2012-08-06 Chong Yidong <cyd@gnu.org>
9002
9003 * window.el (window--maybe-raise-frame): New function.
9004 (window--display-buffer): Split off from here.
9005 (display-buffer-reuse-window, display-buffer-pop-up-frame)
9006 (display-buffer-pop-up-window, display-buffer-use-some-window):
9007 Obey an inhibit-switch-frame action alist entry.
9008 (display-buffer): Update doc.
9009
9010 * replace.el (occur-after-change-function): Avoid losing focus by
9011 using the inhibit-switch-frame display parameter (Bug#12139).
9012
9013 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
9014
9015 Make internal shell process buffer names start with space.
9016 * progmodes/python.el (python-shell-make-comint): Add optional
9017 argument INTERNAL.
9018 (run-python-internal): Use it.
9019 (python-shell-internal-get-or-create-process): Check for new
9020 internal buffer names.
9021
9022 2012-08-06 Glenn Morris <rgm@gnu.org>
9023
9024 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
9025 Do less getting and setting of environment variables.
9026
9027 2012-08-05 Chong Yidong <cyd@gnu.org>
9028
9029 * proced.el (proced): Add substitution string to docstring to
9030 trigger autoloading of the proced library on C-h f (Bug#1768).
9031
9032 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
9033 Don't show defvars which have no second argument (Bug#8638).
9034
9035 * imenu.el (imenu-generic-expression): Move documentation here
9036 from imenu--generic-function.
9037 (imenu--generic-function): Refer to imenu-generic-expression.
9038
9039 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
9040
9041 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
9042 indentation declaration.
9043 (viper-loop): Add indentation declaration (Bug#7025).
9044
9045 2012-08-05 Chong Yidong <cyd@gnu.org>
9046
9047 * help-fns.el (describe-variable): Add hyperlink for
9048 directory-local variables files. Improve buffer-local and
9049 permanent-local reporting; suggested by MON KEY (Bug#6644).
9050
9051 * help-mode.el (help-dir-local-var-def): New button type.
9052
9053 * files.el (kill-buffer-hook): Provide a defvar.
9054
9055 2012-08-05 Glenn Morris <rgm@gnu.org>
9056
9057 * eshell/esh-ext.el (eshell/addpath):
9058 Also update eshell-path-env. (Bug#12013)
9059
9060 2012-08-05 Chong Yidong <cyd@gnu.org>
9061
9062 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
9063
9064 * fringe.el (fringe-styles): Add docstring.
9065 (fringe--check-mode): New function.
9066 (set-fringe-mode, set-fringe-style): Use it.
9067 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
9068
9069 * files.el (set-auto-mode): Fix invalid setq call.
9070
9071 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
9072
9073 * isearch.el: Misc simplification; use defstruct.
9074 (isearch-mode-map): Dense maps now work like sparse ones.
9075 (isearch--state): New defstruct.
9076 (isearch-string-state, isearch-message-state, isearch-point-state)
9077 (isearch-success-state, isearch-forward-state)
9078 (isearch-other-end-state, isearch-word-state, isearch-error-state)
9079 (isearch-wrapped-state, isearch-barrier-state)
9080 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
9081 replaced by defstruct's accessors.
9082 (isearch--set-state): Rename from isearch-top-state and change
9083 calling convention.
9084 (isearch-push-state): Use new isearch--get-state.
9085 (isearch-toggle-word): Disable regexp when enabling word.
9086 (isearch-message-prefix): Remove unused arg _c-q-hack.
9087 (isearch-message-suffix): Remove unused arg _ellipsis.
9088
9089 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
9090
9091 * simple.el (list-processes--refresh): For a server use :host or
9092 :local as the address.
9093 (list-processes): Doc fix.
9094
9095 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
9096
9097 * lisp/mpc.el: Support password in host argument.
9098 (mpc--proc-connect): Parse and use new password element.
9099 Set mpc-proc variable instead of returning process.
9100 (mpc-proc): Adjust accordingly.
9101
9102 2012-08-03 Eli Zaretskii <eliz@gnu.org>
9103
9104 * whitespace.el (whitespace-display-mappings): Use Unicode
9105 codepoints, instead of emacs-mule codepoints. See
9106 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
9107 for the details.
9108
9109 * files.el (file-truename): Don't skip symlink-chasing part on
9110 windows-nt. Incorporate the resolution of 8+3 short aliases on
9111 Windows into the loop that recursively chases symlinks.
9112 Compare directory and its parent case-insensitively on MS-Windows and
9113 MS-DOS.
9114
9115 2012-08-03 Chong Yidong <cyd@gnu.org>
9116
9117 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
9118
9119 * sort.el (sort-regexp-fields): Doc fix.
9120
9121 2012-08-03 Tassilo Horn <tsdh@gnu.org>
9122
9123 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
9124 labels regex position point at the expected place.
9125
9126 2012-08-03 MON KEY <monkey@sandpframing.com>
9127
9128 * net/imap.el (imap-interactive-login, imap-authenticate)
9129 (imap-mailbox-lsub, imap-mailbox-list)
9130 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
9131 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
9132 (imap-parse-response): Doc fix.
9133
9134 2012-08-03 João Távora <joaotavora@gmail.com>
9135
9136 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
9137 if sexp scanning does not move point (Bug#5734).
9138
9139 2012-08-02 Tassilo Horn <tsdh@gnu.org>
9140
9141 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
9142 Add listings, minted, and ctable packages.
9143 (reftex-label-alist-builtin): Move listings, minted, and ctable
9144 entries before LaTeX.
9145 (reftex-label-alist): Docfix.
9146
9147 2012-08-02 Bastien Guerry <bzg@gnu.org>
9148
9149 * replace.el (occur): Fix docstring (bug#12122).
9150
9151 2012-08-02 Glenn Morris <rgm@gnu.org>
9152
9153 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
9154
9155 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
9156
9157 Obsolete alias inactivate-current-input-method-function (Bug#10150).
9158 * international/mule-cmds.el: Create
9159 inactivate-current-input-method-function as an obsolete alias for
9160 deactivate-current-input-method-function. See Katsumi Yamaoka in
9161 <http://bugs.gnu.org/10150#46>.
9162
9163 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
9164
9165 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
9166 of nested `if's.
9167
9168 2012-08-01 Glenn Morris <rgm@gnu.org>
9169
9170 * progmodes/autoconf.el (autoconf-definition-regexp):
9171 Add AH_TEMPLATE, adjust submatch numbering.
9172 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
9173 (autoconf-current-defun-function): Update for above change.
9174 (autoconf-current-defun-function): First skip to end of current word.
9175
9176 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
9177
9178 * calendar/cal-html.el (cal-html-insert-agenda-days):
9179 Fix typo. (Bug#12018)
9180
9181 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
9182
9183 Shell processes: enhancements to startup and CEDET compatibility.
9184 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
9185 (python-shell-make-comint): accept-process-output at startup.
9186 (run-python-internal): Set inferior-python-mode-hook to nil.
9187 (python-shell-internal-get-or-create-process): call sit-for.
9188 (python-preoutput-result): Add obsolete alias.
9189 (python-shell-internal-send-string): Use it.
9190 (python-shell-send-setup-code): Remove call to
9191 accept-process-output.
9192
9193 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
9194
9195 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
9196 (Bug#12108)
9197
9198 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
9199
9200 * calc-mode.el (calc-basic-simplification-mode): Rename from
9201 `calc-limited-simplification-mode'.
9202 (calc-alg-simplification-mode): New function.
9203 (calc-set-simplify-mode): Adjust message.
9204
9205 * calc.el (calc-set-mode-line): Adjust mode line display for
9206 basic simplification mode.
9207
9208 * calc-help.el (calc-m-prefix-help): Update help message.
9209
9210 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
9211 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
9212
9213 2012-07-31 Bastien Guerry <bzg@gnu.org>
9214
9215 * man.el (man): Fix comment. (bug#12101)
9216
9217 2012-07-31 Martin Rudalics <rudalics@gmx.at>
9218
9219 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
9220 Don't return a non-nil value when no suitable buffer was found.
9221
9222 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
9223
9224 * progmodes/python.el (run-python-internal): Disable font lock for
9225 internal shells.
9226
9227 2012-07-30 Stefan Merten <smerten@oekonux.de>
9228
9229 * textmodes/rst.el: Silence `checkdoc-ispell'.
9230 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
9231 (rst-official-version, rst-official-cvs-rev)
9232 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
9233 (rst-mode-map): New key binding.
9234
9235 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
9236
9237 Update .PHONY listings in makefiles.
9238 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
9239 autoloads, update-subdirs, updates, bzr-update, update-authors,
9240 compile-onefile, compile-calc, backup-compiled-files,
9241 compile-after-backup, compile-one-process, mh-autoloads,
9242 bootstrap-clean, distclean, maintainer-clean.
9243
9244 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
9245
9246 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
9247 (calc-set-mode-line): Don't display "AlgSimp ".
9248
9249 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
9250 (calc-lim-simplify-mode): New function.
9251 (calc-set-simplify-mode): Default to 'alg.
9252 (calc-default-simplify-mode): Make algebraic simplifications
9253 the default.
9254
9255 * calc/calc-ext.el (calc-init-extensions): Remove binding for
9256 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
9257
9258 * calc/calc-help.el (calc-m-prefix-help): Change messages to
9259 indicate new simplification modes.
9260
9261 * calc/README: Mention new default simplification mode.
9262
9263 * calc/calc.el (math-normalize-error): New variable.
9264 (math-normalize): Set `math-normalize-error' to t
9265 when there's an error.
9266
9267 * calc/calc-alg.el (math-simplify): Don't simplify when
9268 `math-normalize' returns an error.
9269
9270 2012-07-29 Eli Zaretskii <eliz@gnu.org>
9271
9272 * international/mule-cmds.el (set-locale-environment): Revert last
9273 change, since display-graphic-p returns nil when this function is
9274 called during startup. Instead...
9275
9276 * term/w32console.el (terminal-init-w32console): ...setup the
9277 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
9278
9279 2012-07-29 Juri Linkov <juri@jurta.org>
9280
9281 * simple.el (goto-line): Don't display default line number in the
9282 prompt because it should be displayed by `read-number' (bug#9952).
9283 Add the current line number to the defaults of `goto-line' to
9284 allow its easier modification by users with `M-n' (bug#9201).
9285
9286 * subr.el (read-number): Support multiple default values like in
9287 other minibuffer reading functions. Replace `read' with
9288 `string-to-number' for consistency with `number-to-string'.
9289
9290 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
9291
9292 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
9293 * emulation/viper-init.el (viper-deactivate-input-method-action):
9294 Rename from viper-inactivate-input-method-action.
9295 (viper-deactivate-input-method):
9296 Rename from viper-inactivate-input-method.
9297 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
9298 * international/mule-cmds.el (deactivate-input-method):
9299 Rename from inactivate-input-method.
9300 Also run input-method-deactivate-hook.
9301 (deactivate-current-input-method-function):
9302 Rename from inactivate-current-input-method-function.
9303 (input-method-deactivate-hook): New hook.
9304 (input-method-inactivate-hook): Mark obsolete.
9305 (inactivate-input-method): Mark obsolete.
9306
9307 * international/quail.el (quail-activate):
9308 Also run quail-deactivate-hook.
9309 (quail-deactivate): Rename from quail-inactivate.
9310 * international/robin.el (robin-activate):
9311 Also run robin-deactivate-hook.
9312 (robin-deactivate): Rename from robin-inactivate.
9313
9314 2012-07-29 Chong Yidong <cyd@gnu.org>
9315
9316 * simple.el (indicate-copied-region): New function.
9317 (kill-ring-save): Split off from here.
9318
9319 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
9320 (kill-rectangle): Set deactivate-mark to t on read-only error.
9321
9322 * register.el (copy-to-register, copy-rectangle-to-register):
9323 Deactivate the mark, and use indicate-copied-region (Bug#10056).
9324 (append-to-register, prepend-to-register): Call indicate-copied-region.
9325
9326 2012-07-29 Juri Linkov <juri@jurta.org>
9327
9328 * simple.el (async-shell-command-buffer): New defcustom.
9329 (shell-command): Use it. (Bug#4719)
9330
9331 2012-07-28 Eli Zaretskii <eliz@gnu.org>
9332
9333 * international/mule-cmds.el (set-locale-environment): In a
9334 console session on MS-Windows, set up keyboard and terminal
9335 encoding from the OEM codepage, not the ANSI codepage.
9336 (Bug#12055)
9337
9338 2012-07-28 Chong Yidong <cyd@gnu.org>
9339
9340 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
9341 gdb-get-location.
9342
9343 2012-07-28 Leo Liu <sdl.web@gmail.com>
9344
9345 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
9346 the alist (bug#12029).
9347
9348 2012-07-28 Eli Zaretskii <eliz@gnu.org>
9349
9350 * makefile.w32-in (custom-deps, finder-data, updates, compile)
9351 (compile-always, compile-first)
9352 ($(lisp)/calendar/cal-loaddefs.el)
9353 ($(lisp)/calendar/diary-loaddefs.el)
9354 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
9355 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
9356 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
9357 instead of on update-subdirs.
9358 (bootstrap-clean): Delete $(lisp)/subdirs.el.
9359
9360 2012-07-28 Chong Yidong <cyd@gnu.org>
9361
9362 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
9363 directory if vc-deduce-backend returns nil (Bug#7350).
9364
9365 * simple.el (delete-trailing-lines): New option.
9366 (delete-trailing-whitespace): Obey it (Bug#11879).
9367
9368 2012-07-28 David Engster <deng@randomsample.de>
9369
9370 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
9371 Explanation of new 'symbol-qnames feature in doc-strings.
9372 (xml-maybe-do-ns): Return expanded names as plain symbols if
9373 'symbol-qnames was provided in XML-NS argument (Bug#11916).
9374 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
9375
9376 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
9377
9378 Consistent completion in inferior python with emacs -nw.
9379 * progmodes/python.el (inferior-python-mode): replace "<tab>"
9380 binding in inferior-python-mode-map with "\t".
9381 (python-shell-completion-complete-at-point)
9382 (python-completion-complete-at-point): Remove interactive spec.
9383
9384 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
9385
9386 * calc/calccomp.el (math-compose-expr): Undo previous change.
9387
9388 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
9389
9390 * progmodes/python.el (python-mode-map): Add keybinding for
9391 run-python.
9392 (python-shell-make-comint): Fix pop-to-buffer call.
9393 (run-python): Autoload. New arg SHOW.
9394 (python-shell-get-or-create-process): Do not pop python process
9395 buffer.
9396
9397 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
9398
9399 * notifications.el (notifications-on-action-signal)
9400 (notifications-on-closed-signal): Use also the bus address for the map.
9401 (notifications-notify, notifications-close-notification)
9402 (notifications-get-capabilities): Add optional argument BUS.
9403
9404 2012-07-27 Tassilo Horn <tsdh@gnu.org>
9405
9406 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
9407 Add support for the lstlisting and minted environments, and for the
9408 ctable macro.
9409 * textmodes/reftex.el (reftex-compile-variables): Also recognize
9410 labels written in keyvals syntax.
9411
9412 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
9413
9414 * calc/calccomp.el (math-compose-expr): Use parentheses when
9415 there is a product in the denominator of a fraction.
9416
9417 2012-07-26 Eli Zaretskii <eliz@gnu.org>
9418
9419 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
9420 ($(lisp)/calendar/diary-loaddefs.el)
9421 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
9422 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
9423 Fixes failures in parallel bootstrap because subdirs.el is being
9424 rewritten while the autoload files are built at the same time,
9425 which needs to load subdirs.el.
9426
9427 2012-07-26 Martin Rudalics <rudalics@gmx.at>
9428
9429 * mouse.el (popup-menu): Fix doc-string and re-indent code.
9430 (mouse-drag-line): Don't exit tracking when a switch-frame or
9431 switch-window event occurs (Bug#12006).
9432
9433 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
9434
9435 * mouse.el (popup-menu): Fix last change.
9436
9437 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
9438
9439 Autoload from Lisp with more care. Follow aliases when looking for
9440 function properties.
9441 * subr.el (autoloadp): New function.
9442 (symbol-file): Use it.
9443 (function-get): New function.
9444 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
9445 autoload-do-load.
9446 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
9447 (lisp-indent-function):
9448 * emacs-lisp/gv.el (gv-get):
9449 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
9450 * emacs-lisp/byte-opt.el (byte-optimize-form):
9451 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
9452 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
9453 Use function-get.
9454 * emacs-lisp/cl.el: Don't propagate function properties any more.
9455
9456 * speedbar.el (speedbar-add-localized-speedbar-support):
9457 * emacs-lisp/disass.el (disassemble-internal):
9458 * desktop.el (desktop-load-file):
9459 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
9460 (describe-function-1):
9461 * emacs-lisp/find-func.el (find-function-noselect):
9462 * emacs-lisp/elp.el (elp-instrument-function):
9463 * emacs-lisp/advice.el (ad-has-proper-definition):
9464 * apropos.el (apropos-safe-documentation, apropos-macrop):
9465 * emacs-lisp/debug.el (debug-on-entry):
9466 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
9467 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
9468 * calc/calc.el (name): Use autoloadp & autoload-do-load.
9469
9470 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
9471
9472 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
9473 function, not an obsolete variable (Bug#12046).
9474
9475 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
9476
9477 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
9478
9479 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
9480
9481 * emacs-lisp/pp.el (pp-display-expression): Select old selected
9482 window only if it is still live (Bug#12034).
9483
9484 2012-07-25 Martin Rudalics <rudalics@gmx.at>
9485
9486 * subr.el (redirect-frame-focus): Add advertised calling
9487 convention (Bug#12030).
9488
9489 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
9490
9491 Prefer typical American spelling for "acknowledgment".
9492 * vc/add-log.el (change-log-acknowledgment): Rename from
9493 change-log-acknowledgement, with an alias for the old name.
9494
9495 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
9496
9497 * calc-alg.el (math-simplify-divide): Don't cross multiply
9498 in an equation when the lhs is a variable.
9499
9500 2012-07-24 Julien Danjou <julien@danjou.info>
9501
9502 * net/netrc.el (netrc-find-service-number, netrc-store-data):
9503 Remove, unused.
9504
9505 2012-07-23 Eli Zaretskii <eliz@gnu.org>
9506
9507 * startup.el (command-line): Don't display an empty user name in
9508 the error message about non-existent home directory, when
9509 init-file-user was set to an empty string. See
9510 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
9511 for the details and context.
9512
9513 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
9514
9515 * ses.el (ses-cell-formula-aset): New macro.
9516 (ses-cell-references-aset): New macro.
9517 (ses-cell-p): New function.
9518 (ses-rename-cell): Do no longer rely on complex operations like
9519 ses-cell-set-formula or ses-set-cell to change the cell and handle
9520 the undo at the same time, but rather use lower level new macros
9521 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
9522 the undo directly. Refresh the mode line.
9523
9524 2012-07-21 Leo Liu <sdl.web@gmail.com>
9525
9526 * progmodes/cc-cmds.el (c-defun-name):
9527 Use match-string-no-properties instead for consistency.
9528
9529 2012-07-20 Leo Liu <sdl.web@gmail.com>
9530
9531 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
9532 (Bug#7879)
9533
9534 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
9535
9536 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
9537
9538 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
9539 * progmodes/bug-reference.el, misearch.el: Provide themselves
9540 (bug#11915).
9541
9542 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
9543 of narrowed buffer (bug#11966).
9544
9545 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
9546
9547 * ses.el (ses-rename-cell): Set new name also in reference list of
9548 cells of which the renamed cell depends.
9549
9550 2012-07-20 Masatake YAMATO <yamato@redhat.com>
9551
9552 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
9553 to check whether menu-bar is shown or not. If not shown,
9554 show the menu-bar as a popup menu instead of using tmm.
9555 * mouse.el (popup-menu): Accept `point' as `position' argument.
9556
9557 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
9558
9559 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
9560 up inside string symbol literal (bug#11923).
9561
9562 2012-07-20 Eli Zaretskii <eliz@gnu.org>
9563
9564 * startup.el (fancy-startup-text): Read the whole tutorial, not
9565 just its first 256 bytes. Prevents gibberish in display of the
9566 tutorial title.
9567
9568 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
9569
9570 Drop idle buffer compaction due to an absence of the
9571 proved efficiency.
9572 * compact.el: Remove.
9573
9574 2012-07-19 Sam Steingold <sds@gnu.org>
9575
9576 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
9577 vc-bzr-pull & vc-bzr-merge-branch.
9578 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
9579 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
9580 for consistency with compilation-error-regexp-alist.
9581 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
9582 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
9583 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
9584 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
9585
9586 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
9587
9588 * emacs-lisp/chart.el: Use lexical-binding.
9589 (chart-emacs-storage): Don't hardcode the list of entries.
9590
9591 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
9592
9593 Next round of tweaks caused by Fgarbage_collect changes.
9594 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
9595
9596 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
9597
9598 Compact buffers when idle.
9599 * compact.el: New file.
9600
9601 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
9602
9603 * subr.el (eventp): Presume that if it looks vaguely like an event,
9604 it's an event (bug#10190).
9605
9606 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
9607
9608 Enhancements to ppss related code (thanks Stefan).
9609 * progmodes/python.el (python-indent-context)
9610 (python-indent-calculate-indentation, python-indent-dedent-line)
9611 (python-indent-electric-colon, python-nav-forward-block)
9612 (python-mode-abbrev-table)
9613 (python-info-assignment-continuation-line-p): Simplify checks
9614 for ppss context.
9615 (python-info-continuation-line-p): Cleanup.
9616 (python-info-ppss-context): Do not catch 'quote.
9617 (python-info-ppss-context-type)
9618 (python-info-ppss-comment-or-string-p): Simplify.
9619
9620 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
9621
9622 * progmodes/python.el: Enhancements to eldoc support.
9623 (python-info-current-symbol): New function.
9624 (python-eldoc-at-point): Use python-info-current-symbol.
9625 (python-info-current-defun): Fix cornercase on first defun scan.
9626 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
9627 and signal error when no inferior python process is available.
9628
9629 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
9630
9631 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
9632 assume it's always t.
9633 (vc-git-registered): Remove caching, the function is only called
9634 once.
9635 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
9636
9637 2012-07-18 Chong Yidong <cyd@gnu.org>
9638
9639 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
9640
9641 * simple.el (count-words): Report on narrowing (Bug#9959).
9642
9643 * bindings.el: Bind M-= to count-words.
9644
9645 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
9646
9647 2012-07-18 Masatake YAMATO <yamato@redhat.com>
9648
9649 * progmodes/sh-script.el (sh-imenu-generic-expression):
9650 Capture a function with `function' keyword and without parentheses
9651 like "function FOO" (bug#11856).
9652
9653 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
9654
9655 * window.el (split-window-sensibly): Make WINDOW argument
9656 optional.
9657
9658 2012-07-18 Chong Yidong <cyd@gnu.org>
9659
9660 * subr.el (keyboard-translate): Doc fix (Bug#7261).
9661
9662 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
9663 and make C-x 8 RET exit isearch (Bug#11439).
9664
9665 * international/iso-transl.el: Move isearch-mode-map key
9666 definitions to isearch.el.
9667
9668 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
9669
9670 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
9671 (eieio-defclass): Use gv-define-setter when possible.
9672
9673 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
9674
9675 Reflect recent changes in Fgarbage_collect.
9676 * emacs-lisp/chart.el (chart-emacs-storage): Change to
9677 reflect new format of data returned by Fgarbage_collect.
9678
9679 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
9680
9681 New utility functions + python-info-ppss-context fix (Bug#11910).
9682 * progmodes/python.el (python-info-beginning-of-block-statement-p)
9683 (python-info-ppss-comment-or-string-p): New functions.
9684 (python-info-ppss-context): Small fix for string check.
9685
9686 2012-07-17 Juri Linkov <juri@jurta.org>
9687
9688 * dired-aux.el (dired-do-async-shell-command): Doc fix.
9689 (dired-do-async-shell-command): Don't add `*' at the end of the
9690 command (Bug#11815).
9691 (dired-do-shell-command): Doc fix.
9692 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
9693 Join the individual commands using either "&" or ";" as the
9694 separator depending on the values of these trailing characters.
9695 At the end re-add the trailing "&". (Bug#10598)
9696
9697 * simple.el (async-shell-command): Sync the interactive spec with
9698 `shell-command'. Doc fix.
9699 (shell-command): Doc fix.
9700
9701 2012-07-17 Juri Linkov <juri@jurta.org>
9702
9703 * descr-text.el (describe-char): Fix format args. (Bug#10129)
9704
9705 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
9706
9707 Final renames and doc fixes for movement commands (bug#11899).
9708 * progmodes/python.el (python-nav-beginning-of-statement):
9709 Rename from python-nav-statement-start.
9710 (python-nav-end-of-statement): Rename from
9711 python-nav-statement-end.
9712 (python-nav-beginning-of-block): Rename from
9713 python-nav-block-start.
9714 (python-nav-end-of-block): Rename from python-nav-block-end.
9715
9716 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
9717
9718 * progmodes/python.el (python-shell-send-string-no-output):
9719 Allow accept-process-output to quit, keeping shell process ready for
9720 future interactions (Bug#11868).
9721
9722 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
9723
9724 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
9725
9726 * emacs-lisp/elint.el (elint-find-args-in-code):
9727 Use help-function-arglist, so as to handle lexical byte-code.
9728
9729 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
9730 change (bug#11826).
9731
9732 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
9733
9734 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
9735 Avoid spuriously marking the buffer as modified because of c-is-sws.
9736
9737 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
9738 as not-a-comment (bug#11946).
9739
9740 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
9741 for uninterned vars.
9742
9743 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
9744 Use read-event since we don't really want to read chars but bytes.
9745
9746 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
9747 $$..$$ but also $..$ using regexps (bug#11953).
9748 Use tex-verbatim for \url and \path.
9749 (tex-font-lock-keywords): Define as defconst like the others.
9750 (tex-common-initialization): Don't use font-lock-syntax-table any more.
9751
9752 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
9753
9754 * international/mule-cmds.el (ucs-insert): Make it an obsolete
9755 alias for insert-char.
9756
9757 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
9758
9759 * progmodes/python.el: Simplified imenu implementation.
9760 (python-nav-jump-to-defun): Remove command.
9761 (python-mode-map): Use `imenu' instead.
9762 (python-nav-list-defun-positions-cache)
9763 (python-imenu-include-defun-type, python-imenu-make-tree)
9764 (python-imenu-subtree-root-label, python-imenu-index-alist):
9765 Remove vars.
9766 (python-nav-list-defun-positions, python-nav-read-defun)
9767 (python-imenu-tree-assoc, python-imenu-make-element-tree)
9768 (python-imenu-make-tree, python-imenu-create-index):
9769 Remove functions.
9770 (python-mode): Update to interact with imenu by setting
9771 `imenu-extract-index-name-function' only.
9772
9773 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
9774
9775 * progmodes/python.el: Enhancements to navigation commands.
9776 (python-nav-backward-sentence)
9777 (python-nav-forward-sentence): Remove.
9778 (python-nav-backward-statement, python-nav-forward-statement)
9779 (python-nav-statement-start, python-nav-statement-end)
9780 (python-nav-backward-block, python-nav-forward-block)
9781 (python-nav-block-start, python-nav-block-end)
9782 (python-nav-forward-sexp-function)
9783 (python-info-current-line-comment-p)
9784 (python-info-current-line-empty-p): New functions.
9785 (python-indent-context): Use `python-nav-statement-start'.
9786
9787 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
9788
9789 * eshell/em-ls.el (eshell/ls): Use `apply'.
9790
9791 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
9792 multi-hops, instead of Tramp internals.
9793
9794 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
9795
9796 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
9797 when F1 and F2 are located on different hosts.
9798
9799 2012-07-14 Chong Yidong <cyd@gnu.org>
9800
9801 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
9802 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
9803 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
9804 (xterm-mouse--read-event-sequence-1000)
9805 (xterm-mouse--read-event-sequence-1006): New functions. For old
9806 mouse protocol, handle M-mouse-X events correctly.
9807 (xterm-mouse-event): New arg specifying mouse protocol.
9808 (turn-on-xterm-mouse-tracking-on-terminal)
9809 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
9810 sequence to toggle extended coordinates on newer XTerms.
9811 This appears to be harmless on terminals which do not support this.
9812
9813 2012-07-14 Leo Liu <sdl.web@gmail.com>
9814
9815 Add fringe bitmap indicators for flymake. (Bug#11253)
9816 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
9817 (flymake-make-overlay): New arg BITMAP.
9818 (flymake-error-bitmap, flymake-warning-bitmap)
9819 (flymake-fringe-indicator-position): New user variables.
9820
9821 * fringe.el: New bitmap exclamation-mark.
9822
9823 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
9824
9825 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
9826 also (Bug#7879).
9827
9828 2012-07-14 Chong Yidong <cyd@gnu.org>
9829
9830 * electric.el (electric-pair-post-self-insert-function): Fix pair
9831 insertion in empty-region case (Bug#11520).
9832
9833 2012-07-14 Chong Yidong <cyd@gnu.org>
9834
9835 * bindings.el: Consolidate ctl-x-r-map bindings.
9836 Bind copy-rectangle-as-kill to C-x r w.
9837
9838 * rect.el, register.el: Move bindings to bindings.el.
9839
9840 2012-07-14 Reuben Thomas <rrt@sc3d.org>
9841
9842 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
9843
9844 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
9845
9846 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
9847
9848 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
9849
9850 * bindings.el (top): Use `mapc' instead of `mapcar'.
9851
9852 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
9853
9854 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
9855
9856 * progmodes/sql.el (sql-comint): Suppress the check for program on
9857 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
9858 (Bug#11908)
9859
9860 2012-07-13 Chong Yidong <cyd@gnu.org>
9861
9862 * bindings.el: Assign a non-nil permanent-local property to
9863 per-buffer variables which lack a default value (Bug#11930).
9864
9865 * help-fns.el (describe-variable): In the "automatically becomes
9866 local" notice, take note of permanent-local variables.
9867
9868 2012-07-13 Chong Yidong <cyd@gnu.org>
9869
9870 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
9871 to allow printing the message when called from Lisp.
9872
9873 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
9874 Remove toggle-read-only.
9875
9876 * bs.el (bs-toggle-readonly):
9877 * buff-menu.el (Buffer-menu-toggle-read-only):
9878 Remove with-no-warnings around toggle-read-only.
9879
9880 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
9881 Remove with-no-warnings around toggle-read-only.
9882 (ffap-read-only, ffap-read-only-other-window)
9883 (ffap-read-only-other-frame): Callers changed.
9884
9885 * help-mode.el: Don't require view package.
9886 (help-mode-finish): Set buffer-read-only instead of calling
9887 toggle-read-only.
9888
9889 * bindings.el (mode-line-toggle-read-only):
9890 * dired.el (dired-toggle-read-only):
9891 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
9892 with non-nil second arg.
9893
9894 * emacs-lisp/eieio-custom.el (eieio-customize-object):
9895 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
9896 directly.
9897
9898 2012-07-12 Eli Zaretskii <eliz@gnu.org>
9899
9900 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
9901 not incf.
9902
9903 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
9904
9905 More CL cleanups and reduction of use of cl.el.
9906 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
9907 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
9908 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
9909 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
9910 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
9911 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
9912 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
9913 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
9914 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
9915 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
9916 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
9917 * eshell/em-cmpl.el, eshell/em-banner.el:
9918 * calendar/parse-time.el: Use cl-lib.
9919 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
9920 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
9921 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
9922 * term/ns-win.el, term.el, shell.el, ps-samp.el:
9923 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
9924 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
9925 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
9926 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
9927 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
9928 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
9929 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
9930 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
9931 `lambda' rather than with `quote'.
9932 (eshell-do-opt): Adjust accordingly.
9933 (eshell-process-option): Simplify.
9934 * eshell/esh-var.el:
9935 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
9936 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
9937 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
9938 to `pcase--dontcare'.
9939 * emacs-lisp/cl.el (labels): Mark obsolete.
9940 (cl--letf, letf): Move to cl-lib.
9941 (cl--letf*, letf*): Remove.
9942 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
9943 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
9944 (cl-progv): Rewrite.
9945 (cl--letf, cl-letf): Move from cl.el.
9946 (cl-letf*): New macro.
9947 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
9948
9949 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
9950
9951 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
9952
9953 2012-07-11 Chong Yidong <cyd@gnu.org>
9954
9955 * vc/log-edit.el (log-edit-vc-backend): New variable.
9956 (log-edit): Doc fix.
9957
9958 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
9959 argument of log-edit to set up all local variables.
9960 (vc-start-logentry): New optional arg specifying VC backend.
9961
9962 * vc/vc.el (vc-checkin): Use it.
9963 (vc-deduce-fileset): Handle Log Edit buffers.
9964 (vc-diff): Make first argument optional too.
9965
9966 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
9967
9968 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
9969
9970 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
9971 command, just in case. The function is not needed anymore.
9972 (eshell-external-command): Do not call `eshell-remote-command'.
9973
9974 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
9975
9976 Reduce use of (require 'cl).
9977 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
9978 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
9979 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
9980 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
9981 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
9982 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
9983 * battery.el, avoid.el, abbrev.el: Use cl-lib.
9984 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
9985 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
9986 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
9987 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
9988 * calculator.el, autorevert.el, apropos.el: Don't require CL.
9989 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
9990 (byte-compile-unfold-bcf, byte-compile-check-variable):
9991 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
9992 (byte-compile-nilconstp):
9993 * emacs-lisp/autoload.el (make-autoload): Use pcase.
9994 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
9995
9996 * emacs-lisp/gv.el (cond): Make it a valid place.
9997 (if): Simplify slightly.
9998
9999 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
10000 (pcase--self-quoting-p): New function.
10001 (pcase--u1): Use it.
10002
10003 2012-07-10 Glenn Morris <rgm@gnu.org>
10004
10005 * emacs-lisp/authors.el (authors-fixed-entries):
10006 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
10007
10008 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
10009
10010 Rename configure.in to configure.ac (Bug#11603).
10011 * emacs-lisp/authors.el (authors-canonical-file-name):
10012 * progmodes/autoconf.el (autoconf-mode):
10013 Prefer configure.ac to configure.in.
10014
10015 2012-07-08 Chong Yidong <cyd@gnu.org>
10016
10017 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
10018 Implement the mouse-1-click-follows-link handling properly.
10019
10020 * info.el (Info-link-keymap): Use follow-link mechanism for
10021 header-line links (Bug#374).
10022
10023 * simple.el (deactivate-mark): Do not set the primary selection
10024 if another program has acquired it (Bug#11772).
10025
10026 2012-07-07 Kevin Ryde <user42@zip.com.au>
10027
10028 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
10029 (woman-decode-region): Replace escaped-escapes without destroying
10030 bold or underline (Bug#11552).
10031 (woman2-process-escapes): Handle nofill regions (Bug#11591).
10032
10033 2012-07-07 Chong Yidong <cyd@gnu.org>
10034
10035 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
10036 (interprogram-cut-function, interprogram-paste-function):
10037 Mention that we typically mean the clipboard.
10038
10039 2012-07-06 Glenn Morris <rgm@gnu.org>
10040
10041 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
10042
10043 * files.el (toggle-read-only): Restrict message to interactive use.
10044
10045 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
10046
10047 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
10048
10049 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
10050
10051 2012-07-06 Glenn Morris <rgm@gnu.org>
10052
10053 * Makefile.in (compile-one-process): Rename from "recompile".
10054
10055 * Makefile.in (bzr-update): "compile" is the same as "recompile
10056 autoloads", but parallelizable, so use that instead.
10057
10058 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
10059
10060 * window.el (quit-window): Always restore window height when
10061 it's saved in quit-restore parameter (Bug#11810).
10062
10063 2012-07-06 Glenn Morris <rgm@gnu.org>
10064
10065 * simple.el (kill-whole-line): Doc tweak.
10066
10067 2012-07-06 Eli Zaretskii <eliz@gnu.org>
10068
10069 * files.el (file-relative-name): Compare file names
10070 case-insensitively if on MS-Windows or MS-DOS, or if
10071 read-file-name-completion-ignore-case is non-nil. Don't use
10072 case-fold-search for this purpose. (Bug#11827)
10073
10074 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
10075
10076 * calendar/cal-dst.el (calendar-current-time-zone):
10077 Return calendar-current-time-zone-cache if non-nil.
10078
10079 2012-07-17 Masatake YAMATO <yamato@redhat.com>
10080 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
10081
10082 * calendar/cal-dst.el (calendar-current-time-zone):
10083 Return calendar-current-time-zone-cache if non-nil.
10084
10085 2012-07-06 Glenn Morris <rgm@gnu.org>
10086
10087 * Makefile.in (cvs-update): Remove old alias.
10088
10089 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
10090
10091 Sync with Tramp 2.2.6-pre.
10092
10093 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
10094 compatible declaration.
10095
10096 * net/tramp-cmds.el (tramp-append-tramp-buffers):
10097 Protect `list-load-path-shadows' call.
10098
10099 * net/tramp-compat.el (top): Require packages, which aren't
10100 autoloaded anymore for XEmacs. Protect call of
10101 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
10102 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
10103 it hurts at least for SXEmacs.
10104 (tramp-compat-temporary-file-directory): In XEmacs, there is no
10105 standard-value for `temporary-file-directory'.
10106
10107 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
10108 Redirect stderr to /dev/null.
10109 (tramp-sh-handle-write-region): uid and gid can be floats.
10110 Reported by Russell Sim <russell.sim@gmail.com>.
10111 (tramp-sh-handle-vc-registered): Hide errors.
10112 (tramp-vc-file-name-handler): Use dummy results for `process-file'
10113 and `start-file-process'.
10114 (tramp-maybe-open-connection): Check also whether `non-essential'
10115 is bound.
10116
10117 2012-07-04 Chong Yidong <cyd@gnu.org>
10118
10119 * xml.el (xml--parse-buffer): Use xml-syntax-table.
10120 (xml-parse-tag): Likewise, and avoid changing entity tables.
10121 (xml-syntax-table): Define from scratch, making sure not to give
10122 x2000 and other Unicode spaces whitespace syntax, since those are
10123 not spaces in XML.
10124 (xml-parse-fragment): Delete unused function.
10125 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
10126 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
10127 (xml-entity-ref, xml-pe-reference-re)
10128 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
10129 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
10130 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
10131 (xml-entity-value-re): Use syntax references in regexps where
10132 possible; no need to define inside a let-binding.
10133 (xml-parse-dtd): Use xml-pe-reference-re.
10134 (xml-entity-or-char-ref-re): New defconst.
10135 (xml-parse-string, xml-substitute-special): Use it.
10136
10137 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
10138
10139 * files.el (locate-dominating-file): Allow `name' to be a predicate.
10140 (find-file--read-only): New function.
10141 (find-file-read-only, find-file-read-only-other-window)
10142 (find-file-read-only-other-frame): Use it.
10143 (insert-file-contents-literally): Don't `fset'.
10144 (get-free-disk-space): Use locate-dominating-file.
10145
10146 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
10147 function is already compiled.
10148
10149 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
10150
10151 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
10152
10153 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
10154 files on the same host.
10155
10156 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
10157
10158 * help-fns.el (describe-function-1): Only call
10159 help-fns--autoloaded-p when we have a file name. (Bug#11848)
10160
10161 2012-07-03 Chong Yidong <cyd@gnu.org>
10162
10163 * xml.el: Protect parser against XML bombs.
10164 (xml-entity-expansion-limit): New variable.
10165 (xml-parse-string, xml-substitute-special): Use it.
10166 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
10167
10168 2012-07-03 Glenn Morris <rgm@gnu.org>
10169
10170 * progmodes/bug-reference.el (bug-reference-bug-regexp):
10171 Allow linking to specific messages in debbugs reports (eg 123#5).
10172
10173 2012-07-02 Chong Yidong <cyd@gnu.org>
10174
10175 * xml.el: Fix entity and character reference expansion, allowing
10176 them to expand into markup as per XML spec.
10177 (xml-default-ns): New variable.
10178 (xml-entity-alist): Use XML spec definitions for lt and amp.
10179 (xml-parse-region): Make first two arguments optional.
10180 Discard text properties.
10181 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
10182 All callers changed.
10183 (xml-parse-tag): Call xml-parse-tag-1. For backward
10184 compatibility, this function should not modify buffer contents.
10185 (xml-parse-tag-1): Fix opening-tag regexp.
10186 (xml-parse-string): Rewrite, handling entity and character
10187 references properly.
10188 (xml--entity-replacement-text): Signal an error if a parameter
10189 entity is undefined.
10190
10191 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
10192
10193 * comint.el (comint-output-filter): Filter out repeated prompts.
10194
10195 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
10196 and file-name-absolute-p.
10197 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
10198 internal calls.
10199
10200 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
10201
10202 Spelling fixes.
10203 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
10204 Rename from byte-compile--refiy-function. All uses changed.
10205
10206 2012-07-01 Chong Yidong <cyd@gnu.org>
10207
10208 * xml.el (xml--parse-buffer): New function. Move most of
10209 xml-parse-region here.
10210 (xml-parse-region): Copy region into a temporary buffer, since
10211 parameter entity substitution requires changing buffer contents.
10212 Use xml--parse-buffer.
10213 (xml-parse-file): Use xml--parse-buffer.
10214 (xml-parse-dtd): Make parameter entity substitution work right.
10215 Use proper regexps for ELEMENT declarations (Bug#7172).
10216
10217 2012-06-30 Glenn Morris <rgm@gnu.org>
10218
10219 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
10220
10221 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
10222 Remove outdated and unnecessary dbus declarations.
10223
10224 2012-06-30 Eli Zaretskii <eliz@gnu.org>
10225
10226 * emacs-lisp/timer.el (timer-until): Subtract results of
10227 float-time, instead of taking float-time of the result of
10228 time-subtract, since float-time signals an error for negative time
10229 arguments.
10230
10231 2012-06-30 Chong Yidong <cyd@gnu.org>
10232
10233 * xml.el (xml-*-re): Convert defvars into defconsts, and
10234 eval-and-compile them so eval-and-compile works on derivatives.
10235 (xml--entity-replacement-text): Use eval-and-comple.
10236
10237 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
10238
10239 * vc/vc-git.el (vc-git-registered): Use cache property
10240 `git-registered'.
10241 (vc-git-mode-line-string): Call `vc-working-revision' instead of
10242 `vc-git-working-revision' in order to benefit from the cache.
10243 (vc-git-root): Use cache property `git-root'. (Bug#11757)
10244
10245 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
10246
10247 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
10248 removed (likely outside Emacs). (Bug#11757)
10249
10250 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
10251
10252 * emacs-lisp/cl-lib.el: Require macroexp.
10253
10254 2012-06-30 Chong Yidong <cyd@gnu.org>
10255
10256 * xml.el: Implement XML parameter entities.
10257 (xml-parameter-entity-alist): New variable.
10258 (xml-parse-region, xml-parse-fragment): Preserve previous values
10259 of xml-entity-alist and xml-parameter-entity-alist, so that
10260 repeated calls on different documents do not change them.
10261 (xml-parse-tag): Fix doctype regexp.
10262 (xml--entity-replacement-text): New function.
10263 (xml-parse-dtd): Use it. Don't handle system entities; doing that
10264 properly requires url retrieval which is unimplemented.
10265 (xml-escape-string): Doc fix.
10266
10267 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
10268
10269 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
10270
10271 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
10272
10273 * fringe.el (fringe-mode): Doc fix.
10274
10275 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
10276
10277 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
10278 is non-nil.
10279 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
10280 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
10281
10282 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
10283
10284 * calendar/cal-dst.el (calendar-current-time-zone):
10285 Return calendar-current-time-zone-cache if non-nil.
10286
10287 2012-06-29 Masatake YAMATO <yamato@redhat.com>
10288
10289 * progmodes/which-func.el (which-func-format):
10290 Add mouse-face. (Bug#11698)
10291
10292 2012-06-29 Leo Liu <sdl.web@gmail.com>
10293
10294 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
10295
10296 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
10297
10298 * minibuffer.el (minibuffer-confirm-exit-commands):
10299 Add completion-at-point (bug#11725).
10300
10301 2012-06-29 Glenn Morris <rgm@gnu.org>
10302
10303 * progmodes/f90.el (f90-font-lock-keywords-2):
10304 Add some preprocessor elements. (Bug#10499)
10305
10306 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
10307
10308 * progmodes/cperl-mode.el (cperl-update-syntaxification):
10309 Use syntax-propertize (bug#11739).
10310
10311 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
10312
10313 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
10314
10315 2012-06-28 Julien Danjou <julien@danjou.info>
10316
10317 * term.el (term-handle-colors-array): Use a set of new faces to
10318 color the terminal. Also uses :inverse-video property.
10319 (term-default-fg-color): Set to nil by default, deprecate in favor
10320 of `term-face'.
10321 (term-default-bg-color): Set to nil by default, deprecate in favor
10322 of `term-face'.
10323 (term-current-face): Use `term-face' by default.
10324 (term-bold-attribute): Variable deleted.
10325
10326 2012-06-28 Glenn Morris <rgm@gnu.org>
10327
10328 * simple.el (completion-list-mode-finish):
10329 Don't use toggle-read-only. (Since completion-list-mode has
10330 a special mode-class, it wasn't doing anything extra anyway.)
10331
10332 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
10333
10334 Make inlining of other-mode interpreted functions work (bug#11799).
10335 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
10336 (byte-compile): Use it to fix compilation of lexical-binding closures.
10337 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
10338 function, if needed.
10339
10340 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
10341
10342 * help-mode.el (help-make-xrefs): Don't just withstand
10343 cyclic-variable-indirection but any error in documentation-property.
10344
10345 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
10346 memory use.
10347 * bindings.el (bindings--define-key): New function.
10348 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
10349 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
10350 * bindings.el: Use it to purecopy define-key bindings.
10351
10352 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
10353
10354 * emacs-lisp/cl.el (flet): Mark obsolete.
10355 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
10356 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
10357 * progmodes/js.el (js-c-fill-paragraph):
10358 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
10359 (ebrowse-switch-member-buffer-to-derived-class):
10360 * play/5x5.el (5x5-solver): Use cl-flet.
10361
10362 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
10363 (cl--symbol-function): New macro.
10364 (cl--letf, cl--letf*): Use it.
10365
10366 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
10367 Strip "toggle-" if any.
10368
10369 2012-06-27 Glenn Morris <rgm@gnu.org>
10370
10371 * info.el (Info-default-directory-list): Move here from paths.el.
10372 * paths.el: Remove file, which is now empty.
10373 * loadup.el: No longer load "paths".
10374
10375 * custom.el (custom-initialize-delay): Doc fix.
10376
10377 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
10378 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
10379 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
10380 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
10381 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
10382 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
10383 * eshell/eshell.el (eshell-defgroup): Remove alias.
10384
10385 2012-06-27 Chong Yidong <cyd@gnu.org>
10386
10387 * help.el (help-enable-auto-load): New variable.
10388
10389 * help-fns.el (help-fns--autoloaded-p): New function.
10390 (describe-function-1): Refer to a function as "autoloaded" if it
10391 was autoloaded at any time in the past. Perform autoloading if
10392 help-enable-auto-load is non-nil.
10393
10394 2012-06-26 Eli Zaretskii <eliz@gnu.org>
10395
10396 * makefile.w32-in (compile, compile-always): Depend on
10397 update-subdirs, not on subdirs.el. Otherwise, several different
10398 sub-targets of 'bootstrap' running in parallel could
10399 simultaneously write to subdirs.el, producing a garbled file.
10400
10401 2012-06-26 Sam Steingold <sds@gnu.org>
10402
10403 * files.el (file-name-base): New convenience function.
10404 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
10405 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
10406 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
10407 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
10408 * textmodes/ispell.el, textmodes/reftex-ref.el:
10409 * textmodes/tex-mode.el: Use it.
10410 Did not touch cedet and org because they are maintained elsewhere.
10411
10412 2012-06-26 Martin Rudalics <rudalics@gmx.at>
10413
10414 * calendar/calendar.el (calendar-exit): Don't try to delete or
10415 iconify last frame. See:
10416 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
10417
10418 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
10419
10420 * server.el (server-process-filter): Remember dir in the
10421 process's `server-client-directory' properties.
10422
10423 2012-06-24 Chong Yidong <cyd@gnu.org>
10424
10425 * xml.el (xml-parse-tag): Correctly handle comment embedded in
10426 non-tag text.
10427
10428 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
10429
10430 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
10431
10432 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
10433
10434 * help-fns.el (describe-variable): Don't croak when doc is not found.
10435 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
10436 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
10437 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
10438 * emacs-lisp/smie.el (smie-next-sexp): CSE.
10439 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
10440 ((lambda ..) ..).
10441 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
10442
10443 2012-06-23 Chong Yidong <cyd@gnu.org>
10444
10445 * info.el (Info-mouse-follow-link): Accept symbol values of
10446 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
10447 (Info-fontify-node): Use Info-link-keymap for all navigation
10448 buttons, with link-args property to perform the desired action.
10449 (Info-link-keymap): Doc fix.
10450 (Info-next-link-keymap, Info-prev-link-keymap)
10451 (Info-up-link-keymap): Delete now-unused keymaps.
10452
10453 2012-06-23 Chong Yidong <cyd@gnu.org>
10454
10455 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
10456
10457 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
10458 system abbrevs.
10459
10460 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
10461
10462 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
10463
10464 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
10465 (bug#11719).
10466
10467 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
10468 the requote function doesn't work properly (bug#11714).
10469
10470 2012-06-23 Glenn Morris <rgm@gnu.org>
10471
10472 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
10473
10474 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
10475
10476 Further GV/CL cleanups.
10477 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
10478 gv-expander.
10479 (gv--defun-declaration): New function.
10480 (defun-declarations-alist): Use it.
10481 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
10482 (gv-place): Autoload.
10483 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
10484 original definition of dotimes and dolist.
10485 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
10486 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
10487 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
10488 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
10489 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
10490 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
10491 to the function's definition.
10492 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
10493 * window.el:
10494 * files.el:
10495 * faces.el:
10496 * env.el: Don't use CL.
10497
10498 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
10499
10500 Support higher-resolution time stamps (Bug#9000).
10501
10502 * calendar/time-date.el (with-decoded-time-value): New arg
10503 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
10504 (encode-time-value): New optional arg PICO. New type 3.
10505 (time-to-seconds) [!float-time]: Support the new picoseconds
10506 component if it's used.
10507 (seconds-to-time, time-subtract, time-add):
10508 Support ps-resolution time stamps as well.
10509
10510 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
10511 (timerp): Timer vectors now have length 9, not 8.
10512 (timer--time): Support new-style (4-part) time stamps.
10513 (timer-next-integral-multiple-of-time): Time stamps now have
10514 picosecond resolution, so take a bit more care about rounding.
10515 (timer-relative-time, timer-inc-time): New optional arg psecs.
10516 (timer-set-time-with-usecs): Set psecs to 0.
10517 (timer--activate): Check psecs component, too.
10518
10519 * proced.el (proced-time-lessp): Support ps-resolution stamps.
10520
10521 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
10522
10523 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
10524 Move the non-essential binding to the post/pre-command-hook where it is
10525 more obviously correct.
10526
10527 * subr.el (read-passwd): Don't use a history at all.
10528 * savehist.el (savehist-save): Remove password saved accidentally
10529 because of the above bug.
10530
10531 2012-06-22 Bastien Guerry <bzg@gnu.org>
10532
10533 * files.el (toggle-read-only): Display a message telling whether
10534 the buffer is read-only or not (bug#11726).
10535
10536 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
10537
10538 * emacs-lisp/gv.el: New file.
10539 * subr.el (push, pop): Extend to generalized variables.
10540 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
10541 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
10542 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
10543 gv-define-simple-setter, and gv-define-expander.
10544 Remove setf-methods defined in gv. Rename cl-setf -> setf.
10545 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
10546 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
10547 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
10548 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
10549 gv-letplace.
10550 (cl-defstruct): Don't define setf-method any more.
10551 * emacs-lisp/cl.el (flet): Don't autoload.
10552 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
10553 (define-setf-expander, defsetf, define-modify-macro)
10554 (cl-struct-setf-expander): Move from cl-lib.el.
10555 * emacs-lisp/syntax.el:
10556 * emacs-lisp/ewoc.el:
10557 * emacs-lisp/smie.el:
10558 * emacs-lisp/cconv.el:
10559 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
10560 (timer--time): Use gv-define-simple-setter.
10561 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
10562 to avoid coding-system problems in subr.el. Adjust all users.
10563 (macroexp--maxsize, macroexp-small-p): New functions.
10564 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
10565 * scroll-bar.el (scroll-bar-mode):
10566 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
10567 (normal-erase-is-backspace-mode): Don't use the `eq' place.
10568 * winner.el (winner-configuration, winner-make-point-alist)
10569 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
10570 * files.el (locate-file-completion-table): Avoid list*.
10571
10572 2012-06-22 Chong Yidong <cyd@gnu.org>
10573
10574 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
10575 (dired-create-files): Doc fix (Bug#11329).
10576 (dired-do-copy): Doc fix (Bug#11334).
10577 (dired-mark-read-string): Doc fix (Bug#11553).
10578
10579 * dired.el (dired-recursive-copies, dired-recursive-deletes):
10580 Doc fix (Bug#11326).
10581 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
10582 (dired-dwim-target): Doc fix.
10583
10584 * wdired.el (wdired-mode): Doc fix.
10585
10586 2012-06-22 Glenn Morris <rgm@gnu.org>
10587
10588 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
10589 (pcmpl-rpm-cache-stamp-file): New constant.
10590 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
10591 (pcmpl-rpm-packages): Optionally cache list of packages.
10592
10593 * pcmpl-rpm.el (pcmpl-rpm): New group.
10594 (pcmpl-rpm-query-options): New option.
10595 (pcmpl-rpm-packages): No need to inline it.
10596 Use pcmpl-rpm-query-options.
10597
10598 * calendar/calendar.el (calendar-in-read-only-buffer):
10599 Avoid some needless mode changes.
10600
10601 2012-06-21 Chong Yidong <cyd@gnu.org>
10602
10603 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
10604 (desktop-path): Remove . from the default value (Bug#10977).
10605 (desktop-read): Use user-emacs-directory if desktop-path is nil.
10606
10607 2012-06-20 Chong Yidong <cyd@gnu.org>
10608
10609 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
10610
10611 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
10612
10613 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
10614 (bug#11201).
10615
10616 2012-06-20 Chong Yidong <cyd@gnu.org>
10617
10618 * term.el (term-window-width): Handle the case of a missing right
10619 fringe (Bug#8837).
10620 (term-check-size): Use window-text-height (Bug#5445).
10621 (term-mode): Use define-derived-mode. Minor cleanups.
10622 Set font-lock-defaults (Bug#7692).
10623 (term-move-columns, term-insert-char, term-emulate-terminal)
10624 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
10625
10626 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
10627
10628 * net/ange-ftp.el (ange-ftp-get-passwd):
10629 Bind `enable-recursive-minibuffers'.
10630 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
10631
10632 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
10633
10634 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
10635
10636 2012-06-19 Glenn Morris <rgm@gnu.org>
10637
10638 * progmodes/python.el (python-mode): Derive from prog-mode.
10639
10640 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
10641
10642 * emulation/edt.el (edt-default-menu-bar-update-buffers)
10643 (edt-user-menu-bar-update-buffers): New functions.
10644 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
10645
10646 2012-06-19 Chong Yidong <cyd@gnu.org>
10647
10648 * subr.el (with-selected-window): Preserve the selected window's
10649 terminal's top-frame (Bug#4702).
10650
10651 * window.el (save-selected-window): Likewise.
10652
10653 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10654
10655 * progmodes/python.el (python-rx-constituents): Move backquote.
10656 (python-skeleton-define, python-define-auxiliary-skeleton):
10657 Use `declare'.
10658
10659 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
10660
10661 * minibuffer.el (read-file-name-default): Revert the patch from
10662 2012-06-17.
10663
10664 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10665
10666 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
10667 (pcase--u1, pcase--q1): Don't use apply-partially.
10668
10669 2012-06-18 Glenn Morris <rgm@gnu.org>
10670
10671 * progmodes/python.el (python-proc, python-buffer)
10672 (python-send-receive, python-send-string): Fix obsolete versions.
10673
10674 2012-06-18 Martin Rudalics <rudalics@gmx.at>
10675
10676 * window.el (special-display-p): Completely remove stringp
10677 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
10678
10679 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
10680
10681 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
10682
10683 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
10684
10685 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
10686 * net/tramp-sh.el (tramp-maybe-open-connection):
10687 Throw if `non-essential' is non-nil.
10688
10689 2012-06-17 Martin Rudalics <rudalics@gmx.at>
10690
10691 * window.el (special-display-p): Signal an error if BUFFER-NAME
10692 is not a string (Bug#11713).
10693
10694 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
10695
10696 * progmodes/python.el (python-info-beginning-of-backslash):
10697 Rename from python-info-beginning-of-backlash, as a spelling fix.
10698
10699 2012-06-17 Chong Yidong <cyd@gnu.org>
10700
10701 * term.el (term-emulate-terminal): If term-check-size is called,
10702 move point to the process mark without resetting point (Bug#4635).
10703
10704 2012-06-17 Glenn Morris <rgm@gnu.org>
10705
10706 * international/mule-cmds.el (mule-menu-keymap)
10707 (set-language-environment, set-locale-environment): Doc tweaks.
10708
10709 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
10710
10711 * cus-face.el (custom-face-attributes): Add wave-style underline
10712 attribute.
10713 * faces.el (set-face-attribute): Update docstring to describe
10714 wave-style underline attribute.
10715
10716 2012-06-16 Chong Yidong <cyd@gnu.org>
10717
10718 * term/xterm.el (terminal-init-xterm): Discard input before
10719 querying background mode (Bug#10959).
10720
10721 2012-06-16 Stefan Merten <smerten@oekonux.de>
10722
10723 * textmodes/rst.el: Added and corrected some comments.
10724 (rst-re-alist-def): Improve symbol syntax.
10725 (rst-mode-syntax-table): Correct syntax entries.
10726 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
10727 (rst-official-version, rst-official-cvs-rev): Update version
10728 information.
10729
10730 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
10731
10732 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
10733 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
10734
10735 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
10736
10737 * progmodes/python.el: New python.el merge.
10738 (python-guess-indent): Obsolete var.
10739 (python-indent-guess-indent-offset): New defcustom.
10740 (python-indent): Obsolete var.
10741 (python-indent-offset): New defcustom.
10742 (python-python-command, python-jython-command): Delete var.
10743 (python-shell-interpreter): New defcustom.
10744 (python-pdbtrack-do-tracking-p): Delete var.
10745 (python-pdbtrack-activate): New defcustom.
10746 (python-use-skeletons): Obsolete var.
10747 (python-skeleton-autoinsert): New defcustom.
10748 (inferior-python-filter-regexp, python-continuation-offset)
10749 (python-honour-comment-indentation, python-indent-string-contents)
10750 (python-jython-packages, python-mode-hook)
10751 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
10752 (python-shell-prompt-alist)
10753 (python-source-modes): Delete defcustoms.
10754 (python-check-buffer-name, python-eldoc-setup-code)
10755 (python-eldoc-string-code, python-ffap-setup-code)
10756 (python-ffap-string-code, python-fill-comment-function)
10757 (python-fill-decorator-function, python-fill-paren-function)
10758 (python-fill-string-function, python-imenu-include-defun-type)
10759 (python-imenu-make-tree, python-imenu-subtree-root-label)
10760 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
10761 (python-shell-compilation-regexp-alist)
10762 (python-shell-completion-module-string-code)
10763 (python-shell-completion-pdb-string-code)
10764 (python-shell-completion-setup-code)
10765 (python-shell-completion-string-code)
10766 (python-shell-enable-font-lock, python-shell-exec-path)
10767 (python-shell-extra-pythonpaths)
10768 (python-shell-internal-buffer-name, python-shell-interpreter-args)
10769 (python-shell-process-environment)
10770 (python-shell-prompt-block-regexp)
10771 (python-shell-prompt-output-regexp)
10772 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
10773 (python-shell-send-setup-max-wait, python-shell-setup-codes)
10774 (python-shell-virtualenv-path): New defcustoms.
10775 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
10776 (inferior-python-mode-syntax-table, python--prompt-regexp)
10777 (python-buffer, python-command python-python-command)
10778 (python-default-template, python-imports, python-indent-index)
10779 (python-indent-list, python-indent-list-length)
10780 (python-mode-running, python-pdbtrack-is-tracking-p)
10781 (python-preoutput-continuation, python-preoutput-leftover)
10782 (python-preoutput-result, python-preoutput-skip-next-prompt)
10783 (python-prev-dir/file, python-recursing)
10784 (python-saved-check-command, python-version-checked)
10785 (python-which-func-length-limit)
10786 (view-return-to-alist): Delete vars.
10787 (python-check-custom-command, python-dotty-syntax-table)
10788 (python-imenu-index-alist, python-indent-current-level)
10789 (python-indent-dedenters, python-indent-levels)
10790 (python-nav-beginning-of-defun-regexp)
10791 (python-nav-list-defun-positions-cache)
10792 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
10793 (python-shell-internal-buffer)
10794 (python-skeleton-available): New vars.
10795 (def-python-skeleton): Delete macro.
10796 (python-skeleton-define): New macro.
10797 (python-define-auxiliary-skeleton, python-rx): New macros.
10798 (python-insert-class): Delete command.
10799 (python-skeleton-class): New command.
10800 (python-insert-def): Delete command.
10801 (python-skeleton-def): New command.
10802 (python-insert-for): Delete command.
10803 (python-skeleton-for): New command.
10804 (python-insert-if): Delete command.
10805 (python-skeleton-if): New command.
10806 (python-insert-try/except, python-insert-try/finally): Delete commands.
10807 (python-skeleton-try): New command.
10808 (python-insert-while): Delete command.
10809 (python-skeleton-while): New command.
10810 (python-backspace): Delete command.
10811 (python-indent-dedent-line-backspace): New command.
10812 (python-electric-colon): Delete command.
10813 (python-indent-electric-colon): New command.
10814 (python-guess-indent): Delete command.
10815 (python-indent-guess-indent-offset): New command.
10816 (python-shift-left): Delete command.
10817 (python-indent-shift-left): New command.
10818 (python-shift-right): Delete command.
10819 (python-indent-shift-right): New command.
10820 (python-find-function): Delete command.
10821 (python-nav-jump-to-defun): New command.
10822 (python-next-statement): Delete command.
10823 (python-nav-forward-sentence): New command.
10824 (python-previous-statement): Delete command.
10825 (python-nav-backward-sentence): New command.
10826 (python-fill-paragraph): Delete command.
10827 (python-fill-paragraph-function): New command.
10828 (python-send-buffer): Delete command.
10829 (python-shell-send-buffer): New command.
10830 (python-send-defun): Delete command.
10831 (python-shell-send-defun): New command.
10832 (python-send-region, python-send-region-and-go): Delete commands.
10833 (python-shell-send-region)
10834 (python-shell-switch-to-shell): New commands.
10835 (python-send-string): Delete command.
10836 (python-shell-send-string): New command.
10837 (python-switch-to-python): Delete command.
10838 (python-shell-switch-to-shell): New command.
10839 (python-describe-symbol): Delete command.
10840 (python-eldoc-at-point): New command.
10841 (python--set-prompt-regexp, python-args-to-list)
10842 (python-after-info-look, python-check-version)
10843 (python-check-comint-prompt, python-find-imports)
10844 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
10845 (python-unload-function, python-expand-template)
10846 (python-maybe-jython, python-preoutput-filter)
10847 (python-pdbtrack-get-source-buffer)
10848 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
10849 (python-pdbtrack-toggle-stack-tracking)
10850 (python-pdbtrack-track-stack-file, python-initial-text)
10851 (python-first-word, python-comment-line-p, python-send-command)
10852 (python-setup-brm, python-sentinel, python-set-proc)
10853 (python-skip-out, python-input-filter, python-outdent-p)
10854 (python-outline-level, python-backslash-continuation-line-p)
10855 (python-end-of-block, python-end-of-statement, python-mark-block)
10856 (python-beginning-of-block, python-beginning-of-statement)
10857 (python-blank-line-p, python-beginning-of-string)
10858 (python-open-block-statement-p): Delete functions.
10859 (python-indent-line, python-indent-line-1): Delete functions.
10860 (python-indent-line): New function.
10861 (python-indentation-levels): Delete function.
10862 (python-indent-calculate-levels): New function.
10863 (python-proc): Delete function.
10864 (python-shell-get-process): New function.
10865 (python-send-receive): Delete function.
10866 (python-shell-send-string-no-output): New function.
10867 (python-module-path): Delete function.
10868 (python-ffap-module-path): New function.
10869 (python-completion-at-point)
10870 (python-symbol-completions): Delete functions.
10871 (python-completion-complete-at-point): New function.
10872 (python-load-file): Delete function.
10873 (python-shell-send-file): New function.
10874 (python-calculate-indentation): Delete function.
10875 (python-indent-calculate-indentation): New function.
10876 (python-skip-comments/blanks): Delete function.
10877 (python-util-forward-comment): New function.
10878 (python-continuation-line-p): Delete function.
10879 (python-info-continuation-line-p): New function.
10880 (python-which-func, python-current-defun): Delete function.
10881 (python-info-current-defun): New function.
10882 (python-beginning-of-defun): Delete function.
10883 (python-nav-beginning-of-defun): New function.
10884 (python-close-block-statement-p)
10885 (python-block-end-p): Delete function.
10886 (python-info-closing-block): New function.
10887 (python-comint-output-filter-function)
10888 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
10889 (python-fill-comment, python-fill-decorator, python-fill-paren)
10890 (python-fill-string, python-imenu-make-element-tree)
10891 (python-imenu-make-tree, python-imenu-tree-assoc)
10892 (python-indent-context, python-indent-dedent-line)
10893 (python-indent-line-function)
10894 (python-indent-post-self-insert-function)
10895 (python-indent-toggle-levels)
10896 (python-info-assignment-continuation-line-p)
10897 (python-info-beginning-of-backlash)
10898 (python-info-block-continuation-line-p)
10899 (python-info-closing-block-message)
10900 (python-info-line-ends-backslash-p)
10901 (python-info-looking-at-beginning-of-defun)
10902 (python-info-ppss-context, python-info-ppss-context-type)
10903 (python-nav-list-defun-positions, python-nav-read-defun)
10904 (python-nav-sentence-end, python-nav-sentence-start)
10905 (python-pdbtrack-comint-output-filter-function)
10906 (python-pdbtrack-set-tracked-buffer)
10907 (python-shell-calculate-exec-path)
10908 (python-shell-calculate-process-environment)
10909 (python-shell-completion--do-completion-at-point)
10910 (python-shell-completion--get-completions)
10911 (python-shell-completion-complete-at-point)
10912 (python-shell-completion-complete-or-indent)
10913 (python-shell-get-or-create-process)
10914 (python-shell-get-process-name)
10915 (python-shell-internal-get-or-create-process)
10916 (python-shell-internal-get-process-name)
10917 (python-shell-internal-send-string, python-shell-make-comint)
10918 (python-shell-parse-command, python-shell-send-setup-code)
10919 (python-skeleton-add-menu-items)
10920 (python-util-clone-local-variables, python-util-position)
10921 (run-python-internal, python-indentation-levels)
10922 (python-nav-beginning-of-defun)
10923 (python-completion-complete-at-point): New functions.
10924 (run-python): Change arguments. New API requirements.
10925
10926 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
10927
10928 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
10929 (bug#11649).
10930
10931 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
10932 (macroexp--expand-all): Use it.
10933
10934 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
10935 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
10936 Use `cl-function' instead.
10937
10938 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
10939
10940 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
10941 Suggested by Stefan Monnier while discussing bug#11657.
10942
10943 2012-06-14 Sam Steingold <sds@gnu.org>
10944
10945 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
10946
10947 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
10948
10949 * play/doctor.el (doctor-doc): Remove parameter and use
10950 doctor-sent instead of sent.
10951 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
10952
10953 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10954
10955 * files.el: Require cl-lib.
10956 (file-name-non-special): Replace case -> cl-case.
10957
10958 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
10959
10960 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
10961 mapping from #' to function*.
10962
10963 2012-06-13 Chong Yidong <cyd@gnu.org>
10964
10965 * mouse.el (mouse-drag-track): Do not set the mark if the user
10966 releases the mouse without selecting anything (Bug#11588).
10967
10968 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10969
10970 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
10971 as well (bug#11646).
10972
10973 * loadup.el: Count byte-code functions as well.
10974
10975 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
10976 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
10977
10978 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
10979 (bug#11649). Add cl-defun and cl-defmacro.
10980
10981 2012-06-13 Drew Adams <drew.adams@oracle.com>
10982
10983 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
10984 Fix last change.
10985
10986 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
10987
10988 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
10989 Otherwise, it blocks in batch mode.
10990
10991 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
10992
10993 * help-mode.el (bookmark-make-record-default): Declare.
10994
10995 2012-06-13 Chong Yidong <cyd@gnu.org>
10996
10997 * emacs-lisp/package.el (list-packages): Compute a list of
10998 packages that are newly-available since the last list-packages
10999 invocation.
11000 (package-menu--new-package-list): New var.
11001 (package-menu--generate, package-menu--print-info)
11002 (package-menu--status-predicate, package-menu-mark-install):
11003 Handle new status label "new".
11004
11005 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
11006
11007 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
11008 conversion to backquotes.
11009
11010 2012-06-12 Chong Yidong <cyd@gnu.org>
11011
11012 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
11013 Rename from gud-inhibit-global-bindings.
11014
11015 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
11016
11017 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
11018 hook from nxml-glyph-set-hook.
11019
11020 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
11021 declaration.
11022
11023 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
11024
11025 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
11026 Convert to defcustom.
11027
11028 2012-06-12 Drew Adams <drew.adams@oracle.com>
11029
11030 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
11031 New functions.
11032 (help-mode): Use them.
11033
11034 2012-06-11 Glenn Morris <rgm@gnu.org>
11035
11036 * progmodes/fortran.el (fortran-font-lock-keywords-3):
11037 Use preprocessor face for directives.
11038 (fortran-directive-re): Doc fix.
11039
11040 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
11041
11042 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
11043 conversion to backquotes (bug#11652).
11044
11045 Fix compiler-expansion of CL's cXXr functions (bug#11673).
11046 * emacs-lisp/cl-lib.el (cl--defalias): New function.
11047 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
11048 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
11049 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
11050 (cl-ninth, cl-tenth): Mark them as inlinable.
11051 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
11052 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
11053 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
11054 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
11055 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
11056 (cl-list*, cl-adjoin): Don't put an autoload manually.
11057 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
11058 (cl--compiler-macro-list*): Add autoload cookie.
11059 (cl--compiler-macro-cXXr): New function.
11060
11061 * help-fns.el (help-fns--compiler-macro): New function extracted from
11062 describe-function-1; follow aliases and use `compiler-macro' property.
11063 (describe-function-1): Use it.
11064
11065 2012-06-11 Chong Yidong <cyd@gnu.org>
11066
11067 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
11068 is uninstalled, if imagemagick is installed.
11069
11070 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
11071
11072 * emacs-lisp/cl-lib.el: Use lexical-binding.
11073 (cl-map-extents, cl-maclisp-member): Remove.
11074 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
11075 (cl--set-substring, cl--block-wrapper, cl--block-throw)
11076 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
11077 * emacs-lisp/cl-extra.el: Use lexical-binding.
11078 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
11079 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
11080 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
11081 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
11082 * emacs-lisp/cl-seq.el: Use lexical-binding.
11083 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
11084 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
11085 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
11086 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
11087 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
11088 CL's internals.
11089
11090 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
11091
11092 Sync with Tramp 2.2.6-pre.
11093
11094 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
11095 `print-length' and `print-level' to nil, in order to avoid
11096 truncation. Reported by Christopher Schmidt
11097 <christopher@ristopher.com>.
11098
11099 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
11100
11101 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
11102 New defmacro.
11103 (tramp-compat-copy-directory): Add optional argument
11104 COPY-CONTENTS. It is not handled yet.
11105
11106 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
11107 (tramp-ftp-file-name-p): Simplify.
11108
11109 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
11110 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
11111 connection vector.
11112
11113 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
11114 (tramp-methods): Do not use `tramp-password-end-of-line'.
11115 (tramp-completion-function-alist-putty): Handle UNIX case.
11116 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
11117 (tramp-do-file-attributes-with-stat)
11118 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
11119 gid as real numbers. They could run out of integer range on cygwin.
11120 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
11121 (tramp-sh-handle-expand-file-name): Handle hops.
11122 (tramp-open-connection-setup-interactive-shell):
11123 Use `tramp-cleanup'. Move check for busyboxes ...
11124 (tramp-find-shell): ... here. Simplify implementation.
11125 Set "remote-shell" property also for alternative shells.
11126 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
11127 If failing, a regular file would be written otherwise.
11128 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
11129 (tramp-find-inline-encoding): Cache the coding commands in the
11130 process cache. Apply test command on the remote side, if defined.
11131 (tramp-find-inline-compress): Cache the compress commands in the
11132 process cache.
11133 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
11134 when requested. Handle hops.
11135 (tramp-current-connection): New defvar.
11136 (tramp-maybe-open-connection): Use `tramp-cleanup'.
11137 Throw `suppress', if there was a failed connection shortly before.
11138 Handle user interrupt. (Bug#10187)
11139 (tramp-get-inline-compress, tramp-get-inline-coding):
11140 Read connection properties from the process cache.
11141
11142 * net/tramp-smb.el (tramp-smb-server-version)
11143 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
11144 New defconsts.
11145 (tramp-smb-prompt): Extend for powershell prompt.
11146 (tramp-smb-file-name-handler-alist): Add handlers for
11147 `process-file', `shell-command' and `start-file-process'.
11148 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
11149 (tramp-smb-winexe-shell-command-switch): New defcustoms.
11150 (tramp-smb-file-name-p): Simplify.
11151 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
11152 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
11153 (tramp-smb-shell-quote-argument): New defuns.
11154 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
11155 Implement using "tar". By this, time-stamps are preserved.
11156 (tramp-smb-handle-copy-file): Handle also the case of directories.
11157 (tramp-smb-do-file-attributes-with-stat)
11158 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
11159 Use `tramp-get-connection-buffer').
11160 (tramp-smb-handle-rename-file): Use "rename", when source and
11161 target are on the same share.
11162 (tramp-smb-maybe-open-connection): Handle wrong passwords.
11163 Use `tramp-smb-server-version'.
11164 (tramp-smb-wait-for-output): Remove prompt.
11165
11166 * net/tramp.el (top): Require 'cl.
11167 (tramp-methods, tramp-rsh-end-of-line):
11168 Remove `tramp-password-end-of-line' from docstring.
11169 (tramp-save-ad-hoc-proxies): New defcustom.
11170 (tramp-completion-function-alist): Adapt docstring.
11171 (tramp-default-password-end-of-line): Remove defcustom.
11172 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
11173 (tramp-user-regexp, tramp-file-name-regexp-unified)
11174 (tramp-file-name-regexp-url): Extend regexp by hop separator.
11175 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
11176 (tramp-remote-file-name-spec-regexp): New defconst.
11177 (tramp-file-name-structure): Extend structure for hops.
11178 (tramp-get-method-parameter): Move up.
11179 (tramp-file-name-p, tramp-dissect-file-name)
11180 (with-parsed-tramp-file-name): Handle hops.
11181 (tramp-file-name-hop): New defun.
11182 (tramp-make-tramp-file-name): New optional arg HOP.
11183 (tramp-message-show-progress-reporter-message): New defvar.
11184 (tramp-with-progress-reporter): Use it. We cannot use
11185 `tramp-message-show-message' here, because this suppresses also
11186 error buffers.
11187 (tramp-error-with-buffer): Suppress buffer view, if
11188 `tramp-message-show-message' is nil.
11189 Use `tramp-get-connection-buffer'.
11190 (tramp-cleanup): New defun.
11191 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
11192 (tramp-file-name-handler): If `debug-on-error' is set, propagate
11193 an error unchanged.
11194 (tramp-completion-handle-file-name-all-completions): Handle hops.
11195 Fix an error when called from ido.
11196 (tramp-completion-dissect-file-name): Use better local variable
11197 name. Add hop to the vector.
11198 (tramp-handle-insert-file-contents): Use progress-reporter for the
11199 whole scenario.
11200 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
11201 to `t'.
11202 (tramp-check-for-regexp): Simplify search.
11203 (tramp-enter-password): Remove it. Move implementation ...
11204 (tramp-action-password): ... here.
11205 (tramp-mode-string-to-int, tramp-local-host-p)
11206 (tramp-make-tramp-temp-file, tramp-read-passwd)
11207 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
11208 Set tramp-autoload cookie.
11209
11210 * net/trampver.el: Update release number.
11211
11212 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11213 Michael Albinus <michael.albinus@gmx.de>
11214
11215 * net/tramp.el (tramp-set-completion-function): Fix docstring.
11216 (tramp-parse-group, tramp-parse-file)
11217 (tramp-parse-shostkeys-sknownhosts): New defuns.
11218 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
11219 (tramp-parse-shosts-group, tramp-parse-sconfig)
11220 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
11221 (tramp-parse-sknownhosts, tramp-parse-hosts)
11222 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
11223 Use them.
11224 (tramp-parse-passwd-group, tramp-parse-netrc-group)
11225 (tramp-parse-putty-group): Don't narrow.
11226 (tramp-parse-putty): Make a loop.
11227 (tramp-file-name-handler): Catch the `suppress' signal.
11228
11229 2012-06-11 Chong Yidong <cyd@gnu.org>
11230
11231 * image.el (imagemagick-register-types): Put the ImageMagick entry
11232 at the end of image-type-file-name-regexps.
11233
11234 2012-06-11 Johan Bockgård <bojohan@gnu.org>
11235
11236 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
11237 (pcase, pcase-let*, pcase-dolist): Use them.
11238
11239 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
11240
11241 * emacs-lisp/pcase.el (pcase--let*): New function.
11242 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
11243 (pcase--expand): Use macroexp-let².
11244
11245 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
11246
11247 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
11248 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
11249 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
11250 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
11251 * emacs-lisp/derived.el: Use pcase instead of `cl'.
11252 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
11253
11254 2012-06-10 Glenn Morris <rgm@gnu.org>
11255
11256 * mail/rmail.el (rmail-yank-current-message): Leave point at
11257 correct position. (Bug#11660)
11258
11259 2012-06-10 Chong Yidong <cyd@gnu.org>
11260
11261 * allout-widgets.el: Fix code header.
11262
11263 2012-06-10 Chong Yidong <cyd@gnu.org>
11264
11265 * cus-edit.el (customize-changed-options-previous-release):
11266 Bump to 24.1.
11267
11268 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
11269
11270 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
11271
11272 2012-06-09 Chong Yidong <cyd@gnu.org>
11273
11274 * ebuff-menu.el (electric-buffer-list): Preserve header line.
11275
11276 2012-06-09 Martin Rudalics <rudalics@gmx.at>
11277
11278 * window.el (special-display-popup-frame): Don't use
11279 window--display-buffer (Bug#11651).
11280
11281 2012-06-09 Eli Zaretskii <eliz@gnu.org>
11282
11283 Fix parallel builds: make sure loaddefs.el is not being written
11284 while Lisp files are compiled.
11285 (compile): Don't depend on 'mh-autoloads'.
11286 (compile-CMD, compile-SH): Depend on 'autoloads'.
11287 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
11288
11289 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
11290
11291 2012-06-09 Chong Yidong <cyd@gnu.org>
11292
11293 * face-remap.el (face-remap-add-relative, face-remap-set-base)
11294 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
11295 Doc fixes (Bug#11225).
11296
11297 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
11298
11299 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
11300 a function if there's a clear indication that it has a compiler-macro.
11301 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
11302 (macro-declarations-alist): Add arglist to declaration functions.
11303 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
11304 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
11305 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
11306 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
11307 Also add autoload to find the compiler macro.
11308 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
11309 (cl--compiler-macro-member, cl--compiler-macro-assoc)
11310 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
11311 (cl--compiler-macro-get): New functions, replacing calls to
11312 cl-define-compiler-macro.
11313 (cl-typep) [compiler-macro]: Use macroexp-let².
11314
11315 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
11316
11317 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
11318 string properly, fixes Bug#11473.
11319
11320 2012-06-08 Chong Yidong <cyd@gnu.org>
11321
11322 * faces.el (set-face-attribute): Doc fix.
11323 (modify-face): Don't use :bold and :italic.
11324 (error, warning, success): Tweak definitions.
11325
11326 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
11327 (custom-modified, custom-set, custom-changed, custom-themed)
11328 (custom-saved, custom-button, custom-button-mouse)
11329 (custom-button-pressed, custom-state, custom-comment-tag)
11330 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
11331 (custom-group-subtitle): Use new-style face specs.
11332 (custom-invalid-face, custom-rogue-face, custom-modified-face)
11333 (custom-set-face, custom-changed-face, custom-saved-face)
11334 (custom-button-face, custom-button-pressed-face)
11335 (custom-documentation-face, custom-state-face)
11336 (custom-comment-face, custom-comment-tag-face)
11337 (custom-variable-tag-face, custom-variable-button-face)
11338 (custom-face-tag-face, custom-group-tag-face-1)
11339 (custom-group-tag-face): Remove obsolete face alias.
11340
11341 * epa.el (epa-validity-high, epa-validity-medium)
11342 (epa-validity-low, epa-mark, epa-field-name, epa-string)
11343 (epa-field-name, epa-field-body):
11344 * font-lock.el (font-lock-comment-face, font-lock-string-face)
11345 (font-lock-keyword-face, font-lock-builtin-face)
11346 (font-lock-function-name-face, font-lock-variable-name-face)
11347 (font-lock-type-face, font-lock-constant-face):
11348 * ido.el (ido-first-match, ido-only-match, ido-subdir)
11349 (ido-virtual, ido-indicator, ido-incomplete-regexp):
11350 * speedbar.el (speedbar-button-face, speedbar-file-face)
11351 (speedbar-directory-face, speedbar-tag-face)
11352 (speedbar-selected-face, speedbar-highlight-face)
11353 (speedbar-separator-face):
11354 * whitespace.el (whitespace-newline, whitespace-space)
11355 (whitespace-hspace, whitespace-tab, whitespace-trailing)
11356 (whitespace-line, whitespace-space-before-tab)
11357 (whitespace-space-after-tab, whitespace-indentation)
11358 (whitespace-empty):
11359 * emulation/cua-base.el (cua-global-mark):
11360 * eshell/em-prompt.el (eshell-prompt):
11361 * net/newst-plainview.el (newsticker-new-item-face)
11362 (newsticker-old-item-face, newsticker-immortal-item-face)
11363 (newsticker-obsolete-item-face, newsticker-date-face)
11364 (newsticker-statistics-face, newsticker-default-face):
11365 * net/newst-reader.el (newsticker-feed-face)
11366 (newsticker-extra-face, newsticker-enclosure-face):
11367 * net/newst-treeview.el (newsticker-treeview-face)
11368 (newsticker-treeview-new-face, newsticker-treeview-old-face)
11369 (newsticker-treeview-immortal-face)
11370 (newsticker-treeview-obsolete-face)
11371 (newsticker-treeview-selection-face):
11372 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
11373 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
11374 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
11375 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
11376 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
11377 (nxml-outline-active-indicator, nxml-outline-ellipsis):
11378 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
11379 (mpuz-text):
11380 * progmodes/vera-mode.el (vera-font-lock-number)
11381 (vera-font-lock-function, vera-font-lock-interface):
11382 * textmodes/table.el (table-cell): Use new-style face specs, and
11383 don't use the old :bold and :italic attributes.
11384
11385 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
11386 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
11387 (ebrowse-member-class, ebrowse-progress): Likewise.
11388 (ebrowse-tree-mark-face, ebrowse-root-class-face)
11389 (ebrowse-file-name-face, ebrowse-default-face)
11390 (ebrowse-member-attribute-face, ebrowse-member-class-face)
11391 (ebrowse-progress-face): Remove obsolete faces.
11392
11393 * progmodes/flymake.el (flymake-errline, flymake-warnline):
11394 Inherit from error and warning faces respectively.
11395
11396 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
11397 Likewise.
11398 (flyspell-incorrect-face, flyspell-duplicate-face):
11399 Remove obsolete aliases.
11400
11401 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
11402
11403 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
11404 Avoid infloop.
11405
11406 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
11407
11408 * startup.el (argv, argi): Make lexically scoped.
11409 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
11410 * emacs-lisp/cl-macs.el: Use lexical-binding.
11411 Rename cl-bind-* to cl--bind-*.
11412 * files.el: Don't require `cl' since it doesn't use it.
11413 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
11414
11415 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
11416
11417 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
11418 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
11419 instead of calling external sort utility.
11420 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
11421
11422 2012-06-08 Eli Zaretskii <eliz@gnu.org>
11423
11424 * descr-text.el (describe-char): Mention how to insert the
11425 character, if the current input method doesn't support it.
11426 See the discussion in this thread for the details:
11427 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
11428
11429 2012-06-08 Sam Steingold <sds@gnu.org>
11430
11431 * bindings.el (global-map): Bind XF86Forward to next-buffer and
11432 XF86Back to previous-buffer.
11433 (minibuffer-local-map): Bind them to next-history-element and
11434 previous-history-element respectively.
11435 * help-mode.el (help-mode-map): Bind them to help-go-forward and
11436 help-go-back respectively.
11437 * info.el (Info-mode-map): Bind them to Info-history-forward and
11438 Info-history-back respectively.
11439 These are the keys next to Up on the ThinkPad keyboard.
11440
11441 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
11442
11443 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
11444 * emacs-lisp/cl-macs.el: Provide itself.
11445 (cl--labels-convert-cache): New var.
11446 (cl--labels-convert): New function.
11447 (cl-flet, cl-labels): New implementation with new semantics, relying on
11448 lexical-binding.
11449 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
11450 (cl-closure-vars, cl--function-convert-cache)
11451 (cl--function-convert): Move from cl-macs.el.
11452 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
11453 rename by removing the "cl-" prefix.
11454 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
11455
11456 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
11457
11458 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
11459 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
11460 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
11461 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
11462 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
11463 (cl-hash-table-count): Add old compatibility aliases.
11464
11465 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
11466 Use macroexpand-all-environment instead.
11467 (cl--old-macroexpand): New var.
11468 (cl--sm-macroexpand): New function.
11469 (cl-symbol-macrolet): Use it during macro expansion.
11470 (cl--function-convert-cache): New var.
11471 (cl--function-convert): New function, extracted from
11472 cl-macroexpand-all.
11473 (cl-lexical-let): Use it.
11474
11475 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
11476 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
11477 (cl-member): Remove old alias.
11478
11479 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
11480 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
11481 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
11482 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
11483 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
11484 (cl-macroexpand-cmacs): Remove var.
11485 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
11486 Use macroexpand-all instead.
11487
11488 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
11489
11490 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
11491 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
11492 (macroexp-copyable-p): New functions and macros.
11493 * emacs-lisp/edebug.el (edebug-unwrap):
11494 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
11495 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
11496 (pcase--let*): Remove.
11497 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
11498 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
11499 macroexp-const-p instead.
11500 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
11501
11502 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
11503 instead of "cl-" for internal definitions. Use macroexp-const-p.
11504 (cl-old-bc-file-form): Remove var.
11505 (cl-const-exprs-p): Remove fun.
11506 (cl-labels, cl-macrolet): Use backquote.
11507 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
11508 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
11509 (cl-define-setf-expander): Rename from cl-define-setf-method.
11510 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
11511
11512 * international/mule-cmds.el: Don't require CL.
11513 (view-hello-file): Don't use `letf'.
11514
11515 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
11516
11517 * tmm.el (tmm-prompt): Use string-prefix-p.
11518 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
11519 (tmm-add-prompt): Use minibuffer-completion-help.
11520 (tmm-delete-map): Remove.
11521
11522 * subr.el (kbd): Make it its own function.
11523
11524 2012-06-07 Stefan Merten <smerten@oekonux.de>
11525
11526 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
11527 Silence compiler warnings. Fix versions.
11528 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
11529 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
11530 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
11531 (rst-package-emacs-version-alist): Correct Emacs version to
11532 represent major merge with upstream.
11533 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
11534
11535 2012-06-06 Glenn Morris <rgm@gnu.org>
11536
11537 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
11538 Only print environment variables if set.
11539
11540 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
11541
11542 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
11543 (macroexp--cons): Rename from maybe-cons.
11544 (macroexp--accumulate): Rename from macroexp-accumulate.
11545 (macroexp--all-forms): Rename from macroexpand-all-forms.
11546 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
11547 (macroexp--expand-all): Rename from macroexpand-all-1.
11548
11549 2012-06-06 Sam Steingold <sds@gnu.org>
11550
11551 * calendar/calendar.el (calendar-in-read-only-buffer):
11552 Call `special-mode' to enable the standard read-only keybindings.
11553
11554 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
11555
11556 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
11557 with "loading" messages (bug#11635).
11558
11559 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
11560
11561 * files.el (enable-remote-dir-locals): New option.
11562 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
11563
11564 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
11565 Ensure, that the temp directory is local.
11566
11567 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
11568 `temporary-file-directory'.
11569
11570 * progmodes/python.el (python-send-region): Ensure, that the
11571 temporary file is created also in the remote case.
11572
11573 2012-06-06 Glenn Morris <rgm@gnu.org>
11574
11575 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
11576 (vc-rcs-update-changelog): Use it.
11577
11578 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
11579
11580 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
11581 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
11582 (vc-sccs-diff): Replace use of the external vcdiff script.
11583
11584 2012-06-05 Glenn Morris <rgm@gnu.org>
11585
11586 * ledit.el: Move to obsolete/.
11587
11588 2012-06-05 Sam Steingold <sds@gnu.org>
11589
11590 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
11591 patch (Bug#11140).
11592
11593 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11594
11595 * emacs-lisp/cust-print.el: Move to obsolete.
11596
11597 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
11598 compiler-macro expansion.
11599
11600 Add native compiler-macro support.
11601 * emacs-lisp/macroexp.el (macroexpand-all-1):
11602 Support compiler-macros directly. Properly follow aliases and apply
11603 the compiler macros more thoroughly.
11604 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
11605 macroexpand now properly follows aliases.
11606 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
11607 (cl-compiler-macroexpand): Use new prop.
11608 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
11609
11610 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
11611
11612 2012-06-05 Martin Rudalics <rudalics@gmx.at>
11613
11614 * window.el (get-lru-window, get-mru-window, get-largest-window):
11615 New argument NOT-SELECTED to avoid picking the selected window.
11616 (window--display-buffer-1, window--display-buffer-2): Replace by
11617 new function window--display-buffer
11618 (display-buffer-same-window, display-buffer-reuse-window)
11619 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
11620 Use window--display-buffer.
11621 (display-buffer-use-some-window): Remove temporary dedication
11622 hack by calling get-lru-window and get-largest-window with
11623 NOT-SELECTED argument non-nil. Call window--display-buffer.
11624
11625 2012-06-05 Glenn Morris <rgm@gnu.org>
11626
11627 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
11628 Replace external vcdiff script.
11629
11630 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
11631
11632 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
11633
11634 2012-06-04 Chong Yidong <cyd@gnu.org>
11635
11636 * image.el (imagemagick-types-inhibit): Revert last change.
11637 Add INFO and M.
11638 (imagemagick-enabled-types): Remove CIN and EPS*.
11639
11640 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
11641
11642 * emacs-lisp/cl-lib.el: Rename from cl.el.
11643 * emacs-lisp/cl.el: New compatibility file.
11644 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
11645 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
11646 to obey the "cl-" prefix.
11647 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
11648
11649 2012-06-03 Glenn Morris <rgm@gnu.org>
11650
11651 * emacs-lisp/authors.el (authors-aliases): Addition.
11652
11653 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
11654 Fix :version.
11655
11656 2012-06-03 Stefan Merten <smerten@oekonux.de>
11657
11658 * textmodes/rst.el: Add comments.
11659 (rst-transition, rst-adornment): New faces.
11660 (rst-adornment-faces-alist): Make default safe to reevaluate.
11661 Fixes
11662 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
11663 Improve customization tags.
11664 (rst-define-level-faces): Clarify meaning.
11665
11666 2012-06-03 Chong Yidong <cyd@gnu.org>
11667
11668 * progmodes/compile.el (compilation-mode-line-fail)
11669 (compilation-mode-line-run, compilation-mode-line-exit):
11670 New faces.
11671 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
11672
11673 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
11674
11675 * progmodes/which-func.el (which-func-update-ediff-windows):
11676 New function. Use it in ediff-select-hook (Bug#11478).
11677
11678 2012-06-03 Chong Yidong <cyd@gnu.org>
11679
11680 * bindings.el: Remove explicit help text from format-mode-line.
11681 It is now supplied by mode-line-default-help-echo.
11682 (mode-line-front-space, mode-line-end-spaces)
11683 (mode-line-misc-info): New variables.
11684 (mode-line-modes, mode-line-position): Move the default value to
11685 the variable definition.
11686 (mode-line-default-help-echo): New defcustom.
11687 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
11688 (mode-line-modified-help-echo): New functions.
11689 (mode-line-mule-info, mode-line-modified): Use them.
11690 (mode-line-eol-desc, propertized-buffer-identification):
11691 Consistency fixes for help text.
11692 (mode-line-coding-system-map): Allow using mouse-3 to invoke
11693 set-buffer-file-coding-system (Bug#289).
11694 (mode-line-mule-info-help-echo): Update help text.
11695
11696 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
11697
11698 * simple.el (execute-extended-command): Set real-this-command
11699 (bug#11506).
11700
11701 2012-06-02 Chong Yidong <cyd@gnu.org>
11702
11703 Remove incorrect uses of "modeline" in comments, docstrings, and
11704 function/variable names (Bug#10329).
11705
11706 * cus-edit.el (mode-line):
11707 * dframe.el (dframe-mouse-hscroll):
11708 * emacs-lisp/re-builder.el:
11709 * emacs-lisp/easy-mmode.el (define-minor-mode):
11710 * frame.el (set-frame-name):
11711 * help.el (lookup-minor-mode-from-indicator):
11712 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
11713 * progmodes/cc-cmds.el (c-toggle-auto-newline)
11714 (c-toggle-hungry-state):
11715 * progmodes/antlr-mode.el (antlr-language-alist):
11716 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
11717 * progmodes/vhdl-mode.el (vhdl-mode):
11718 * progmodes/which-func.el (which-func, which-func-cleanup-function):
11719 * term/ns-win.el (ns-face-at-pos):
11720 * term/sup-mouse.el (sup-mouse-report):
11721 * textmodes/flyspell.el (flyspell-mode-line-string):
11722 * textmodes/ispell.el (ispell-highlight-face):
11723 * textmodes/reftex-global.el:
11724 * vc/vc-arch.el (vc-arch-mode-line-string):
11725 * vc/vc-cvs.el (vc-cvs-mode-line-string):
11726 * vc/vc-git.el (vc-git-mode-line-string):
11727 * vc/vc-hooks.el (vc-display-status)
11728 (vc-default-mode-line-string):
11729 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
11730
11731 * ansi-color.el (ansi-color-faces-vector): Change default faces.
11732
11733 * dired.el (dired-sort-set-mode-line): Rename from
11734 dired-sort-set-modeline. All callers changed.
11735
11736 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
11737 eshell-status-in-modeline.
11738
11739 * foldout.el (foldout-mode-line-string): Rename from
11740 foldout-modeline-string. All callers changed.
11741 (foldout-update-mode-line): Rename from foldout-update-modeline.
11742
11743 * subr.el (redraw-modeline): Make into obsolete alias.
11744
11745 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
11746 timeclock-modeline-display. Make old name an alias.
11747 (timeclock-update-mode-line): Likewise. All callers changed.
11748 (timeclock-mode-line-display): No need to check before using
11749 add-hook.
11750 (timeclock-relative, timeclock-day-over-hook)
11751 (timeclock-use-elapsed, timeclock-mode-string)
11752 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
11753
11754 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
11755 crisp-mode-modeline-string.
11756
11757 * play/solitaire.el (solitaire-build-mode-line): Rename from
11758 solitaire-build-modeline. All callers changed.
11759
11760 * play/zone.el (zone-hiding-mode-line): Rename from
11761 zone-hiding-modeline. All callers changed.
11762 (zone): Remove unusued `modeline-hidden-level' property.
11763
11764 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
11765 xscheme-modeline-initialize. All callers changed.
11766
11767 * strokes.el (strokes-lighter): Rename from
11768 strokes-modeline-string.
11769
11770 * textmodes/sgml-mode.el (html-face-tag-alist)
11771 (html-tag-face-alist): Use mode-line face instead of obsolete
11772 alias modeline.
11773
11774 2012-06-02 Stefan Merten <smerten@oekonux.de>
11775
11776 * textmodes/rst.el: Always require `cl'.
11777 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
11778
11779 2012-06-02 Chong Yidong <cyd@gnu.org>
11780
11781 * image.el (imagemagick-enabled-types): Rename from
11782 imagemagick-types-enable. Add many more types.
11783 (imagemagick-types-inhibit): Change default to nil.
11784 (imagemagick-filter-types): Caller changed.
11785
11786 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
11787
11788 * emacs-lisp/cl-macs.el: Use backquotes.
11789 (cl-transform-function-property): Use eval-and-compile rather than
11790 abusing `require'.
11791 (defstruct): Use declare-function instead of with-no-warnings.
11792
11793 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
11794 (byte-compile-output-docform): Re-add the print-circle bindings.
11795 (byte-compile-fix-header): Use #$ just because it's shorter.
11796 (byte-compile-output-file-form): Remove defun/defmacro.
11797
11798 2012-06-01 Martin Rudalics <rudalics@gmx.at>
11799
11800 * simple.el (choose-completion): Remove now obsolete binding for
11801 owindow.
11802
11803 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
11804
11805 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
11806 in order to avoid "Stack overflow in regexp matcher".
11807
11808 2012-05-31 Glenn Morris <rgm@gnu.org>
11809
11810 * image.el: For clarity, call imagemagick-register-types at
11811 top-level, rather than relying on a custom :initialize.
11812 (imagemagick-types-enable): New option. (Bug#11557)
11813 (imagemagick-filter-types): New function. (Bug#7406)
11814 (imagemagick-register-types): Use imagemagick-filter-types.
11815 If disabling support, remove elements altogether rather
11816 than using an impossible regexp.
11817 (imagemagick-types-inhibit): Give it the default init function.
11818
11819 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11820
11821 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
11822 Handle arbitrary file name lengths (Bug#11585).
11823
11824 2012-05-31 Martin Rudalics <rudalics@gmx.at>
11825
11826 * desktop.el (desktop-read): Clear previous and next buffers for
11827 all windows and bury *Messages* buffer (bug#11556).
11828
11829 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11830
11831 Add `declare' for `defun'. Align `defmacro's with it.
11832 * emacs-lisp/easy-mmode.el (define-minor-mode)
11833 (define-globalized-minor-mode): Don't autoload the var definitions.
11834 * emacs-lisp/byte-run.el: Use lexical-binding.
11835 (defun-declarations-alist, macro-declarations-alist): New vars.
11836 (defmacro, defun): Use them.
11837 (make-obsolete, define-obsolete-function-alias)
11838 (make-obsolete-variable, define-obsolete-variable-alias):
11839 Use `declare'.
11840 (macro-declaration-function): Mark obsolete.
11841 * emacs-lisp/autoload.el: Use lexical-binding.
11842 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
11843
11844 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11845
11846 * textmodes/ispell.el (ispell-with-no-warnings):
11847 Define as a macro.
11848 (ispell-kill-ispell, ispell-change-dictionary):
11849 Use `called-interactively-p' for Emacs instead of obsolete
11850 `interactive-p'.
11851
11852 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11853
11854 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
11855 (macro-declaration-function): Move var from C code.
11856 (macro-declaration-function): Define function with defalias.
11857 * emacs-lisp/macroexp.el (macroexpand-all-1):
11858 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
11859 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
11860 defun/defmacro any more.
11861 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
11862 Provide fallback for unknown arglist.
11863 (byte-compile-arglist-warn): Change calling convention.
11864 (byte-compile-output-file-form): Move print-vars binding.
11865 (byte-compile-output-docform): Simplify accordingly.
11866 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
11867 (byte-compile-defmacro-declaration): Remove.
11868 (byte-compile-file-form-defmumble): Generalize to defalias.
11869 (byte-compile-output-as-comment): Return byte-positions.
11870 Simplify callers accordingly.
11871 (byte-compile-lambda): Use `assert'.
11872 (byte-compile-defun, byte-compile-defmacro): Remove.
11873 (byte-compile-file-form-defalias):
11874 Use byte-compile-file-form-defmumble.
11875 (byte-compile-defalias-warn): Remove.
11876
11877 2012-05-29 Stefan Merten <smerten@oekonux.de>
11878
11879 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
11880 possible. Fix authors. Improve comments. Improve loading of `cl'.
11881
11882 (rst-mode-abbrev-table): Merge definition.
11883 (rst-mode): Make sure `font-lock-defaults' is buffer local.
11884 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
11885
11886 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
11887
11888 * calendar/icalendar.el
11889 (icalendar-export-region): Export UID properly.
11890
11891 2012-05-29 Leo Liu <sdl.web@gmail.com>
11892 * calendar/icalendar.el (icalendar-import-format):
11893 Add `icalendar-import-format-uid' (Bug#11525).
11894 (icalendar-import-format-uid): New.
11895 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
11896 Export UID.
11897
11898 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
11899
11900 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
11901 different alternative patterns.
11902 (pcase-codegen): Be more careful to preserve identity.
11903 (pcase--u1): Don't forget to mark vars as used.
11904
11905 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
11906 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
11907 (byte-compile-from-buffer): ...rather than here.
11908
11909 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
11910 functions from byte-compile-function-environment.
11911
11912 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
11913
11914 * window.el (window-deletable-p): Avoid deleting the root window
11915 of a frame with an active minibuffer.
11916
11917 2012-05-29 Martin Rudalics <rudalics@gmx.at>
11918
11919 * simple.el (choose-completion): Use quit-window (Bug#11567).
11920
11921 2012-05-29 Chong Yidong <cyd@gnu.org>
11922
11923 * whitespace.el (whitespace-cleanup): Fix usage of
11924 whitespace-empty-at-bob-regexp (Bug#11492).
11925
11926 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11927
11928 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
11929 revert (Bug#11488).
11930
11931 2012-05-29 Juri Linkov <juri@jurta.org>
11932
11933 * isearch.el (isearch-mode-map): Bind `M-s _' to
11934 `isearch-toggle-symbol'. Bind `M-s c' to
11935 `isearch-toggle-case-fold'.
11936 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
11937 (isearch-forward): Add `M-s _' to the docstring.
11938 (isearch-forward-symbol, isearch-toggle-case-fold)
11939 (isearch-symbol-regexp): New functions. (Bug#11381)
11940
11941 2012-05-29 Juri Linkov <juri@jurta.org>
11942
11943 * isearch.el (isearch-word): Add docstring. (Bug#11381)
11944 (isearch-occur, isearch-search-and-update): If `isearch-word' is
11945 a function, call it to get the regexp.
11946 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
11947 property `isearch-message-prefix' instead of the string "word ".
11948 (isearch-search-fun-default): For the case of `isearch-word',
11949 return a lambda that calls re-search-forward/re-search-backward
11950 with a regexp returned by `word-search-regexp' or by the function
11951 in `isearch-word'.
11952
11953 2012-05-29 Juri Linkov <juri@jurta.org>
11954
11955 * isearch.el (isearch-search-fun-default): New function.
11956 (isearch-search-fun): Move default part to the new function
11957 `isearch-search-fun-default'.
11958 (isearch-search-fun-function): Set the default value to
11959 `isearch-search-fun-default'. (Bug#11381)
11960
11961 * comint.el (comint-history-isearch-end):
11962 Use `isearch-search-fun-default'.
11963 (comint-history-isearch-search): Use `isearch-search-fun-default'
11964 and remove spacial case for `isearch-word'.
11965 (comint-history-isearch-wrap): Remove spacial case for
11966 `isearch-word'.
11967
11968 * hexl.el (hexl-isearch-search-function):
11969 Use `isearch-search-fun-default'.
11970
11971 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
11972 Use `word-search-regexp' for `isearch-word'.
11973
11974 * misearch.el (multi-isearch-search-fun):
11975 Use `isearch-search-fun-default'.
11976
11977 * simple.el (minibuffer-history-isearch-search):
11978 Use `isearch-search-fun-default' and remove spacial case for
11979 `isearch-word'.
11980 (minibuffer-history-isearch-wrap): Remove spacial case for
11981 `isearch-word'.
11982
11983 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
11984 Remove spacial case for `isearch-word'.
11985 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
11986
11987 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11988
11989 Decrease XEmacs incompatibilities.
11990 * textmodes/flyspell.el (flyspell-check-pre-word-p):
11991 Use `string-match'.
11992 (flyspell-delete-region-overlays): Use alternative definition for
11993 XEmacs.
11994 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
11995 (flyspell-word): Use `process-kill-without-query' if XEmacs.
11996 (flyspell-mode-on): Use `interactive-p' if XEmacs.
11997 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
11998 `define-obsolete-face-alias' under XEmacs, but old method.
11999
12000 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
12001 `with-no-warnings' definition or Emacs alias.
12002 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
12003 (ispell-word): Do not use `region-p' if XEmacs.
12004
12005 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12006
12007 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
12008 Check for `ispell-dictionary-base-alist' instead of full
12009 `ispell-dictionary-alist'.
12010 (ispell-init-process): Show spellchecker when starting new Ispell
12011 process.
12012
12013 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
12014
12015 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
12016 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
12017
12018 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
12019
12020 * version.el (motif-version-string, gtk-version-string)
12021 (ns-version-string): Declare.
12022
12023 2012-05-27 Juri Linkov <juri@jurta.org>
12024
12025 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
12026 after the `eval-defun-1' specialcaseing
12027 like in `edebug-eval-defun' (bug#10181).
12028
12029 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
12030 like in `eval-defun-1'.
12031
12032 2012-05-27 Eli Zaretskii <eliz@gnu.org>
12033
12034 * mail/sendmail.el (mail-yank-region):
12035 Recognize rmail-yank-current-message in addition to insert-buffer.
12036 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
12037 a *mail* buffer created through rmail-start-mail with sendmail as
12038 mail-user-agent.
12039
12040 2012-05-27 Chong Yidong <cyd@gnu.org>
12041
12042 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
12043 Default to 256 (Bug#11267).
12044
12045 * help.el (describe-mode): Doc fix.
12046
12047 2012-05-26 Glenn Morris <rgm@gnu.org>
12048
12049 * w32-fns.el (w32-init-info): Remove.
12050 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
12051
12052 * info.el (info-initialize): For self-contained NS builds, put the
12053 included info/ directory at the front. (Bug#2791)
12054
12055 * paths.el (Info-default-directory-list): Make it a defcustom,
12056 mainly so that we can use custom-initialize-delay.
12057
12058 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
12059
12060 * subr.el (buffer-has-markers-at): Mark obsolete.
12061
12062 * subr.el (lambda): Use declare.
12063
12064 * emacs-lisp/lisp-mode.el (lambda):
12065 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
12066
12067 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
12068
12069 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
12070
12071 2012-05-26 Glenn Morris <rgm@gnu.org>
12072
12073 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
12074
12075 2012-05-25 Glenn Morris <rgm@gnu.org>
12076
12077 * paths.el: Remove no-byte-compile.
12078 * loadup.el: No need to load paths.el uncompiled.
12079
12080 * image.el (imagemagick-types-inhibit): Doc fix.
12081
12082 * version.el: Remove no-byte-compile and associated formatting.
12083 * loadup.el: No need to load version.el uncompiled. AFAICS, this
12084 is ancient code from when there was an "inc-vers.el".
12085
12086 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
12087
12088 * progmodes/gdb-mi.el: Minor style changes.
12089 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
12090 Turn into minor modes.
12091 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
12092 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
12093 (gdb-shell): Remove unneeded let-binding.
12094 (gdb-get-many-fields): Eliminate O(n²) behavior.
12095
12096 2012-05-25 Eli Zaretskii <eliz@gnu.org>
12097
12098 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
12099 platforms that don't link in fontset.c.
12100
12101 2012-05-25 Juri Linkov <juri@jurta.org>
12102
12103 Use the same diff color scheme as in modern VCSes (bug#10181).
12104
12105 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
12106 to avoid confusion with `diff-added' that now uses green colors.
12107 (diff-removed): Use shades of red.
12108 (diff-added): Use shades of green.
12109 (diff-changed): Leave just the yellow color.
12110 (diff-use-changed-face): New variable.
12111 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
12112 how to highlight context diff changes.
12113 (diff-refine-change): Use shades of yellow.
12114 (diff-refine-removed): New face that uses shades of red.
12115 (diff-refine-added): New face that uses shades of green.
12116 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
12117 `diff-refine-removed' in the call to `smerge-refine-subst'
12118 depending on the value of `diff-use-changed-face'.
12119
12120 * vc/smerge-mode.el (smerge-mine): Use shades of red.
12121 (smerge-other): Use shades of green.
12122 (smerge-base): Use shades of yellow.
12123 (smerge-refined-change): Empty face.
12124 (smerge-refined-removed): New face that uses shades of red.
12125 (smerge-refined-added): New face that uses shades of green.
12126 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
12127 args `props-r' and `props-a', and use them. Doc fix.
12128 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
12129 on its value use different faces `smerge-refined-change',
12130 `smerge-refined-removed', `smerge-refined-added' in the call to
12131 `smerge-refine-subst'.
12132
12133 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
12134 Add face condition `min-colors 88' with shades of red.
12135 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
12136 `min-colors 88' with shades of green.
12137 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
12138 `min-colors 88' with shades of yellow.
12139
12140 2012-05-24 Glenn Morris <rgm@gnu.org>
12141
12142 * paths.el (prune-directory-list, remote-shell-program): Move to...
12143 * files.el (prune-directory-list, remote-shell-program): ...here.
12144 For the latter, delay initialization, prefer ssh, just search PATH.
12145
12146 * paths.el (term-file-prefix): Move to faces.el (the only user).
12147 * faces.el (term-file-prefix): Move here, make it a defcustom.
12148
12149 * paths.el (news-directory, news-path, news-inews-program):
12150 Move to gnus/nnspool.el.
12151
12152 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
12153
12154 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
12155 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
12156 Make the latter a defcustom, with a delayed initialization.
12157
12158 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
12159 These were deleted from Gnus itself late 2010.
12160
12161 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
12162
12163 * progmodes/which-func.el (which-func-ff-hook):
12164 Check against user-error, not error.
12165
12166 * emacs-lisp/edebug.el (top): Do not load or set up loading of
12167 cl-specs.el, which no longer exists.
12168
12169 2012-05-22 Glenn Morris <rgm@gnu.org>
12170
12171 * info.el (info-emacs-bug): New command.
12172 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
12173 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
12174
12175 2012-05-21 Glenn Morris <rgm@gnu.org>
12176
12177 * makefile.w32-in (update-subdirs-SH):
12178 * Makefile.in (update-subdirs): Update for moved update-subdirs.
12179
12180 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
12181
12182 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
12183
12184 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12185 Simplify Maven regexp, and make sure the file can't start with a space
12186 (bug#11517).
12187
12188 2012-05-21 Glenn Morris <rgm@gnu.org>
12189
12190 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
12191 Scrap superfluous subshells.
12192
12193 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
12194
12195 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
12196 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
12197
12198 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
12199
12200 * calc/calc.el (calc-ensure-consistent-units): New variable.
12201
12202 * calc/calc-units.el (math-consistent-units-p)
12203 (math-check-unit-consistency): New functions.
12204 (calc-quick-units, calc-convert-units):
12205 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
12206 is non-nil.
12207 (calc-extract-units): Fix typo.
12208
12209 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
12210
12211 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
12212
12213 * textmodes/flyspell.el: Commenting style, plus code simplifications.
12214 (flyspell-default-deplacement-commands): Don't spell check after
12215 repeated window/frame switches (e.g. triggered by mouse-movement).
12216 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
12217 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
12218 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
12219 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
12220 Remove unused vars.
12221 (flyspell-get-casechars, flyspell-get-not-casechars):
12222 Simplify; Don't bother removing a ] just to add it back.
12223 * textmodes/ispell.el (ispell-program-name): Use executable-find.
12224
12225 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12226
12227 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
12228 New functions.
12229 (math-function-table): Add support for more C functions.
12230
12231 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12232
12233 * textmodes/flyspell.el (flyspell-check-pre-word-p)
12234 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
12235 Protect delay handling for otherchars against empty otherchars.
12236
12237 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
12238
12239 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
12240 their respective macro declarations.
12241 * skeleton.el (define-skeleton):
12242 * progmodes/compile.el (define-compilation-mode):
12243 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
12244 (define-ibuffer-filter):
12245 * emacs-lisp/generic.el (define-generic-mode):
12246 * emacs-lisp/easy-mmode.el (define-minor-mode)
12247 (define-globalized-minor-mode):
12248 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
12249 * emacs-lisp/byte-run.el (defsubst):
12250 * custom.el (deftheme): Add doc-string metadata.
12251
12252 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12253
12254 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
12255
12256 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12257
12258 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
12259
12260 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
12261 * emacs-lisp/cl-macs.el: Idem.
12262 * emacs-lisp/cl-specs.el: Remove.
12263
12264 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12265
12266 Minor renaming of internal CL functions and variables.
12267 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
12268 (cl--position): Rename from cl-position.
12269 (cl--delete-duplicates): Rename from cl-delete-duplicates.
12270 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
12271 (cl--random-state): Rename from *random-state*.
12272
12273 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12274
12275 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
12276 parens around the arg list (bug#11499).
12277
12278 2012-05-17 Juri Linkov <juri@jurta.org>
12279
12280 * isearch.el (word-search-regexp, word-search-backward)
12281 (word-search-forward, word-search-backward-lax)
12282 (word-search-forward-lax): Move functions from search.c
12283 (bug#10145, bug#11381).
12284
12285 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12286
12287 * textmodes/flyspell.el (flyspell-check-pre-word-p)
12288 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
12289 Delay for otherchars as for normal word components.
12290
12291 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
12292
12293 * minibuffer.el (completion--sifn-requote): Fix last change.
12294 (minibuffer-local-must-match-filename-map):
12295 Move define-obsolete-variable-alias before its var.
12296
12297 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
12298
12299 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
12300
12301 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
12302 behavior.
12303 (completion--string-equal-p): New function.
12304 (completion--twq-all): Use it to get better assertion failure data.
12305
12306 Only handle ".." and '..' quoting in shell-mode (bug#11466).
12307 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
12308 (shell--requote-argument): New functions.
12309 (shell-completion-vars): Use them.
12310 (shell--parse-pcomplete-arguments): Rename from
12311 shell-parse-pcomplete-arguments.
12312 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
12313 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
12314 Obey comint-file-name-quote-list.
12315
12316 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
12317 (smie-indent-keyword): Use it.
12318
12319 2012-05-14 Stefan Merten <smerten@oekonux.de>
12320
12321 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
12322
12323 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
12324
12325 * net/rlogin.el (rlogin-mode-map): Fix last change.
12326
12327 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
12328
12329 * mail/smtpmail.el (smtpmail-send-command): Send the command and
12330 the following \r\n using a single `process-send-string', since the
12331 Lotus SMTP server refuses to accept any commands if they are sent
12332 with two `process-send-string's (Bug#11444).
12333
12334 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
12335
12336 * shell.el (shell-parse-pcomplete-arguments):
12337 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
12338
12339 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
12340
12341 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
12342 (image-transform-scale, image-transform-right-angle-fudge): New vars.
12343 (image-transform-width, image-transform-fit-width): New functions.
12344 (image-transform-properties): Use them.
12345 (image-transform-check-size): New function.
12346 (image-toggle-display-image): Use it (for testing).
12347 (image-transform-set-rotation): Reduce angle mod 360.
12348 Delete obsolete comment.
12349
12350 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
12351
12352 * image-mode.el: Fix scaling (bug#11399).
12353 (image-transform-resize): Doc fix.
12354 (image-transform-properties): Default scale is 1 and height should
12355 be an integer.
12356
12357 2012-05-13 Johan Bockgård <bojohan@gnu.org>
12358
12359 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
12360 than hard-coding `car', to fix misbehavior when moving forward.
12361
12362 2012-05-13 Chong Yidong <cyd@gnu.org>
12363
12364 * emacs-lisp/tabulated-list.el (tabulated-list-format)
12365 (tabulated-list-entries, tabulated-list-padding)
12366 (tabulated-list-sort-key): Make permanent-local.
12367
12368 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
12369 (electric-buffer-list): Put electric buffer menu
12370 command descriptions in this docstring, instead of the docstring
12371 of electric-buffer-menu-mode. Code cleanups.
12372 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
12373 Electric-buffer-menu-mode.
12374 (electric-buffer-update-highlight): Minor code cleanup.
12375
12376 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
12377
12378 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
12379 (Bug#11447)
12380
12381 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
12382
12383 Move define-obsolete-variable-alias before the var's definition.
12384 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
12385 * tooltip.el (tooltip-hook):
12386 * textmodes/reftex-toc.el (reftex-toc-map):
12387 * textmodes/reftex-sel.el (reftex-select-label-map)
12388 (reftex-select-bib-map):
12389 * textmodes/reftex-index.el (reftex-index-map)
12390 (reftex-index-phrases-map):
12391 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
12392 * progmodes/meta-mode.el (meta-mode-map):
12393 * novice.el (disabled-command-hook):
12394 * loadhist.el (unload-hook-features-list):
12395 * frame.el (blink-cursor):
12396 * files.el (find-file-not-found-hooks, write-file-hooks)
12397 (write-contents-hooks):
12398 * emulation/tpu-edt.el (GOLD-map):
12399 * emacs-lock.el (emacs-lock-from-exiting):
12400 * emacs-lisp/generic.el (generic-font-lock-defaults):
12401 * emacs-lisp/chart.el (chart-map):
12402 * dos-fns.el (register-name-alist):
12403 * dired-x.el (dired-omit-files-p):
12404 * desktop.el (desktop-enable):
12405 * cus-edit.el (custom-mode-hook):
12406 * buff-menu.el (buffer-menu-mode-hook):
12407 * bookmark.el (bookmark-read-annotation-text-func)
12408 (bookmark-exit-hooks):
12409 * allout.el (allout-mode-deactivate-hook)
12410 (allout-exposure-change-hook, allout-structure-added-hook)
12411 (allout-structure-deleted-hook, allout-structure-shifted-hook):
12412 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
12413 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
12414 comes before the corresponding variable's definition.
12415
12416 2012-05-12 Chong Yidong <cyd@gnu.org>
12417
12418 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
12419 (Buffer-menu-mouse-select): Restore function (Bug#11459).
12420 (Buffer-menu-mode-map): Bind it.
12421 (Buffer-menu--pretty-name): Add a mouse-face property.
12422
12423 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
12424
12425 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
12426 (prolog-upper-case-string, prolog-lower-case-string)
12427 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
12428 (prolog-use-smie, prolog-smie-grammar): New vars.
12429 (prolog-smie-forward-token, prolog-smie-backward-token)
12430 (prolog-smie-rules): New funs.
12431 (prolog-comment-indent): Remove.
12432 (prolog-mode-variables): Use default comment indentation instead.
12433 Setup SMIE.
12434 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
12435 (prolog-mode): Don't call them any more.
12436 (prolog-electric-colon, prolog-electric-dash)
12437 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
12438
12439 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
12440
12441 * minibuffer.el (completion--twq-all): Again, allow case differences.
12442
12443 * term.el: Move keymap initialization code to be more idiomatic.
12444 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
12445 (term-terminal-menu): Move initialization into declaration.
12446 (term-escape-char): Let the user set it in her .emacs.
12447
12448 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
12449 Provide SMIE-based indentation (not enabled by default yet).
12450 (sh-mode-map): Don't bind electric keys.
12451 Use electric-pair-mode instead of skeleton-pair.
12452 (sh-assignment-regexp): Fit within 80 columns.
12453 (sh-indent-supported): Specify actual shell name instead of boolean.
12454 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
12455 (sh-maybe-here-document): Use it. Make obsolete.
12456 (sh-electric-here-document-mode) New minor mode.
12457 (sh-mode): Use it. Don't set sh-indent-supported-here here.
12458 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
12459 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
12460 (sh-smie-rc-grammar, sh-use-smie): New vars.
12461 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
12462 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
12463 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
12464 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
12465 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
12466 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
12467 (sh-set-shell): Use smie-setup if requested.
12468
12469 * term.el (term-set-escape-char): Properly set term-escape-char.
12470 See http://stackoverflow.com/questions/10524656.
12471
12472 2012-05-10 Chong Yidong <cyd@gnu.org>
12473
12474 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
12475 Use url-generic-parse-url, and handle host names and Windows
12476 filenames properly.
12477 (ffap-url-unwrap-remote): Use url-generic-parse-url.
12478 (ffap-url-unwrap-remote): Accept list values, specifying a list of
12479 URL schemes to work on.
12480 (ffap--toggle-read-only): New function.
12481 (ffap-read-only, ffap-read-only-other-window)
12482 (ffap-read-only-other-frame): Use it.
12483 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
12484 necessary for ffap-url-unwrap-remote.
12485
12486 2012-05-10 Dave Abrahams <dave@boostpro.com>
12487
12488 * cus-start.el (create-lockfiles): Add it.
12489
12490 2012-05-09 Chong Yidong <cyd@gnu.org>
12491
12492 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
12493 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
12494
12495 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
12496
12497 * shell.el (shell-completion-vars): Fix last change (bug#11348).
12498
12499 2012-05-09 Chong Yidong <cyd@gnu.org>
12500
12501 * ansi-color.el (ansi-color-process-output): Check for validity of
12502 comint-last-output-start before using it. This avoids a bad
12503 interaction with gdb-mi's input/output buffer.
12504
12505 2012-05-09 Glenn Morris <rgm@gnu.org>
12506
12507 * files.el (dir-locals-read-from-file):
12508 Mention dir-locals in any error message.
12509
12510 2012-05-09 Chong Yidong <cyd@gnu.org>
12511
12512 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
12513 package (Bug#11410).
12514
12515 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
12516 variables into description.
12517
12518 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
12519
12520 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
12521 shell-delimiter-argument-list (bug#11348).
12522 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
12523
12524 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
12525
12526 * textmodes/rst.el: Silence byte-compiler warnings.
12527 (rst-re-alist, rst-reset-section-caches): Move around.
12528 (rst-re): Use `characterp', not `char-valid-p'.
12529 (font-lock-beg, font-lock-end): Declare.
12530
12531 * progmodes/idlw-shell.el (specs): Remove reference to deleted
12532 variable `idlwave-shell-activate-alt-keybindings' and simplify.
12533
12534 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
12535
12536 2012-05-08 Glenn Morris <rgm@gnu.org>
12537
12538 * files.el (auto-mode-alist): Treat ".make" like ".mk".
12539
12540 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12541
12542 * vc/log-edit.el: Add GNU coding standards highlighting.
12543 (log-edit-font-lock-gnu-style)
12544 (log-edit-font-lock-gnu-keywords): New vars.
12545 (log-edit-font-lock-keywords): New fun.
12546 (log-edit-mode): Don't fold case in font-lock.
12547 (log-edit-font-lock-keywords): Do not assume case-folding.
12548
12549 * imenu.el: Misc cleanup. Make docstrings out of comments.
12550 Use lexical-binding.
12551 (imenu--index-alist, imenu--last-menubar-index-alist)
12552 (imenu-menubar-modified-tick): Use defvar-local.
12553 (imenu--split-menu): Remove unused var.
12554 (imenu--cleanup-seen): Declare as global.
12555 (imenu--cleanup): Use dolist.
12556
12557 * subr.el (defvar-local): Add debug spec and doc-string position.
12558
12559 2012-05-08 Glenn Morris <rgm@gnu.org>
12560
12561 * language/burmese.el, language/cham.el, language/czech.el:
12562 * language/english.el, language/georgian.el, language/greek.el:
12563 * language/japanese.el, language/khmer.el, language/korean.el:
12564 * language/lao.el, language/misc-lang.el, language/romanian.el:
12565 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
12566 * language/thai.el, language/utf-8-lang.el:
12567 Remove no-byte-compile setting.
12568
12569 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
12570
12571 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
12572
12573 * progmodes/make-mode.el (makefile-browse):
12574 Remove unnecessary interactive. (Bug#11324)
12575
12576 2012-05-07 Glenn Morris <rgm@gnu.org>
12577
12578 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
12579
12580 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
12581
12582 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
12583
12584 * loadup.el: Preload newcomment.el.
12585 * newcomment.el: Move autoload-only code to toplevel.
12586
12587 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
12588 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
12589 Handle new :right-align column property.
12590 (tabulated-list-print-col): Idem, plus use `display' text-property to
12591 try and preserve alignment for variable pitch fonts.
12592
12593 2012-05-07 Chong Yidong <cyd@gnu.org>
12594
12595 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
12596 (tabulated-list-use-header-line): New var.
12597 (tabulated-list-init-header): Use it.
12598 (tabulated-list-print-fake-header): New function.
12599 (tabulated-list-print): Use it.
12600 (tabulated-list-sort-button-map): Add non-header-line commands.
12601 (tabulated-list-init-header): Add column name property to basic
12602 labels as well.
12603 (tabulated-list-col-sort): Handle non-header-line button case.
12604 (tabulated-list--sort-by-column-name): Fix a corner case.
12605
12606 * buff-menu.el (list-buffers--refresh):
12607 Handle Buffer-menu-use-header-line.
12608
12609 2012-05-06 Chong Yidong <cyd@gnu.org>
12610
12611 * buff-menu.el: Convert to Tabulated List mode.
12612 (Buffer-menu-buffer+size-width): Make obsolete.
12613 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
12614 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
12615 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
12616 documentation into docstring of buffer-menu.
12617 (Buffer-menu-toggle-files-only): Add an informative message.
12618 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
12619 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
12620 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
12621 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
12622 (Buffer-menu-execute, Buffer-menu-select)
12623 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
12624 (Buffer-menu-bury): Use Tabulated List machinery.
12625 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
12626 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
12627 Delete.
12628 (list-buffers--refresh): New function.
12629 (list-buffers-noselect): Use it.
12630 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
12631 (Buffer-menu--pretty-file-name): New helper functions.
12632
12633 * loadup.el: Preload tabulated-list.
12634
12635 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
12636 tabulated-list-sort-column.
12637 (tabulated-list-init-header): Add the initial aligning space even
12638 if tabulated-list-padding is zero.
12639
12640 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
12641
12642 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
12643 whose cdr is not a cons cell correctly (bug#11038).
12644
12645 2012-05-06 Chong Yidong <cyd@gnu.org>
12646
12647 * emacs-lisp/tabulated-list.el (tabulated-list-format):
12648 Accept additional plist in column descriptors.
12649 (tabulated-list-init-header): Obey it.
12650 (tabulated-list-get-entry): New function.
12651 (tabulated-list-put-tag): Use it. Use string-width instead of
12652 length.
12653 (tabulated-list--column-number): New function.
12654 (tabulated-list-print): Use it.
12655 (tabulated-list-print-col): New function.
12656 Set `tabulated-list-column-name' property on each column's text.
12657 (tabulated-list-print-entry): Use it.
12658 (tabulated-list-delete-entry, tabulated-list-set-col):
12659 New functions.
12660 (tabulated-list-sort-column): New command (Bug#11337).
12661
12662 * buff-menu.el (list-buffers): Move C-x C-b binding from
12663 buff-menu.el to bindings.el.
12664
12665 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
12666 :advertised-binding feature.
12667
12668 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
12669
12670 * progmodes/compile.el (compilation-internal-error-properties):
12671 Calculate start position correctly when end-col is set but
12672 end-line is not (Bug#11382).
12673
12674 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
12675
12676 * man.el (Man-unindent): Use text-property-default-nonsticky to
12677 prevent untabify from inheriting face properties (Bug#11408).
12678
12679 2012-05-05 Stefan Merten <smerten@oekonux.de>
12680
12681 * textmodes/rst.el: Major merge with upstream development up to
12682 Docutils SVN r7399 / rst.el V1.2.1.
12683
12684 Clarify maintainership and authors.
12685
12686 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
12687 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
12688 (rst-official-version, rst-official-cvs-rev, rst-version)
12689 (rst-package-emacs-version-alist): New functions and variables
12690 for version information.
12691
12692 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
12693 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
12694 (rst-mode-syntax-table, rst-mode): New and corrected functions
12695 and variables representing reStructuredText features.
12696
12697 (rst-re): New function for reStructuredText regexes. Use in
12698 many places.
12699
12700 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
12701 (rst-mode-map): Rebind keys.
12702
12703 (rst-mode-lazy, rst-font-lock-keywords)
12704 (rst-font-lock-extend-region)
12705 (rst-font-lock-extend-region-internal)
12706 (rst-font-lock-extend-region-extend)
12707 (rst-font-lock-find-unindented-line-limit)
12708 (rst-font-lock-find-unindented-line-match)
12709 (rst-adornment-level, rst-font-lock-adornment-level)
12710 (rst-font-lock-adornment-match)
12711 (rst-font-lock-handle-adornment-pre-match-form)
12712 (rst-font-lock-handle-adornment-matcher): Major revision of
12713 font-locking. Integrate with other code. Use `jit-lock-mode'.
12714
12715 (rst-preferred-adornments, rst-adjust-hook)
12716 (rst-new-adornment-down, rst-preferred-bullets)
12717 (rst-preferred-bullets, rst-indent, rst-indent-width)
12718 (rst-indent-field, rst-indent-literal-normal)
12719 (rst-indent-literal-minimized, rst-indent-comment): Change,
12720 extend and improve customization.
12721
12722 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
12723 (rst-normalize-cursor-position, rst-get-decoration)
12724 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
12725 (rst-rstrip, rst-toc-insert-find-delete-contents)
12726 (rst-shift-fill-region, rst-compute-bullet-tabs)
12727 (rst-debug-print-tabs, rst-debug-mark-found)
12728 (rst-shift-region-guts, rst-shift-region-right)
12729 (rst-shift-region-left, rst-use-char-classes)
12730 (rst-font-lock-keywords-function)
12731 (rst-font-lock-indentation-point)
12732 (rst-font-lock-find-unindented-line-begin)
12733 (rst-font-lock-find-unindented-line-end)
12734 (rst-font-lock-find-unindented-line)
12735 (rst-font-lock-adornment-point, rst-font-lock-level)
12736 (rst-adornment-level-alist): Remove functions and variables.
12737
12738 (rst-compare-adornments, rst-get-adornment-match)
12739 (rst-suggest-new-adornment, rst-get-adornments-around)
12740 (rst-adornment-complete-p, rst-get-next-adornment)
12741 (rst-adjust-adornment, rst-display-adornments-hierarchy)
12742 (rst-straighten-adornments): Standardize function names to
12743 use "adornment" instead of "decoration". Correct callers.
12744 Similar standardizing in many places.
12745
12746 (rst-update-section, rst-adjust, rst-promote-region)
12747 (rst-enumerate-region, rst-bullet-list-region)
12748 (rst-repeat-last-character): Correct use of `interactive'.
12749
12750 (rst-classify-adornment, rst-find-all-adornments)
12751 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
12752 (rst-find-leftmost-column, rst-repeat-last-character):
12753 Refactor functions.
12754
12755 (rst-find-title-line, rst-reset-section-caches)
12756 (rst-get-adornments-around, rst-adjust-adornment-work)
12757 (rst-arabic-to-roman, rst-roman-to-arabic)
12758 (rst-insert-list-pos, rst-insert-list-new-item)
12759 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
12760 New functions.
12761
12762 (rst-all-sections, rst-section-hierarchy)
12763 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
12764 New variables.
12765
12766 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
12767 configuration instead of only buffer. Change where necessary.
12768
12769 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
12770 (rst-shift-region, rst-adaptive-fill): New functions for
12771 indentation and filling.
12772
12773 (rst-comment-line-break, rst-comment-indent)
12774 (rst-comment-insert-comment, rst-comment-region)
12775 (rst-uncomment-region): New functions for handling comments.
12776
12777 (rst-compile): Quote shell arguments.
12778
12779 (rst-compile-pdf-preview, rst-compile-slides-preview):
12780 Delete temporary files after use.
12781
12782 2012-05-05 Glenn Morris <rgm@gnu.org>
12783
12784 * calendar/cal-html.el: Optionally include holidays in the output.
12785 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
12786 (cal-html-holidays): New option.
12787 (cal-html-css-default): Add holiday entry.
12788 (holiday-in-range): Autoload it.
12789 (cal-html-htmlify-entry): Add optional class argument.
12790 (cal-html-htmlify-list): Add optional holidays argument.
12791 (cal-html-insert-agenda-days): Include holidays in the output.
12792 (cal-html-one-month): Maybe include holidays.
12793
12794 * calendar/holidays.el (holiday-in-range):
12795 Move here from cal-tex-list-holidays.
12796 * calendar/cal-tex.el (cal-tex-list-holidays):
12797 Make it an obsolete alias for holiday-in-range. Update all callers.
12798
12799 2012-05-05 Chong Yidong <cyd@gnu.org>
12800
12801 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
12802 Nextstep.
12803
12804 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
12805
12806 * files.el (file-auto-mode-skip): New var.
12807 (set-auto-mode-1): Use it.
12808
12809 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
12810
12811 * repeat.el: Use lexical-binding.
12812 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
12813 (repeat-undo-count): Remove.
12814 (repeat):
12815 * progmodes/octave-mod.el (octave-abbrev-start):
12816 * progmodes/f90.el (f90-abbrev-start):
12817 * face-remap.el (text-scale-adjust):
12818 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
12819
12820 * emacs-lisp/pcase.el (pcase--let*): New function.
12821 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
12822 a bit more.
12823 (pcase--split-pred): Be more clever about ruling out overlap between
12824 a predicate and some constant pattern.
12825 (pcase--q1): Use `null' instead of (eq foo nil).
12826
12827 * subr.el (setq-local, defvar-local): New macros.
12828 (kbd): Redefine as an alias.
12829 (with-selected-window): Leave unrelated frames alone.
12830 (set-temporary-overlay-map): New function.
12831
12832 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
12833
12834 * subr.el (user-error): New function.
12835 * window.el (switch-to-buffer):
12836 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
12837 (smerge-match-conflict):
12838 * simple.el (previous-matching-history-element)
12839 (next-matching-history-element, goto-history-element, undo-more)
12840 (undo-start):
12841 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
12842 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
12843 (next-file, tags-loop-scan, list-tags, complete-tag):
12844 * progmodes/compile.el (compilation-loop):
12845 * mouse.el (mouse-minibuffer-check):
12846 * man.el (Man-bgproc-sentinel, Man-goto-page):
12847 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
12848 (Info-history-forward, Info-follow-reference, Info-menu)
12849 (Info-extract-menu-item, Info-extract-menu-counting)
12850 (Info-forward-node, Info-backward-node, Info-next-menu-item)
12851 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
12852 (Info-next-reference, Info-prev-reference, Info-index)
12853 (Info-index-next, Info-follow-nearest-node)
12854 (Info-copy-current-node-name):
12855 * imenu.el (imenu--make-index-alist)
12856 (imenu-default-create-index-function, imenu-add-to-menubar):
12857 * files.el (basic-save-buffer, recover-file):
12858 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
12859 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
12860 (checkdoc-message-text, checkdoc-defun):
12861 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
12862 * cus-edit.el (customize-changed-options, customize-rogue)
12863 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
12864 (custom-variable-mark-to-reset-standard)
12865 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
12866 (custom-file):
12867 * completion.el (check-completion-length):
12868 * comint.el (comint-search-arg)
12869 (comint-previous-matching-input-string-position)
12870 (comint-previous-matching-input)
12871 (comint-replace-by-expanded-history-before-point, comint-send-input)
12872 (comint-copy-old-input, comint-backward-matching-input)
12873 (comint-goto-process-mark, comint-set-process-mark):
12874 * calendar/calendar.el (calendar-cursor-to-date): Use it.
12875 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
12876
12877 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
12878
12879 * dabbrev.el (dabbrev--ignore-case-p): New function.
12880 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
12881 Use it.
12882
12883 * files.el (automount-dir-prefix): Mark as obsolete.
12884
12885 2012-05-04 Glenn Morris <rgm@gnu.org>
12886
12887 * patcomp.el, play/bruce.el: Move to obsolete/.
12888
12889 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
12890
12891 Fix minor Y10k bugs.
12892 * arc-mode.el (archive-unixdate):
12893 * autoinsert.el (auto-insert-alist):
12894 * calc/calc-forms.el (math-this-year):
12895 * emacs-lisp/copyright.el (copyright-current-year)
12896 (copyright-update-year, copyright):
12897 * tar-mode.el (tar-clip-time-string):
12898 * time.el (display-time-update):
12899 Don't assume years have 4 digits.
12900
12901 2012-05-04 Chong Yidong <cyd@gnu.org>
12902
12903 * dos-w32.el (file-name-buffer-file-type-alist)
12904 (direct-print-region-use-command-dot-com):
12905 * ffap.el (ffap-menu-regexp):
12906 * find-file.el (ff-special-constructs):
12907 * follow.el (follow-debug):
12908 * forms.el (forms--debug):
12909 * iswitchb.el (iswitchb-all-frames):
12910 * ido.el (ido-all-frames):
12911 * emacs-lisp/timer.el (timer-max-repeats):
12912 * mail/feedmail.el (feedmail-mail-send-hook)
12913 (feedmail-mail-send-hook-queued):
12914 * mail/footnote.el (footnote-signature-separator):
12915 * mail/mailabbrev.el (mail-alias-separator-string)
12916 (mail-abbrev-mode-regexp):
12917 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
12918 * progmodes/idlwave.el (idlwave-libinfo-file)
12919 (idlwave-default-completion-case-is-down)
12920 (idlwave-library-routines): Convert defvars to defcustoms.
12921
12922 * mail/rmail.el (rmail-decode-mime-charset):
12923 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
12924 (idlwave-shell-fix-inserted-breaks)
12925 (idlwave-shell-activate-alt-keybindings)
12926 (idlwave-shell-use-breakpoint-glyph):
12927 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
12928
12929 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
12930
12931 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
12932
12933 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
12934
12935 * progmodes/verilog-mode.el (font-lock-keywords):
12936 Fix mis-highligting auto. Reported by Craig Barner.
12937 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
12938 defines from global name space. Reported by Dan Dever.
12939 (verilog-auto-reset, verilog-auto-reset-widths)
12940 (verilog-auto-tieoff): Support using unbased numbers for
12941 AUTORESET and AUTOTIEOFF.
12942 (verilog-submit-bug-report): Update variable list.
12943 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
12944 parenthesis from not matching. Reported by Michael Rytting.
12945 (verilog-auto-template-lint): Fix hash error when linting modules
12946 with no used templates.
12947 (verilog-warn, verilog-warn-error)
12948 (verilog-warn-fatal): When non-interactive report multiple
12949 warnings before exiting. Suggested by Brad Dobbie.
12950 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
12951 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
12952 to report unused template errors. Reported by Brad Dobbie.
12953 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
12954 nets, bug438. Reported by Vns Blore.
12955 (verilog-auto-inout-module, verilog-auto-reg)
12956 (verilog-read-decls, verilog-read-sub-decls-sig)
12957 (verilog-signals-edit-wire-reg, verilog-signals-with):
12958 Fix passing of Verilog data types in ANSI input/output ports
12959 such as "output logic" into the AUTOs. Special case "wire" and
12960 "reg" for backwards compatibility presuming Verilog 2001.
12961 (verilog-auto-ascii-enum): Add "auto enum" as alias.
12962 (verilog-preprocess): Fix replication of preprocess output.
12963 Reported by Brad Dobbie.
12964 (verilog-auto-inst-interfaced-ports):
12965 Create verilog-auto-inst-interfaced-ports, bug429.
12966 Reported by Julian Gorfajn.
12967 (verilog-after-save-font-hook)
12968 (verilog-before-save-font-hook): New variable.
12969 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
12970 (verilog-save-font-mods): Wrap disabling fontification, reported
12971 by David Rogoff.
12972 (verilog-do-indent, verilog-pretty-declarations-auto)
12973 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
12974 Reported by Pierre-David Pfister.
12975 (verilog-set-auto-endcomments): Fix endtask auto comments outside
12976 of class declarations, bug292. Reported by Kevin Heilman.
12977 (verilog-read-decls): Fix 'parameter type' not appearing in
12978 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
12979 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
12980 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
12981 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
12982 Reported by David Kravitz.
12983
12984 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
12985
12986 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
12987 assignment with tests in ifs and for loops.
12988 (verilog-extended-complete-re, verilog-complete-reg): Change so
12989 that DPI inport functions don't look like fuction declarations.
12990 (verilog-pretty-expr): Don't line up assignment
12991 operations to the test and increment in if and for loops
12992 (verilog-extended-complete-re, verilog-complete-reg): Change so
12993 that DPI inport functions don't look like fuction declarations.
12994
12995 2012-05-03 Kenichi Handa <handa@m17n.org>
12996
12997 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
12998 decoding, and show a warning message without signaling an error
12999 (Bug#11282).
13000
13001 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
13002
13003 * emacs-lisp/bytecomp.el
13004 (byte-compile-file-form-custom-declare-variable): Compile all elements,
13005 since cconv.el might have introduced :fun-body, internal-make-closure,
13006 and friends for bytecomp to handle (bug#11391).
13007 * custom.el (defcustom): Avoid ((λ ..) ..).
13008
13009 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
13010
13011 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
13012
13013 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
13014
13015 * notifications.el (dbus-debug):
13016 * term/linux.el (gpm-mouse-enable):
13017 * term/screen.el (xterm-register-default-colors): Declare.
13018
13019 2012-05-02 Chong Yidong <cyd@gnu.org>
13020
13021 * cus-start.el (gc-cons-percentage, exec-suffixes)
13022 (dos-display-scancodes, dos-hyper-key, dos-super-key)
13023 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
13024 (make-cursor-line-fully-visible, void-text-area-pointer)
13025 (font-list-limit): Add customization data.
13026
13027 * allout.el (allout-exposure-change-functions)
13028 (allout-structure-added-functions)
13029 (allout-structure-deleted-functions)
13030 (allout-structure-shifted-functions): Rename abnormal hooks from
13031 *-hook, and convert to defcustoms.
13032 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
13033 Convert to defcustoms.
13034 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
13035
13036 * allout-widgets.el: Hook callers changed.
13037
13038 2012-05-02 Eli Zaretskii <eliz@gnu.org>
13039
13040 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
13041 the yanked message in preference to the default value of
13042 buffer-file-coding-system.
13043
13044 2012-05-02 Martin Rudalics <rudalics@gmx.at>
13045
13046 * window.el (display-buffer--action-function-custom-type):
13047 Fix entry.
13048
13049 2012-05-02 Alan Mackenzie <acm@muc.de>
13050
13051 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
13052
13053 2012-05-01 Glenn Morris <rgm@gnu.org>
13054
13055 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
13056
13057 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
13058
13059 * cus-edit.el (custom-variable-documentation): Simplify with format.
13060
13061 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
13062 Stefan Monnier <monnier@iro.umontreal.ca>
13063
13064 * simple.el (suggest-key-bindings, execute-extended-command):
13065 Move from keyboard.c.
13066
13067 2012-05-01 Chong Yidong <cyd@gnu.org>
13068
13069 * follow.el: Eliminate advice.
13070 (set-process-filter, process-filter, sit-for): Advice deleted.
13071 (follow-mode-off-hook): Obsolete hook removed.
13072 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
13073 Vars deleted.
13074 (follow-auto): Use a :set function.
13075 (follow-mode): Rewritten. Don't advise process filters.
13076 (follow-switch-to-current-buffer-all, follow-scroll-up)
13077 (follow-scroll-down): Assume follow-mode is bound.
13078 (follow-comint-scroll-to-bottom)
13079 (follow-align-compilation-windows): New functions.
13080 (follow--window-sorter): New function.
13081 (follow-all-followers): Use it to explicitly sort windows by their
13082 positions; don't make assumptions about next-window order.
13083 (follow-windows-start-end, follow-delete-other-windows-and-split)
13084 (follow-calc-win-start): Doc fix.
13085 (follow-windows-aligned-p, follow-select-if-visible): Don't call
13086 vertical-motion unnecessarily.
13087 (follow-adjust-window): New function.
13088 (follow-post-command-hook): Use it.
13089 (follow-call-set-process-filter, follow-call-process-filter)
13090 (follow-intercept-process-output, follow-tidy-process-filter-alist)
13091 (follow-stop-intercept-process-output, follow-generic-filter):
13092 Functions deleted.
13093 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
13094 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
13095 New functions, replacing advice on scroll-bar-* commands.
13096 (follow-mwheel-scroll): New function (Bug#4112).
13097
13098 * comint.el (comint-adjust-point): New function.
13099 (comint-postoutput-scroll-to-bottom): Use it.
13100 Call follow-comint-scroll-to-bottom for Follow mode buffers.
13101
13102 2012-05-01 Glenn Morris <rgm@gnu.org>
13103
13104 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
13105 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
13106 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
13107 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
13108 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
13109 Remove no-byte-compile setting.
13110
13111 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
13112
13113 * minibuffer.el (completion-table-with-quoting): Fix compatibility
13114 all-completions code to not return a number in the last cdr.
13115
13116 2012-04-30 Leo Liu <sdl.web@gmail.com>
13117
13118 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
13119 read-only error.
13120
13121 2012-04-29 Chong Yidong <cyd@gnu.org>
13122
13123 * follow.el (follow-calc-win-end): Rewrite to handle partial
13124 screen lines correctly (Bug#8390).
13125 (follow-avoid-tail-recenter): Minor cleanup.
13126
13127 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
13128
13129 Avoid the obsolete `assoc' package.
13130 * speedbar.el (speedbar-refresh): Avoid adelete.
13131 (speedbar-file-lists): Simplify and avoid aput.
13132 * man.el (Man--sections, Man--refpages): New vars, replacing
13133 Man-sections-alist and Man-refpages-alist.
13134 (Man-build-section-alist, Man-build-references-alist):
13135 Use them; avoid aput.
13136 (Man--last-section, Man--last-refpage): New vars.
13137 (Man-follow-manual-reference): Use them.
13138 Use the `default' arg of completing-read.
13139 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
13140
13141 2012-04-27 Chong Yidong <cyd@gnu.org>
13142
13143 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
13144
13145 * startup.el (x-apply-session-resources): New function.
13146
13147 * term/ns-win.el (ns-initialize-window-system):
13148 * term/w32-win.el (w32-initialize-window-system):
13149 * term/x-win.el (x-initialize-window-system): Use it to properly
13150 set menu-bar-mode and other vars from X resources, even if the
13151 initial frame is not a window-system frame (Bug#2299).
13152
13153 * subr.el (read-key): Avoid running filter function when setting
13154 up temporary tool bar entries (Bug#9922).
13155
13156 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
13157
13158 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
13159 (Bug#11344)
13160
13161 2012-04-27 Chong Yidong <cyd@gnu.org>
13162
13163 * select.el (xselect--encode-string): New function, split from
13164 xselect-convert-to-string.
13165 (xselect-convert-to-string): Use it.
13166 (xselect-convert-to-filename, xselect-convert-to-os)
13167 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
13168 returned strings are properly encoded (Bug#11315).
13169
13170 2012-04-27 Chong Yidong <cyd@gnu.org>
13171
13172 * simple.el (delete-active-region): Move to killing custom group.
13173
13174 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
13175
13176 * progmodes/which-func.el (which-func-current): Quote %
13177 characters for mode-line processing.
13178
13179 2012-04-27 Chong Yidong <cyd@gnu.org>
13180
13181 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
13182 reaching eob (Bug#11286).
13183
13184 2012-04-27 Eli Zaretskii <eliz@gnu.org>
13185
13186 * progmodes/gdb-mi.el (gdb-control-level): New variable.
13187 (gdb): Make it buffer-local and init to zero.
13188 (gdb-control-commands-regexp): New variable.
13189 (gdb-send): Don't wrap in "-interpreter-exec console" if
13190 gdb-control-level is positive. Increment gdb-control-level
13191 whenever the command matches gdb-control-commands-regexp, and
13192 decrement it each time the command is "end". (Bug#11279)
13193
13194 2012-04-27 Martin Rudalics <rudalics@gmx.at>
13195
13196 * window.el (adjust-window-trailing-edge, enlarge-window)
13197 (shrink-window, window-resize):
13198 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
13199 windows (Bug#11276).
13200
13201 2012-04-27 Chong Yidong <cyd@gnu.org>
13202
13203 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
13204 fix "missing prefix" warning. All callers changed.
13205
13206 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
13207
13208 * emacs-lisp/assoc.el: Move to obsolete/.
13209
13210 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
13211
13212 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
13213
13214 * term/ns-win.el (ns-define-service):
13215 * progmodes/pascal.el (pascal-goto-defun):
13216 * progmodes/js.el (js--read-tab):
13217 * progmodes/etags.el (tags-lazy-completion-table):
13218 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
13219 * emacs-lisp/ewoc.el (ewoc--wrap):
13220 * emacs-lisp/assoc.el (aput, adelete, amake):
13221 * doc-view.el (doc-view-convert-current-doc):
13222 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
13223
13224 2012-04-26 Chong Yidong <cyd@gnu.org>
13225
13226 * image.el (image-type-from-buffer): Only return supported image
13227 type (Bug#9045).
13228
13229 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
13230 value, for symmetry with diff-end-of-hunk.
13231 (diff-split-hunk, diff-find-source-location)
13232 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
13233 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
13234 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
13235 compute the relevant hunk or file properly (Bug#6005).
13236 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
13237
13238 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
13239
13240 * vc/vc-mtn.el:
13241 * vc/vc-hg.el:
13242 * vc/vc-git.el:
13243 * vc/vc-dir.el:
13244 * vc/vc-cvs.el:
13245 * vc/vc-bzr.el:
13246 * vc/vc-arch.el:
13247 * vc/vc.el: Replace lexical-let by lexical-binding.
13248 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
13249 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
13250 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
13251
13252 2012-04-26 Chong Yidong <cyd@gnu.org>
13253
13254 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
13255 (diff-mode-shared-map): Bind it to / and [remap undo].
13256
13257 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
13258 (ediff-window-setup-function): Use it as the default, to set up
13259 windows based on whether the current frame is graphical (Bug#2138).
13260 (ediff-choose-window-setup-function-automatically): Make obsolete.
13261
13262 * vc/ediff-init.el: Always define ediff-pixel-width/height.
13263
13264 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
13265
13266 * ffap.el: Remove old code for obsolete package.
13267 (ffap-complete-as-file-p): Remove.
13268
13269 Use completion-table-with-quoting for comint and pcomplete.
13270 * comint.el (comint--unquote&requote-argument)
13271 (comint--unquote-argument, comint--requote-argument): New functions.
13272 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
13273 (comint-quote-filename): Use regexp-opt-charset.
13274 (comint--common-suffix, comint--common-quoted-suffix)
13275 (comint--table-subvert): Remove.
13276 (comint-unquote-function, comint-requote-function): New vars.
13277 (comint--complete-file-name-data): Use them with
13278 completion-table-with-quoting.
13279 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
13280 * pcomplete.el (pcomplete-arg-quote-list)
13281 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
13282 (pcomplete-unquote-argument-function): Default to non-nil.
13283 (pcomplete-unquote-argument): Simplify.
13284 (pcomplete--common-quoted-suffix): Remove.
13285 (pcomplete-requote-argument-function): New var.
13286 (pcomplete--common-suffix): New function.
13287 (pcomplete-completions-at-point): Use completion-table-with-quoting
13288 and completion-table-subvert.
13289
13290 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
13291 (minibuffer--double-dollars): Preserve properties.
13292 (completion--sifn-requote): New function.
13293 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
13294
13295 * minibuffer.el: Add support for completion of quoted/escaped data.
13296 (completion-table-with-quoting, completion-table-subvert): New funs.
13297 (completion--twq-try, completion--twq-all): New functions.
13298 (completion--nth-completion): New function.
13299 (completion-try-completion, completion-all-completions): Use it.
13300
13301 2012-04-25 Leo Liu <sdl.web@gmail.com>
13302
13303 * progmodes/python.el (python-pdbtrack-get-source-buffer):
13304 Use compilation-message if available to find real filename.
13305
13306 2012-04-25 Chong Yidong <cyd@gnu.org>
13307
13308 * vc/diff-mode.el (diff-setup-whitespace): New function.
13309 (diff-mode): Use it.
13310
13311 * vc/diff.el (diff-sentinel):
13312 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
13313 Whitespace mode variables based on diff style (Bug#8612).
13314
13315 2012-04-25 Leo Liu <sdl.web@gmail.com>
13316
13317 * progmodes/python.el (python-send-region): Add suffix .py to the
13318 temp file.
13319
13320 * files.el (auto-mode-alist): Use javascript-mode instead.
13321
13322 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
13323
13324 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
13325
13326 * net/soap-client.el (soap-resolve-references-for-sequence-type)
13327 (soap-resolve-references-for-array-type): Hack to prevent self
13328 references, see Bug#9.
13329 (soap-parse-envelope): Report the contents of the 'detail' node
13330 when receiving a fault reply.
13331 (soap-parse-envelope): Report the contents of the entire 'detail' node.
13332
13333 * net/soap-inspect.el (soap-sample-value-for-simple-type)
13334 (soap-inspect-simple-type): New function.
13335
13336 * net/soap-client.el (soap-simple-type): New struct.
13337 (soap-default-xsd-types, soap-default-soapenc-types)
13338 (soap-decode-basic-type, soap-encode-basic-type):
13339 support unsignedInt and double basic types.
13340 (soap-resolve-references-for-simple-type)
13341 (soap-parse-simple-type, soap-encode-simple-type): New function.
13342 (soap-parse-schema): Parse xsd:simpleType declarations.
13343
13344 * net/soap-client.el (soap-default-xsd-types)
13345 (soap-default-soapenc-types): Add integer, byte and anyURI types.
13346 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
13347 the local name of "soapenc:Array".
13348 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
13349 decoding integer, byte and anyURI xsd types.
13350
13351 2012-04-25 Chong Yidong <cyd@gnu.org>
13352
13353 * cus-edit.el (custom-buffer-create-internal): Update header text.
13354
13355 2012-04-25 Eli Zaretskii <eliz@gnu.org>
13356
13357 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
13358 settings on 'system-type', not on 'window-system'. On MS-Windows,
13359 set interactive-mode on in GDB.
13360
13361 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
13362
13363 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
13364 (ruby-syntax-propertize-regexp): Remove.
13365 (ruby-syntax-propertize-function): Split regexp into chunks.
13366 Match following code directly.
13367
13368 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
13369
13370 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
13371 (ruby-syntax-propertize-regexp): New function.
13372 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
13373 by a special keyword.
13374
13375 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
13376 (ruby-syntax-general-delimiters-goto-beg)
13377 (ruby-syntax-propertize-general-delimiters): New functions.
13378 (ruby-syntax-propertize-function): Use them to handle GDL.
13379 (ruby-font-lock-keywords): Move old handling of GDL...
13380 (ruby-font-lock-syntactic-keywords): .. to here.
13381 (ruby-calculate-indent): Adjust indentation for GDL.
13382
13383 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
13384
13385 * notifications.el (top): Remove unneeded declarations.
13386 (notifications-specification-version): Change to "1.2".
13387 (notifications-interface, notifications-notify-method)
13388 (notifications-close-notification-method): Fix docstring.
13389 (notifications-get-capabilities-method): New defconst.
13390 (notifications-notify): Add :action-items, :resident and
13391 :transient hints. Change "image_data" to "image-data" and
13392 "image_path" to "image-path".
13393 (notifications-get-capabilities): New defun.
13394
13395 2012-04-24 Leo Liu <sdl.web@gmail.com>
13396
13397 * progmodes/python.el: Move hideshow setup to the end.
13398
13399 2012-04-24 Martin Rudalics <rudalics@gmx.at>
13400
13401 * window.el (handle-select-window): Clear echo area since this is
13402 no more done by read_char (Bug#11304).
13403
13404 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
13405
13406 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
13407 and `/ M' to filter-derived-mode.
13408 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
13409 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
13410 (ibuffer-mark-by-mode): Use default rather than initial-input.
13411 (ibuffer-filter-by-derived-mode): Autoload and require-match.
13412
13413 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
13414
13415 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
13416 (ibuffer-filter-by-derived-mode): New filter.
13417 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
13418
13419 2012-04-23 Andreas Politz <politza@fh-trier.de>
13420
13421 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
13422
13423 2012-04-23 Chong Yidong <cyd@gnu.org>
13424
13425 * cus-edit.el (customize-apropos, customize-apropos-options):
13426 Disable matching of non-option variables (Bug#11176).
13427 (customize-option, customize-option-other-window)
13428 (customize-changed-options): Doc fix.
13429 (customize-apropos-options, customize-apropos-faces)
13430 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
13431
13432 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
13433 Fix word list splitting (Bug#11132).
13434 (apropos-symbol, apropos-keybinding, apropos-label)
13435 (apropos-property, apropos-function-button)
13436 (apropos-variable-button, apropos-misc-button): New faces.
13437 (apropos-symbol-face, apropos-keybinding-face)
13438 (apropos-label-face, apropos-property-face, apropos-match-face):
13439 Variables removed (Bug#8396).
13440 (apropos-library-button, apropos-format-plist, apropos-print)
13441 (apropos-print-doc, apropos-describe-plist): Callers changed.
13442
13443 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
13444
13445 * net/xesam.el (xesam-mode-map): Use let-bound map in
13446 initialization. (Bug#11292)
13447
13448 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13449
13450 Preserve ispell session localwords when switching back to
13451 original buffer.
13452
13453 * textmodes/ispell.el (ispell-buffer-session-localwords):
13454 New buffer-local variable to hold buffer session localwords.
13455 (ispell-kill-ispell): Add option 'clear to delete session
13456 localwords.
13457 (ispell-command-loop, ispell-change-dictionary)
13458 (ispell-buffer-local-words): Preserve session localwords when
13459 needed.
13460
13461 * textmodes/flyspell.el (flyspell-process-localwords)
13462 (flyspell-do-correct): Preserve session localwords when needed.
13463
13464 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13465
13466 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
13467 using obsolete `translation-table-for-input'.
13468 (ispell-word, ispell-process-line, ispell-complete-word):
13469 Use plain `insert' instead of removed `ispell-insert-word'.
13470
13471 2012-04-22 Chong Yidong <cyd@gnu.org>
13472
13473 * cus-edit.el (custom-variable-menu)
13474 (custom-variable-reset-saved, custom-face-menu)
13475 (custom-face-reset-saved): If there is no saved value, make the
13476 "reset-saved" operation bring back the default (Bug#9509).
13477 (custom-face-state): Properly detect themed faces.
13478
13479 * faces.el (face-spec-set): Stop supporting deprecated form of
13480 third arg.
13481
13482 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
13483
13484 Move functions from C to Lisp. Make non-blocking method calls
13485 the default. Implement further D-Bus standard interfaces.
13486
13487 * net/dbus.el (dbus-message-internal): Declare function.
13488 Remove unneeded function declarations.
13489 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
13490 (dbus-message-type-method-return, dbus-message-type-error)
13491 (dbus-message-type-signal): Declare variables. Remove local
13492 definitions.
13493 (dbus-interface-dbus, dbus-interface-peer)
13494 (dbus-interface-introspectable, dbus-interface-properties)
13495 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
13496 Adapt docstring.
13497 (dbus-interface-objectmanager): New defconst.
13498 (dbus-call-method, dbus-call-method-asynchronously)
13499 (dbus-send-signal, dbus-method-return-internal)
13500 (dbus-method-error-internal, dbus-register-service)
13501 (dbus-register-signal, dbus-register-method): New defuns, moved
13502 from dbusbind.c
13503 (dbus-call-method-handler, dbus-setenv)
13504 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
13505 New defuns.
13506 (dbus-call-method-non-blocking): Make it an obsolete function.
13507 (dbus-unregister-object, dbus-unregister-service)
13508 (dbus-handle-event, dbus-register-property)
13509 (dbus-property-handler): Obey the new structure of
13510 `bus-registered-objects'.
13511 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
13512 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
13513 Use `dbus-call-method'.
13514
13515 2012-04-22 Chong Yidong <cyd@gnu.org>
13516
13517 * cus-edit.el (custom-commands, custom-reset-menu)
13518 (Custom-reset-standard): Tweak labels.
13519 (custom-reset-button-menu): Change default to t.
13520 (custom-buffer-create-internal): For the custom-reset-button-menu
13521 case, put the revert button first.
13522 (custom-group-subtitle): New face.
13523 (custom-group-value-create): Align docstring to a specific column.
13524
13525 * wid-edit.el (widget-documentation-link-add): Don't handle
13526 indentation in this function.
13527 (widget-documentation-string-indent-to): New function.
13528 (widget-documentation-string-value-create): Use it.
13529
13530 * autorevert.el (auto-revert):
13531 * epg-config.el (epg):
13532 * ibuffer.el (ibuffer):
13533 * mpc.el (mpc):
13534 * ses.el (ses):
13535 * eshell/eshell.el (eshell):
13536 * net/ange-ftp.el (ange-ftp):
13537 * progmodes/ebnf2ps.el (postscript):
13538 * progmodes/flymake.el (flymake):
13539 * progmodes/prolog.el (prolog):
13540 * progmodes/verilog-mode.el (verilog-mode):
13541 * progmodes/which-func.el (which-func):
13542 * term/xterm.el (xterm):
13543 * textmodes/picture.el (picture):
13544 * textmodes/tildify.el (tildify):
13545 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
13546 customization buffers.
13547
13548 2012-04-22 Alan Mackenzie <acm@muc.de>
13549
13550 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
13551 Adding a ) can hide the resulting (..) from searches. Fix it.
13552 Bound the backward search to the position of the existing (.
13553
13554 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
13555
13556 * progmodes/verilog-mode.el (verilog-mode): Check whether
13557 which-func-modes is t before adding verilog-mode.
13558 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
13559
13560 2012-04-21 Leo Liu <sdl.web@gmail.com>
13561
13562 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
13563
13564 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
13565
13566 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
13567 filling of the last column of a table (Bug#5635).
13568 (woman-find-next-control-line): New arg, specifying an additional
13569 regexp component for the control line.
13570 (woman2-roff-buffer): Use it.
13571 (woman-break-table): New function.
13572 (woman2-TS): Use it.
13573
13574 2012-04-21 Chong Yidong <cyd@gnu.org>
13575
13576 * woman.el (woman-set-buffer-display-table, woman-decode-region)
13577 (woman-horizontal-escapes, woman-negative-vertical-space)
13578 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
13579 (WoMan-warn-ignored): Use ?\s instead of ?\ .
13580
13581 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13582
13583 * minibuffer.el (completion-file-name-table): Complete user names.
13584
13585 2012-04-20 Leo Liu <sdl.web@gmail.com>
13586
13587 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
13588 and pcase-let*.
13589
13590 2012-04-20 Chong Yidong <cyd@gnu.org>
13591
13592 * server.el (server-execute): Respect initial-buffer-choice if it
13593 is a string and there are no files to open (Bug#2825).
13594 (server-create-window-system-frame, server-create-tty-frame):
13595 Don't switch buffers here.
13596 (server-process-filter): Only try to open a window system frame if
13597 compiled with graphical support (Bug#8314).
13598
13599 2012-04-20 Dan Nicolaescu <dann@gnu.org>
13600
13601 * battery.el (battery-echo-area-format): Display remaining time
13602 for sysfs backend too (Bug#11269).
13603 (battery-linux-sysfs): Fix conditional for the charge.
13604
13605 2012-04-20 Chong Yidong <cyd@gnu.org>
13606
13607 * progmodes/gdb-mi.el (gdb): Revert previous change.
13608 (gdb-inferior-io--init-proc): New function.
13609 (gdb-init-1): Use it.
13610 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
13611 responsible for allocating a new pty and hooking it to gdb when
13612 the old pty gets an EIO due to process exit.
13613 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
13614 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
13615 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
13616
13617 2012-04-20 Eli Zaretskii <eliz@gnu.org>
13618
13619 * window.el (window-min-size, window-sizable, window-min-delta)
13620 (window-max-delta, window--resizable, window-resizable)
13621 (window-total-size, window-full-height-p, window-full-width-p)
13622 (window-in-direction, window--resize-mini-window, window-resize)
13623 (window--resize-child-windows-normal)
13624 (window--resize-child-windows, window--resize-siblings)
13625 (window--resize-this-window, adjust-window-trailing-edge)
13626 (enlarge-window, shrink-window): Doc fixes.
13627
13628 2012-04-20 Chong Yidong <cyd@gnu.org>
13629
13630 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
13631 New function to call delete-process on the gdb-inferior buffer's pty.
13632 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
13633 pty process (Bug#11273).
13634 (gdb-update): New arg to suppress talking to the gdb process.
13635 (gdb-done-or-error): Use it.
13636 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
13637 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
13638 sentinel not being called.
13639
13640 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
13641
13642 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
13643
13644 2012-04-20 Glenn Morris <rgm@gnu.org>
13645
13646 * net/network-stream.el (open-network-stream): Doc fix.
13647
13648 2012-04-20 Chong Yidong <cyd@gnu.org>
13649
13650 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
13651
13652 2012-04-20 Alan Mackenzie <acm@muc.de>
13653
13654 Ensure searching for keywords is case sensitive.
13655
13656 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
13657 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
13658 (c-defun-name, c-mark-function, c-cpp-define-name)
13659 (c-comment-indent, c-scan-conditionals, c-indent-defun)
13660 (c-context-line-break): Bind case-fold-search to nil.
13661
13662 * progmodes/cc-mode.el (c-font-lock-fontify-region):
13663 Bind case-fold-search to nil.
13664
13665 2012-04-20 Chong Yidong <cyd@gnu.org>
13666
13667 * mail/sendmail.el (mail-bury): Call return action with the right
13668 Rmail buffer (Bug#11242).
13669
13670 * server.el (server-process-filter): Handle corner case where both
13671 tty and nowait options are present (Bug#11102).
13672
13673 2012-04-20 Eli Zaretskii <eliz@gnu.org>
13674
13675 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
13676 (top level): Put into the executable the ident-style '$Id:' tag on
13677 windows-nt as well.
13678
13679 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
13680
13681 * electric.el (electric-indent-post-self-insert-function): Check that
13682 electric-indent-mode is enabled in current buffer.
13683
13684 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
13685
13686 * imenu.el (imenu-progress-message): Restore; it is "used" in
13687 erc/erc-imenu.el and net/snmp-mode.el.
13688
13689 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
13690
13691 * avoid.el (mouse-avoidance-mode): Mark unused arg.
13692 (mouse-avoidance-nudge-mouse): Remove unused binding.
13693
13694 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
13695
13696 * descr-text.el (describe-char):
13697 * progmodes/python.el (python-describe-symbol):
13698 Don't call `toggle-read-only', set `buffer-read-only'.
13699
13700 * imenu.el (imenu-default-goto-function): Mark unused args.
13701 (imenu-progress-message): Remove obsolete macro; all callers changed.
13702
13703 * subr.el (keymap-canonicalize): Remove unused binding.
13704 (read-passwd): Mark unused arg.
13705
13706 * tutorial.el (tutorial--display-changes): Remove unused binding.
13707 (tutorial--save-tutorial-to): Remove unused variable.
13708
13709 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
13710 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
13711 (package-generate-autoloads, package-menu--generate)
13712 (package-menu--find-upgrades): Remove unused bindings.
13713
13714 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
13715 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
13716 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
13717 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
13718 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
13719 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
13720 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
13721 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
13722 (cua-delete-char-rectangle): Mark unused args.
13723 (cua-align-rectangle): Remove unused binding.
13724
13725 * mail/rmail.el (compilation--message->loc)
13726 (epa--find-coding-system-for-mime-charset): Declare.
13727
13728 * net/dbus.el (dbus-register-service): Declare.
13729 (dbus-name-owner-changed-handler): Remove unused binding.
13730
13731 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
13732 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
13733 (nxml-scan-backward-within): Mark unused arg.
13734 (nxml-dynamic-markup-word): Remove unused binding.
13735
13736 * mouse.el (mouse-menu-major-mode-map):
13737 * emacs-lisp/authors.el (authors-scan-change-log)
13738 (authors-add-to-author-list):
13739 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
13740 * emacs-lisp/smie.el (smie-auto-fill):
13741 * mail/sendmail.el (mail-bury):
13742 * mail/unrmail.el (unrmail):
13743 * net/tls.el (open-tls-stream):
13744 * textmodes/picture.el (picture-mouse-set-point):
13745 Remove unused bindings.
13746
13747 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
13748
13749 * net/tramp.el (tramp-action-password): Let-bind
13750 `enable-recursive-minibuffers' to t.
13751
13752 2012-04-18 Sam Steingold <sds@gnu.org>
13753
13754 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
13755 instead of 'string to accommodate values like [f11].
13756 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
13757 * progmodes/gdb-mi.el: Likewise.
13758
13759 2012-04-18 Leo Liu <sdl.web@gmail.com>
13760
13761 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
13762 current buffer.
13763 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
13764 LOCAL is nil.
13765
13766 2012-04-18 Chong Yidong <cyd@gnu.org>
13767
13768 * simple.el (line-move): Use forward-line if in batch mode
13769 (Bug#11053).
13770
13771 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
13772
13773 * files.el (after-find-file): Do not try to add a final newline if
13774 the buffer is read-only (Bug#11156).
13775
13776 2012-04-17 Richard Stallman <rms@gnu.org>
13777
13778 * mail/rmail.el (rmail-start-mail):
13779 Pass (rmail-mail-return...) for the return-action.
13780 Pass (rmail-yank-current-message...) for the yank-action.
13781 (rmail-yank-current-message): New function.
13782 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
13783 (rmail-reply): Likewise.
13784 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
13785
13786 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
13787 buffer, not the last. Reject temp buffers. Use the rmail-mode
13788 buffer, not newbuf.
13789
13790 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
13791
13792 * server.el (server-ensure-safe-dir): Simplify.
13793
13794 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
13795
13796 * emacs-lisp/smie.el: Provide smarter auto-filling.
13797 (smie-auto-fill): New function.
13798 (smie-setup): Use it.
13799
13800 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
13801
13802 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
13803
13804 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
13805 (comment-indent): Use it.
13806
13807 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
13808
13809 * ses.el: The overall change is to add cell renaming, that is
13810 setting fancy names for cell symbols other than name matching
13811 "\\`[A-Z]+[0-9]+\\'" regexp .
13812 (ses-localvars): Add ses--renamed-cell-symb-list.
13813 (ses-create-cell-variable): New defun.
13814 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
13815 (ses-relocate-formula): Relocate formulas only for cells the
13816 symbols of which are not renamed, i.e. symbols whose names do not
13817 match regexp "\\`[A-Z]+[0-9]+\\'".
13818 (ses-relocate-all): Relocate values only for cells the symbols of
13819 which are not renamed.
13820 (ses-load): Create cells variables as the (ses-cell ...) are read,
13821 in order to check row col consistency with cell symbol name only
13822 for cells that are not renamed.
13823 (ses-replace-name-in-formula): New defun.
13824 (ses-rename-cell): New defun.
13825
13826 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
13827
13828 * progmodes/perl-mode.el (perl-indent-parens-as-block):
13829 New option (bug#11118).
13830 (perl-calculate-indent): Respect it.
13831
13832 2012-04-17 Glenn Morris <rgm@gnu.org>
13833
13834 * dired-aux.el (dired-mark-read-string): Doc fix.
13835
13836 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
13837
13838 * dired-aux.el (dired-mark-read-string): Offer optional completion.
13839 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
13840
13841 2012-04-17 Glenn Morris <rgm@gnu.org>
13842
13843 * mouse.el (mouse-drag-track):
13844 * speedbar.el (speedbar-frame-mode):
13845 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
13846
13847 2012-04-16 Leo Liu <sdl.web@gmail.com>
13848
13849 * progmodes/python.el: Trivial cleanup.
13850
13851 2012-04-16 Glenn Morris <rgm@gnu.org>
13852
13853 * vc/vc.el (vc-string-prefix-p):
13854 * vc/pcvs-util.el (cvs-string-prefix-p):
13855 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
13856 * mpc.el (mpc-string-prefix-p):
13857 Make all of these into obsolete aliases for string-prefix-p.
13858 Update callers.
13859 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
13860
13861 * textmodes/two-column.el: Move custom options to the start.
13862 (frame-width): Remove compat definition.
13863 (2C-associate-buffer, 2C-dissociate):
13864 Use with-current-buffer rather than save-excursion.
13865 (2C-dissociate): Force a mode-line update.
13866 (2C-autoscroll): Use ignore-errors.
13867
13868 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
13869 Autoload trivia.
13870
13871 * emacs-lisp/cl-extra.el (*random-state*):
13872 Remove unnecessary declaration.
13873
13874 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
13875
13876 * play/cookie1.el (cookie-snarf):
13877 Give an explicit error if input file cannot be read.
13878
13879 * play/yow.el (yow-file): Use expand-file-name rather than concat.
13880
13881 * progmodes/perl-mode.el (c-macro-expand):
13882 Remove unnecessary autoload (it is in loaddefs.el).
13883
13884 * textmodes/picture.el (picture-desired-column)
13885 (picture-update-desired-column): Convert comments to doc-strings.
13886 (picture-substitute): Remove function.
13887 (picture-mode-map): Initialize in the defvar.
13888
13889 * woman.el: Remove eval-after-load for tar-mode.
13890 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
13891 (woman-tar-extract-file): Autoload it.
13892
13893 * frame.el (automatic-hscrolling): Make this alias obsolete.
13894
13895 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13896
13897 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
13898 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
13899 (ispell-dictionary-base-alist): Revert to original XEmacs
13900 friendly version for default. [:alpha:] will be added in
13901 `ispell-set-spellchecker-params' if needed.
13902
13903 2012-04-16 Chong Yidong <cyd@gnu.org>
13904
13905 * image.el (imagemagick--file-regexp): New variable.
13906 (imagemagick-register-types): Use it.
13907 (imagemagick-types-inhibit): Add :set function. Allow new value
13908 of t to inhibit all types.
13909
13910 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
13911 so we can preload it.
13912
13913 * loadup.el (fboundp): Preload regexp-opt, needed by
13914 imagemagick-register-types.
13915
13916 2012-04-15 Chong Yidong <cyd@gnu.org>
13917
13918 * frame.el (scrolling): Remove nearly unused customization group.
13919
13920 * scroll-all.el (scroll-all-mode): Move to windows group.
13921
13922 2012-04-15 Chong Yidong <cyd@gnu.org>
13923
13924 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
13925
13926 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13927
13928 Avoid the use of ((lambda ...) ...) in lexical-binding code.
13929 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
13930
13931 2012-04-15 Glenn Morris <rgm@gnu.org>
13932
13933 * simple.el (process-file-side-effects): Doc fix.
13934
13935 2012-04-15 Glenn Morris <rgm@gnu.org>
13936
13937 * international/mule-cmds.el (set-language-environment): Doc fix.
13938
13939 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
13940
13941 * server.el (server-auth-key, server-generate-key): Doc fixes.
13942 (server-get-auth-key): Doc fix. Use `string-match-p'.
13943 (server-start): Reflow docstring.
13944
13945 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
13946
13947 * server.el (server-generate-key): `called-interactively-p'
13948 requires a parameter.
13949
13950 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
13951
13952 * server.el (server-auth-key): New variable.
13953 (server-generate-key, server-get-auth-key): New function.
13954 (server-start): Use the new variable and functions to allow
13955 setting a permanent server key (bug#9423).
13956
13957 2012-04-14 Leo Liu <sdl.web@gmail.com>
13958
13959 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
13960
13961 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
13962
13963 Spelling fixes.
13964 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
13965 Emacs uses American spelling.
13966
13967 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
13968
13969 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
13970 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
13971 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
13972 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
13973
13974 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
13975
13976 * progmodes/which-func.el (which-func-modes): Change default.
13977
13978 2012-04-14 Kim F. Storm <storm@cua.dk>
13979
13980 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
13981 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
13982
13983 2012-04-14 Chong Yidong <cyd@gnu.org>
13984
13985 * custom.el (custom-theme-set-variables): Doc fix.
13986
13987 2012-04-14 Glenn Morris <rgm@gnu.org>
13988
13989 * international/mule.el (set-auto-coding-for-load): Doc fix.
13990
13991 2012-04-14 Alan Mackenzie <acm@muc.de>
13992
13993 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
13994 imenu work again for Objective C Mode. Correct the *-index values,
13995 these having been disturbed by a previous change in 2011-08.
13996
13997 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
13998 Correct two search limits.
13999
14000 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
14001
14002 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
14003
14004 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
14005
14006 * international/characters.el: Fix sorting.
14007
14008 2012-04-14 Eli Zaretskii <eliz@gnu.org>
14009
14010 * international/characters.el: Add more missing Latin case pairs.
14011
14012 2012-04-14 Glenn Morris <rgm@gnu.org>
14013
14014 * files.el (dir-locals-set-class-variables): Doc fix.
14015
14016 2012-04-14 Eli Zaretskii <eliz@gnu.org>
14017
14018 * international/characters.el: Add set-case-syntax-pair call for
14019 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
14020 counterpart. (Bug#11209)
14021
14022 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
14023
14024 2012-04-14 Glenn Morris <rgm@gnu.org>
14025
14026 * calendar/holidays.el (calendar-check-holidays): Doc fix.
14027
14028 2012-04-14 Eli Zaretskii <eliz@gnu.org>
14029
14030 * textmodes/ispell.el (ispell-dictionary-base-alist):
14031 Add data for Hebrew.
14032
14033 2012-04-14 Chong Yidong <cyd@gnu.org>
14034
14035 * net/rcirc.el (rcirc-cmd-quit):
14036 Revert 2012-03-18 change (Bug#11192).
14037
14038 2012-04-14 Glenn Morris <rgm@gnu.org>
14039
14040 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
14041
14042 2012-04-14 Eli Zaretskii <eliz@gnu.org>
14043
14044 * minibuffer.el (completion-in-region-mode-map):
14045 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
14046
14047 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
14048
14049 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
14050
14051 2012-04-13 Masatake YAMATO <yamato@redhat.com>
14052
14053 * minibuffer.el (minibuffer-local-filename-syntax): New variable
14054 to allow `C-M-f' and `C-M-b' to move to the nearest path
14055 separator (bug#9511).
14056
14057 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
14058
14059 * avoid.el: Require cl when compiling. And also move the
14060 `provide' to the end.
14061
14062 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14063
14064 * avoid.el (mouse-avoidance-banish-position): New variable.
14065 (mouse-avoidance-banish-destination): Use it (bug#10165).
14066
14067 2012-04-13 Leo Liu <sdl.web@gmail.com>
14068
14069 * progmodes/which-func.el (which-func-modes): Add objc-mode.
14070
14071 2012-04-13 Ken Brown <kbrown@cornell.edu>
14072
14073 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
14074 this is no longer needed now that cygstart understands file:// URLs.
14075 (browse-url-filename-alist): For the same reason, don't modify
14076 file:// URLs on Cygwin.
14077
14078 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
14079
14080 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
14081 the region on shift if the binding is already shifted (bug#11221).
14082
14083 2012-04-12 Glenn Morris <rgm@gnu.org>
14084
14085 * mail/mailpost.el: Move to obsolete/.
14086
14087 2012-04-12 Drew Adams <drew.adams@oracle.com>
14088
14089 * imenu.el (imenu--generic-function): Ignore invisible definitions
14090 (bug#10123).
14091
14092 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
14093
14094 * hexl.el (hexl-bits): New variable.
14095 (hexl-options): Mention the variable in the doc string.
14096 (hexl-rulerise, hexl-line-displen): New functions.
14097 (hexl-mode): Mention the new variable.
14098 (hexl-mode, hexl-current-address, hexl-current-address):
14099 Use the displen.
14100 (hexl-ascii-start-column): New function.
14101 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
14102 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
14103
14104 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14105
14106 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
14107 '("-i" ENCODING), in 2 separate command-line arguments, to specify
14108 the encoding, as expected by hunspell.
14109
14110 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
14111
14112 * battery.el (battery--linux-sysfs-regexp): New const.
14113 (battery-status-function): Use it. Remove yeeloong special case.
14114 (battery-yeeloong-sysfs): Remove.
14115 (battery-echo-area-format): Remove yeeloong special case.
14116
14117 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
14118
14119 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
14120 Reported by Noah Friedman.
14121
14122 * subr.el (read-passwd): Use read-string.
14123
14124 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14125
14126 * vcursor.el (vcursor-move): Increase the priority of the overlay
14127 (bug#9663).
14128
14129 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
14130
14131 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
14132 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
14133
14134 2012-04-11 William Stevenson <yhvh2000@gmail.com>
14135
14136 * textmodes/artist.el (artist-mode): Convert artist-mode to use
14137 define-minor-mode (bug#10760).
14138
14139 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
14140
14141 * progmodes/grep.el (rgrep): Tweak the find command line so
14142 that directories matching `grep-find-ignored-files' won't be
14143 pruned (bug#10351).
14144
14145 2012-04-11 Chong Yidong <cyd@gnu.org>
14146
14147 * startup.el (command-line): Remove support for long-obsolete
14148 variable font-lock-face-attributes.
14149
14150 2012-04-11 Glenn Morris <rgm@gnu.org>
14151
14152 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
14153
14154 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
14155
14156 * window.el (window--state-get-1): Obey window-point-insertion-type.
14157
14158 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
14159
14160 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
14161 to previous function when point is on the first character of a
14162 function. Take care of that in `narrow-to-defun' (bug#6157).
14163
14164 2012-04-11 Glenn Morris <rgm@gnu.org>
14165
14166 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
14167 not just file-errors.
14168
14169 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
14170 (vc-bzr-sha1): Use internal sha1.
14171
14172 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
14173
14174 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
14175
14176 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
14177
14178 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
14179 that start in the middle of the line (bug#10496).
14180
14181 2012-04-10 Dan Nicolaescu <dann@gnu.org>
14182
14183 * battery.el (battery-linux-proc-acpi): Only one battery is
14184 discharged at a time, but that seems to confuse battery.el when
14185 computing `rate-type' for the battery not being discharged
14186 (bug#10332).
14187
14188 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
14189
14190 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
14191
14192 * international/quail.el: Use dolist and simplify.
14193 (quail-define-package, quail-update-keyboard-layout)
14194 (quail-define-rules): Use dolist.
14195 (quail-insert-kbd-layout, quail-get-translation): CSE.
14196
14197 * tmm.el: Use dolist, remove left over hook.
14198 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
14199 Use dolist.
14200 (calendar-load-hook): Don't mess with it.
14201
14202 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
14203 Use derived-mode-p. Run the diff asynchronously.
14204
14205 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
14206
14207 * obsolete/mouse-sel.el: Add an Obsolete-since header.
14208
14209 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
14210
14211 * misc.el: Display absolute path of loaded DLLs (bug#10424).
14212 (list-dynamic-libraries--loaded): New function.
14213 (list-dynamic-libraries--refresh): Use it.
14214
14215 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
14216
14217 * progmodes/python.el (python-fill-paragraph):
14218 Make python-fill-region in a multiline string work when font-lock is
14219 disabled (bug#7018).
14220
14221 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
14222
14223 * language/european.el (cp775): Add oem/legacy (en)coding on
14224 DOS/MS Windows for the Baltic languages. There are still plenty
14225 of texts written in this encoding/codepage (bug#6519).
14226
14227 2012-04-10 Glenn Morris <rgm@gnu.org>
14228
14229 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
14230 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
14231
14232 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
14233
14234 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
14235 next-line "n" and previous-line "p" in order to make recentf more
14236 consistent with ibuffer, dired or org-mode (bug#9387).
14237
14238 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
14239
14240 * image.el (put-image): Return the overlay created instead of the
14241 optional input string (bug#7834). Note that this may break code
14242 that is (for some reason or other) depending on `put-image'
14243 returning the string.
14244
14245 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
14246
14247 * simple.el (zap-to-char): Allow zapping using input methods
14248 (bug#1580).
14249
14250 * textmodes/fill.el (fill-region): Leave point and mark where they
14251 were before filling (bug#5399).
14252
14253 2012-04-09 Glenn Morris <rgm@gnu.org>
14254
14255 * version.el (emacs-bzr-get-version):
14256 Handle lightweight checkouts of local branches.
14257
14258 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
14259
14260 * international/characters.el: Recover lost case pairs. (Bug#11209)
14261
14262 2012-04-09 Chong Yidong <cyd@gnu.org>
14263
14264 * custom.el (custom-variable-p): Return nil for non-symbol
14265 arguments instead of signaling an error.
14266 (user-variable-p): Obsolete alias for custom-variable-p.
14267
14268 * apropos.el (apropos-variable):
14269 * files-x.el (read-file-local-variable):
14270 * simple.el (set-variable):
14271 * woman.el (woman-mini-help):
14272 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
14273
14274 2012-04-09 Glenn Morris <rgm@gnu.org>
14275
14276 * startup.el (normal-top-level): Don't look for leim-list.el
14277 in places where it will not be found. (Bug#910)
14278
14279 * international/mule-cmds.el (set-default-coding-systems):
14280 * files.el (normal-mode):
14281 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
14282 This function was removed with ucs-tables.el in 2008.
14283
14284 2012-04-08 Eli Zaretskii <eliz@gnu.org>
14285
14286 * textmodes/ispell.el (ispell-check-version): For hunspell, set
14287 ispell-encoding8-command to "-i", without a trailing space.
14288 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
14289 separate command-line arguments, to specify the encoding, since
14290 that's how hunspell expects it.
14291
14292 2012-04-08 Glenn Morris <rgm@gnu.org>
14293
14294 * loadup.el: Load bindings before cus-start.
14295 This reduces somewhat the number of "rogue" settings in emacs -Q.
14296
14297 2012-04-07 Glenn Morris <rgm@gnu.org>
14298
14299 * version.el (emacs-bzr-get-version): New function.
14300 (emacs-bzr-version): New variable.
14301 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
14302 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
14303
14304 2012-04-07 Eli Zaretskii <eliz@gnu.org>
14305
14306 * international/uni-bidi.el, international/uni-category.el:
14307 * international/uni-combining.el, international/uni-decimal.el:
14308 * international/uni-decomposition.el, international/uni-digit.el:
14309 * international/uni-lowercase.el, international/uni-mirrored.el:
14310 * international/uni-name.el, international/uni-numeric.el:
14311 * international/uni-titlecase.el, international/uni-uppercase.el:
14312 Update for Unicode 6.1.
14313
14314 2012-04-07 Eli Zaretskii <eliz@gnu.org>
14315
14316 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
14317
14318 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
14319
14320 * window.el (shrink-window): Mention the `window-min-height'
14321 variable in the doc string.
14322
14323 2012-04-05 Bastien Guerry <bzg@altern.org>
14324
14325 * color.el (color-lighten-name): Fix typo.
14326
14327 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
14328
14329 * server.el (server--on-display-p): New function.
14330 (server--on-display-p): Use it.
14331
14332 2012-04-04 Gábor Vida <vidagabor@gmail.com> (tiny change)
14333
14334 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
14335 (bug#11145).
14336
14337 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
14338
14339 * comint.el (comint--common-quoted-suffix): Check string boundary
14340 before comparing (bug#11158).
14341 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
14342
14343 2012-04-04 Chong Yidong <cyd@gnu.org>
14344
14345 * minibuffer.el (completion-extra-properties): Doc fix.
14346
14347 * subr.el (delayed-warnings-hook): Doc fix.
14348
14349 2012-04-04 Daiki Ueno <ueno@unixuser.org>
14350
14351 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
14352 selection (Bug#11159).
14353 (epa-insert-keys): Inform that the default public key will be
14354 exported if no key is selected.
14355
14356 2012-04-04 Richard Stallman <rms@gnu.org>
14357
14358 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
14359
14360 2012-04-03 Chong Yidong <cyd@gnu.org>
14361
14362 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
14363 mail-insert-file, not its obsolete alias mail-attach-file.
14364
14365 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
14366
14367 * notifications.el (notifications-notify): Fix docstring.
14368
14369 2012-04-02 Glenn Morris <rgm@gnu.org>
14370
14371 * emacs-lisp/authors.el (authors-aliases): Another addition.
14372
14373 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
14374
14375 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
14376 `tramp-compat-call-process' instead of `tramp-local-call-process'.
14377 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
14378
14379 2012-04-01 Chong Yidong <cyd@gnu.org>
14380
14381 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
14382 Handle root directory properly.
14383 (copy-directory): Caller changed.
14384
14385 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
14386 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
14387
14388 2012-03-31 Glenn Morris <rgm@gnu.org>
14389
14390 * term/xterm.el (xterm-extra-capabilities): Doc fix.
14391
14392 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
14393
14394 * calendar/calendar.el (calendar-window-list)
14395 (calendar-hide-window): Restore. (Bug#11140)
14396 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
14397
14398 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
14399
14400 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14401
14402 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
14403 Check if file is a symlink (Bug#10489).
14404
14405 * files.el (copy-directory): Likewise.
14406
14407 2012-03-30 Chong Yidong <cyd@gnu.org>
14408
14409 * image.el (imagemagick-types-inhibit)
14410 (imagemagick-register-types): Doc fix.
14411
14412 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14413
14414 * textmodes/ispell.el (ispell-get-extended-character-mode):
14415 Disable extended-char-mode for hunspell. hunspell does not support it
14416 and treats ~word as ordinary words in pipe mode.
14417
14418 2012-03-30 Glenn Morris <rgm@gnu.org>
14419
14420 * tutorial.el (help-with-tutorial): Ensure local variables don't
14421 happen to make the buffer read-only. (Bug#11127)
14422
14423 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
14424
14425 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
14426 (perl-calculate-indent): Return `noindent' in strings.
14427
14428 2012-03-28 Sam Steingold <sds@gnu.org>
14429
14430 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
14431 instead of the broken adhockery which does not prevent calendar
14432 buffers from being displayed at random after exit.
14433 (calendar-window-list, calendar-hide-window): Remove the broken
14434 adhockery.
14435
14436 2012-03-28 Glenn Morris <rgm@gnu.org>
14437
14438 * replace.el (query-replace-map): Doc fix.
14439
14440 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
14441
14442 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
14443 contents. (Bug#11109)
14444
14445 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
14446
14447 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
14448 (bug#11077).
14449 (avl-tree--check, avl-tree--check-node): New funs.
14450
14451 2012-03-27 Martin Rudalics <rudalics@gmx.at>
14452
14453 * window.el (switch-to-visible-buffer): New option.
14454 (switch-to-prev-buffer, switch-to-next-buffer):
14455 Observe switch-to-visible-buffer. Make sure that checking for a window
14456 showing a buffer already is done on the same frame.
14457
14458 2012-03-27 Glenn Morris <rgm@gnu.org>
14459
14460 * startup.el (mail-host-address): Doc fix.
14461
14462 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
14463
14464 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
14465 than 197 variables.
14466
14467 2012-03-26 Ami Fischman <ami@fischman.org>
14468
14469 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
14470
14471 2012-03-26 Glenn Morris <rgm@gnu.org>
14472
14473 * files.el (save-buffers-kill-emacs): Doc fix.
14474
14475 * startup.el (normal-top-level, command-line, command-line-1):
14476 Give them doc strings.
14477
14478 2012-03-25 Eli Zaretskii <eliz@gnu.org>
14479
14480 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
14481 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
14482
14483 2012-03-25 Chong Yidong <cyd@gnu.org>
14484
14485 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
14486 theme if it was previously enabled before (Bug#11031).
14487
14488 * cus-theme.el (custom-theme-write-faces): Retrieve current face
14489 spec with custom-face-get-current-spec if its :shown-value is not
14490 determined yet (Bug#9337).
14491 (customize-create-theme, custom-theme-revert): Doc fixes.
14492
14493 * button.el (button-at): Minor addition to docstring.
14494
14495 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
14496
14497 * vc/vc.el (vc-merge): Fix a prompt.
14498
14499 2012-03-24 Chong Yidong <cyd@gnu.org>
14500
14501 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
14502 point (Bug#9623).
14503
14504 * button.el (button-at): Minor addition to docstring.
14505
14506 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
14507
14508 * newcomment.el (comment-choose-indent): No space after BOL.
14509
14510 2012-03-22 Sam Steingold <sds@gnu.org>
14511
14512 * window.el (switch-to-prev-buffer): Revert last patch because the
14513 bug turned out to be an advertised feature (Elisp manual 28.14).
14514
14515 2012-03-22 Glenn Morris <rgm@gnu.org>
14516
14517 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
14518 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
14519
14520 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
14521
14522 * net/network-stream.el (network-stream-open-starttls): Make error
14523 message under Windows be less misleading.
14524
14525 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
14526
14527 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
14528 understands (bug#9942).
14529
14530 2012-03-22 Chong Yidong <cyd@gnu.org>
14531
14532 * simple.el (end-of-visible-line): Handle return value of
14533 next-single-property-change properly (Bug#9371).
14534
14535 2012-03-22 Kenichi Handa <handa@m17n.org>
14536
14537 * international/quail.el (quail-insert-kbd-layout): Fix previous
14538 change. To avoid unwanted bidi reordering, use
14539 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
14540
14541 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
14542
14543 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
14544 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
14545 (ruby-beginning-of-indent): Be more careful with the difference
14546 between word-boundary and symbol boundary.
14547 (ruby-mode-syntax-table): Make : a symbol constituent.
14548
14549 2012-03-21 Andreas Politz <politza@fh-trier.de>
14550
14551 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
14552
14553 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
14554
14555 * progmodes/etags.el (tags-completion-at-point-function):
14556 Improve last fix.
14557
14558 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
14559
14560 2012-03-21 Sam Steingold <sds@gnu.org>
14561
14562 * progmodes/etags.el (tags-completion-at-point-function):
14563 Avoid the error when point is inside the pattern.
14564
14565 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
14566
14567 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
14568 line (Bug#10855).
14569
14570 2012-03-21 Drew Adams <drew.adams@oracle.com>
14571
14572 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
14573
14574 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
14575
14576 * ido.el (ido-set-current-directory, ido-read-internal)
14577 (ido-choose-completion-string, ido-completion-help): Handle nil
14578 value of ido-completion-buffer (Bug#11008).
14579
14580 2012-03-21 Sam Steingold <sds@gnu.org>
14581
14582 * window.el (switch-to-prev-buffer): Do not switch to a visible
14583 window previous buffer, just like with the frame previous buffers.
14584
14585 2012-03-21 Chong Yidong <cyd@gnu.org>
14586
14587 * faces.el (make-face, make-empty-face, copy-face):
14588 * face-remap.el (face-remap-add-relative, face-remap-set-base):
14589 Doc fixes.
14590
14591 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
14592
14593 * wid-edit.el (widget-complete-field): Remove (bug#11051).
14594 (widget-complete): Remove broken use of it.
14595
14596 2012-03-20 Chong Yidong <cyd@gnu.org>
14597
14598 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
14599 Use string-width and truncate-string-width to handle arbitrary
14600 characters.
14601
14602 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
14603
14604 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
14605 to draw rectangles, not squares. (Regression introduced by revno
14606 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
14607
14608 2012-03-18 Chong Yidong <cyd@gnu.org>
14609
14610 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
14611 it is not yet defined (for temacs).
14612
14613 2012-03-18 Leo Liu <sdl.web@gmail.com>
14614
14615 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
14616 prefix.
14617
14618 2012-03-17 Eli Zaretskii <eliz@gnu.org>
14619
14620 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
14621 (ispell-choices-win-default-height, ispell-silently-savep)
14622 (ispell-dictionary-alist, ispell-encoding8-command)
14623 (ispell-check-version, ispell-aspell-find-dictionary)
14624 (ispell-valid-dictionary-list, ispell-words-keyword)
14625 (ispell-get-word, ispell-internal-change-dictionary)
14626 (ispell-region, ispell-skip-region-list)
14627 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
14628 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
14629 (ispell-message-text-end, ispell-message)
14630 (ispell-buffer-local-parsing): Doc fix.
14631
14632 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
14633
14634 * htmlfontify.el: Add support for code block fontification for ODT
14635 export (Bug #9914).
14636 (hfy-optimisations): Define new option
14637 `body-text-only'
14638 (hfy-fontify-buffer): Honor above setting.
14639 (hfy-begin-span, hfy-end-span): New routines factored out form
14640 `hfy-fontify-buffer'.
14641 (hfy-begin-span-handler, hfy-end-span-handler): New variables
14642 that permit insertion of custom tags.
14643 (hfy-fontify-buffer): Use above handlers.
14644 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
14645 (hfy-face-to-css): Re-defined to be a variable.
14646 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
14647 over multiple runs. This is made possible by having the caller let
14648 bind a special variable `hfy-user-sheet-assoc'.
14649 (htmlfontify-string): New defun.
14650 (hfy-compile-face-map): Make sure that the last char in the
14651 buffer is correctly fontified.
14652 (hfy-face-resolve-face): Whitespace only change.
14653
14654 2012-03-17 Eli Zaretskii <eliz@gnu.org>
14655
14656 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
14657 message more clear.
14658
14659 2012-03-16 Leo Liu <sdl.web@gmail.com>
14660
14661 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
14662
14663 2012-03-16 Alan Mackenzie <acm@muc.de>
14664
14665 Further optimize the handling of large macros.
14666
14667 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
14668 limit to a call of `c-literal-limits'.
14669 (c-determine-+ve-limit): New function.
14670 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
14671 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
14672 In CASE 5B, restrict a search limit to 500.
14673 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
14674
14675 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
14676 Restrict macro bounds to +-500 from after-change's BEG END.
14677
14678 2012-03-16 Leo Liu <sdl.web@gmail.com>
14679
14680 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
14681
14682 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
14683
14684 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
14685 `special-mode' setting of `buffer-read-only'. (Bug#11010)
14686
14687 2012-03-16 Glenn Morris <rgm@gnu.org>
14688
14689 * view.el (view-buffer, view-buffer-other-window)
14690 (view-buffer-other-frame): Doc fixes re special mode-class.
14691
14692 * subr.el (eval-after-load): If named feature is provided not from
14693 a file, run after-load forms. (Bug#10946)
14694
14695 * calendar/calendar.el (calendar-insert-at-column):
14696 Handle non-unit-width characters a bit better. (Bug#10978)
14697
14698 2012-03-15 Chong Yidong <cyd@gnu.org>
14699
14700 * emacs-lisp/ring.el (ring-extend): New function.
14701 (ring-insert+extend): Extend the ring correctly (Bug#11019).
14702
14703 * comint.el (comint-read-input-ring)
14704 (comint-add-to-input-history): Grow comint-input-ring lazily.
14705
14706 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
14707
14708 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
14709 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
14710
14711 * imenu.el: Fix multiple inheritance breakage (bug#9199).
14712 (imenu-add-to-menubar): Don't add a redundant index.
14713 (imenu-update-menubar): Handle a dynamically composed keymap.
14714
14715 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
14716
14717 * mail/sendmail.el (mail-encode-header):
14718 Bind rfc2047-encode-encoded-words to nil.
14719
14720 2012-03-13 Glenn Morris <rgm@gnu.org>
14721
14722 * calendar/calendar.el (calendar-string-spread):
14723 Handle non-unit-width characters a bit better. (Bug#10978)
14724
14725 2012-03-13 Leo Liu <sdl.web@gmail.com>
14726
14727 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
14728 directory and file as argument (Bug#10822).
14729
14730 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
14731
14732 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
14733 For dynamically generated code, follow $PC.
14734 (gdb-disassembly-handler-custom): Handle no function name case.
14735
14736 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
14737
14738 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
14739 * emulation/ws-mode.el (ws-query-replace):
14740 * sort.el (sort-regexp-fields):
14741 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
14742
14743 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14744
14745 * dabbrev.el: Fix cycle completion order (bug#10963).
14746 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
14747 (dabbrev-completion): Don't use an obarray; provide
14748 a cycle-sort-function.
14749
14750 2012-03-12 Leo Liu <sdl.web@gmail.com>
14751
14752 * simple.el (kill-new): Use equal-including-properties for comparison.
14753 (kill-do-not-save-duplicates): Doc fix.
14754
14755 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14756
14757 * dabbrev.el: Fix cycle completion (bug#10963).
14758 Use lexical binding and wrap to 80 columns.
14759 (dabbrev-completion): Delay computing the list of completions.
14760
14761 2012-03-12 Kenichi Handa <handa@m17n.org>
14762
14763 * international/quail.el (quail-insert-kbd-layout): Surround each
14764 row by LRO and PDF instead of inserting many LRMs. Pad the left
14765 and right of each non-spacing marks. Insert invisible space
14766 between lower and upper characters to prevent composition.
14767
14768 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14769
14770 * minibuffer.el (minibuffer-complete): Don't get confused when the
14771 function is run twice via different commands (bug#10958).
14772 (complete-with-action): Fix docstring.
14773
14774 2012-03-12 Chong Yidong <cyd@gnu.org>
14775
14776 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
14777 (nxml-completion-at-point-function): New function.
14778 (nxml-mode): Use it.
14779 (nxml-bind-meta-tab-to-complete-flag): Default to t.
14780
14781 * emacs-lisp/package.el (package-unpack, package-unpack-single):
14782 Load generated autoloads file before byte compiling (Bug#10970).
14783 (package--make-autoloads-and-compile): New helper fun.
14784
14785 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
14786
14787 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
14788
14789 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
14790
14791 * autorevert.el (auto-revert-handler): Ensure, that
14792 file-readable-p is applied only for local files or in
14793 auto-revert-tail-mode.
14794
14795 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
14796
14797 * server.el (server-eval-at): Handle non-tcp connections.
14798 Decode result string.
14799
14800 * server.el (server-msg-size): New constant.
14801 (server-reply-print): New function.
14802 (server-eval-and-print): Use it.
14803 (server-eval-at): Use server-quote-arg and server-unquote-arg.
14804 Handle -print-nonl.
14805
14806 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
14807
14808 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
14809 (Bug#10987).
14810
14811 2012-03-11 Chong Yidong <cyd@gnu.org>
14812
14813 * simple.el (goto-line): Doc fix (Bug#9938).
14814
14815 * subr.el (save-window-excursion): Doc fix (Bug#9979).
14816
14817 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
14818 when finished (Bug#10963).
14819
14820 2012-03-11 Martin Rudalics <rudalics@gmx.at>
14821
14822 * window.el (split-window-below): Fix bug in case where
14823 split-window-keep-point is nil (Bug#10971).
14824
14825 2012-03-11 Juri Linkov <juri@jurta.org>
14826
14827 * replace.el (replace-highlight): Set isearch-word to nil
14828 unconditionally. (Bug#10887)
14829
14830 2012-03-10 Eli Zaretskii <eliz@gnu.org>
14831
14832 * net/mairix.el (mairix-replace-invalid-chars): Rename from
14833 mairix-replace-illegal-chars; all callers changed. Don't remove
14834 ^, ~, and = characters: they are meaningful in mairix search specs.
14835 (mairix-widget-create-query): Add usage information about mairix
14836 search forms: negating words, searching for substrings, etc.
14837
14838 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
14839
14840 * international/fontset.el (font-encoding-alist): Add an entry for
14841 ksx1001 (Bug#5667).
14842
14843 2012-03-10 Richard Stallman <rms@gnu.org>
14844
14845 * mail/sendmail.el (mail-encode-header):
14846 Set rfc2047-encode-encoded-words.
14847
14848 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
14849
14850 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
14851 view buffer means not swapped.
14852 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
14853 (rmail-write-region-annotate): Error if real text has disappeared.
14854
14855 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
14856
14857 2012-03-10 Chong Yidong <cyd@gnu.org>
14858
14859 * emulation/cua-rect.el (cua--init-rectangles):
14860 * emulation/cua-base.el (cua--init-keymaps):
14861 Add delete-forward-char to remappings (Bug#9666).
14862
14863 2012-03-10 Martin Rudalics <rudalics@gmx.at>
14864
14865 * speedbar.el (speedbar-unhighlight-one-tag-line):
14866 Avoid unhighlighting due to frame switching (Bug#10275).
14867
14868 2012-03-10 Chong Yidong <cyd@gnu.org>
14869
14870 * minibuffer.el (completion-in-region, completion-help-at-point):
14871 Give the completion field overlay a high priority (Bug#6830).
14872
14873 * dired.el (dired-goto-file): Recognize absolute file name
14874 listings (Bug#7126).
14875 (dired-goto-file-1): New helper function.
14876 (dired-toggle-read-only): Inhibit warnings.
14877
14878 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
14879
14880 * net/dbus.el (dbus-property-handler): Return empty array if
14881 there are no properties.
14882
14883 2012-03-09 Leo Liu <sdl.web@gmail.com>
14884
14885 * savehist.el (savehist-printable): Stricter check for string
14886 value (Bug#10937).
14887
14888 2012-03-09 Eli Zaretskii <eliz@gnu.org>
14889
14890 * mail/smtpmail.el (smtpmail-send-it):
14891 Bind coding-system-for-write to *-unix, so that FCC files are kept in
14892 valid mbox format.
14893
14894 2012-03-09 Glenn Morris <rgm@gnu.org>
14895
14896 * files.el (dir-locals-find-file):
14897 Don't check result is regular, readable.
14898 (dir-locals-read-from-file): Demote errors.
14899
14900 2012-03-08 Eli Zaretskii <eliz@gnu.org>
14901
14902 * international/quail.el (quail-insert-kbd-layout):
14903 Insert invisible LRM characters before each character in a keyboard
14904 layout cell, to prevent their reordering by bidi display engine.
14905 For details, see the discussion in
14906 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
14907
14908 2012-03-08 Alan Mackenzie <acm@muc.de>
14909
14910 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
14911 the starting position; make it extend the marked region when
14912 invoked repeatedly - all under appropriate circumstances.
14913 Fixes bugs #5525, #10906.
14914
14915 2012-03-08 Glenn Morris <rgm@gnu.org>
14916
14917 * files.el (locate-dominating-file, dir-locals-find-file):
14918 Undo 2012-03-06 change.
14919
14920 2012-03-07 Eli Zaretskii <eliz@gnu.org>
14921
14922 * international/quail.el (quail-help):
14923 Force bidi-paragraph-direction be left-to-right. See discussion in
14924 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
14925 for the reason.
14926
14927 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
14928
14929 Avoid superfluous registering of signals. (Bug#10807)
14930
14931 * notifications.el (notifications-on-action-object)
14932 (notifications-on-close-object): New defvars.
14933 (notifications-on-action-signal, notifications-on-closed-signal):
14934 Unregister the signal if not needed any longer.
14935 (notifications-notify): Register `notifications-action-signal' or
14936 `notifications-closed-signal', if :on-action or :on-close has been
14937 passed as argument.
14938
14939 2012-03-07 Chong Yidong <cyd@gnu.org>
14940
14941 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
14942 non-X platforms.
14943
14944 2012-03-06 Glenn Morris <rgm@gnu.org>
14945
14946 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
14947 (x-disown-selection-internal, x-get-selection-internal):
14948 Doc fix (add arglist signatures). (Bug#10783)
14949
14950 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
14951
14952 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
14953 Handle breakpoints with no "type".
14954
14955 2012-03-06 Glenn Morris <rgm@gnu.org>
14956
14957 * files.el (locate-dominating-file): Add optional predicate argument.
14958 (dir-locals-find-file): Make use of above change.
14959
14960 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
14961
14962 * info.el (Info-insert-dir): Also try "dir.gz".
14963
14964 2012-03-06 Glenn Morris <rgm@gnu.org>
14965
14966 * files.el (dir-locals-find-file):
14967 Ignore non-readable or non-regular files. (Bug#10928)
14968
14969 * files.el (locate-dominating-file): Doc fix.
14970
14971 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
14972
14973 * calendar/calendar.el (calendar-set-mode-line):
14974 `getenv' returns a string. (Bug#10951)
14975
14976 2012-03-05 Leo Liu <sdl.web@gmail.com>
14977
14978 * simple.el (backward-delete-char-untabify): Constrain point to
14979 field (Bug#10939).
14980
14981 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
14982
14983 2012-03-05 Chong Yidong <cyd@gnu.org>
14984
14985 * simple.el (count-words): If called from Lisp, return the word
14986 count, for symmetry with `count-lines'. Arglist changed.
14987 (count-words--message): Args changed. Consolidate counting code
14988 from count-words and count-words-region.
14989 (count-words-region): Caller changed.
14990 (count-lines-region): Make it an obsolete alias.
14991
14992 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
14993
14994 * saveplace.el (save-place-to-alist)
14995 (save-place-ignore-files-regexp): Allow value nil to disable this
14996 feature.
14997
14998 2012-03-04 Chong Yidong <cyd@gnu.org>
14999
15000 * faces.el (face-spec-reset-face): For the default face, reset the
15001 attributes to default values (Bug#10748).
15002
15003 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
15004
15005 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
15006 previous patch: Check `message-send-mail-function', and not the
15007 default function (bug#10897).
15008
15009 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
15010
15011 * notifications.el (notifications-on-action-signal)
15012 (notifications-on-closed-signal): Check for unique service name of
15013 incoming event. Fix error in removing entry.
15014 (top): Register for signals with wildcard service name.
15015 (notifications-notify): Use daemon unique service name for map entries.
15016
15017 2012-03-04 Chong Yidong <cyd@gnu.org>
15018
15019 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
15020
15021 2012-03-04 Glenn Morris <rgm@gnu.org>
15022
15023 * abbrev.el (copy-abbrev-table, abbrev-table-p)
15024 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
15025 (expand-abbrev, define-abbrev-table): Doc fixes.
15026
15027 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15028
15029 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
15030 `message-default-send-mail-function' and not `send-mail-function'
15031 when doing the prompting for `sendmail-query-once' before sending
15032 in Message buffers (bug#10897).
15033
15034 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
15035 This is inconsistent with all the other stream functions, which leave
15036 the setting up to the higher levels (if so wanted) (bug#10931).
15037
15038 2012-03-02 Alan Mackenzie <acm@muc.de>
15039
15040 Depessimize the handling of very large macros.
15041
15042 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
15043 (c-macro-cache-syntactic): New variables to implement a one
15044 element macro cache.
15045 (c-invalidate-macro-cache): New function.
15046 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
15047 Adapt to use the new cache.
15048 (c-state-safe-place): Use better the cache of safe positions.
15049 (c-state-semi-nonlit-pos-cache)
15050 (c-state-semi-nonlit-pos-cache-limit):
15051 New variables for...
15052 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
15053 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
15054 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
15055 Use c-state-semi-safe-place.
15056
15057 * progmodes/cc-langs.el (c-get-state-before-change-functions):
15058 Add c-invalidate-macro-cache to the C, C++, Obj entries.
15059
15060 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
15061
15062 * jka-compr.el (jka-compr-call-process):
15063 Apply `file-accessible-directory-p' only when the default directory is
15064 not remote.
15065
15066 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
15067
15068 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
15069 access of FILE2, if FILE1 does not exist.
15070
15071 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
15072 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
15073
15074 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
15075 Add "PAGER=" to `process-environment'.
15076
15077 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
15078
15079 * progmodes/sql.el: Bug fix
15080 (sql-get-login-ext): Save login values in globals.
15081 (sql-get-login): Use new version of `sql-get-login-ext'.
15082 (sql-interactive-mode): Set global `sql-connection' to nil.
15083 (sql-connect): Set global values for connection.
15084 (sql-product-interactive): Save global values as buffer local.
15085
15086 2012-02-29 Leo Liu <sdl.web@gmail.com>
15087
15088 * abbrev.el (define-abbrevs): Reset sys to nil.
15089
15090 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15091
15092 * files.el (file-equal-p): Rename from `files-equal-p'.
15093 Return nil when one or both files don't exist.
15094 (file-subdir-of-p): Now only top directory must exists,
15095 return nil if it doesn't.
15096 (copy-directory): No need to test with `file-subdir-of-p' after
15097 creating dir.
15098 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
15099 to `file-equal-p'.
15100
15101 2012-02-28 Glenn Morris <rgm@gnu.org>
15102
15103 * shell.el (shell-mode):
15104 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
15105 * play/landmark.el (landmark-font-lock-face-O):
15106 * play/handwrite.el (handwrite):
15107 * play/gomoku.el (gomoku-O):
15108 * net/browse-url.el (browse-url-browser-display):
15109 * international/mule.el (define-charset):
15110 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
15111 * filesets.el (filesets-find-file-delay):
15112 * eshell/em-xtra.el (eshell-xtra):
15113 * eshell/em-unix.el (eshell-grep):
15114 * emulation/viper.el (viper-mode):
15115 * emacs-lisp/regexp-opt.el (regexp-opt-group):
15116 * emacs-lisp/easymenu.el (easy-menu-define):
15117 * calendar/timeclock.el (timeclock-use-display-time):
15118 * bs.el (bs-mode):
15119 * bookmark.el (bookmark-save-flag):
15120 Doc fix (standardize possessive apostrophe usage).
15121
15122 2012-02-27 Chong Yidong <cyd@gnu.org>
15123
15124 * emulation/viper-cmd.el (viper-intercept-ESC-key):
15125 Fix key-binding lookup for ESC key (Bug#9146).
15126
15127 * font-lock.el (font-lock-specified-p): Rename from
15128 font-lock-spec-present. Callers changed.
15129
15130 2012-02-27 Daniel Hackney <dan@haxney.org>
15131
15132 * emacs-lisp/package.el (package-compute-transaction):
15133 Handle holding a package version to t in package-load-list.
15134
15135 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
15136
15137 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
15138 (tramp-get-inode, tramp-get-device): Use cached values.
15139
15140 2012-02-26 Alan Mackenzie <acm@muc.de>
15141
15142 Check there is a font-lock specification before doing initial
15143 fontification.
15144
15145 * font-core.el (font-lock-mode): Move the conditional from
15146 :after-hook to font-lock-initial-fontify.
15147 (font-lock-default-function): Move the check for a specification
15148 to font-lock-spec-present.
15149
15150 * font-lock.el (font-lock-initial-fontify): Call ...
15151 (font-lock-spec-present): New function.
15152
15153 2012-02-26 Jim Blandy <jimb@red-bean.com>
15154
15155 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
15156 (gdb-send): Apply it to the operand of the '-interpreter-exec
15157 console' command, so that we can pass arguments with (say) quotes
15158 in them. Store exact string sent in gdb-debug-log (Bug#10765).
15159
15160 2012-02-26 Chong Yidong <cyd@gnu.org>
15161
15162 * help-fns.el (describe-function-1): Clarify description of
15163 remapping (Bug#10844).
15164
15165 * files.el (files-equal-p): Doc fix.
15166 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
15167 and quit the loop once a mismatch is found.
15168
15169 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
15170
15171 * bs.el (bs--show-with-configuration): Don't throw an error
15172 if the window cannot be split; otherwise, subsequent calls to
15173 bs-show fail, restoring a stale window config. (Bug#10882)
15174
15175 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
15176
15177 * term/ns-win.el (global-map): Bind ns-drag-file to
15178 ns-find-file (Bug#5855, Bug#10050).
15179
15180 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
15181
15182 * calendar/parse-time.el (parse-time-string): Allow extractor to
15183 return nil.
15184
15185 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
15186
15187 * net/tramp.el (tramp-file-name-for-operation):
15188 Add `files-equal-p' and `file-subdir-of-p'.
15189
15190 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
15191 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
15192 Add COPY-CONTENTS argument.
15193
15194 2012-02-25 Chong Yidong <cyd@gnu.org>
15195
15196 Add custom groups for VC backends, for consistency with vc-bzr.
15197
15198 * vc/vc-arch.el (vc-arch):
15199 * vc/vc-cvs.el (vc-cvs):
15200 * vc/vc-git.el (vc-git):
15201 * vc/vc-hg.el (vc-hg):
15202 * vc/vc-mtn.el (vc-mtn):
15203 * vc/vc-rcs.el (vc-rcs):
15204 * vc/vc-sccs.el (vc-sccs):
15205 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
15206 All relevant defcustoms reassigned.
15207
15208 2012-02-25 Chong Yidong <cyd@gnu.org>
15209
15210 * newcomment.el (comment-styles): Add autoload (Bug#10868).
15211
15212 * term/x-win.el (x-initialize-window-system): Reduce default for
15213 x-selection-timeout to 5 seconds (Bug#8869).
15214
15215 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15216
15217 * files.el (files-equal-p, file-subdir-of-p): New functions.
15218 (copy-directory): Error when trying to copy a directory on itself.
15219 Add missing copy-contents arg to tramp handler.
15220 * dired-aux.el (dired-copy-file-recursive): Same.
15221 (dired-create-files): Modify destination when source is equal to
15222 dest when copying files.
15223 Return also when dest is a subdir of source. (Bug#10489)
15224
15225 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
15226
15227 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
15228 (Bug#10874)
15229
15230 2012-02-23 Alan Mackenzie <acm@muc.de>
15231
15232 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
15233 parameter "after-hook:" to allow the expansion to run code after
15234 the execution of the mode hooks.
15235
15236 * font-lock.el (font-lock-initial-fontify): New function extracted
15237 from font-lock-mode-internal.
15238
15239 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
15240 :after-hook.
15241
15242 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
15243
15244 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
15245 (completion--cache-all-sorted-completions): New function.
15246 (completion-all-sorted-completions): Use it.
15247 (completion--do-completion, minibuffer-force-complete):
15248 Use it to re-instate the flush hook.
15249
15250 * icomplete.el (icomplete-completions): Replace last fix with a better
15251 one (bug#10850).
15252
15253 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
15254
15255 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
15256 when it might call us back infinitely (bug#10797).
15257
15258 2012-02-23 Glenn Morris <rgm@gnu.org>
15259
15260 * minibuffer.el (completion-category-overrides): Doc fix.
15261
15262 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
15263
15264 * minibuffer.el (completion-table-with-context): Fix inf-loop.
15265 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
15266
15267 2012-02-23 Glenn Morris <rgm@gnu.org>
15268
15269 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
15270 (authors-obsolete-files-regexps, authors-ignored-files)
15271 (authors-ambiguous-files, authors-renamed-files-alist):
15272 Add more entries.
15273
15274 2012-02-23 Juri Linkov <juri@jurta.org>
15275
15276 * isearch.el (isearch-occur): Sync interactive spec with occur's
15277 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
15278
15279 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
15280
15281 2012-02-22 Juri Linkov <juri@jurta.org>
15282
15283 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
15284 (ucs-insert): Doc fix. Check for hex digits in the string.
15285 Don't display `nil' in the error message. (Bug#10857)
15286
15287 2012-02-22 Alan Mackenzie <acm@muc.de>
15288
15289 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
15290
15291 2012-02-22 Glenn Morris <rgm@gnu.org>
15292
15293 * ffap.el (ffap-c-path):
15294 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
15295
15296 2012-02-22 Chong Yidong <cyd@gnu.org>
15297
15298 * custom.el (load-theme): Doc fix.
15299
15300 2012-02-22 Glenn Morris <rgm@gnu.org>
15301
15302 * dired-x.el (dired-guess-shell-alist-default):
15303 Remove escape sequences from nroff output. (Bug#172)
15304
15305 2012-02-21 Glenn Morris <rgm@gnu.org>
15306
15307 * vc/emerge.el (emerge-defvar-local):
15308 Set `permanent-local' property rather than unused `preserved'.
15309
15310 * textmodes/picture.el (picture-delete-char): New alias.
15311 (picture-mode-map): Use it. (Bug#10860)
15312 (picture-mode): Doc fix.
15313
15314 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
15315
15316 * newcomment.el (uncomment-region-default): Remove unused binding.
15317
15318 2012-02-21 Glenn Morris <rgm@gnu.org>
15319
15320 * textmodes/picture.el (picture-motion, picture-motion-reverse)
15321 (picture-self-insert, picture-tab-chars): Doc fix.
15322 (picture-mode-map): Fix C-a, C-e.
15323
15324 2012-02-20 Glenn Morris <rgm@gnu.org>
15325
15326 * emacs-lisp/authors.el (authors-aliases): Add another entry.
15327
15328 2012-02-20 Leo Liu <sdl.web@gmail.com>
15329
15330 * icomplete.el (icomplete-completions): Check FROM arg before
15331 passing to substring (Bug#10850).
15332
15333 2012-02-19 Chong Yidong <cyd@gnu.org>
15334
15335 * comint.el: Require ansi-color.
15336 (comint-output-filter-functions): Add ansi-color-process-output.
15337
15338 * ansi-color.el: Don't set comint-output-filter-functions; it is
15339 now in the initial value defined in comint.el.
15340 (ansi-color-apply-face-function): New variable.
15341 (ansi-color-apply-on-region): Use it.
15342 (ansi-color-apply-overlay-face): New function.
15343
15344 * shell.el (shell): No need to require ansi-color.
15345 (shell-mode): Use ansi-color-apply-face-function to highlight
15346 color escapes using font-lock-face property (Bug#10835).
15347
15348 2012-02-19 Chong Yidong <cyd@gnu.org>
15349
15350 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
15351 mode-line formats (Bug#10839).
15352
15353 2012-02-18 Glenn Morris <rgm@gnu.org>
15354
15355 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
15356
15357 * mail/undigest.el (unforward-rmail-message): Doc fix.
15358
15359 * saveplace.el (save-place-ignore-files-regexp): Add :version.
15360
15361 2012-02-18 Eli Zaretskii <eliz@gnu.org>
15362
15363 * international/characters.el (script-list): Sync with the latest
15364 Unicode Character Database.
15365
15366 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
15367
15368 * international/titdic-cnv.el: Remove duplicate coding tag.
15369 * language/cham.el: Likewise.
15370 * language/tai-viet.el: Likewise.
15371
15372 2012-02-18 Glenn Morris <rgm@gnu.org>
15373
15374 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
15375 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
15376 (calendar-bahai-all-holidays-flag, calendar-other-dates):
15377 * calendar/diary-lib.el (diary-abbreviated-year-flag):
15378 * calendar/holidays.el (holiday-bahai-holidays)
15379 (calendar-holidays, list-holidays):
15380 Use utf-8 Bahá'í in doc-strings, menus, etc.
15381
15382 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
15383
15384 * saveplace.el (save-place-ignore-files-regexp): New variable
15385 allowing for excluding files from saving their location of point.
15386 The default value matches the temporary commit message editing
15387 files from Git, SVN, Bazaar, and Mercurial.
15388 (save-place-to-alist): Use it.
15389
15390 2012-02-17 Lawrence Mitchell <wence@gmx.li>
15391 Stefan Monnier <monnier@iro.umontreal.ca>
15392
15393 * newcomment.el (uncomment-region-default): Don't leave extra space
15394 when an arg is provided (bug#8150).
15395
15396 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
15397
15398 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
15399
15400 2012-02-17 Glenn Morris <rgm@gnu.org>
15401
15402 * net/socks.el: Require network-stream. (Bug#10599)
15403
15404 2012-02-17 Kenichi Handa <handa@m17n.org>
15405
15406 * international/charprop.el:
15407 * international/uni-name.el:
15408 * international/uni-old-name.el:
15409 * international/uni-comment.el: Regenerate.
15410
15411 2012-02-16 Glenn Morris <rgm@gnu.org>
15412
15413 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
15414 Interactively in calendar buffer, give an error if not on a date.
15415
15416 2012-02-15 Glenn Morris <rgm@gnu.org>
15417
15418 * shell.el (shell-delimiter-argument-list):
15419 Revert 2011-02-17 change. (Bug#8027)
15420
15421 2012-02-15 Chong Yidong <cyd@gnu.org>
15422
15423 * minibuffer.el (completion-at-point-functions): Doc fix.
15424
15425 * custom.el (defcustom): Doc fix; note use of defvar.
15426
15427 2012-02-15 Glenn Morris <rgm@gnu.org>
15428
15429 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
15430 Doc fixes.
15431
15432 2012-02-14 Glenn Morris <rgm@gnu.org>
15433
15434 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
15435
15436 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
15437
15438 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
15439 way the ports list is computed.
15440 (smtpmail-query-smtp-server): Prompt the user for a port number if
15441 we can't connect to any of the standard ports (bug#10810).
15442
15443 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
15444
15445 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
15446
15447 2012-02-13 Glenn Morris <rgm@gnu.org>
15448
15449 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
15450
15451 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
15452
15453 * net/gnutls.el (gnutls-trustfiles): New variable.
15454 (gnutls-negotiate): Use it.
15455
15456 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
15457
15458 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
15459 does its stuff if Gnus is running.
15460
15461 2012-02-13 Alan Mackenzie <acm@muc.de>
15462
15463 Fix a loop in c-set-fl-decl-start.
15464
15465 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
15466 c-backward-syntactic-ws actually moves backwards.
15467
15468 2012-02-13 Leo Liu <sdl.web@gmail.com>
15469
15470 * net/rcirc.el (rcirc-markup-attributes): Move point to the
15471 beginning so that all \C-o chars are removed.
15472
15473 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
15474
15475 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
15476
15477 2012-02-12 Alan Mackenzie <acm@muc.de>
15478
15479 Fix infinite loop with long macros.
15480 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
15481
15482 2012-02-12 Chong Yidong <cyd@gnu.org>
15483
15484 * window.el (display-buffer): Doc fix (Bug#10785).
15485
15486 2012-02-12 Glenn Morris <rgm@gnu.org>
15487
15488 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
15489 (x-disown-selection-internal, x-get-selection-internal):
15490 Sync docs with the xselect.c versions.
15491
15492 * allout-widgets.el: Add missing license notice.
15493
15494 2012-02-11 Glenn Morris <rgm@gnu.org>
15495
15496 * select.el (x-get-selection-internal, x-own-selection-internal)
15497 (x-disown-selection-internal):
15498 * x-dnd.el (x-get-selection-internal): Update declarations.
15499
15500 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
15501
15502 * window.el (window-sides-slots):
15503 * tool-bar.el (tool-bar-position):
15504 * term/xterm.el (xterm-extra-capabilities):
15505 * ses.el (ses-self-reference-early-detection):
15506 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
15507 (verilog-auto-wire-type)
15508 (verilog-auto-delete-trailing-whitespace)
15509 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
15510 (verilog-auto-tieoff-declaration):
15511 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
15512 (sql-oracle-statement-starters, sql-oracle-scan-on):
15513 * progmodes/prolog.el (prolog-align-comments-flag)
15514 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
15515 (prolog-left-indent-regexp, prolog-paren-indent-p)
15516 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
15517 (prolog-types, prolog-mode-specificators)
15518 (prolog-determinism-specificators, prolog-directives)
15519 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
15520 (prolog-electric-dot-flag)
15521 (prolog-electric-dot-full-predicate-template)
15522 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
15523 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
15524 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
15525 (prolog-program-switches, prolog-prompt-regexp)
15526 (prolog-debug-on-string, prolog-debug-off-string)
15527 (prolog-trace-on-string, prolog-trace-off-string)
15528 (prolog-zip-on-string, prolog-zip-off-string)
15529 (prolog-use-standard-consult-compile-method-flag)
15530 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
15531 (prolog-imenu-max-lines, prolog-info-predicate-index)
15532 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
15533 (prolog-char-quote-workaround):
15534 * progmodes/cc-vars.el (c-defun-tactic):
15535 * net/tramp.el (tramp-encoding-command-interactive)
15536 (tramp-local-end-of-line):
15537 * net/soap-client.el (soap-client):
15538 * net/netrc.el (netrc-file):
15539 * net/gnutls.el (gnutls):
15540 * minibuffer.el (completion-category-overrides)
15541 (completion-cycle-threshold)
15542 (completion-pcm-complete-word-inserts-delimiters):
15543 * man.el (Man-name-local-regexp):
15544 * mail/feedmail.el (feedmail-display-full-frame):
15545 * international/characters.el (glyphless-char-display-control):
15546 * eshell/em-ls.el (eshell-ls-date-format):
15547 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
15548 (lisp-lambda-list-keyword-parameter-indentation)
15549 (lisp-lambda-list-keyword-parameter-alignment):
15550 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
15551 * dired-x.el (dired-omit-verbose):
15552 * cus-theme.el (custom-theme-allow-multiple-selections):
15553 * calc/calc.el (calc-highlight-selections-with-faces)
15554 (calc-lu-field-reference, calc-lu-power-reference)
15555 (calc-note-threshold):
15556 * battery.el (battery-mode-line-limit):
15557 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
15558 (archive-7z-update):
15559 * allout.el (allout-prefixed-keybindings)
15560 (allout-unprefixed-keybindings)
15561 (allout-inhibit-auto-fill-on-headline)
15562 (allout-flattened-numbering-abbreviation):
15563 * allout-widgets.el (allout-widgets-auto-activation)
15564 (allout-widgets-icons-dark-subdir)
15565 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
15566 (allout-widgets-theme-dark-background)
15567 (allout-widgets-theme-light-background)
15568 (allout-widgets-item-image-properties-emacs)
15569 (allout-widgets-item-image-properties-xemacs)
15570 (allout-widgets-run-unit-tests-on-load)
15571 (allout-widgets-time-decoration-activity)
15572 (allout-widgets-hook-error-post-time)
15573 (allout-widgets-track-decoration):
15574 Add missing :version tags to new defcustoms and defgroups.
15575
15576 * progmodes/sql.el (sql-ansi-statement-starters)
15577 (sql-oracle-statement-starters): Add custom type.
15578
15579 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
15580 (prolog-system-version): Give it a type.
15581
15582 2012-02-11 Eli Zaretskii <eliz@gnu.org>
15583
15584 * term/pc-win.el (x-select-text, x-selection-owner-p)
15585 (x-own-selection-internal, x-disown-selection-internal)
15586 (x-get-selection-internal): Sync doc strings and argument lists
15587 with xselect.c, common-win.el and x-win.el. (Bug#10783)
15588
15589 2012-02-11 Leo Liu <sdl.web@gmail.com>
15590
15591 * progmodes/python.el (python-end-of-statement): Fix infinite
15592 loop. (Bug#10788)
15593
15594 2012-02-10 Glenn Morris <rgm@gnu.org>
15595
15596 * international/mule-cmds.el (unify-8859-on-encoding-mode)
15597 (unify-8859-on-decoding-mode): Properly mark as obsolete.
15598
15599 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
15600
15601 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
15602 about SMTP before checking the From header.
15603
15604 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
15605 into own function for reuse by emacsbug.el.
15606
15607 2012-02-10 Leo Liu <sdl.web@gmail.com>
15608
15609 * subr.el (condition-case-unless-debug): Rename from
15610 condition-case-no-debug. All callers changed.
15611 (with-demoted-errors): Fix caller.
15612
15613 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
15614 * nxml/rng-valid.el (rng-do-some-validation):
15615 * emacs-lisp/package.el (package-refresh-contents)
15616 (package-menu-execute):
15617 * desktop.el (desktop-create-buffer):
15618 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
15619
15620 2012-02-10 Glenn Morris <rgm@gnu.org>
15621
15622 * textmodes/bibtex.el:
15623 Add missing :version tags for new/changed defcustoms.
15624
15625 * files.el (remote-file-name-inhibit-cache): Doc fixes.
15626
15627 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
15628
15629 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
15630 (smtpmail-via-smtp): Use it, or fall back on the From address.
15631 (smtpmail-send-it): Ditto.
15632
15633 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
15634
15635 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
15636 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
15637 (byte-compile-tmp-var): New const.
15638 (byte-compile-defvar): Use it to minimize .elc size.
15639 Just use `defvar' rather than simulate it (bug#10761).
15640
15641 2012-02-09 Glenn Morris <rgm@gnu.org>
15642
15643 * files.el (rename-uniquely): Doc fix. (Bug#3806)
15644
15645 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
15646 Add :version tags.
15647
15648 * progmodes/compile.el (compilation-error-screen-columns)
15649 (compilation-first-column, compilation-filter-start): Doc fixes.
15650
15651 * vc/log-view.el (log-view-toggle-entry-display):
15652 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
15653
15654 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
15655 (report-emacs-bug-can-use-xdg-email):
15656 (report-emacs-bug-insert-to-mailer): Doc fixes.
15657 (report-emacs-bug): Message fix.
15658
15659 * net/browse-url.el (browse-url-can-use-xdg-open)
15660 (browse-url-xdg-open): Doc fixes.
15661
15662 * electric.el (electric-indent-mode, electric-pair-mode)
15663 (electric-layout-rules, electric-layout-mode): Doc fixes.
15664 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
15665
15666 2012-02-08 Martin Rudalics <rudalics@gmx.at>
15667
15668 * server.el (server-unselect-display): Don't inadvertently kill
15669 the current buffer. (Bug#10729)
15670
15671 2012-02-08 Glenn Morris <rgm@gnu.org>
15672
15673 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
15674 (sql-list-table): Doc fixes.
15675
15676 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
15677 Comment out (does nothing).
15678
15679 * completion.el (dynamic-completion-mode):
15680 * dirtrack.el (dirtrack-debug-mode):
15681 * electric.el (electric-layout-mode):
15682 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
15683 * face-remap.el (text-scale-mode, buffer-face-mode):
15684 * iimage.el (iimage-mode):
15685 * image-mode.el (image-transform-mode):
15686 * minibuffer.el (completion-in-region-mode):
15687 * scroll-lock.el (scroll-lock-mode):
15688 * simple.el (next-error-follow-minor-mode):
15689 * tar-mode.el (tar-subfile-mode):
15690 * tooltip.el (tooltip-mode):
15691 * vcursor.el (vcursor-use-vcursor-map):
15692 * wid-browse.el (widget-minor-mode):
15693 * emulation/tpu-edt.el (tpu-edt-mode):
15694 * emulation/tpu-extras.el (tpu-cursor-free-mode):
15695 * international/iso-ascii.el (iso-ascii-mode):
15696 * language/thai-util.el (thai-word-mode):
15697 * mail/supercite.el (sc-minor-mode):
15698 * net/goto-addr.el (goto-address-mode):
15699 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
15700 * progmodes/cwarn.el (cwarn-mode):
15701 * progmodes/flymake.el (flymake-mode):
15702 * progmodes/glasses.el (glasses-mode):
15703 * progmodes/hideshow.el (hs-minor-mode):
15704 * progmodes/pascal.el (pascal-outline-mode):
15705 * textmodes/enriched.el (enriched-mode):
15706 * vc/smerge-mode.el (smerge-mode):
15707 Doc fixes (minor mode argument).
15708
15709 2012-02-07 Eli Zaretskii <eliz@gnu.org>
15710
15711 * ls-lisp.el (ls-lisp-sanitize): New function.
15712 (ls-lisp-insert-directory): Use it to fix or remove any elements
15713 in file-alist with missing attributes. (Bug#4673)
15714
15715 2012-02-07 Alan Mackenzie <acm@muc.de>
15716
15717 Fix spurious recognition of c-in-knr-argdecl.
15718
15719 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
15720 putative K&R region.
15721
15722 2012-02-07 Alan Mackenzie <acm@muc.de>
15723
15724 * progmodes/cc-engine.el (c-forward-objc-directive):
15725 Prevent looping in "#pragma mark @implementation".
15726
15727 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
15728
15729 * notifications.el (notifications-on-closed-signal): Make `reason'
15730 optional. (Bug#10744)
15731
15732 2012-02-07 Glenn Morris <rgm@gnu.org>
15733
15734 * emacs-lisp/easy-mmode.el (define-minor-mode):
15735 Doc fixes for the macro and the mode it defines.
15736
15737 * image.el (imagemagick-types-inhibit): Doc fix.
15738
15739 * cus-start.el (imagemagick-render-type): Add it.
15740
15741 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
15742
15743 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
15744 Set the default at load time, too, so that `font-lock-fontify-buffer'
15745 can be called without setting up the entire mode first. This fixes
15746 a bug in `mm-inline-text' with C MIME parts.
15747
15748 2012-02-06 Chong Yidong <cyd@gnu.org>
15749
15750 * simple.el (list-processes--refresh): Delete exited processes
15751 (Bug#8094).
15752
15753 * comint.el (comint-next-prompt): next-single-char-property-change
15754 and prev-single-char-property-change never return nil (Bug#8657).
15755
15756 * custom.el (defcustom): Doc fix (Bug#9711).
15757
15758 2012-02-05 Chong Yidong <cyd@gnu.org>
15759
15760 * cus-edit.el (custom-variable-reset-backup): Quote the value
15761 before storing it in the customized-value property (Bug#6712).
15762 (custom-display): Add a customization type tag.
15763 (custom-buffer-create-internal): Improve tooltip message.
15764
15765 * wid-edit.el (widget-field-value-get): New optional arg to
15766 suppress trailing whitespace truncation.
15767 (character): Use it (Bug#2689).
15768
15769 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
15770
15771 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
15772 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
15773
15774 2012-02-05 Chong Yidong <cyd@gnu.org>
15775
15776 * cus-edit.el (custom-variable-value-create): For mismatched
15777 types, show the current value (Bug#7600).
15778
15779 * custom.el (defcustom): Doc fix.
15780
15781 2012-02-05 Glenn Morris <rgm@gnu.org>
15782
15783 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
15784
15785 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
15786
15787 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
15788 (pp-buffer): Use `ignore-errors', `looking-at-p'.
15789 (pp-last-sexp): Use `looking-at-p'.
15790
15791 2012-02-04 Glenn Morris <rgm@gnu.org>
15792
15793 * files.el (revert-buffer):
15794 Doc fix (mention revert-buffer-in-progress-p).
15795
15796 * emacs-lisp/ert-x.el (ert-simulate-command):
15797 Check deferred-action-list (which is obsolete) is bound.
15798
15799 * subr.el (with-wrapper-hook): Doc fixes.
15800
15801 * simple.el (filter-buffer-substring-functions)
15802 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
15803
15804 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
15805
15806 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
15807 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
15808
15809 2012-02-04 Leo Liu <sdl.web@gmail.com>
15810
15811 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
15812
15813 2012-02-04 Glenn Morris <rgm@gnu.org>
15814
15815 * image.el (image-extension-data): Add obsolete alias.
15816
15817 * isearch.el (isearch-update): Doc fix.
15818
15819 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
15820
15821 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
15822
15823 2012-02-03 Glenn Morris <rgm@gnu.org>
15824
15825 * image.el (image-animated-p): Doc fix. Use image-animated-types.
15826 (image-animate-timeout): Doc fix.
15827
15828 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
15829
15830 2012-02-02 Glenn Morris <rgm@gnu.org>
15831
15832 * server.el (server-auth-dir): Doc fix.
15833 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
15834
15835 * subr.el (run-mode-hooks): Doc fix.
15836
15837 2012-02-02 Juri Linkov <juri@jurta.org>
15838
15839 * image-mode.el (image-toggle-display-image): Remove tautological
15840 `major-mode' from the `derived-mode-p' test.
15841
15842 2012-02-02 Kenichi Handa <handa@m17n.org>
15843
15844 * composite.el (compose-region): Cancel previous change.
15845
15846 2012-02-02 Kenichi Handa <handa@m17n.org>
15847
15848 * composite.el (compose-region, compose-string): Signal error for
15849 a null string component (Bug#6988).
15850
15851 2012-02-01 Chong Yidong <cyd@gnu.org>
15852
15853 * view.el (view-buffer-other-window, view-buffer-other-frame):
15854 Handle special modes like view-buffer (Bug#10650).
15855 (view-buffer): Simplify.
15856
15857 * frame.el (set-frame-font): Tweak meaning of third argument.
15858
15859 * dynamic-setting.el (font-setting-change-default-font):
15860 Use set-frame-font (Bug#9982).
15861
15862 2012-02-01 Glenn Morris <rgm@gnu.org>
15863
15864 * progmodes/compile.el (compilation-internal-error-properties):
15865 Respect compilation-first-column in the "*compilation*" buffer.
15866
15867 * emacs-lisp/easy-mmode.el (define-minor-mode):
15868 Relax :variable's test for a named function.
15869
15870 2012-01-31 Alan Mackenzie <acm@muc.de>
15871
15872 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
15873 off by one error.
15874
15875 2012-01-31 Chong Yidong <cyd@gnu.org>
15876
15877 * frame.el (set-frame-font): New arg ALL-FRAMES.
15878
15879 * menu-bar.el (menu-set-font): Use set-frame-font.
15880
15881 * faces.el (face-spec-reset-face): Don't apply unspecified
15882 attribute values to the default face.
15883
15884 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
15885
15886 * progmodes/cwarn.el (cwarn): Remove dead link.
15887 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
15888 Remove * from defcustom docstrings.
15889 (turn-on-cwarn-mode): Make obsolete.
15890 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
15891 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
15892
15893 2012-01-31 Glenn Morris <rgm@gnu.org>
15894
15895 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
15896 Fix :variable handling of mode a symbol not equal to modefun.
15897 Allow named functions to be used as the cdr of :variable.
15898
15899 2012-01-30 Glenn Morris <rgm@gnu.org>
15900
15901 * emacs-lisp/authors.el (authors-fixed-entries):
15902 Remove reference to deleted file rnewspost.el.
15903
15904 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
15905
15906 * window.el (window-with-parameter): Remove unused variable `windows'.
15907 (window--side-check): Remove unused variable `code'.
15908 (window--resize-siblings): Remove unused variable `first'.
15909 (adjust-window-trailing-edge): Remove unused variable `failed'.
15910 (window-deletable-p, window--delete): Remove unused variable `buffer'.
15911 Use `let', not `let*'.
15912 (balance-windows-2): Remove unused variable `found'.
15913 (window--state-put-2): Remove unused variable `splits'.
15914 (window-state-put): Remove unused variable `selected'.
15915 (same-window-p): Use `string-match-p'.
15916 (display-buffer-assq-regexp): Remove unused variable `value'.
15917 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
15918 Mark argument ALIST as ignored.
15919 (pop-to-buffer): Remove unused variable `old-window'.
15920
15921 2012-01-29 Eli Zaretskii <eliz@gnu.org>
15922
15923 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
15924 and .lzma compressed files.
15925
15926 2012-01-29 Chong Yidong <cyd@gnu.org>
15927
15928 * frame.el (window-system-default-frame-alist): Doc fix.
15929
15930 * dynamic-setting.el (font-setting-change-default-font): Don't
15931 change the default face if SET-FONT argument is non-nil (Bug#9982).
15932
15933 2012-01-29 Samuel Bronson <naesten@gmail.com>
15934
15935 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
15936
15937 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
15938
15939 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
15940 breakpoints in files outside current directory (Bug#6098).
15941
15942 2012-01-29 Chong Yidong <cyd@gnu.org>
15943
15944 * progmodes/python.el: Require ansi-color at top-level.
15945
15946 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
15947 Define and use in Emacs Lisp mode (Bug#9360).
15948 (lisp-mode-abbrev-table): Add doc.
15949 (lisp-mode-variables): Don't set local-abbrev-table.
15950 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
15951
15952 2012-01-28 Roland Winkler <winkler@gnu.org>
15953
15954 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
15955
15956 2012-01-28 Roland Winkler <winkler@gnu.org>
15957
15958 * textmodes/bibtex.el (bibtex-entry-alist): New function.
15959 (bibtex-set-dialect): Use it. Either set global values of
15960 dialect-dependent variables or bind these variables buffer-locally
15961 (Bug#10254).
15962 (bibtex-mode): Call bibtex-set-dialect via
15963 hack-local-variables-hook.
15964 (bibtex-dialect): Update docstring.
15965 Add safe-local-variable predicate.
15966 (bibtex-entry-alist, bibtex-field-alist): Initialize via
15967 bibtex-set-dialect.
15968 (bibtex-mode-map): Define menu for each dialect.
15969 (bibtex-entry): Fix docstring.
15970
15971 2012-01-28 Chong Yidong <cyd@gnu.org>
15972
15973 * eshell/esh-arg.el (eshell-quote-argument): New function.
15974
15975 * eshell/esh-ext.el (eshell-invoke-batch-file):
15976 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
15977 first arg to eshell-parse-command (Bug#10523).
15978
15979 2012-01-28 Drew Adams <drew.adams@oracle.com>
15980
15981 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
15982 `default-directory' is non-nil.
15983
15984 2012-01-28 Eli Zaretskii <eliz@gnu.org>
15985
15986 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
15987 line that displays system-configuration-options. (Bug#9924)
15988
15989 2012-01-28 Drew Adams <drew.adams@oracle.com>
15990
15991 * descr-text.el (describe-char): Show information about POS, in
15992 addition to information about the character at POS. Improve and
15993 update the doc string. Change "code point" to "code point in
15994 charset", to avoid confusion with the character's Unicode code
15995 point shown above that. (Bug#10129)
15996
15997 2012-01-28 Eli Zaretskii <eliz@gnu.org>
15998
15999 * descr-text.el (describe-char): Show the raw character, not only
16000 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
16001 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
16002 for the reasons.
16003
16004 2012-01-28 Phil Hagelberg <phil@hagelb.org>
16005
16006 * emacs-lisp/package.el (package-install):
16007 Run package-refresh-contents if there is no archive yet (Bug#9798).
16008
16009 2012-01-28 Chong Yidong <cyd@gnu.org>
16010
16011 * emacs-lisp/package.el (package-maybe-load-descriptor):
16012 New function, split from package-maybe-load-descriptor.
16013 (package-maybe-load-descriptor): Use it.
16014 (package-download-transaction): Fully load required packages
16015 inside the loop, so that `require' calls work (Bug#10593).
16016 (package-install): No need to call package-initialize now.
16017
16018 2012-01-28 Chong Yidong <cyd@gnu.org>
16019
16020 * simple.el (deactivate-mark): Doc fix (Bug#8614).
16021
16022 * tooltip.el (tooltip-mode): Doc fix.
16023 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
16024
16025 * frame.el (set-cursor-color): Doc fix (Bug#352).
16026
16027 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
16028 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
16029
16030 * cus-edit.el (custom-buffer-create-internal): Fix search button
16031 action (Bug#10542).
16032 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
16033
16034 2012-01-27 Eduard Wiebe <usenet@pusto.de>
16035
16036 * dired.el (dired-mark-files-regexp):
16037 Include any subdirectory components. (Bug#10445)
16038
16039 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
16040
16041 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
16042 Handle [host]:port syntax. (Bug#10533)
16043
16044 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
16045
16046 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
16047
16048 2012-01-26 Glenn Morris <rgm@gnu.org>
16049
16050 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
16051 * term.el (term-raw-escape-map): Use Control-X-prefix.
16052 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
16053
16054 2012-01-25 Martin Rudalics <rudalics@gmx.at>
16055
16056 * window.el (window-state-get, window--state-get-1): Don't deal
16057 with fixed-sizeness of windows. Simplify code.
16058
16059 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
16060
16061 * window.el (window--state-get-1, window--state-put-2):
16062 Don't save and restore the mark.
16063
16064 2012-01-25 Chong Yidong <cyd@gnu.org>
16065
16066 * custom.el (custom-variable-p): Doc fix.
16067
16068 2012-01-25 Glenn Morris <rgm@gnu.org>
16069
16070 * dired.el (dired-goto-file): Handle some of the more common
16071 characters that `ls -b' escapes. (Bug#10596)
16072
16073 * progmodes/compile.el (compilation-next-error-function):
16074 Respect compilation-first-column in the "*compilation*" buffer.
16075 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
16076
16077 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
16078
16079 2012-01-24 Glenn Morris <rgm@gnu.org>
16080
16081 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
16082
16083 2012-01-24 Julien Danjou <julien@danjou.info>
16084
16085 * color.el (color-rgb-to-hsl): Fix value computing.
16086 (color-hue-to-rgb): New function.
16087 (color-hsl-to-rgb): New function.
16088 (color-clamp, color-saturate-hsl, color-saturate-name)
16089 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
16090 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
16091
16092 2012-01-24 Glenn Morris <rgm@gnu.org>
16093
16094 * vc/vc-rcs.el (vc-rcs-create-tag):
16095 * vc/vc-sccs.el (vc-sccs-create-tag):
16096 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
16097
16098 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
16099
16100 * eshell/esh-util.el (eshell-read-hosts-file):
16101 Skip comment lines. (Bug#10549)
16102
16103 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
16104
16105 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
16106
16107 * subr.el (display-delayed-warnings): Doc fix.
16108 (collapse-delayed-warnings): New function to collapse identical
16109 adjacent warnings.
16110 (delayed-warnings-hook): Add it.
16111
16112 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
16113
16114 * net/tramp.el (tramp-action-login): Set connection property "login-as".
16115
16116 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
16117 (tramp-default-user-alist): Don't add "pscp".
16118 (tramp-do-copy-or-rename-file-out-of-band): Use connection
16119 property "login-as", if set. (Bug#10530)
16120
16121 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
16122
16123 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
16124 "plink1" and "psftp". (Bug#10530)
16125
16126 2012-01-21 Kenichi Handa <handa@m17n.org>
16127
16128 * international/mule-cmds.el (prefer-coding-system): Show a
16129 warning message if the default value of file-name-coding-system
16130 was not changed.
16131
16132 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
16133
16134 * windmove.el (windmove-reference-loc):
16135 Fix windmove-reference-loc miscalculation.
16136
16137 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
16138
16139 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
16140 default unit.
16141
16142 2012-01-21 Glenn Morris <rgm@gnu.org>
16143
16144 * international/mule.el (auto-coding-alist): Add .tbz.
16145
16146 * files.el (local-enable-local-variables): Doc fix.
16147 (inhibit-local-variables-regexps): Rename from
16148 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
16149 Doc fix. Add some extensions from auto-coding-alist.
16150 (inhibit-local-variables-suffixes):
16151 Rename from inhibit-first-line-modes-suffixes. Doc fix.
16152 (inhibit-local-variables-p):
16153 New function, extracted from set-auto-mode-1.
16154 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
16155 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
16156 (hack-local-variables): Doc fix. Make the mode-only case
16157 respect enable-local-variables and friends.
16158 Respect inhibit-local-variables-regexps for file-locals, but
16159 not for directory-locals.
16160 (set-visited-file-name):
16161 Take account of inhibit-local-variables-regexps.
16162 Whether it applies may change as the file name is changed.
16163 * jka-cmpr-hook.el (jka-compr-install):
16164 * jka-compr.el (jka-compr-uninstall):
16165 Update for inhibit-first-line-modes-suffixes name change.
16166
16167 2012-01-20 Martin Rudalics <rudalics@gmx.at>
16168
16169 * help-macro.el (make-help-screen): Temporarily restore original
16170 binding for minor-mode-map-alist (Bug#10454).
16171
16172 2012-01-19 Julien Danjou <julien@danjou.info>
16173
16174 * color.el (color-name-to-rgb): Use the white color to find the max
16175 color component value and return correctly computed values.
16176 (color-name-to-rgb): Add missing float conversion for max value.
16177
16178 2012-01-19 Martin Rudalics <rudalics@gmx.at>
16179
16180 * window.el (window--state-get-1, window-state-get): Do not use
16181 special state value for window-persistent-parameters.
16182 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
16183 (window--state-put-2): Reset all window parameters to nil before
16184 assigning values of persistent parameters.
16185
16186 2012-01-18 Alan Mackenzie <acm@muc.de>
16187
16188 Eliminate sluggishness and hangs in fontification of "semicolon
16189 deserts".
16190
16191 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
16192 Change value 10000 -> 3000.
16193 (c-state-safe-place): Reformulate so it doesn't stack up an
16194 infinite number of wrong entries in c-state-nonlit-pos-cache.
16195 (c-determine-limit-get-base, c-determine-limit): New functions to
16196 determine backward search limits disregarding literals.
16197 (c-find-decl-spots): Amend commenting.
16198 (c-cheap-inside-bracelist-p): New function which detects "={".
16199
16200 * progmodes/cc-fonts.el
16201 (c-make-font-lock-BO-decl-search-function): Give a limit to a
16202 backward search.
16203 (c-font-lock-declarations): Fix an occurrence of point being
16204 undefined. Check additionally for point being in a bracelist or
16205 near a macro invocation without a semicolon so as to avoid a
16206 fruitless time consuming search for a declarator. Give a more
16207 precise search limit for declarators using the new
16208 c-determine-limit.
16209
16210 2012-01-18 Glenn Morris <rgm@gnu.org>
16211
16212 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
16213 (set-auto-mode): Doc fixes.
16214
16215 2012-01-17 Glenn Morris <rgm@gnu.org>
16216
16217 * isearch.el (search-nonincremental-instead): Fix doc typo.
16218
16219 * dired.el (dired-insert-directory): Handle newlines in directory name.
16220 (dired-build-subdir-alist): Unescape newlines in directory name.
16221
16222 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
16223
16224 * net/tramp.el (tramp-local-end-of-line): New defcustom.
16225 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
16226 (tramp-action-terminal): Use it. (Bug#10530)
16227
16228 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
16229
16230 * minibuffer.el (completion--replace): Strip properties (bug#10062).
16231
16232 2012-01-16 Martin Rudalics <rudalics@gmx.at>
16233
16234 * window.el (window-state-ignored-parameters): Remove variable.
16235 (window--state-get-1): Rename argument MARKERS to IGNORE.
16236 Handle persistent window parameters. Make copy of clone-of
16237 parameter only if requested. (Bug#10348)
16238 (window--state-put-2): Install a window parameter only if it has
16239 a non-nil value or an existing parameter shall be overwritten.
16240
16241 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
16242
16243 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
16244
16245 2012-01-14 Eli Zaretskii <eliz@gnu.org>
16246
16247 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
16248 don't pass the (nil) value of `upnode' to string-match.
16249
16250 2012-01-14 Chong Yidong <cyd@gnu.org>
16251
16252 * startup.el (command-line): Fix X resource class for cursorColor.
16253 Fix values recognized by the cursorBlink resource.
16254
16255 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
16256
16257 * epg.el (epg--make-temp-file): Avoid permission race condition
16258 when running on old Emacs versions (bug#10403).
16259
16260 2012-01-14 Glenn Morris <rgm@gnu.org>
16261
16262 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
16263
16264 2012-01-13 Alan Mackenzie <acm@muc.de>
16265
16266 Fix filling for when filladapt mode is enabled.
16267
16268 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
16269 c-mask-paragraph, pass in `fill-paragraph' rather than
16270 `fill-region-as-paragraph'. (This is a reversion of a previous
16271 change.)
16272 * progmodes/cc-mode.el (c-basic-common-init):
16273 Make fill-paragraph-handle-comment buffer local and set it to nil.
16274
16275 2012-01-13 Glenn Morris <rgm@gnu.org>
16276
16277 * dired.el (dired-switches-escape-p): New function.
16278 (dired-insert-directory): Use dired-switches-escape-p.
16279 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
16280
16281 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
16282
16283 2012-01-12 Glenn Morris <rgm@gnu.org>
16284
16285 * mail/sendmail.el (mail-mode): Update paragraph-separate for
16286 changes in adaptive-fill-regexp. (Bug#10276)
16287
16288 2012-01-11 Alan Mackenzie <acm@muc.de>
16289
16290 Fix Emacs bug #10463 - put `widen's around the critical spots.
16291
16292 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
16293 widen around each invocation of c-state-pp-to-literal. Remove an
16294 unused let variable.
16295
16296 2012-01-11 Glenn Morris <rgm@gnu.org>
16297
16298 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
16299 Doc fix.
16300
16301 2012-01-10 Chong Yidong <cyd@gnu.org>
16302
16303 * net/network-stream.el (network-stream-open-starttls):
16304 Avoid emitting a confusing error message when the server gives a bad
16305 response to the capability command.
16306
16307 2012-01-10 Glenn Morris <rgm@gnu.org>
16308
16309 * mail/unrmail.el (unrmail): Tweak previous change.
16310
16311 2012-01-09 Chong Yidong <cyd@gnu.org>
16312
16313 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
16314
16315 2012-01-08 Alan Mackenzie <acm@muc.de>
16316
16317 Optimize font locking in long enum definitions.
16318
16319 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
16320 arm to a cond form to handle enums.
16321 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
16322 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
16323
16324 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
16325
16326 * files.el (move-file-to-trash): Preserve default file modes on error.
16327 (Bug#10401)
16328
16329 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
16330
16331 * faces.el (set-face-attribute): Clarify the meaning of the nil
16332 frame (bug#10294).
16333
16334 * subr.el (with-selected-frame): Mention that the selected frame
16335 is restored (bug#9980).
16336
16337 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
16338 (bug#9759).
16339
16340 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
16341 (password-read): Don't autoload unused function.
16342
16343 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
16344
16345 * progmodes/which-func.el (which-func-mode): Turn into a
16346 non-interactive function and mark as obsolete (bug#10428).
16347
16348 2012-01-06 Chong Yidong <cyd@gnu.org>
16349
16350 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
16351 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
16352 functions, along with 1 and -1.
16353
16354 2012-01-06 Eli Zaretskii <eliz@gnu.org>
16355
16356 * time.el (display-time-load-average)
16357 (display-time-default-load-average): Doc fixes. See the thread
16358 starting at
16359 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
16360 for the details.
16361
16362 2012-01-06 Glenn Morris <rgm@gnu.org>
16363
16364 * mail/unrmail.el (unrmail): Give an explicit error if the input file
16365 has no messages. (Bug#10377)
16366
16367 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
16368 than Info-edit. (Bug#10385)
16369
16370 * time.el (display-time-load-average, display-time-next-load-average):
16371 Doc fixes.
16372
16373 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
16374 local setting of buffer-read-only to the input buffer. (Bug#10419)
16375
16376 * calendar/calendar.el (calendar-mode):
16377 Locally set scroll-margin to 0. (Bug#10379)
16378
16379 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
16380
16381 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
16382
16383 2012-01-05 Glenn Morris <rgm@gnu.org>
16384
16385 * eshell/em-unix.el (diff-no-select): Autoload it.
16386 (eshell/diff): Use diff-no-select. (Bug#10420)
16387
16388 2012-01-05 Chong Yidong <cyd@gnu.org>
16389
16390 * shell.el (shell-dynamic-complete-functions): Revert last change.
16391 (shell-command-completion-function): New function.
16392 (shell-completion-vars): Use it to implement
16393 shell-completion-execonly (Bug#10417).
16394
16395 * custom.el (enable-theme): Don't set custom-safe-themes.
16396
16397 * cus-theme.el (custom-theme-merge-theme):
16398 Ignore custom-enabled-themes and custom-safe-themes.
16399
16400 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
16401
16402 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
16403 first prompt in `sql-interacive-mode'.
16404 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
16405 keywords.
16406 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
16407 (sql-product-interactive): Bug fix: Set `sql-buffer' in
16408 context of original buffer. Invoke `sql-login-hook'.
16409
16410 2012-01-04 Eli Zaretskii <eliz@gnu.org>
16411
16412 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
16413 letters in cite-prefix.
16414
16415 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16416
16417 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
16418
16419 2012-01-03 Chong Yidong <cyd@gnu.org>
16420
16421 * shell.el (shell-dynamic-complete-functions):
16422 Put pcomplete-completions-at-point, so as to try
16423 comint-filename-completion first (Bug#10417).
16424
16425 2012-01-02 Richard Stallman <rms@gnu.org>
16426
16427 * battery.el (battery-status-function):
16428 Detect when to use battery-yeeloong-sysfs.
16429 (battery-echo-area-format): Add string for Yeeloong.
16430 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
16431 (battery-yeeloong-sysfs): New function.
16432
16433 2012-01-02 Chong Yidong <cyd@gnu.org>
16434
16435 * dirtrack.el (dirtrack-list): Eliminate unused third element.
16436 (dirtrack): Merge code for handling relative filenames in prompt
16437 from shell-dir-cookie-watcher.
16438 (dirtrack-debug-message): New arg to avoid excess format calls.
16439
16440 * shell.el (shell-dir-cookie-re): Variable deleted.
16441 (shell-dir-cookie-watcher): Function deleted.
16442 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
16443 with dirtrack-mode.
16444
16445 2012-01-01 Eli Zaretskii <eliz@gnu.org>
16446
16447 * term/w32-win.el (dynamic-library-alist) <gnutls>:
16448 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
16449 libgnutls-26.dll.
16450
16451 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
16452
16453 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
16454
16455 2011-12-31 Eli Zaretskii <eliz@gnu.org>
16456
16457 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
16458 headers of non-MIME messages, when rmail-enable-mime is non-nil.
16459
16460 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
16461
16462 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
16463 also for alternative shells.
16464 (tramp-open-connection-setup-interactive-shell): Check, whether
16465 the shell is a busybox.
16466 (tramp-send-command): Don't suppress multiple prompts for
16467 busyboxes, it hurts.
16468
16469 2011-12-28 Chong Yidong <cyd@gnu.org>
16470
16471 * progmodes/gdb-mi.el (gdb-get-source-file-list)
16472 (gdb-get-source-file): Move mode line update to
16473 gdb-get-source-file (Bug#10087).
16474
16475 2011-12-25 Chong Yidong <cyd@gnu.org>
16476
16477 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
16478 gud-gdb-marker-filter without taking it as an argument.
16479 (gud-gdb-run-command-fetch-lines): Caller changed.
16480 (gud-gdb-completion-function): New variable.
16481 (gud-gdb-completion-at-point): Use it.
16482 (gud-gdb-completions-1): Split from gud-gdb-completions.
16483
16484 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
16485 function as separate arguments.
16486 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
16487 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
16488 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
16489 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
16490 (gdb-stopped, def-gdb-auto-update-trigger)
16491 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
16492 (gdb-get-changed-registers, gdb-get-main-selected-frame):
16493 Callers changed.
16494 (gud-gdbmi-completions): New function.
16495 (gdb): Use it for generating the completion table.
16496
16497 2011-12-24 Alan Mackenzie <acm@muc.de>
16498
16499 Introduce a mechanism to widen the region used in context font
16500 locking. Use this to protect declarations from losing their contexts.
16501
16502 * progmodes/cc-langs.el (c-before-font-lock-functions):
16503 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
16504 (c-before-context-fontification-functions): New defvar, a list of
16505 functions to be run just before context (etc.) font locking.
16506
16507 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
16508 New, functionality extracted from
16509 c-neutralize-syntax-in-and-mark-CPP.
16510 (c-in-after-change-fontification): New variable.
16511 (c-after-change): Set c-in-after-change-fontification.
16512 (c-set-fl-decl-start): Rejig its interface, so it can be called
16513 from both after-change and context fontifying.
16514 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
16515 New functions.
16516 (c-standard-font-lock-fontify-region-function): New variable.
16517 (c-font-lock-fontify-region): New function.
16518
16519 2011-12-24 Juri Linkov <juri@jurta.org>
16520
16521 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
16522 (Bug#10348)
16523
16524 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
16525
16526 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
16527 existence of source file. (Bug#10325)
16528
16529 2011-12-23 Alan Mackenzie <acm@muc.de>
16530
16531 Fix unstable fontification inside templates.
16532
16533 * progmodes/cc-langs.el (c-before-font-lock-functions):
16534 Newly created from the singular version. The (c c++ objc) entry now
16535 additionally has c-set-fl-decl-start. The other languages (apart
16536 from AWK) have that as a single entry.
16537
16538 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
16539 The functionality for "local" declarations has been extracted to
16540 c-set-fl-decl-start.
16541
16542 * progmodes/cc-mode.el (c-common-init, c-after-change):
16543 Changes due to pluralisation of c-before-font-lock-functions.
16544 (c-set-fl-decl-start): New function, extracted from
16545 c-font-lock-enclosing-decls and enhanced.
16546
16547 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
16548
16549 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
16550
16551 2011-12-22 Juri Linkov <juri@jurta.org>
16552
16553 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
16554
16555 2011-12-22 Chong Yidong <cyd@gnu.org>
16556
16557 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
16558
16559 2011-12-21 Drew Adams <drew.adams@oracle.com>
16560
16561 * files.el (file-remote-p): Fix docstring. (Bug#10319)
16562
16563 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
16564
16565 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
16566
16567 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
16568
16569 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
16570 highlighting and support. Fix up comments for capitalization.
16571 (cfengine-mode-debug): New var.
16572 (cfengine3-mode): Change the modeline indicator to "CFE3".
16573 (cfengine3-font-lock-keywords): Improve defun highlighting.
16574 (cfengine2-actions): Rename from `cfengine-actions'.
16575 (cfengine2-font-lock-keywords): Rename from
16576 `cfengine-font-lock-keywords'.
16577 (cfengine2-imenu-expression): Rename from
16578 `cfengine-imenu-expression'.
16579 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
16580 (cfengine2-beginning-of-defun): Rename from
16581 `cfengine-beginning-of-defun'.
16582 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
16583 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
16584 (cfengine2-mode): Rename from `cfengine-mode'. Change the
16585 modeline indicator to "CFE2".
16586 (cfengine-mode): Defalias to `cfengine-auto-mode'.
16587 (cfengine-mode-abbrevs): Mark obsolete.
16588
16589 2011-12-21 Chong Yidong <cyd@gnu.org>
16590
16591 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
16592 filename argument.
16593
16594 2011-12-20 Martin Rudalics <rudalics@gmx.at>
16595
16596 * window.el (window-normalize-buffer-to-display): Remove.
16597 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
16598
16599 2011-12-19 Chong Yidong <cyd@gnu.org>
16600
16601 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
16602 Don't signal an error in a predicate function; return non-nil.
16603 (vc-dir-mark-file): Move the error here.
16604 (vc-dir-mark-unmark): If acting on the region, keep going if one
16605 of the entries cannot be marked/unmarked.
16606 (vc-dir-mark-all-files): If current entry is a directory, mark
16607 only child files, as documented.
16608
16609 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
16610
16611 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
16612 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
16613 addition.
16614
16615 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
16616
16617 * term/ns-win.el (ns-get-selection-internal)
16618 (ns-store-selection-internal): Declare.
16619 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
16620 Declare as obsolete.
16621 (ns-get-pasteboard, ns-paste-secondary):
16622 Use ns-get-selection-internal.
16623 (ns-set-pasteboard, ns-copy-including-secondary):
16624 Use ns-store-selection-internal.
16625
16626 2011-12-17 Chong Yidong <cyd@gnu.org>
16627
16628 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
16629 (vc-deduce-fileset): Doc fix.
16630
16631 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
16632
16633 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
16634
16635 2011-12-13 Sam Steingold <sds@gnu.org>
16636
16637 * man.el (Man-getpage-in-background): When running under a
16638 window-system, ignore $MANWIDTH and $COLUMNS.
16639
16640 2011-12-15 Kenichi Handa <handa@m17n.org>
16641
16642 * language/ethio-util.el: Change coding tag to utf-8-emacs.
16643 (setup-ethiopic-environment-internal): Comment out key-binding for
16644 ethio-toggle-punctuation.
16645
16646 2011-12-13 Alan Mackenzie <acm@muc.de>
16647
16648 Add the switch statement to AWK Mode.
16649
16650 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
16651 "default" to the keywords regexp.
16652
16653 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
16654 expression as the rest.
16655 (c-nonlabel-token-key): Allow string literals for AWK.
16656 Refactor for the other modes.
16657
16658 Large brace-block initialisation makes CC Mode slow: Fix.
16659 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
16660 routines. Limit backward searching in c-font-lock-enclosing.decl.
16661
16662 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
16663 pp-state and literal type in addition to the limits.
16664 (c-state-safe-place): New defun, extracted from c-state-literal-at.
16665 (c-state-literal-at): Use the above new defun.
16666 (c-slow-in-literal, c-fast-in-literal): Remove.
16667 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
16668
16669 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
16670 being in a literal. Add a limit for backward searching.
16671
16672 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
16673 c-slow-in-literal.
16674
16675 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
16676
16677 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
16678
16679 2011-12-13 Martin Rudalics <rudalics@gmx.at>
16680
16681 * window.el (delete-other-windows): Use correct frame in call to
16682 window-with-parameter.
16683
16684 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
16685
16686 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
16687 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
16688 (makefile-gmake-statements, makefile-makepp-statements):
16689 Use it and add new makepp keywords.
16690 (makefile-makepp-font-lock-keywords): Add new patterns.
16691 (makefile-match-function-end): Match new [...] and [[...]].
16692
16693 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
16694
16695 * ses.el (ses-call-printer-return, ses-cell-property-get)
16696 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
16697 (ses-create-cell-variable, ses-reset-header-string)
16698 (ses-cell-set-formula, ses-repair-cell-reference-all)
16699 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
16700 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
16701 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
16702 (ses-aset-with-undo, ses-load, ses-truncate-cell)
16703 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
16704 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
16705 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
16706 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
16707 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
16708 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
16709 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
16710 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
16711
16712 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
16713
16714 * ses.el: The overall change is to add cell renaming, that is
16715 setting fancy names for cell symbols other than name matching
16716 "\\`[A-Z]+[0-9]+\\'" regexp .
16717 (ses-create-cell-variable): New defun.
16718 (ses-relocate-formula): Relocate formulas only for cells the
16719 symbols of which are not renamed, i.e. symbols whose names do not
16720 match regexp "\\`[A-Z]+[0-9]+\\'".
16721 (ses-relocate-all): Relocate values only for cells the symbols of
16722 which are not renamed.
16723 (ses-load): Create cells variables as the (ses-cell ...) are read,
16724 in order to check row col consistency with cell symbol name only
16725 for cells that are not renamed.
16726 (ses-replace-name-in-formula): New defun.
16727 (ses-rename-cell): New defun.
16728
16729 2011-12-11 Chong Yidong <cyd@gnu.org>
16730
16731 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
16732 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
16733
16734 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
16735
16736 * window.el (other-window): Fix docstring.
16737
16738 2011-12-10 Eli Zaretskii <eliz@gnu.org>
16739
16740 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
16741 `from' or `to' address before taking its substring.
16742 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
16743 encoded name is chopped in the middle of the encoded string, and
16744 thus displayed encoded.
16745
16746 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
16747
16748 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
16749
16750 2011-12-10 Eli Zaretskii <eliz@gnu.org>
16751
16752 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
16753 to use texinfo-update-node and commands that call it if the
16754 Texinfo file uses @node lines without next/prev/up pointers.
16755 Correct outdated description about texinfo-master-menu.
16756 (texinfo-all-menus-update, texinfo-master-menu)
16757 (texinfo-update-node, texinfo-every-node-update)
16758 (texinfo-multiple-files-update): Doc fix. Warn against updating
16759 all the @node lines.
16760 (texinfo-master-menu): Only call texinfo-update-node if the prefix
16761 argument is numeric. Explain better in the doc string what the
16762 function really does.
16763 (texinfo-insert-master-menu-list): Improve the error message
16764 displayed if there's no menu in the Top node.
16765 (Bug#2975) See also this thread:
16766 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
16767
16768 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
16769
16770 * speedbar.el (speedbar-supported-extension-expressions):
16771 Add .adb and .ads, commonly used for Ada source code (bug#10256).
16772
16773 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
16774
16775 * printing.el (pr-mode-alist):
16776 * simple.el (filter-buffer-substring-functions)
16777 (completion-list-insert-choice-function):
16778 * window.el (window-with-parameter, window-atom-root)
16779 (window-sides-slots, window-size-fixed, window-min-delta)
16780 (window-max-delta, window--resize-mini-window)
16781 (window--resize-child-windows-normal, window-tree)
16782 (delete-other-windows, quit-window, split-window)
16783 (display-buffer-record-window, special-display-buffer-names)
16784 (special-display-regexps, special-display-popup-frame)
16785 (same-window-p, split-window-sensibly)
16786 (display-buffer-overriding-action, display-buffer-alist)
16787 (display-buffer-base-action, display-buffer, switch-to-buffer)
16788 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
16789 (fit-window-to-buffer, recenter-positions)
16790 (mouse-autoselect-window-state, mouse-autoselect-window-select):
16791 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
16792 and remove unneeded backslashes in docstrings.
16793
16794 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
16795
16796 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
16797
16798 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
16799 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
16800 end in ".mk".
16801 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
16802 when reading the makefile (bug#10116).
16803
16804 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
16805
16806 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
16807 (bug#10116).
16808
16809 2011-12-06 Glenn Morris <rgm@gnu.org>
16810
16811 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
16812
16813 2011-12-06 Chong Yidong <cyd@gnu.org>
16814
16815 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
16816
16817 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
16818
16819 * textmodes/table.el (table-shorten-cell): Fix typo.
16820
16821 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
16822
16823 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
16824
16825 2011-12-05 Eli Zaretskii <eliz@gnu.org>
16826
16827 * descr-text.el (describe-char): Fix display of strong
16828 right-to-left characters and directional embeddings and overrides.
16829
16830 * simple.el (what-cursor-position): Fix display of codepoints of
16831 strong right-to-left characters.
16832
16833 2011-12-05 Chong Yidong <cyd@gnu.org>
16834
16835 * faces.el (read-color): Doc fix.
16836
16837 2011-12-05 Glenn Morris <rgm@gnu.org>
16838
16839 * align.el (align--set-marker): Add doc-string.
16840 Don't try to move something that is not a marker. (Bug#10216)
16841
16842 2011-12-04 Glenn Morris <rgm@gnu.org>
16843
16844 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
16845 overly zealous deletion of trailing whitespace.
16846
16847 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
16848
16849 * server.el (server-delete-client): On Windows, do not try to delete
16850 the only terminal.
16851 (server-process-filter): On Windows, treat requests for a tty frame as
16852 if they were for a GUI frame if the running server is in GUI mode.
16853
16854 2011-12-03 Glenn Morris <rgm@gnu.org>
16855
16856 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
16857
16858 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
16859
16860 * electric.el: Streamline electric-indent's hook.
16861 (electric-indent-chars): Revert to simple list.
16862 (electric-indent-functions): New var.
16863 (electric-indent-post-self-insert-function): Use it.
16864
16865 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
16866 there's no inferior buffer (bug#10196).
16867 (prolog-consult-compile): Don't use toggle-read-only.
16868
16869 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
16870
16871 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
16872 interrupt. (Bug#10187)
16873
16874 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
16875
16876 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
16877 (bug#9160).
16878
16879 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
16880 (bug#10191).
16881
16882 2011-12-02 Juri Linkov <juri@jurta.org>
16883
16884 * info.el (Info-search): Display "end of manual" when Isearch
16885 reaches the end of single-file Info manual. (Bug#9918)
16886
16887 2011-12-02 Eli Zaretskii <eliz@gnu.org>
16888
16889 * isearch.el (isearch-message-prefix): Run the input method part
16890 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
16891
16892 2011-12-02 Juri Linkov <juri@jurta.org>
16893
16894 * isearch.el (isearch-occur): Use `word-search-regexp' for
16895 `isearch-word'.
16896 (isearch-search-and-update): Add condition for `isearch-word' and
16897 call `word-search-regexp'. (Bug#10145)
16898
16899 2011-12-01 Glenn Morris <rgm@gnu.org>
16900
16901 * eshell/em-hist.el (eshell-hist-initialize):
16902 Handle eshell-history-size nil and HISTSIZE set or unset.
16903 (eshell-history-file-name, eshell-history-size): Fix custom type.
16904
16905 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
16906
16907 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
16908
16909 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
16910
16911 * progmodes/verilog-mode.el (verilog-pretty-expr):
16912 Rework verilog-pretty-expr to handle new assignment operators in system
16913 verilog, such as += *= and the like.
16914 (verilog-assignment-operator-re): Regular expression to find the
16915 assigment operator in a verilog assignment.
16916 (verilog-assignment-operation-re): Regular expression to find an
16917 assignment statement for pretty-expr.
16918 (verilog-in-attribute-p): Query returns true if point is in an
16919 attribute context; used to skip these for expression line up from
16920 pretty-expr.
16921 (verilog-in-parameter-p): Query returns true if point is in an
16922 parameter definition context; used to skip these for expression
16923 line up from pretty-expr.
16924 (verilog-in-parenthesis-p): Query returns true if point is in a
16925 parenthetical expression, specifically ( ) but not [ ] or { };
16926 used by pretty-expr.
16927 (verilog-just-one-space): If there is no space, don't add one.
16928 (verilog-get-lineup-indent-2): Specifically skip just attribute
16929 contexts for expression lineup, rather than skipping all
16930 parenthetical expressions.
16931 (verilog-calculate-indent): Fix comment, and fix indent.
16932 (verilog-do-indent): Indent declarations in lists (suggested by
16933 Joachim Lechner).
16934 (verilog-mode-abbrev-table): Populate abbrev mode with the various
16935 skeleton items.
16936 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
16937 by Alain Mellan).
16938
16939 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
16940
16941 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
16942 parameters with embedded comments. Reported by Ray Stevens.
16943 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
16944 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
16945 Reported by Tim Holt.
16946 (verilog-auto): Fix AUTOing a upper module then AUTOing module
16947 instantiated by upper module causing wrong expansion until AUTOed a
16948 second time. Reported by K C Buckenmaier.
16949 (verilog-diff-auto): Fix showing .* as a difference when
16950 `verilog-auto-star-save' off. Reported by Dan Dever.
16951 (verilog-auto-reset, verilog-read-always-signals)
16952 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
16953 temporary signals in reset list if
16954 verilog-auto-reset-blocking-in-non is nil, and match assignment
16955 style to each signal's assignment type, bug381.
16956 Reported by Thomas Esposito.
16957 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
16958 (verilog-uvm-statement-re): Support UVM indentation and
16959 highlighting, with old OVM keywords only.
16960 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
16961 Support AUTOTIEOFF creating non-wire data types.
16962 Suggested by Jonathan Greenlaw.
16963 (verilog-auto-insert-lisp, verilog-delete-to-paren)
16964 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
16965 (verilog-inject-sense, verilog-read-inst-pins)
16966 (verilog-read-sub-decls, verilog-read-sub-decls-line):
16967 Fix mismatching parenthesis inside commented out code when deleting
16968 AUTOINST, bug383. Reported by Jonathan Greenlaw.
16969 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
16970 non-numeric vector width. Reported by Alex Reed.
16971 (verilog-auto-ascii-enum): Add "onehot" option to work around not
16972 detecting signals with parameter widths. Reported by Alex Reed.
16973 (verilog-auto-delete-trailing-whitespace):
16974 With `verilog-auto-delete-trailing-whitespace' remove trailing
16975 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
16976 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
16977 Fix verilog-scan-cache corruption when running user AUTO expansion
16978 hooks that call indentation routines.
16979 (verilog-simplify-range-expression): Fix typo ignoring lower case
16980 identifiers.
16981 (verilog-delete-auto): Fix delete-autos to also remove user created
16982 automatics, as long as they start with AUTO.
16983 (verilog-batch-diff-auto, verilog-diff-auto)
16984 (verilog-diff-function): Add `verilog-diff-auto' and bind to
16985 "C-c?" to report differences in AUTO expansion, ignoring spaces.
16986 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
16987 (verilog-in-paren-quick, verilog-re-search-backward-quick)
16988 (verilog-re-search-forward-quick, verilog-syntax-ppss):
16989 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
16990 is disabled and its cache will get corrupt, causing AUTOS not to
16991 expand. Instead use only -quick functions.
16992 (verilog-scan-region): Fix scanning over escaped quotes.
16993 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
16994 (verilog-re-search-backward-quick)
16995 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
16996 related functions now ignore strings, to fix misparsing of strings
16997 with magic comments embedded in them.
16998 (verilog-read-auto-template):
16999 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
17000 Reported by Brad Dobbie.
17001 (verilog-read-auto-template):
17002 Fix 'verilog-auto-inst-template-numbers' with comments.
17003 Reported by Brad Dobbie.
17004 (verilog-auto-inst, verilog-auto-inst-param)
17005 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
17006 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
17007 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
17008 debugging templates without merge conflicts, bug357.
17009 Reported by Brad Dobbie.
17010 (verilog-read-auto-template):
17011 Fix verilog-auto-inst-template-numbers with multiple templates.
17012 Reported by Brad Dobbie.
17013 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
17014 abbrevs so user won't be asked to save.
17015 (verilog-read-auto-lisp-present): Fix to start at beginning of
17016 buffer in case called outside of verilog-auto.
17017 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
17018 to "X-2". Reported by Matthew Myers.
17019 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
17020 all inputs from module templates. Reported by Leith Johnson.
17021 (verilog-module-inside-filename-p): Fix locating programs as with
17022 modules.
17023 (verilog-auto-inst-port): Fix vl-width expressions when using
17024 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
17025 (verilog-decls-get-regs, verilog-decls-get-signals,
17026 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
17027 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
17028 verilog-read-decls): Combine reg and wire structures into one var
17029 structure to represent SystemVerilog concepts.
17030 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
17031 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
17032 (verilog-auto-wire-type, verilog-insert-definition):
17033 Add verilog-auto-wire-type and AUTOLOGIC to support using
17034 SystemVerilog "logic" keyword instead of "wire"/"reg".
17035 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
17036 to declares outputs that also have assignments (presumably in an
17037 ifdef or generate if so there's not a driver conflict).
17038 Reported by Matthew Myers.
17039 (verilog-auto-declare-nettype, verilog-insert-definition):
17040 Add verilog-auto-declare-nettype to fix declarations using
17041 `default_nettype none. Reported by Julian Gorfajn.
17042 (verilog-read-always-signals-recurse, verilog-read-decls)
17043 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
17044 malformed end statement, bug325. Reported by Joshua Wise and
17045 Andrew Drake.
17046 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
17047 (verilog-inst-comment-re): Fix not deleting Interfaced comment
17048 when expanding .* in interfaces, bug320.
17049 Reported by Pierre-David Pfister.
17050 (verilog-read-module-name): Fix import statements between module
17051 name and open parenthesis, bug317.
17052 Reported by Pierre-David Pfister.
17053 (verilog-simplify-range-expression): Fix simplification of
17054 multiplications inside AUTOWIRE connections, bug303.
17055 (verilog-auto-inst-port): Support parameter expansion in
17056 multidimensional arrays.
17057 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
17058 after "assert property". Reported by Julian Gorfajn.
17059 (verilog-simplify-range-expression): Fix "couldn't merge" errors
17060 with multiplication, bug303.
17061 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
17062 Reported by Jan Frode Lonnum.
17063
17064 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
17065
17066 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
17067 (hfy-shell-file-name, hfy-shell):
17068 * international/fontset.el (x-decompose-font-name): Fix typos.
17069
17070 2011-11-29 Ken Brown <kbrown@cornell.edu>
17071
17072 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
17073 (gdb-version): Remove defvar.
17074 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
17075 (gdb-gud-context-command, gdb-non-stop-handler)
17076 (gdb-current-context-command, gdb-stopped): Use it.
17077 (gdb-init-1): Enable pretty printing here.
17078 (gdb-non-stop-handler): Don't enable pretty-printing here.
17079 Check to see if the target supports non-stop mode; if not, turn off
17080 non-stop mode. Use the following.
17081 (gdb-check-target-async): New defun.
17082 (gud-watch, gdb-stopped): Fix whitespace.
17083 (gdb-get-source-file): Don't try to display the source file if
17084 `gdb-main-file' is nil.
17085
17086 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
17087
17088 * align.el: Try to generate fewer markers (bug#10047).
17089 (align--set-marker): New macro.
17090 (align-region): Use it.
17091
17092 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
17093
17094 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
17095
17096 2011-11-29 Chong Yidong <cyd@gnu.org>
17097
17098 * indent.el (indent-for-tab-command, indent-according-to-mode):
17099 Doc fix.
17100 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
17101
17102 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
17103
17104 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
17105 aware of remote file names. (Bug#10124)
17106
17107 2011-11-29 Chong Yidong <cyd@gnu.org>
17108
17109 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
17110
17111 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
17112
17113 * files.el (find-file): Don't use force-same-window (bug#10144).
17114 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
17115 use pop-to-buffer if the selected window can't be used.
17116 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
17117
17118 2011-11-28 Eli Zaretskii <eliz@gnu.org>
17119
17120 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
17121 special-mode-map.
17122
17123 2011-11-28 Chong Yidong <cyd@gnu.org>
17124
17125 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
17126
17127 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
17128
17129 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
17130 gdb-get-source-file-list on gdb-create-source-file-list.
17131
17132 2011-11-26 Eli Zaretskii <eliz@gnu.org>
17133
17134 * whitespace.el (whitespace-newline): Use a different foreground
17135 color for 16-color light-background displays.
17136
17137 2011-11-24 Chong Yidong <cyd@gnu.org>
17138
17139 * window.el (display-buffer--special-action): Doc fix.
17140
17141 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
17142
17143 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
17144 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
17145 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
17146 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
17147 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
17148 (avl-tree-stack-first):
17149 * emacs-lisp/cconv.el (cconv--analyse-use):
17150 * net/gnutls.el (gnutls-negotiate): Fix typos.
17151
17152 2011-11-24 Glenn Morris <rgm@gnu.org>
17153
17154 * lpr.el (lpr-windows-system, lpr-lp-system):
17155 * mail/binhex.el (binhex-begin-line):
17156 * progmodes/grep.el (grep-history, grep-find-history):
17157 * textmodes/flyspell.el:
17158 * vc/pcvs-defs.el (cvs-global-menu):
17159 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
17160 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
17161 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
17162
17163 * net/tls.el: Fix case of "GnuTLS".
17164
17165 * paths.el (rmail-file-name): Format doc-string for make-docfile.
17166
17167 * version.el (emacs-build-system): Give it a doc-string.
17168
17169 2011-11-24 Juri Linkov <juri@jurta.org>
17170
17171 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
17172
17173 2011-11-24 Glenn Morris <rgm@gnu.org>
17174
17175 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
17176 if called on a non-mime message just toggle the headers. (Bug#8006)
17177
17178 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
17179
17180 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
17181 (allout-lead-with-comment-string, allout-structure-deleted-hook)
17182 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
17183 (allout-rebullet-heading, allout-open-sibtopic)
17184 (allout-toggle-current-subtree-encryption)
17185 (allout-toggle-subtree-encryption, allout-encrypt-string)
17186 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
17187 (allout-distinctive-bullets-string, allout-auto-activation):
17188 * window.el (window-normalize-buffer-to-display):
17189 * progmodes/verilog-mode.el (verilog-batch-indent):
17190 * textmodes/bibtex.el (bibtex-field-braces-opt)
17191 (bibtex-field-strings-opt):
17192 * vc/cvs-status.el (cvs-tree-merge):
17193 Fix typos.
17194
17195 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
17196
17197 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
17198 `non-essential' to t, in order to avoid remote connections.
17199
17200 2011-11-23 Eli Zaretskii <eliz@gnu.org>
17201
17202 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
17203 On MS-DOS and MS-Windows, compare with loaddefs.el
17204 case-insensitively.
17205
17206 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
17207
17208 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
17209
17210 2011-11-23 Glenn Morris <rgm@gnu.org>
17211
17212 * paths.el (rmail-file-name): Reformat the doc-string so that it
17213 is picked up.
17214
17215 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
17216 (rmail-auto-file): Ignore case in the "special" field names,
17217 as mail-fetch-field does for all others.
17218
17219 * mail/rmail.el (rmail-forward):
17220 * mail/rmailkwd.el (rmail-set-label):
17221 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
17222 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
17223
17224 * mail/rmail.el (rmail-current-message): Doc fix.
17225
17226 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
17227
17228 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
17229
17230 * server.el (server-eval-and-print): Allow C-g (bug#6585).
17231
17232 2011-11-22 Glenn Morris <rgm@gnu.org>
17233
17234 * mail/rmailmm.el (test-rmail-mime-handler)
17235 (test-rmail-mime-bulk-handler)
17236 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
17237
17238 2011-11-21 Juri Linkov <juri@jurta.org>
17239
17240 * calc/calc.el (calc-read-key-sequence):
17241 Let-bind `input-method-function' to nil. (Bug#10018)
17242
17243 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
17244
17245 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
17246 Tell the caller that the next line needs recomputation, even
17247 though it doesn't start a sexp (bug#10094).
17248
17249 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
17250
17251 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
17252
17253 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
17254
17255 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
17256 Use force-same-window.
17257
17258 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
17259
17260 * descr-text.el (describe-char-unicode-data):
17261 * json.el (json-string-escape):
17262 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
17263 (Footnote-unicode, Footnote-style-p):
17264 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
17265
17266 2011-11-20 Chong Yidong <cyd@gnu.org>
17267
17268 * window.el (replace-buffer-in-windows): Restore interactive spec.
17269
17270 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
17271
17272 * electric.el (electric-indent-mode): Fix last change (too optimistic).
17273
17274 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
17275 (byte-compile-global-not-obsolete-vars): New var.
17276 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
17277 Use it.
17278 (byte-compile-warn-obsolete): Align text with the one in *Help*.
17279
17280 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
17281
17282 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
17283 * progmodes/pascal.el (electric-pascal-equal):
17284 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
17285 * xml.el (xml-substitute-special): Fix typos.
17286
17287 2011-11-20 Glenn Morris <rgm@gnu.org>
17288
17289 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
17290 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
17291 Doc fixes.
17292 (rmail-decode-mime-charset): Mark as obsolete.
17293
17294 * mail/rmailsum.el (rmail-message-regexp-p-1):
17295 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
17296 Before using mime functions, check they are set. (Bug#10077)
17297
17298 2011-11-19 Juri Linkov <juri@jurta.org>
17299
17300 * info.el (Info-finder-find-node): Use `package--builtins' instead
17301 of `package-alist'. Use node names formed by the pattern "Keyword "
17302 and the keyword name.
17303
17304 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
17305
17306 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
17307
17308 2011-11-19 Juri Linkov <juri@jurta.org>
17309
17310 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
17311 that calls `revert-buffer' on all Info buffers. (Bug#9915)
17312 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
17313 `old-history', `old-history-forward'. Add let-binding
17314 `window-selected'. Remove calls to `kill-buffer',
17315 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
17316 before calling `Info-find-node', so `Info-find-node-2' will reread
17317 the Info file. Restore window positions only when `window-selected'
17318 is non-nil.
17319
17320 2011-11-19 Juri Linkov <juri@jurta.org>
17321
17322 * isearch.el (isearch-lazy-highlight-new-loop):
17323 Remove condition `(not isearch-error)'. (Bug#9918)
17324
17325 * misearch.el (multi-isearch-search-fun): Add condition
17326 `(not bound)' to ignore lazy-highlighting search.
17327 Add the search-failed message "end of multi" when the end of
17328 multi-sequence is reached. Uncapitalize the search-failed
17329 message "Repeat for next buffer".
17330
17331 * info.el (Info-search): Add the search-failed message
17332 "end of the manual" when the end of the manual is reached
17333 in Isearch mode.
17334
17335 2011-11-19 Juri Linkov <juri@jurta.org>
17336
17337 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
17338 Use non-destructive `remove' instead of `delete' because
17339 `Info-history-list' stored to `Info-isearch-initial-history-list' in
17340 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
17341
17342 2011-11-19 Juri Linkov <juri@jurta.org>
17343
17344 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
17345 to nil instead of binding `search-ring' and `regexp-search-ring'.
17346 (Bug#9185)
17347
17348 2011-11-19 Eli Zaretskii <eliz@gnu.org>
17349
17350 * simple.el (line-move): Force movement by logical lines for any
17351 hscrolled window, not only when auto-hscroll-mode is on.
17352 (line-move-visual): Update doc string to that effect. (Bug#10076)
17353
17354 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
17355
17356 * language/european.el (macintosh): Define as alias for mac-roman.
17357
17358 2011-11-19 Eli Zaretskii <eliz@gnu.org>
17359
17360 * mail/rmailmm.el (rmail-mime-display-header)
17361 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
17362 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
17363 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
17364 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
17365 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
17366 of a raw aref.
17367 (rmail-mime-entity-segment): To get past the tagline, move forward
17368 2 more lines, to account for the 2 empty lines that precede and
17369 follow the line with the buttons.
17370 (rmail-mime-update-tagline): Move one more line, to get past the
17371 empty line that follows the buttons in the tagline. (Bug#9520)
17372
17373 2011-11-19 Martin Rudalics <rudalics@gmx.at>
17374
17375 * window.el (window-max-delta-1, window-min-delta-1)
17376 (window-min-size-1, window-state-get-1, window-state-put-1)
17377 (window-state-put-2): Use "window--" prefix.
17378
17379 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
17380
17381 * emacs-lisp/smie.el: Improve warnings and conflict detection.
17382 (smie-warning-count): New var.
17383 (smie-set-prec2tab): Use it.
17384 (smie-bnf->prec2): Improve warnings. Add docstring.
17385 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
17386 (smie-bnf--set-class): New function.
17387 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
17388 corner case.
17389
17390 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
17391 (compilation-error-properties, compilation-move-to-column):
17392 Handle compilation-first-column while in the target buffer.
17393
17394 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
17395 Don't hardcode point-min==1.
17396
17397 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
17398 (eshell-rewrite-for-command): Remove workaround.
17399 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
17400 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
17401 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
17402
17403 * files-x.el (modify-file-local-variable): Obey commenting conventions.
17404
17405 2011-11-17 Glenn Morris <rgm@gnu.org>
17406
17407 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
17408 Ignore buffer-local generated-autoload-file if it is the same
17409 as the global value. (Bug#10049)
17410
17411 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
17412
17413 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
17414 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
17415 (reftex-toc-previous-heading, reftex-toc-max-level)
17416 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
17417 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
17418 (reftex-toc-do-promote, reftex-toc-promote-prepare)
17419 (reftex-toc-promote-action, reftex-toc-extract-section-number)
17420 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
17421 (reftex-toc-rename-label, reftex-toc-visit-location)
17422 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
17423 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
17424 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
17425 leaving "*toc*" only for references to the buffer.
17426
17427 2011-11-17 Martin Rudalics <rudalics@gmx.at>
17428
17429 * window.el (window-resize, delete-window, split-window):
17430 Replace window-splits by window-combination-resize.
17431 * cus-start.el (window-splits): Replace by window-combination-resize.
17432
17433 2011-11-17 Glenn Morris <rgm@gnu.org>
17434
17435 * progmodes/sh-script.el (sh-font-lock-keywords-var):
17436 Make bash entry derive from sh entry, not shell entry.
17437
17438 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
17439
17440 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
17441 local file name.
17442
17443 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
17444
17445 * menu-bar.el (menu-bar-file-menu):
17446 * printing.el (pr-ps-utility):
17447 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
17448 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
17449 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
17450 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
17451 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
17452 (icalendar--convert-cyclic-to-ical)
17453 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
17454 (icalendar--convert-ical-to-diary)
17455 (icalendar--convert-recurring-to-diary)
17456 (icalendar--convert-non-recurring-all-day-to-diary)
17457 (icalendar-import-format-sample):
17458 * progmodes/idlw-shell.el (idlwave-shell-mode):
17459 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
17460 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
17461 (vhdl-ps-print-init): Fix typos.
17462
17463 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
17464
17465 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
17466 FSF and collapse date sequence, obscure author/maintainer email address
17467 better, remove extra version line, track relocation of author's webpage.
17468
17469 * progmodes/python.el (python-pdbtrack-input-prompt)
17470 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
17471 regular python pdb prompts. Adjustments shamelessly taken exactly as
17472 suggested in EmacsWiki page (tiny change):
17473 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
17474
17475 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
17476
17477 * expand.el (expand-pos, expand-index, expand-point):
17478 Remove redundant info from docstring.
17479 (expand-add-abbrevs): Doc fix.
17480 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
17481 (expand-sample-perl-mode-expand-list): Fix typos.
17482
17483 * net/dbus.el (dbus-event-member-name):
17484 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
17485 * term/pc-win.el (msdos-create-frame-with-faces):
17486 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
17487
17488 2011-11-16 Martin Rudalics <rudalics@gmx.at>
17489
17490 * window.el (split-window, window-state-get-1)
17491 (window-state-put-1, window-state-put-2): Rename occurrences of
17492 window-nest to window-combination-limit.
17493 * cus-start.el (window-nest): Rename to window-combination-limit.
17494
17495 2011-11-16 Chong Yidong <cyd@gnu.org>
17496
17497 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
17498 regexp (Bug#10033).
17499
17500 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
17501
17502 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
17503 `completing-read' will remove *Completions* and will preserve
17504 current-buffer for us.
17505 (tmm-add-prompt): Users of *Completions* will always (re)set its
17506 major mode.
17507 (tmm-old-comp-map): Remove.
17508
17509 2011-11-16 Glenn Morris <rgm@gnu.org>
17510
17511 * mail/rmailedit.el: Require rmailmm when compiling.
17512 (rmail-old-mime-state): New declaration.
17513 (rmail-edit-current-message): If editing a mime message,
17514 edit the "raw" message from the mbox buffer.
17515 (rmail-cease-edit): Handle mime messages. (Bug#9840)
17516
17517 2011-11-15 Glenn Morris <rgm@gnu.org>
17518
17519 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
17520 which wasn't being used. Add optional arg to force given state.
17521 (rmail-mime): Add optional arg to force given state.
17522
17523 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
17524
17525 * allout.el (allout-encryption-plaintext-sanitization-regexps):
17526 * frame.el (display-mm-dimensions-alist):
17527 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
17528 (outline-move-subtree-down):
17529 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
17530 (newsticker--treeview-do-get-node):
17531 * net/quickurl.el (quickurl-list-buffer-name):
17532 * progmodes/dcl-mode.el (dcl-mode):
17533 * progmodes/gdb-mi.el (gdb-mapcar*):
17534 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
17535
17536 2011-11-15 Glenn Morris <rgm@gnu.org>
17537
17538 * mail/rmail.el (rmail-file-coding-system): It's only ever used
17539 in a boolean sense, so just make it a boolean, and fix the doc.
17540 (rmail-show-mime-function, rmail-mime-feature)
17541 (rmail-require-mime-maybe): Doc fixes.
17542 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
17543
17544 * mail/rmailmm.el (rmail-show-mime): Doc fix.
17545
17546 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
17547
17548 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
17549 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
17550 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
17551 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
17552
17553 2011-11-15 Glenn Morris <rgm@gnu.org>
17554
17555 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
17556 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
17557 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
17558 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
17559 (rmail-mime, rmail-show-mime): Doc fixes.
17560
17561 * term/ns-win.el (mode-line-frame-identification):
17562 Leave it alone. (Bug#10051)
17563
17564 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
17565
17566 * mail/rmailout.el (rmail-output-to-rmail-buffer):
17567 Handle empty buffers. (Bug#9978)
17568
17569 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
17570
17571 * international/mule.el (define-charset):
17572 * mail/rmailmm.el (rmail-mime-find-header-encoding):
17573 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
17574 * progmodes/verilog-mode.el (verilog-backward-token):
17575 * textmodes/ispell.el (lookup-words):
17576 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
17577
17578 2011-11-14 Glenn Morris <rgm@gnu.org>
17579
17580 * progmodes/executable.el
17581 (executable-make-buffer-file-executable-if-script-p):
17582 Handle file-modes returning nil.
17583
17584 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
17585 message - not necessary, and causes problems. (Bug#9831)
17586
17587 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
17588
17589 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
17590
17591 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
17592 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
17593 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
17594
17595 2011-11-12 Martin Rudalics <rudalics@gmx.at>
17596
17597 * window.el (window-resize, delete-window): Use window-splits
17598 variable instead of function.
17599 (window-state-get-1, window-state-put-2, window-state-put):
17600 Don't deal with windows' splits status.
17601
17602 2011-11-12 Glenn Morris <rgm@gnu.org>
17603
17604 * apropos.el (apropos-do-all, apropos-library, apropos-value)
17605 (apropos-documentation): Doc fixes.
17606
17607 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
17608
17609 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
17610 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
17611
17612 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
17613
17614 * electric.el (electric-indent-post-self-insert-function): Make it
17615 possible for a char to only indent in some circumstances.
17616 (electric-indent-mode): Simplify.
17617
17618 2011-11-11 Martin Rudalics <rudalics@gmx.at>
17619
17620 * window.el (windows-with-parameter): Remove unused function.
17621 (windows-at-side): Rename to window-at-side-list.
17622 (window-check, window-atom-check, window-atom-check-1)
17623 (window-side-check, window-size-ignore, window-size-fixed-1)
17624 (window-in-direction-2): Prefix with "window--".
17625 (window-tree-1): Rename to window--subtree, fix doc-string.
17626
17627 2011-11-11 Glenn Morris <rgm@gnu.org>
17628
17629 * subr.el (eval-after-load): If FILE is already loaded,
17630 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
17631
17632 2011-11-10 Glenn Morris <rgm@gnu.org>
17633
17634 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
17635 Call svn via vc-svn-command rather than vc-do-command.
17636 (vc-svn-command): Add --non-interactive. (Bug#9993)
17637 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
17638
17639 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
17640 Add toggle-read-only. (Bug#7292)
17641 * files.el (toggle-read-only): Mention that it should only
17642 be used interactively. (Bug#10006)
17643
17644 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
17645
17646 * progmodes/compile.el (compilation-error-regexp-alist-alist):
17647 Adjust regexp for OCaml warnings.
17648
17649 * electric.el (electric-pair-post-self-insert-function): Let user
17650 turn it off buffer-locally (bug#9932).
17651
17652 * progmodes/python.el (python-beginning-of-statement):
17653 Rewrite (bug#2703).
17654
17655 * progmodes/compile.el: Better handle TABs (bug#9749).
17656 (compilation-internal-error-properties)
17657 (compilation-next-error-function): Obey the target buffer's
17658 compilation-error-screen-columns.
17659
17660 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
17661
17662 * progmodes/meta-mode.el: Remove obsolete comments.
17663 (meta-right-comment-regexp, meta-ignore-comment-regexp):
17664 Fix typos in docstrings.
17665
17666 2011-11-09 Martin Rudalics <rudalics@gmx.at>
17667
17668 * window.el (window-size-fixed-p): Rewrite doc-string.
17669 (window-resizable-p): Rename to window--resizable-p. Update callers.
17670 (window--resizable): New function. Make all callers of
17671 window-resizable call window--resizable instead.
17672 (window-resizable): Rewrite in terms of window--resizable.
17673
17674 2011-11-08 Glenn Morris <rgm@gnu.org>
17675
17676 * progmodes/delphi.el (delphi-mode-syntax-table):
17677 Let define-derived-mode define a proper syntax table. (Bug#9994)
17678
17679 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
17680
17681 * window.el: Stay away from defsubst.
17682 (window-list-no-nils): Remove.
17683 (window-state-get-1, window-state-get): Use backquote instead.
17684
17685 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
17686
17687 * emacs-lisp/find-func.el (find-function-read):
17688 Fix incorrect use of default argument in `completing-read'.
17689
17690 2011-11-08 Martin Rudalics <rudalics@gmx.at>
17691
17692 * window.el (display-buffer-function, special-display-function):
17693 Mention display-buffer-record-window but do not mention
17694 help-setup parameter in doc-strings.
17695 (window-min-delta): Fix doc-string typo.
17696
17697 2011-11-08 Chong Yidong <cyd@gnu.org>
17698
17699 * window.el (window-total-height, window-total-width): Doc fix.
17700 (window-body-size): Move from C.
17701 (window-body-height, window-body-width): Move to C.
17702
17703 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
17704
17705 * window.el: Make special-display like display-buffer-alist (bug#9532).
17706 (display-buffer--special-action): New function, morphed
17707 from display-buffer--special.
17708 (display-buffer): Use it to handle special-display-buffers at higher
17709 priority (just after display-buffer-alist).
17710 (display-buffer-fallback-action, display-buffer--other-frame-action)
17711 (pop-to-buffer-same-window): Remove display-buffer--special.
17712
17713 2011-11-07 Glenn Morris <rgm@gnu.org>
17714
17715 * calendar/cal-menu.el (cal-menu-set-date-title):
17716 Do nothing if not in a calendar. (Bug#9976)
17717
17718 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
17719
17720 * files.el (find-file): Always use selected-window.
17721
17722 2011-11-07 Martin Rudalics <rudalics@gmx.at>
17723
17724 * window.el (window-combinations): Make WINDOW argument
17725 mandatory. Rewrite doc-string.
17726 (walk-window-subtree, window-atom-check, window-min-delta)
17727 (window-max-delta, window--resize-this-window)
17728 (window--resize-root-window-vertically, window-tree)
17729 (balance-windows, window-state-put): Rewrite doc-strings as to
17730 not mention the term "subwindow".
17731 (window--resize-subwindows-skip-p): Rename to
17732 window--resize-child-windows-skip-p.
17733 (window--resize-subwindows-normal): Rename to
17734 window--resize-child-windows-normal.
17735 (window--resize-subwindows): Rename to
17736 window--resize-child-windows.
17737 (window-or-subwindow-p): Rename to window--in-subtree-p.
17738
17739 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
17740
17741 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
17742 Ensure that mbox format messages end in two newlines (Bug#9974).
17743
17744 2011-11-06 Chong Yidong <cyd@gnu.org>
17745
17746 * window.el (window-combination-p): Function deleted; its
17747 side-effect is not used in any existing code.
17748 (window-combinations, window-combined-p): Call window-*-child
17749 directly.
17750
17751 2011-11-05 Chong Yidong <cyd@gnu.org>
17752
17753 * window.el (window-valid-p): Rename from window-any-p.
17754 (window-size-ignore, window-state-get): Callers changed.
17755 (window-normalize-window): Rename from window-normalize-any-window.
17756 New arg LIVE-ONLY, replacing window-normalize-live-window.
17757 (window-normalize-live-window): Delete.
17758 (window-combination-p, window-combined-p, window-combinations)
17759 (walk-window-subtree, window-atom-root, window-min-size)
17760 (window-sizable, window-sizable-p, window-size-fixed-p)
17761 (window-min-delta, window-max-delta, window-resizable)
17762 (window-resizable-p, window-full-height-p, window-full-width-p)
17763 (window-current-scroll-bars, window-point-1, set-window-point-1)
17764 (window-at-side-p, window-in-direction, window-resize)
17765 (adjust-window-trailing-edge, maximize-window, minimize-window)
17766 (window-deletable-p, delete-window, delete-other-windows)
17767 (record-window-buffer, unrecord-window-buffer)
17768 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
17769 (quit-window, split-window, window-state-put)
17770 (set-window-text-height, fit-window-to-buffer)
17771 (shrink-window-if-larger-than-buffer): Callers changed.
17772
17773 2011-11-04 Eli Zaretskii <eliz@gnu.org>
17774
17775 * mail/rmail.el (rmail-simplified-subject): Decode subject with
17776 rfc2047-decode-string.
17777 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
17778 warnings.
17779
17780 * window.el (window-body-height, window-body-width): Mention in
17781 the doc string that the return values are in frame's canonical
17782 units. (Bug#9949)
17783
17784 2011-11-03 Alan Mackenzie <acm@muc.de>
17785
17786 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
17787 change in cc-engine.el.
17788
17789 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
17790
17791 * window.el (switch-to-buffer): Use `force-same-window' interactively.
17792
17793 2011-11-02 Martin Rudalics <rudalics@gmx.at>
17794
17795 * window.el (quit-window): Call unrecord-window-buffer after
17796 showing another buffer in the window. (Bug#9937)
17797 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
17798
17799 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
17800
17801 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
17802 Accept status with more than 9 shelves. (Bug#9935)
17803 Reported by Colin D Bennett <colin@gibibit.com>.
17804
17805 2011-11-01 Martin Rudalics <rudalics@gmx.at>
17806
17807 * help.el (with-help-window): Don't reference
17808 temp-buffer-show-specifiers in doc-string.
17809
17810 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
17811
17812 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
17813 menu-item.
17814
17815 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
17816
17817 * whitespace.el: New version 13.2.2.
17818 (whitespace-newline-mode): Disable properly. Reported by Sarah
17819 <EmacsWiki>.
17820
17821 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
17822
17823 * net/newst-treeview.el: Remove "Time-stamp".
17824 (newsticker--group-manage-orphan-feeds): Do not call
17825 newsticker--treeview-tree-update.
17826 (newsticker-treeview-update, newsticker-treeview):
17827 Call newsticker--treeview-tree-update if necessary.
17828
17829 2011-10-30 Martin Rudalics <rudalics@gmx.at>
17830
17831 * window.el (window-iso-combination-p, window-iso-combined-p)
17832 (window-iso-combinations): Remove "iso-" infix.
17833 Suggested by Chong Yidong.
17834 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
17835 (window-max-delta-1, window-resize, window--resize-siblings)
17836 (window--resize-this-window, adjust-window-trailing-edge)
17837 (split-window, balance-windows-1)
17838 (shrink-window-if-larger-than-buffer):
17839 * calendar/calendar.el (calendar-generate-window):
17840 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
17841
17842 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
17843
17844 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
17845 in place (bug#9907).
17846 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
17847 (eshell-rewrite-if-command, eshell-rewrite-for-command)
17848 (eshell-structure-basic-command, eshell-rewrite-while-command)
17849 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
17850 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
17851 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
17852 (eshell-do-pipelines-synchronously, eshell-eval-command):
17853 Use backquotes and prefer setq to set.
17854 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
17855 (eshell-macrop): Use functionp.
17856 (eshell-do-eval): Handle multiple expressions in `while' body.
17857
17858 2011-10-30 Chong Yidong <cyd@gnu.org>
17859
17860 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
17861 instead of set-mark (Bug#9810).
17862
17863 2011-10-30 Chong Yidong <cyd@gnu.org>
17864
17865 * window.el (split-window-below, split-window-right): Rename from
17866 split-window-above-each-other and split-window-side-by-side
17867 respectively. All callers changed.
17868 (split-window-sensibly, split-window-sensibly): Use them.
17869 (split-window-keep-point): Doc fix.
17870
17871 * isearch.el: Add isearch-scroll property to split-window-below
17872 and split-window-right.
17873
17874 * follow.el (follow-mode):
17875 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
17876 * progmodes/ada-xref.el (ada-gdb-application):
17877 * emulation/vip.el (vip-buffer-in-two-windows):
17878 * image-dired.el (image-dired-dired-with-window-configuration):
17879 * dired-x.el (dired-do-find-marked-files):
17880 * dired.el (dired-pop-to-buffer):
17881 * bs.el (bs--show-with-configuration):
17882 * vc/emerge.el (emerge-setup-windows):
17883 * textmodes/two-column.el (2C-two-columns):
17884 * textmodes/reftex-toc.el (reftex-toc):
17885 * progmodes/gdb-mi.el (gdb-setup-windows):
17886 * progmodes/fortran.el (fortran-window-create):
17887 * net/newst-treeview.el (newsticker--treeview-window-init):
17888 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
17889 * emulation/tpu-edt.el (tpu-gold-map):
17890 * emulation/crisp.el (crisp-mode-map):
17891 * calendar/calendar.el (calendar-basic-setup): Callers changed.
17892
17893 2011-10-29 Chong Yidong <cyd@gnu.org>
17894
17895 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
17896
17897 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
17898
17899 * textmodes/flyspell.el (flyspell-word): Fix char offset for
17900 forged Ispell output (Bug#7904).
17901
17902 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
17903
17904 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
17905
17906 * doc-view.el: Avoid ugly errors about not finding nil.
17907 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
17908 (doc-view-dvipdf-program, doc-view-unoconv-program)
17909 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
17910 Avoid nil or absolute file name as default value.
17911 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
17912
17913 2011-10-28 Alan Mackenzie <acm@muc.de>
17914
17915 * progmodes/cc-defs.el (c-version): -> 5.32.2.
17916
17917 2011-10-28 Alan Mackenzie <acm@muc.de>
17918
17919 Amend the handling of c-beginning/end-of-defun in nested declaration
17920 scopes.
17921
17922 * progmodes/cc-vars.el (c-defun-tactic): Move here from
17923 cc-langs.el. Change it to a defcustom.
17924
17925 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
17926 cc-vars.el.
17927
17928 * progmodes/cc-engine.el (c-beginning-of-statement-1):
17929 Prevent "class foo : bar" being spuriously recognized as a label.
17930
17931 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
17932 Add parameter `inclusive' (to include enclosing braces in the region).
17933 (c-widen-to-enclosing-decl-scope): New function.
17934 (c-while-widening-to-decl-block): New macro.
17935 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
17936 outward for defun boundaries, and correspondingly change symbol
17937 `respect-enclosure' to `go-outward'.
17938 (c-declaration-limits): Change algorithm to report only the "innermost"
17939 defun's boundaries.
17940
17941 2011-10-28 Deniz Dogan <deniz@dogan.se>
17942
17943 * net/rcirc.el (rcirc-mode): Use hard newlines.
17944
17945 2011-10-28 Alan Mackenzie <acm@muc.de>
17946
17947 Amend to indent and fontify macros "which include their own semicolon"
17948 correctly, using the "virtual semicolon" mechanism.
17949
17950 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
17951
17952 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
17953 Recode to scan one line at a time rather than having \n and \r
17954 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
17955 (c-forward-label): Amend for virtual semicolons.
17956 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
17957
17958 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
17959 of the new C macros.
17960
17961 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
17962 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
17963 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
17964 (c-opt-cpp-macro-define): Make into a full language variable.
17965 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
17966 AWK Mode (including \n, \r) removed, no longer needed.
17967
17968 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
17969 Invoke c-make-macro-with-semi-re.
17970
17971 * progmodes/cc-vars.el (c-macro-with-semi-re):
17972 (c-macro-names-with-semicolon): New variables.
17973 (c-make-macro-with-semi-re): New function.
17974
17975 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
17976
17977 * vc/log-edit.el: Fill empty field rather than adding new one.
17978 (log-edit-add-field): New function.
17979 (log-edit-insert-changelog): Use it.
17980
17981 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
17982
17983 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
17984
17985 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
17986
17987 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
17988 (gdb--check-interpreter): New function.
17989 (gdb): Use it.
17990
17991 2011-10-27 Glenn Morris <rgm@gnu.org>
17992
17993 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
17994 (least-positive-float, least-negative-float)
17995 (least-positive-normalized-float, least-negative-normalized-float)
17996 (float-epsilon, float-negative-epsilon):
17997 Remove unnecessary declarations.
17998
17999 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
18000 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
18001 (least-positive-float, least-negative-float)
18002 (least-positive-normalized-float, least-negative-normalized-float)
18003 (float-epsilon, float-negative-epsilon): Add doc-strings,
18004 based on those in cl.texi.
18005
18006 * files.el (set-visited-file-name): If the major-mode changed,
18007 reload the local variables. (Bug#9796)
18008
18009 2011-10-27 Chong Yidong <cyd@gnu.org>
18010
18011 * subr.el (change-major-mode-after-body-hook): New hook.
18012 (run-mode-hooks): Run it.
18013
18014 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
18015 Use change-major-mode-before-body-hook.
18016
18017 * simple.el (fundamental-mode):
18018 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
18019 change introducing fundamental-mode-hook.
18020
18021 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
18022
18023 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
18024
18025 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
18026
18027 * ido.el (ido-file-name-all-completions-1): Do not require
18028 tramp.el explicitly. (Bug#7583)
18029
18030 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
18031
18032 * progmodes/octave-mod.el:
18033 * progmodes/octave-inf.el: Update maintainer.
18034
18035 2011-10-26 Chong Yidong <cyd@gnu.org>
18036
18037 * subr.el (with-wrapper-hook): Rewrite doc.
18038
18039 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
18040
18041 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
18042 filenames "/method:foo:". (Bug#9793)
18043
18044 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
18045
18046 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
18047 (bug#9865).
18048
18049 2011-10-24 Glenn Morris <rgm@gnu.org>
18050
18051 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
18052
18053 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
18054
18055 * notifications.el: Add the requirement of a running D-Bus session
18056 bus to the Commentary.
18057
18058 2011-10-24 Juri Linkov <juri@jurta.org>
18059
18060 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
18061 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
18062 (Bug#9364)
18063
18064 2011-10-24 Juri Linkov <juri@jurta.org>
18065
18066 * info.el (Info-following-node-name-re): Add newline to the list
18067 of allowed characters for leading space. (Bug#9824)
18068
18069 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
18070
18071 * progmodes/octave-inf.el (inferior-octave-mode-map):
18072 Fix C-c C-h binding.
18073 * progmodes/octave-mod.el (octave-help): Remove.
18074
18075 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
18076
18077 Sync with Tramp 2.2.3.
18078
18079 * net/tramp-cache.el (top): Pacify byte-compiler using
18080 `init-file-user' and `site-run-file'.
18081
18082 * net/trampver.el: Update release number.
18083
18084 2011-10-23 Chong Yidong <cyd@gnu.org>
18085
18086 * files.el (toggle-read-only): Remove obsolete comment about
18087 version control.
18088
18089 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
18090 for toggle-read-only. Note that this hasn't called vc-next-action
18091 since 2008-05-02, though it wasn't documented at the time.
18092
18093 * vc/ediff-init.el (ediff-toggle-read-only-function):
18094 Use toggle-read-only.
18095
18096 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
18097
18098 Fix bug #9560, sporadic wrong indentation; improve instrumentation
18099 of c-parse-state.
18100
18101 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
18102 correct faulty logical expression.
18103 (c-parse-state-state, c-record-parse-state-state):
18104 (c-replay-parse-state-state): New defvar/defuns.
18105 (c-debug-parse-state): Use new functions.
18106
18107 2011-10-22 Martin Rudalics <rudalics@gmx.at>
18108
18109 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
18110 last fix. Use window-in-direction correctly.
18111
18112 2011-10-21 Chong Yidong <cyd@gnu.org>
18113
18114 * progmodes/idlwave.el (idlwave-mode):
18115 * progmodes/vera-mode.el (vera-mode): No need to set
18116 require-final-newline; that's done in prog-mode.
18117 Suggested by Stefan Monnier.
18118
18119 2011-10-21 Martin Rudalics <rudalics@gmx.at>
18120
18121 * mouse.el (mouse-drag-window-above)
18122 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
18123 (mouse-drag-mode-line-1, mouse-drag-header-line)
18124 (mouse-drag-vertical-line-rightward-window): Remove.
18125 (mouse-drag-line): New function.
18126 (mouse-drag-mode-line, mouse-drag-header-line)
18127 (mouse-drag-vertical-line): Call mouse-drag-line.
18128 * window.el (window-at-side-p, windows-at-side): New functions.
18129
18130 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
18131
18132 * tar-mode.el (tar-grind-file-mode):
18133 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
18134
18135 2011-10-21 Chong Yidong <cyd@gnu.org>
18136
18137 * progmodes/idlwave.el (idlwave-mode):
18138 * progmodes/vera-mode.el (vera-mode):
18139 Use mode-require-final-newline.
18140
18141 2011-10-20 Glenn Morris <rgm@gnu.org>
18142
18143 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
18144
18145 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
18146
18147 * emulation/cua-base.el (cua-set-mark): Fix case of string.
18148
18149 2011-10-20 Chong Yidong <cyd@gnu.org>
18150
18151 * emulation/cua-base.el (cua-mode):
18152 * mail/footnote.el (footnote-mode):
18153 * mail/mailabbrev.el (mail-abbrevs-mode):
18154 * net/xesam.el (xesam-minor-mode):
18155 * progmodes/bug-reference.el (bug-reference-mode):
18156 * progmodes/cap-words.el (capitalized-words-mode):
18157 * progmodes/compile.el (compilation-minor-mode)
18158 (compilation-shell-minor-mode):
18159 * progmodes/gud.el (gud-tooltip-mode):
18160 * progmodes/hideif.el (hide-ifdef-mode):
18161 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
18162 * progmodes/subword.el (subword-mode):
18163 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
18164 * progmodes/which-func.el (which-function-mode):
18165 * term/tvi970.el (tvi970-set-keypad-mode):
18166 * term/vt100.el (vt100-wide-mode):
18167 * textmodes/flyspell.el (flyspell-mode):
18168 * textmodes/ispell.el (ispell-minor-mode):
18169 * textmodes/nroff-mode.el (nroff-electric-mode):
18170 * textmodes/paragraphs.el (use-hard-newlines):
18171 * textmodes/refill.el (refill-mode):
18172 * textmodes/reftex.el (reftex-mode):
18173 * textmodes/rst.el (rst-minor-mode):
18174 * textmodes/sgml-mode.el (html-autoview-mode)
18175 (sgml-electric-tag-pair-mode):
18176 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
18177 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
18178 * emulation/crisp.el (crisp-mode):
18179 * emacs-lisp/eldoc.el (eldoc-mode):
18180 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
18181 minor mode behavior.
18182
18183 2011-10-19 Juri Linkov <juri@jurta.org>
18184
18185 * descr-text.el (describe-char): Add #x2010 and #x2011 to
18186 the list of hard-coded chars with escape-glyph face.
18187
18188 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
18189
18190 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
18191
18192 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
18193
18194 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
18195 running process.
18196
18197 2011-10-19 Glenn Morris <rgm@gnu.org>
18198
18199 * vc/vc-bzr.el (vc-bzr-after-dir-status):
18200 Ignore ignored files. (Bug#9726)
18201
18202 2011-10-19 Chong Yidong <cyd@gnu.org>
18203
18204 Doc fix for minor modes, stating that an omitted argument enables
18205 the mode unconditionally when called from Lisp.
18206
18207 * abbrev.el (abbrev-mode):
18208 * allout.el (allout-mode):
18209 * autoinsert.el (auto-insert-mode):
18210 * autoarg.el (autoarg-mode, autoarg-kp-mode):
18211 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
18212 (global-auto-revert-mode):
18213 * battery.el (display-battery-mode):
18214 * composite.el (global-auto-composition-mode)
18215 (auto-composition-mode):
18216 * delsel.el (delete-selection-mode):
18217 * desktop.el (desktop-save-mode):
18218 * dired-x.el (dired-omit-mode):
18219 * dirtrack.el (dirtrack-mode):
18220 * doc-view.el (doc-view-minor-mode):
18221 * double.el (double-mode):
18222 * electric.el (electric-indent-mode, electric-pair-mode):
18223 * emacs-lock.el (emacs-lock-mode):
18224 * epa-hook.el (auto-encryption-mode):
18225 * follow.el (follow-mode):
18226 * font-core.el (font-lock-mode):
18227 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
18228 * help.el (temp-buffer-resize-mode):
18229 * hilit-chg.el (highlight-changes-mode)
18230 (highlight-changes-visible-mode):
18231 * hi-lock.el (hi-lock-mode):
18232 * hl-line.el (hl-line-mode, global-hl-line-mode):
18233 * icomplete.el (icomplete-mode):
18234 * ido.el (ido-everywhere):
18235 * image-file.el (auto-image-file-mode):
18236 * image-mode.el (image-minor-mode):
18237 * iswitchb.el (iswitchb-mode):
18238 * jka-cmpr-hook.el (auto-compression-mode):
18239 * linum.el (linum-mode):
18240 * longlines.el (longlines-mode):
18241 * master.el (master-mode):
18242 * mb-depth.el (minibuffer-depth-indicate-mode):
18243 * menu-bar.el (menu-bar-mode):
18244 * minibuf-eldef.el (minibuffer-electric-default-mode):
18245 * mouse-sel.el (mouse-sel-mode):
18246 * msb.el (msb-mode):
18247 * mwheel.el (mouse-wheel-mode):
18248 * outline.el (outline-minor-mode):
18249 * paren.el (show-paren-mode):
18250 * recentf.el (recentf-mode):
18251 * reveal.el (reveal-mode, global-reveal-mode):
18252 * rfn-eshadow.el (file-name-shadow-mode):
18253 * ruler-mode.el (ruler-mode):
18254 * savehist.el (savehist-mode):
18255 * scroll-all.el (scroll-all-mode):
18256 * scroll-bar.el (scroll-bar-mode):
18257 * server.el (server-mode):
18258 * shell.el (shell-dirtrack-mode):
18259 * simple.el (auto-fill-mode, transient-mark-mode)
18260 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
18261 (line-number-mode, column-number-mode, size-indication-mode)
18262 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
18263 * strokes.el (strokes-mode):
18264 * time.el (display-time-mode):
18265 * t-mouse.el (gpm-mouse-mode):
18266 * tool-bar.el (tool-bar-mode):
18267 * tooltip.el (tooltip-mode):
18268 * type-break.el (type-break-mode-line-message-mode)
18269 (type-break-query-mode):
18270 * view.el (view-mode):
18271 * whitespace.el (whitespace-mode, whitespace-newline-mode)
18272 (global-whitespace-mode, global-whitespace-newline-mode):
18273 * xt-mouse.el (xterm-mouse-mode): Doc fix.
18274
18275 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
18276 Fix autogenerated docstring.
18277
18278 2011-10-19 Juri Linkov <juri@jurta.org>
18279
18280 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
18281 by checking environment variables "DESKTOP_SESSION" and
18282 "XDG_CURRENT_DESKTOP". (Bug#9779)
18283
18284 2011-10-19 Juri Linkov <juri@jurta.org>
18285
18286 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
18287 (browse-url-chromium-program, browse-url-chromium-arguments):
18288 New defcustoms.
18289 (browse-url-default-browser): Check for `browse-url-chromium' and
18290 call `browse-url-chromium-program'.
18291 (browse-url-chromium): New command. (Bug#9779)
18292
18293 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
18294
18295 * facemenu.el (list-colors-duplicates): On Windows, detect more
18296 duplicates by assuming that only colors matching "^System" are
18297 special "system colors". (Bug#9722)
18298
18299 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
18300
18301 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
18302 to distinguish the author from the committer.
18303
18304 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
18305
18306 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
18307
18308 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
18309
18310 * international/mule.el (sgml-html-meta-auto-coding-function):
18311 Add support for detecting encoding in HTML5 specified only as
18312 <meta charset="UTF-8">. Implementation just makes http-equiv and
18313 content-type parts from HTML4 encoding string optional. (Bug#9716)
18314
18315 2011-10-18 Glenn Morris <rgm@gnu.org>
18316
18317 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
18318
18319 2011-10-18 Chong Yidong <cyd@gnu.org>
18320
18321 * faces.el (cursor): Doc fix.
18322
18323 2011-10-17 Chong Yidong <cyd@gnu.org>
18324
18325 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
18326
18327 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
18328
18329 * dirtrack.el (dirtrack): Support shell buffers with path
18330 prefixes, e.g. tramp-based remote shells. (Bug#9647)
18331
18332 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
18333
18334 * json.el: Bump version to 1.3 and note change in History.
18335 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
18336
18337 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
18338
18339 * comint.el (comint-insert-input, comint-send-input)
18340 (comint-get-old-input-default, comint-backward-matching-input)
18341 (comint-next-prompt): Use nil instead of `input' for field property of
18342 past user input (bug#114).
18343
18344 * minibuffer.el (completion--replace): Inherit surrounding properties
18345 (bug#114).
18346 (minibuffer-complete-and-exit): Use it.
18347
18348 * comint.el (comint--table-subvert): Quote the all-completions output
18349 (bug#9160).
18350
18351 2011-10-17 Martin Rudalics <rudalics@gmx.at>
18352
18353 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
18354
18355 * menu-bar.el (menu-bar-file-menu): Add entry for making new
18356 window on right of selected. (Bug#9350) Reword other window
18357 entries and separate them from frame entries.
18358
18359 2011-10-15 Glenn Morris <rgm@gnu.org>
18360
18361 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
18362 Doc fixes.
18363
18364 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
18365
18366 * net/network-stream.el (network-stream-open-starttls):
18367 Improve detection of failure due to lack of TLS support.
18368
18369 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
18370 putting the input text in front and in bold.
18371
18372 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
18373
18374 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
18375
18376 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
18377 empty buffer.
18378
18379 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
18380 unread-command-events rather than pushing yet-another event.
18381
18382 2011-10-14 Eli Zaretskii <eliz@gnu.org>
18383
18384 * mail/sendmail.el (sendmail-query-once): Improve the wording of
18385 the explanation of the possible choices. Make the options passed
18386 to completing-read shorter.
18387
18388 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
18389
18390 * textmodes/flyspell.el (flyspell-large-region): Make sure
18391 extended character mode is used if defined (Bug#1339).
18392
18393 2011-10-13 Eli Zaretskii <eliz@gnu.org>
18394
18395 * simple.el (what-cursor-position): Fix the display of the
18396 character info for LRE, LRO, RLE, and RLO characters by appending
18397 an invisible PDF.
18398
18399 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
18400
18401 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
18402 even in case of error; add debug spec; simplify data flow.
18403 (with-timeout-handler): Remove.
18404
18405 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
18406
18407 Fix Bug#6019, Bug#9315.
18408
18409 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
18410 complete `buffer-file-name', the local file name part could look
18411 remotely (for example on VMS).
18412
18413 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
18414 `tramp-run-real-handler'.
18415 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
18416 already quoted by '"'.
18417
18418 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
18419 Let `file-name-handler-alist' be nil, the local file name part
18420 could look remotely (for example on VMS).
18421
18422 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
18423
18424 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
18425 from here...
18426 (flyspell-post-command-hook): ...to here.
18427
18428 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
18429
18430 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
18431 if not needed.
18432 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
18433 using completion. Protect against "slow" callers.
18434 Remove the "message hack".
18435
18436 2011-10-11 Juri Linkov <juri@jurta.org>
18437
18438 * isearch.el (isearch-lazy-highlight-word): New variable.
18439 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
18440 Use it. (Bug#9727)
18441
18442 2011-10-11 Glenn Morris <rgm@gnu.org>
18443
18444 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
18445 like f90-previous-statement does.
18446
18447 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
18448
18449 * eshell/eshell.el (eshell-command): History should be saved
18450 only in interactive use, to avoid error.
18451
18452 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
18453
18454 * minibuffer.el (completion-file-name-table): Fix last change,
18455 i.e. ignore normal errors but not the other ones.
18456
18457 2011-10-10 Martin Rudalics <rudalics@gmx.at>
18458
18459 * window.el (special-display-buffer-names)
18460 (special-display-regexps): Remove some remnants of earlier
18461 changes from doc-strings.
18462 (quit-windows-on): New function.
18463
18464 * vc/vc.el (vc-revert, vc-rollback):
18465 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
18466 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
18467 (Bug#6183) (Bug#7074) (Bug#7447)
18468
18469 2011-10-09 Martin Rudalics <rudalics@gmx.at>
18470
18471 * window.el (frame-auto-hide-function): Add version tag.
18472 (Bug#9699)
18473
18474 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
18475
18476 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
18477 condition.
18478
18479 2011-10-09 Leo Liu <sdl.web@gmail.com>
18480
18481 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
18482 (Bug#9701)
18483
18484 2011-10-08 Glenn Morris <rgm@gnu.org>
18485
18486 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
18487 before the first code statement zero indent. (Bug#9690)
18488
18489 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
18490
18491 * simple.el (count-words-region): Always count in the region.
18492 Report the number of lines and characters too.
18493 (count-words): New command, which counts in the buffer if the
18494 region is inactive, as count-words-region used to.
18495 (count-words--message): New function. Handle plurals.
18496 (count-lines-region): Make it an alias for count-words-region.
18497
18498 * bindings.el (esc-map): Replace count-lines-region with
18499 count-words-region.
18500
18501 2011-10-08 Martin Rudalics <rudalics@gmx.at>
18502
18503 * window.el (window--delete): Delete dedicated frame
18504 unconditionally when argument KILL is non-nil. (Bug#9699)
18505 (switch-to-buffer): Fix doc-string typo.
18506
18507 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
18508
18509 * eshell/eshell.el (eshell-command): Avoid using hooks.
18510
18511 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
18512
18513 * bindings.el ([M-left],[M-right]): Bind to left-word and
18514 right-word respectively.
18515
18516 2011-10-07 Glenn Morris <rgm@gnu.org>
18517
18518 * cus-start.el (debug-on-quit): Fix custom type.
18519
18520 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
18521
18522 * subr.el (define-key-after): Clarify that the function is not
18523 useful for non-menu keymaps.
18524
18525 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
18526
18527 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
18528
18529 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
18530 in current minibuffer (Fix bug with recursive minibuffers).
18531
18532 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
18533
18534 * progmodes/gdb-mi.el (gdb): Doc fix.
18535
18536 2011-10-05 Martin Rudalics <rudalics@gmx.at>
18537
18538 * window.el (frame-auto-hide-function): New option replacing
18539 frame-auto-delete. Suggested by Stefan Monnier.
18540 (window--delete): Call frame-auto-hide-function instead of
18541 investigating frame-auto-delete.
18542 (window-point-1, set-window-point-1): New functions.
18543 (window-in-direction, record-window-buffer, window-state-get-1)
18544 (display-buffer-record-window): Use window-point-1 instead of
18545 window-point.
18546 (set-window-buffer-start-and-point): Use set-window-point-1.
18547
18548 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
18549
18550 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
18551
18552 2011-10-05 Glenn Morris <rgm@gnu.org>
18553
18554 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
18555 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
18556
18557 2011-10-05 Leo Liu <sdl.web@gmail.com>
18558
18559 * subr.el (read-char-choice): Fix argument to buffer-live-p which
18560 works with buffer object.
18561
18562 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
18563
18564 * mpc.el (mpc-tool-bar-map): Add labels.
18565
18566 2011-10-04 Glenn Morris <rgm@gnu.org>
18567
18568 * calendar/holidays.el (calendar-check-holidays): Doc fix.
18569
18570 2011-10-04 Martin Rudalics <rudalics@gmx.at>
18571
18572 * window.el (window--delete): New function.
18573 (frame-auto-delete): Resuscitate option.
18574 (bury-buffer, replace-buffer-in-windows)
18575 (quit-window): Rewrite using window--delete.
18576 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
18577 Pass display-buffer-mark-dedicated to window--display-buffer-2
18578 (Bug#9639).
18579
18580 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
18581
18582 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
18583 returns a list (bug#9554). Add remote file name completion.
18584 * comint.el (comint--table-subvert): Curry and get quote&unquote
18585 functions as arguments.
18586 (comint--complete-file-name-data): Adjust call accordingly.
18587 * pcomplete.el (pcomplete--table-subvert): Remove.
18588 (pcomplete-completions-at-point): Use comint--table-subvert instead.
18589
18590 * minibuffer.el (completion-table-case-fold): Use currying.
18591 (completion--styles-type, completion--cycling-threshold-type):
18592 New constants.
18593 (completion-styles, completion-category-overrides)
18594 (completion-cycle-threshold): Use them.
18595 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
18596 completion-table-case-fold.
18597
18598 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
18599
18600 * minibuffer.el (completion-category-overrides): Fix type of styles
18601 and add more user friendly tags (bug#9660).
18602
18603 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
18604
18605 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
18606 (mule-input-method-string): New widget.
18607 (default-input-method, language-info-custom-alist): Use it.
18608
18609 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
18610
18611 * pcomplete.el: Require comint.
18612 (pcomplete--common-suffix): Remove.
18613 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
18614 (pcomplete--table-subvert): Sync with comint--table-subvert.
18615 (pcomplete--entries): Use comint-completion-file-name-table.
18616 * comint.el (comint-unquote-filename): Simplify.
18617 (comint-completion-file-name-table): New function (bug#9616).
18618 (comint--complete-file-name-data): Use it.
18619
18620 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
18621 (pcmpl-gnu-tar-buffer): Remove.
18622 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
18623 around. Make sure pcomplete-suffix-list is only changed temporarily.
18624 Don't look inside the tar's file if it's too large.
18625
18626 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
18627
18628 * cus-edit.el (custom-mode-map):
18629 * epa.el (epa-key-list-mode-map):
18630 * man.el (Man-mode-map):
18631 * startup.el (splash-screen-keymap):
18632 * simple.el (special-mode-map): Use scroll-up-command and
18633 scroll-down-command.
18634
18635 * progmodes/idlw-help.el (idlwave-help-mode-map):
18636 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
18637 * net/newst-plainview.el (newsticker-mode-map):
18638 * emulation/ws-mode.el (wordstar-mode-map):
18639 * emulation/vi.el (vi-com-map):
18640 * calc/calc-graph.el (calc-graph-show-dumb):
18641 * term/sun.el (terminal-init-sun):
18642 * term/ns-win.el (global-map):
18643 * progmodes/grep.el (grep-mode-map):
18644 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
18645 * mail/rmail.el (rmail-mode-map):
18646 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
18647
18648 * custom.el (custom-safe-themes, load-theme): Treat value of t for
18649 custom-safe-themes as special.
18650
18651 2011-10-01 Julien Danjou <julien@danjou.info>
18652
18653 * notifications.el (notifications-notify): Fix docstring.
18654
18655 2011-10-01 Per Starbäck <per@starback.se>
18656
18657 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
18658
18659 2011-09-30 Martin Rudalics <rudalics@gmx.at>
18660
18661 * startup.el (command-line-1): Fix last fix by inserting
18662 initial-scratch-message into *scratch* before displaying it.
18663 (Bug#9605) and (Bug#9636)
18664
18665 2011-09-29 Eli Zaretskii <eliz@gnu.org>
18666
18667 * simple.el (line-move): If auto-hscroll-mode is disabled and the
18668 window is hscrolled, move by logical lines. (Bug#9607)
18669 (line-move-visual): Update the doc string to the above effect.
18670
18671 2011-09-29 Martin Rudalics <rudalics@gmx.at>
18672
18673 * window.el (display-buffer-record-window): When WINDOW is the
18674 selected window use `point' instead of `window-point'. (Bug#9626)
18675
18676 * startup.el (command-line-1): Use insert-before-markers when
18677 inserting initial-scratch-message. (Bug#9605)
18678
18679 * help.el (help-window): Remove variable.
18680
18681 2011-09-29 Glenn Morris <rgm@gnu.org>
18682
18683 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
18684
18685 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
18686
18687 * descr-text.el (describe-char-categories): Accept category
18688 descriptions more than one line long.
18689
18690 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
18691
18692 * simple.el (delete-trailing-whitespace): Fix last change.
18693
18694 * progmodes/perl-mode.el (perl-syntax-propertize-function):
18695 Don't confuse "y => 3" as the beginning of a `y' operation.
18696
18697 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
18698 object has more than 4 slots (bug#9613).
18699
18700 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
18701
18702 * subr.el (with-output-to-temp-buffer):
18703 * net/quickurl.el (quickurl, quickurl-browse-url):
18704 Fix typos in docstrings.
18705
18706 2011-09-27 Eli Zaretskii <eliz@gnu.org>
18707
18708 * minibuffer.el (completion-styles)
18709 (completion-category-overrides): Cross reference each other in doc
18710 strings.
18711
18712 2011-09-27 Glenn Morris <rgm@gnu.org>
18713
18714 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
18715 to split-string. (Bug#9606)
18716
18717 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
18718
18719 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
18720 (bug#9615).
18721
18722 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
18723
18724 * emacs-lisp/package.el (list-packages): Fix echo area message.
18725
18726 2011-09-27 Leo Liu <sdl.web@gmail.com>
18727
18728 * ido.el (ido-read-internal): Accept cons cell HIST arg.
18729
18730 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
18731
18732 * net/dbus.el (dbus-unregister-object): Don't release services for
18733 registered signals. (Bug#9581)
18734
18735 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
18736
18737 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
18738 function that picks between cfengine 2 and 3 support
18739 automatically. Update docs accordingly.
18740
18741 2011-09-22 Kenichi Handa <handa@m17n.org>
18742
18743 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
18744 ZERO.
18745 (indian-itrans-v5-table-for-tamil): New variable.
18746 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
18747
18748 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
18749
18750 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
18751 that's true if the current command involved collapsing of text.
18752 It's reset to false at the beginning of the next command.
18753 (allout-post-command-business): Move the cursor to the beginning
18754 of entry if the cursor is hidden and collapsing activity just
18755 happened.
18756
18757 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
18758
18759 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
18760 tracking (Bug#9541).
18761
18762 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
18763
18764 * net/newst-reader.el (newsticker-html-renderer)
18765 (newsticker-show-news): Automatically load html rendering package
18766 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
18767 because w3m-fill-column is let-bound" and the error "Symbol's value
18768 as variable is void: w3m-fill-column".
18769
18770 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
18771
18772 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
18773 Release services only if they are defined. (Bug#9581)
18774
18775 2011-09-23 Richard Stallman <rms@gnu.org>
18776
18777 * textmodes/paragraphs.el (forward-sentence): For backwards case,
18778 distinguish start of paragraph from start of its text.
18779
18780 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
18781
18782 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
18783 (rmail-generate-viewer-buffer): Put that hook on view buffer.
18784 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
18785
18786 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
18787
18788 * international/mule-diag.el (mule-diag): Insert a newline after
18789 each fontset description.
18790
18791 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
18792
18793 * simple.el (delete-trailing-whitespace):
18794 Document last change; simplify.
18795
18796 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
18797
18798 * simple.el (delete-trailing-whitespace): Also delete
18799 extra newlines at the end of the buffer.
18800
18801 * textmodes/picture.el: Make motion commands obey shift-select-mode.
18802 (picture-newline): Use forward-line so as to ignore fields.
18803
18804 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
18805
18806 * subr.el (with-wrapper-hook): Fix edebug spec.
18807
18808 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
18809
18810 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
18811 (bug#4538).
18812
18813 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
18814
18815 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
18816 Fix nasty bug using wrong cached values.
18817
18818 2011-09-23 Alan Mackenzie <acm@muc.de>
18819
18820 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
18821
18822 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
18823
18824 * window.el (pop-to-buffer): Ensure right window is selected if we
18825 chose another frame.
18826
18827 2011-09-22 Eli Zaretskii <eliz@gnu.org>
18828
18829 * simple.el (what-cursor-position): Use get-char-property-change
18830 and next-single-char-property-change, to be able to show display
18831 properties that come from overlays as well as text properties.
18832
18833 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
18834
18835 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
18836
18837 * cmuscheme.el (run-scheme, switch-to-scheme):
18838 * cus-edit.el (customize-group, custom-buffer-create)
18839 (customize-browse):
18840 * info.el (info):
18841 * shell.el (shell):
18842 * mail/sendmail.el (mail):
18843 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
18844
18845 2011-09-22 Richard Stallman <rms@gnu.org>
18846
18847 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
18848 move back only to line beg, don't move back over blank lines.
18849
18850 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
18851
18852 * files.el (copy-directory): Set directory attributes only in case
18853 they could be retrieved from the source directory. (Bug#9565)
18854
18855 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
18856
18857 * progmodes/hideshow.el (hs-looking-at-block-start-p)
18858 (hs-find-block-beginning, hs-hide-level-recursive):
18859 Ignore strings as well as comments. (Bug#9502)
18860
18861 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
18862
18863 * progmodes/sql.el (sql-comint-postgres):
18864 Convert port number to a string. (Bug#9566)
18865
18866 2011-09-22 Martin Rudalics <rudalics@gmx.at>
18867
18868 * window.el (quit-window): Undedicate window when switching to
18869 previous buffer. Reported by Thierry Volpiatto
18870 <thierry.volpiatto@gmail.com>.
18871 (special-display-popup-frame): When popping up a new frame reset
18872 its previous buffers to nil. Simplify code.
18873
18874 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
18875
18876 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
18877 and process filter, as done also in `shell-command'.
18878
18879 2011-09-21 Martin Rudalics <rudalics@gmx.at>
18880
18881 * window.el (set-window-buffer-start-and-point):
18882 Call set-window-start with NOFORCE argument t.
18883 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
18884 (quit-window): Reword doc-string. Handle new format of
18885 quit-restore parameter. Don't delete window if it has a
18886 previous buffer we can show instead of the present one.
18887 (display-buffer-record-window): Rewrite using a new format for
18888 the quit-restore window parameter
18889 (special-display-popup-frame, display-buffer-same-window)
18890 (display-buffer-reuse-window, display-buffer-pop-up-frame)
18891 (display-buffer-pop-up-window, display-buffer-use-some-window):
18892 Adapt symbol passed to display-buffer-record-window.
18893 * help.el (help-window-setup): Handle new format of quit-restore
18894 parameter.
18895
18896 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
18897
18898 * faces.el (face-list): Fix docstring (bug#9564).
18899
18900 * window.el (display-buffer--action-function-custom-type):
18901 Don't include internal functions in the Custom interface.
18902
18903 2011-09-20 Juri Linkov <juri@jurta.org>
18904
18905 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
18906 (Info-forward-node, Info-backward-node, Info-next-preorder)
18907 (Info-last-preorder): Use it. (Bug#9528)
18908
18909 2011-09-20 Juri Linkov <juri@jurta.org>
18910
18911 * info.el (Info-last-preorder): Visit last menu item only when
18912 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
18913
18914 2011-09-20 Julien Danjou <julien@danjou.info>
18915
18916 * password-cache.el (password-cache-remove): Remove entries even if the
18917 value is nil, so that password with a nil value (negative caching) is
18918 possible to invalidate.
18919
18920 2011-09-20 Lawrence Mitchell <wence@gmx.li>
18921
18922 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
18923 all whitespace around breakpoint. (Bug#9553)
18924 (f90-find-breakpoint): Only break at whitespace inside a comment.
18925
18926 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
18927
18928 * minibuffer.el (completion-file-name-table): Keep track of errors.
18929 (completion-table-with-predicate): Handle the case where pred1 is nil.
18930 * pcomplete.el (pcomplete-completions-at-point): Simplify.
18931
18932 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
18933
18934 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
18935 (debugger-return-value): Signal an error if the debugging context does
18936 not await any return value.
18937
18938 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
18939 * image-mode.el (image-toggle-display-text)
18940 (image-toggle-display-image): Stay away from evil `intangible'.
18941
18942 2011-09-19 Leo Liu <sdl.web@gmail.com>
18943
18944 * replace.el (occur-revert-arguments): Make it permanent-local.
18945 (occur-mode): Don't call font-lock-defontify.
18946
18947 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
18948
18949 * net/ldap.el (ldap-search-internal): Don't push empty search
18950 result (Bug#9508).
18951
18952 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
18953
18954 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
18955
18956 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
18957
18958 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
18959 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
18960
18961 2011-09-18 Juri Linkov <juri@jurta.org>
18962
18963 * buff-menu.el (Buffer-menu-mode-map):
18964 * dired.el (dired-mode-map):
18965 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
18966 (lisp-interaction-mode-map):
18967 * emacs-lisp/package.el (package-menu-mode-map):
18968 * epa.el (epa-key-list-mode-map):
18969 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
18970 (menu-bar-options-menu):
18971 * outline.el (outline-mode-menu-bar-map):
18972 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
18973 * vc/vc-dir.el (vc-dir-menu-map):
18974 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
18975 Capitalize non-function content words in menu item strings.
18976
18977 * dired.el (dired-mode-map): Add menu item for
18978 `image-dired-dired-toggle-marked-thumbs'.
18979
18980 2011-09-18 Juri Linkov <juri@jurta.org>
18981
18982 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
18983 to `isearch-case-fold-search' and restore its original value
18984 after the `isearch-mode' call.
18985
18986 2011-09-18 Juri Linkov <juri@jurta.org>
18987
18988 * progmodes/grep.el (grep-process-setup): Don't check code for 1
18989 because `zgrep' returns 1 for successful matches (bug#9226).
18990
18991 2011-09-18 Juri Linkov <juri@jurta.org>
18992
18993 * info.el (Info-extract-menu-node-name): Check the second match
18994 for empty string (second test-case of bug#9528).
18995 (Info-last-preorder): Let-bind `Info-history' to nil to not add
18996 intermediate nodes to the history (first test-case of bug#9528).
18997
18998 2011-09-18 Juri Linkov <juri@jurta.org>
18999
19000 * info.el (Info-mode-syntax-table): New variable.
19001 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
19002
19003 2011-09-18 Juri Linkov <juri@jurta.org>
19004
19005 * info.el (Info-file-supports-index-cookies):
19006 Increment line-beginning-position's arg from 3 to 4 because makeinfo
19007 outputs one more line for long file names (bug#4142).
19008
19009 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
19010
19011 * newcomment.el (comment-normalize-vars): If prompting for
19012 comment-start, set comment-start-skip too (Bug#8424).
19013
19014 2011-09-18 Johan Bockgård <bojohan@gnu.org>
19015
19016 * icomplete.el: Fix previous fix of Bug#5849.
19017 (icomplete-mode): Don't set completion-show-inline-help.
19018 (icomplete-minibuffer-setup): Set completion-show-inline-help
19019 locally during icompletion.
19020
19021 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
19022
19023 * woman.el (woman2-process-escapes): Don't delete unrecognized
19024 escapes (Bug#7843).
19025
19026 * files.el (inhibit-first-line-modes-regexps): Add image files.
19027 (hack-local-variables-prop-line): Return nil for malformed
19028 prop-lines (Bug#9044).
19029
19030 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
19031
19032 * net/tramp.el (top): Don't require 'shell.
19033 (tramp-methods): Fix docstring.
19034 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
19035 Return complete remote file name. Handle "smb" case.
19036 Use `tramp-tmpdir', if defined for the respective method.
19037 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
19038
19039 * net/tramp-compat.el (top): Require 'shell.
19040
19041 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
19042 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
19043 `tramp-current-host'.
19044 (tramp-get-remote-tmpdir): Remove.
19045
19046 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
19047 `tramp-tmpdir' entries.
19048 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
19049 (tramp-smb-handle-file-attributes): Ignore errors.
19050 (tramp-smb-wait-for-output): Check also for process end.
19051
19052 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
19053
19054 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
19055 when sending QUIT (bug#9312).
19056
19057 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
19058
19059 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
19060 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
19061 occur-mode-display-occurrence.
19062 (occur-edit-mode): Add usage message.
19063 (occur-cease-edit): New command.
19064 (occur-after-change-function): Use text properties to find the
19065 position of the prefix text.
19066 (occur-engine): Set stickiness of prefix text properties.
19067
19068 2011-09-17 Glenn Morris <rgm@gnu.org>
19069
19070 * progmodes/etags.el (complete-tag):
19071 Fix call to completion-in-region. (Bug#9526)
19072
19073 2011-09-17 Juri Linkov <juri@jurta.org>
19074
19075 * textmodes/ispell.el (ispell-word): Add to the error message
19076 the word, ispell program name and current dictionary (bug#9121).
19077 (ispell-tex-arg-end): Capitalize "error" in the error message.
19078
19079 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
19080
19081 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
19082 check. (Bug#4251)
19083
19084 2011-09-17 Juri Linkov <juri@jurta.org>
19085
19086 * window.el (window-safe-min-height, window-safe-min-width):
19087 Fix typos (followup to bug#9522).
19088
19089 2011-09-17 Sven Joachim <svenjoac@gmx.de>
19090
19091 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
19092
19093 2011-09-16 Eli Zaretskii <eliz@gnu.org>
19094
19095 * simple.el (line-move): If goal-column is set, move by logical
19096 lines, not by display lines. (Bug#971)
19097 (next-line, previous-line, goal-column, line-move-visual): Doc fix
19098 to reflect the above change.
19099
19100 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
19101
19102 * image.el (imagemagick-register-types): Use regexp-opt.
19103
19104 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
19105
19106 * window.el (display-buffer-base-action): Rename from
19107 display-buffer-default-action. Make default value empty.
19108 (display-buffer-overriding-action): Convert to defvar.
19109 (display-buffer-fallback-action): New var.
19110
19111 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
19112
19113 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
19114 declaration.
19115 (package--add-to-archive-contents): If there is a duplicate entry
19116 with an older version, remove it.
19117 (package-menu-mark-delete, package-menu-mark-install)
19118 (package-menu-mark-unmark): Make unused args optional.
19119 (package-menu-mark-obsolete-for-deletion):
19120 Use package-menu-get-status instead of a regexp search.
19121 (package-menu-get-status): Use tabulated-list-entry.
19122 (package-menu-mark-upgrades): New command.
19123 (package-menu-mode-map): Bind it to U. Add it to menu bar.
19124 (package-menu-execute): Do installation before deletion.
19125 (package-menu-refresh, package-menu-execute): Use derived-mode-p
19126 instead of checking major-mode.
19127 (package-menu--find-upgrades): New function.
19128
19129 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
19130
19131 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
19132 passwords in the log buffer.
19133 (smtpmail-process-filter): Update the process marker so that the
19134 "broken by peer" status message is inserted in the right place.
19135
19136 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
19137
19138 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
19139 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
19140 bibtex-completion-at-point-function.
19141 (bibtex-completion-at-point-function): Use them.
19142
19143 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
19144
19145 * mpc.el (mpc-constraints-tag-lookup): New function.
19146 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
19147 also to browser "album|playlist".
19148
19149 2011-09-14 Juri Linkov <juri@jurta.org>
19150
19151 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
19152 (isearch-edit-string): Use length of `isearch-string' when
19153 `isearch-fail-pos' returns nil.
19154 (isearch-message): Remove duplicate code and call
19155 `isearch-fail-pos' with arg `t'.
19156
19157 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
19158
19159 * replace.el (occur-mode-goto-occurrence): Don't force using other
19160 window (Bug#9499).
19161
19162 * dired-aux.el (dired-do-chmod): Don't provide initial input.
19163
19164 2011-09-14 Martin Rudalics <rudalics@gmx.at>
19165
19166 * window.el (display-buffer-window): Remove.
19167 (display-buffer-record-window): Use help-setup window parameter
19168 instead of variable display-buffer-window.
19169 (display-buffer-function, special-display-buffer-names)
19170 (special-display-function): Mention help-setup parameter instead
19171 of display-buffer-window in doc-string.
19172 * help.el (help-window-setup): New argument help-window.
19173 Use help-window-setup parameter instead of display-buffer-window.
19174 Reword some messages.
19175 (with-help-window): Pass window used for displaying the buffer
19176 to help-window-setup. Don't set display-buffer-window.
19177
19178 2011-09-13 Glenn Morris <rgm@gnu.org>
19179
19180 * emacs-lisp/debug.el (debugger-make-xrefs):
19181 Preserve point. (Bug#9462)
19182
19183 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
19184
19185 * window.el (window-deletable-p): Use next-frame.
19186
19187 2011-09-13 Martin Rudalics <rudalics@gmx.at>
19188
19189 * window.el (window-auto-delete): Remove.
19190 (window-deletable-p): Remove argument FORCE. Don't deal with
19191 dedication and previous buffers.
19192 (switch-to-prev-buffer): Don't delete window.
19193 (delete-windows-on): Delete a window's frame if and only if the
19194 window is dedicated.
19195 (replace-buffer-in-windows): Delete buffer's window or frame if
19196 and only if window is dedicated.
19197 (quit-window): Handle quit-restore as before last change.
19198 (bury-buffer): Delete window only if window-deletable-p returns t.
19199
19200 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
19201
19202 * window.el (window-deletable-p): Never delete the last frame on a
19203 given terminal.
19204
19205 2011-09-13 Glenn Morris <rgm@gnu.org>
19206
19207 * help.el (describe-key-briefly): Copy previous standard-output change.
19208
19209 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
19210
19211 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
19212
19213 2011-09-13 Glenn Morris <rgm@gnu.org>
19214
19215 * emacs-lisp/lisp-mode.el (lisp-indent-function):
19216 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
19217
19218 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
19219
19220 * dired-aux.el (dired-mark-read-string): Don't return default
19221 value on empty input (Bug#9361).
19222 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
19223 Omit initial minibuffer contents.
19224 (dired-do-chmod): Signal an error on empty input.
19225 (dired-mark-read-string): Don't return default on empty input.
19226
19227 * files.el (file-modes-symbolic-to-number): Doc fix.
19228
19229 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
19230
19231 * international/mule-cmds.el (ucs-completions): Remove.
19232 (read-char-by-name): Use complete-with-action instead; add metadata.
19233
19234 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
19235
19236 * window.el (display-buffer--action-function-custom-type)
19237 (display-buffer--action-custom-type): New vars.
19238 (display-buffer-alist, display-buffer-default-action)
19239 (display-buffer-overriding-action): Add defcustom types.
19240
19241 * frame.el (delete-other-frames): Doc fix (Bug#276).
19242
19243 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
19244
19245 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
19246
19247 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
19248
19249 Change modes that used same-window-* vars to use switch-to-buffer.
19250
19251 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
19252 Use switch-to-buffer.
19253
19254 * cus-edit.el (customize-group, custom-buffer-create)
19255 (customize-browse, custom-buffer-create-other-window):
19256 Use switch-to-buffer or switch-to-buffer-other-window.
19257
19258 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
19259 (Info-prev, Info-up, Info-speedbar-goto-node)
19260 (info-display-manual): Use switch-to-buffer.
19261 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
19262
19263 * mail/sendmail.el (mail): Use switch-to-buffer.
19264 (mail-recover): Use switch-to-buffer-other-window.
19265
19266 * cmuscheme.el (run-scheme, switch-to-scheme):
19267 * ielm.el (ielm):
19268 * shell.el (shell):
19269 * net/rlogin.el (rlogin):
19270 * net/telnet.el (telnet, rsh):
19271 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
19272
19273 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
19274
19275 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
19276
19277 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
19278
19279 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
19280 so don't mention it (bug#9301).
19281 (dired-sort-toggle-or-edit): Clarify string further.
19282
19283 * faces.el (face-spec-set-match-display): Make `(type graphic)'
19284 match `x', `w32' and `ns', like the manual says (bug#9029).
19285
19286 * subr.el (eval-after-load): Doc string clarification (bug#9125).
19287 (process-kill-buffer-query-function): Mention the buffer name in
19288 the query.
19289
19290 * image-mode.el (image-next-line): The line parameter is mandatory
19291 (bug#9258).
19292
19293 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
19294 which can be useful (bug#9301).
19295
19296 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
19297
19298 * subr.el (match-string): Mention that the current buffer should
19299 be the same as the search was done in (bug#9282).
19300
19301 * facemenu.el: Disable the remove-* commands if the mark isn't
19302 active (bug#9162).
19303
19304 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
19305
19306 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
19307 of display-buffer.
19308 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
19309
19310 * replace.el (occur-mode-goto-occurrence)
19311 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
19312 and display-buffer.
19313
19314 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
19315 display-buffer.
19316
19317 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
19318 special-display and same-window variables.
19319 (mail-other-window): Use switch-to-buffer-other-window.
19320 (mail-other-frame): USe switch-to-buffer-other-frame.
19321
19322 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
19323 Use display-buffer-other-frame.
19324 (gdb-display-gdb-buffer): Use pop-to-buffer.
19325
19326 * progmodes/gud.el (gud-goto-info): Use info-other-window.
19327
19328 * progmodes/python.el: Don't set same-window-buffer-names.
19329
19330 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
19331
19332 * window.el (display-buffer-alist): Add *Python*.
19333
19334 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
19335
19336 * window.el (display-buffer-alist): Add entry for buffers
19337 previously handled same-window-*.
19338 (display-buffer-alist, display-buffer-default-action)
19339 (display-buffer-overriding-action): Mark as risky.
19340 (display-buffer-alist): Document action function changes.
19341 (display-buffer--same-window-action)
19342 (display-buffer--other-frame-action): New variables.
19343 (switch-to-buffer, display-buffer-other-frame): Use them.
19344 (display-buffer): Rename reuse-frame entry to reusable-frames.
19345 (display-buffer-reuse-selected-window): Function deleted.
19346 (display-buffer-reuse-window): Handle reusable-frames alist entry.
19347 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
19348 (display-buffer-special): New function.
19349 (display-buffer--maybe-pop-up-frame-or-window): Rename from
19350 display-buffer-reuse-or-pop-window. Split off special-display
19351 part into display-buffer-special.
19352 (display-buffer-use-some-window): Don't perform any special
19353 pop-up-frames handling.
19354 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
19355 (display-buffer--maybe-same-window): Rename from
19356 display-buffer-maybe-same-window.
19357
19358 * info.el: Don't set same-window-regexps.
19359 (info-setup): New function.
19360 (info-other-window, info): Call it.
19361
19362 * cus-edit.el: Don't set same-window-regexps.
19363 (customize-group): New argument.
19364 (customize-group-other-window): Use it.
19365 (customize-face, customize-face-other-window): Likewise.
19366 (custom-buffer-create-other-window): Use pop-to-buffer directly.
19367
19368 * net/rlogin.el:
19369 * net/telnet.el:
19370 * progmodes/gud.el: Don't set same-window-regexps.
19371
19372 * cmuscheme.el:
19373 * ielm.el:
19374 * shell.el:
19375 * mail/sendmail.el:
19376 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
19377
19378 2011-09-10 Juri Linkov <juri@jurta.org>
19379
19380 * isearch.el (isearch-edit-string): Remove obsolete mention of
19381 `C-w' (`isearch-yank-word-or-char') from docstring.
19382 (isearch-query-replace): Fix typo in docstring (bug#9466).
19383
19384 2011-09-10 Juri Linkov <juri@jurta.org>
19385
19386 * paren.el (show-paren-function): Don't show escaped parens.
19387 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
19388
19389 2011-09-10 Eli Zaretskii <eliz@gnu.org>
19390
19391 * mail/sendmail.el (mml-to-mime, mml-attach-file)
19392 (mm-default-file-encoding): Remove autoload forms, they are
19393 replaced with autoload cookies in mml.el and mm-encode.el.
19394 (mail-add-attachment): New command.
19395 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
19396 (mail-mode): Mention mail-insert-file and mail-add-attachment in
19397 the doc string.
19398 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
19399
19400 2011-09-10 Reuben Thomas <rrt@sc3d.org>
19401
19402 * simple.el (count-words-region): Use buffer if there's no region
19403 (bug#9429).
19404
19405 2011-09-09 Juri Linkov <juri@jurta.org>
19406
19407 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
19408 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
19409 (wdired-isearch-filter-read-only): New function. (Bug#6362)
19410
19411 2011-09-09 Alan Mackenzie <acm@muc.de>
19412
19413 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
19414 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
19415
19416 2011-09-09 Eli Zaretskii <eliz@gnu.org>
19417
19418 Fix for Savannah bug#9392.
19419 * simple.el (mail-encode-mml): New defvar.
19420
19421 * mail/rmail.el (mail-encode-mml): Add a defvar.
19422 (rmail-enable-mime-composing): Default to t.
19423 (rmail-forward): Use MIME method of forwarding only if both
19424 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
19425 Set mail-encode-mml non-nil if the MIME method was used.
19426
19427 * mail/sendmail.el (mml-to-mime): Add autoload form.
19428 (mail-encode-mml): Add a defvar.
19429 (mail-mode): Make mail-encode-mml buffer-local and initialize it
19430 to nil.
19431 (mail-send): If mail-encode-mml is non-nil, run the outgoing
19432 message through mml-to-mime, and reset mail-encode-mml to nil.
19433
19434 2011-09-09 Glenn Morris <rgm@gnu.org>
19435
19436 * woman.el (woman-if-body): When processing an .el block,
19437 do not delete the next .el block as well. (Bug#9447)
19438 (woman-special-characters): Add oq, cq, and hy characters.
19439
19440 2011-09-08 Martin Rudalics <rudalics@gmx.at>
19441
19442 * window.el (window-deletable-p): Make sure window is live before
19443 invoking window-prev-buffers.
19444
19445 2011-09-08 Leo Liu <sdl.web@gmail.com>
19446
19447 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
19448
19449 2011-09-08 Juri Linkov <juri@jurta.org>
19450
19451 * progmodes/compile.el (compilation-environment): Make it
19452 a defcustom (bug#8340).
19453
19454 2011-09-08 Martin Rudalics <rudalics@gmx.at>
19455
19456 * window.el (frame-auto-delete): Rename to window-auto-delete.
19457 Make it control auto-deletion of windows and/or frames.
19458 (window-deletable-p): New argument FORCE. Rewrite conditions
19459 for deleting window/frame. (Bug#9419)
19460 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
19461 Rewrite handling of case when window/frame can be deleted.
19462 (delete-windows-on): Call window-deletable-p with new FORCE
19463 argument t. (Bug#9456)
19464
19465 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
19466
19467 * help-mode.el (help-mode): Restore autoload.
19468
19469 2011-09-07 Juri Linkov <juri@jurta.org>
19470
19471 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
19472 `compilation-environment'. Set buffer-local
19473 `compilation-environment' to `thisenv' later after (funcall mode).
19474 (Bug#8340)
19475
19476 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
19477 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
19478 instead of replacing its value. (Bug#8340)
19479
19480 2011-09-07 Juri Linkov <juri@jurta.org>
19481
19482 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
19483 based on text properties put by `grep-filter' instead of matching
19484 escape sequences.
19485 (grep-mode): Set buffer-local `compilation-error-screen-columns'
19486 to the value of `grep-error-screen-columns' (bug#9438).
19487
19488 2011-09-07 Juri Linkov <juri@jurta.org>
19489
19490 * simple.el (next-error-highlight, next-error-highlight-no-select):
19491 Doc fix (bug#9432).
19492
19493 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
19494
19495 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
19496 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
19497
19498 2011-09-07 Leo Liu <sdl.web@gmail.com>
19499
19500 * net/rcirc.el (rcirc-mode): Conditionally initialize
19501 rcirc-input-ring.
19502
19503 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
19504
19505 * emacs-lisp/find-func.el (find-function-C-source): Only set
19506 find-function-C-source-directory after checking that we found a source
19507 file there (bug#9440).
19508
19509 2011-09-06 Alan Mackenzie <acm@muc.de>
19510
19511 * isearch.el (isearch-other-meta-char): Wherever a key list is
19512 unread, "unread" the prefix arg, too. This fixes bug #8901.
19513
19514 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
19515
19516 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
19517
19518 2011-09-05 Juri Linkov <juri@jurta.org>
19519
19520 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
19521
19522 2011-09-05 Juri Linkov <juri@jurta.org>
19523
19524 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
19525 keeping point where processing of grep matches begins, and
19526 continue to delete remaining escape sequences from the same point.
19527 (grep-filter): Make leading zero optional in "0?1;31m" because
19528 git-grep emits "\033[1;31m" escape sequences unlike expected
19529 "\033[01;31m" as GNU Grep does (bug#9408).
19530 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
19531
19532 2011-09-05 Juri Linkov <juri@jurta.org>
19533
19534 * subr.el (y-or-n-p): Capitalize "yes".
19535
19536 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
19537
19538 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
19539 `tramp-cache-unload-hook' where appropriate.
19540 (tramp-methods): Rename `tramp-remote-sh' to
19541 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
19542 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
19543
19544 * net/tramp-sh.el (top): Don't require 'shell.
19545 (tramp-methods): Add `tramp-remote-shell' and
19546 `tramp-remote-shell-args' entries.
19547 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
19548 (tramp-sh-handle-shell-command): Remove.
19549 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
19550 Use `tramp-remote-shell'.
19551
19552 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
19553
19554 * mail/sendmail.el (sendmail-query-once-function): Delete.
19555 (sendmail-query-once): Save directly to send-mail-function.
19556 Update message-send-mail-function too.
19557
19558 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
19559
19560 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
19561
19562 * progmodes/python.el (python-mode-map): Use correct function to
19563 start python interpreter from menu-bar (as reported by Geert
19564 Kloosterman).
19565 (inferior-python-mode-map): Fix typo.
19566 (python-shell-map): Remove.
19567
19568 2011-09-03 Deniz Dogan <deniz@dogan.se>
19569
19570 * net/rcirc.el (rcirc-print): Simplify code for
19571 rcirc-scroll-show-maximum-output. There is no need to walk
19572 through all windows to find the right one.
19573
19574 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
19575
19576 * help.el (help-return-method): Doc fix.
19577
19578 2011-09-03 Martin Rudalics <rudalics@gmx.at>
19579
19580 * window.el (window-deletable-p): Don't return a non-nil value
19581 when there's a buffer that was shown in the window before.
19582 (Bug#9419)
19583 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
19584 Set window's previous buffers to nil.
19585
19586 2011-09-03 Eli Zaretskii <eliz@gnu.org>
19587
19588 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
19589 newline before and after the tag line, so it doesn't interfere
19590 with determining the paragraph direction of bidirectional text.
19591
19592 2011-09-03 Leo Liu <sdl.web@gmail.com>
19593
19594 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
19595
19596 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
19597
19598 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
19599 (pop-to-buffer): Change interactive spec. Pass second argument
19600 directly to display-buffer.
19601 (display-buffer): Fix interactive spec. Use functionp to
19602 distinguish between a function and a list of functions.
19603
19604 * abbrev.el (edit-abbrevs):
19605 * arc-mode.el (archive-extract):
19606 * autoinsert.el (auto-insert):
19607 * bookmark.el (bookmark-bmenu-list):
19608 * files.el (find-file):
19609 * view.el (view-buffer):
19610 * progmodes/compile.el (compilation-goto-locus):
19611 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
19612
19613 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
19614
19615 * window.el (display-buffer-alist): Doc fix.
19616 (display-buffer): Add docstring. Don't treat
19617 display-buffer-default specially.
19618 (display-buffer-reuse-selected-window)
19619 (display-buffer-same-window, display-buffer-maybe-same-window)
19620 (display-buffer-reuse-window, display-buffer-pop-up-frame)
19621 (display-buffer-pop-up-window)
19622 (display-buffer-reuse-or-pop-window)
19623 (display-buffer-use-some-window): New functions.
19624 (display-buffer-default-action): Use them.
19625 (display-buffer-default): Delete.
19626 (pop-to-buffer-1): Fix choice of actions.
19627
19628 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
19629
19630 * minibuffer.el (completion--insert-strings): Don't get confused by
19631 completion entries that end with an LF char.
19632
19633 2011-09-01 Eli Zaretskii <eliz@gnu.org>
19634
19635 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
19636
19637 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
19638
19639 * window.el (display-buffer): Restore interactive spec.
19640 (display-buffer-same-window, display-buffer-other-window):
19641 New functions.
19642 (pop-to-buffer-1): New function. Use the above.
19643 (pop-to-buffer, pop-to-buffer-same-window): Use it.
19644 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
19645
19646 * view.el (view-buffer-other-window, view-buffer-other-frame):
19647 Just use pop-to-buffer.
19648
19649 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
19650
19651 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
19652
19653 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
19654
19655 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
19656
19657 2011-08-31 Richard Stallman <rms@gnu.org>
19658
19659 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
19660 of the separation of rmail-view-buffer from rmail-buffer.
19661 If you say no to "replace original", the decrypt is in the
19662 view buffer. If you say yes, the decrypt goes into the
19663 rmail buffer also.
19664
19665 2011-08-31 Martin Rudalics <rudalics@gmx.at>
19666
19667 * window.el (display-buffer-window): Rewrite doc-string.
19668 (display-buffer-record-window): New function.
19669 (display-buffer-macro-specifiers)
19670 (display-buffer-even-window-sizes, display-buffer-set-height)
19671 (display-buffer-set-width, display-buffer-in-window)
19672 (display-buffer-reuse-window, display-buffer-split-specifiers)
19673 (display-buffer-side-specifiers, display-buffer-split-window-1)
19674 (display-buffer-split-window, display-buffer-split-atom-window)
19675 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
19676 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
19677 (display-buffer-other-window-means-other-frame)
19678 (display-buffer-normalize-special)
19679 (display-buffer-normalize-default)
19680 (display-buffer-normalize-argument)
19681 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
19682 (display-buffer-normalize-specifiers, display-buffer-frame)
19683 (display-buffer-same-window, display-buffer-same-frame)
19684 (display-buffer-other-window)
19685 (display-buffer-same-frame-other-window)
19686 (display-buffer-other-frame, pop-to-buffer-same-window)
19687 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
19688 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
19689 (switch-to-buffer-same-frame)
19690 (switch-to-buffer-other-window-same-frame)
19691 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
19692 (display-buffer-alist-set-1, display-buffer-alist-set-2)
19693 (display-buffer-alist-set): Remove.
19694 (display-buffer-function, special-display-buffer-names)
19695 (special-display-regexps, special-display-function):
19696 In doc-string refer to display-buffer-window and quit-restore
19697 parameter.
19698 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
19699 (special-display-frame-alist, special-display-popup-frame)
19700 (same-window-buffer-names, same-window-regexps, same-window-p)
19701 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
19702 (split-window-preferred-function, split-height-threshold)
19703 (split-width-threshold, window-splittable-p)
19704 (split-window-sensibly, window--try-to-split-window)
19705 (window--frame-usable-p, even-window-heights)
19706 (window--even-window-heights, window--display-buffer-1)
19707 (window--display-buffer-2, display-buffer-other-frame):
19708 Restore old Emacs 23 code, order and doc-strings where applicable.
19709 (display-buffer-default, display-buffer-assq-regexp): New functions.
19710 (display-buffer-alist): Rewrite doc-string.
19711 (display-buffer-default-action)
19712 (display-buffer-overriding-action): New variables.
19713 (display-buffer, switch-to-buffer): Rewrite.
19714 (pop-to-buffer): Restore Emacs 23 behavior but use
19715 window-normalize-buffer-to-display.
19716 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
19717 Restore Emacs 23 behavior but use
19718 window-normalize-buffer-to-switch-to.
19719 (pop-to-buffer-same-window): Rewrite.
19720 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
19721 Rewrite using Emacs 23 options.
19722
19723 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
19724
19725 * net/tramp.el (tramp-root-regexp): Remove.
19726 (tramp-completion-file-name-regexp-unified)
19727 (tramp-completion-file-name-regexp-separate)
19728 (tramp-completion-file-name-regexp-url): Don't use leading volume
19729 letter on w32 systems. (Bug#5303, Bug#9311)
19730 (tramp-drop-volume-letter): Simplify definition.
19731 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
19732
19733 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
19734
19735 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
19736 (bug#9356).
19737
19738 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
19739
19740 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
19741
19742 2011-08-29 Juri Linkov <juri@jurta.org>
19743
19744 * isearch.el (isearch-done): Don't display message "Mark saved"
19745 when arg `edit' is non-nil to prevent its flicker in the echo area.
19746
19747 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
19748
19749 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
19750 obsolete packages for deletion.
19751
19752 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
19753
19754 * help-mode.el (help-mode-map): Add special-mode-map to parent.
19755 (help-mode): Derive help-mode from special-mode. Don't invoke
19756 view-mode from help-mode.
19757 (help-xref-override-view-map): Remove.
19758 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
19759 view-mode is not used anymore.
19760
19761 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
19762
19763 * server.el (server-port): Doc fix.
19764
19765 * cus-theme.el (custom-theme-choose-mode): Inherit from
19766 special-mode (Bug#9124).
19767 (custom-theme-choose-mode-map): Add special-mode to parent.
19768
19769 2011-08-28 Alan Mackenzie <acm@muc.de>
19770
19771 * progmodes/cc-fonts.el
19772 (c-make-font-lock-BO-decl-search-function): New function.
19773 (c-basic-matchers-after - "Fontify the clauses after various
19774 keywords"): Extract the three keyword lists for the 3 erroneous
19775 constructs from the list of four, and use the new function above
19776 in place of an old one.
19777
19778 2011-08-28 Deniz Dogan <deniz@dogan.se>
19779
19780 * net/rcirc.el (rcirc-insert-prev-input)
19781 (rcirc-insert-next-input): Remove unused argument.
19782
19783 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
19784
19785 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
19786
19787 2011-08-27 Alan Mackenzie <acm@muc.de>
19788
19789 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
19790 handle function pointer parameters properly.
19791
19792 2011-08-27 Martin Rudalics <rudalics@gmx.at>
19793
19794 * window.el (display-buffer-reuse-window): Fix case where
19795 selected window was reused with non-nil OTHER-WINDOW argument.
19796 (Bug#9381)
19797
19798 2011-08-27 Deniz Dogan <deniz@dogan.se>
19799
19800 * net/rcirc.el (rcirc-check-auth-status): Adding support for
19801 oftc's NickServ messages.
19802
19803 2011-08-27 Glenn Morris <rgm@gnu.org>
19804
19805 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
19806
19807 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
19808
19809 * emacs-lisp/package.el (package-install): Call package-initialize
19810 if called interactively.
19811
19812 2011-08-26 Leo Liu <sdl.web@gmail.com>
19813
19814 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
19815
19816 2011-08-25 Juri Linkov <juri@jurta.org>
19817
19818 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
19819 `search-whitespace-regexp' (bug#9364).
19820
19821 2011-08-25 Juri Linkov <juri@jurta.org>
19822
19823 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
19824 `regexp-search-ring' to their global values to protect from
19825 updating by `read-from-minibuffer' (bug#9185).
19826
19827 2011-08-25 Juri Linkov <juri@jurta.org>
19828
19829 * textmodes/ispell.el (ispell-command-loop): Add newline
19830 at the end of the "Use option `i'..." line.
19831
19832 2011-08-25 Juri Linkov <juri@jurta.org>
19833
19834 * battery.el (display-battery-mode): If `battery-status-function'
19835 or `battery-mode-line-format' is nil, display the message and set
19836 `display-battery-mode' to nil (bug#9363).
19837
19838 2011-08-25 Eli Zaretskii <eliz@gnu.org>
19839
19840 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
19841 bidi-string-mark-left-to-right; they are unnecessary now.
19842
19843 2011-08-25 Deniz Dogan <deniz@dogan.se>
19844
19845 * net/quickurl.el: Documentation typo fixes.
19846
19847 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
19848
19849 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
19850
19851 2011-08-25 Glenn Morris <rgm@gnu.org>
19852
19853 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
19854
19855 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
19856 (smtpmail-via-smtp): Handle nil response from smtp.
19857
19858 2011-08-24 Juri Linkov <juri@jurta.org>
19859
19860 * proced.el (proced-marked): Inherit from `error' instead of
19861 `font-lock-warning-face'.
19862
19863 * ibuffer.el (ibuffer-marked-face): Change default face from
19864 `font-lock-warning-face' to `warning'.
19865 (ibuffer-deletion-face): Change default face from
19866 `font-lock-type-face' to `error'.
19867
19868 * battery.el (battery-update): Use the face `error' instead of
19869 `font-lock-warning-face' (bug#6117).
19870
19871 2011-08-24 Juri Linkov <juri@jurta.org>
19872
19873 * faces.el (success): Change face color from "Green3" to
19874 "ForestGreen" on light background (bug#9353).
19875
19876 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
19877
19878 * window.el (quit-window): Rename from quit-restore-window.
19879 Use same arglist as old quit-window.
19880 (frame-auto-delete): Doc fix.
19881
19882 * view.el (view-mode-exit): Use quit-window.
19883
19884 2011-08-24 Juri Linkov <juri@jurta.org>
19885
19886 * isearch.el (isearch-ring-adjust1): Start visiting previous
19887 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
19888 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
19889 for empty search string (when the last search string is reused
19890 automatically) to adjust the isearch ring to the last element and
19891 prepare the correct index for further M-p commands (bug#9185).
19892
19893 2011-08-24 Kenichi Handa <handa@m17n.org>
19894
19895 * international/ucs-normalize.el: If decomposition property of
19896 CHAR is the default one (i.e. a list of CHAR itself), treat it as
19897 nil.
19898 (nfd, nfkd): Likewise.
19899
19900 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
19901
19902 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
19903 from process filters aren't reliably transmitted to the surrounding
19904 accept-process-output.
19905 (mpc-proc-check): New function.
19906 (mpc-proc-sync): Use it (bug#8293)
19907
19908 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
19909
19910 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
19911 Add compatibility functions (bug#9313).
19912
19913 2011-08-23 Eli Zaretskii <eliz@gnu.org>
19914
19915 * cus-start.el (all): Add entry for bidi-paragraph-direction.
19916
19917 * international/uni-bidi.el: Regenerate.
19918
19919 2011-08-23 Kenichi Handa <handa@m17n.org>
19920
19921 * international/charprop.el:
19922 * international/uni-bidi.el:
19923 * international/uni-category.el:
19924 * international/uni-combining.el:
19925 * international/uni-comment.el:
19926 * international/uni-decimal.el:
19927 * international/uni-decomposition.el:
19928 * international/uni-digit.el:
19929 * international/uni-lowercase.el:
19930 * international/uni-mirrored.el:
19931 * international/uni-name.el:
19932 * international/uni-numeric.el:
19933 * international/uni-old-name.el:
19934 * international/uni-titlecase.el:
19935 * international/uni-uppercase.el: Regenerate.
19936
19937 2011-08-23 Martin Rudalics <rudalics@gmx.at>
19938
19939 * help.el (help-window-setup): Fix message displayed when other
19940 window is reused. (Bug#9341)
19941
19942 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
19943
19944 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
19945 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
19946
19947 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
19948 Mark obsolete.
19949 * shell.el (shell-parse-pcomplete-arguments): New function.
19950 (shell-completion-vars): Use it instead (bug#9160).
19951
19952 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
19953
19954 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
19955 strings and comments (bug#9333).
19956
19957 * emacs-lisp/debug.el (debug-arglist): New function.
19958 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
19959 (debug-on-entry-1): Handle interpreted closures (bug#9120).
19960
19961 2011-08-22 Juri Linkov <juri@jurta.org>
19962
19963 * progmodes/compile.el (compilation-mode-font-lock-keywords):
19964 Revert regexp that highlights output switches to its old
19965 pre-2010-10-28 value and remove one `?' from it (bug#9319).
19966
19967 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
19968 to check for empty output (bug#9226).
19969
19970 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
19971
19972 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
19973 symbol-constituent as the default, as that stops font-lock from
19974 working properly (Bug#8843).
19975
19976 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
19977
19978 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
19979 `coding-system-for-*' around the process open call to avoid
19980 auth-source side effects.
19981 (smtpmail-try-auth-methods): Expand the secret password.
19982 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
19983 probe hangs.
19984
19985 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
19986
19987 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
19988
19989 * emacs-lisp/find-func.el (find-function-noselect): New arg
19990 lisp-only.
19991
19992 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
19993 signal an error for built-in functions (Bug#6664).
19994
19995 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
19996
19997 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
19998 (smtpmail-try-auth-methods): Use it.
19999
20000 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
20001
20002 * font-lock.el (font-lock-fontify-region)
20003 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
20004 (font-lock-default-unfontify-buffer)
20005 (font-lock-default-fontify-region)
20006 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
20007
20008 * progmodes/compile.el (compilation-error-properties):
20009 Fix confusion between file struct and message struct (Bug#9319).
20010 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
20011 `ant' regexp.
20012
20013 * net/browse-url.el (browse-url-firefox): Don't call
20014 browse-url-firefox-sentinel unless using -remote (Bug#9328).
20015
20016 2011-08-20 Glenn Morris <rgm@gnu.org>
20017
20018 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
20019
20020 * tutorial.el (tutorial--default-keys): Update some default bindings.
20021
20022 * files.el (hack-local-variables): Fully ignore case for "mode:".
20023
20024 2011-08-20 Alan Mackenzie <acm@muc.de>
20025
20026 Resolve invalid use of a regexp in regexp-opt.
20027
20028 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
20029 detection for a java annotation.
20030
20031 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
20032 detection for a java annotation.
20033
20034 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
20035 handling for java.
20036 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
20037
20038 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
20039
20040 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
20041 (Bug#9274).
20042
20043 2011-08-20 Alan Mackenzie <acm@muc.de>
20044
20045 Fontify CPP expressions correctly when starting in the middle of
20046 such a construct. Mainly for when jit-lock etc. starts a chunk
20047 here.
20048
20049 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
20050 variable.
20051 (c-make-font-lock-search-form): New function, extracted from
20052 c-make-font-lock-search-function.
20053 (c-make-font-lock-search-function): Use the above function.
20054 (c-make-font-lock-context-search-function): New function.
20055 (c-cpp-matchers): Enhance the preprocessor expression case with
20056 the above function
20057 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
20058 which takes an expression.
20059
20060 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
20061
20062 2011-08-20 Martin Rudalics <rudalics@gmx.at>
20063
20064 * window.el (display-buffer-reuse-window)
20065 (display-buffer-pop-up-window): Don't reuse or split a side
20066 window.
20067
20068 2011-08-19 Glenn Morris <rgm@gnu.org>
20069
20070 * files.el (hack-local-variables-prop-line, hack-local-variables):
20071 Downcase "Mode:". (Bug#9331)
20072
20073 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
20074
20075 * international/characters.el: Add L and R categories.
20076
20077 * subr.el (bidi-string-mark-left-to-right): Rename from
20078 string-mark-left-to-right. Use category search.
20079
20080 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
20081
20082 2011-08-18 Juri Linkov <juri@jurta.org>
20083
20084 * faces.el (error, warning, success): New faces with definitions
20085 copied from old default values of `font-lock-warning-face',
20086 `compilation-warning', `compilation-info' (bug#6117).
20087
20088 * font-lock.el (font-lock-warning-face): Inherit from `error'.
20089
20090 * progmodes/compile.el (compilation-error): Inherit from `error'.
20091 (compilation-warning): Inherit from `warning'.
20092 (compilation-info): Inherit from `success'.
20093
20094 * dired.el (dired-marked): Inherit from `warning'.
20095 (dired-flagged): Inherit from `error'.
20096
20097 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
20098
20099 * mail/smtpmail.el (auth-source): Require to avoid problems with
20100 binding variables (bug#9298). Also clean up some unused
20101 autoloads.
20102
20103 * net/network-stream.el (network-stream-open-starttls):
20104 Support using starttls.el without using gnutls-cli.
20105
20106 2011-08-17 Juri Linkov <juri@jurta.org>
20107
20108 * progmodes/grep.el (rgrep): Handle the case when
20109 `grep-find-command' is a cons cell (bug#9278).
20110
20111 2011-08-17 Martin Rudalics <rudalics@gmx.at>
20112
20113 * window.el (display-buffer-pop-up-frame): Run frame creation
20114 function with BUFFER current (as special-display-popup-frame
20115 does). Reported by Drew Adams.
20116
20117 2011-08-17 Daiki Ueno <ueno@unixuser.org>
20118
20119 * epa-mail.el: Simplify GnuPG group expansion using
20120 epg-expand-group.
20121 (epa-mail-group-alist, epa-mail-group-modtime)
20122 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
20123 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
20124 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
20125 Remove.
20126
20127 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
20128
20129 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
20130
20131 2011-08-16 Alan Mackenzie <acm@muc.de>
20132
20133 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
20134 Correct, to avoid the inside of macros.
20135
20136 2011-08-16 Richard Stallman <rms@gnu.org>
20137
20138 * epa-mail.el: Handle GnuPG group definitions.
20139 (epa-mail-group-alist, epa-mail-group-modtime)
20140 (epa-mail-gnupg-conf-file): New variables.
20141 (epa-mail-parse-groups, epa-mail-sync-groups)
20142 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
20143 (epa-mail-expand-recipients): New functions.
20144 (epa-mail-encrypt): Call epa-mail-expand-recipients.
20145
20146 * mail/rmail.el (rmail-epa-decrypt): New command.
20147
20148 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
20149 Don't bind buffer-read-only, just inhibit-read-only.
20150 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
20151 (epa-decrypt-armor-in-region): Make error message clearer.
20152
20153 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
20154
20155 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
20156 and "a2b" to "ab" for `prefix'.
20157
20158 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
20159
20160 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
20161 filter groups.
20162 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
20163 Fourquet (Bug#8804).
20164
20165 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
20166
20167 * startup.el (argi): Declare as global variable (bug#9275).
20168
20169 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
20170
20171 * subr.el (string-mark-left-to-right): Search the entire string
20172 for RTL script, not just the terminating character. Doc fix.
20173
20174 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
20175
20176 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
20177 New function.
20178 (js--regexp-literal, js-syntax-propertize-function): Remove.
20179 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
20180 (js-mode-map): Don't rebind electric keys.
20181 (js-insert-and-indent): Remove.
20182 (js-mode): Setup electric-layout and electric-indent instead.
20183
20184 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
20185
20186 2011-08-12 Daiki Ueno <ueno@unixuser.org>
20187
20188 * epa.el (epa-progress-callback-function): Fix the logic of
20189 displaying progress.
20190 * epa-file.el (epa-file-insert-file-contents): Make progress
20191 display more user-friendly.
20192 (epa-file-write-region): Ditto.
20193
20194 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
20195
20196 * subr.el (string-mark-left-to-right): New function.
20197
20198 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
20199 Use string-mark-left-to-right.
20200 (list-buffers-noselect): Caller changed.
20201
20202 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
20203 Use string-mark-left-to-right.
20204 (tabulated-list-print): Recenter after moving point.
20205
20206 2011-08-10 Juri Linkov <juri@jurta.org>
20207
20208 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
20209 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
20210 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
20211
20212 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
20213
20214 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
20215 (Bug#7554).
20216
20217 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
20218
20219 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
20220 character. (Bug#6594)
20221
20222 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
20223
20224 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
20225 (image-dired--with-db-file): New macro.
20226 (image-dired-write-tags, image-dired-remove-tag)
20227 (image-dired-create-gallery-lists, image-dired-write-comments)
20228 (image-dired-get-comment, image-dired-mark-tagged-files)
20229 (image-dired-list-tags, image-dired-gallery-generate): Use it.
20230 (image-dired-gallery-generate): Use insert-file-contents.
20231
20232 * time.el (display-time-world-list, display-time-world-display):
20233 * time-stamp.el (time-stamp-string):
20234 * vc/add-log.el (add-change-log-entry): Use setenv instead of
20235 set-time-zone-rule (Bug#7337).
20236
20237 2011-08-08 Daiki Ueno <ueno@unixuser.org>
20238
20239 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
20240 (epg-error-to-string, epg-errors-to-string): New function.
20241 (epg-wait-for-completion): Reverse errors list.
20242 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
20243 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
20244 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
20245 (epg-sign-keys, epg-generate-key-from-file)
20246 (epg-generate-key-from-string): Format errors by using
20247 epg-errors-to-string (bug#9255).
20248 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
20249
20250 2011-08-07 Juri Linkov <juri@jurta.org>
20251
20252 * faces.el (list-faces-display): Remove extra angle bracket
20253 from `help-mode-map'.
20254
20255 * info.el (Info-history-toc-nodes): Doc fix.
20256
20257 * longlines.el (longlines-mode): Doc fix.
20258
20259 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
20260
20261 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
20262 of statements and in a few more cases (bug#9183).
20263
20264 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
20265 New functions.
20266 (cl-transform-lambda): Use them (bug#9239).
20267
20268 2011-08-05 Martin Rudalics <rudalics@gmx.at>
20269
20270 * window.el (display-buffer-same-window)
20271 (display-buffer-same-frame, display-buffer-other-window)
20272 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
20273 (pop-to-buffer-other-window)
20274 (pop-to-buffer-same-frame-other-window)
20275 (pop-to-buffer-other-frame): Make them defuns.
20276 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
20277
20278 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
20279
20280 * subr.el (make-composed-keymap): Move from C. Change calling
20281 convention, and improve docstring to bring attention to a subtle point.
20282 * minibuffer.el (completing-read-default): Adjust accordingly.
20283
20284 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
20285
20286 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
20287 (tramp-open-shell): Use `tramp-shell-quote-argument'.
20288
20289 * net/trampver.el: Update release number.
20290
20291 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
20292
20293 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
20294 "in" (bug#9190).
20295
20296 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
20297
20298 * mail/sendmail.el (sendmail-query-once): Restore the current
20299 buffer after querying (bug#9074).
20300
20301 * dired.el (dired-flagged): Use different faces for marked and
20302 flagged files (bug#6117).
20303
20304 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
20305 (bug#4433).
20306
20307 * ido.el (ido-mode): Switch off the message if called
20308 non-interactively.
20309
20310 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
20311 before 587, since it appears that that's more likely to work for
20312 more people.
20313
20314 * cus-edit.el (custom-file): When running under emacs -q, always
20315 refuse to save the customizations, even if the .emacs file doesn't
20316 exist.
20317
20318 * info.el: Remove the `Info-beginning-of-buffer' function
20319 (bug#8325).
20320
20321 * net/network-stream.el (network-stream-open-starttls):
20322 Use `starttls-available-p' to see whether starttls.el can be used.
20323
20324 2011-08-01 Martin Rudalics <rudalics@gmx.at>
20325
20326 * window.el (display-buffer-in-window): Don't set dedicated status
20327 of window here (Bug#9215).
20328 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
20329 (display-buffer-pop-up-side-window)
20330 (display-buffer-in-side-window): Set dedicated status of window here.
20331
20332 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
20333
20334 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
20335 before binding generated-autoload-file.
20336
20337 2011-08-01 Deniz Dogan <deniz@dogan.se>
20338
20339 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
20340
20341 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
20342
20343 Sync with Tramp 2.2.2.
20344
20345 * net/trampver.el: Update release number.
20346
20347 2011-07-30 Juri Linkov <juri@jurta.org>
20348
20349 * dired-aux.el (dired-touch-initial): Remove function.
20350 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
20351 current time, and `default' to the last modification time of the
20352 current marked file (bug#6887).
20353
20354 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
20355
20356 * simple.el (goto-line): Use string-to-number to provide a
20357 numeric argument to read-number (bug#9163).
20358
20359 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
20360
20361 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
20362 connection process, it could be nil.
20363
20364 2011-07-27 Leo Liu <sdl.web@gmail.com>
20365
20366 Simplify url handling in rcirc-mode.
20367
20368 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
20369 (rcirc-browse-url-at-mouse): Remove.
20370 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
20371
20372 2011-07-26 Alan Mackenzie <acm@muc.de>
20373
20374 Fontify bitfield declarations properly.
20375
20376 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
20377 (c-symbol-chars): Now exported as a lang variable.
20378 (c-not-primitive-type-keywords): New lang variable.
20379
20380 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
20381 QT keyword "more" to prevent "more slots: ...." being spuriously
20382 parsed as a bitfield declaration.
20383
20384 * progmodes/cc-engine.el (c-beginning-of-statement-1):
20385 Refactor and enhance to handle bitfield declarations.
20386 (c-punctuation-in): New function.
20387 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
20388 declarations properly.
20389
20390 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
20391
20392 * calendar/icalendar.el (icalendar--all-events): Take care of
20393 multiple vcalendars in a single file.
20394 (icalendar--convert-float-to-ical): Checkdoc fixes.
20395
20396 2011-07-25 Deniz Dogan <deniz@dogan.se>
20397
20398 * image.el (insert-image): Clarifying docstring.
20399
20400 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
20401
20402 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
20403 `tramp-send-command-and-check' if there is no error.
20404 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
20405
20406 2011-07-22 Alan Mackenzie <acm@muc.de>
20407
20408 Prevent cc-langs.elc being loaded at run time.
20409
20410 * progmodes/cc-mode.el: Remove two autoload forms which loaded
20411 cc-langs.
20412
20413 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
20414 "(require 'cc-langs)". Quote a form so it will evaluate at
20415 (cc-mode's) compilation time.
20416
20417 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
20418
20419 * net/tramp.el (tramp-file-name-handler): Avoid recursive
20420 loading. (Bug#9114)
20421
20422 2011-07-21 Martin Rudalics <rudalics@gmx.at>
20423
20424 * window.el (display-buffer-pop-up-window)
20425 (display-buffer-pop-up-side-window)
20426 (display-buffer-in-side-window): Call display-buffer-set-height
20427 and display-buffer-set-width after setting the new window's
20428 buffer so `fit-window-to-buffer' and friends work on the right buffer.
20429
20430 2011-07-20 Sam Steingold <sds@gnu.org>
20431
20432 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
20433 (etags-tags-included-tables): Call `convert-standard-filename' on
20434 the file names contained in TAGS so that windows Emacs can handle
20435 TAGS files created by cygwin ctags.
20436
20437 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
20438
20439 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
20440 which apparently didn't work.
20441
20442 2011-07-19 Roland Winkler <winkler@gnu.org>
20443
20444 * proced.el (proced-send-signal): For *Marked Processes* buffer
20445 put point at beginning of buffer.
20446
20447 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
20448
20449 * proced.el (proced-format): Make header lines align with the text
20450 (bug#1779).
20451
20452 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
20453
20454 * view.el (view-buffer): Allow running in `special' modes if we're
20455 visiting a file (bug#8615).
20456
20457 2011-07-19 Martin Rudalics <rudalics@gmx.at>
20458
20459 * window.el (display-buffer-alist-of-strings-p)
20460 (display-buffer-alist-set-1, display-buffer-alist-set-2):
20461 New functions.
20462 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
20463 more accurately.
20464
20465 2011-07-18 Alan Mackenzie <acm@muc.de>
20466
20467 Fontify declarators properly when, e.g., a jit-lock chunk begins
20468 inside a declaration.
20469
20470 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
20471
20472 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
20473 New function.
20474 (c-complex-decl-matchers): Insert reference to
20475 c-font-lock-enclosing-decls.
20476
20477 * progmodes/cc-engine.el (c-backward-single-comment):
20478 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
20479 to nil around calls to (forward-comment -1).
20480
20481 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
20482
20483 * image.el (put-image): Doc typo fix.
20484
20485 * progmodes/etags.el (tags-search): Doc typo fix.
20486
20487 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
20488 password if we get errors 550 to 554.
20489
20490 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
20491
20492 * net/gnutls.el (gnutls-log-level): Remove.
20493
20494 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
20495 indentation character (bug#6380).
20496
20497 * files.el (buffer-offer-save): Made permanently local (bug#6241).
20498
20499 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
20500 to clarify what the problem is (bug#4291).
20501
20502 * simple.el (current-kill): Clarify what
20503 `interprogram-paste-function' does (bug#7500).
20504 (auto-fill-mode): Document `auto-fill-function' in relation to
20505 `auto-fill-mode' (bug#2470).
20506
20507 2011-07-16 Lawrence Mitchell <wence@gmx.li>
20508
20509 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
20510 method if slot is read-only (bug#9035).
20511
20512 2011-07-16 Martin Rudalics <rudalics@gmx.at>
20513
20514 * frame.el (select-frame-set-input-focus): New argument NORECORD.
20515 * window.el (pop-to-buffer): Select window used even if it was
20516 selected before, see discussion of (Bug#8615), (Bug#6954).
20517 Pass argument NORECORD on to select-frame-set-input-focus.
20518
20519 2011-07-15 Glenn Morris <rgm@gnu.org>
20520
20521 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
20522 Respect help-form.
20523
20524 2011-07-09 Lawrence Mitchell <wence@gmx.li>
20525
20526 * net/gnutls.el (gnutls-min-prime-bits): New variable.
20527 (gnutls-negotiate): Use it.
20528
20529 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
20530
20531 * net/gnutls.el (gnutls-negotiate):
20532 Upcase `gnutls-algorithm-priority'.
20533
20534 2011-07-15 Glenn Morris <rgm@gnu.org>
20535
20536 * jka-compr.el (jka-compr-verbose): Move from here...
20537 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
20538 Add missing :version tag.
20539 * info.el: No need to require jka-compr when compiling.
20540
20541 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
20542
20543 * net/gnutls.el (gnutls-algorithm-priority): New variable.
20544 (gnutls-negotiate): Use it.
20545
20546 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
20547
20548 * info.el (Info-beginning-of-buffer): New command.
20549 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
20550 announcing `b' as the key (bug#8325).
20551 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
20552
20553 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
20554
20555 * international/mule-cmds.el
20556 (describe-specified-language-support): Make the error message
20557 clearer (bug#8905).
20558
20559 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
20560
20561 * isearch.el (isearch-barrier): Add a doc string, since it's
20562 mentioned in a function doc string (bug#8678).
20563
20564 2011-07-15 Martin Rudalics <rudalics@gmx.at>
20565
20566 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
20567 buffer argument (Bug#9083) and self-identifying label argument.
20568
20569 2011-07-15 Glenn Morris <rgm@gnu.org>
20570
20571 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
20572
20573 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
20574
20575 * man.el (Man-fontify-manpage): Fix message when formatting the
20576 man page (bug#7929).
20577
20578 2011-07-14 Eli Zaretskii <eliz@gnu.org>
20579
20580 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
20581 argument LRM; if non-nil, append an invisible LRM character to the
20582 buffer name.
20583 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
20584 last argument non-nil, when formatting buffer names.
20585 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
20586 paragraph direction.
20587
20588 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
20589
20590 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
20591 the man page name (bug#7929).
20592
20593 * image.el (put-image): Mention the `put-image' overlay property
20594 (bug#7834).
20595
20596 * scroll-bar.el (set-scroll-bar-mode): Mention that
20597 `scroll-bar-mode' lists the values (bug#7772).
20598
20599 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
20600 command (bug#7729).
20601
20602 * rect.el (apply-on-rectangle): Return the point after the last
20603 operation.
20604 (string-rectangle): Go to the point after the last operation
20605 (bug#7522).
20606
20607 * printing.el (pr-toggle-region): Clarify the documentation
20608 slightly (bug#7493).
20609
20610 * time.el (display-time-update):
20611 Allow `display-time-mail-function' to return nil (bug#7158).
20612 Fix suggested by Detlev Zundel.
20613
20614 * vc/diff.el (diff): Clarify the order the file names are read
20615 (bug#7111).
20616
20617 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
20618 the doc string (bug#7015).
20619
20620 * font-lock.el (font-lock-maximum-decoration): Mention what
20621 numeric levels mean (bug#6935).
20622
20623 * startup.el (initial-buffer-choice): Don't mention the `none'
20624 selection, which is against policy.
20625
20626 2011-07-14 Martin Rudalics <rudalics@gmx.at>
20627
20628 * window.el (display-buffer-normalize-special):
20629 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
20630
20631 2011-07-14 Eli Zaretskii <eliz@gnu.org>
20632
20633 * subr.el (version<, version<=, version=): Mention "-CVS" and
20634 "-12345" alpha version numbers.
20635
20636 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
20637
20638 * bindings.el: Add advertised binding for set-mark-command
20639 (Bug#5772).
20640
20641 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
20642
20643 * bindings.el (mode-line-other-buffer):
20644 * bookmark.el (bookmark-bmenu-2-window):
20645 * bs.el (bs-cycle-next, bs-cycle-previous):
20646 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
20647 switch-to-buffer.
20648
20649 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
20650 Delete.
20651
20652 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
20653
20654 * follow.el (follow-debug-message, follow-redisplay):
20655 * jka-cmpr-hook.el (with-auto-compression-mode):
20656 Fix typos in docstrings.
20657
20658 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20659
20660 * subr.el (with-silent-modifications): Clarify somewhat what the
20661 macro inhibits (bug#6525).
20662
20663 * simple.el (eval-expression): Note what it does if called
20664 interactively (bug#6495).
20665
20666 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
20667
20668 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
20669 Use pop-to-buffer buffer-or-name if it is nil.
20670
20671 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
20672 Remove switch-to-buffer.
20673
20674 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20675
20676 * files.el (make-directory): Clarify that an error will be raised
20677 if there's an error (bug#6397).
20678
20679 * startup.el (initial-buffer-choice): Add `none' as a choice
20680 (bug#6234).
20681
20682 * subr.el (add-hook): Clarify section about buffer-local hooks
20683 (bug#6218).
20684
20685 * dired.el (dired-flagged): Clarify doc string (bug#6117).
20686
20687 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
20688
20689 * tabify.el (untabify): Preserve the current column so that point
20690 doesn't move (bug#6032).
20691
20692 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20693
20694 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
20695 Rewrite to avoid awkward possessive "s" (bug#5986).
20696
20697 2011-07-13 Glenn Morris <rgm@gnu.org>
20698
20699 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
20700 (dired-insert-directory): Give a message the first time
20701 if ls is found not to support --dired.
20702
20703 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20704
20705 * simple.el (toggle-truncate-lines): Clarify what is toggled
20706 (bug#5580). Text by Drew Adams.
20707
20708 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
20709
20710 * simple.el (blink-matching-open): Make the error message from the
20711 last change less verbose.
20712
20713 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
20714
20715 * font-lock.el (font-lock-comment-face): Use the high contrast
20716 "yellow" color for font-lock-comment-face on low color terminals
20717 using a dark background color (bug#4221).
20718
20719 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20720
20721 * dired.el (dired-insert-set-properties): Make the doc string
20722 reflect what it does now (bug#5325).
20723
20724 * simple.el (blink-matching-open): Say that we were unable to find
20725 the match within the limit, if we're limited (bug#5122).
20726
20727 * international/mule-cmds.el (prefer-coding-system): Add an
20728 example (bug#4869).
20729
20730 * progmodes/etags.el (tags-search): Document `file-list-form'
20731 (bug#4731).
20732
20733 2011-07-13 Lawrence Mitchell <wence@gmx.li>
20734
20735 * net/browse-url.el (browse-url-default-browser)
20736 (browse-url-browser-function): Make the default browser choice a
20737 bit more logical (bug#4300). Also clean up the doc string.
20738
20739 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
20740
20741 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
20742 binary endings (bug#4440).
20743
20744 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20745
20746 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
20747 which can be pretty annoying (bug#8971).
20748
20749 * jka-compr.el (jka-compr-verbose): New variable, and use
20750 throughout (bug#8971).
20751
20752 * info.el (Info-find-file): Fall back on the installation
20753 directory if we can't find the info node anywhere else.
20754
20755 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
20756
20757 * vc/vc.el (vc-revert-file):
20758 Don't set file time-stamp in the past. (Bug#5181)
20759
20760 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
20761
20762 * files.el (after-find-file): Give a better error message when
20763 trying to find a symlink that points to a file that doesn't exist
20764 (bug#4398).
20765
20766 * progmodes/cc-vars.el: Remove (probably) misleading comment
20767 (bug#4396).
20768
20769 2011-07-12 Johan Bockgård <bojohan@gnu.org>
20770
20771 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
20772
20773 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
20774
20775 * mouse-sel.el: Hack restoring functionality, while keeping
20776 compatibility with 2010-07-03 changes to mouse selection.
20777 (mouse-sel-primary-overlay): New var.
20778 (mouse-sel-selection-alist): Use it.
20779 (mouse-sel-mode): Doc fix; remove points that are default features
20780 of mouse.el.
20781
20782 2011-07-12 Johan Bockgård <bojohan@gnu.org>
20783
20784 * progmodes/compile.el (compilation-error-regexp-alist-alist):
20785 Fix previous fix (bug#2490).
20786
20787 2011-07-12 Roland Winkler <winkler@gnu.org>
20788
20789 * textmodes/bibtex.el (bibtex-initialize):
20790 Use pop-to-buffer-same-window.
20791 (bibtex-search-entries): Fix interactive call.
20792
20793 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
20794
20795 * progmodes/compile.el (compilation-error-regexp-alist-alist):
20796 Fontise bytecomp Error lines more correctly (bug#2490).
20797 Fix suggested by Johan Bockgård.
20798
20799 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
20800
20801 * dired-x.el (dired-guess-default): Use `delete-dups'.
20802
20803 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
20804
20805 * dired.el (dired-mark-prompt):
20806 * dired-aux.el (dired-read-shell-command): Doc fix.
20807
20808 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
20809
20810 * mail/sendmail.el (sendmail-query-once):
20811 Use `customize-save-variable' unconditionally, now that it works under
20812 emacs -Q.
20813
20814 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
20815
20816 * cus-edit.el (custom-file): Take an optional no-error variable.
20817 (customize-save-variable): Set the variable, and give a warning if
20818 running under "emacs -q".
20819
20820 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
20821
20822 * loadhist.el (unload-feature-special-hooks):
20823 Add `auto-coding-functions', `fill-nobreak-predicate' and
20824 `find-directory-functions' (bug#5327).
20825
20826 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
20827
20828 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
20829
20830 * cus-edit.el (custom-guess-name-alist): -alist variables should
20831 use the `alist' type (bug#3120). Suggested by Drew Adams.
20832
20833 * printing.el: Add documentation to all the `pr-toggle-' commands.
20834
20835 2011-07-11 Leo Liu <sdl.web@gmail.com>
20836
20837 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
20838 backends where it makes sense (bug#2623).
20839
20840 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
20841
20842 * dired-x.el (dired-guess-default): Remove duplicate shell command
20843 entries (bug#2028).
20844 (dired-guess-default): Fix grammar in doc string (bug#2028).
20845 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
20846
20847 * subr.el (remove-duplicates): New conveniency function.
20848
20849 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
20850
20851 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
20852 (bug#1526).
20853
20854 2011-07-10 Martin Rudalics <rudalics@gmx.at>
20855
20856 * window.el (display-buffer-normalize-default): Don't invert
20857 meaning of even-window-heights. Reported by Eli Zaretskii
20858 <eliz@gnu.org>.
20859
20860 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
20861
20862 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
20863
20864 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
20865
20866 * window.el (display-buffer): Fix arguments to
20867 display-buffer-reuse-window in last change.
20868
20869 * faces.el (link): Use a less saturated blue on light backgrounds.
20870
20871 * startup.el (fancy-startup-text, fancy-about-text)
20872 (fancy-startup-tail): Use font-lock faces, for background safety.
20873
20874 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
20875
20876 * emulation/viper-cmd.el (viper-change-state-to-vi):
20877 Limit triggering of abbrev expansion (Bug#9038).
20878
20879 2011-07-09 Martin Rudalics <rudalics@gmx.at>
20880
20881 * window.el (display-buffer-default-specifiers): Remove.
20882 (display-buffer-macro-specifiers): Remove default specifiers.
20883 (display-buffer-alist): Default to nil.
20884 (display-buffer-reuse-window): New optional argument other-window.
20885 (display-buffer-pop-up-window): Allow splitting internal
20886 windows. Check whether a live window was created.
20887 (display-buffer-other-window-means-other-frame)
20888 (display-buffer-normalize-arguments): Rename to
20889 display-buffer-normalize-argument and rewrite. Set the
20890 other-window specifier.
20891 (display-buffer-normalize-special): New function.
20892 (display-buffer-normalize-options): Rename to
20893 display-buffer-normalize-default and rewrite.
20894 (display-buffer-normalize-options-inhibit): Remove.
20895 (display-buffer-normalize-specifiers): Rewrite.
20896 (display-buffer): Process other-window specifier and call
20897 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
20898 more faithfully.
20899 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
20900 (display-buffer-alist-set): Don't handle 'unset default values.
20901 (display-buffer-in-window, display-buffer-alist-set):
20902 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
20903 <tassilo@member.fsf.org>.
20904
20905 2011-07-09 Leo Liu <sdl.web@gmail.com>
20906
20907 * register.el (insert-register): Restore accidental change on
20908 2011-06-26. (Bug#9028)
20909
20910 2011-07-09 Glenn Morris <rgm@gnu.org>
20911
20912 * subr.el (remq): Handle the empty list. (Bug#9024)
20913
20914 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
20915
20916 * mail/sendmail.el (send-mail-function): No longer delay custom
20917 initialization.
20918 * custom.el (custom-initialize-delay): Doc fix.
20919
20920 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
20921
20922 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
20923
20924 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
20925
20926 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
20927 human-friendly prompt.
20928
20929 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
20930
20931 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
20932 provided by a particular plugin.
20933
20934 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
20935
20936 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
20937 save customizations (with "emacs -Q"), just set the variable
20938 instead of erroring out.
20939
20940 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
20941
20942 2011-07-08 Juri Linkov <juri@jurta.org>
20943
20944 * arc-mode.el (archive-zip-expunge, archive-zip-update)
20945 (archive-zip-update-case): Use 7z if found by `executable-find'.
20946 The order of searching the available programs is the same as in
20947 `archive-zip-extract' (bug#8968).
20948
20949 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
20950
20951 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
20952 (menu-bar-options-menu): Tweak descriptions.
20953
20954 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
20955
20956 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
20957 menu items into verb phrases (bug#1421). Also refill to fit under
20958 80 columns.
20959
20960 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
20961
20962 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
20963 (Info-read-node-name): Doc fix (Bug#1084).
20964
20965 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
20966 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
20967 (end-of-sexp, beginning-of-sexp)
20968 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
20969 (forward-symbol, forward-same-syntax, word-at-point)
20970 (sentence-at-point): Doc fix (Bug#1144).
20971
20972 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
20973
20974 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
20975 should cover it (bug#1281).
20976
20977 * cus-edit.el (custom-show): Mark as obsolete.
20978
20979 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
20980 negotiation fails, then possibly try again with a non-encrypted
20981 connection (bug#9017).
20982
20983 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
20984 be used.
20985
20986 2011-07-07 Richard Stallman <rms@gnu.org>
20987
20988 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
20989 property, and handle its changed format.
20990 Look for the correct line number.
20991 Use file's line contents (but not past first =) to find
20992 correct line in message.
20993
20994 2011-07-07 Kenichi Handa <handa@m17n.org>
20995
20996 * international/characters.el (build-unicode-category-table):
20997 Delete it.
20998 (unicode-category-table): Set it by unicode-property-table-internal.
20999
21000 * international/mule-cmds.el (char-code-property-alist): Move to
21001 to src/chartab.c.
21002 (get-char-code-property): Call unicode-property-table-internal to
21003 load a file. Call get-unicode-property-internal where necessary.
21004 (put-char-code-property): Call unicode-property-table-internal to
21005 load a file. Call put-unicode-property-internal where necessary.
21006 put-unicode-property-internal where necessary.
21007 (char-code-property-description):
21008 Call unicode-property-table-internal to load a file.
21009
21010 * international/charprop.el:
21011 * international/uni-bidi.el:
21012 * international/uni-category.el:
21013 * international/uni-combining.el:
21014 * international/uni-comment.el:
21015 * international/uni-decimal.el:
21016 * international/uni-decomposition.el:
21017 * international/uni-digit.el:
21018 * international/uni-lowercase.el:
21019 * international/uni-mirrored.el:
21020 * international/uni-name.el:
21021 * international/uni-numeric.el:
21022 * international/uni-old-name.el:
21023 * international/uni-titlecase.el:
21024 * international/uni-uppercase.el: Regenerate.
21025
21026 * loadup.el: Load international/charprop.el before
21027 international/characters.
21028
21029 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
21030
21031 * window.el (next-buffer, previous-buffer): Signal an error if
21032 called from a minibuffer window.
21033
21034 * bindings.el: Revert 2011-07-04 change.
21035
21036 2011-07-06 Richard Stallman <rms@gnu.org>
21037
21038 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
21039 (rmail-mime-insert-bulk, rmail-mime-insert-text):
21040 Treat markers like ints.
21041 (rmail-mime-entity): Doc fix.
21042
21043 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
21044
21045 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
21046 defcustom again for backwards compatibility.
21047
21048 * simple.el (shell-command-on-region): Fill.
21049
21050 * dired-aux.el (dired-kill-line): Add a doc string.
21051
21052 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
21053 to "\\sw\\|\\s_" (bug#358).
21054
21055 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
21056 (dired-unmark-backward): Ditto.
21057 (dired-flag-backup-files): Ditto.
21058
21059 * dired-x.el (dired-mark-sexp): Ditto.
21060
21061 2011-07-06 Richard Stallman <rms@gnu.org>
21062
21063 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
21064 (rmail-mime-entity): New arg TRUNCATED.
21065 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
21066 New functions.
21067 (rmail-mime-save): Warn if entity is truncated.
21068 (rmail-mime-toggle-hidden): Likewise, for showing.
21069 (rmail-mime-process-multipart): Record when an entity is truncated.
21070
21071 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
21072 if ENTITY is a string.
21073
21074 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
21075
21076 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
21077 of faces when `M-C-x'-ing their definitions (bug#8378).
21078 Also clean up the code slightly.
21079
21080 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
21081 because that makes the colors go away.
21082
21083 * mail/sendmail.el (send-mail-function): Change the default to
21084 `sendmail-query-once'.
21085 (sendmail-query-once): Add an autoload cookie.
21086
21087 * net/network-stream.el (network-stream-open-starttls): Try using
21088 a plain connection even if the server offered STARTTLS, and we
21089 kinda wanted to use it, if Emacs doesn't have any STARTTLS
21090 capability. This should make smtpmail.el work in slightly more
21091 configurations.
21092
21093 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
21094
21095 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
21096 New defun.
21097 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
21098
21099 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
21100
21101 * progmodes/sql.el: Version 3.0
21102 (sql-product-alist): Add product :completion-object,
21103 :completion-column, and :statement attributes.
21104 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
21105 (sql-mode-syntax-table): Mark all punctuation.
21106 (sql-font-lock-keywords-builder): Temporarily remove fallback on
21107 ansi keywords.
21108 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
21109 (sql-mode-oracle-font-lock-keywords): Improve.
21110 (sql-oracle-show-reserved-words): New function for development.
21111 (sql-product-font-lock): Simplify for source code buffers.
21112 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
21113 New functions.
21114 (sql-highlight-product): Set product specific syntax table.
21115 (sql-mode-map): Add statement movement functions.
21116 (sql-ansi-statement-starters, sql-oracle-statement-starters):
21117 New variable.
21118 (sql-statement-regexp, sql-beginning-of-statement)
21119 (sql-end-of-statement, sql-signum): New functions.
21120 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
21121 (sql-show-sqli-buffer): Bug fix.
21122 (sql-interactive-mode): Store connection data as buffer local.
21123 (sql-connect): Add NEW-NAME parameter. Redesign interaction
21124 with sql-interactive-mode.
21125 (sql-save-connection): Save buffer local settings.
21126 (sql-connection-menu-filter): Change menu entry name.
21127 (sql-product-interactive): Bug fix.
21128 (sql-preoutput-hold): New variable.
21129 (sql-interactive-remove-continuation-prompt): Bug fixes.
21130 (sql-debug-redirect): New variable.
21131 (sql-str-literal): New function.
21132 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
21133 Redesign.
21134 (sql-oracle-save-settings, sql-oracle-restore-settings)
21135 (sql-oracle-list-all, sql-oracle-list-table): New functions.
21136 (sql-completion-object, sql-completion-column)
21137 (sql-completion-sqlbuf): New variables.
21138 (sql-build-completions-1, sql-build-completions)
21139 (sql-try-completion): New functions.
21140 (sql-read-table-name): Use them.
21141 (sql-contains-names): New buffer local variable.
21142 (sql-list-all, sql-list-table): Use it.
21143 (sql-oracle-completion-types): New variable.
21144 (sql-oracle-completion-object, sql-sqlite-completion-object)
21145 (sql-postgres-completion-object): New functions.
21146
21147 2011-07-06 Glenn Morris <rgm@gnu.org>
21148
21149 * window.el (pop-to-buffer): Doc fix.
21150
21151 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
21152
21153 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
21154
21155 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
21156
21157 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
21158
21159 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
21160
21161 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
21162
21163 * button.el (button): Inherit from link face. Suggested by Dan
21164 Nicolaescu.
21165
21166 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
21167
21168 * progmodes/gdb-mi.el: Fit in 80 columns.
21169 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
21170 switch-to-buffer.
21171
21172 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
21173 if imenu is simply not configured (bug#8941).
21174
21175 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
21176
21177 * allout.el (allout-post-undo-hook): New allout outline-change
21178 event hook to signal undo activity.
21179 (allout-post-command-business): Run allout-post-undo-hook if an
21180 undo just occurred.
21181 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
21182 * allout-widgets.el (allout-widgets-after-undo-function):
21183 Ensure the integrity of the current item's decoration after it has been
21184 in the vicinity of an undo.
21185 (allout-widgets-mode): Include allout-widgets-after-undo-function
21186 on the new allout-post-undo-hook.
21187
21188 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
21189
21190 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
21191 Let define-derived-mode define it.
21192 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
21193 cycles of abbrev-table inheritance (bug#8998).
21194
21195 2011-07-05 Roland Winkler <winkler@gnu.org>
21196
21197 * textmodes/bibtex.el: Add support for biblatex.
21198 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
21199 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
21200 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
21201 (bibtex-entry-alist, bibtex-field-alist): New variables.
21202 (bibtex-entry-field-alist): Obsolete alias for
21203 bibtex-BibTeX-entry-alist.
21204 (bibtex-entry-alist, bibtex-field-alist): New widgets.
21205 (bibtex-set-dialect): New command.
21206 (bibtex-entry-type, bibtex-entry-head)
21207 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
21208 Bind via bibtex-set-dialect.
21209 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
21210 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
21211 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
21212 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
21213 Define via bibtex-set-dialect.
21214 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
21215 Obey bibtex-no-opt-remove-re.
21216 (bibtex-vec-push, bibtex-vec-incr): New functions.
21217 (bibtex-format-entry, bibtex-field-list)
21218 (bibtex-print-help-message, bibtex-validate)
21219 (bibtex-search-entries): Use new format of bibtex-entry-alist.
21220
21221 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
21222
21223 * progmodes/compile.el (compilation-goto-locus):
21224 * net/tramp-cmds.el (tramp-append-tramp-buffers):
21225 * bs.el (bs-cycle-next, bs-cycle-previous):
21226 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
21227 * bindings.el (mode-line-other-buffer):
21228 * autoinsert.el (auto-insert):
21229 * arc-mode.el (archive-extract):
21230 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
21231
21232 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
21233
21234 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
21235 Fix check of `emacs-lock-unlockable-modes'.
21236 Coerce true values of `emacs-lock--try-unlocking' to t.
21237
21238 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
21239
21240 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
21241 * emacs-lock.el: New file.
21242
21243 2011-07-05 Julien Danjou <julien@danjou.info>
21244
21245 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
21246 than `boundp' to check if face is set.
21247
21248 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
21249
21250 * register.el (registerv-make):
21251 * window.el (window-min-height): Fix typos in docstrings.
21252
21253 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
21254
21255 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
21256 Update doc string.
21257
21258 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
21259
21260 * server.el (server-execute): Catch quit and call
21261 `server-return-error' to pass the error back to emacsclient and
21262 close the connection (bug#8942).
21263
21264 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
21265
21266 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
21267 insecure exception for current topic. Also note that auto-saves
21268 are handled differently.
21269
21270 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
21271 State variables for tracking auto-save inhibition situation.
21272
21273 (allout-write-contents-hook-handler): Rename from
21274 'allout-write-file-hook-handler', and describe how it depends on
21275 write-contents-functions sensitivity to non-nil value to prevent
21276 file write.
21277
21278 (allout-auto-save-hook-handler): Remove. auto-save does not check
21279 this in individual buffers, only in the starting buffer, so this
21280 is not the right way for us to inhibit auto-save in a buffer
21281 according to its condition.
21282
21283 (allout-mode): Use new allout-write-contents-hook-handler, and
21284 only with write-contents-functions. Remove auto-save provisions -
21285 they're implemented elsewhere.
21286
21287 (allout-before-change-handler): If undo is in progress, note that
21288 for attention of allout-post-command-business.
21289
21290 (allout-post-command-business): If the command we're following was
21291 an undo, check for change in the status of encrypted items and
21292 adjust auto-save inhibitions accordingly.
21293
21294 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
21295 according to whether there are or aren't any plain-text topics
21296 pending encryption.
21297
21298 (allout-inhibit-auto-save-info-for-decryption):
21299 Adjust buffer-saved-size and some allout state to inhibit auto-saves
21300 if there are plain-text topics pending encryption.
21301
21302 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
21303 buffer-saved-size and some allout state to not inhibit auto-saves
21304 if there are no longer any plain-text topics pending encryption.
21305
21306 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
21307 No longer provide for exemption of the current topic.
21308
21309 2011-07-04 Juri Linkov <juri@jurta.org>
21310
21311 Add 7z operations to delete and save changed members (bug#8968).
21312 * arc-mode.el (archive-7z-expunge, archive-7z-update):
21313 New defcustoms.
21314 (archive-7z-write-file-member): New function.
21315 (archive-7z-summarize): Fix the number of dashes in the
21316 listing output.
21317
21318 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
21319
21320 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
21321 (bug#8958).
21322
21323 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
21324
21325 * bindings.el: Ignore next-buffer and previous-buffer in
21326 minibuffer-local-map.
21327
21328 * font-lock.el (font-lock-builtin-face): Change light background
21329 color to dark slate blue (Bug#6693).
21330
21331 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
21332
21333 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
21334
21335 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
21336
21337 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
21338 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
21339 Add switch-to-buffer.
21340
21341 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
21342
21343 * isearch.el (isearch-search-fun-function): Clarify further the
21344 meaning of the function returned.
21345
21346 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
21347
21348 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
21349
21350 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
21351 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
21352 Use it.
21353 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
21354 `tramp-default-remote-path' does not exist.
21355 (tramp-send-command-and-read): New optional argument NOERROR.
21356 (tramp-open-connection-setup-interactive-shell)
21357 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
21358 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
21359 (tramp-process-sentinel): Flush also process' connection property.
21360 (tramp-sh-handle-start-file-process): Do not set process
21361 sentinel. It is done now ...
21362 (tramp-maybe-open-connection): ... here. (Bug#8929)
21363
21364 2011-07-04 MON KEY <monkey@sandpframing.com>
21365
21366 * play/animate.el (animate-string): Doc fixes and allow changing
21367 the buffer name (bug#5417).
21368
21369 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
21370
21371 * play/animate.el (animation-buffer-name): Rename from *animate*.
21372
21373 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
21374
21375 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
21376 This is simpler and helps future-proof the code.
21377 (timer-until): Use time-subtract and float-time.
21378 (timer--time-less-p): Use time-less-p.
21379
21380 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
21381
21382 * type-break.el (timep): Use the value of `float-time' to avoid a
21383 byte-compiler warning.
21384
21385 * server.el (server-eval-and-print): Return any result, even nil.
21386
21387 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
21388
21389 * type-break.el: Accept time formats that the builtins accept.
21390 (timep, type-break-time-difference): Accept any format that
21391 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
21392 This is simpler and helps future-proof the code.
21393 (type-break-time-difference): Round rather than ignoring
21394 subseconds components.
21395
21396 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
21397
21398 * info.el (Info-apropos-matches): Make non-interactive, since it
21399 doesn't seem to do anything useful as a command (bug#8829).
21400
21401 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
21402
21403 * frame.el (frame-background-mode, frame-set-background-mode):
21404 Move from faces.el.
21405 (frame-default-terminal-background): New function.
21406
21407 * custom.el (custom-push-theme): Don't record faces in `changed'
21408 theme; this doesn't work correctly for per-frame face settings.
21409 (disable-theme): Use face-set-after-frame-default to reset faces.
21410 (custom--frame-color-default): New function.
21411
21412 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
21413
21414 * dired.el (dired-flagging-regexp): Remove unused variable
21415 (bug#8769).
21416
21417 2011-03-29 Kevin Ryde <user42@zip.com.au>
21418
21419 * progmodes/compile.el (compilation-error-regexp-alist-alist):
21420 `perl-Test2' extend to match possible "fail #N" rep count
21421 (bug#8377).
21422
21423 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
21424
21425 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
21426 `smtpmail-via-smtp' now returns the error instead of nil.
21427
21428 * isearch.el (isearch-search-fun-function): Clarify the doc string
21429 (bug#8101).
21430
21431 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
21432
21433 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
21434 unnecessary spaces (bug#8987).
21435
21436 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
21437
21438 * net/network-stream.el (open-network-stream): Use the
21439 :end-of-capability command thoughout.
21440
21441 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
21442
21443 * net/network-stream.el (open-network-stream): Add the
21444 :end-of-capability command parameter, used by pop3.el.
21445
21446 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
21447
21448 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
21449
21450 * fringe.el (fringe-query-style): Remove redundant text " (type ?
21451 for list)" (bug#6475).
21452
21453 * files.el (file-expand-wildcards): Ignore non-readable
21454 sub-directories while trying to find matches instead of signaling
21455 an error (bug#6297).
21456
21457 * man.el (Man-reference-regexp): Allow matching possible
21458 word-wrapped references (bug#6289).
21459
21460 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
21461 for consistency with the other vc buffers (bug#6197).
21462 (vc-checkin): Ditto.
21463
21464 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
21465
21466 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
21467
21468 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
21469
21470 * custom.el (defcustom): Clarify that :set is only used in the
21471 Customize user interface (bug#6089).
21472
21473 * progmodes/flymake.el (flymake-mode): If the buffer isn't
21474 associated with a file, refuse to run instead of erroring out
21475 (bug#6084).
21476
21477 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
21478 the doc string, since it appears that using `fill-column' always
21479 controls the width (bug#7845).
21480
21481 * simple.el (shell-command-on-region): Say where the error output
21482 went if `shell-command-default-error-buffer' is set (bug#6857).
21483
21484 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
21485
21486 * allout.el (allout-yank-processing): Adjust cursor position for
21487 backwards-deleted space.
21488
21489 (allout-rebullet-heading): Register changes with
21490 allout-exposure-changed-hook, so the modified topic is properly
21491 decorated.
21492
21493 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
21494
21495 * minibuffer.el (completion-in-region): Document PREDICATE
21496 (bug#7136).
21497
21498 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
21499 of keyword/argument pairs (bug#6904).
21500
21501 * replace.el (multi-occur):
21502 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
21503
21504 2011-07-02 Drew Adams <drew.adams@oracle.com>
21505
21506 * dired.el (dired-mark-if): Make the message about whether it's
21507 marking or unmarking clearer (bug#8523).
21508
21509 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
21510
21511 * disp-table.el (display-table-print-array): New function.
21512 (describe-display-table): Use it to print the vectors more pretty
21513 (Bug#8859).
21514
21515 2011-07-02 Martin Rudalics <rudalics@gmx.at>
21516
21517 * window.el (window-state-get-1): Don't assign clone numbers.
21518 Add clone-of item to list of window parameters.
21519 (window-state-put-2): Don't process clone numbers.
21520 (display-buffer-alist): Fix doc-string.
21521
21522 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
21523
21524 * subr.el (remq): Don't allocate if it's not needed.
21525 (keymap--menu-item-binding, keymap--menu-item-with-binding)
21526 (keymap--merge-bindings): New functions.
21527 (keymap-canonicalize): Use them to refine the canonicalization.
21528 * minibuffer.el (minibuffer-local-completion-map)
21529 (minibuffer-local-must-match-map): Move initialization from C.
21530 (minibuffer-local-filename-completion-map): Move initialization from C;
21531 don't inherit from anything here.
21532 (minibuffer-local-filename-must-match-map): Make obsolete.
21533 (completing-read-default): Use make-composed-keymap to combine
21534 minibuffer-local-filename-completion-map with either
21535 minibuffer-local-must-match-map or
21536 minibuffer-local-filename-completion-map.
21537
21538 2011-07-01 Glenn Morris <rgm@gnu.org>
21539
21540 * type-break.el (type-break-time-sum): Use dolist.
21541
21542 * textmodes/flyspell.el (flyspell-word-search-backward):
21543 Replace CL function.
21544
21545 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
21546
21547 * mouse.el (mouse--strip-first-event): New function.
21548 (function-key-map): Use it to map fringe clicks to normal clicks
21549 by default.
21550
21551 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
21552 (vc-bzr-revision-completion-table): Add support for annotate and date.
21553
21554 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
21555 inherit from parent.
21556
21557 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
21558
21559 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
21560 (dired-show-file-type): Doc fixup (bug#8818).
21561
21562 * dired.el (dired-mode): Fix up the doc string as suggested by
21563 Drew Adams (bug#8817).
21564
21565 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
21566 cookie, since the manual says that it should be possible to add
21567 this function to `find-file-hook' (bug#8709).
21568
21569 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
21570
21571 * progmodes/cfengine.el: Moved all cfengine3.el functionality
21572 here. Noted Ted Zlatanov as the maintainer.
21573 (cfengine-common-settings, cfengine-common-syntax): New functions
21574 to set up common things between `cfengine-mode' and
21575 `cfengine3-mode'.
21576 (cfengine3-mode): New mode.
21577 (cfengine3-defuns cfengine3-defuns-regex
21578 (cfengine3-class-selector-regex cfengine3-category-regex)
21579 (cfengine3-vartypes cfengine3-font-lock-keywords)
21580 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
21581 (cfengine3-indent-line): Add from cfengine3.el.
21582
21583 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
21584
21585 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
21586
21587 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
21588
21589 2011-07-01 Martin Rudalics <rudalics@gmx.at>
21590
21591 * window.el (same-window-buffer-names, same-window-regexps)
21592 (same-window-p, special-display-frame-alist)
21593 (special-display-popup-frame, special-display-function)
21594 (special-display-buffer-names, special-display-regexps)
21595 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
21596 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
21597 (split-window-preferred-function, split-height-threshold)
21598 (split-width-threshold, even-window-heights)
21599 (display-buffer-mark-dedicated, window-splittable-p)
21600 (split-window-sensibly, window-safely-shrinkable-p):
21601 Un-obsolete.
21602 (display-buffer): Don't spread args with function specifier
21603 because special-display-popup-frame won't like it.
21604
21605 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
21606
21607 Time-stamp simplifications and fixes.
21608 These improve accuracy slightly, and future-proof the code
21609 against some potential changes to current-time format.
21610
21611 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
21612 by using time-since and float-time.
21613
21614 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
21615 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
21616 + NNN microseconds".
21617
21618 * type-break.el (type-break-time-sum): Rewrite using time-add.
21619
21620 * play/hanoi.el (hanoi-current-time-float): Remove.
21621 All uses replaced by float-time.
21622
21623 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
21624 This yields a more-accurate answer.
21625 (rng-time-to-float): Remove; no longer needed.
21626
21627 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
21628
21629 * calendar/timeclock.el (timeclock-seconds-to-time):
21630 Defalias to seconds-to-time, since they're the same thing.
21631
21632 * emacs-lisp/elp.el (elp-elapsed-time):
21633 * emacs-lisp/benchmark.el (benchmark-elapse):
21634 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
21635
21636 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
21637
21638 * window.el (bury-buffer): Don't iconify the only frame.
21639 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
21640 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
21641
21642 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
21643
21644 * eshell/em-smart.el (eshell-smart-display-navigate-list):
21645 Add mouse-yank-primary.
21646
21647 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
21648
21649 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
21650
21651 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
21652
21653 * emacs-lisp/find-func.el (find-library--load-name): New fun.
21654 (find-library-name): Use it to find relative load names when provided
21655 absolute file name (bug#8803).
21656
21657 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
21658
21659 * textmodes/flyspell.el (flyspell-word): Consider words that
21660 differ only in case as potential doublons (bug#5687).
21661
21662 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
21663 Remove two rather uninteresting debugging-like messages to make
21664 debbugs.el more silent.
21665
21666 * comint.el (comint-password-prompt-regexp): Accept "Response" as
21667 a password-like phrase.
21668
21669 2011-06-30 Masatake YAMATO <yamato@redhat.com>
21670
21671 * progmodes/cc-guess.el: New file.
21672
21673 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
21674
21675 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
21676 derived from `c-basic-common-init'.
21677
21678 * progmodes/cc-mode.el (top-level): Require cc-guess.
21679 (c-basic-common-init): Use `cc-choose-style-for-mode'.
21680
21681 2011-06-30 Lawrence Mitchell <wence@gmx.li>
21682
21683 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
21684
21685 2011-06-30 Alan Mackenzie <acm@muc.de>
21686
21687 * progmodes/cc-engine.el (c-guess-continued-construct):
21688 Correct the handling of template-args-cont, particularly for when font
21689 lock is disabled. Name this case as "CASE G".
21690
21691 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
21692
21693 * allout.el (allout-yank-processing): Fix injection of extra space
21694 between bullet and non-whitespace character in first topic when
21695 pasting, ensuring that the actual spacing in the pasted topic
21696 following the bullet char is preserved. This extra space was
21697 causing pasted encrypted topics to get a decrypted status even
21698 when the content was actually still encrypted. Now the decryption
21699 status from before the paste is preserved.
21700
21701 (allout-flag-region): Set all allout overlays so they evaporate
21702 when reduced to zero length (evanescent), to prevent overlay
21703 leakage.
21704
21705 2011-06-30 Glenn Morris <rgm@gnu.org>
21706
21707 * w32-fns.el (w32-charset-info-alist): Declare.
21708
21709 * find-dired.el (find-grep-options): Simplify.
21710
21711 * term/ns-win.el (ns-set-resource): Declare.
21712
21713 * ses.el (row, col): Declare dynamic variables honestly.
21714
21715 * textmodes/reftex-parse.el (index-tags): Declare.
21716
21717 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
21718
21719 * cus-edit.el (customize-push-and-save): New function.
21720
21721 * files.el (hack-local-variables-confirm): Use it.
21722
21723 * custom.el (load-theme): New arg NO-CONFIRM.
21724 Use customize-push-and-save (Bug#8720).
21725 (custom-enabled-themes): Doc fix.
21726
21727 * cus-theme.el (customize-create-theme)
21728 (custom-theme-merge-theme): Callers to load-theme changed.
21729
21730 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
21731
21732 * thingatpt.el (thing-at-point-short-url-regexp): Require that
21733 short URLs have at least one dot in them (bug #7614).
21734
21735 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
21736 nil, because using a pty is apparently too slow (bug #895).
21737
21738 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
21739
21740 * mail/sendmail.el (sendmail-query-once): New function.
21741 (sendmail-query-once-function): New variable.
21742
21743 2011-06-29 Glenn Morris <rgm@gnu.org>
21744
21745 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
21746
21747 * ses.el (top-level): Require cl when compiling.
21748 (ses-set-localvars): Fix error statement.
21749 Call it at compile time to silence a storm of warnings.
21750
21751 2011-06-29 Martin Rudalics <rudalics@gmx.at>
21752
21753 * window.el (normalize-live-buffer): Rename to
21754 window-normalize-buffer.
21755 (normalize-live-frame): Rename to window-normalize-frame.
21756 (normalize-any-window): Rename to window-normalize-any-window.
21757 (normalize-live-window): Rename to window-normalize-live-window.
21758 (make-window-atom): Rename to window-make-atom.
21759 (window-resize-reset): Rename to window--resize-reset.
21760 (window-resize-reset-1): Rename to window--resize-reset-1.
21761 (resize-mini-window): Rename to window--resize-mini-window.
21762 (resize-subwindows-skip-p): Rename to
21763 window--resize-subwindows-skip-p.
21764 (resize-subwindows-normal): Rename to
21765 window--resize-subwindows-normal.
21766 (resize-subwindows): Rename to window--resize-subwindows.
21767 (resize-other-windows): Rename to window--resize-siblings.
21768 (resize-this-window): Rename to window--resize-this-window.
21769 (resize-root-window): Rename to window--resize-root-window.
21770 (resize-root-window-vertically): Rename to
21771 window--resize-root-window-vertically.
21772 (normalize-buffer-to-display): Rename to
21773 window-normalize-buffer-to-display.
21774 (normalize-buffer-to-switch-to): Rename to
21775 window-normalize-buffer-to-switch-to.
21776 Correspondingly update all callers of the functions listed
21777 above.
21778 (display-buffer-alist, display-buffer-normalize-arguments)
21779 (display-buffer-normalize-options, display-buffer)
21780 (display-buffer-alist-set): Use "function" instead of
21781 "fun-with-args".
21782
21783 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
21784
21785 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
21786 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
21787 debbugs.gnu.org. Mention acknowledgment email.
21788
21789 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
21790
21791 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
21792 buffer multibyteness, since it shouldn't matter.
21793
21794 2011-06-28 Martin Rudalics <rudalics@gmx.at>
21795
21796 * window.el (display-buffer-in-side-window): Handle dedicated
21797 windows as in display-buffer-reuse-window.
21798 (display-buffer-normalize-alist): Use value of override
21799 specifier.
21800 (display-buffer-normalize-specifiers): Use value of
21801 other-window-means-other-frame specifier.
21802 (display-buffer-alist): Rewrite some texts in widgets.
21803 (display-buffer): Spread arguments when calling function
21804 specified by fun-with-args.
21805
21806 2011-06-28 Deniz Dogan <deniz@dogan.se>
21807
21808 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
21809 Unnest `let'.
21810
21811 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
21812 selectors (Bug#5732).
21813 (css-proprietary-nmstart-re): Use `regexp-opt'.
21814
21815 2011-06-27 Jari Aalto <jari.aalto@cante.net>
21816
21817 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
21818 (eshell-ls-date-format): New defcustom.
21819 (eshell-ls-file): Use it.
21820
21821 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
21822
21823 * help-fns.el (describe-variable): Fix message for terminal-local vars.
21824
21825 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
21826
21827 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
21828 (ange-ftp-make-tmp-name): New arg.
21829 (ange-ftp-file-local-copy): Use it.
21830
21831 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
21832
21833 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
21834 no-conversion (Bug#8870).
21835
21836 2011-06-27 Martin Rudalics <rudalics@gmx.at>
21837
21838 * window.el (window-right, window-left, window-child)
21839 (window-child-count, window-last-child)
21840 (window-iso-combination-p, walk-window-tree-1)
21841 (window-atom-check-1, window-tree-1, delete-window)
21842 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
21843 new naming conventions - window-vchild, window-hchild,
21844 window-next and window-prev are now called window-top-child,
21845 window-left-child, window-next-sibling and window-prev-sibling
21846 respectively.
21847 (resize-window-reset): Rename to window-resize-reset.
21848 (resize-window-reset-1): Rename to window-resize-reset-1.
21849 (resize-window): Rename to window-resize.
21850 (window-min-height, window-min-width)
21851 (resize-mini-window, resize-this-window, resize-root-window)
21852 (resize-root-window-vertically, adjust-window-trailing-edge)
21853 (enlarge-window, shrink-window, maximize-window)
21854 (minimize-window, delete-window, quit-restore-window)
21855 (split-window, balance-windows, balance-windows-area-adjust)
21856 (balance-windows-area, window-state-put-2)
21857 (display-buffer-even-window-sizes, display-buffer-set-height)
21858 (display-buffer-set-width, set-window-text-height)
21859 (fit-window-to-buffer): Rename all "resize-window" prefixed
21860 calls to use the "window-resize" prefix convention.
21861 (display-buffer-alist): Fix symbol for label specifier.
21862 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
21863 corresponding specifier.
21864 Reported by Juanma Barranquero <lekktu@gmail.com>.
21865
21866 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
21867
21868 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
21869 convention.
21870 (ses-call-printer): Does not pass an empty string to formatter when the
21871 cell is empty to keep from barking printer Calc math-format-value.
21872
21873 2011-06-27 Richard Stallman <rms@gnu.org>
21874
21875 * battery.el (battery-mode-line-limit): New variable.
21876 (battery-update): Handle it.
21877
21878 * mail/rmailmm.el (rmail-mime-process-multipart):
21879 Handle truncated messages.
21880
21881 2011-06-27 Glenn Morris <rgm@gnu.org>
21882
21883 * progmodes/flymake.el (flymake-err-line-patterns):
21884 Allow for column numbers in the ant/javac pattern. (Bug#8866)
21885
21886 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
21887
21888 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
21889 (ses--clean-!, ses--clean-_): New functions.
21890 (ses-range): Add configurability of readout order, and conversion
21891 to Calc vector.
21892
21893 * ses.el (ses-repair-cell-reference-all): New function.
21894 (ses-cell-symbol): Set macro as safe, so that it can be used in
21895 formulas.
21896
21897 * ses.el: Update cycle detection algorithm.
21898 (ses-localvars): Add ses--Dijkstra-attempt-nb and
21899 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
21900 (ses-set-localvars): New function.
21901 (ses-make-cell): Add property-list as a cell element.
21902 (ses-cell-property-get-fun, ses-cell-property-get)
21903 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
21904 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
21905 New functions.
21906 (ses-cell-property-set, ses-cell-property-pop)
21907 (ses-cell-property-get-handle): New macro.
21908 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
21909 New aliases, used for code readability.
21910 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
21911 cycle detection.
21912 (ses-self-reference-early-detection): New defcustom.
21913 (ses-formula-references): Robustify against self-referring cells.
21914 (ses-mode): Use ses-set-localvars.
21915 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
21916 before lauching the update processing.
21917 (ses-initialize-Dijkstra-attempt): New function.
21918 (ses-recalculate-cell): Update for cycle detection based on
21919 Dijkstra algorithm.
21920
21921 * ses.el: Fix commenting and indenting convention.
21922
21923 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
21924
21925 * bs.el (bs-cycle-next): Complete last change.
21926
21927 2011-06-27 Drew Adams <drew.adams@oracle.com>
21928
21929 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
21930
21931 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
21932
21933 * net/network-stream.el (network-stream-open-starttls):
21934 Don't re-get capabilities unless we've reestablished connection.
21935 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
21936
21937 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
21938 to binary to possibly avoid line encoding issues on Windows (among
21939 other things).
21940
21941 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
21942
21943 * net/network-stream.el (open-network-stream): Return an :error
21944 saying what the problem was, if possible.
21945
21946 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
21947 server.
21948
21949 * net/network-stream.el (network-stream-open-starttls): If we
21950 wanted to use STARTTLS, and the server offered it, but we weren't
21951 able to because we had no STARTTLS support, then close the connection.
21952 (open-network-stream): Return an :error element, if present.
21953
21954 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
21955
21956 * hl-line.el (hl-line-sticky-flag): Doc fix.
21957 (global-hl-line-sticky-flag): New option (Bug#8323).
21958 (global-hl-line-highlight): Obey it.
21959
21960 * vc/vc.el (vc-revert-show-diff): Default to t.
21961
21962 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
21963
21964 * allout-widgets.el (allout-widgets-post-command-business):
21965 Stop decorating intermediate isearch matches. They're not being
21966 undecorated when an isearch is continued past, and isearch
21967 automatically collapses them. This leads to "widget leaks", where
21968 decorated items accumulate in collapsed areas. Lines with lots of
21969 hidden widgets can slow down cursor travel, substantially.
21970 Too much complicated machinery would be needed to ensure undecoration,
21971 so we're doing without this nicety.
21972
21973 (allout-widgets-tally-string): Don't try to do a hash-table-count
21974 of allout-widgets-tally when it's nil. This eliminates spurious "Error
21975 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
21976 *Messages* when allout-widgets-maintain-tally is t.
21977
21978 2011-06-26 Martin Rudalics <rudalics@gmx.at>
21979
21980 * window.el (display-buffer-normalize-argument): Rename to
21981 display-buffer-normalize-arguments. Handle special meaning of
21982 LABEL argument. Respect special-display-function when popping up
21983 a new frame. Fix code searching for a window showing the buffer
21984 on another frame.
21985 (display-buffer-normalize-specifiers):
21986 Call display-buffer-normalize-arguments.
21987 (display-buffer-in-window): Don't undedicate the window if its
21988 buffer remains the same.
21989 Reported by Drew Adams <drew.adams@oracle.com>.
21990 (display-buffer-alist): Add choice for same-window macro
21991 specfier.
21992 (display-buffer): Mention special meaning of LABEL argument in
21993 doc-string. Fix quoting. Don't pop up a new frame even as
21994 fallback.
21995
21996 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
21997
21998 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
21999 avoid deleting the current window in some cases (bug#8911).
22000
22001 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
22002
22003 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
22004 (Bug#8934)
22005
22006 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
22007
22008 * net/network-stream.el (network-stream-open-starttls):
22009 Use built-in TLS support if `gnutls-available-p' is true.
22010 (network-stream-open-tls): Ditto.
22011
22012 2011-06-26 Leo Liu <sdl.web@gmail.com>
22013
22014 * register.el (registerv): New struct.
22015 (registerv-make): New function.
22016 (jump-to-register, describe-register-1, insert-register):
22017 Support the jump-func, print-func and insert-func slot of a registerv
22018 struct. (Bug#8415)
22019
22020 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
22021
22022 * vc/vc.el (vc-revert-show-diff): New defcustom.
22023 (vc-diff-internal): New arg specifying diff buffer.
22024 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
22025 reuse an existing *vc-diff* buffer (Bug#8927).
22026
22027 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
22028
22029 2011-06-26 Glenn Morris <rgm@gnu.org>
22030
22031 * progmodes/f90.el (f90-critical-indent): New option.
22032 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
22033 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
22034 (f90-mode): Doc fix.
22035 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
22036 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
22037 (f90-beginning-of-block, f90-next-block, f90-indent-region)
22038 (f90-match-end): Handle block, critical.
22039
22040 2011-06-25 Glenn Morris <rgm@gnu.org>
22041
22042 * calendar/diary-lib.el (diary-included-files): Doc fix.
22043 (diary-include-files): New function, extracted from
22044 diary-include-other-diary-files and diary-mark-included-diary-files.
22045 (diary-include-other-diary-files, diary-mark-included-diary-files):
22046 Just call diary-include-files.
22047 (diary-mark-entries): Reset diary-included-files on first call.
22048
22049 * calendar/diary-lib.el (diary-mark-entries)
22050 (diary-mark-included-diary-files):
22051 Visit included diary-files in temp buffers.
22052
22053 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
22054 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
22055 (f90-start-block-re, f90-imenu-generic-expression)
22056 (f90-looking-at-program-block-start, f90-no-block-limit):
22057 Add support for submodules.
22058
22059 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
22060 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
22061
22062 2011-06-25 Eli Zaretskii <eliz@gnu.org>
22063
22064 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
22065 buffer-file-type before setting its value, to avoid disastrous
22066 global effects on decoding files for DOS/Windows systems. (Bug#8780)
22067
22068 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
22069
22070 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
22071
22072 * ses.el (ses-unload-function):
22073 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
22074
22075 * proced.el (proced-unload-function):
22076 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
22077
22078 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
22079
22080 * server.el (server-create-window-system-frame): Add parameters arg.
22081 (server-process-filter): Doc fix. Handle frame-parameters.
22082
22083 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
22084
22085 Fix bug#8730, bug#8781.
22086
22087 * loadhist.el (unload--set-major-mode): New function.
22088 (unload-feature): Use it.
22089
22090 * progmodes/python.el (python-after-info-look): Add autoload cookie.
22091 (python-unload-function): New function.
22092
22093 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
22094
22095 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
22096
22097 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
22098
22099 * net/browse-url.el (browse-url-firefox-program): Add icecat to
22100 the candidates list.
22101
22102 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
22103
22104 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
22105
22106 2011-06-23 Richard Stallman <rms@gnu.org>
22107
22108 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
22109 (rmail-variables): Set next-error-move-function.
22110 (rmail-what-message): Take argument POS.
22111 (rmail-next-error-move): New function.
22112
22113 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
22114
22115 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
22116 messages for adjacent non-terminals.
22117
22118 2011-06-23 Richard Stallman <rms@gnu.org>
22119
22120 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
22121 (rmail-show-message-1): Preserve buffer modified flag.
22122 (rmail-start-mail): Don't specify use of rmail-mail-return;
22123 that's done by mail-bury now.
22124 (rmail-mail-return): Handle arg NEWBUF.
22125
22126 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
22127
22128 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
22129 SIZE is a number.
22130
22131 2011-06-23 Martin Rudalics <rudalics@gmx.at>
22132
22133 * window.el (get-lru-window, get-mru-window)
22134 (get-largest-window): Never return a minibuffer window.
22135 (display-buffer-pop-up-window): Fix a bug that could lead to
22136 reusing the minibuffer window.
22137 (display-buffer): Pass original specifier argument to
22138 display-buffer-function instead of the normalized one.
22139 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
22140
22141 2011-06-22 Leo Liu <sdl.web@gmail.com>
22142
22143 * minibuffer.el (completing-read-function)
22144 (completing-read-default): Move from minibuf.c.
22145
22146 2011-06-22 Richard Stallman <rms@gnu.org>
22147
22148 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
22149 to Rmail even if not started by a special Rmail command.
22150
22151 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
22152 Copy the buffer currently showing just one message.
22153
22154 2011-06-22 Roland Winkler <winkler@gnu.org>
22155
22156 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
22157 (bibtex-clean-entry): First delete the old key so that a
22158 customized algorithm for generating the new key does not get
22159 confused by the old key.
22160 (bibtex-url): Obey regexp of first step.
22161 (bibtex-search-entries): Do not use add-to-list with local
22162 list-var.
22163
22164 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
22165
22166 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
22167 stored a user name, then query for the password first, instead of
22168 waiting for SMTP to give an error message and the trying again.
22169
22170 2011-06-22 Lawrence Mitchell <wence@gmx.li>
22171
22172 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
22173 BUFFER in call-process.
22174
22175 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
22176
22177 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
22178 QUIT twice.
22179 (smtpmail-try-auth-methods): Require user name and password from
22180 auth-source.
22181
22182 2011-06-22 Martin Rudalics <rudalics@gmx.at>
22183
22184 * window.el (display-buffer-default-specifiers)
22185 (display-buffer-alist): Remove entries for pop-up-frame-alist.
22186 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
22187 (split-window): Normalize SIDE argument (Bug#8916).
22188
22189 * frame.el (pop-up-frame-alist, pop-up-frame-function)
22190 (special-display-frame-alist, special-display-popup-frame):
22191 Remove duplicate declarations. These are now in window.el.
22192
22193 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
22194
22195 * mail/smtpmail.el (smtpmail-via-smtp):
22196 Set :use-starttls-if-possible so that we always use STARTTLS if the
22197 server supports it. SMTP servers that support STARTTLS commonly
22198 require it.
22199
22200 * net/network-stream.el (network-stream-open-starttls): Support
22201 upgrading to STARTTLS always, even if we don't have built-in support.
22202 (open-network-stream): Add the :always-query-capabilities keyword.
22203
22204 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
22205 upgrades with `open-network-stream', and rely solely on
22206 auth-source for all credentials. Big changes throughout the file,
22207 but in particular:
22208 (smtpmail-auth-credentials): Remove.
22209 (smtpmail-starttls-credentials): Remove.
22210 (smtpmail-via-smtp): Check for servers saying they want AUTH after
22211 MAIL FROM, too.
22212
22213 * net/network-stream.el (network-stream-open-starttls):
22214 Provide support for client certificates both for external and built-in
22215 STARTTLS.
22216 (auth-source): Require.
22217 (open-network-stream): Document the :client-certificate keyword.
22218 (network-stream-certificate): Change cert-cert to cert and
22219 cert-key to key.
22220
22221 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
22222
22223 * net/tramp-cache.el (top): Don't load the persistency file when
22224 "emacs -Q" has been called.
22225
22226 2011-06-21 Tim Harper <timcharper@gmail.com>
22227
22228 * term/ns-win.el (ns-initialize-window-system):
22229 Set application-specific `ApplePressAndHoldEnabled' system
22230 resource to NO as it is not yet supported by the NS port.
22231
22232 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
22233
22234 * misc.el (list-dynamic-libraries--refresh): Compute header here...
22235 (list-dynamic-libraries): ...not here.
22236
22237 2011-06-21 Leo Liu <sdl.web@gmail.com>
22238
22239 * subr.el (sha1): Implement sha1 using secure-hash.
22240
22241 2011-06-21 Martin Rudalics <rudalics@gmx.at>
22242
22243 * window.el (display-buffer-alist): In default value do not
22244 enforce searching a window on any but the selected frame.
22245 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
22246 (display-buffer-select-window): Remove function.
22247 (display-buffer-in-window): When a window on another frame gets
22248 reused, do not select it any more but just raise its frame if
22249 necessary (Bug#8851) and (Bug#8856).
22250 (display-buffer-normalize-options): Handle pop-up-frames related
22251 options more faithfully.
22252 (pop-to-buffer): Don't rely on `display-buffer' selecting the
22253 window if it is on another frame.
22254 (display-buffer-alist, display-buffer-default-specifiers):
22255 Don't make new frame unsplittable by default.
22256 (display-buffer-normalize-argument): Fix doc-string typo and use
22257 'same-frame-other-window instead of 'other-window when associating
22258 with display-buffer-macro-specifiers.
22259
22260 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
22261
22262 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
22263 New functions.
22264 (5x5-mode-map, 5x5-mode-menu): Bind them.
22265 (5x5-draw-grid): Tweak the solver's rendering.
22266
22267 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
22268
22269 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
22270 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
22271
22272 2011-06-21 Drew Adams <drew.adams@oracle.com>
22273
22274 * menu-bar.el: Use function variable instead of switch-to-buffer.
22275 (menu-bar-select-buffer-function): New variable.
22276 (menu-bar-update-buffers): Use it (bug#8876).
22277
22278 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
22279
22280 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
22281 variable's status.
22282
22283 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
22284
22285 * x-dnd.el (x-dnd-version-from-flags)
22286 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
22287 and long as number (Bug#8899).
22288 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
22289
22290 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
22291
22292 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
22293 (completion-try-completion, completion-all-completions): Compute the
22294 metadata argument if it's missing; make it optional (bug#8795).
22295
22296 * wid-edit.el: Use lex-bind and move towards completion-at-point.
22297 (widget-complete): Use new :completion-function property.
22298 (widget-completions-at-point): New function.
22299 (default): Use :completion-function instead of :complete.
22300 (widget-default-completions): Rename from widget-default-complete;
22301 Rewrite.
22302 (widget-string-complete, widget-file-complete, widget-color-complete):
22303 Remove functions.
22304 (file, symbol, function, variable, coding-system, color):
22305 * international/mule-cmds.el (default-input-method, charset)
22306 (language-info-custom-alist):
22307 * cus-edit.el (face): Use new property :completions.
22308
22309 * progmodes/pascal.el (pascal-completions-at-point): New function.
22310 (pascal-mode): Use it.
22311 (pascal-mode-map): Use completion-at-point.
22312 (pascal-toggle-completions): Make obsolete.
22313 (pascal-complete-word, pascal-show-completions):
22314 * progmodes/octave-mod.el (octave-complete-symbol):
22315 Redefine as obsolete alias.
22316 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
22317 Signal absence of completion info for old Octave,
22318 (inferior-octave-complete): Redefine as obsolete alias.
22319 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
22320 (meta-completions-at-point): Rename from meta-complete-symbol and
22321 adapt it for use on completion-at-point-functions.
22322 (meta-common-mode): Use it.
22323 (meta-looking-at-backward, meta-match-buffer): Remove.
22324 (meta-complete-symbol): Redefine as obsolete alias.
22325 (meta-common-mode-map): Use completion-at-point.
22326 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
22327 (makefile-mode-map): Use completion-at-point.
22328 (makefile-completions-at-point): Rename from makefile-complete and
22329 adapt it for use on completion-at-point-functions.
22330 (makefile-mode): Use it.
22331 (makefile-complete): Redefine as obsolete alias.
22332
22333 2011-06-20 Deniz Dogan <deniz@dogan.se>
22334
22335 * net/rcirc.el: Delete trailing whitespaces once and for all.
22336
22337 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
22338
22339 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
22340
22341 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
22342
22343 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
22344
22345 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
22346
22347 2011-06-19 Martin Rudalics <rudalics@gmx.at>
22348
22349 * window.el (display-buffer-other-window-means-other-frame):
22350 Call display-buffer-normalize-alist.
22351 (display-buffer-normalize-specifiers-1): Rename to
22352 display-buffer-normalize-argument. New argument other-frame.
22353 Rewrite.
22354 (display-buffer-normalize-specifiers-2): Rename to
22355 display-buffer-normalize-options.
22356 (display-buffer-normalize-alist-1): New function.
22357 (display-buffer-normalize-specifiers-3): Rename to
22358 display-buffer-normalize-alist.
22359 Call display-buffer-normalize-alist-1.
22360 (display-buffer-normalize-options-inhibit): New variable.
22361 (display-buffer-normalize-specifiers): Rewrite calling
22362 display-buffer-normalize-alist,
22363 display-buffer-normalize-argument, and
22364 display-buffer-normalize-options. Don't call the latter if
22365 display-buffer-normalize-options-inhibit is non-nil.
22366 (frame-auto-delete): New option.
22367 (window-deletable-p): Use frame-auto-delete.
22368 (window-list-no-nils, window-state-ignored-parameters)
22369 (window-state-get-1, window-state-get, window-state-put-list)
22370 (window-state-put-1, window-state-put-2, window-state-put):
22371 New functions.
22372 (display-buffer-normalize-options): Move special-display-p group
22373 after pop-up-frame group (Bug#8851) and (Bug#8856).
22374
22375 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
22376
22377 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
22378 groups (Bug#8776).
22379 (rx-submatch-n): New function.
22380 (rx): Document it.
22381
22382 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
22383 (Bug#8768).
22384
22385 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
22386
22387 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
22388
22389 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
22390 anytime existing face settings are present (Bug#8889).
22391
22392 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
22393 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
22394 Remove unused argument.
22395
22396 2011-06-18 Martin Rudalics <rudalics@gmx.at>
22397
22398 * window.el (display-buffer-default-specifiers):
22399 Remove pop-up-frame. Add pop-up-window-min-height,
22400 pop-up-window-min-width, and another reuse-window specifier
22401 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
22402 (display-buffer-normalize-specifiers-2):
22403 Handle split-height-threshold and split-width-threshold also when
22404 pop-up-windows is unset. Add a reuse-window specifier for the
22405 case popping up a new window fails.
22406 (special-display-popup-frame): Remove double quoting.
22407 (display-buffer-normalize-specifiers-1): Fix thinko.
22408
22409 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
22410
22411 * shell.el (shell-completion-vars): Set pcomplete-termination-string
22412 according to comint-completion-addsuffix.
22413
22414 * pcomplete.el: Convert to lexical binding and fix bug#8819.
22415 (pcomplete-suffix-list): Mark as obsolete.
22416 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
22417 pcomplete-seen in the closure.
22418 (pcomplete-comint-setup): Setup completion-at-point as well.
22419 (pcomplete--entries): New function.
22420 (pcomplete--env-regexp): New var.
22421 (pcomplete-entries): Rewrite to work with partial-completion and
22422 without relying on pcomplete-suffix-list.
22423 (pcomplete-pare-list): Remove, unused.
22424
22425 2011-06-17 Martin Rudalics <rudalics@gmx.at>
22426
22427 * window.el (display-buffer-alist): Set pop-up-window-min-height
22428 and pop-up-window-min-width in default value. Reported by
22429 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
22430 other-window-means-other-frame.
22431 (display-buffer-macro-specifiers): Comment out entry for
22432 other-window specifier.
22433 (display-buffer-other-window-means-other-frame): New function.
22434 (display-buffer-normalize-specifiers-1): New arguments
22435 buffer-name and label. Treat other-window case specially.
22436 (display-buffer-normalize-specifiers-2): Treat other-window case
22437 specially.
22438 (display-buffer-normalize-specifiers-3): New function.
22439 (display-buffer-normalize-specifiers):
22440 Call display-buffer-normalize-specifiers-3.
22441
22442 2011-06-17 Martin Rudalics <rudalics@gmx.at>
22443
22444 * window.el (same-window-p): Fix two typos introduced when
22445 adding with-no-warnings.
22446 (display-buffer-normalize-specifiers-1): Don't check
22447 pop-up-frames for 'unset initialization.
22448 (display-buffer-normalize-specifiers-2): Major rewrite using
22449 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
22450 (pop-up-frames, display-buffer-reuse-frames)
22451 (display-buffer-mark-dedicated): Don't initialize to 'unset.
22452 Suggested by David Engster <deng@randomsample.de>.
22453 (even-window-heights): Initialize to 'unset.
22454 (display-buffer-alist-set): Handle new 'unset initializations.
22455 (display-buffer-macro-specifiers): Don't pop up a new frame in the
22456 other window case.
22457
22458 2011-06-16 Martin Rudalics <rudalics@gmx.at>
22459
22460 * window.el (display-buffer-normalize-specifiers-1):
22461 Respect current value of pop-up-frames for most reasonable values of
22462 second argument of display-buffer (Bug#8865).
22463 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
22464 (switch-to-buffer-other-window-same-frame)
22465 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
22466 Adams (Bug#8875).
22467 (display-buffer): Don't check noninteractive when calling
22468 display-buffer-pop-up-frame.
22469 (display-buffer-pop-up-frame): Never pop up a frame in
22470 noninteractive mode (Bug#8857).
22471 (enlarge-window, shrink-window): Don't report an error when the
22472 window can't be resized as requested (Bug#8862).
22473
22474 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
22475
22476 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
22477
22478 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
22479
22480 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
22481
22482 2011-06-15 Alan Mackenzie <acm@muc.de>
22483
22484 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
22485 for declarators, disable knr checking to speed up for normal files.
22486 2: Refactor, replacing a sequence of nested if forms by a cond form.
22487
22488 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
22489
22490 * net/network-stream.el (open-network-stream): Add the keyword
22491 :always-query-capabilities for the case where you want to force a
22492 `plain' network connection, but the protocol still requires the
22493 capabilitiy command (i.e., SMTP and EHLO).
22494
22495 * subr.el (process-live-p): Rename from `process-alive-p' for
22496 consistency with other `-live-p' functions.
22497
22498 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
22499
22500 * window.el (same-window-buffer-names, same-window-regexps)
22501 (special-display-frame-alist, special-display-popup-frame)
22502 (special-display-function, special-display-buffer-names)
22503 (special-display-regexps, pop-up-frame-alist)
22504 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
22505 (pop-up-windows, split-window-preferred-function)
22506 (split-height-threshold, split-width-threshold, even-window-heights)
22507 (display-buffer-mark-dedicated): Don't encourage the use of
22508 display-buffer-alist from Elisp code.
22509
22510 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
22511
22512 * progmodes/python.el (python-mode): Derive from prog-mode.
22513 * progmodes/ps-mode.el (ps-mode):
22514 * progmodes/mixal-mode.el (mixal-mode):
22515 * progmodes/cfengine.el (cfengine-mode):
22516 * progmodes/ld-script.el (ld-script-mode): Likewise.
22517
22518 2011-06-15 Martin Rudalics <rudalics@gmx.at>
22519
22520 * window.el (display-buffer-alist): Trim default value to avoid
22521 popping up a new frame (Bug#8857) or reusing an arbitrary window
22522 on another frame.
22523 (display-buffer): Do not fall back on popping up a new frame in
22524 batch mode (Bug#8857).
22525
22526 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
22527
22528 * cus-theme.el (describe-theme-1): Use custom-theme-p.
22529 (custom-theme-summary): New function.
22530 (customize-themes): Use it.
22531
22532 2011-06-13 Glenn Morris <rgm@gnu.org>
22533
22534 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
22535
22536 2011-06-13 Martin Rudalics <rudalics@gmx.at>
22537
22538 * help.el (help-window): Remove variable.
22539 (help-window-point-marker, temp-buffer-max-height)
22540 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
22541 (help-print-return-message): Don't set help-window.
22542 (resize-temp-buffer-window): Rewrite cod eand doc-string.
22543 (help-window-setup-finish): Remove.
22544 (help-window-display-message, help-window-setup)
22545 (with-help-window): Major rewrite based on new
22546 display-buffer-window variable.
22547
22548 * help-mode.el (help-mode-finish): Remove help-window related
22549 code.
22550
22551 * view.el (view-exits-all-viewing-windows): Remove reference to
22552 view-return-to-alist in doc-string.
22553 (view-return-to-alist): Make obsolete.
22554 (view-buffer): Call pop-to-buffer-same-window and remove
22555 undo-window code.
22556 (view-buffer-other-window): Call pop-to-buffer-other-window and
22557 simplify code. Ignore second argument.
22558 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
22559 simplify code. Ignore second argument.
22560 (view-return-to-alist-update): Make obsolete.
22561 (view-mode-enter): Rename second argument to QUIT-RESTORE.
22562 Rewrite using quit-restore window parameters.
22563 (view-mode-exit): Rename second argument to EXIT-ONLY.
22564 Rewrite using quit-restore-window.
22565 (View-exit, View-exit-and-edit, View-leave, View-quit)
22566 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
22567 appropriate arguments.
22568 (view-end-message): Use quit-restore window parameter.
22569
22570 * window.el (display-buffer-function): Rewrite doc-string.
22571 (display-buffer-window, display-buffer-alist): New variables.
22572 (display-buffer-split-specifiers)
22573 (display-buffer-side-specifiers)
22574 (display-buffer-macro-specifiers): New constants.
22575 (display-buffer-even-window-sizes, display-buffer-set-height)
22576 (display-buffer-set-width, display-buffer-select-window)
22577 (display-buffer-in-window, display-buffer-reuse-window)
22578 (display-buffer-split-window-1, display-buffer-split-window)
22579 (display-buffer-split-atom-window, display-buffer-pop-up-window)
22580 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
22581 (display-buffer-in-side-window, normalize-buffer-to-display)
22582 (display-buffer-normalize-specifiers-1)
22583 (display-buffer-normalize-specifiers-2)
22584 (display-buffer-normalize-specifiers, display-buffer-frame):
22585 New functions.
22586 (display-buffer): Major rewrite.
22587 (display-buffer-other-window, display-buffer-other-frame)
22588 (pop-to-buffer, switch-to-buffer-other-window)
22589 (switch-to-buffer-other-frame): Rewrite.
22590 (display-buffer-same-window, display-buffer-same-frame)
22591 (display-buffer-same-frame-other-window)
22592 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
22593 (pop-to-buffer-other-window)
22594 (pop-to-buffer-same-frame-other-window)
22595 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
22596 (switch-to-buffer-other-window-same-frame): New functions.
22597 (same-window-p, special-display-p): Rewrite disabling warnings.
22598 Make obsolete.
22599 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
22600 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
22601 Make obsolete
22602 (same-window-buffer-names, same-window-regexps)
22603 (special-display-frame-alist, special-display-popup-frame)
22604 (special-display-function, special-display-buffer-names)
22605 (special-display-regexps, pop-up-frame-alist)
22606 (pop-up-frame-function, split-window-preferred-function)
22607 (split-height-threshold, split-width-threshold)
22608 (even-window-heights): Make obsolete.
22609
22610 2011-06-12 Glenn Morris <rgm@gnu.org>
22611
22612 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
22613 Misc simplifications.
22614
22615 2011-06-12 Martin Rudalics <rudalics@gmx.at>
22616
22617 * window.el (window-safely-shrinkable-p): Restore function which
22618 was inadvertently removed in change from 2011-06-11. Declare as
22619 obsolete.
22620
22621 * calendar/calendar.el (calendar-generate-window):
22622 Use window-iso-combined-p instead of combination of one-window-p and
22623 window-safely-shrinkable-p.
22624
22625 2011-06-12 Glenn Morris <rgm@gnu.org>
22626
22627 * progmodes/fortran.el (fortran-mode-syntax-table):
22628 * progmodes/f90.el (f90-mode-syntax-table):
22629 Set % to punctuation. (Bug#8820)
22630 (f90-find-tag-default): Remove, no longer needed.
22631
22632 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
22633
22634 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
22635
22636 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
22637
22638 * image.el (image-animated-p): Return animation delay in seconds.
22639 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
22640 (image-animate-timeout): Remove DELAY argument. Don't assume
22641 every subimage has the same delay; get it from image-animated-p.
22642 (image-animate): Caller changed.
22643
22644 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
22645
22646 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
22647 to ignored backtrace functions.
22648
22649 2011-06-11 Glenn Morris <rgm@gnu.org>
22650
22651 * calendar/appt.el (appt-disp-window-function): Doc fix.
22652 (appt-check): Handle overlapping appointments. (Bug#8337)
22653
22654 2011-06-11 Martin Rudalics <rudalics@gmx.at>
22655
22656 * window.el (window-tree-1, window-tree): New functions, moving
22657 the latter to window.el.
22658 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
22659 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
22660 (bw-refresh-edges): Remove.
22661 (balance-windows-1, balance-windows-2): New functions.
22662 (balance-windows): Rewrite in terms of window tree functions,
22663 balance-windows-1 and balance-windows-2.
22664 (bw-adjust-window): Remove.
22665 (balance-windows-area-adjust): New function with functionality of
22666 bw-adjust-window but using resize-window.
22667 (set-window-text-height): Rewrite doc-string.
22668 Use normalize-live-window and resize-window.
22669 (enlarge-window-horizontally, shrink-window-horizontally):
22670 Rename argument to DELTA.
22671 (window-buffer-height): New function.
22672 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
22673 Rewrite using new window resize routines.
22674 (kill-buffer-and-window, mouse-autoselect-window-select):
22675 Use ignore-errors instead of condition-case.
22676 (quit-window): Call delete-frame instead of delete-windows-on
22677 for the only buffer on frame.
22678
22679 2011-06-10 Martin Rudalics <rudalics@gmx.at>
22680
22681 * loadup.el (top-level): Load window before files for the sake
22682 of replace-buffer-in-windows.
22683
22684 * files.el (read-buffer-to-switch)
22685 (switch-to-buffer-other-window)
22686 (switch-to-buffer-other-frame, display-buffer-other-frame):
22687 Move to window.el.
22688
22689 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
22690 (previous-buffer): Move to window.el.
22691
22692 * bindings.el (unbury-buffer): Move to window.el.
22693
22694 * window.el (delete-other-windows-vertically): Move after
22695 definition of delete-other-windows.
22696 (other-window, delete-windows-on, replace-buffer-in-windows):
22697 Move here from window.c.
22698 (record-window-buffer, unrecord-window-buffer)
22699 (set-window-buffer-start-and-point, switch-to-prev-buffer)
22700 (switch-to-next-buffer): New functions.
22701 (get-next-valid-buffer, last-buffer, next-buffer): Move here
22702 from simple.el. Call switch-to-next-buffer.
22703 (previous-buffer): Move here from simple.el.
22704 Call switch-to-prev-buffer.
22705 (bury-buffer): Move here from buffer.c. Switch to previous
22706 buffer when window cannot be deleted.
22707 (unbury-buffer): Move here from bindings.el.
22708 (ctl-x-map): Move binding for other-window from window.c to
22709 here.
22710 (read-buffer-to-switch, switch-to-buffer-other-window)
22711 (switch-to-buffer-other-frame): Move here from files.el.
22712 (normalize-buffer-to-switch-to): New functions.
22713 (switch-to-buffer): Move here from buffer.c.
22714 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
22715
22716 2011-06-10 Martin Rudalics <rudalics@gmx.at>
22717
22718 * window.el (window-min-height, window-min-width): Move here
22719 from window.c. Add defcustoms and rewrite doc-strings.
22720 (resize-mini-window, resize-window): New functions.
22721 (adjust-window-trailing-edge, enlarge-window, shrink-window):
22722 Move here from window.c.
22723 (maximize-window, minimize-window): New functions.
22724 (delete-window, delete-other-windows, split-window): Move here
22725 from window.c.
22726 (window-split-min-size): New function.
22727 (split-window-keep-point): Mention split-window-above-each-other
22728 instead of split-window-vertically.
22729 (split-window-above-each-other, split-window-vertically):
22730 Rename split-window-vertically to split-window-above-each-other
22731 and provide defalias for old definition.
22732 (split-window-side-by-side, split-window-horizontally):
22733 Rename split-window-horizontally to split-window-side-by-side
22734 and provide defalias for the old definition.
22735 (ctl-x-map): Move bindings for delete-window,
22736 delete-other-windows and enlarge-window here from window.c.
22737 Replace bindings for split-window-vertically and
22738 split-window-horizontally by bindings for
22739 split-window-above-each-other and split-window-side-by-side.
22740
22741 * cus-start.el (all): Remove entries for window-min-height and
22742 window-min-width. Add entries for window-splits and
22743 window-nest.
22744
22745 2011-06-09 Glenn Morris <rgm@gnu.org>
22746
22747 * calendar/appt.el (appt-mode-line): New function.
22748 (appt-check, appt-disp-window): Use it.
22749
22750 * files.el (hack-one-local-variable-eval-safep):
22751 Allow minor-modes with explicit +/-1 arguments.
22752
22753 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
22754
22755 * term/xterm.el (xterm): Add defgroup.
22756 (xterm-extra-capabilities): Add defcustom to supply known xterm
22757 capabilities, skip querying them, or query them (default).
22758 (terminal-init-xterm): Use it.
22759 (terminal-init-xterm-modify-other-keys): New function to set up
22760 modifyOtherKeys support to simplify `terminal-init-xterm'.
22761
22762 2011-06-09 Martin Rudalics <rudalics@gmx.at>
22763
22764 * window.el (resize-window-reset, resize-window-reset-1)
22765 (resize-subwindows-skip-p, resize-subwindows-normal)
22766 (resize-subwindows, resize-other-windows, resize-this-window)
22767 (resize-root-window, resize-root-window-vertically)
22768 (window-deletable-p, window-or-subwindow-p)
22769 (frame-root-window-p): New functions.
22770
22771 2011-06-09 Glenn Morris <rgm@gnu.org>
22772
22773 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
22774 (ange-ftp-get-files): Use it.
22775
22776 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
22777
22778 * mail/sendmail.el (mail-recover-1, mail-recover):
22779 * files.el (recover-file, recover-session):
22780 Handle dired-listing-switches not being just a single short option.
22781
22782 2011-06-09 Glenn Morris <rgm@gnu.org>
22783
22784 * calendar/appt.el (appt-display-message, appt-disp-window):
22785 Handle lists of appointments.
22786
22787 2011-06-08 Martin Rudalics <rudalics@gmx.at>
22788
22789 * window.el (one-window-p): Move down in code.
22790 Rewrite doc-string.
22791 (window-current-scroll-bars): Rewrite doc-string.
22792 Normalize live window argument.
22793 (walk-windows, get-window-with-predicate, count-windows):
22794 Rewrite doc-string. Use window-list-1.
22795 (window-in-direction-2, window-in-direction, get-mru-window):
22796 New functions.
22797
22798 2011-06-08 Reuben Thomas <rrt@sc3d.org>
22799
22800 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
22801 Doc fix (Bug#8713).
22802
22803 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
22804
22805 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
22806
22807 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
22808
22809 * loadhist.el (unload-feature-special-hooks):
22810 Add `comint-output-filter-functions'.
22811
22812 2011-06-08 Ivan Kanis <gnu@kanis.fr>
22813
22814 * calendar/appt.el (appt-check): Move some initializations into the let.
22815
22816 2011-06-08 Martin Rudalics <rudalics@gmx.at>
22817
22818 * window.el (window-height): Defalias to window-total-height.
22819 (window-width): Defalias to window-body-width.
22820
22821 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
22822
22823 * image-mode.el (image-toggle-animation): New command.
22824 (image-mode-map): Bind it to RET.
22825 (image-mode): Update message.
22826 (image-toggle-display-image): Avoid a spurious cache flush.
22827 (image-transform-rotation): Doc fix.
22828 (image-transform-properties): Return quickly in the normal case.
22829 (image-animate-loop): Rename from image-animate-max-time.
22830
22831 * image.el (image-animate-max-time): Move to image-mode.el.
22832 (create-animated-image): Remove unnecessary function.
22833 (image-animate): Rename from image-animate-start. New arg.
22834 (image-animate-stop): Remove; just use image-animate-timer.
22835 (image-animate-timer): Use car-safe.
22836 (image-animate-timeout): Rename argument.
22837
22838 2011-06-07 Martin Rudalics <rudalics@gmx.at>
22839
22840 * window.el (get-lru-window, get-largest-window): Move here from
22841 window.c. Rename first argument to ALL-FRAMES.
22842 Rephrase doc-strings.
22843 (get-buffer-window-list): Rewrite using window-list-1.
22844 Rephrase doc-string.
22845 (window-safe-min-height, window-safe-min-width): New constants.
22846 (window-size-ignore, window-min-size, window-min-size-1)
22847 (window-sizable, window-sizable-p, window-size-fixed-1)
22848 (window-size-fixed-p, window-min-delta-1, window-min-delta)
22849 (window-max-delta-1, window-max-delta, window-resizable)
22850 (window-resizable-p, window-total-height, window-total-width)
22851 (window-body-width): New functions.
22852 (window-full-height-p, window-full-width-p): Rewrite using
22853 window-total-size.
22854 (window-body-height): Rewrite using window-body-size.
22855
22856 2011-06-06 Martin Rudalics <rudalics@gmx.at>
22857
22858 * window.el (window-right, window-left, window-child)
22859 (window-child-count, window-last-child, window-any-p)
22860 (normalize-live-buffer, normalize-live-frame)
22861 (normalize-any-window, normalize-live-window)
22862 (window-iso-combination-p, window-iso-combined-p)
22863 (window-iso-combinations)
22864 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
22865 (windows-with-parameter, window-with-parameter)
22866 (window-atom-root, make-window-atom, window-atom-check-1)
22867 (window-atom-check, window-side-check, window-check):
22868 New functions.
22869 (ignore-window-parameters, window-sides, window-sides-vertical)
22870 (window-sides-slots): New variables.
22871 (window-size-fixed): Move down in code. Minor doc-string fix.
22872
22873 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
22874
22875 * comint.el (comint-dynamic-complete-as-filename)
22876 (comint-dynamic-complete-filename): Correctly call
22877 completion-in-region.
22878
22879 2011-06-05 Deniz Dogan <deniz@dogan.se>
22880
22881 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
22882 in last change.
22883
22884 2011-06-05 Deniz Dogan <deniz@dogan.se>
22885
22886 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
22887 (rcirc): Use it to prompt for encryption.
22888
22889 2011-06-05 Roland Winkler <winkler@gnu.org>
22890
22891 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
22892 (bibtex-search-entries): New command bound to C-c C-a.
22893 (bibtex-display-entries): New function.
22894
22895 2011-06-05 Roland Winkler <winkler@gnu.org>
22896
22897 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
22898 (bibtex-insert-kill): After yanking insert newline if necessary.
22899 (bibtex-initialize): Call bibtex-string-files-init only once.
22900 (bibtex-mode): Do not call easy-menu-add.
22901 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
22902 (bibtex-yank): Set arg properly if nil.
22903
22904 2011-06-05 Roland Winkler <winkler@gnu.org>
22905
22906 * textmodes/bibtex.el (bibtex-search-entry-globally):
22907 New variable.
22908 (bibtex-search-entry): Use it.
22909
22910 2011-06-05 Roland Winkler <winkler@gnu.org>
22911
22912 * textmodes/bibtex.el (bibtex-entry-format): New option
22913 sort-fields.
22914 (bibtex-format-entry, bibtex-reformat): Honor this option.
22915 (bibtex-parse-entry): Return fields in proper order.
22916
22917 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
22918
22919 * doc-view.el (doc-view-remove-if): Move computation of result out
22920 of `dolist' to silence misleading lexical-binding warning.
22921
22922 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
22923
22924 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
22925 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
22926
22927 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
22928
22929 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
22930 "SunOS 5.10".
22931
22932 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
22933
22934 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
22935 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
22936 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
22937 (tramp-parse-putty):
22938 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
22939 (tramp-completion-function-alist-ssh)
22940 (tramp-completion-function-alist-telnet)
22941 (tramp-completion-function-alist-su)
22942 (tramp-completion-function-alist-putty): Set `tramp-autoload'
22943 cookie.
22944
22945 * net/tramp-ftp.el:
22946 * net/tramp-sh.el:
22947 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
22948 load "tramp.el" `tramp-set-completion-function'.
22949
22950 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
22951
22952 * shell.el: Require and use pcomplete.
22953 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
22954 (shell-completion-vars): Set pcomplete-default-completion-function.
22955
22956 2011-06-04 Deniz Dogan <deniz@dogan.se>
22957
22958 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
22959 `memq' (Bug#8799).
22960
22961 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
22962
22963 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
22964
22965 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
22966
22967 * bs.el (bs--mark-unmark, bs--nth-wrapper):
22968 * mpc.el (mpc-select-extend, mpc-songpointer-context):
22969 * vc/log-view.el (log-view-beginning-of-defun):
22970 * vc/smerge-mode.el (smerge-apply-resolution-patch)
22971 (smerge-refine-forward, smerge-refine-chopup-region):
22972 Silence warning for unused `dotimes' counter variables.
22973
22974 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
22975
22976 * net/tramp.el (tramp-with-progress-reporter): Rename from
22977 with-progress-reporter. Use `declare'.
22978 * net/tramp-smb.el:
22979 * net/tramp-sh.el:
22980 * net/tramp-gvfs.el: Update all uses.
22981
22982 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
22983
22984 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
22985 buffer isn't killed before making it current.
22986
22987 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
22988
22989 Silence various byte-compiler warnings.
22990 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
22991 `access-type' and new obsolescence format.
22992 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
22993 new format.
22994 (byte-compile-check-variable): New `access-type' argument.
22995 Only warn if the access-type is obsolete.
22996 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
22997 (byte-compile-variable-set): Adjust callers.
22998 * help-fns.el (describe-variable): Adjust to new obsolescence format.
22999 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
23000 setting it as obsolete.
23001 * simple.el (minibuffer-completing-symbol):
23002 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
23003 access as obsolete.
23004 * minibuffer.el (minibuffer-completing-file-name): Don't make it
23005 obsolete yet.
23006 * international/quail.el (quail-mouse-choose-completion): Remove unused
23007 code referring to obsolete var.
23008 (quail-choose-completion-string): Remove.
23009 * server.el (server-clients-with, server-kill-buffer-query-function)
23010 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
23011 * proced.el (proced-send-signal):
23012 * emacs-lisp/lisp.el (lisp-complete-symbol):
23013 Replace completion-annotate-function with completion-extra-properties.
23014
23015 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
23016
23017 * simple.el (goto-line): Use read-number.
23018 (overriding-map-is-bound): Remove.
23019 (saved-overriding-map): Change default.
23020 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
23021 Take the map as argument.
23022 (universal-argument, negative-argument, digit-argument): Use it.
23023 (restore-overriding-map): Adjust.
23024 (do-auto-fill): Use fill-forward-paragraph.
23025 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
23026
23027 * minibuffer.el (minibuffer-inactive-mode-map): New var.
23028 (minibuffer-inactive-mode): New major mode.
23029 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
23030 the *Messages* buffer" hack.
23031 (mouse-popup-menubar): Don't burp if the event is a normal key.
23032
23033 Miscellaneous tweaks.
23034 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
23035 lexical scoping as in subr.el's dolist and dotimes.
23036 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
23037 Silence compiler warning.
23038 * thingatpt.el (forward-whitespace): Trivial coding style fix.
23039 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
23040 * international/ccl.el (ccl-compile): Trivial simplification.
23041 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
23042 * emacs-lisp/testcover.el (testcover-end): Remove spurious
23043 `printflag' argument.
23044 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
23045 Purecopy the whole obsolescence data.
23046
23047 2011-06-01 Leo Liu <sdl.web@gmail.com>
23048
23049 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
23050 improve doc-string as suggested by Marco Pessotto
23051 <melmothx@gmail.com>.
23052 (rcirc-print): Fix last change.
23053
23054 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
23055
23056 * minibuffer.el (complete-with-action): Return nil for the metadata and
23057 boundaries of non-functional tables.
23058 (completion-table-dynamic): Return nil for the metadata.
23059 (completion-table-with-terminator): Add default case, using
23060 complete-with-action.
23061 (completion--metadata): New function.
23062 (completion-all-sorted-completions, minibuffer-completion-help): Use it
23063 to try and avoid pathological performance problems.
23064 (completion--embedded-envvar-table): Return `category' metadata.
23065
23066 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
23067
23068 * subr.el (process-alive-p): New tiny convenience function.
23069
23070 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
23071
23072 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
23073 content but also its previous major mode.
23074
23075 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
23076
23077 * emacs-lisp/debug.el (debug): Restore the previous content of the
23078 *Backtrace* buffer when we exit with C-M-c.
23079
23080 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
23081
23082 * minibuffer.el: Add metadata method to completion tables.
23083 (completion-category-overrides): New defcustom.
23084 (completion-metadata, completion--field-metadata)
23085 (completion-metadata-get, completion--styles)
23086 (completion--cycle-threshold): New functions.
23087 (completion-try-completion, completion-all-completions):
23088 Add `metadata' argument to choose completion-styles.
23089 (completion--do-completion): Use metadata to choose cycling.
23090 (completion-all-sorted-completions): Use metadata for sorting.
23091 Remove :completion-cycle-penalty which is not needed any more.
23092 (completion--try-word-completion): Add `metadata' argument.
23093 (minibuffer-completion-help): Check metadata for annotation function
23094 and sorting.
23095 (completion-file-name-table): Return `category' metadata.
23096 (minibuffer-completing-file-name): Make obsolete.
23097 * simple.el (minibuffer-completing-symbol): Make obsolete.
23098 * icomplete.el (icomplete-completions): Pass new `metadata' param to
23099 completion-try-completion.
23100
23101 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
23102
23103 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
23104
23105 2011-05-30 Leo Liu <sdl.web@gmail.com>
23106
23107 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
23108 (rcirc-print): Decode all incoming messages (bug#8744).
23109 (rcirc-decode-coding-system): Allow value nil for automatic coding
23110 system detection.
23111
23112 2011-06-01 Glenn Morris <rgm@gnu.org>
23113
23114 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
23115
23116 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
23117
23118 * image.el (image-animate-max-time): Allow nil and t values.
23119 Default to nil.
23120 (create-animated-image): Doc fix.
23121 (image-animate-start): Remove second arg; just use
23122 image-animate-max-time.
23123 (image-animate-timeout): Doc fix. Args changed.
23124
23125 * image-mode.el (image-toggle-display-image): Ensure that the
23126 image spec passed to the animate timer is the same object as in
23127 the buffer's display property (Bug#6981).
23128 (image-transform-properties): Doc fix.
23129
23130 * image.el (image-animate-max-time): Default to nil.
23131
23132 2011-05-29 Martin Rudalics <rudalics@gmx.at>
23133
23134 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
23135 entire buffer list (Bug#8184).
23136
23137 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
23138
23139 * image.el (imagemagick-types-inhibit)
23140 (imagemagick-register-types): Doc fix.
23141
23142 2011-05-29 Deniz Dogan <deniz@dogan.se>
23143
23144 * net/rcirc.el (rcirc): Use the user's stored encryption method by
23145 default.
23146
23147 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
23148
23149 * select.el: Don't perform clipboard-manager saving in hooks;
23150 leave the hooks empty.
23151
23152 2011-05-28 Leo Liu <sdl.web@gmail.com>
23153
23154 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
23155 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
23156 (occur-edit-mode): New major mode (Bug#8463).
23157 (occur-after-change-function): New function.
23158 (occur-engine): Give Occur tags a read-only property.
23159
23160 2011-05-28 Kevin Ryde <user42@zip.com.au>
23161
23162 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
23163
23164 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
23165
23166 * bindings.el (help-echo): Make the initial non-indicator dash
23167 empty on graphical terminals (Bug#7295).
23168
23169 * files.el (auto-mode-alist): Move config rule after the
23170 in-stripping one (Bug#8547).
23171
23172 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
23173
23174 * startup.el (normal-splash-screen): Remove gratuitous mode-line
23175 setting (Bug#8740).
23176
23177 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
23178
23179 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
23180 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
23181 (Bug#8539).
23182
23183 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
23184
23185 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
23186
23187 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
23188
23189 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
23190 (hs-hide-block-at-point, hs-find-block-beginning)
23191 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
23192 (Bug#8279).
23193
23194 2011-05-28 Glenn Morris <rgm@gnu.org>
23195
23196 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
23197
23198 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
23199
23200 * help-fns.el (describe-function-1): If the function is a derived
23201 major mode, print the parent mode.
23202
23203 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
23204 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
23205
23206 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
23207
23208 * minibuffer.el (completion--capf-wrapper): Check applicability before
23209 returning non-nil for non-exclusive completion data.
23210 * progmodes/etags.el (tags-completion-at-point-function):
23211 * info-look.el (info-lookup-completions-at-point): Mark as
23212 non-exclusive.
23213 (info-complete): Adjust accordingly.
23214
23215 * info-look.el: Convert to lexical-binding and completion-at-point.
23216 (info-lookup-completions-at-point): New function.
23217 (info-complete): Use it and completion-in-region.
23218
23219 2011-05-28 Drew Adams <drew.adams@oracle.com>
23220
23221 * isearch.el: Let M-e start with point at the first mismatched char.
23222 (isearch-fail-pos): New function.
23223 (isearch-edit-string): Use it.
23224
23225 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
23226
23227 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
23228
23229 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
23230
23231 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
23232 traversal functions for avl-trees.
23233 (avl-tree--stack): New struct.
23234 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
23235 (avl-tree-enter): Add optional `updatefun' arg.
23236 (avl-tree--do-enter): Add optional `updatefun' arg.
23237 Change return value.
23238 (avl-tree-delete): Add optional `test' and `nilflag' args.
23239 (avl-tree--do-delete): Add `test' and `nilflag' args.
23240 Change return value.
23241 (avl-tree-member): Add optional `nilflag'
23242 (avl-tree-member-p): New function.
23243 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
23244 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
23245 (avl-tree-stack-empty-p): New functions.
23246
23247 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
23248 avl-tree--del-balance1 and make it work both ways.
23249 (avl-tree--del-balance2): Remove.
23250 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
23251 make it work both ways.
23252 (avl-tree--enter-balance2): Remove.
23253 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
23254 New macros.
23255 (avl-tree--mapc, avl-tree-map): Add direction argument.
23256
23257 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
23258
23259 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
23260
23261 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
23262
23263 * select.el: Support clipboard managers with built-in function
23264 x-clipboard-manager-save, via delete-frame-functions and
23265 kill-emacs-hook.
23266 (xselect-convert-to-targets): Add MULTIPLE target to list.
23267 (xselect-convert-to-save-targets): New function.
23268
23269 2011-05-27 Kenichi Handa <handa@m17n.org>
23270
23271 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
23272 let-binding rfc2047-encode-encoded-words to nil.
23273
23274 2011-05-27 Glenn Morris <rgm@gnu.org>
23275
23276 * mail/emacsbug.el: Don't require url-util.
23277
23278 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
23279
23280 * files.el (set-auto-mode):
23281 Also respect mode: entries at the end of the file. (Bug#8586)
23282
23283 2011-05-26 Glenn Morris <rgm@gnu.org>
23284
23285 * files.el (hack-local-variables-prop-line, hack-local-variables):
23286 Downcase mode names, as seems to be traditional.
23287 (hack-local-variables, hack-local-variables-apply): Doc fixes.
23288
23289 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
23290 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
23291
23292 2011-05-25 Julien Danjou <julien@danjou.info>
23293
23294 * textmodes/rst.el (rst-define-level-faces): Do not define face
23295 symbol if it is already defined.
23296
23297 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
23298
23299 * play/5x5.el (5x5-new-game, 5x5-randomize):
23300 Reset 5x5-solver-output to nil when a new grid is cast.
23301 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
23302 these debugging traces, as defmacro breaks the compiled code.
23303
23304 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
23305
23306 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
23307
23308 2011-05-24 Leo Liu <sdl.web@gmail.com>
23309
23310 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
23311 (vc-bzr-sha1): Adapt.
23312
23313 * sha1.el: Remove. Function `sha1' is now builtin.
23314
23315 * bindings.el: Provide sha1 feature.
23316
23317 2011-05-24 Kenichi Handa <handa@m17n.org>
23318
23319 * mail/sendmail.el: Require `rfc2047'.
23320 (mail-insert-from-field): Do not perform RFC2047 encoding.
23321 (mail-encode-header): New function.
23322 (sendmail-send-it): Set buffer-file-coding-system of the work
23323 buffer to the return value of select-message-coding-system.
23324 Call mail-encode-header.
23325
23326 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
23327
23328 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
23329
23330 * mail/supercite.el (sc-default-cite-frame):
23331 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
23332
23333 2011-05-24 Glenn Morris <rgm@gnu.org>
23334
23335 * progmodes/python.el (brm-menu): Declare.
23336
23337 * emulation/viper.el (viper-set-hooks): Declare.
23338
23339 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
23340 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
23341 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
23342 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
23343 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
23344 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
23345
23346 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
23347
23348 Add an :exit-function for completion-at-point.
23349
23350 * minibuffer.el (completion--done): New fun.
23351 (completion--do-completion): Use it. New arg `expect-exact'.
23352 (minibuffer-complete, minibuffer-complete-word): Don't output message,
23353 since completion--do-completion does it for us now.
23354 (minibuffer-force-complete): Use completion--done and
23355 completion--replace. Handle sole-completion case with more care.
23356 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
23357 (completion-extra-properties): New var.
23358 (completion-annotate-function): Make obsolete.
23359 (minibuffer-completion-help): Adjust accordingly.
23360 Use completion-list-insert-choice-function.
23361 (completion-at-point, completion-help-at-point):
23362 Bind completion-extra-properties.
23363 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
23364 * simple.el (completion-list-insert-choice-function): New var.
23365 (completion-setup-function): Preserve it.
23366 (choose-completion): Pay attention to it, shuffle the code a bit.
23367 (choose-completion-string): New arg `insert-function'.
23368
23369 * textmodes/bibtex.el: Convert to lexical binding.
23370 (bibtex-mode-map): Use completion-at-point.
23371 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
23372 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
23373 (bibtex-complete): Define as obsolete alias.
23374 (bibtex-complete-internal): Remove.
23375 (bibtex-format-entry): Remove unused sub-group in regexp.
23376 * shell.el (shell--command-completion-data)
23377 (shell-environment-variable-completion):
23378 * pcomplete.el (pcomplete-completions-at-point):
23379 * comint.el (comint--complete-file-name-data): Use :exit-function
23380 instead of completion-table-with-terminator so it also works for
23381 choose-completion.
23382
23383 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
23384
23385 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
23386
23387 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
23388 (bug#8710).
23389
23390 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
23391
23392 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
23393
23394 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
23395 customization variable and implement: If non-nil, auto-fill will
23396 be inhibited while on topic's header line.
23397
23398 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
23399
23400 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
23401 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
23402 always have a solution in grid size = 5 cases.
23403 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
23404 (5x5-solver-output, 5x5-log-buffer): New vars.
23405 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
23406 Make these variables buffer local to achieve 5x5 multi-session-ness.
23407 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
23408 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
23409 (5x5-solve-suggest): New funs.
23410 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
23411 randomize a grid so that we ensure that there is always a solution.
23412 (5x5-make-random-grid): Allow other movement than flipping.
23413
23414 2011-05-23 Kevin Ryde <user42@zip.com.au>
23415
23416 * emacs-lisp/advice.el (ad-read-advised-function):
23417 Use `function-called-at-point' as the default, if it has
23418 advice and passes PREDICATE.
23419
23420 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
23421
23422 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
23423 byte-compile-lambda if it's actually a lambda.
23424
23425 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
23426 Fix function quoting. Use backquote better.
23427
23428 2011-05-22 Yuanle Song <sylecn@gmail.com>
23429
23430 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
23431 matching (Bug#8516).
23432
23433 2011-05-22 Jari Aalto <jari.aalto@cante.net>
23434
23435 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
23436 different face (Bug#8178).
23437
23438 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
23439
23440 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
23441 defface (Bug#8144).
23442
23443 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
23444
23445 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
23446 funcall as well (bug#8712). Warn when performing those conversions.
23447 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
23448
23449 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
23450
23451 2011-05-22 Glenn Morris <rgm@gnu.org>
23452
23453 * files.el (hack-local-variables-prop-line): Small simplifications.
23454 (hack-local-variables, hack-local-variables-prop-line):
23455 If MODE-ONLY, return the mode, rather than just `t'.
23456
23457 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
23458
23459 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
23460
23461 2011-05-21 Glenn Morris <rgm@gnu.org>
23462
23463 * files.el (hack-local-variables-prop-line, hack-local-variables):
23464 If only interested in the mode, don't bother doing the other stuff.
23465
23466 * image-mode.el (image-after-revert-hook):
23467 Redraw all frames on which the image is visible. (Bug#8567)
23468
23469 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
23470
23471 * wid-edit.el (widget-checklist-match-inline):
23472 Fix 2011-04-19 change. (Bug#8649)
23473
23474 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
23475
23476 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
23477 Also allow singlespace after single-letter capitals followed by a dot.
23478
23479 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
23480 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
23481
23482 2011-05-20 Nix <nix@esperi.org.uk>
23483
23484 * files.el (basic-save-buffer-2):
23485 Fix handling of break-hardlink-on-save with non-existent files.
23486
23487 2011-05-19 Deniz Dogan <deniz@dogan.se>
23488
23489 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
23490 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
23491
23492 2011-05-19 Glenn Morris <rgm@gnu.org>
23493
23494 * progmodes/f90.el (f90-type-def-re):
23495 Handle "type, bind(c)". (Bug#8691)
23496
23497 * emacs-lisp/autoload.el (batch-update-autoloads):
23498 Set autoload-excludes by parsing loadup.el rather than Makefiles.
23499
23500 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
23501
23502 * net/tramp.el (tramp-process-actions): Set "first-password-request"
23503 property for the correct connection in case of multihops.
23504
23505 2011-05-18 Glenn Morris <rgm@gnu.org>
23506
23507 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
23508 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
23509
23510 Rationalize calendar handling of day and month abbrev-arrays.
23511 * calendar/calendar.el (calendar-customized-p): New function.
23512 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
23513 (calendar-day-name-array, calendar-month-name-array): Doc fix.
23514 Add :set function.
23515 (calendar-abbrev-length, calendar-day-abbrev-array)
23516 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
23517 (calendar-day-abbrev-array, calendar-month-abbrev-array):
23518 Elements may no longer be nil.
23519 (calendar-day-name, calendar-month-name):
23520 Update for changed nature of abbrev arrays.
23521 * calendar/diary-lib.el (diary-name-pattern):
23522 Update for changed nature of abbrev arrays.
23523 (diary-mark-entries-1): Update calendar-make-alist calls.
23524 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
23525 * calendar/cal-html.el (cal-html-day-abbrev-array):
23526 Simply inherit from calendar-day-abbrev-array.
23527
23528 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
23529
23530 * progmodes/grep.el (grep-mode): Disable default
23531 compilation-directory-matcher setting (bug#8684).
23532
23533 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
23534
23535 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
23536 instead of "head" and "tail". There were problems with SunOS 5.9,
23537 and it performs better.
23538
23539 2011-05-17 Glenn Morris <rgm@gnu.org>
23540
23541 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
23542
23543 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
23544 Replace obsolete function.
23545
23546 * shell.el (pcomplete-parse-arguments-function): Declare.
23547
23548 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
23549 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
23550 (appt-check): Doc fixes.
23551 (appt-disp-window-function, appt-delete-window-function):
23552 Remove needless special case in custom :type.
23553 (appt-display-count): Default to 0, not nil.
23554 (appt-check): Reset appt-display-count to 0, not nil.
23555
23556 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
23557
23558 * progmodes/python.el (python-font-lock-keywords):
23559 Add the Python 3.X keyword "nonlocal" (bug#8639).
23560
23561 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
23562
23563 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
23564
23565 2011-05-16 Kevin Ryde <user42@zip.com.au>
23566
23567 * info-look.el (makefile-automake-mode): New setups, looking in
23568 automake manual, then makefile-mode.
23569 (makefile-mode): Remove automake manual, have it just in
23570 makefile-automake-mode since there's various things different or
23571 not relevant to plain make.
23572 (makefile-mode): Remove "other-modes" non-existent automake-mode,
23573 believe a hypothetical automake-mode would go to makefile-mode,
23574 not the other way around.
23575
23576 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
23577
23578 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
23579 hunk-end tags (Bug#8672).
23580
23581 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
23582 vc-annotate-show-diff-revision-at-line (Bug#8671).
23583
23584 2011-05-14 Glenn Morris <rgm@gnu.org>
23585
23586 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
23587 in the middle of an existing one with multiple authors. (Bug#8645)
23588 (change-log-font-lock-keywords): Also handle multiple author lines
23589 with leading tabs. (Bug#8644)
23590
23591 * calendar/appt.el (appt-check): Rename some local variables.
23592 Some simplification/reordering.
23593
23594 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
23595 (feedmail-sendmail-f-doesnt-sell-me-out)
23596 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
23597 (feedmail-debug-sit-for, feedmail-queue-express-hook)
23598 (feedmail-queue-runner-message-sender): Set :version.
23599 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
23600 (bbdb-dwim-net-address, vm-mail): Declare.
23601 (feedmail-binmail-gnulinuxish-template):
23602 Rename from feedmail-binmail-linuxish-template.
23603 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
23604 Use insert-buffer-substring.
23605
23606 2011-05-14 Bill Carpenter <bill@carpenter.org>
23607
23608 * mail/feedmail.el (feedmail-patch-level): Increase.
23609 (feedmail-debug): New custom group.
23610 (feedmail-confirm-outgoing-timeout)
23611 (feedmail-sendmail-f-doesnt-sell-me-out)
23612 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
23613 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
23614 (feedmail-sender-line, feedmail-from-line)
23615 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
23616 (feedmail-spray-this-address)
23617 (feedmail-spray-address-fiddle-plex-list)
23618 (feedmail-queue-use-send-time-for-date)
23619 (feedmail-queue-use-send-time-for-message-id)
23620 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
23621 (feedmail-buffer-eating-function):
23622 Doc fixes.
23623 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
23624 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
23625 (feedmail-message-action-scroll-down): New functions.
23626 (feedmail-queue-directory, feedmail-queue-draft-directory):
23627 Use expand-file-name.
23628 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
23629 Remove C-v help entry.
23630 (feedmail-queue-buffer-file-name): New variable.
23631 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
23632 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
23633 (feedmail-message-action-send-strong, feedmail-message-action-edit)
23634 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
23635 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
23636 (feedmail-message-action-toggle-spray)
23637 (feedmail-run-the-queue-no-prompts)
23638 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
23639 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
23640 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
23641 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
23642 (feedmail-envelope-deducer, feedmail-fiddle-from)
23643 (feedmail-fiddle-sender, feedmail-default-date-generator)
23644 (feedmail-fiddle-date, feedmail-fiddle-message-id)
23645 (feedmail-fiddle-spray-address)
23646 (feedmail-fiddle-list-of-spray-fiddle-plexes)
23647 (feedmail-fiddle-list-of-fiddle-plexes)
23648 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
23649 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
23650 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
23651 Change default. Doc fix.
23652 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
23653 (feedmail-binmail-linuxish-template): New constant.
23654 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
23655 Respect feedmail-sendmail-f-doesnt-sell-me-out.
23656 (feedmail-send-it): Add debug call.
23657 Use feedmail-queue-buffer-file-name, and
23658 feedmail-send-it-immediately-wrapper.
23659 (feedmail-message-action-send): Add debug call.
23660 Use feedmail-send-it-immediately-wrapper.
23661 (feedmail-queue-express-to-queue): Add debug call.
23662 Run feedmail-queue-express-hook.
23663 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
23664 (feedmail-message-action-help-blat):
23665 Rename from feedmail-queue-send-edit-prompt-help-first.
23666 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
23667 Check line-endings. Handle errors better.
23668 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
23669 Doc fix. Add debug call.
23670 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
23671 Use feedmail-queue-send-edit-prompt-inner.
23672 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
23673 (feedmail-queue-send-edit-prompt-inner): New function, extracted
23674 from feedmail-queue-send-edit-prompt.
23675 (feedmail-queue-send-edit-prompt-help)
23676 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
23677 (feedmail-tidy-up-slug): Add debug call.
23678 Respect feedmail-queue-slug-suspect-regexp.
23679 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
23680 (feedmail-dump-message-to-queue): Add debug call.
23681 Expand queue-directory.
23682 (feedmail-dump-message-to-queue): Change message slightly.
23683 Use feedmail-say-chatter.
23684 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
23685 (feedmail-send-it-immediately-wrapper): New function.
23686 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
23687 Insert empty string rather than newline. Handle full-frame case.
23688 Use catch/throw. Use feedmail-say-chatter.
23689 (feedmail-fiddle-from): Try mail-host-address.
23690 (feedmail-default-message-id-generator): Doc fix.
23691 Bind system-time-locale. Handle missing end.
23692 (feedmail-fiddle-x-mailer): Add debug call.
23693 Handle feedmail-x-mailer-line being nil.
23694 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
23695 Add debug call. Use buffer-substring-no-properties.
23696 (feedmail-say-debug, feedmail-say-chatter): New functions.
23697 (feedmail-find-eoh): Give an explicit error.
23698
23699 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
23700
23701 * net/newst-treeview.el (newsticker-treeview-face): Change default
23702 family from helvetica to sans.
23703 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
23704 etc/images/newsticker.
23705
23706 * net/newst-reader.el (newsticker-feed-face): Change default
23707 family from helvetica to sans.
23708
23709 * net/newst-plainview.el (newsticker-new-item-face)
23710 (newsticker-old-item-face, newsticker-immortal-item-face)
23711 (newsticker-obsolete-item-face, newsticker-date-face)
23712 (newsticker-statistics-face): Change default family from
23713 helvetica to sans.
23714 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
23715 etc/images/newsticker.
23716
23717 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
23718 (newsticker--process-auto-mark-filter-match): Tell user about
23719 auto-marking.
23720
23721 2011-05-13 Didier Verna <didier@xemacs.org>
23722
23723 Common Lisp indentation improvements on defmethod and lambda-lists.
23724 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
23725 TODO entries.
23726 (lisp-lambda-list-keyword-parameter-indentation)
23727 (lisp-lambda-list-keyword-parameter-alignment)
23728 (lisp-lambda-list-keyword-alignment): New customizable user options.
23729 (lisp-indent-defun-method): Improve docstring.
23730 (extended-loop-p): Fix comment.
23731 (lisp-indent-lambda-list-keywords-regexp): New variable.
23732 (lisp-indent-lambda-list): New function.
23733 (lisp-indent-259): Use it.
23734 (lisp-indent-defmethod): Support for more than one
23735 method qualifier and properly indent methods lambda-lists.
23736 (defgeneric): Provide a missing common-lisp-indent-function property.
23737
23738 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
23739
23740 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
23741 bounds for the empty string (bug#8667).
23742
23743 2011-05-13 Glenn Morris <rgm@gnu.org>
23744
23745 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
23746
23747 * mail/sendmail.el (sendmail-program): Try executable-find first.
23748 (sendmail-send-it): `sendmail-program' cannot be unbound.
23749
23750 * calendar/appt.el (appt-make-list): Simplify.
23751 (appt-time-msg-list): Doc fix.
23752 (appt-check): Change mode-line message at the time of the appointment.
23753
23754 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
23755
23756 * progmodes/ld-script.el (ld-script-keywords)
23757 (ld-script-builtins): Update keywords list.
23758
23759 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
23760
23761 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
23762
23763 * shell.el (shell-completion-vars): New function.
23764 (shell-mode):
23765 * simple.el (read-shell-command): Use it.
23766 (blink-matching-open): No need for " [...]" in minibuffer-message.
23767
23768 2011-05-12 Glenn Morris <rgm@gnu.org>
23769
23770 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
23771 (appt-check): Simplify.
23772
23773 2011-05-12 Eli Zaretskii <eliz@gnu.org>
23774
23775 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
23776 literal "/dev/null".
23777
23778 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
23779
23780 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
23781 Fix typo.
23782
23783 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
23784
23785 * progmodes/which-func.el (which-function):
23786 Use add-log-current-defun instead of add-log-current-defun-function,
23787 which might not be defined (Bug#8260).
23788
23789 2011-05-12 Glenn Morris <rgm@gnu.org>
23790
23791 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
23792 Let byte-compile-initial-macro-environment always take precedence.
23793
23794 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
23795
23796 * net/rcirc.el: Add support for SSL/TLS connections.
23797 (rcirc-server-alist): New field `encryption'.
23798 (rcirc): Check `encryption' settings.
23799 (rcirc-connect): New arg `encryption'. Use open-network-stream.
23800 Merge make-local-variable into `set'.
23801 (rcirc--connection-open-p): New function.
23802 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
23803 the process is not a network process (e.g. running gnutls-cli).
23804 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
23805 Make rcirc-(en|de)code-coding-system local here.
23806 (rcirc-mode): Merge make-local-variable into `set'.
23807 (rcirc-parent-buffer): Make permanent buffer-local.
23808 (rcirc-multiline-minor-mode): Don't do it here.
23809 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
23810 there's no server buffer.
23811
23812 2011-05-11 Glenn Morris <rgm@gnu.org>
23813
23814 * newcomment.el (comment-kill): Prefix "unused" local.
23815
23816 * term/w32console.el (get-screen-color): Declare.
23817
23818 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
23819 Handle symbol elements of byte-compile-initial-macro-environment.
23820
23821 2011-05-10 Leo Liu <sdl.web@gmail.com>
23822
23823 * bookmark.el (bookmark-bmenu-mode-map):
23824 Bind bookmark-bmenu-search to `/'.
23825
23826 * mail/footnote.el: Convert to utf-8 encoding.
23827 (footnote-unicode-string, footnote-unicode-regexp): New variable.
23828 (Footnote-unicode): New function.
23829 (footnote-style-alist): Add unicode style to the list.
23830 (footnote-style): Doc fix.
23831
23832 2011-05-10 Jim Meyering <meyering@redhat.com>
23833
23834 Fix doubled-word typos.
23835 * international/quail.el (quail-insert-kbd-layout): and and -> and
23836 * kermit.el: and and -> and
23837 * net/ldap.el (ldap-search-internal): to to -> to
23838 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
23839 * progmodes/js.el (js-mode): and and -> and
23840 * textmodes/artist.el (artist-move-to-xy): at at -> at
23841 (artist-draw-region-trim-line-endings): if if -> if
23842 And Safetyc -> Safety.
23843 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
23844
23845 2011-05-10 Glenn Morris <rgm@gnu.org>
23846 Stefan Monnier <monnier@iro.umontreal.ca>
23847
23848 * files.el (hack-one-local-variable-eval-safep):
23849 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
23850
23851 2011-05-10 Glenn Morris <rgm@gnu.org>
23852
23853 * calendar/diary-lib.el (diary-list-entries-hook)
23854 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
23855 (diary-nongregorian-marking-hook, diary-list-entries)
23856 (diary-include-other-diary-files, diary-mark-entries)
23857 (diary-mark-included-diary-files): Doc fixes.
23858
23859 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
23860
23861 * misc.el: Require tabulated-list.el during compilation.
23862
23863 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
23864
23865 * progmodes/compile.el (compilation-start):
23866 Run compilation-filter-hook for the async case too.
23867 (compilation-filter-hook): Doc fix.
23868
23869 2011-05-09 Deniz Dogan <deniz@dogan.se>
23870
23871 * wdired.el: Remove outdated installation comment. Fix usage
23872 comment.
23873
23874 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
23875
23876 * misc.el: Implement new command `list-dynamic-libraries'.
23877 (list-dynamic-libraries--loaded-only-p): New variable.
23878 (list-dynamic-libraries--refresh): New function.
23879 (list-dynamic-libraries): New command.
23880
23881 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
23882
23883 * progmodes/compile.el (compilation-error-regexp-alist-alist):
23884 Fix the ant regexp to handle end-line and end-column info from jikes.
23885 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
23886 higher priority to avoid clobbering by gnu.
23887
23888 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
23889
23890 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
23891 if the face has existing theme settings (Bug#8454).
23892
23893 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
23894
23895 * progmodes/perl-mode.el (perl-imenu-generic-expression):
23896 Only match variables declared via `my' or `our' (Bug#8261).
23897
23898 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
23899 special file names `.' and `..' (Bug#8259).
23900
23901 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
23902
23903 * progmodes/grep.el (grep-mode-font-lock-keywords):
23904 Remove buffer-changing entries.
23905 (grep-filter): New function.
23906 (grep-mode): Add it to compilation-filter-hook.
23907
23908 * progmodes/compile.el (compilation-filter-hook)
23909 (compilation-filter-start): New defvars.
23910 (compilation-filter): Call compilation-filter-hook prior to
23911 updating the process mark.
23912
23913 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
23914
23915 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
23916
23917 2011-05-07 Eli Zaretskii <eliz@gnu.org>
23918
23919 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
23920 mailclient-send-it even if window-system is nil. (Bug#8595)
23921
23922 * term/w32console.el (terminal-init-w32console):
23923 Call get-screen-color and use its output to set the frame
23924 background-mode. (Bug#8597)
23925
23926 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
23927
23928 Make bytecomp.el understand that defmethod defines funs (bug#8631).
23929 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
23930 New functions.
23931 (defgeneric, eieio--defmethod): Use them.
23932 (eieio-defgeneric): Remove.
23933 (defmethod): Call defgeneric in a way visible to the byte-compiler.
23934
23935 2011-05-07 Glenn Morris <rgm@gnu.org>
23936
23937 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
23938 Use let rather than let*.
23939 (timeclock-find-discrep): Remove unused local.
23940
23941 * calendar/diary-lib.el (diary-comment-start): Doc fix.
23942
23943 * calendar/appt.el (appt-time-msg-list): Doc fix.
23944
23945 2011-05-06 Noah Friedman <friedman@splode.com>
23946
23947 * apropos.el (apropos-print-doc): Only use
23948 emacs-lisp-docstring-fill-column when it is bound to an integer,
23949 per that variable's documentation.
23950
23951 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
23952
23953 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
23954 and warnings are not silently discarded (e.g. use -d instead of -P).
23955
23956 2011-05-06 Glenn Morris <rgm@gnu.org>
23957
23958 * calendar/appt.el (appt-message-warning-time): Doc fix.
23959 (appt-warning-time-regexp): New option.
23960 (appt-make-list): Respect appt-message-warning-time.
23961
23962 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
23963 New options.
23964 (diary-add-to-list): Strip comments from the displayed string.
23965 (diary-mode): Set comment-start and comment-end.
23966
23967 * vc/diff-mode.el (smerge-refine-subst): Declare.
23968 (diff-refine-hunk): Don't require smerge-mode when compiling.
23969
23970 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
23971
23972 * simple.el (list-processes): Return nil as the docstring says.
23973
23974 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
23975
23976 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
23977 to "".
23978 (ange-ftp-write-region, ange-ftp-insert-file-contents)
23979 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
23980 determining of binary transfer. (Bug#7383)
23981
23982 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
23983
23984 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
23985 Fix port computation bug. (Bug#8618)
23986
23987 2011-05-05 Glenn Morris <rgm@gnu.org>
23988
23989 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
23990
23991 * simple.el (shell-dynamic-complete-functions)
23992 (comint-dynamic-complete-functions): Declare.
23993
23994 * net/network-stream.el (gnutls-negotiate):
23995 * simple.el (tabulated-list-print): Fix declarations.
23996
23997 * progmodes/gud.el (syntax-symbol, syntax-point):
23998 Remove unnecessary and incorrect declarations.
23999
24000 * emacs-lisp/check-declare.el (check-declare-scan):
24001 Handle byte-compile-initial-macro-environment in bytecomp.el.
24002
24003 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
24004
24005 Fix earlier half-done eieio-defmethod change (bug#8338).
24006 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
24007 Streamline and change calling convention.
24008 (defmethod): Adjust accordingly and simplify.
24009 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
24010 new eieio--defmethod.
24011 (slot-boundp): Minor CSE simplification.
24012
24013 2011-05-05 Milan Zamazal <pdm@zamazal.org>
24014
24015 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
24016 (glasses-make-readable): Use glasses-separate-capital-groups.
24017
24018 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
24019
24020 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
24021 (warning-series): Doc fix.
24022 (display-warning): Don't try to create the buffer if we just found it.
24023
24024 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
24025
24026 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
24027 (autoload-find-generated-file): New function.
24028 (generate-file-autoloads): Bind generated-autoload-file to
24029 buffer-file-name.
24030 (update-file-autoloads, update-directory-autoloads):
24031 Use autoload-find-generated-file. If called interactively, prompt for
24032 output file (Bug#7989).
24033 (batch-update-autoloads): Doc fix.
24034
24035 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
24036
24037 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
24038
24039 2011-05-04 Glenn Morris <rgm@gnu.org>
24040
24041 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
24042 function, so it follows changes in calendar-date-style.
24043 (diary-fancy-date-matcher): New function.
24044 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
24045 (diary-fancy-font-lock-fontify-region-function):
24046 Use diary-fancy-date-pattern as a function.
24047
24048 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
24049 non-numbers for `year' etc pseudo-variables. (Bug#8583)
24050
24051 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
24052
24053 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
24054 instead of positional arguments. Allow :keylist and :crlfiles
24055 arguments.
24056 (open-gnutls-stream): Call it.
24057
24058 * net/network-stream.el (network-stream-open-starttls): Adjust to
24059 call `gnutls-negotiate' with :process and :hostname arguments.
24060
24061 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
24062
24063 * minibuffer.el (completion--message): New function.
24064 (completion--do-completion, minibuffer-complete)
24065 (minibuffer-force-complete, minibuffer-complete-word): Use it.
24066 (completion--do-completion): Don't ignore completion-auto-help when in
24067 icomplete-mode.
24068
24069 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
24070 internal encoding (e.g. tibetan zero is not whitespace).
24071 (global-whitespace-mode): Prefer save-current-buffer.
24072 (whitespace-trailing-regexp): Remove useless save-match-data.
24073 (whitespace-empty-at-bob-regexp): Minor simplification.
24074
24075 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
24076
24077 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
24078
24079 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
24080
24081 * textmodes/ispell.el (ispell-add-per-file-word-list):
24082 Use `concat' to create string for insertion.
24083
24084 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
24085
24086 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
24087 Avoid open-line which runs post-self-insert-hook.
24088 (bibtex-fill-entry): Remove unused `end' var.
24089
24090 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
24091
24092 * textmodes/ispell.el (ispell-add-per-file-word-list):
24093 Protect against `nil' value of `comment-start' (Bug#8579).
24094
24095 2011-05-03 Leo Liu <sdl.web@gmail.com>
24096
24097 * isearch.el (isearch-yank-pop): New command.
24098 (isearch-mode-map): Bind it to `M-y'.
24099 (isearch-forward): Mention it.
24100
24101 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
24102
24103 * simple.el (minibuffer-complete-shell-command): Remove.
24104 (minibuffer-local-shell-command-map): Use completion-at-point.
24105 (read-shell-command): Setup completion vars here instead.
24106 (read-expression-map): Bind TAB to symbol completion.
24107
24108 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
24109 error directly rather via storing it into `results'.
24110
24111 2011-05-02 Leo Liu <sdl.web@gmail.com>
24112
24113 * vc/diff.el: Fix description.
24114
24115 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
24116
24117 * server.el (server-eval-at): New function.
24118
24119 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
24120
24121 * net/network-stream.el (open-network-stream): Take a :nowait
24122 parameter and pass it on to `make-network-process'.
24123 (network-stream-open-plain): Ditto.
24124
24125 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
24126
24127 * faces.el (face-spec-set-match-display): Don't match toolkit
24128 options on terminal frames.
24129
24130 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
24131
24132 * progmodes/pascal.el: Use lexical binding.
24133 (pascal-mode-map): Remove author preferences.
24134
24135 * pcomplete.el (pcomplete-std-complete): Don't abuse
24136 completion-at-point.
24137
24138 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
24139
24140 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
24141 removing code that has been dead since 1991 or so.
24142
24143 * startup.el (command-line): When warning about "_emacs", use a
24144 delayed warning to allow the user to filter it out.
24145
24146 2011-04-28 Deniz Dogan <deniz@dogan.se>
24147
24148 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
24149 user has not joined.
24150
24151 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
24152
24153 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
24154 aren't any completions at point.
24155
24156 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
24157
24158 * subr.el (display-delayed-warnings): New function.
24159 (delayed-warnings-hook): New variable.
24160
24161 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
24162
24163 * minibuffer.el (completion-at-point, completion-help-at-point):
24164 Don't presume that a given completion-at-point-function will always
24165 use the same calling convention.
24166
24167 * pcomplete.el (pcomplete-completions-at-point):
24168 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
24169 pcomplete-seen is non-nil.
24170 (pcomplete-comint-setup): Also recognize the new comint/shell
24171 completion functions.
24172 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
24173 pcomplete-seen is non-nil.
24174
24175 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
24176
24177 * calendar/icalendar.el (diary-lib): Add require statement.
24178 (icalendar--create-uid): Read out a uid from a text-property on
24179 the first character in the entry. This allows for code to add its
24180 own uid to the entry.
24181 (icalendar--convert-float-to-ical): Add export of
24182 `diary-float'-entries save for those with the optional DAY
24183 argument.
24184
24185 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
24186
24187 * subr.el (shell-quote-argument): Use alternate escaping strategy
24188 when we spot a variable reference in a string.
24189
24190 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
24191
24192 * cus-start.el (all): Define customization for debug-on-event.
24193
24194 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
24195
24196 * subr.el (shell-quote-argument): Escape correctly under Windows.
24197
24198 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
24199
24200 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
24201
24202 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
24203
24204 * net/tramp.el (tramp-process-actions): Add POS argument.
24205 Delete region between POS and (pos).
24206
24207 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
24208 Use `nil' position in `tramp-process-actions' call.
24209 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
24210
24211 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
24212 position in `tramp-process-actions' call.
24213
24214 * net/trampver.el: Update release number.
24215
24216 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
24217
24218 * custom.el (defcustom): Obey lexical-binding.
24219
24220 Fix octave-inf completion problems reported by Alexander Klimov.
24221 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
24222 Inherit from octave-mode-syntax-table.
24223 (inferior-octave-mode): Set info-lookup-mode.
24224 (inferior-octave-completion-at-point): New function.
24225 (inferior-octave-complete): Use it and completion-in-region.
24226 (inferior-octave-dynamic-complete-functions): Use it as well, and use
24227 comint-filename-completion.
24228 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
24229 symbol elements which shouldn't be word elements.
24230 (octave-font-lock-keywords, octave-beginning-of-defun)
24231 (octave-function-header-regexp): Adjust regexps accordingly.
24232 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
24233
24234 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
24235
24236 * net/gnutls.el (gnutls-errorp): Declare before first use.
24237
24238 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
24239
24240 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
24241 verify-error, and verify-hostname-error parameters. Check whether
24242 default trustfile exists before going to use it. Add missing
24243 argument to gnutls-message-maybe call. Return value.
24244 Reported by Claudio Bley <claudio.bley@gmail.com>.
24245 (open-gnutls-stream): Add usage example.
24246
24247 * net/network-stream.el (network-stream-open-starttls): Give host
24248 parameter to `gnutls-negotiate'.
24249 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
24250 * subr.el (shell-quote-argument): Escape correctly under Windows.
24251
24252 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
24253
24254 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
24255 Use correct match group (bug#8438).
24256
24257 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
24258
24259 * emacs-lisp/package.el (package-built-in-p): Fix typo.
24260 (package-menu--generate): New arg specifying packages to show.
24261 (package-menu-refresh, package-menu-execute, list-packages):
24262 Callers changed.
24263 (package-show-package-list): New function, replacing deleted
24264 package--list-packages (renamed because it is non-internal).
24265
24266 * finder.el (finder-list-matches): Use package-show-package-list
24267 instead of deleted package--list-packages.
24268
24269 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
24270 Based on a previous implementation by Juanma Barranquero (Bug#8366).
24271 (vc-annotate-mode-map): Bind it to RET.
24272
24273 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
24274
24275 * progmodes/etags.el (next-file): Don't use set-buffer to change
24276 buffers (Bug#8478).
24277
24278 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
24279
24280 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
24281
24282 * apropos.el (apropos-label-face): Avoid variable-pitch face.
24283 (apropos-accumulator): Doc fix.
24284 (apropos-function, apropos-macro, apropos-command)
24285 (apropos-variable, apropos-face, apropos-group, apropos-widget)
24286 (apropos-plist): Add face property.
24287 (apropos-symbols-internal): Fix indentation.
24288 (apropos-print): Simplify help, and recognize apropos-multi-type.
24289 (apropos-print-doc): Use button-type-get to extract the button's
24290 face property. Fill docstring (Bug#8352).
24291
24292 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
24293
24294 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
24295
24296 * play/mpuz.el (mpuz-silent): Doc fix.
24297 (mpuz-mode-map): Use mapc.
24298 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
24299 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
24300 Fix typos in docstrings.
24301
24302 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
24303 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
24304
24305 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
24306
24307 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
24308
24309 * minibuffer.el (completion--do-completion): Avoid the "Next char
24310 not unique" prompt if icomplete-mode is enabled (Bug#5849).
24311
24312 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
24313 mouse-2 into unread-command-events, it is interpreted correctly.
24314
24315 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
24316 (image-toggle-display): Doc fix.
24317
24318 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
24319
24320 * textmodes/page.el (what-page): Use line-number-at-pos to
24321 calculate line number (Bug#6825).
24322
24323 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
24324
24325 * eshell/esh-mode.el (find-tag-interactive): Declare function.
24326 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
24327 Pass argument NO-DEFAULT to `find-tag-interactive'.
24328
24329 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
24330
24331 Lexical-binding cleanup.
24332
24333 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
24334 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
24335 * progmodes/ada-prj.el (ada-prj-initialize-values)
24336 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
24337 (ada-prj-show-value):
24338 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
24339 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
24340 (antlr-invalidate-context-cache, antlr-options-menu-filter)
24341 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
24342 * progmodes/bug-reference.el (bug-reference-push-button):
24343 * progmodes/fortran.el (fortran-line-length):
24344 * progmodes/glasses.el (glasses-change):
24345 * progmodes/octave-mod.el (octave-fill-paragraph):
24346 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
24347 (python-pdbtrack-grub-for-buffer, python-sentinel):
24348 * progmodes/sql.el (sql-save-connection):
24349 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
24350 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
24351 Mark unused parameters.
24352
24353 * progmodes/compile.el (compilation--flush-directory-cache)
24354 (compilation--flush-parse, compile-internal): Mark unused parameters.
24355 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
24356 (compilation-next-error-function): Remove unused variable `timestamp'.
24357
24358 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
24359 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
24360
24361 * progmodes/dcl-mode.el (dcl-end-of-command):
24362 Remove unused variable `start'.
24363 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
24364 (dcl-option-value-basic, dcl-option-value-offset)
24365 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
24366 Mark unused parameters.
24367 (dcl-save-local-variable): Remove unused variable `val'.
24368 (mode): Declare.
24369
24370 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
24371 Mark unused parameters.
24372 (delphi-ignore-changes): Move before first use.
24373 (delphi-charset-token-at): Remove unused variable `start'.
24374 (delphi-else-start): Remove unused variable `if-count'.
24375 (delphi-comment-block-start, delphi-comment-block-end):
24376 Remove unused variable `kind'.
24377 (delphi-indent-line): Remove unused variable `new-point'.
24378
24379 * progmodes/ebrowse.el (ebrowse-files-list)
24380 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
24381 Mark unused parameters. Don't quote `lambda'.
24382 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
24383 Don't quote `lambda'.
24384 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
24385 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
24386 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
24387 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
24388 Use `ignore-errors'.
24389 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
24390 (ebrowse-view/find-file-and-search-pattern)
24391 (ebrowse-view/find-member-declaration/definition):
24392 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
24393 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
24394 Rename parameter PREFIX-ARG to PREFIX.
24395 (ebrowse-tags-read-name): Remove unused variables `start' and
24396 `member-info'.
24397 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
24398 to `tags-file'.
24399
24400 * progmodes/etags.el (local-find-tag-hook): Declare.
24401 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
24402 Mark unused parameters.
24403
24404 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
24405 (executable-interpret): Mark unused parameter.
24406
24407 * progmodes/flymake.el (flymake-process-sentinel)
24408 (flymake-after-change-function)
24409 (flymake-create-temp-with-folder-structure)
24410 (flymake-get-include-dirs-dot): Mark unused parameters.
24411 (flymake-safe-delete-directory): Remove unused variable `err'.
24412
24413 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
24414 (speedbar-timer-fn, speedbar-line-text)
24415 (speedbar-change-expand-button-char, speedbar-delete-subblock)
24416 (speedbar-center-buffer-smartly): Declare functions.
24417 (gdb-find-watch-expression): Remove unused variable `array'.
24418 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
24419 (gdb-starting): Mark unused parameters.
24420 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
24421 (gdb-table-string): Remove unused variable `res'.
24422 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
24423 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
24424 (gdb-display-buffer): Remove unused variable `cur-size'.
24425
24426 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
24427 allow lexical-binding compilation.
24428 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
24429 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
24430 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
24431 Mark unused parameters.
24432 (gud-gdb-marker-filter): Remove unused variable `match'.
24433 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
24434 lambda expressions and funcall them, instead of using `fset'.
24435
24436 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
24437 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
24438
24439 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
24440 variable `header-beg'; use `let'.
24441
24442 * progmodes/icon.el (indent-icon-exp): Remove unused variables
24443 `restart', `last-sexp' and `at-do'.
24444
24445 * progmodes/js.el (js--debug): Mark unused parameter.
24446 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
24447 (js--splice-into-items): Remove unused variable `item'.
24448 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
24449
24450 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
24451 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
24452 (makefile-complete): Remove unused variable `try'.
24453 (makefile-fill-paragraph, makefile-match-function-end):
24454 Mark unused parameters.
24455
24456 * progmodes/octave-inf.el (inferior-octave-complete):
24457 Remove unused variable `proc'.
24458 (inferior-octave-output-digest): Mark unused parameter.
24459
24460 * progmodes/perl-mode.el (perl-calculate-indent):
24461 Remove unused variable `err'.
24462
24463 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
24464 (prolog-indent-line): Mark unused parameters.
24465 (prolog-indent-line): Remove unused variable `beg'.
24466
24467 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
24468 (reporter-dont-compact-list): Declare.
24469
24470 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
24471 Remove unused variable `char'.
24472 (sh-debug): Mark unused parameter.
24473 (sh-get-indent-info): Remove unused variable `start'.
24474 (sh-calculate-indent): Remove unused variable `var'.
24475
24476 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
24477 (simula-electric-keyword): Remove unused variable `null'.
24478 (simula-search-backward, simula-search-forward): Remove unused
24479 variables `begin' and `end'.
24480
24481 * progmodes/vera-mode.el (vera-guess-basic-syntax):
24482 Remove unused variable `pos'.
24483 (vera-electric-tab, vera-comment-uncomment-region):
24484 Mark unused parameters.
24485 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
24486
24487 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
24488
24489 * emacs-lisp/package.el (package--builtins, package-alist)
24490 (package-load-descriptor, package-built-in-p, package-activate)
24491 (define-package, package-installed-p)
24492 (package-compute-transaction, package-buffer-info)
24493 (package--push): Doc fix. Distinguish more clearly between
24494 version strings and version lists.
24495
24496 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
24497
24498 Lexical-binding cleanup.
24499
24500 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
24501 (5x5-make-mutate-best):
24502 * play/fortune.el (fortune-in-buffer):
24503 * play/gomoku.el (gomoku-init-display):
24504 * play/solitaire.el (solitaire, solitaire-do-check):
24505 * play/tetris.el (tetris-default-update-speed-function):
24506 Mark unused parameters.
24507
24508 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
24509 (bubbles--shift): Remove unused variable `char-org'.
24510 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
24511 (bubbles--show-images): Remove unused variable `char'.
24512
24513 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
24514 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
24515 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
24516 (decipher-analyze-buffer): Use ?\s.
24517 (decipher-make-checkpoint): Remove unused variable `mapping'.
24518
24519 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
24520
24521 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
24522 Remove unused variable `result'; use `let'.
24523
24524 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
24525 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
24526 (gametree-children-shown-p, gametree-compute-reduced-score):
24527 Use `ignore-errors'.
24528
24529 * play/handwrite.el (ps-lpr-switches): Declare.
24530 (handwrite): Remove unused variables `pmin' and `lastp'.
24531
24532 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
24533
24534 * play/landmark.el (landmark-init-display)
24535 (landmark-update-naught-weights): Mark unused parameters.
24536 (landmark-y): Remove unused variable `noise'. Simplify.
24537 (landmark-human-plays): Remove unused variable `score'.
24538
24539 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
24540 (mpuz-try-proposal): Remove unused variable `game'.
24541
24542 * play/zone.el (life-patterns): Declare.
24543
24544 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
24545
24546 * vc/vc.el (ediff-vc-internal): Declare function.
24547
24548 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
24549
24550 * shell.el: Use lexical-binding and std completion UI.
24551 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
24552 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
24553 comint-preoutput-filter-functions rather than on
24554 comint-output-filter-functions.
24555 (shell-command-completion, shell--command-completion-data)
24556 (shell-filename-completion, shell-environment-variable-completion)
24557 (shell-c-a-p-replace-by-expanded-directory): New functions.
24558 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
24559 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
24560 (shell-dynamic-complete-environment-variable): Use them.
24561 (shell-dynamic-complete-as-environment-variable)
24562 (shell-dynamic-complete-as-command): Remove.
24563 (shell-match-partial-variable): Match past point.
24564 * comint.el: Clean up use of completion-at-point-functions.
24565 (comint-completion-at-point): New function.
24566 (comint-mode): Use it completion-at-point-functions.
24567 (comint-dynamic-complete): Make it obsolete.
24568 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
24569 (comint-c-a-p-replace-by-expanded-history): New function.
24570 (comint-dynamic-complete-functions)
24571 (comint-replace-by-expanded-history): Use it.
24572 * minibuffer.el (completion-table-with-terminator): Allow dynamic
24573 termination strings. Try harder to avoid second try-completion.
24574 (completion-in-region-mode-map): Disable bindings that don't work yet.
24575
24576 * comint.el: Use lexical-binding. Require CL.
24577 (comint-dynamic-complete-functions): Use comint-filename-completion.
24578 (comint-completion-addsuffix): Tweak custom type.
24579 (comint-filename-completion, comint--common-suffix)
24580 (comint--common-quoted-suffix, comint--table-subvert)
24581 (comint--complete-file-name-data): New functions.
24582 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
24583 (comint-dynamic-list-filename-completions): Use them.
24584 (comint-dynamic-simple-complete): Make obsolete.
24585
24586 * minibuffer.el (completion-in-region-mode):
24587 Keep completion-in-region-mode--predicate global.
24588 (completion-in-region--postch):
24589 Assume completion-in-region-mode--predicate is not null.
24590
24591 * progmodes/flymake.el (flymake-start-syntax-check-process):
24592 Obey `dir'. Simplify.
24593
24594 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
24595 we're in VC after all.
24596
24597 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
24598
24599 * vc/vc.el (vc-diff-build-argument-list-internal)
24600 (vc-version-ediff, vc-ediff): New commands.
24601 (vc-version-diff): Use vc-diff-build-argument-list-internal.
24602
24603 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
24604
24605 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
24606 add sanity check.
24607
24608 * obsolete/erc-hecomplete.el: Make obsolete.
24609 * obsolete/: Standardize obsolescence info in the header.
24610
24611 2011-04-20 Glenn Morris <rgm@gnu.org>
24612
24613 * calendar/solar.el (solar-horizontal-coordinates):
24614 Use the longitude argument rather than `calendar-longitude'.
24615 (solar-date-next-longitude): Remove unused locals.
24616
24617 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
24618
24619 * whitespace.el: New version 13.2.1.
24620
24621 2011-04-20 felix <EmacsWiki> (tiny change)
24622
24623 * whitespace.el (global-whitespace-mode): Keep highlight when
24624 switching between major modes on a file.
24625
24626 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
24627
24628 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
24629 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
24630 multi-line comments as well.
24631
24632 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
24633
24634 Lexical-binding cleanup.
24635
24636 * arc-mode.el (archive-mode-revert):
24637 * cmuscheme.el (scheme-interactively-start-process):
24638 * custom.el (custom-initialize-delay):
24639 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
24640 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
24641 * emacs-lock.el (emacs-lock-clear-sentinel):
24642 * ezimage.el (defezimage):
24643 * follow.el (follow-avoid-tail-recenter):
24644 * fringe.el (set-fringe-mode-1):
24645 * generic-x.el (bat-generic-mode-compile):
24646 * help-mode.el (help-info-variable, help-do-xref)
24647 (help-mode-revert-buffer):
24648 * help.el (view-emacs-todo):
24649 * iswitchb.el (iswitchb-completion-help):
24650 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
24651 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
24652 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
24653 * locate.el (locate-update):
24654 * longlines.el (longlines-encode-region)
24655 (longlines-after-change-function):
24656 * outline.el (outline-isearch-open-invisible):
24657 * ps-def.el (declare-function, charset-dimension, char-width)
24658 (encode-char):
24659 * ps-mule.el (ps-mule-plot-string):
24660 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
24661 (recentf-edit-list-select, recentf-edit-list-validate)
24662 (recentf-open-files-action):
24663 * rect.el (delete-whitespace-rectangle-line)
24664 (rectangle-number-line-callback):
24665 * register.el (window-configuration-to-register)
24666 (frame-configuration-to-register):
24667 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
24668 * select.el (xselect-convert-to-string, xselect-convert-to-length)
24669 (xselect-convert-to-targets, xselect-convert-to-delete)
24670 (xselect-convert-to-filename, xselect-convert-to-charpos)
24671 (xselect-convert-to-lineno, xselect-convert-to-colno)
24672 (xselect-convert-to-os, xselect-convert-to-host)
24673 (xselect-convert-to-user, xselect-convert-to-class)
24674 (xselect-convert-to-name, xselect-convert-to-integer)
24675 (xselect-convert-to-atom, xselect-convert-to-identity):
24676 * subr.el (declare, ignore, process-kill-without-query)
24677 (text-clone-maintain):
24678 * terminal.el (te-get-char, te-tic-sentinel):
24679 * tool-bar.el (tool-bar-make-keymap):
24680 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
24681 * type-break.el (type-break-mode, type-break-noninteractive-query):
24682 * view.el (View-back-to-mark):
24683 * wid-browse.el (widget-browse-action, widget-browse-widget)
24684 (widget-browse-widgets, widget-browse-sexp):
24685 * widget.el (define-widget-keywords):
24686 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
24687 Mark unused parameters.
24688
24689 * align.el (align-adjust-col-for-rule): Mark unused parameter.
24690 (align-areas): Remove unused variable `look'.
24691 (align-region): Remove unused variables `real-end' and `pos-list'.
24692
24693 * apropos.el (apropos-score-doc): Remove unused variable `i'.
24694
24695 * bindings.el (mode-line-modified, mode-line-remote):
24696 Mark unused parameters.
24697 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
24698
24699 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
24700 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
24701
24702 * comint.el (comint-history-isearch-pop-state)
24703 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
24704 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
24705 (comint-substitute-in-file-name): Doc fix.
24706
24707 * completion.el (cmpl-statistics-block): Mark unused parameter.
24708 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
24709 (save-completions-to-file, load-completions-from-file):
24710 Remove unused local variable `e'.
24711
24712 * composite.el (compose-chars): Remove unused variable `len'.
24713 (lgstring-insert-glyph): Remove unused variable `g'.
24714 (compose-glyph-string): Remove unused variables `ascent',
24715 `descent', `lbearing' and `rbearing'.
24716 (compose-glyph-string-relative): Remove unused variables
24717 `lbearing', `rbearing' and `wadjust'.
24718 (compose-gstring-for-graphic): Remove unused variables `header',
24719 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
24720 (compose-gstring-for-terminal): Remove unused variables `header'
24721 and `nchars'. Use `let', not `let*'.
24722
24723 * cus-edit.el (Custom-set, Custom-save, custom-reset)
24724 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
24725 (Custom-buffer-done, custom-buffer-create-internal)
24726 (custom-browse-visibility-action, custom-browse-group-tag-action)
24727 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
24728 (widget-magic-mouse-down-action, custom-toggle-parent)
24729 (custom-add-parent-links, custom-toggle-hide-variable)
24730 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
24731 (custom-toggle-hide-face, face, hook, custom-group-link-action)
24732 (custom-face-menu-create, custom-variable-menu-create, get)
24733 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
24734 (custom-reset-standard-save-and-update): Remove unused variable `value'.
24735 (customize-apropos): Remove unused variable `tests'.
24736 (custom-group-value-create): Remove unused variable `hidden-p'.
24737 (sort-fold-case): Declare.
24738
24739 * cus-theme.el (custom-reset-standard-faces-list)
24740 (custom-reset-standard-variables-list): Declare.
24741 (customize-create-theme, custom-theme-revert, custom-theme-write)
24742 (custom-theme-choose-mode, customize-themes, custom-theme-save):
24743 Mark unused parameters.
24744
24745 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
24746
24747 * delim-col.el (delimit-columns-max): Move defvar before first use.
24748
24749 * descr-text.el (describe-char-categories): Don't quote `lambda'.
24750 (describe-char): Don't quote `lambda'. Mark unused parameter.
24751
24752 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
24753 (auto-insert): Declare.
24754 (desktop-restore-file-buffer): Rename desktop-* parameters;
24755 mark unused ones.
24756 (desktop-create-buffer): Rename desktop-* parameters and bind them.
24757 (desktop-buffer): Rename desktop-* parameters.
24758
24759 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
24760 (dframe-reposition-frame-xemacs, dframe-help-echo)
24761 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
24762 Mark unused parameters.
24763
24764 * dired-aux.el (backup-extract-version-start, overwrite-query)
24765 (overwrite-backup-query, rename-regexp-query)
24766 (rename-non-directory-query): Declare.
24767 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
24768 (dired-add-entry): Remove unused variable `orig-file-name'.
24769 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
24770 Use parameter PRESERVE-TIME instead of accessing dynamic variable
24771 `dired-copy-preserve-time' directly.
24772 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
24773 (dired-insert-subdir-newpos): Rename unused variable `pos'.
24774
24775 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
24776 (dired-virtual-revert, dired-make-relative-symlink):
24777 Mark unused parameters.
24778 (manual-program): Declare.
24779 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
24780 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
24781 wrapped in `with-no-warnings' to avoid replacing one warning by another.
24782
24783 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
24784
24785 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
24786
24787 * echistory.el (electric-history-in-progress, Helper-return-blurb):
24788 Declare.
24789
24790 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
24791
24792 * electric.el (Electric-command-loop): Rename parameter
24793 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
24794
24795 * expand.el (expand-in-literal): Remove unused variable `here'.
24796
24797 * facemenu.el (facemenu-add-new-color):
24798 Remove unused variable `docstring'.
24799
24800 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
24801 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
24802 (face-attr-construct): Mark unused parameter. Doc fix.
24803 (read-color): Remove unused variable `hex-string'.
24804
24805 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
24806 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
24807 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
24808 (display-buffer-other-frame): Remove unused variable `old-window'.
24809 (kill-buffer-hook): Declare.
24810 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
24811 Mark unused parameters.
24812 (after-find-file): Pass 1 to `auto-save-mode', not t.
24813
24814 * files-x.el (auto-insert): Declare.
24815 (modify-file-local-variable-prop-line): Remove unused variable `val'.
24816
24817 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
24818 variable `buf'. Mark unused parameter.
24819 (find-lisp-insert-directory): Mark unused parameter.
24820
24821 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
24822 (format-encode-region): Remove unused variables `cur-buf' and `result'.
24823 (format-common-tail): Remove, unused.
24824 (format-deannotate-region): Remove unused variable `loc'.
24825 (format-annotate-region): Remove unused variable `p'.
24826 (format-annotate-single-property-change): Remove unused variables
24827 `default' and `tail'.
24828
24829 * forms.el (read-file-filter): Declare.
24830 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
24831
24832 * frame.el (frame-creation-function-alist): Mark unused parameter.
24833 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
24834
24835 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
24836 Remove unused parameters.
24837 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
24838 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
24839
24840 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
24841 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
24842 (hfy-prepare-tag-map): Mark unused parameters.
24843 (htmlfontify-buffer): Use `called-interactively-p'.
24844
24845 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
24846 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
24847 (ibuffer-do-occur): Mark unused parameters.
24848 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
24849 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
24850
24851 * ibuffer.el: Don't quote `lambda'.
24852 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
24853 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
24854 Mark unused parameters.
24855
24856 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
24857 (ido-completing-read): Mark unused parameters.
24858 (ido-copy-current-word): Mark unused parameters;
24859 remove unused variable `name'.
24860 (ido-sort-merged-list): Remove unused parameter `dirs'.
24861
24862 * ielm.el (ielm-input-sender): Mark unused parameter.
24863 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
24864 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
24865 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
24866 `ielm-string' as a dynamic variable accessible from the IELM prompt.
24867 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
24868
24869 * image-dired.el (image-dired-display-thumbs): Remove unused
24870 variables `curr-file' and `count'.
24871 (image-dired-remove-tag): Remove unused variable `start'.
24872 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
24873 variable `curr-file'
24874 (image-dired-rotate-original): Remove unused variable `temp-file'.
24875 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
24876 Remove unused variable `file'.
24877 (image-dired-gallery-generate): Remove unused variable `curr'.
24878 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
24879
24880 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
24881
24882 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
24883
24884 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
24885
24886 * isearch.el (minibuffer-history-symbol): Declare.
24887 (isearch-edit-string): Remove unused variable `err'.
24888 (isearch-message-prefix, isearch-message-suffix):
24889 Mark unused parameters.
24890
24891 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
24892
24893 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
24894
24895 * makesum.el (double-column): Remove unused variable `cnt'.
24896
24897 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
24898 (ido-ignore-item-temp-list): Declare.
24899
24900 * mouse-drag.el (mouse-drag-throw): Remove unused variables
24901 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
24902 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
24903 (mouse-drag-drag): Remove unused variables `mouse-delta' and
24904 `mouse-col-delta'.
24905
24906 * mouse-sel.el (mouse-extend-internal):
24907 Remove unused variable `orig-window-frame'.
24908
24909 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
24910 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
24911 Move declarations before first use.
24912 (pcomplete-opt): Mark unused parameters; doc fix.
24913
24914 * proced.el (proced-revert): Mark unused parameter.
24915 (proced-send-signal): Remove unused variable `err'.
24916
24917 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
24918 Rename parameter PREFIX-ARG to ARG.
24919 (ps-basic-plot-string, ps-basic-plot-whitespace):
24920 Mark unused parameters.
24921
24922 * replace.el (replace-count): Define.
24923 (occur-revert-function): Mark unused parameters.
24924 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
24925 (isearch-case-fold-search, isearch-string): Declare.
24926 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
24927 bind `case-fold-search'. Remove unused variables `beg' and `end',
24928 and simplify.
24929 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
24930 COUNT and bind `replace-count'.
24931 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
24932 to COUNT.
24933
24934 * savehist.el (print-readably, print-string-length): Declare.
24935
24936 * shadowfile.el (shadow-expand-cluster-in-file-name):
24937 Remove unused variable `cluster'.
24938 (shadow-copy-file): Remove unused variable `i'.
24939 (shadow-noquery, shadow-clusters, shadow-site-cluster)
24940 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
24941 (shadow-define-literal-group, shadow-define-regexp-group)
24942 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
24943
24944 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
24945 (shell): Use `called-interactively-p'.
24946 (shell-directory-tracker): Remove unused variable `chdir-failure'.
24947
24948 * simple.el (compilation-context-lines, comint-file-name-quote-list)
24949 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
24950 (delete-backward-char): Remove unused variable `ocol'.
24951 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
24952 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
24953 (event-apply-hyper-modifier, event-apply-shift-modifier)
24954 (event-apply-control-modifier, event-apply-meta-modifier):
24955 Mark unused parameters.
24956 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
24957 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
24958
24959 * speedbar.el (speedbar-ignored-directory-expressions)
24960 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
24961 (speedbar-find-file, speedbar-dir-follow)
24962 (speedbar-directory-buttons-follow, speedbar-tag-find)
24963 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
24964 (speedbar-buffers-line-directory, speedbar-buffer-click):
24965 Mark unused parameters.
24966 (speedbar-tag-file): Remove unused variable `mode'.
24967 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
24968
24969 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
24970
24971 * talk.el (talk): Remove unused variable `display'.
24972
24973 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
24974 (tar-write-region-annotate): Mark unused parameter.
24975
24976 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
24977 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
24978 Declare them, wrapped in `with-no-warnings' to avoid replacing one
24979 warning by another.
24980
24981 * time-stamp.el (time-stamp-string-preprocess):
24982 Remove unused variable `require-padding'.
24983
24984 * tree-widget.el (widget-glyph-enable): Declare.
24985 (tree-widget-action): Mark unused parameter.
24986
24987 * w32-fns.el (x-get-selection): Mark unused parameter.
24988 (autoload-make-program, generated-autoload-file): Declare.
24989
24990 * wdired.el (wdired-revert): Mark unused parameters.
24991 (wdired-xcase-word): Remove unused variable `err'.
24992
24993 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
24994 (whitespace-help-scroll): Remove unused variable `data-help'.
24995
24996 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
24997 (widget-image-insert, widget-after-change, default)
24998 (widget-default-format-handler, widget-default-notify)
24999 (widget-default-prompt-value, widget-info-link-action)
25000 (widget-url-link-action, widget-function-link-action)
25001 (widget-variable-link-action, widget-file-link-action)
25002 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
25003 (widget-field-prompt-internal, widget-field-action, widget-field-match)
25004 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
25005 (widget-insert-button-action, widget-delete-button-action, visibility)
25006 (widget-documentation-link-action, widget-documentation-string-action)
25007 (widget-const-prompt-value, widget-regexp-match, symbol)
25008 (widget-coding-system-prompt-value)
25009 (widget-key-sequence-value-to-external, sexp)
25010 (widget-sexp-value-to-internal, character, vector, cons)
25011 (widget-choice-prompt-value, widget-boolean-prompt-value)
25012 (widget-color--choose-action): Mark unused parameters.
25013 (widget-item-match-inline, widget-choice-match-inline)
25014 (widget-checklist-match, widget-checklist-match-inline)
25015 (widget-group-match): Rename parameter VALUES to VALS.
25016 (widget-field-value-set): Remove unused variable `size'.
25017 (widget-color-action): Remove unused variables `value' and `start'.
25018
25019 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
25020 variable `dir'. Doc fix.
25021 (windmove-find-other-window): Don't pass it.
25022
25023 * window.el (count-windows): Mark unused parameter.
25024 (bw-adjust-window): Remove unused variable `err'.
25025
25026 * woman.el (woman-file-name): Remove unused variable `default'.
25027 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
25028 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
25029 (global-font-lock-mode): Declare.
25030 (woman-decode-region): Mark unused parameter.
25031 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
25032
25033 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
25034 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
25035 (x-dnd-handle-moz-url): Remove unused variable `title'.
25036 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
25037
25038 * xml.el (xml-parse-tag, xml-parse-attlist):
25039 Remove unused variable `pos'.
25040
25041 2011-04-19 Glenn Morris <rgm@gnu.org>
25042
25043 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
25044 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
25045 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
25046 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
25047 * calendar/cal-html.el (cal-html-insert-minical):
25048 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
25049 (calendar-mark-date-pattern):
25050 Prefix "unused" locals.
25051
25052 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
25053 optional argument `style'.
25054
25055 * calendar/appt.el (appt-make-list):
25056 * calendar/cal-china.el (calendar-chinese-date-string):
25057 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
25058 (diary-hebrew-yahrzeit):
25059 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
25060 * calendar/calendar.el (calendar-generate-window):
25061 * calendar/time-date.el (time-to-days):
25062 Remove unused local variables.
25063
25064 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
25065
25066 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
25067 glyphless-char-display table.
25068 (tabulated-list-glyphless-char-display): New var.
25069
25070 2011-04-18 Sam Steingold <sds@gnu.org>
25071
25072 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
25073 to acknowledgments.
25074
25075 2011-04-17 Glenn Morris <rgm@gnu.org>
25076
25077 * calendar/diary-lib.el (diary-sexp-entry):
25078 * calendar/holidays.el (holiday-sexp):
25079 Set debug-on-error rather than the removed stack-trace-on-error.
25080
25081 2011-04-16 Glenn Morris <rgm@gnu.org>
25082
25083 * progmodes/f90.el: Use lexical-binding.
25084 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
25085
25086 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
25087
25088 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
25089 (mail-mode): Setup mailalias completion here instead.
25090 * mail/mailalias.el: Use lexical-binding.
25091 (pattern, mailalias-done): Declare dynamic.
25092 (mail-completion-at-point-function): New function, from mail-complete.
25093 (mail-complete): Use it.
25094 (mail-completion-expand): New function.
25095 (mail-get-names): Use it.
25096 (mail-directory, mail-directory-process, mail-directory-stream):
25097 Don't use `pattern' for lexically bound arg.
25098
25099 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
25100
25101 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
25102 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
25103 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
25104
25105 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
25106 (byte-save-window-excursion, byte-temp-output-buffer-setup)
25107 (byte-interactive-p): Define them again, for use when inlining
25108 old code.
25109
25110 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
25111
25112 * loadup.el: Use `string-to-number', not `string-to-int'.
25113
25114 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
25115
25116 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
25117 gud-gdb-complete-command.
25118 (gud-gdb-completions): New function, from gud-gdb-complete-command.
25119 (gud-gdb-completion-at-point): New function.
25120 (gud-gdb-completions): Remove.
25121
25122 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
25123
25124 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
25125 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
25126 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
25127 whether `executable-find' is bound.
25128
25129 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
25130
25131 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
25132
25133 * minibuffer.el (completion-in-region-mode-predicate)
25134 (completion-in-region-mode--predicate): New vars.
25135 (completion-in-region, completion-in-region--postch)
25136 (completion-in-region-mode): Use them.
25137 (completion--capf-wrapper): Also return the hook function.
25138 (completion-at-point, completion-help-at-point):
25139 Adjust and provide a predicate.
25140
25141 Preserve arg names for advice of subr and lexical functions (bug#8457).
25142 * help-fns.el (help-function-arglist): Consolidate the subr and
25143 new-byte-code cases. Add argument `preserve-names' to extract names
25144 from the docstring when needed.
25145 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
25146 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
25147 (ad-arglist): Use help-function-arglist's new arg.
25148 (ad-definition-type): Use cond.
25149
25150 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
25151
25152 * autorevert.el (auto-revert-handler):
25153 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
25154 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
25155 Don't quote lambda.
25156
25157 * image-mode.el (image-transform-set-scale):
25158 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
25159
25160 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
25161
25162 * net/network-stream.el (network-stream-open-starttls): Only do
25163 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
25164 Upgrades via gnutls-cli are too slow to be done opportunistically.
25165
25166 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
25167
25168 * dframe.el (dframe-current-frame): Remove spurious quote.
25169
25170 2011-04-12 Glenn Morris <rgm@gnu.org>
25171
25172 * calendar/cal-tex.el (cal-tex-end-document):
25173 Try to automatically use latin1 input if needed.
25174
25175 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
25176 Don't try to cons a mark onto an empty element.
25177
25178 2011-04-11 Leo Liu <sdl.web@gmail.com>
25179
25180 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
25181 buffers.
25182 (ido-kill-buffer-at-head): Support killing virtual buffers.
25183
25184 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
25185
25186 * minibuffer.el (completion-show-inline-help): New var.
25187 (completion--do-completion, minibuffer-complete)
25188 (minibuffer-force-complete, minibuffer-complete-word):
25189 Inhibit minibuffer messages if completion-show-inline-help is nil.
25190
25191 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
25192 to avoid interference from inline help (Bug#5849).
25193
25194 2011-04-10 Leo Liu <sdl.web@gmail.com>
25195
25196 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
25197 Fix typo.
25198
25199 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
25200
25201 * image-mode.el (image-toggle-display-image): Signal an error if
25202 not in Image mode.
25203 (image-transform-mode, image-transform-resize)
25204 (image-transform-set-rotation): Doc fix.
25205 (image-transform-set-resize): Delete.
25206 (image-transform-set-scale, image-transform-fit-to-height)
25207 (image-transform-fit-to-width): Handle image-toggle-display-image
25208 and image-transform-resize directly.
25209
25210 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
25211
25212 * doc-view.el (doc-view-fit-width-to-window)
25213 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
25214 New functions for fitting the shown image to the Emacs window size.
25215 (doc-view-mode-map): Add bindings for the new functions.
25216
25217 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
25218
25219 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
25220 Fix typo in docstring.
25221
25222 2011-04-08 Eli Zaretskii <eliz@gnu.org>
25223
25224 * files.el (file-size-human-readable): Produce one digit after
25225 decimal, like "ls -lh" does.
25226
25227 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
25228 the file size representation.
25229
25230 * simple.el (list-processes): If async subprocesses are not
25231 available, error out with a clear error message.
25232
25233 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
25234
25235 * help.el (help-form-show): New function, to be called from C.
25236 Put help-form output in a buffer named differently than *Help*.
25237
25238 2011-04-08 Eli Zaretskii <eliz@gnu.org>
25239
25240 * files.el (file-size-human-readable): New function.
25241
25242 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
25243 computing the representation inline. Don't require `cl'.
25244
25245 2011-04-08 Glenn Morris <rgm@gnu.org>
25246
25247 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
25248
25249 * net/browse-url.el (browse-url-firefox):
25250 Test system-type, not system-configuration.
25251
25252 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
25253 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
25254 Use log-edit-empty-buffer-p. (Bug#7598)
25255
25256 * net/rlogin.el (rlogin-process-connection-type): Simplify.
25257 (rlogin-mode-map): Initialize in the defvar.
25258 (rlogin): Use ignore-errors.
25259
25260 * replace.el (occur-mode-map): Some fixes for menu items.
25261
25262 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
25263
25264 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
25265
25266 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
25267
25268 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
25269 issuing unused warnings.
25270
25271 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
25272 macro directly.
25273
25274 * simple.el: Lisp reimplement of list-processes. Based on an
25275 earlier reimplementation by Leo Liu, but using tabulated-list.el.
25276 (process-menu-mode): New major mode.
25277 (list-processes--refresh, list-processes):
25278 (process-menu-visit-buffer): New functions.
25279
25280 * files.el (save-buffers-kill-emacs): Don't assume any return
25281 value of list-processes, which is undocumented anyway.
25282
25283 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
25284
25285 * emacs-lisp/tabulated-list.el: New file.
25286
25287 * emacs-lisp/package.el: Use Tabulated List mode.
25288 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
25289 (package-menu-mode): Derive from tabulated-list-mode. Set up the
25290 table format using Tabulated List mode variables.
25291 (package--push): New macro, replacing package-list-maybe-add.
25292 (package-menu--generate): Use package--push. Renamed from
25293 package--generate-package-list.
25294 (package-menu-refresh, list-packages): Use it.
25295 (package-menu--print-info): Rename from package-print-package.
25296 Return insertion data instead of inserting it directly.
25297 (package-menu-describe-package, package-menu-execute):
25298 Use tabulated-list-get-id.
25299 (package-menu-mark-delete, package-menu-mark-install)
25300 (package-menu-mark-unmark, package-menu-backup-unmark)
25301 (package-menu-mark-obsolete-for-deletion):
25302 Use tabulated-list-put-tag.
25303 (package--list-packages, package-menu-revert)
25304 (package-menu-get-package, package-menu-get-version)
25305 (package-menu-sort-by-column): Functions deleted.
25306 (package-menu-package-list, package-menu-sort-key): Vars deleted.
25307 (package-menu--status-predicate, package-menu--version-predicate)
25308 (package-menu--name-predicate)
25309 (package-menu--description-predicate): Handle arguments in the
25310 Tabulated List format.
25311 (package-list-packages-no-fetch): Call list-packages.
25312
25313 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
25314
25315 * files.el (after-find-file-from-revert-buffer): Remove variable.
25316 (after-find-file): Don't bind it.
25317 (revert-buffer-in-progress-p): New variable.
25318 (revert-buffer): Bind it.
25319 Pass nil for `after-find-file-from-revert-buffer'.
25320
25321 * saveplace.el (save-place-find-file-hook): Use new variable
25322 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
25323
25324 2011-04-06 Glenn Morris <rgm@gnu.org>
25325
25326 * Makefile.in (AUTOGEN_VCS): New variable.
25327 (autoloads): Use $AUTOGEN_VCS.
25328
25329 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
25330 * calendar/calendar.el (calendar-mode-map):
25331 Check for toolkit scroll bars. (Bug#8305)
25332
25333 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
25334
25335 * minibuffer.el (completion-in-region--postch)
25336 (completion-in-region-mode): Remove unnecessary messages.
25337
25338 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
25339
25340 * font-lock.el (font-lock-refresh-defaults):
25341 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
25342 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
25343
25344 * info.el (Info-directory-list, Info-read-node-name-2)
25345 (Info-split-parameter-string): Doc fixes.
25346 (Info-virtual-nodes): Reflow docstring.
25347 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
25348 (Info-apropos-toc-nodes, info-finder, Info-get-token)
25349 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
25350 Fix typos in docstrings.
25351 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
25352 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
25353 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
25354 (Info-restore-desktop-buffer): Mark unused parameters.
25355 (Info-directory-find-file, Info-directory-find-node)
25356 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
25357 (Info-virtual-index-find-node, Info-apropos-find-file)
25358 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
25359 Mark unused parameters; fix typos in docstrings.
25360 (Info-virtual-index): Remove unused local variable `nodename'.
25361
25362 2011-04-05 Deniz Dogan <deniz@dogan.se>
25363
25364 * net/rcirc.el: Update my e-mail address.
25365 (rcirc-mode-map): Remove M-o binding.
25366
25367 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
25368
25369 * startup.el (command-line): Save the cursor's theme-face
25370 directly, instead of using face-override-spec.
25371
25372 * custom.el (load-theme): Minor optimization in assigning faces.
25373
25374 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
25375
25376 * help-fns.el (describe-variable): Complete all variables having
25377 documentation, including keywords.
25378 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
25379
25380 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
25381
25382 Convert to lexical-binding.
25383
25384 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
25385 (bs--get-marked-string, bs--get-modified-string)
25386 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
25387 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
25388 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
25389
25390 * ehelp.el (electric-help-execute-extended)
25391 (electric-help-ctrl-x-prefix):
25392 * hexl.el (hexl-revert-buffer-function):
25393 * linum.el (linum-after-change, linum-after-scroll):
25394 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
25395
25396 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
25397
25398 2011-04-04 Daiki Ueno <ueno@unixuser.org>
25399
25400 * epa-dired.el:
25401 * epa-mail.el:
25402 * epa-hook.el:
25403 * epa-file.el:
25404 * epa.el:
25405 * epg.el: Use lexical binding.
25406
25407 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
25408
25409 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
25410
25411 * textmodes/flyspell.el (flyspell-word): Recognize default
25412 dictionary case for flyspell-mark-duplications-exceptions.
25413 Use regexp matching for languages.
25414 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
25415 default dictionary (Bug#7926).
25416
25417 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
25418
25419 * emacs-lisp/package.el (package--with-work-buffer):
25420 Recognize https URLs.
25421
25422 * net/network-stream.el: Move from gnus/proto-stream.el.
25423 Change prefix to network-stream throughout.
25424 (open-protocol-stream): Merge into open-network-stream, leaving
25425 open-protocol-stream as an alias. Handle nil BUFFER args.
25426
25427 * subr.el (open-network-stream): Move to net/network-stream.el.
25428
25429 2011-04-02 Glenn Morris <rgm@gnu.org>
25430
25431 * find-dired.el (find-exec-terminator): New option.
25432 (find-ls-option): Test for -ls support.
25433 (find-ls-subdir-switches): Test for -b in find-ls-option.
25434 (find-dired, find-grep-dired): Doc fixes.
25435 (find-dired): Use find-exec-terminator.
25436
25437 * find-dired.el (find-ls-option, find-ls-subdir-switches)
25438 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
25439 (find-name-arg): Remove purecopy.
25440
25441 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
25442 (grep-compute-defaults): Check for `-exec COMMAND +' support.
25443 Set grep-find-use-xargs, grep-find-command, and grep-find-template
25444 accordingly. Don't add the null-device if not needed.
25445
25446 * files.el (save-some-buffers): Doc fix.
25447
25448 2011-04-02 Eli Zaretskii <eliz@gnu.org>
25449
25450 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
25451
25452 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
25453
25454 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
25455 Use `dolist' rather than `mapcar'.
25456
25457 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
25458
25459 Add lexical binding.
25460
25461 * subr.el (apply-partially): Use new closures rather than CL.
25462 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
25463 (dolist, dotimes): Use slightly different expansion for lexical code.
25464 (functionp): Move to C.
25465 (letrec): New macro.
25466 (with-wrapper-hook): Use it and apply-partially instead of CL.
25467 (eval-after-load): Preserve lexical-binding.
25468 (save-window-excursion, with-output-to-temp-buffer): Turn them
25469 into macros.
25470
25471 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
25472
25473 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
25474 than the arglist.
25475 (help-add-fundoc-usage): Don't add `Not documented'.
25476 (help-function-arglist): Handle closures, subroutines, and new
25477 byte-code-functions.
25478 (help-make-usage): Remove leading underscores.
25479 (describe-function-1): Handle closures.
25480 (describe-variable): Use special-variable-p for completion.
25481
25482 * files.el (lexical-binding): Declare safe.
25483
25484 * emacs-lisp/pcase.el: Don't use destructuring-bind.
25485 (pcase--memoize): Rename from pcase-memoize. Change weakness.
25486 (pcase): Add `let' pattern.
25487 Change memoization so it actually works.
25488 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
25489 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
25490 <let>: New case.
25491
25492 * emacs-lisp/macroexp.el: Use lexical binding.
25493 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
25494 Don't convert ' to #' without checking that it's indeed quoting
25495 a lambda.
25496
25497 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
25498 Use eval-sexp-add-defvars.
25499 (eval-sexp-add-defvars): New fun.
25500
25501 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
25502
25503 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
25504 Don't autoload.
25505 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
25506 than the internal `byte-compile-lambda'.
25507 (defmethod): Don't hide code under quotes.
25508 (eieio-defmethod): New `code' argument.
25509
25510 * emacs-lisp/eieio-comp.el: Remove.
25511
25512 * emacs-lisp/edebug.el (edebug-eval-defun)
25513 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
25514 (edebug-toggle): Avoid `eval'.
25515
25516 * emacs-lisp/disass.el (disassemble-internal): Handle new
25517 `closure' objects.
25518 (disassemble-1): Handle new byte codes.
25519
25520 * emacs-lisp/cl.el (pushnew): Silence warning.
25521
25522 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
25523 (cl-byte-compile-throw): Remove.
25524 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
25525
25526 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
25527 closures.
25528
25529 * emacs-lisp/cconv.el: New file.
25530
25531 * emacs-lisp/bytecomp.el: Use lexical binding instead of
25532 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
25533 (byte-compile-initial-macro-environment):
25534 Handle declare-function here.
25535 (byte-compile--lexical-environment): New var.
25536 (byte-stack-ref, byte-stack-set, byte-discardN)
25537 (byte-discardN-preserve-tos): New lap codes.
25538 (byte-interactive-p): Don't use any more.
25539 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
25540 New macros.
25541 (byte-compile-lapcode): Use them and handle new lap codes.
25542 (byte-compile-obsolete): Remove.
25543 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
25544 (byte-compile-arglist-warn): Check late def of inlinable funs.
25545 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
25546 since they should have been expanded by now.
25547 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
25548 (byte-compile-from-buffer): Remove unused second arg.
25549 (byte-compile-preprocess): New function.
25550 (byte-compile-toplevel-file-form): New function to distinguish
25551 file-form calls from outside from file-form calls from hunk-handlers.
25552 (byte-compile-file-form): Simplify.
25553 (byte-compile-file-form-defsubst): Remove.
25554 (byte-compile-file-form-defmumble): Simplify now that
25555 byte-compile-lambda always returns a byte-code-function.
25556 (byte-compile): Preprocess.
25557 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
25558 Remove, not used any more.
25559 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
25560 (byte-compile-make-args-desc): New funs.
25561 (byte-compile-lambda): Handle lexical functions. Always return
25562 a byte-code-function.
25563 (byte-compile-reserved-constants): New var, to make up room for
25564 closed-over variables.
25565 (byte-compile-constants-vector): Obey it.
25566 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
25567 (byte-compile-macroexpand-declare-function): New function.
25568 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
25569 byte-code-functions.
25570 (byte-compile-form): Check obsolescence here.
25571 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
25572 (byte-compile-variable-ref): Remove.
25573 (byte-compile-dynamic-variable-op): New fun.
25574 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
25575 (byte-compile-variable-set): New funs.
25576 (byte-compile-discard): Add 2 args.
25577 (byte-compile-stack-ref, byte-compile-stack-set)
25578 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
25579 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
25580 macroexpand-all instead.
25581 (byte-compile-quote-form): Remove.
25582 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
25583 (byte-compile-bind, byte-compile-unbind): New funs.
25584 (byte-compile-let): Handle let* and lexical binding.
25585 (byte-compile-let*): Remove.
25586 (byte-compile-catch, byte-compile-unwind-protect)
25587 (byte-compile-track-mouse, byte-compile-condition-case):
25588 Handle a new :fun-body form, used for lexical scoping.
25589 (byte-compile-save-window-excursion)
25590 (byte-compile-with-output-to-temp-buffer): Remove.
25591 (byte-compile-defun): Simplify.
25592 (byte-compile-stack-adjustment): New fun.
25593 (byte-compile-out): Use it.
25594 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
25595
25596 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
25597 handler any more.
25598
25599 * emacs-lisp/byte-opt.el: Use lexical binding.
25600 (byte-inline-lapcode): Remove (to bytecomp).
25601 (byte-compile-inline-expand): Pay attention to inlining to/from
25602 lexically bound code.
25603 (byte-compile-unfold-lambda): Don't handle byte-code-functions
25604 any more.
25605 (byte-optimize-form-code-walker): Don't handle save-window-excursion
25606 any more and don't call compiler-macros.
25607 (byte-compile-splice-in-already-compiled-code): Remove.
25608 (byte-code): Don't inline any more.
25609 (disassemble-offset): Receive `bytes' as argument rather than via
25610 dynamic scoping.
25611 (byte-compile-tag-number): Declare before first use.
25612 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
25613 `return' even if make-spliceable.
25614 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
25615 obsolete interactive-p.
25616 (byte-optimize-lapcode): Optimize new lap-codes.
25617 Don't trip up on new form of `byte-constant' lap code.
25618
25619 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
25620
25621 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
25622
25623 * custom.el (custom-initialize-default, custom-declare-variable):
25624 Use `defvar'.
25625
25626 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
25627 New variables.
25628 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
25629 (COMPILE_FIRST): Add macroexp and cconv.
25630 * makefile.w32-in: Mirror changes in Makefile.in.
25631
25632 * vc/cvs-status.el:
25633 * vc/diff-mode.el:
25634 * vc/log-edit.el:
25635 * vc/log-view.el:
25636 * vc/smerge-mode.el:
25637 * textmodes/bibtex-style.el:
25638 * textmodes/css-mode.el:
25639 * startup.el:
25640 * uniquify.el:
25641 * minibuffer.el:
25642 * newcomment.el:
25643 * reveal.el:
25644 * server.el:
25645 * mpc.el:
25646 * emacs-lisp/smie.el:
25647 * doc-view.el:
25648 * dired.el:
25649 * abbrev.el: Use lexical binding.
25650
25651 2011-04-01 Eli Zaretskii <eliz@gnu.org>
25652
25653 * info.el (info-display-manual): New function.
25654
25655 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
25656
25657 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
25658
25659 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
25660
25661 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
25662 an entry for that server in rcirc-authinfo. (Bug#8385)
25663
25664 2011-03-31 Glenn Morris <rgm@gnu.org>
25665
25666 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
25667
25668 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
25669
25670 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
25671
25672 * progmodes/python.el (python-default-interpreter)
25673 (python-python-command-args, python-jython-command-args)
25674 (python-which-shell, python-which-args, python-which-bufname)
25675 (python-file-queue, python-comint-output-filter-function)
25676 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
25677 variables and functions.
25678
25679 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
25680
25681 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
25682 (completion-in-region-mode): New minor mode.
25683 (completion-in-region): Use it.
25684 (completion-in-region--data, completion-in-region-mode-map): New vars.
25685 (completion-in-region--postch): New function.
25686 (completion--capf-misbehave-funs, completion--capf-safe-funs):
25687 New vars.
25688 (completion--capf-wrapper): New function.
25689 (completion-at-point): Use it to track well-behavedness of
25690 hook functions.
25691 (completion-help-at-point): New command.
25692
25693 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
25694
25695 * vc/add-log.el (add-change-log-entry): Don't use whitespace
25696 syntax class to search for whitespace on a single line
25697 (Message-ID: <4D938140.4030905@redhat.com>).
25698
25699 2011-03-30 Leo Liu <sdl.web@gmail.com>
25700
25701 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
25702 New commands.
25703 (edit-abbrevs-map): Bind them here.
25704 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
25705
25706 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
25707
25708 * allout.el (allout-hide-by-annotation, allout-flag-region):
25709 Reduce possibility of overlay leakage by making them volatile.
25710
25711 * allout-widgets.el (allout-widgets-tally): Define as nil so the
25712 hash is not shared between buffers. Mode initialization is
25713 responsible for giving it a useful starting value.
25714 (allout-item-span): Reduce possibility of overlay leakage by
25715 making them volatile.
25716 (allout-widgets-count-buttons-in-region): Add diagnostic function
25717 for tracking down button overlay leaks.
25718
25719 2011-03-29 Leo Liu <sdl.web@gmail.com>
25720
25721 * ido.el (ido-read-internal): Use the default history var
25722 minibuffer-history if no HISTORY is specified.
25723
25724 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
25725
25726 * net/imap.el (imap-shell-open, imap-process-connection-type):
25727 Use imap-process-connection-type for 'shell' streams as well as
25728 Kerberos, SSL, other subprocesses.
25729
25730 2011-03-28 Leo Liu <sdl.web@gmail.com>
25731
25732 * abbrev.el (abbrev-table-empty-p): New function.
25733 (prepare-abbrev-list-buffer): Place empty abbrev tables after
25734 nonempty ones. (Bug#5937)
25735
25736 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
25737
25738 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
25739
25740 2011-03-27 Leo Liu <sdl.web@gmail.com>
25741
25742 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
25743 for foreground and background colors.
25744 (ansi-color-make-color-map): Adapt.
25745
25746 2011-03-25 Leo Liu <sdl.web@gmail.com>
25747
25748 * midnight.el (midnight-time-float): Remove. Note it calculates
25749 the microsecond component incorrectly and seconds-to-time does the
25750 same job.
25751 Remove redundant (require 'timer).
25752
25753 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
25754 (ido-completions): Remove unused arguments. (Bug#8329)
25755
25756 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
25757
25758 * minibuffer.el (completion--flush-all-sorted-completions):
25759 Remove itself from hook.
25760 (completion-at-point): Let the functions perform the completion
25761 immediately and return nil or t.
25762 * comint.el (comint-dynamic-complete-functions): Now identical to
25763 completion-at-point-functions.
25764 (comint-dynamic-list-input-ring): Remove unused var `index'.
25765 (comint--match-partial-filename, comint--unquote&expand-filename):
25766 New funs, split from comint-match-partial-filename.
25767 (comint-dynamic-complete): Use completion-at-point.
25768 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
25769
25770 2011-03-24 Drew Adams <drew.adams@oracle.com>
25771
25772 * thingatpt.el: Support `defun'.
25773
25774 2011-03-23 Leo Liu <sdl.web@gmail.com>
25775
25776 * abbrevlist.el: Move to obsolete/abbrevlist.el.
25777
25778 * help-mode.el (help-mode-finish): Tweak regexp.
25779
25780 2011-03-23 Glenn Morris <rgm@gnu.org>
25781
25782 * eshell/esh-opt.el (eshell-eval-using-options):
25783 Do not bind unused local variable `eshell-option-stub'.
25784
25785 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
25786
25787 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
25788
25789 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
25790 keymap variable in `with-no-warnings' to avoid a warning when the
25791 keymap has been already `defconst'ed.
25792
25793 2011-03-22 Leo Liu <sdl.web@gmail.com>
25794
25795 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
25796 encode all chars in abbrevs; otherwise use emacs-mule or
25797 utf-8-emacs. (Bug#8308)
25798
25799 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
25800
25801 * simple.el (backward-delete-char-untabify):
25802 Avoid warning about using `delete-backward-char'.
25803
25804 * image.el (image-type-file-name-regexps): Make it variable.
25805 `imagemagick-register-types' modifies it, and the user may want
25806 to add new extensions for known image types.
25807 (imagemagick-register-types): Throw error if not using ImageMagick.
25808
25809 2011-03-22 Leo Liu <sdl.web@gmail.com>
25810
25811 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
25812 located before rcirc-prompt-end-marker.
25813 (rcirc-complete): Error if point is not after rcirc prompt.
25814 Handle the case when table is nil.
25815 (rcirc-user-authenticated): Define to fix compiler warning.
25816
25817 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
25818
25819 * custom.el (custom--inhibit-theme-enable): Make it affect only
25820 custom-theme-set-variables and custom-theme-set-faces.
25821 (provide-theme): Ignore custom--inhibit-theme-enable.
25822 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
25823 (custom-enabling-themes): Delete variable.
25824 (enable-theme): Accept only loaded themes as arguments.
25825 Ignore the special custom-enabled-themes variable.
25826 (custom-enabled-themes): Forbid themes from setting this.
25827 Eliminate use of custom-enabling-themes.
25828 (custom-push-theme): Quote "changed" custom var entry.
25829
25830 2011-03-21 Leo Liu <sdl.web@gmail.com>
25831
25832 * ido.el (ido-read-internal): Add ido-selected to history instead
25833 of user input.
25834
25835 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
25836
25837 * subr.el (deferred-action-list, deferred-action-function):
25838 Mark obsolete.
25839
25840 2011-03-21 Leo Liu <sdl.web@gmail.com>
25841
25842 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
25843 change on 2011-02-13 (bug#8309).
25844
25845 * minibuffer.el (read-file-name-function): Change default value.
25846 (read-file-name--defaults): Rename from read-file-name-defaults.
25847 (read-file-name-default): Rename from read-file-name.
25848 (read-file-name): Call read-file-name-function.
25849
25850 2011-03-21 Glenn Morris <rgm@gnu.org>
25851
25852 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
25853 Doc fixes.
25854
25855 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
25856
25857 * cus-theme.el: Add missing provide statement.
25858 (customize-create-theme): Extract theme value correctly.
25859 (custom-theme-visit-theme): Autoload.
25860 (customize-create-theme): Prompt before inserting default faces.
25861
25862 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
25863
25864 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
25865 units and musical notes.
25866
25867 2011-03-20 Leo Liu <sdl.web@gmail.com>
25868
25869 * ido.el (ido-read-internal): Use completing-read-default.
25870 (ido-completing-read): Fix compatibility with completing-read.
25871
25872 2011-03-20 Christian Ohler <ohler@gnu.org>
25873
25874 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
25875 (ert-delete-all-tests): Use `called-interactively-p' rather than
25876 `interactive-p'.
25877 (ert--make-xrefs-region): Respect END.
25878
25879 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
25880
25881 * dired-aux.el (dired-create-directory): Signal an error if the
25882 directory already exists (Bug#8246).
25883
25884 * facemenu.el (list-colors-display): Call list-faces-display
25885 inside with-help-window.
25886 (list-colors-print): Use display property to align the final
25887 column, instead of checking window-width.
25888
25889 2011-03-19 Eli Zaretskii <eliz@gnu.org>
25890
25891 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
25892 windows-nt systems.
25893 (emerge-protect-metachars): Quote correctly for ms-dos and
25894 windows-nt systems.
25895
25896 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
25897
25898 * info.el (info-initialize): Replace all uses of `:' with
25899 path-separator for compatibility with non-Unix systems.
25900 Cache quoting of path-separator. (Bug#8258)
25901
25902 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
25903
25904 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
25905 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
25906 (mouse-avoidance-mode): Fix typos in docstrings.
25907
25908 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
25909
25910 * startup.el (package-subdirectory-regexp): Move from package.el.
25911 Omit \\` and \\', and let callers add them.
25912
25913 * emacs-lisp/package.el (package-strip-version)
25914 (package-load-all-descriptors): Add \\` and \\' to
25915 package-subdirectory-regexp before using it.
25916 (package-untar-buffer): New arg DIR; ensure that file untars only
25917 into this expected directory. Remove superfluous delete-region.
25918 (package-unpack): Caller changed.
25919 (package-tar-file-info): Use package-subdirectory-regexp.
25920
25921 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
25922
25923 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
25924 diff-mode-shared-map (bug#8284).
25925 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
25926
25927 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
25928
25929 * calendar/time-date.el (format-seconds): Use assoc instead of
25930 assoc-string, since assoc-string doesn't exist in XEmacs.
25931
25932 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
25933
25934 * custom.el (custom-known-themes): Reflow docstring.
25935 (custom-theme-load-path): Fix typo in docstring.
25936 (load-theme): Fix typo in error message.
25937 (custom-available-themes, custom-variable-theme-value):
25938 Use `let', not `let*'.
25939
25940 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
25941
25942 * calc/README: Mention inclusion of musical notes.
25943
25944 * calc/calc-units.el (calc-lu-quant): Rename from
25945 `calc-logunits-quantity'.
25946 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
25947 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
25948 (calc-db): Rename from `calc-dblevel'.
25949 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
25950 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
25951 (calc-np): Rename from `calc-nplevel'.
25952 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
25953 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
25954 (calc-lu-plus): Rename from `calc-logunits-add'.
25955 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
25956 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
25957 (calc-lu-minus): Rename from `calc-logunits-sub'.
25958 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
25959 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
25960 (calc-lu-times): Rename from `calc-logunits-mul'.
25961 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
25962 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
25963 (calc-lu-divide): Rename from `calc-logunits-div'.
25964 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
25965 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
25966
25967 * calc/calc-ext.el (calc-init-extensions): Update the names of the
25968 functions being autoloaded.
25969
25970 * calc/calc.el (calc-lu-power-reference): Rename from
25971 `calc-logunits-power-reference'.
25972 (calc-lu-field-reference): Rename from
25973 `calc-logunits-field-reference'.
25974
25975 * calc/calc-help.el (calc-l-prefix-help):
25976 Mention musical note functions.
25977
25978 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
25979
25980 * minibuffer.el (completion-all-sorted-completions):
25981 Use :completion-cycle-penalty text property if present.
25982
25983 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
25984
25985 * allout.el (allout-yank-processing): Adjust for new rebulleting
25986 regime so bullet being yanked is used without prompting the user
25987 for a choice.
25988
25989 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
25990
25991 * startup.el (command-line): Warn the user that _emacs is deprecated.
25992
25993 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
25994
25995 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
25996 (delphi-verbose, delphi-comment-face, delphi-string-face)
25997 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
25998 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
25999 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
26000 (delphi-new-comment-line, delphi-font-lock-defaults)
26001 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
26002 Fix typos in docstrings.
26003
26004 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
26005
26006 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
26007 Invert the roles of character and string values for INSTEAD, so a
26008 string is used for the more common case of a defaulting prompt.
26009
26010 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
26011
26012 * progmodes/ruby-mode.el (ruby-backward-sexp):
26013 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
26014 * play/gamegrid.el (gamegrid-make-face):
26015 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
26016 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
26017 * notifications.el (notifications-notify):
26018 * net/xesam.el (xesam-search-engines):
26019 * net/quickurl.el (quickurl-list-insert):
26020 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
26021
26022 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
26023
26024 * startup.el (command-line): Update package subdirectory regexp.
26025
26026 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
26027
26028 * allout.el (allout-abbreviate-flattened-numbering)
26029 (allout-mode-deactivate-hook): Fix up obsolescence "date".
26030
26031 * subr.el (read-char-choice): Only show the cursor after the prompt,
26032 not after the answer.
26033
26034 2011-03-15 Kevin Ryde <user42@zip.com.au>
26035
26036 * help-fns.el (variable-at-point): Skip leading quotes, if any
26037 (bug#8253).
26038
26039 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
26040
26041 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
26042 warning message.
26043
26044 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
26045
26046 * shell.el (shell): When called interactively, offer to change the
26047 shell file name on remote hosts.
26048
26049 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
26050
26051 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
26052 integration for LDAP parameters. The host, base, user or binddn,
26053 and secret tokens can be specified in a netrc file, for instance.
26054 This is optional because an `auth-source' parameter must be
26055 specified in the search attributes.
26056
26057 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
26058
26059 * help.el (describe-mode): Link to the mode's definition (bug#8185).
26060
26061 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
26062
26063 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
26064 into declaration. Remove redundant and harmful binding.
26065
26066 2011-03-12 Eli Zaretskii <eliz@gnu.org>
26067
26068 * files.el (file-ownership-preserved-p): Pass `integer' as an
26069 explicit 2nd argument to `file-attributes'. If the file's owner
26070 is the Administrators group on Windows, and the current user is
26071 Administrator, consider that a match.
26072
26073 * server.el (server-ensure-safe-dir): Consider server directory
26074 safe on MS-Windows if its owner is the Administrators group while
26075 the current Emacs user is Administrator. Use `=' to compare
26076 numerical UIDs, since they could be integers or floats.
26077
26078 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
26079
26080 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
26081
26082 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
26083
26084 Sync with Tramp 2.2.1.
26085
26086 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
26087
26088 * net/trampver.el: Update release number.
26089
26090 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
26091
26092 * progmodes/compile.el (compilation--previous-directory): Fix up
26093 various nil/dead-marker mismatches (bug#8014).
26094 (compilation-directory-properties, compilation-error-properties):
26095 Don't call it at a position past the one we're about to change.
26096
26097 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
26098 Disable obsolescence warnings in the file that declares it.
26099
26100 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
26101
26102 * allout-widgets.el (allout-widgets-tally):
26103 Initialize allout-widgets-tally as a hash table rather than nil to
26104 prevent mode-line redisplay warnings. Also, clarify the module
26105 description and fix a comment typo.
26106
26107 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
26108
26109 * help-fns.el (describe-variable): Don't complete keywords.
26110 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
26111
26112 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
26113
26114 * emacs-lisp/package.el (package-version-join): Impose a standard
26115 string representation for pre/alpha/beta version lists.
26116 (package-unpack-single): Standardize the directory name by passing
26117 it through package-version-join.
26118 (package-strip-rcs-id): Accept any version string that does not
26119 signal an error in version-to-list.
26120
26121 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
26122
26123 * simple.el (delete-trailing-whitespace): Return nil for the
26124 benefit of `write-file-functions'.
26125
26126 2011-03-10 Glenn Morris <rgm@gnu.org>
26127
26128 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
26129
26130 * vc/vc-git.el (vc-git-program): New option.
26131 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
26132 (vc-git--call): Use it.
26133
26134 * eshell/esh-util.el (eshell-condition-case): Doc fix.
26135
26136 * cus-edit.el (Custom-newline): If no button at point, look
26137 for a subgroup button at start-of-line. (Bug#2298)
26138
26139 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
26140
26141 2011-03-10 Julien Danjou <julien@danjou.info>
26142
26143 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
26144 `cursor-type' is nil.
26145
26146 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
26147
26148 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
26149
26150 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
26151
26152 * allout.el: Change so yank of distinctive-bullet items
26153 preserves the existing header prefix, rebulleting it if necessary,
26154 rather than replacing it. This is necessary for proper operation
26155 of cooperative addons like allout-widgets.
26156 (allout-make-topic-prefix, allout-rebullet-heading):
26157 Change SOLICIT arg to INSTEAD, and interpret additionally a string
26158 value as alternate bullet to be used, instead of prompting the user
26159 for a bullet character.
26160
26161 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
26162
26163 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
26164 Do not use `tramp-file-name-port', because this returns also
26165 `tramp-default-port'.
26166
26167 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
26168
26169 * net/rcirc.el (rcirc-handler-001): Remove useless
26170 with-rcirc-process-buffer.
26171 (rcirc-check-auth-status): Swap arguments to string-match.
26172
26173 2011-03-09 Glenn Morris <rgm@gnu.org>
26174
26175 * shell.el (shell-mode):
26176 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
26177
26178 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
26179 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
26180
26181 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
26182
26183 * emacs-lisp/package.el (package-refresh-contents)
26184 (package-menu-execute): Use condition-case-no-debug.
26185
26186 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
26187
26188 * simple.el (shell-command-to-string): Use `process-file'.
26189
26190 * emacs-lisp/package.el (package-tar-file-info): Handle also
26191 remote files.
26192
26193 * emacs-lisp/package-x.el (package-upload-buffer-internal):
26194 Use `equal' for upload base check.
26195
26196 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
26197
26198 * textmodes/texinfo.el (texinfo-environments):
26199 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
26200
26201 2011-03-08 Glenn Morris <rgm@gnu.org>
26202
26203 * cus-start.el (cursor-in-non-selected-windows):
26204 Fix :set quoting oddness. (Bug#8192)
26205
26206 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
26207 in some setf expressions. (Bug#2159)
26208
26209 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
26210
26211 * custom.el (custom-available-themes): Return themes in
26212 alphabetical order.
26213
26214 See ChangeLog.15 for earlier changes.
26215
26216 ;; Local Variables:
26217 ;; coding: utf-8
26218 ;; End:
26219
26220 Copyright (C) 2011-2013 Free Software Foundation, Inc.
26221
26222 This file is part of GNU Emacs.
26223
26224 GNU Emacs is free software: you can redistribute it and/or modify
26225 it under the terms of the GNU General Public License as published by
26226 the Free Software Foundation, either version 3 of the License, or
26227 (at your option) any later version.
26228
26229 GNU Emacs is distributed in the hope that it will be useful,
26230 but WITHOUT ANY WARRANTY; without even the implied warranty of
26231 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
26232 GNU General Public License for more details.
26233
26234 You should have received a copy of the GNU General Public License
26235 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.