Fix recursive load issue with reftex.el and reftex-vars.el.
[bpt/emacs.git] / lisp / ChangeLog
1 2013-04-23 Tassilo Horn <tsdh@gnu.org>
2
3 * textmodes/reftex-vars.el (reftex-label-regexps): Call
4 `reftex-compile-variables' after changes to this variable.
5
6 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
7
8 * jit-lock.el: Fix signals in jit-lock-force-redisplay.
9 Use lexical-binding.
10 (jit-lock-force-redisplay): Use markers, check buffer's continued
11 existence and beware narrowed buffers.
12 (jit-lock-fontify-now): Adjust call accordingly.
13
14 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
15
16 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
17 to avoid misleading the user.
18
19 2013-04-22 Leo Liu <sdl.web@gmail.com>
20
21 * info-look.el: Prefer latex2e.info. (Bug#14240)
22
23 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
24
25 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
26
27 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
28 * net/tramp.el (tramp-call-process): ... here
29 (tramp-set-completion-function, tramp-parse-putty):
30 * net/tramp-adb.el (tramp-adb-execute-adb-command):
31 * net/tramp-gvfs.el (tramp-gvfs-send-command):
32 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
33 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
34 (tramp-call-local-coding-command): Use `tramp-call-process'
35 instead of `tramp-compat-call-process'.
36
37 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
38 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
39 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
40 (tramp-find-inline-compress):Improve traces.
41 (tramp-maybe-send-script): Check for Perl binary.
42 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
43
44 2013-04-22 Daiki Ueno <ueno@gnu.org>
45
46 * epg.el (epg-context-pinentry-mode): New function.
47 (epg-context-set-pinentry-mode): New function.
48 (epg--start): Pass --pinentry-mode option to gpg command.
49
50 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
51
52 * comint.el: (comint-dynamic-complete-functions, comint-mode-map):
53 `comint-dynamic-complete' is obsolete since 24.1, replaced by
54 `completion-at-point'. (Bug#13774)
55
56 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
57 default key binding for `describe-distribution' has been moved to
58 `C-h C-o'. (Bug#13970)
59
60 2013-04-21 Glenn Morris <rgm@gnu.org>
61
62 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
63 Add doc strings.
64 (vc-print-log): Clarify interactive prompt.
65
66 2013-04-20 Glenn Morris <rgm@gnu.org>
67
68 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
69 No longer include timestamp etc information.
70
71 2013-04-20 Roland Winkler <winkler@gnu.org>
72
73 * faces.el (read-face-name): Bug fix, return just one face if arg
74 multiple is nil. (Bug#14209)
75
76 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
77
78 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
79 (remove-function): Autoload.
80
81 * comint.el (comint-redirect-original-filter-function): Remove.
82 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
83 * vc/vc-cvs.el (vc-cvs-annotate-process-filter,vc-cvs-annotate-command):
84 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
85 * progmodes/prolog.el (prolog-consult-compile):
86 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
87 Use add/remove-function instead.
88 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
89 (gud-tooltip-process-output, gud-tooltip-tips):
90 Use add/remove-function instead.
91 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
92 (scheme-interaction-mode, exit-scheme-interaction-mode):
93 Use add/remove-function instead.
94
95 * vc/vc-dispatcher.el: Use lexical-binding.
96 (vc--process-sentinel): Rename from vc-process-sentinel.
97 Change last arg to be the code to run. Don't use vc-previous-sentinel
98 and vc-sentinel-commands any more.
99 (vc-exec-after): Allow code to be a function. Use add/remove-function.
100 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
101
102 2013-04-19 Masatake YAMATO <yamato@redhat.com>
103
104 * progmodes/sh-script.el (sh-imenu-generic-expression):
105 Handle function names with a single character. (Bug#14111)
106
107 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
108
109 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
110 for subroutines defined in an eval (bug#14182).
111
112 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
113
114 * bookmark.el (bookmark-completing-read): Improve handling of empty
115 string (bug#14176).
116
117 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
118
119 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
120
121 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
122
123 New faster Imenu implementation (bug#14058).
124 * progmodes/python.el:
125 (python-imenu-prev-index-position):
126 (python-imenu-format-item-label-function)
127 (python-imenu-format-parent-item-label-function)
128 (python-imenu-format-parent-item-jump-label-function):
129 New vars.
130 (python-imenu-format-item-label)
131 (python-imenu-format-parent-item-label)
132 (python-imenu-format-parent-item-jump-label)
133 (python-imenu--put-parent, python-imenu--build-tree)
134 (python-imenu-create-index, python-imenu-create-flat-index)
135 (python-util-popn): New functions.
136 (python-mode): Set imenu-create-index-function to
137 python-imenu-create-index.
138
139 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
140
141 * winner.el (winner-active-region): Use region-active-p, activate-mark
142 and deactivate-mark (bug#14225).
143
144 * simple.el (deactivate-mark): Don't inline it.
145
146 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
147
148 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
149
150 2013-04-18 Tassilo Horn <tsdh@gnu.org>
151
152 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
153 file extensions from the archive-mode entry in order to prefer
154 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
155
156 2013-04-18 Leo Liu <sdl.web@gmail.com>
157
158 * bindings.el (help-event-list): Add ?\?.
159
160 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
161
162 * subr.el (with-wrapper-hook): Declare obsolete.
163 * simple.el (filter-buffer-substring-function): New hook.
164 (filter-buffer-substring): Use it.
165 (filter-buffer-substring-functions): Mark obsolete.
166 * minibuffer.el (completion-in-region-function): New hook.
167 (completion-in-region): Use it.
168 (completion-in-region-functions): Mark obsolete.
169 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
170 * abbrev.el (abbrev-expand-function): New hook.
171 (expand-abbrev): Use it.
172 (abbrev-expand-functions): Mark obsolete.
173 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
174 and :filter-return.
175
176 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
177
178 * progmodes/python.el (python-nav--syntactically): Fix cornercases
179 and do not care about match data.
180
181 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
182
183 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
184 completion tables when completing error conditions and
185 `declare' arguments.
186 (lisp-complete-symbol, field-complete): Mark as obsolete.
187 (check-parens): Unmatched parens are user errors.
188 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
189
190 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
191
192 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
193 command changed buffer (ie. `flyspell-pre-buffer' is not current
194 buffer), which prevents making decisions based on invalid value of
195 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
196 cause an error when `flyspell-pre-point' was nil after switching
197 buffers.
198 (flyspell-post-command-hook): No longer needs to change buffers when
199 checking pre-word. While at it remove unnecessary progn.
200
201 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
202
203 * textmodes/ispell.el (ispell-add-per-file-word-list):
204 Fix `flyspell-correct-word-before-point' error when accepting
205 words and `coment-padding' is an integer by using
206 `comment-normalize-vars' (Bug #14214).
207
208 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
209
210 New defun movement commands.
211 * progmodes/python.el (python-nav--syntactically)
212 (python-nav--forward-defun, python-nav-backward-defun)
213 (python-nav-forward-defun): New functions.
214
215 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
216
217 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
218 (python-syntax-context): Use named compiler-macro for backwards
219 compatibility with Emacs 24.x.
220
221 2013-04-17 Leo Liu <sdl.web@gmail.com>
222
223 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
224 octave-hide-process-buffer.
225
226 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
227
228 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
229 (bug#14216).
230
231 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
232
233 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
234 Fix adjustment of offset when receiving incomplete responses from GDB
235 (bug#14129).
236
237 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
238
239 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
240 python-mode-abbrev-table.
241 (python-skeleton-define): Adjust accordingly.
242 (python-mode-abbrev-table): New table that inherits from it so that
243 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
244
245 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
246 (abbrev-symbol): Use it.
247 (abbrev--before-point): Use it since we already handle inheritance.
248
249 2013-04-16 Leo Liu <sdl.web@gmail.com>
250
251 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
252 binding to info-lookup-symbol.
253
254 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
255
256 * minibuffer.el (completion--twq-all):
257 * term/ns-win.el (ns-initialize-window-system):
258 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
259
260 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
261
262 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
263 global bindings.
264
265 * doc-view.el (doc-view-start-process): Handle url-handler directories.
266
267 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
268
269 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
270 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
271 to nil.
272 (ruby-end-of-defun): Remove the unused arg, change the docstring
273 to reflect that this function is only used as the value of
274 `end-of-defun-function'.
275 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
276 to reflect an earlier change that beginning/end-of-defun functions
277 jump between methods in a class definition, as well as top-level
278 functions.
279
280 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
281
282 * minibuffer.el (minibuffer-complete): Don't just scroll
283 a *Completions* that's been iconified.
284 (minibuffer-force-complete): Make sure repetitions do cycle when going
285 through completion-in-region -> minibuffer-complete.
286
287 2013-04-15 Alan Mackenzie <acm@muc.de>
288
289 Correct the placement of c-cpp-delimiters when there're #s not at
290 col 0.
291
292 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
293 place a submatch around the #.
294 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
295 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
296 on the #, not BOL.
297
298 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
299
300 * emacs-lisp/nadvice.el: Properly test names when adding advice.
301 (advice--member-p): New arg `name'.
302 (advice--add-function, advice-member-p): Use it (bug#14202).
303
304 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
305
306 Reformulate java imenu-generic-expression.
307 The old expression contained ill formed regexps.
308
309 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
310 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
311 (cc-imenu-java-method-arg-regexp): New defconsts.
312 (cc-imenu-java-build-type-args-regex): New defun.
313 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
314 handling of spaces in the regexp.
315
316 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
317
318 * textmodes/ispell.el (ispell-command-loop): Remove
319 flyspell highlight of a word when ispell accepts it (bug #14178).
320
321 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
322
323 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
324 uses code from the previous `ange-ftp-run-real-handler'.
325 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
326 only in case that function exist. This is needed for proper
327 unloading of Tramp.
328
329 2013-04-15 Tassilo Horn <tsdh@gnu.org>
330
331 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
332
333 * textmodes/reftex.el (reftex-compile-variables): Use it.
334
335 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
336
337 * files.el (normal-mode): Only use default major-mode if no other mode
338 was specified.
339
340 * emacs-lisp/trace.el (trace-values): New function.
341
342 * files.el: Allow : in local variables (bug#14089).
343 (hack-local-variable-regexp): New var.
344 (hack-local-variables-prop-line, hack-local-variables): Use it.
345
346 2013-04-13 Roland Winkler <winkler@gnu.org>
347
348 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
349 data before it gets modified by bibtex-beginning-of-entry.
350
351 2013-04-13 Roland Winkler <winkler@gnu.org>
352
353 * textmodes/bibtex.el (bibtex-url): Doc fix.
354
355 2013-04-13 Roland Winkler <winkler@gnu.org>
356
357 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
358 does not visit a BibTeX file, exclude it from the list of buffers
359 returned by bibtex-initialize.
360
361 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
362
363 * window.el (split-window): Remove interactive form, since as a
364 command this function is a special case of split-window-below.
365 Correct doc string.
366
367 2013-04-12 Roland Winkler <winkler@gnu.org>
368
369 * faces.el (read-face-name): Do not override value of arg default.
370 Allow single faces and strings as default values. Remove those
371 elements from return value that are not faces.
372 (describe-face): Simplify.
373 (face-at-point): New optional args thing and multiple so that this
374 function can provide the same functionality previously provided by
375 read-face-name.
376 (make-face-bold, make-face-unbold, make-face-italic)
377 (make-face-unitalic, make-face-bold-italic, invert-face)
378 (modify-face, read-face-and-attribute): Use face-at-point.
379
380 * cus-edit.el (customize-face, customize-face-other-window)
381 * cus-theme.el (custom-theme-add-face)
382 * face-remap.el (buffer-face-set)
383 * facemenu.el (facemenu-set-face): Use face-at-point.
384
385 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
386
387 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
388
389 2013-04-10 Tassilo Horn <tsdh@gnu.org>
390
391 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
392 off leading { and trailing } from field values.
393
394 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
395
396 * emacs-lisp/timer.el (timer--check): New function.
397 (timer--time, timer-set-function, timer-event-handler): Use it.
398 (timer-set-idle-time): Simplify.
399 (timer--activate): CSE.
400 (timer-event-handler): Give more info in error message.
401 (internal-timer-start-idle): New function, moved from C.
402
403 * mpc.el (mpc-proc): Add `restart' argument.
404 (mpc-proc-cmd): Use it.
405 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
406 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
407 less often.
408
409 2013-04-10 Masatake YAMATO <yamato@redhat.com>
410
411 * progmodes/sh-script.el: Implement `sh-mode' own
412 `add-log-current-defun-function' (bug#14112).
413 (sh-current-defun-name): New function.
414 (sh-mode): Use the function.
415
416 2013-04-09 Bastien Guerry <bzg@gnu.org>
417
418 * simple.el (choose-completion-string): Fix docstring (bug#14163).
419
420 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
421
422 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
423
424 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
425 timer (bug#14156).
426
427 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
428
429 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
430 declaration.
431
432 2013-04-07 Leo Liu <sdl.web@gmail.com>
433
434 * pcmpl-x.el: New file.
435
436 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
437
438 Do not set x-display-name until X connection is established.
439 This is needed to prevent from weird situation described at
440 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
441 * frame.el (make-frame): Set x-display-name after call to
442 window system initialization function, not before.
443 * term/x-win.el (x-initialize-window-system): Add optional
444 display argument and use it.
445 * term/w32-win.el (w32-initialize-window-system):
446 * term/ns-win.el (ns-initialize-window-system):
447 * term/pc-win.el (msdos-initialize-window-system):
448 Add compatible optional display argument.
449
450 2013-04-06 Eli Zaretskii <eliz@gnu.org>
451
452 * files.el (normal-backup-enable-predicate): On MS-Windows and
453 MS-DOS compare truenames of temporary-file-directory and of the
454 file, so that 8+3 aliases (usually found in $TEMP on Windows)
455 don't fail comparison by compare-strings. Also, compare file
456 names case-insensitively on MS-Windows and MS-DOS.
457
458 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
459
460 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
461 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
462
463 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
464
465 * whitespace.el (whitespace-color-on, whitespace-color-off):
466 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
467
468 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
469
470 * ispell.el (ispell-set-spellchecker-params):
471 Really set `ispell-args' for all equivs.
472
473 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
474
475 * ido.el (ido-completions): Use extra elements of ido-decorations
476 (bug#14143).
477 (ido-decorations): Update docstring.
478
479 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
480
481 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
482 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
483 nil during initialization, in order not to miss changes since the
484 file was opened. (Bug#14140)
485
486 2013-04-05 Leo Liu <sdl.web@gmail.com>
487
488 * kmacro.el (kmacro-call-macro): Fix bug#14135.
489
490 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
491
492 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
493
494 2013-04-04 Glenn Morris <rgm@gnu.org>
495
496 * electric.el (electric-pair-inhibit-predicate): Add :version.
497
498 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
499
500 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
501 when a package is required several times (bug#14082).
502
503 2013-04-04 Roland Winkler <winkler@gnu.org>
504
505 * faces.el (read-face-name): Behave as promised by the docstring.
506 Assume that arg default is a list of faces.
507 (describe-face): Call read-face-name with list of default faces.
508
509 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
510
511 * bookmark.el: Fix deletion of bookmarks (bug#13972).
512 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
513 (bookmark-bmenu-execute-deletions): Only skip first line if it's
514 the header.
515 (bookmark-exit-hook-internal): Save even if list is empty.
516
517 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
518
519 * emacs-lisp/package.el (package-pinned-packages): New var.
520 (package--add-to-archive-contents): Obey it (bug#14118).
521
522 2013-04-03 Alan Mackenzie <acm@muc.de>
523
524 Handle `parse-partial-sexp' landing inside a comment opener
525 (Bug#13244). Also adapt to the new values of element 7 of a parse
526 state.
527
528 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
529 parameter `not-in-delimiter'. Handle being inside comment opener.
530 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
531 character in case we're typing a '*' after a '/'.
532 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
533 instead by passing the parameter to c-state-pp-to-literal.
534
535 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
536 for elt. 7 of a parse state.
537
538 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
539
540 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
541 * international/latin1-disp.el, international/mule-util.el:
542 * language/cyril-util.el, language/european.el, language/ind-util.el:
543 * language/lao-util.el, language/thai.el, language/tibet-util.el:
544 * language/tibetan.el, language/viet-util.el:
545 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
546
547 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
548
549 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
550 (electric-pair-post-self-insert-function): Use it.
551 (electric-pair-default-inhibit): New function, extracted from
552 electric-pair-post-self-insert-function.
553
554 2013-03-31 Roland Winkler <winkler@gnu.org>
555
556 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
557
558 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
559
560 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
561
562 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
563
564 Un-indent after "pass" and "return" statements (Bug#13888)
565 * progmodes/python.el (python-indent-block-enders): New var.
566 (python-indent-calculate-indentation): Use it.
567
568 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
569
570 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
571 defun. Defining it as defalias could introduce too eager
572 byte-compiler optimization. (Bug#14030)
573
574 2013-03-30 Chong Yidong <cyd@gnu.org>
575
576 * iswitchb.el (iswitchb-read-buffer): Fix typo.
577
578 2013-03-30 Leo Liu <sdl.web@gmail.com>
579
580 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
581 (kmacro-execute-from-register): Pass the keyboard macro to
582 kmacro-call-macro or repeating won't work correctly.
583
584 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
585
586 * progmodes/subword.el: Back to using `forward-symbol'.
587
588 * subr.el (forward-whitespace, forward-symbol)
589 (forward-same-syntax): Move from thingatpt.el.
590
591 2013-03-29 Leo Liu <sdl.web@gmail.com>
592
593 * kmacro.el (kmacro-to-register): New command.
594 (kmacro-execute-from-register): New function.
595 (kmacro-keymap): Bind to 'x'. (Bug#14071)
596
597 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
598
599 * mpc.el: Use defvar-local and setq-local.
600 (mpc--proc-connect): Connection failures are not bugs.
601 (mpc-mode-map): `follow-link' only applies to the buffer's content.
602 (mpc-volume-map): Bind to the up-events.
603
604 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
605
606 * progmodes/subword.el (superword-mode): Use `forward-sexp'
607 instead of `forward-symbol'.
608
609 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
610
611 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
612 (edebug--recursive-edit): Use it.
613 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
614 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
615
616 2013-03-28 Leo Liu <sdl.web@gmail.com>
617
618 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
619
620 2013-03-27 Eli Zaretskii <eliz@gnu.org>
621
622 * facemenu.el (list-colors-callback): New defvar.
623 (list-colors-redisplay): New function.
624 (list-colors-display): Install list-colors-redisplay as the
625 revert-buffer-function. (Bug#14063)
626
627 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
628
629 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
630 and suffixes don't overlap (bug#14061).
631
632 * case-table.el: Use lexical-binding.
633 (case-table-get-table): New function.
634 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
635
636 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
637
638 * progmodes/subword.el: Add `superword-mode' to do word motion
639 over symbol_words (parallels and leverages `subword-mode' which
640 does word motion inside MixedCaseWords).
641
642 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
643
644 * eshell/em-unix.el: Move su and sudo to...
645 * eshell/em-tramp.el: ...Eshell tramp module.
646
647 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
648
649 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
650 Change return value to be a sexp. Delay `get-buffer' to after
651 restoring the desktop (bug#13951).
652
653 2013-03-26 Leo Liu <sdl.web@gmail.com>
654
655 * register.el: Move semantic tag handling back to
656 cedet/semantic/senator.el. (Bug#14052)
657
658 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
659
660 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
661 into the prompt either (bug#13963).
662
663 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
664
665 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
666 part of "(error-foo)".
667
668 2013-03-24 Juri Linkov <juri@jurta.org>
669
670 * replace.el (list-matching-lines-prefix-face): New defcustom.
671 (occur-1): Pass `list-matching-lines-prefix-face' to the function
672 `occur-engine' if `face-differs-from-default-p' returns t.
673 (occur-engine): Add `,' inside backquote construct to evaluate
674 `prefix-face'. Propertize the prefix with the `prefix-face' face.
675 Pass `prefix-face' to the functions `occur-context-lines' and
676 `occur-engine-add-prefix'.
677 (occur-engine-add-prefix, occur-context-lines): Add optional arg
678 `prefix-face' and propertize the prefix with `prefix-face'.
679 (Bug#14017)
680
681 2013-03-24 Leo Liu <sdl.web@gmail.com>
682
683 * nxml/rng-valid.el (rng-validate-while-idle)
684 (rng-validate-quick-while-idle): Guard against deleted buffer.
685 (Bug#13999)
686
687 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
688 is the last entry in kill-buffer-hook.
689
690 * files.el (kill-buffer-hook): Doc fix.
691
692 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
693
694 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
695 Make it safe-local.
696
697 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
698
699 2013-03-23 Leo Liu <sdl.web@gmail.com>
700
701 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
702 Remove.
703
704 * nxml/rng-valid.el (rng-validate-mode)
705 (rng-after-change-function, rng-do-some-validation):
706 * nxml/rng-maint.el (rng-validate-buffer):
707 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
708 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
709 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
710 (nxml-extend-after-change-region): Use with-silent-modifications.
711
712 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
713 timer-idle-list.
714
715 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
716 (rng-next-error-1, rng-previous-error-1): Do not let-bind
717 timer-idle-list. (Bug#13999)
718
719 2013-03-23 Juri Linkov <juri@jurta.org>
720
721 * info.el (info-index-match): New face.
722 (Info-index, Info-apropos-matches): Add a nested subgroup to the
723 main pattern and add text properties with the new face to matches
724 in index entries relative to the beginning of the index entry.
725 (Bug#14015)
726
727 2013-03-21 Eric Ludlam <zappo@gnu.org>
728
729 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
730 Inhibit read only while inserting objects.
731
732 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
733
734 * progmodes/cfengine.el: Update docs to mention
735 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
736 symbol motion. Remove "_" from the word syntax.
737
738 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
739
740 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
741 syntax for both `cfengine2-mode' and `cfengine3-mode'.
742
743 2013-03-20 Juri Linkov <juri@jurta.org>
744
745 * info.el (Info-next-reference-or-link)
746 (Info-prev-reference-or-link): New functions.
747 (Info-next-reference, Info-prev-reference): Use them.
748 (Info-try-follow-nearest-node): Handle footnote navigation.
749 (Info-fontify-node): Fontify footnotes. (Bug#13989)
750
751 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
752
753 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
754 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
755
756 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
757
758 Suppress unnecessary non-ASCII chatter during build process.
759 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
760 (batch-skkdic-convert): Suppress most of the chatter.
761 It's not needed so much now that machines are faster,
762 and its non-ASCII component was confusing; see Dmitry Gutov in
763 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
764
765 2013-03-20 Leo Liu <sdl.web@gmail.com>
766
767 * ido.el (ido-chop): Fix bug#10994.
768
769 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
770
771 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
772 Remove vars.
773 (whitespace-color-on, whitespace-color-off):
774 Use `font-lock-fontify-buffer' (Bug#13817).
775
776 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
777
778 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
779 remapping in mode-line.
780 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
781
782 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
783
784 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
785 value for `whitespace-line' face (Bug#13875).
786 (whitespace-font-lock-keywords): Change description.
787 (whitespace-color-on): Don't save `font-lock-keywords' value, save
788 the constructed keywords instead.
789 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
790
791 2013-03-19 Leo Liu <sdl.web@gmail.com>
792
793 * progmodes/compile.el (compilation-display-error): New command.
794 (compilation-mode-map, compilation-minor-mode-map): Bind it to
795 C-o. (Bug#13992)
796
797 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
798
799 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
800
801 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
802
803 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
804
805 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
806
807 * net/tramp-compat.el (tramp-compat-user-error): New defun.
808
809 * net/tramp-adb.el (tramp-adb-handle-shell-command):
810 * net/tramp-gvfs.el (top):
811 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
812 (tramp-handle-shell-command): Use it.
813 (tramp-dissect-file-name): Raise an error when hostname is a
814 method name, and neither method nor user is specified.
815
816 * net/trampver.el: Update release number.
817
818 2013-03-18 Leo Liu <sdl.web@gmail.com>
819
820 Make sure eldoc can be turned off properly.
821 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
822 eldoc-mode.
823 (eldoc-display-message-p): Revert last change.
824 (eldoc-display-message-no-interference-p)
825 (eldoc-print-current-symbol-info): Tweak.
826
827 2013-03-18 Tassilo Horn <tsdh@gnu.org>
828
829 * doc-view.el (doc-view-new-window-function): Check the new window
830 overlay's display property instead the char property of the
831 buffer's first char. Use `with-selected-window' instead of
832 `save-window-excursion' with `select-window'.
833 (doc-view-document->bitmap): Check the current doc-view overlay's
834 display property instead the char property of the buffer's first char.
835
836 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
837
838 Automate the build of ja-dic.el (Bug#13984).
839 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
840 from the input, rather than assume that it's been done for us by the
841 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
842 the current date into a ja-dic.el comment, as that complicates
843 regression testing.
844
845 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
846
847 * whitespace.el: Fix double evaluation.
848 (whitespace-space, whitespace-hspace, whitespace-tab)
849 (whitespace-newline, whitespace-trailing, whitespace-line)
850 (whitespace-space-before-tab, whitespace-indentation)
851 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
852 obsolete defvars.
853 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
854 (whitespace-color-on): Use a single font-lock-add-keywords call.
855 Fix double-evaluation of face variables.
856
857 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
858
859 * net/tramp-adb.el (tramp-adb-parse-device-names):
860 Use `start-process' instead of `call-process'. Otherwise, the
861 function might be blocked under MS Windows. (Bug#13299)
862
863 2013-03-17 Leo Liu <sdl.web@gmail.com>
864
865 Extend eldoc to display info in the mode-line. (Bug#13978)
866 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
867 (eldoc-mode-line-string): New variable.
868 (eldoc-minibuffer-message): New function.
869 (eldoc-message-function): New variable.
870 (eldoc-message): Use it.
871 (eldoc-display-message-p)
872 (eldoc-display-message-no-interference-p):
873 Support eldoc-post-insert-mode.
874
875 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
876 (eval-expression): Run it.
877
878 2013-03-17 Roland Winkler <winkler@gnu.org>
879
880 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
881 strings in the list of return values.
882
883 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
884
885 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
886 radix before checking for HMS forms.
887
888 2013-03-16 Leo Liu <sdl.web@gmail.com>
889
890 * progmodes/scheme.el: Add indentation and font-locking for λ.
891 (Bug#13975)
892
893 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
894
895 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
896 token before point (bug#13942).
897
898 2013-03-16 Leo Liu <sdl.web@gmail.com>
899
900 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
901
902 2013-03-16 Eli Zaretskii <eliz@gnu.org>
903
904 * startup.el (command-line-normalize-file-name): Fix handling of
905 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
906 <xfq.free@gmail.com> in
907 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
908
909 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
910
911 Sync with Tramp 2.2.7.
912
913 * net/trampver.el: Update release number.
914
915 2013-03-14 Tassilo Horn <tsdh@gnu.org>
916
917 * doc-view.el Fix bug#13887.
918 (doc-view-insert-image): Don't modify overlay associated to
919 non-live windows, and implement horizontal centering of image in
920 case it's smaller than the window.
921 (doc-view-new-window-function): Force redisplay of new windows on
922 doc-view buffers.
923
924 2013-03-13 Karl Fogel <kfogel@red-bean.com>
925
926 * saveplace.el (save-place-alist-to-file): Don't sort
927 `save-place-alist', just pretty-print it (bug#13882).
928
929 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
930
931 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Check,
932 whether `default-file-name-coding-system' is bound. It isn't in
933 XEmacs.
934
935 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
936
937 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
938 backquotes for `obsolete' (bug#13929).
939
940 * international/mule.el (find-auto-coding): Include file name in
941 obsolescence warning (bug#13922).
942
943 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
944
945 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
946 for CFEngine 3-specific indentation.
947 (cfengine3-indent-line): Use it. Fix up category regex.
948 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
949
950 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
951
952 * type-break.el (type-break-file-name):
953 * textmodes/remember.el (remember-data-file):
954 * strokes.el (strokes-file):
955 * shadowfile.el (shadow-initialize):
956 * saveplace.el (save-place-file):
957 * ps-bdf.el (bdf-cache-file):
958 * progmodes/idlwave.el (idlwave-config-directory):
959 * net/quickurl.el (quickurl-url-file):
960 * international/kkc.el (kkc-init-file-name):
961 * ido.el (ido-save-directory-list-file):
962 * emulation/viper.el (viper-custom-file-name):
963 * emulation/vip.el (vip-startup-file):
964 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
965 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
966
967 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
968
969 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
970 * language/thai-word.el: Switch to UTF-8.
971
972 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
973
974 * recentf.el (recentf-save-file): Use locate-user-emacs-file (bug#13870).
975
976 2013-03-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
977
978 * net/net-utils.el (net-utils-remove-ctrl-m-filter):
979 Use with-current-buffer and don't move point.
980 (net-utils-run-simple): Remove useless code.
981 (net-utils-remove-ctl-m): Remove unused custom.
982
983 2013-03-11 Per Starbäck <starback@stp.lingfil.uu.se>
984
985 * international/characters.el (glyphless-set-char-table-range): New fun.
986 (update-glyphless-char-display): Use it (bug#13744).
987
988 2013-03-11 Teodor Zlatanov <tzz@lifelogs.com>
989
990 * progmodes/cfengine.el: Update for CFEngine 3.4.2 and higher:
991 namespaces in the syntax, indent closer for hanging brace
992 correctly, allow single-quote delimited 'strings', and make
993 `cfengine3-mode' the default.
994
995 2013-03-11 Jean-Philippe Gravel <jpgravel@gmail.com>
996
997 * progmodes/gdb-mi.el: Speed up initialization (bug#10580).
998 Use lexical-binding. Fix up docstring according to conventions.
999 (gdbmi-debug-mode): New var.
1000 (gdbmi-start-with, gdbmi-same-start, gdbmi-is-number, gdbmi-bnf-init)
1001 (gdbmi-bnf-output, gdbmi-bnf-skip-unrecognized, gdbmi-bnf-gdb-prompt)
1002 (gdbmi-bnf-result-record, gdbmi-bnf-out-of-band-record)
1003 (gdbmi-bnf-async-record, gdbmi-bnf-stream-record)
1004 (gdbmi-bnf-console-stream-output, gdbmi-bnf-target-stream-output)
1005 (gdbmi-bnf-log-stream-output, gdbmi-bnf-result-and-async-record-impl)
1006 (gdbmi-bnf-incomplete-record-result): New functions.
1007 (gdb-car<): Remove function.
1008 (gdbmi-record-list): Remove variable.
1009 (gdbmi-bnf-state, gdbmi-bnf-offset): New vars.
1010 (gdbmi-bnf-result-state-configs): New const.
1011 (gud-gdbmi-marker-filter): Rewrite.
1012 (gdb-ignored-notification, gdb-thread-created, gdb-thread-exited)
1013 (gdb-thread-selected, gdb-running, gdb-starting, gdb-stopped):
1014 Add `token' argument.
1015 (gdb-done, gdb-error): New functions.
1016 (gdb-done-or-error): Add `is-complete' argument. Change arg order.
1017
1018 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
1019
1020 * term/xterm.el (xterm--report-background-handler): Don't burp
1021 upon timeout.
1022 (xterm--version-handler): Extract from terminal-init-xterm.
1023 (xterm--query): Don't mishandle timeout. Remove debugging messages.
1024 Allow multiple handlers.
1025 (terminal-init-xterm): Handle OSX's Terminal.app's incorrect answer.
1026
1027 * term/xterm.el: Don't discard input (bug#6758). Use lexical-binding.
1028 (xterm--report-background-handler, xterm--query): New functions.
1029 (terminal-init-xterm): Use them.
1030
1031 2013-03-11 Michael R. Mauger <michael@mauger.com>
1032
1033 * progmodes/sql.el Version 3.2
1034 Please note that my address changed to <michael@mauger.com>;
1035 the <mmaug@yahoo.com> address remains active.
1036 (sql-connection-alist): Updates documentation to fix bug#13715.
1037 (sql-connect): Handle missing `sql-connection-alist' correctly.
1038 (sql-mode-oracle-font-lock-keywords): Add missing keywords.
1039 (sql-magic-go, sql-magic-semicolon): Mark with `delete-selection'
1040 property.
1041 (sql-default-value): New function.
1042 (sql-get-login-ext, sql-get-login): Fixes bug where buffer-local
1043 values were not used.
1044 (sql-rename-buffer): Make sure alternate buffer name has no text
1045 properties.
1046 (sql-input-sender, sql-execute-feature): Fetch variable with
1047 `buffer-local-value' rather than `with-current-buffer'.
1048 (sql-*): Use #' function syntax consistently.
1049 (sql-*): Use message/error/user-error consistently.
1050
1051 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
1052
1053 * xt-mouse.el (xterm-mouse-event-read): Remove.
1054 (xterm-mouse--read-event-sequence-1000)
1055 (xterm-mouse--read-event-sequence-1006): Use read-event instead.
1056
1057 2013-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
1058
1059 * term/xterm.el (xterm-function-map): Support format used with
1060 formatOtherKeys=1 (bug#13839).
1061
1062 * emacs-lisp/byte-run.el (dont-compile): Declare obsolete.
1063 (with-no-warnings): Use `declare'.
1064
1065 * whitespace.el (whitespace-enable-predicate): New variable.
1066 (whitespace-enable-predicate): Use it.
1067
1068 * comint.el (comint-send-input, comint-snapshot-last-prompt)
1069 (comint-output-filter, comint-update-fence):
1070 Use with-silent-modifications.
1071
1072 2013-03-10 Jambunathan K <kjambunathan@gmail.com>
1073
1074 * replace.el (occur-read-regexp-defaults-function): New var.
1075 (occur-read-regexp-defaults): New defun.
1076 (occur-read-primary-args): Propagate above change (bug#13892).
1077
1078 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
1079
1080 * mouse.el (mouse-drag-track): Remove left-over debugging code.
1081
1082 2013-03-09 Michael Albinus <michael.albinus@gmx.de>
1083
1084 Major rewrite due to changed D-Bus interface of GVFS 1.14.
1085
1086 * net/tramp-gvfs.el (top): Extend check for gvfs availability.
1087 (tramp-gvfs-methods-mounttracker, tramp-gvfs-listmounts)
1088 (tramp-gvfs-mountlocation, tramp-gvfs-mountlocation-signature):
1089 New defconst.
1090 (tramp-gvfs-file-name-handler-alist) [directory-files]
1091 [directory-files-and-attributes, file-exists-p, file-modes]:
1092 Use Tramp default handler.
1093 [file-acl, file-selinux-context, process-file, set-file-acl]:
1094 [set-file-modes, set-file-selinux-context, shell-command]:
1095 [start-file-process]: Remove handler.
1096 [verify-visited-file-modtime]: New handler.
1097 (tramp-gvfs-dbus-string-to-byte-array)
1098 (tramp-gvfs-dbus-byte-array-to-string): New defuns. Replace all
1099 calls of `dbus-string-to-byte-array' and
1100 `tramp-gvfs-dbus-byte-array-to-string'.
1101 (tramp-gvfs-handle-copy-file)
1102 (tramp-gvfs-handle-delete-directory)
1103 (tramp-gvfs-handle-delete-file, tramp-gvfs-handle-file-attributes)
1104 (tramp-gvfs-handle-file-directory-p)
1105 (tramp-gvfs-handle-file-executable-p)
1106 (tramp-gvfs-handle-file-name-all-completions)
1107 (tramp-gvfs-handle-file-readable-p)
1108 (tramp-gvfs-handle-file-writable-p)
1109 (tramp-gvfs-handle-insert-directory)
1110 (tramp-gvfs-handle-insert-file-contents)
1111 (tramp-gvfs-handle-make-directory, tramp-gvfs-handle-rename-file)
1112 (tramp-gvfs-handle-set-visited-file-modtime)
1113 (tramp-gvfs-handle-write-region): Rewrite.
1114 (tramp-gvfs-handle-file-acl)
1115 (tramp-gvfs-handle-file-selinux-context)
1116 (tramp-gvfs-handle-process-file, tramp-gvfs-handle-set-file-acl)
1117 (tramp-gvfs-handle-set-file-modes)
1118 (tramp-gvfs-handle-set-file-selinux-context)
1119 (tramp-gvfs-handle-shell-command)
1120 (tramp-gvfs-handle-start-file-process)
1121 (tramp-gvfs-handle-verify-visited-file-modtime): Remove defuns.
1122 (tramp-gvfs-url-file-name): Do not use `file-truename', we work
1123 over the symlinks. Fix user handling.
1124 (top, tramp-gvfs-handler-mounted-unmounted): Handle different names
1125 of the D-Bus signals.
1126 (tramp-gvfs-connection-mounted-p): Handle different names of the
1127 D-Bus methods.
1128 (tramp-gvfs-mount-spec-entry): New defun.
1129 (tramp-gvfs-mount-spec): Use it.
1130 (tramp-gvfs-maybe-open-connection): Check, that in case of "smb"
1131 there is a share name. Handle different names of the D-Bus
1132 signals and methods. Set connection properties needed for
1133 `tramp-check-cached-permissions'.
1134 (tramp-gvfs-send-command): Apply `tramp-gvfs-maybe-open-connection'.
1135 Return t or nil.
1136
1137 * net/tramp.el (tramp-backtrace): Move up.
1138 (tramp-error): Dump a backtrace into the debug buffer when
1139 `tramp-verbose > 9.
1140 (tramp-file-mode-type-map, tramp-file-mode-from-int)
1141 (tramp-file-mode-permissions, tramp-get-local-uid)
1142 (tramp-get-local-gid, tramp-check-cached-permissions): Move from
1143 tramp-sh.el.
1144
1145 * net/tramp-sh.el (tramp-file-mode-type-map)
1146 (tramp-check-cached-permissions, tramp-file-mode-from-int)
1147 (tramp-file-mode-permissions, tramp-get-local-uid)
1148 (tramp-get-local-gid): Move to tramp.el.
1149
1150 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
1151
1152 Separate mouse-1-click-follows-link from mouse-drag-region.
1153 * mouse.el (mouse--down-1-maybe-follows-link): New function.
1154 (key-translation-map): Use it to implement mouse-1-click-follows-link.
1155 (mouse-drag-line, mouse-drag-track):
1156 Remove mouse-1-click-follows-link code.
1157 (mouse--remap-link-click-p): Remove.
1158
1159 2013-03-08 Jambunathan K <kjambunathan@gmail.com>
1160
1161 * hi-lock.el (hi-lock-read-regexp-defaults-function): New var.
1162 (hi-lock-read-regexp-defaults): New defun.
1163 (hi-lock-line-face-buffer, hi-lock-face-buffer)
1164 (hi-lock-face-phrase-buffer): Propagate above change.
1165 Update docstring (bug#13892).
1166
1167 * subr.el (find-tag-default-as-regexp): New defun.
1168 * replace.el (read-regexp): Propagate above change.
1169
1170 2013-03-08 Jay Belanger <jay.p.belanger@gmail.com>
1171
1172 * calc/calc-units.el (calc-convert-units): Fix the way that default
1173 new units are stored.
1174
1175 2013-03-07 Matthias Meulien <orontee@gmail.com>
1176
1177 * bookmark.el: Define a face to highlight bookmark names in
1178 bookmark menu buffers, where the default is a bold face similarly
1179 to buffer names in buffer menu buffers.
1180 (bookmark-menu-bookmark): New face to highlight bookmark names.
1181 (bookmark-insert-location): Remove duplicated text property to
1182 conform to buffer list (see `list-buffers').
1183 (bookmark-bmenu-list, bookmark-bmenu-hide-filenames): Apply face
1184 `bookmark-menu-bookmark' to bookmark names.
1185
1186 2013-03-07 Matthias Meulien <orontee@gmail.com>
1187 Karl Fogel <kfogel@red-bean.com>
1188
1189 * bookmark.el: Display the bookmark list header similarly to the
1190 buffer list header (see `list-buffers'), where the default is now
1191 an immovable/immutable header line.
1192 (bookmark-bmenu-use-header-line): New variable.
1193 (bookmark-bmenu-inline-header-height): New name for
1194 `bookmark-bmenu-header-height', to avoid confusion with the code
1195 for the new immovable header. All references changed.
1196 (bookmark-bmenu-set-header): New function.
1197 (bookmark-bmenu-list, bookmark-bmenu-toggle-filenames):
1198 Conditionalize header construction accordingly.
1199 (bookmark-bmenu-ensure-position): Conditionalize the skipping of
1200 the inline header height.
1201 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
1202 Conditionalize the skipping of the inline header height.
1203
1204 2013-03-07 Dmitry Gutov <dgutov@yandex.ru>
1205
1206 * progmodes/js.el (js--multi-line-declaration-indentation):
1207 Merge from js2-mode (https://github.com/mooz/js2-mode/issues/89).
1208
1209 2013-03-06 Dmitry Gutov <dgutov@yandex.ru>
1210
1211 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1212 Only propertize regexp when not inside a string (Bug#13885).
1213
1214 2013-03-06 Alan Mackenzie <acm@muc.de>
1215
1216 Correct the position of point in some line-up functions.
1217 * progmodes/cc-align.el (c-lineup-whitesmith-in-block)
1218 (c-lineup-assignments, c-lineup-gcc-asm-reg ): take position of
1219 point at column 0 rather than at a random place in the line.
1220
1221 2013-03-05 Michael Albinus <michael.albinus@gmx.de>
1222
1223 * net/tramp-compat.el (tramp-compat-delete-directory):
1224 Implement TRASH argument.
1225
1226 2013-03-05 Dmitry Gutov <dgutov@yandex.ru>
1227
1228 Keep pre-existing highlighting in completion candidates (Bug#13250).
1229 * minibuffer.el (completions-first-difference): State that the
1230 face is "added" in the docstring.
1231 (completions-common-part): Same. And don't inherit from default.
1232 (completion-hilit-commonality): Prepend 'completions-common-part
1233 and 'completion-first-difference faces to the 'face property,
1234 instead of replacing the value(s).
1235 (completion--insert-strings): Same with 'completions-annotations face.
1236 (completion-hilit-commonality): Use 'face instead of
1237 'font-lock-face, because it gets priority if the completion
1238 strings already have 'face set.
1239
1240 2013-03-04 Alan Mackenzie <acm@muc.de>
1241
1242 Replace `last-command-event' by `last-command-char' in XEmacs.
1243 * progmodes/cc-defs.el (c-last-command-char): New macro.
1244 * progmodes/cc-align.el (c-semi&comma-inside-parenlist)
1245 (c-semi&comma-no-newlines-before-nonblanks)
1246 (c-semi&comma-no-newlines-for-oneline-inliners): Use the new macro
1247 in place of `last-command-event'.
1248 * progmodes/cc-cmds.el (c-electric-pound, c-electric-brace)
1249 (c-electric-slash, c-electric-semi&comma, c-electric-lt-gt)
1250 (c-electric-paren, c-electric-continued-statement): Use the new
1251 macro in place of `last-command-event'.
1252
1253 2013-03-04 Glenn Morris <rgm@gnu.org>
1254
1255 * files.el (inhibit-local-variables-regexps):
1256 Add .diff and .patch. (Bug#13862)
1257
1258 2013-03-03 Michael Albinus <michael.albinus@gmx.de>
1259
1260 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Cache,
1261 whether the "su" command is available on the device.
1262
1263 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
1264
1265 * net/tramp-adb.el (tramp-adb-prompt): Extend regexp.
1266 (tramp-adb-handle-process-file): Remove superfluous setting.
1267 (tramp-adb-command-exit-status): Handle case that COMMAND is nil.
1268 (tramp-adb-barf-unless-okay): Use `tramp-adb-command-exit-status'.
1269 (tramp-adb-maybe-open-connection): Apply "su" if user is defined.
1270
1271 2013-03-01 Stefan Monnier <monnier@iro.umontreal.ca>
1272
1273 * textmodes/ispell.el: Fix nitpicks and byte-compiler warnings.
1274 (ispell-print-if-debug): Build `format' in. Avoid end-of-buffer.
1275 (ispell-parse-hunspell-affix-file): Avoid beginning-of-buffer.
1276 Use dict-key rather than dict-name for the error message.
1277
1278 2013-03-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1279
1280 * net/net-utils.el (net-utils-run-simple): Don't display-buffer
1281 when reverting (bug#13831).
1282
1283 2013-03-01 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1284
1285 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
1286 Always expand affix-file before storing to protect against changed
1287 `default-directory'.
1288 (ispell-print-if-debug): Make sure message is printed at the end
1289 of the debug buffer.
1290
1291 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
1292
1293 * net/tramp.el (tramp-obsolete-methods): New defconst.
1294 (tramp-warned-obsolete-methods): New defvar.
1295 (tramp-find-method): Check for obsolete methods. Map them to a
1296 replacement method if appropriate.
1297
1298 * net/tramp-sh.el (tramp-methods) [scp1, scp2, ssh1, ssh2, plink1]:
1299 Remove methods.
1300 (top): Remove completion functions for "scp1", "scp2", "ssh1",
1301 "ssh2" and "plink1".
1302
1303 2013-02-28 Dale Sedivec <dale@codefu.org>
1304
1305 * textmodes/sgml-mode.el (sgml-syntax-propertize-function):
1306 Return valid syntax-table property value when converting
1307 quotes within text from string syntax to punctuation syntax (bug#13844).
1308
1309 2013-02-28 Juri Linkov <juri@jurta.org>
1310
1311 * dired-aux.el (dired-diff): If file at point is a backup file,
1312 use its original as the default value, and reverse the order
1313 of arguments to the `diff' call. Doc fix. (Bug#13772)
1314
1315 2013-02-28 Michael Albinus <michael.albinus@gmx.de>
1316
1317 * net/tramp-adb.el (tramp-adb-sdk-dir): Remove. Replaced by ...
1318 (tramp-adb-program): New defcustom. Remove function. Adapt calls.
1319
1320 2013-02-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1321
1322 Initial support for hunspell dictionaries auto-detection (Bug#13639)
1323
1324 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
1325 Ask hunspell about available and default dictionaries.
1326 (ispell-parse-hunspell-affix-file): Extract relevant info from
1327 hunspell affix file.
1328 (ispell-hunspell-fill-dictionary-entry): Fill non-initialized
1329 `ispell-dictionary-alist' entry for given dictionary after info
1330 provided by `ispell-parse-hunspell-affix-file'.
1331 (ispell-hunspell-dict-paths-alist): New defvar to contain an alist
1332 of parsed hunspell dicts and associated affix files.
1333 (ispell-hunspell-dictionary-alist): New defvar to contain an alist
1334 of parsed hunspell dicts and associated parameters.
1335 (ispell-set-spellchecker-params):
1336 Call `ispell-find-hunspell-dictionaries' if hunspell and not
1337 previously done.
1338 (ispell-start-process):
1339 Call `ispell-hunspell-fill-dictionary-entry' for current
1340 dictionary if it is not initialized.
1341
1342 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
1343
1344 * imenu.el: Comment nitpicks.
1345
1346 2013-02-28 Sam Steingold <sds@gnu.org>
1347
1348 * vc/diff-mode.el (diff-hunk-file-names): Handle filenames with spaces.
1349 See <http://stackoverflow.com/questions/14720205>.
1350
1351 2013-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1352
1353 * net/net-utils.el (net-utils--revert-function): New fun (bug#13831).
1354 (net-utils-mode): Use it.
1355 (net-utils--revert-cmd): New var.
1356 (net-utils-run-simple): Set it, and remove bogus interactive spec.
1357 (traceroute): Use net-utils-run-simple.
1358
1359 2013-02-28 Glenn Morris <rgm@gnu.org>
1360
1361 * textmodes/paragraphs.el (mark-paragraph): Doc fix.
1362
1363 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
1364
1365 * doc-view.el: Preserve h&v scroll across C-c C-c C-c C-c.
1366 (doc-view-fallback-mode): Remove overlays here.
1367 (doc-view-toggle-display): Instead of here. Don't throw away
1368 image-mode-winprops-alist.
1369 (doc-view-goto-page): Don't mess with hscroll.
1370
1371 2013-02-27 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1372
1373 * font-lock.el (lisp-font-lock-keywords-2): Fix highlighting of
1374 &optional (bug#13819).
1375
1376 2013-02-27 Michael Albinus <michael.albinus@gmx.de>
1377
1378 * net/tramp-adb.el (tramp-adb-parse-device-names)
1379 (tramp-adb-maybe-open-connection): Add timeouts. (Bug#13299)
1380
1381 2013-02-26 Michael Albinus <michael.albinus@gmx.de>
1382
1383 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
1384 Add "2>/dev/null" to the ls command, in case "en_US.utf8" is not
1385 defined. POSIX environments fall back to the "C" locale then and
1386 emit a warning, which shall be suppressed.
1387
1388 2013-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
1389
1390 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): Tweak logic.
1391 (easy-mmode-set-keymap-parents): Use make-composed-keymap.
1392
1393 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
1394
1395 * emacs-lisp/bytecomp.el (byte-compile-file): Use let.
1396
1397 2013-02-25 Juri Linkov <juri@jurta.org>
1398
1399 * replace.el (read-regexp): Let-bind `default' to the first
1400 element of `defaults' if it's a list, otherwise it should be
1401 a string or nil. Let-bind `suggestions' to `defaults' if it's
1402 a list, otherwise make a list with the string value. Doc fix.
1403 (Bug#13805)
1404
1405 2013-02-25 Eli Zaretskii <eliz@gnu.org>
1406
1407 * emacs-lisp/bytecomp.el (byte-recompile-directory): Reject files
1408 that match "\`\.#", to avoid compiling lock files, even if they
1409 are readable (as they are on MS-Windows).
1410
1411 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
1412
1413 * files.el (basic-save-buffer): Remove redundant directory-creation.
1414
1415 2013-02-24 Jay Belanger <jay.p.belanger@gmail.com>
1416
1417 * calc/calc-ext.el (math-to-radians-2, math-from-radians-2):
1418 Add option to force `pi' to remain symbolic.
1419 * calc/calcalg2.el (calcFunc-sin, calcFunc-cos, calcFunc-tan)
1420 (calcFunc-cot, calcFunc-csc, calcFunc-sec, calcFunc-arcsin)
1421 (calcFunc-arccos, calcFunc-arctan): Use symbolic `pi' in the
1422 derivatives, when necessary.
1423
1424 2013-02-23 Peter Kleiweg <p.c.j.kleiweg@rug.nl>
1425
1426 * progmodes/ps-mode.el (ps-mode-version): Bump to 1.1i.
1427 (ps-mode-octal-region): Use string-make-unibyte.
1428
1429 2013-02-23 Glenn Morris <rgm@gnu.org>
1430
1431 * emulation/viper-cmd.el (viper-submit-report):
1432 * progmodes/ps-mode.el (ps-mode-maintainer-address):
1433 * progmodes/vera-mode.el (vera-mode-help-address):
1434 * textmodes/artist.el (artist-maintainer-address):
1435 * textmodes/reftex.el (reftex-report-bug):
1436 * vc/ediff-util.el (ediff-submit-report):
1437 Add bug-gnu-emacs to bug report address.
1438
1439 * progmodes/simula.el (simula-mode-menu, simula-mode-map):
1440 Remove bug report entries.
1441 (simula-mode-help-address, simula-submit-bug-report): Make obsolete.
1442
1443 * emacs-lisp/bytecomp.el (byte-compile-level): New.
1444 (byte-compile-file, byte-compile-from-buffer):
1445 Use separate input/output buffers for each level of recursive
1446 byte-compile-file calls. (Bug#13787)
1447
1448 2013-02-23 Michael Albinus <michael.albinus@gmx.de>
1449
1450 * net/tramp.el (tramp-methods): Fix docstring.
1451 (tramp-ssh-controlmaster-options): Rename it from
1452 `tramp-ssh-controlmaster-template'. Return a string.
1453 (tramp-default-method): Adapt check for
1454 `tramp-ssh-controlmaster-options'.
1455
1456 * net/tramp-sh.el (tramp-methods):
1457 Replace `tramp-ssh-controlmaster-template' by "%c".
1458 (tramp-do-copy-or-rename-file-out-of-band)
1459 (tramp-maybe-open-connection): Use it in format spec. Ensure,
1460 that it is applied for the first hop only.
1461
1462 2013-02-22 Juri Linkov <juri@jurta.org>
1463
1464 * isearch.el (isearch-lazy-highlight-new-loop):
1465 Set `isearch-lazy-highlight-start' and `isearch-lazy-highlight-end'
1466 to `isearch-other-end' if it is not nil. (Bug#13402)
1467
1468 * replace.el (replace-highlight): Let-bind `isearch-other-end'
1469 to `match-beg'.
1470
1471 * textmodes/ispell.el (ispell-highlight-spelling-error-overlay):
1472 Let-bind `isearch-other-end' to `start', `isearch-forward' to t
1473 and `isearch-error' to nil.
1474
1475 2013-03-16 Fabián Ezequiel Gallina <fgallina@cuca>
1476
1477 * progmodes/python.el (python-info-current-defun):
1478 Enhance match-data cluttering prevention.
1479
1480 2013-02-22 Michael Albinus <michael.albinus@gmx.de>
1481
1482 * net/tramp.el (tramp-tramp-file-p): Fix docstring.
1483
1484 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
1485 Handle multibyte file names.
1486
1487 2013-02-22 Glenn Morris <rgm@gnu.org>
1488
1489 * textmodes/sgml-mode.el (sgml-xml-mode): Move before use.
1490 (sgml-transformation-function): Give it a :set function.
1491 (sgml-tag): Doc fix.
1492
1493 * cmuscheme.el (scheme-buffer):
1494 * progmodes/inf-lisp.el (inferior-lisp-buffer):
1495 * progmodes/tcl.el (inferior-tcl-buffer):
1496 * textmodes/tex-mode.el (tex-command): Doc fixes.
1497
1498 * image-mode.el (image-mode): Add mouse bindings for mode-line-process.
1499
1500 * htmlfontify.el (hfy-default-header): Encode title string. (Bug#7457)
1501
1502 2013-02-21 Bastien Guerry <bzg@gnu.org>
1503
1504 * cmuscheme.el (scheme-buffer): Fix docstring. (Bug#13778)
1505
1506 2013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
1507
1508 * progmodes/python.el (python-info-current-defun):
1509 Enhance match-data cluttering prevention.
1510
1511 2013-02-21 Glenn Morris <rgm@gnu.org>
1512
1513 * net/tramp.el (tramp-get-debug-buffer): Ensure outline.el is not
1514 loaded while outline-regexp is let bound. (Bug#9584)
1515
1516 2013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
1517
1518 * progmodes/python.el (python-info-current-defun): Fix failed
1519 defun name retrieval because of unwanted match-data cluttering.
1520
1521 2013-02-21 Michael Albinus <michael.albinus@gmx.de>
1522
1523 * net/tramp.el (tramp-ssh-controlmaster-template): Make it a
1524 defconst. Apply independent check for ControlPersist.
1525
1526 * net/tramp-sh.el (tramp-sh-handle-set-file-times): Set $UTC only
1527 temporarily, via "env".
1528
1529 2013-02-21 Glenn Morris <rgm@gnu.org>
1530
1531 * info.el (Info-enable-edit): Remove.
1532 (Info-edit): Disable it rather than using Info-enable.
1533 (Info-edit-mode-hook, Info-edit-map, Info-edit-mode, Info-edit)
1534 (Info-cease-edit): Make editing of Info files obsolete.
1535
1536 * informat.el (Info-tagify):
1537 Handle buffers not visiting files. (Bug#13763)
1538
1539 2013-02-21 Juanma Barranquero <lekktu@gmail.com>
1540
1541 * calc/calc-graph.el (calc-graph-show-dumb): Fix typo.
1542
1543 2013-02-21 Glenn Morris <rgm@gnu.org>
1544
1545 * files.el (basic-save-buffer): Move check for existing parent
1546 directory after hooks. (Bug#13773)
1547
1548 2013-02-20 Stefan Monnier <monnier@iro.umontreal.ca>
1549
1550 * simple.el (command-execute): Move from C. Add obsolete check.
1551 (extended-command-history): Move from C.
1552
1553 2013-02-20 Ulrich Müller <ulm@gentoo.org>
1554
1555 * jka-cmpr-hook.el (jka-compr-compression-info-list)
1556 (jka-compr-mode-alist-additions): Handle .txz suffix for
1557 XZ-compressed tar archives (bug#13770).
1558
1559 2013-02-20 Bastien Guerry <bzg@gnu.org>
1560
1561 * outline.el (outline-regexp, outline-heading-end-regexp):
1562 Make variables, not options (bug#13731).
1563
1564 2013-02-20 Glenn Morris <rgm@gnu.org>
1565
1566 * image.el (image-current-frame): Change from variable to function.
1567 (image-show-frame): Rename from image-nth-frame. Update callers.
1568 * image-mode.el (image-multi-frame): New variable.
1569 (image-mode-map, image-mode, image-goto-frame):
1570 Use image-multi-frame rather than image-current-frame.
1571 (image-mode, image-goto-frame): Use image-current-frame as
1572 function rather than as variable.
1573
1574 * emacs-lisp/cl-lib.el (cl-floatp-safe): Make it an alias for floatp.
1575 * emacs-lisp/cl-macs.el (cl--make-type-test)
1576 (cl--compiler-macro-assoc): Use floatp rather than cl-floatp-safe.
1577
1578 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
1579
1580 * net/tramp-cache.el (tramp-get-hash-table): New defun.
1581 (tramp-get-file-property, tramp-set-file-property)
1582 (tramp-get-connection-property, tramp-set-connection-property): Use it.
1583 (tramp-flush-file-property, tramp-flush-directory-property):
1584 Rename argument to KEY.
1585 (tramp-flush-connection-property): Simplify a little bit.
1586 (tramp-connection-property-p): New defun.
1587 (top): Reapply saved values only if there isn't a corresponding
1588 entry in `tramp-connection-properties'.
1589
1590 2013-02-19 Fabián Ezequiel Gallina <fgallina@cuca>
1591
1592 * progmodes/python.el (python-indent-context):
1593 Fix python-info-line-ends-backslash-p call.
1594 (python-info-line-ends-backslash-p)
1595 (python-info-beginning-of-backslash): Respect line-number argument.
1596 (python-info-current-line-comment-p):
1597 Fix behavior when not at beginning-of-line.
1598 (python-util-position): Remove function.
1599 (python-util-goto-line): New function.
1600
1601 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
1602
1603 * eshell/em-unix.el (eshell/su): Require tramp.
1604 (eshell/sudo): Require tramp. Remove now unnecessary check.
1605
1606 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Let-bind
1607 `tramp-current-connection' in order to avoid an error when several
1608 commands are invoked in a short time in eshell and friends.
1609
1610 2013-02-19 Stefan Monnier <monnier@iro.umontreal.ca>
1611
1612 Cleanup some of EIEIO's namespace.
1613 * emacs-lisp/eieio.el (eieio--define-field-accessors): New macro.
1614 Use it to define all the class-* and object-* field accessors (renamed
1615 to eieio--class-* and eieio--object-*). Update all uses.
1616 (eieio--class-num-slots, eieio--object-num-slots): Rename from
1617 class-num-slots and object-num-slots.
1618 (eieio--check-type): New macro.
1619 (eieio-defclass, eieio-oref, eieio-oref-default, same-class-p)
1620 (object-of-class-p, child-of-class-p, object-slots, class-slot-initarg)
1621 (eieio-oset, eieio-oset-default, object-assoc, object-assoc-list)
1622 (object-assoc-list-safe): Use it.
1623 (eieio-defclass): Tighten regexp.
1624 (eieio--defmethod): Use `memq'. Signal an error for unknown method kind.
1625 Remove unreachable code.
1626 (object-class-fast): Declare obsolete.
1627 (eieio-class-name, eieio-object-name, eieio-object-set-name-string)
1628 (eieio-object-class, eieio-object-class-name, eieio-class-parents)
1629 (eieio-class-children, eieio-class-precedence-list, eieio-class-parent):
1630 Rename from class-name, object-name, object-set-name-string,
1631 object-class, object-class-name, class-parents, class-children,
1632 class-precedence-list, class-parent; with obsolete alias.
1633 (class-of, class-direct-superclasses, class-direct-subclasses):
1634 Declare obsolete.
1635 (eieio-defmethod): Use `memq'; remove unreachable code.
1636 * emacs-lisp/eieio-base.el (eieio-persistent-read):
1637 * emacs-lisp/eieio-opt.el (eieio-class-button, eieio-describe-generic)
1638 (eieio-browse-tree, eieio-browse): Use eieio--check-type.
1639
1640 2013-02-18 Aidan Gauland <aidalgol@no8wireless.co.nz>
1641
1642 * eshell/em-cmpl.el: Correct "context-related help" keybinding in
1643 commentary.
1644
1645 2013-02-18 Michael Heerdegen <michael_heerdegen@web.de>
1646
1647 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument):
1648 Use font-lock-keyword-face for macros and special forms (bug#8345).
1649
1650 2013-02-17 Didier Verna <didier@didierverna.net>
1651
1652 * net/network-stream.el (network-stream-open-starttls):
1653 Check that response to the starttls-command is non-nil. (Bug#13706)
1654
1655 2013-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
1656
1657 * font-lock.el (lisp-font-lock-keywords-1, lisp-font-lock-keywords-2):
1658 Don't assume all identifier chars have syntax word.
1659 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
1660 Remove bar-not-symbol. Adjust callers.
1661 (lisp-mode-variables): Don't set a font-lock-syntax-table.
1662
1663 2013-02-17 Leo Liu <sdl.web@gmail.com>
1664
1665 * net/rcirc.el (rcirc-keepalive): Fix invalid timer error.
1666
1667 2013-02-17 Glenn Morris <rgm@gnu.org>
1668
1669 * menu-bar.el (menu-bar-tools-menu): Fix case of EDE entry.
1670
1671 * image-mode.el (image-mode-map): Add image-dired menu entry.
1672
1673 * image-dired.el (tumme): Make this alias obsolete.
1674
1675 2013-02-16 Glenn Morris <rgm@gnu.org>
1676
1677 * image.el (image-animated-types): Remove.
1678 (image-multi-frame-p): Rename from image-animated-p, and generalize.
1679 (image-animated-p): Make obsolete alias.
1680 (image-animate, image-nth-frame, image-animate-timeout):
1681 Use image-multi-frame-p.
1682 (image-animate-timeout): If no delay, use image-default-frame-delay.
1683 * image-mode.el (image-mode, image-toggle-animation):
1684 Use image-multi-frame-p. (Bug#763, bug#10739)
1685 (image-mode): Adjust startup message for a multi-frame image.
1686
1687 * image-mode.el (image-mode-map): Give it a menu.
1688
1689 2013-02-16 Michael Albinus <michael.albinus@gmx.de>
1690
1691 * net/tramp-cache.el (tramp-connection-properties): New customer
1692 option.
1693 (tramp-get-connection-property): Use it.
1694
1695 * net/tramp-compat.el (top): Require 'trampver.
1696
1697 * net/tramp-sh.el (tramp-remote-process-environment):
1698 Set tramp-autoload cookie.
1699
1700 2013-02-16 Kevin Ryde <user42@zip.com.au>
1701
1702 * info-look.el (info-lookup-select-mode): If major-mode has no
1703 info-lookup-alist entry then search up derived-mode-parent (bug#8660).
1704
1705 2013-02-16 Jambunathan K <kjambunathan@gmail.com>
1706
1707 * replace.el (read-regexp): Tighten the regexp that matches tag.
1708 When tag is retrieved with `find-tag-default', use regexp that
1709 matches tag at point. Also update docstring (Bug#13687).
1710
1711 2013-02-16 Eli Zaretskii <eliz@gnu.org>
1712
1713 * autorevert.el (auto-revert-notify-add-watch): With 'w32notify',
1714 add watch for the file, not its parent directory, since w32notify
1715 sets up the watch for the directory internally. (Bug#13725)
1716
1717 2013-02-16 Glenn Morris <rgm@gnu.org>
1718
1719 * image.el (image-default-frame-delay): New variable.
1720 (image-animated-p): Use image-default-frame-delay.
1721 (image-minimum-frame-delay): New constant.
1722 (image-animate-timeout): Use image-minimum-frame-delay.
1723
1724 * image.el (image-nth-frame): New, split from image-animate-timeout.
1725 (image-animate-timeout): Use image-nth-frame.
1726 * image-mode.el (image-goto-frame, image-next-frame)
1727 (image-previous-frame): New commands.
1728 (image-mode-map): Add new frame commands.
1729
1730 2013-02-16 Jonas Bernoulli <jonas@bernoul.li>
1731
1732 * emacs-lisp/tabulated-list.el (tabulated-list-print-col):
1733 If col-desc already has help-echo, use it. (Bug#13563)
1734
1735 2013-02-16 Glenn Morris <rgm@gnu.org>
1736
1737 * image.el (image-current-frame): New variable.
1738 (image-animate-timeout): Set image-current-frame.
1739 * image-mode.el (image-mode): For animated images,
1740 display a frame counter via mode-line-process.
1741
1742 * font-lock.el (lisp-font-lock-keywords-1): Add defvar-local.
1743
1744 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
1745
1746 * simple.el (eval-expression): Let `exp' set the mark (bug#13724).
1747
1748 2013-02-15 Alan Mackenzie <acm@muc.de>
1749
1750 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): When a
1751 global minor mode has been enabled, call the minor mode function
1752 for a new buffer once only, after the major mode hook, whilst
1753 allowing that hook explicitly to disable the minor mode.
1754 (MODE-disable-in-buffer): New (generated) function.
1755 (disable-MODE): New (generated) buffer local variable.
1756
1757 2013-02-15 Jambunathan K <kjambunathan@gmail.com>
1758
1759 * iswitchb.el (iswitchb-read-buffer): Bind `C-.' and `C-,' to
1760 `iswitchb-next-match' and `iswitchb-prev-match' resply.
1761 * ido.el (ido-init-completion-maps): Bind `C-.' and `C-,' to
1762 `ido-next-match' and `ido-prev-match' resply.
1763 * icomplete.el (icomplete-minibuffer-map): Unbind `C-s' and `C-r'.
1764 Bind `C-.' and `C-,' to `icomplete-forward-completions' and
1765 `icomplete-backward-completions' (Bug#13708).
1766
1767 2013-02-15 Glenn Morris <rgm@gnu.org>
1768
1769 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
1770
1771 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
1772
1773 * net/goto-addr.el (goto-address-fontify): Add start and end args.
1774 (goto-address-fontify-region): Use them instead of narrowing, so
1775 syntax-ppss has access to the whole buffer.
1776
1777 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
1778
1779 * progmodes/python.el: Explain how to restore "cc-mode"-like
1780 forward-sexp movement in header documentation (Bug#13642).
1781 (python-nav--forward-sexp): Behave like emacs-lisp-mode in
1782 comments and strings (GH bug 114).
1783
1784 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
1785
1786 * progmodes/python.el (python-info-current-defun): Fix current
1787 defun detection (Bug#13618).
1788
1789 2013-02-15 Chong Yidong <cyd@gnu.org>
1790
1791 * xml.el (xml-parse-string): Fix typo in handling of bad character
1792 references.
1793
1794 2013-02-15 Glenn Morris <rgm@gnu.org>
1795
1796 * play/fortune.el (fortune-compile): Simplify and fix previous change.
1797
1798 2013-02-14 Michael Albinus <michael.albinus@gmx.de>
1799
1800 * net/tramp.el (tramp-debug-message):
1801 Add `tramp-condition-case-unless-debug'.
1802 (tramp-debug-on-error): New defvar.
1803 (tramp-condition-case-unless-debug): New defun.
1804 (tramp-file-name-handler): Use it.
1805
1806 2013-02-14 Juri Linkov <juri@jurta.org>
1807
1808 * info.el (Info-isearch-filter): Treat non-nil values of
1809 `search-invisible' including its default value `open'
1810 like the value `t' to match hidden text. (Bug#13402)
1811
1812 2013-02-14 Glenn Morris <rgm@gnu.org>
1813
1814 * help-fns.el (find-lisp-object-file-name): Give special treatment
1815 to all ~/.foo.elc files, not just ~/.emacs. (Bug#9007)
1816
1817 2013-02-14 David Biesack <sasdjb@d72933.na.sas.com> (tiny change)
1818
1819 * net/quickurl.el (quickurl-save-urls):
1820 Ensure quickurl-urls is not truncated on printing. (Bug#9276)
1821
1822 2013-02-14 Dmitry Gutov <dgutov@yandex.ru>
1823
1824 * progmodes/ruby-mode.el (ruby-parse-partial): Don't increase
1825 depth for unfinished percent literal. Not using it in the caller.
1826 (ruby-move-to-block): Jump over multiline literals of all types,
1827 ignoring code-looking contents inside them.
1828 (ruby-add-log-current-method): Improve performance at the expense
1829 of accuracy. `ruby-block-contains-point' is relatively slow, so
1830 only use it for method and singleton class blocks.
1831
1832 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
1833
1834 Use ControlMaster where applicable. (Bug#13677)
1835
1836 * net/tramp.el (tramp-ssh-controlmaster-template): New defvar,
1837 replacing `tramp-detect-ssh-controlmaster'.
1838 (tramp-default-method): Use it.
1839
1840 * net/tramp-sh.el (tramp-methods) [scp, scp1, scp2, scpx, sftp]:
1841 [rsync, ssh, ssh1, ssh2, sshx]: Add ControlPath and ControlMaster
1842 arguments.
1843 [scpc, rsyncc]: Remove methods.
1844 (top): Remove completion functions for "scpc", "rsyncc", "ssh1_old"
1845 and "ssh2_old".
1846 (tramp-do-copy-or-rename-file-out-of-band): Change trace level.
1847 (tramp-maybe-open-connection): Reuse tmpfile for ControlPath.
1848
1849 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
1850
1851 * emacs-lisp/package.el (package--initialized): Move before first use.
1852
1853 2013-02-13 Jambunathan K <kjambunathan@gmail.com>
1854
1855 * icomplete.el (icomplete-hide-common-prefix): New user option.
1856 (icomplete-first-match): New face.
1857 (icomplete-completions): Correct handling of "complete but not
1858 unique" (Bug#12638).
1859
1860 2013-02-13 YE Qianchuan <stool.ye@gmail.com> (tiny change)
1861
1862 * descr-text.el (describe-char): Display the script (bug#13698).
1863
1864 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
1865
1866 * tmm.el: Use lexical-binding and current-active-maps.
1867 (tmm-menubar): Use map-keymap and pcase.
1868 (tmm--completion-table): New function.
1869 (tmm-prompt): Use it to fix the menu order.
1870 (tmm-get-keybind): Use current-active-maps.
1871
1872 2013-02-12 Christopher Schmidt <christopher@ch.ristopher.com>
1873
1874 Add dired-hide-details-mode. (Bug#6799)
1875
1876 * locate.el (locate-mode): Set parent mode property to dired-mode.
1877
1878 * find-dired.el (find-dired): Call dired-insert-set-properties on
1879 initial information line. Set process mark on end of buffer.
1880 (find-dired-sentinel):
1881 Call dired-insert-set-properties on summary.
1882
1883 * dired.el (dired-hide-details-hide-symlink-targets)
1884 (dired-hide-details-hide-information-lines): New options.
1885 (dired-insert-directory):
1886 Set properties after final treatment of output.
1887 (dired-insert-set-properties):
1888 Set dired-hide-details-* properties.
1889 (dired-mode-map): Bind dired-hide-details-mode.
1890 (dired-mode): Set buffer-invisibility-spec to a list.
1891 (dired-next-line): Skip hidden lines.
1892 (dired-previous-line): Use dired-next-line.
1893 (dired-hide-details-mode): New minor mode.
1894 (dired-hide-details-update-invisibility-spec): New function.
1895
1896 2013-02-13 Glenn Morris <rgm@gnu.org>
1897
1898 * play/yow.el: Move to obsolete/. (Bug#9384)
1899
1900 2013-02-13 Juri Linkov <juri@jurta.org>
1901
1902 * vc/ediff-util.el (ediff-recenter): Use `select-frame-set-input-focus'
1903 to select `ediff-control-frame' and set input focus correctly on Xfce.
1904 (Bug#12218)
1905
1906 2013-02-13 Juri Linkov <juri@jurta.org>
1907
1908 * image-mode.el (image-mode-map):
1909 * doc-view.el (doc-view-mode-map):
1910 * vc/ediff-util.el (ediff-setup-keymap):
1911 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
1912
1913 2013-02-13 Dmitry Gutov <dgutov@yandex.ru>
1914
1915 * progmodes/ruby-mode.el (ruby-move-to-block): Improve
1916 performance. Instead of recalculating indentation fully for each
1917 line, sum up indentation depth based only on visited lines.
1918 (ruby-parse-partial): Increase the depth after "do" even when END
1919 is right after it.
1920 (ruby-parse-partial): When END is in the middle of a percent
1921 literal, increase the depth if the delimiter chars belong to the
1922 paren syntax class.
1923
1924 2013-02-13 Kirill A. Korinskiy <catap@catap.ru>
1925
1926 * play/fortune.el (fortune-compile): Also make the compiled file
1927 if it does not exist at all, not just if it is old. (Bug#5338)
1928
1929 2013-02-13 Glenn Morris <rgm@gnu.org>
1930
1931 * emacs-lisp/package.el (package-menu-execute): Doc fix.
1932
1933 2013-02-13 Yves Baumes <ybaumes@gmail.com> (tiny change)
1934
1935 * lisp/emacs-lisp/package.el (package-menu-execute):
1936 Add optional noquery argument. (Bug#13625)
1937
1938 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
1939
1940 * net/ange-ftp.el (ange-ftp-make-directory): Don't raise an error,
1941 if DIR exists and PARENTS is non-nil.
1942
1943 2013-02-13 Juanma Barranquero <lekktu@gmail.com>
1944
1945 * progmodes/js.el (js--multi-line-declaration-indentation):
1946 Silence byte-compiler warning.
1947
1948 2013-02-12 Michael Albinus <michael.albinus@gmx.de>
1949
1950 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Rewrite.
1951
1952 * net/tramp-compat.el (top): Declare `remote-file-name-inhibit-cache'
1953 only if it doesn't exist.
1954
1955 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1956 Set process marker.
1957
1958 2013-02-12 Tassilo Horn <tsdh@gnu.org>
1959
1960 * doc-view.el (doc-view-odf->pdf-converter-soffice): Use separate
1961 UserInstallation when calling soffice to work around LibreOffice
1962 bug 37531.
1963
1964 2013-02-12 Glenn Morris <rgm@gnu.org>
1965
1966 * files.el (basic-save-buffer):
1967 Offer to create a non-existing directory. (Bug#3016)
1968
1969 * calc/calc-graph.el (calc-graph-show-dumb):
1970 * calendar/calendar.el (calendar-mode-map):
1971 * cus-edit.el (custom-mode-map):
1972 * ehelp.el (electric-help-map):
1973 * emulation/vip.el (vip-mode-map):
1974 * epa.el (epa-key-list-mode-map):
1975 * info.el (Info-mode-map):
1976 * mail/rmail.el (rmail-mode-map):
1977 * mail/rmailsum.el (rmail-summary-mode-map):
1978 * man.el (Man-mode-map):
1979 * net/newst-plainview.el (newsticker-mode-map):
1980 * progmodes/cpp.el (cpp-edit-mode-map):
1981 * progmodes/grep.el (grep-mode-map):
1982 * progmodes/idlw-help.el (idlwave-help-mode-map):
1983 * simple.el (special-mode-map):
1984 * startup.el (splash-screen-keymap):
1985 * view.el (view-mode-map):
1986 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
1987
1988 2013-02-11 Elias Pipping <pipping@lavabit.com>
1989
1990 * doc-view.el (doc-view-current-cache-dir): Beware % escapes
1991 (bug#13679).
1992
1993 2013-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
1994
1995 * cus-start.el (all): Remove inhibit-local-menu-bar-menus.
1996
1997 2013-02-11 Glenn Morris <rgm@gnu.org>
1998
1999 * vc/diff.el (diff-use-labels): New variable.
2000 (diff-no-select): Use --label rather than -L, and first
2001 check that it is supported. (Bug#11067)
2002
2003 * files.el (enable-dir-local-variables): New variable.
2004 (hack-dir-local-variables): Respect enable-dir-local-variables.
2005 * tutorial.el (help-with-tutorial):
2006 Ignore directory-local variables. (Bug#11127)
2007
2008 * vc/vc-svn.el (vc-svn-command): Move --non-interactive from here...
2009 (vc-svn-global-switches): ... to here. (Bug#13513)
2010
2011 2013-02-10 Christopher Schmidt <christopher@ch.ristopher.com>
2012
2013 * minibuf-eldef.el (minibuffer-default--in-prompt-regexps):
2014 Handle "foo (bar, default: xxx): " prompts.
2015
2016 2013-02-10 Chong Yidong <cyd@gnu.org>
2017
2018 * files.el (basic-save-buffer-1): Do not set
2019 buffer-file-coding-system-explicit (Bug#4533).
2020
2021 * mail/emacsbug.el (report-emacs-bug): Change binding of
2022 report-emacs-bug-insert-to-mailer to C-c M-i (Bug#13510).
2023
2024 2013-02-09 Jay Belanger <jay.p.belanger@gmail.com>
2025
2026 * calc/calc.el (calc-allow-units-as-numbers): New variable.
2027 * calc/calc-units.el (calc-convert-units): Use new variable.
2028
2029 2013-02-09 Eli Zaretskii <eliz@gnu.org>
2030
2031 * subr.el (buffer-file-type, default-buffer-file-type): Remove.
2032
2033 * net/ange-ftp.el (ange-ftp-insert-file-contents): Don't reference
2034 buffer-file-type.
2035
2036 * mail/feedmail.el (feedmail-force-binary-write): Doc fix.
2037 (feedmail-run-the-queue, feedmail-dump-message-to-queue)
2038 (feedmail-send-it-immediately): Don't bind buffer-file-type, bind
2039 coding-system-for-write instead.
2040
2041 * jka-compr.el (jka-compr-write-region): Don't bind
2042 buffer-file-type.
2043
2044 * emacs-lisp/bytecomp.el (byte-compile-file): Don't bind
2045 buffer-file-type.
2046
2047 * files.el (file-name-buffer-file-type-alist): Remove defvar.
2048 (insert-file-contents-literally): Remove reference to
2049 file-name-buffer-file-type-alist.
2050
2051 * dos-w32.el (file-name-buffer-file-type-alist): Deprecate and
2052 make-obsolete.
2053 (find-buffer-file-type-match, find-buffer-file-type): Remove.
2054 (find-buffer-file-type-coding-system): Remove references to
2055 find-buffer-file-type-match, find-buffer-file-type, and
2056 buffer-file-type.
2057 Don't put find-buffer-file-type-coding-system into
2058 file-coding-system-alist.
2059 (find-file-binary, find-file-text): Bind coding-system-for-read
2060 instead of file-name-buffer-file-type-alist.
2061
2062 2013-02-09 Jambunathan K <kjambunathan@gmail.com>
2063
2064 * doc-view.el: Use (and prefer) soffice as default ODF->PDF
2065 converter (Bug#13622).
2066 (doc-view-unoconv-program): Make obsolete alias.
2067 (doc-view-odf->pdf-converter-program): New variable.
2068 (doc-view-odf->pdf-converter-function): New variable.
2069 (doc-view-mode-p): Use it.
2070 (doc-view-odf->pdf-converter-unoconv):
2071 Rename from `doc-view-odf->pdf-converter-unoconv'.
2072 (doc-view-odf->pdf-converter-soffice): New function.
2073 (doc-view-convert-current-doc):
2074 Use `doc-view-odf->pdf-converter-function'.
2075
2076 2013-02-09 Chong Yidong <cyd@gnu.org>
2077
2078 * minibuffer.el (minibuffer-inactive-mode-map): Bind mouse-1 to
2079 view-echo-area-messages (Bug#13340).
2080
2081 * help.el (view-echo-area-messages): Use display-buffer.
2082
2083 * dired-x.el (dired-do-run-mail): Prompt for confirmation
2084 (Bug#13561).
2085
2086 2013-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
2087
2088 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
2089 Eval body right away, now that we do eager macroexpansion (bug#13605).
2090
2091 * simple.el (end-of-buffer): Don't touch unrelated windows (bug#13466).
2092 (fundamental-mode): Use run-mode-hooks.
2093
2094 * eshell/esh-proc.el (eshell/kill): Fix last change.
2095 * eshell/em-ls.el (eshell-ls-dir): Fix use of CL in last change.
2096
2097 2013-02-08 Aidan Gauland <aidalgol@no8wireless.co.nz>
2098
2099 * eshell/esh-proc.el (eshell/kill): Rewrite.
2100
2101 * eshell/em-ls.el (show-almost-all): Declare.
2102 (eshell-do-ls): Add support for -A argument.
2103
2104 2013-02-08 Jambunathan K <kjambunathan@gmail.com>
2105
2106 * icomplete.el (icomplete-forward-completions)
2107 (icomplete-backward-completions): Handle corner case (bug#13602).
2108
2109 2013-02-07 Michael Albinus <michael.albinus@gmx.de>
2110
2111 * vc/vc-hooks.el (vc-find-file-hook): `buffer-file-truename' can
2112 be nil. Handle this. (Bug#13636)
2113
2114 2013-02-07 Richard Stallman <rms@gnu.org>
2115
2116 * mail/rmail.el (rmail-variables): Specify `no-conversion' for
2117 `save-buffer-coding-system'.
2118
2119 2013-02-07 Alan Mackenzie <acm@muc.de>
2120
2121 Fix bug in state cache mechanism. Remove 'BOD "strategy". Refactor.
2122 * progmodes/cc-engine.el (c-get-fallback-scan-pos): Remove.
2123 (c-parse-state-get-strategy): Don't return 'BOD any more.
2124 (c-append-lower-brace-pair-to-state-cache):
2125 Extra parameter HERE instead of narrowing.
2126 Widen to top of buffer before searching backwards for a brace pair.
2127 (c-state-push-any-brace-pair): Add HERE parameter to function call.
2128 (c-append-to-state-cache): Extra parameter HERE in place of narrowing.
2129 Narrow to parameter HERE, in place of being called narrowed.
2130 (c-remove-stale-state-cache): Extra parameter HERE in place of
2131 narrowing. Check there's an open brace in the cache before
2132 searching for its match.
2133 (c-invalidate-state-cache-1): Add HERE parameter to function call.
2134 (c-parse-state-1): Don't narrow here for 'forward strategy,
2135 instead passing extra parameter HERE to several functions.
2136 Remove 'BOD strategy.
2137
2138 2013-02-06 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
2139
2140 * emacs-lisp/package.el (describe-package-1): Tell what archive is
2141 used to install the package.
2142
2143 2013-02-06 Glenn Morris <rgm@gnu.org>
2144
2145 * vc/vc-hooks.el (vc-find-file-hook): Don't ask about following links
2146 if we can't get user input. (Bug#6567)
2147
2148 * startup.el (command-line): If simple.el is missing,
2149 test and warn about for some possible causes.
2150
2151 2013-02-05 Jan Djärv <jan.h.d@swipnet.se>
2152
2153 * cus-start.el (all): Add ns-use-native-fullscreen.
2154
2155 2013-02-05 Glenn Morris <rgm@gnu.org>
2156
2157 * profiler.el (profiler-report-mode-map): Add a restart menu entry.
2158
2159 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
2160 Fix directory creation in fallback case.
2161
2162 2013-02-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2163
2164 * vc/vc.el (vc-next-action): Fix inf-loop (bug#13610).
2165 (vc-update-change-log): Use dolist.
2166
2167 2013-02-04 Chong Yidong <cyd@gnu.org>
2168
2169 * thingatpt.el: Rewrite the URL detection routines, absorbing some
2170 code from ffap.el.
2171 (thing-at-point-beginning-of-url-regexp): New var.
2172 (thing-at-point-uri-schemes): Update list of URI schemes.
2173 (thing-at-point-url-regexp): Variable deleted.
2174 (thing-at-point-markedup-url-regexp): Disallow newlines.
2175 (thing-at-point-newsgroup-regexp)
2176 (thing-at-point-newsgroup-heads)
2177 (thing-at-point-default-mail-uri-scheme): New variables.
2178 (thing-at-point-bounds-of-url-at-point): Rewrite. Use ffap's
2179 method to find the possible bounds of the URI at point.
2180 New optional argument to find ill-formed URIs.
2181 (thing-at-point-url-at-point): Rewrite. New arguments for finding
2182 ill-formed URIs. Use thing-at-point-bounds-of-url-at-point, and
2183 the scheme-adding heuristics from ffap-url-at-point.
2184 (thing-at-point--bounds-of-well-formed-url): New function.
2185 Do parens matching to decide whether to include parens in the URI
2186 (Bug#9153).
2187
2188 * ffap.el: Require thingatpt.
2189 (ffap-url-at-point): Delegate URI detection to thing-at-point.
2190 All URI-valid characters are now recognized (Bug#5673).
2191 (ffap-string-at-point): Use use-region-p.
2192 (ffap-url-regexp): Extra character is handled by thing-at-point.
2193 (ffap-string-at-point-mode-alist): Allow parentheses.
2194 (ffap-newsgroup-regexp, ffap-newsgroup-heads, ffap-newsgroup-p):
2195 Convert to aliases; code moved to thingatpt.el.
2196 (ffap-gnus-hook): Use setq-local.
2197
2198 2013-02-04 Glenn Morris <rgm@gnu.org>
2199
2200 * emacs-lisp/ert.el (ert--explain-format-atom):
2201 Don't try to print non-characters as characters. (Bug#13543)
2202
2203 2013-02-03 Michael Albinus <michael.albinus@gmx.de>
2204
2205 * net/tramp.el (tramp-debug-message): Extend function exclude list.
2206 (tramp-backtrace): New defun.
2207 (tramp-handle-insert-file-contents): Use `visit' when inserting
2208 the local copy.
2209
2210 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime):
2211 Use `remote-file-name-inhibit-cache'.
2212
2213 2013-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
2214
2215 * progmodes/cperl-mode.el (cperl-mode): Avoid byte-compile warning
2216 (bug#13614).
2217
2218 * subr.el (internal--called-interactively-p--get-frame): Avoid filling
2219 current-load-list (bug#13366).
2220
2221 2013-02-02 Christopher Schmidt <christopher@ch.ristopher.com>
2222
2223 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2224 Identify g++ template instantiation trace. (Bug#12287)
2225 (compilation-mode-hook, compilation-start-hook)
2226 (compilation-window-height): Simplify docstrings. (Bug#13379)
2227
2228 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
2229
2230 * mouse.el (mouse-drag-track): Always deactivate the mark before
2231 running the final event's command since that command is in charge of
2232 activating the mark if needed (bug#13523).
2233
2234 2013-02-02 Juri Linkov <juri@jurta.org>
2235
2236 * replace.el (perform-replace): Move let-bindings of isearch-*
2237 variables deeper to the loop that searches for the next match.
2238 Add bindings for `isearch-nonincremental' and `isearch-adjusted'.
2239 Use `isearch-search-fun-default' instead of `isearch-search-fun'.
2240 (Bug#13579)
2241
2242 * isearch.el (isearch-search-fun-default): Check for null
2243 first element of isearch-cmds as a precaution when it's used
2244 with inactive isearch.
2245
2246 2013-02-02 Andrew W. Nosenko <andrew.w.nosenko@gmail.com> (tiny change)
2247
2248 * net/tramp.el (tramp-check-for-regexp): Avoid "Args out of range"
2249 error when buffer in question is narrowed so position 1 is out of
2250 visible part.
2251
2252 2013-02-02 Glenn Morris <rgm@gnu.org>
2253
2254 * textmodes/remember.el (remember-clipboard): Doc fix.
2255
2256 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
2257
2258 * progmodes/make-mode.el (makefile-fill-paragraph): Reset syntax-table
2259 properties (bug#13179).
2260
2261 2013-02-02 Juri Linkov <juri@jurta.org>
2262
2263 * progmodes/grep.el (grep-regexp-alist): Use variable grep-match-face
2264 instead of hard-coded default face `match'. (Bug#9438)
2265
2266 2012-02-01 Christopher Schmidt <christopher@ch.ristopher.com>
2267
2268 * vc/vc-arch.el (vc-arch-registered):
2269 * vc/vc-bzr.el (vc-bzr-registered):
2270 * vc/vc-cvs.el (vc-cvs-registered):
2271 * vc/vc-git.el (vc-git-registered):
2272 * vc/vc-hg.el (vc-hg-registered):
2273 * vc/vc-mtn.el (vc-mtn-registered):
2274 * vc/vc-svn.el (vc-svn-registered): Suppress load messages.
2275 (Bug#13139)
2276
2277 * info.el (Info-next-reference, Info-prev-reference): Add numeric
2278 prefix argument. (Bug#11656)
2279
2280 2013-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
2281
2282 * help-fns.el (help-split-fundoc): Don't insert byte-compiled body.
2283
2284 2013-02-01 Glenn Morris <rgm@gnu.org>
2285
2286 * vc/vc-hooks.el (vc-menu-map): Disable vc-rollback menu item
2287 if the backend is known not to support it.
2288
2289 * imenu.el (imenu-default-create-index-function):
2290 Tweak infinite loop test to check for forward motion as well as none.
2291
2292 2013-02-01 Alex Harsanyi <AlexHarsanyi@gmail.com>
2293
2294 * net/soap-client.el (soap-invoke): Encode the string for
2295 `url-request-data' as UTF-8.
2296 Fixes <http://code.google.com/p/emacs-soap-client/issues/detail?id=16>.
2297
2298 2013-02-01 Glenn Morris <rgm@gnu.org>
2299
2300 * calc/calc-help.el (calc-view-news): Use view-emacs-news.
2301
2302 * calc/README, calc/README.prev: Rename/merge to etc/CALC-NEWS.
2303
2304 2013-01-31 Michael Albinus <michael.albinus@gmx.de>
2305
2306 * net/tramp.el (tramp-tramp-file-p): Comment check for
2307 `string-as-unibyte'. The function does not exist on XEmacs, and
2308 likely we need another approach.
2309
2310 * net/tramp-sh.el (tramp-compute-multi-hops): Check, whether
2311 `tramp-gw-*' variables are bound.
2312
2313 2013-01-31 Glenn Morris <rgm@gnu.org>
2314
2315 * files.el (basic-save-buffer-2): Choose coding system for
2316 writing the file before backing it up, to reduce delay between
2317 backing up and writing the new version. (Bug#13522)
2318
2319 2013-01-31 Michal Nazarewicz <mina86@mina86.com>
2320
2321 * simple.el (cycle-spacing): New command.
2322 (just-one-space): Use it.
2323
2324 2013-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
2325
2326 * progmodes/opascal.el: Rename from delphi.el. Use lexical-binding.
2327 (opascal-newline-always-indents): Remove custom.
2328 (opascal-tab, opascal-newline): Remove commands.
2329 (opascal-new-comment-line): Insert "\n" instead of calling newline.
2330 (opascal-mode-map): Keep default bindings for RET and TAB and DEL.
2331 (opascal-save-match-data): Remove, use save-match-data instead.
2332 (opascal-save-state): Use with-silent-modifications.
2333
2334 * progmodes/pascal.el (pascal-mode-syntax-table): Accept //..\n comments
2335 (bug#13585).
2336
2337 2013-01-30 Juri Linkov <juri@jurta.org>
2338
2339 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
2340 Use fullboth as an alias for fullscreen. Suggested by Jan Djärv in
2341 <http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00203.html>.
2342
2343 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
2344
2345 * progmodes/make-mode.el (makefile-backslash-region): Don't compute
2346 column if we're just deleting the backslashes.
2347 (makefile-fill-paragraph): Use eolp.
2348
2349 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
2350
2351 * autorevert.el (auto-revert-use-notify): Fix docstring.
2352
2353 2013-01-30 Leo Liu <sdl.web@gmail.com>
2354
2355 * imenu.el (imenu--truncate-items): Fix subalist checking (bug#13576).
2356
2357 2013-01-30 Glenn Morris <rgm@gnu.org>
2358
2359 * mouse.el (mouse-drag-line): Avoid pushing same event onto
2360 unread-command-events twice in some cases. This tries to implement
2361 the 2012-07-26 changes in a different way. (Bug#13560)
2362
2363 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
2364
2365 * progmodes/python.el
2366 (python-pdbtrack-comint-output-filter-function): Enhancements on
2367 stacktrace detection. (thanks @gnovak)
2368
2369 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
2370
2371 * jit-lock.el (jit-lock-stealth-chunk-start): Don't widen (bug#13542).
2372 (jit-lock-mode, jit-lock-functions, jit-lock-context-unfontify-pos):
2373 Use defvar-local.
2374 (jit-lock-register): Use setq-local.
2375
2376 2013-01-30 Jay Belanger <jay.p.belanger@gmail.com>
2377
2378 * calc-units.el (math-default-units-table): Remove initial value.
2379 (calc-convert-units): Treat expressions where all the units cancel as
2380 if they didn't have units.
2381
2382 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
2383
2384 * net/tramp.el (tramp-process-connection-type): Fix docstring.
2385 (tramp-completion-reread-directory-timeout): Fix type.
2386 (tramp-connection-min-time-diff): New defcustom.
2387
2388 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
2389
2390 2013-01-30 Glenn Morris <rgm@gnu.org>
2391
2392 * imenu.el (imenu-default-create-index-function):
2393 Put back a version of the infinite loop test removed 2013-01-23.
2394
2395 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
2396
2397 * progmodes/python.el (python-shell-parse-command):
2398 Find python-shell-interpreter with modified environment.
2399
2400 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
2401
2402 * emacs-lisp/cl.el (cl-set-getf): Add compatibility alias.
2403
2404 2013-01-29 Alan Mackenzie <acm@muc.de>
2405
2406 Amend to fontify /regexp/s in actions correctly.
2407 * cc-awk.el (c-awk-harmless-char-re, c-awk-harmless-string*-re):
2408 (c-awk-harmless-string*-here-re): Braces, parens and semicolons
2409 are no longer included.
2410 (c-awk-harmless-line-char-re, c-awk-harmless-line-string*-re):
2411 What used to be these variables without "-line" in the name.
2412 (c-awk-neutral-re): { is no longer neutral. Escaped newlines now are.
2413 (c-awk-non-arith-op-bra-re): Now also matches {.
2414 (c-awk-pre-exp-alphanum-kwd-re): New regexp to match "print",
2415 "return", and "case".
2416 (c-awk-kwd-regexp-sign-re): New, to match "print", etc., followed
2417 by /.
2418 (c-awk-syntax-tablify-/): Check special cases "print /re/", etc.
2419 (c-awk-set-syntax-table-properties): Extend FSM to handle {,},(,),;.
2420
2421 2013-01-29 Michael Albinus <michael.albinus@gmx.de>
2422
2423 * autorevert.el (auto-revert-use-notify):
2424 Use `custom-initialize-default' for initialization. (Bug#13583)
2425
2426 * net/ange-ftp.el (ange-ftp-skip-msgs): Add another message.
2427
2428 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2429 Catch `suppress'. Otherwise, `tramp-run-real-handler' might be called
2430 in `tramp-file-name-handler'.
2431 (tramp-gw-tunnel-method, tramp-gw-socks-method): Declare for
2432 compatibility.
2433 (tramp-compute-multi-hops): Check, whether
2434 `tramp-gw-tunnel-method' and `tramp-gw-socks-method' are non-nil.
2435
2436 2013-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
2437
2438 * hi-lock.el (hi-lock-unface-buffer): Don't assume `face' is a symbol
2439 (bug#13297).
2440
2441 2013-01-27 Dmitry Gutov <dgutov@yandex.ru>
2442
2443 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove some
2444 checks made superfluous by the \_< operator.
2445 * progmodes/ruby-mode.el (ruby-move-to-block): Work with (maybe
2446 temporarily) broken indentation.
2447 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2448 Highlight nested constants, too. \_< broke that.
2449
2450 2013-01-27 Nobuyoshi Nakada <nobu@ruby-lang.org>
2451
2452 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Use "\\_<"
2453 instead of "\\b".
2454
2455 2013-01-27 Michael Albinus <michael.albinus@gmx.de>
2456
2457 * autorevert.el (auto-revert-handler): Notifications which result
2458 from a saved file shall not be taken into account. (Bug#13557)
2459
2460 2013-01-26 Andreas Schwab <schwab@linux-m68k.org>
2461
2462 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Add optional
2463 parameter BAR-NOT-SYMBOL to control syntax of | for font-lock.
2464 (lisp-mode): Pass t for it. (Bug#13556)
2465
2466 2013-01-25 Alan Mackenzie <acm@muc.de>
2467
2468 AWK Mode: Fix indentation bug at top level. Bug #12274.
2469
2470 * progmodes/cc-engine.el (c-guess-basic-syntax): Move CASE 5P to
2471 just before CASE 5D.
2472
2473 2013-01-25 Dmitry Antipov <dmantipov@yandex.ru>
2474
2475 * net/socks.el (socks-nslookup-host): Use string-to-number.
2476
2477 2013-01-25 Michael Albinus <michael.albinus@gmx.de>
2478
2479 * autorevert.el (auto-revert-remote-files)
2480 (auto-revert-notify-exclude-dir-regexp): New defcustoms.
2481 (auto-revert-notify-enabled, auto-revert-use-notify)
2482 (auto-revert-notify-watch-descriptor-hash-list)
2483 (auto-revert-notify-modified-p, auto-revert-notify-event-p)
2484 (auto-revert-notify-event-descriptor)
2485 (auto-revert-notify-event-action)
2486 (auto-revert-notify-event-file-name): Doc fix.
2487 (global-auto-revert-mode): Reorder checks.
2488 (auto-revert-notify-rm-watch): Respect changed values of
2489 `auto-revert-notify-watch-descriptor-hash-list'.
2490 (auto-revert-notify-add-watch): Check for
2491 `auto-revert-notify-exclude-dir-regexp'. Adapt filters for
2492 `inotify-add-watch'. Watch `default-directory' instead of
2493 `buffer-file-name'. `auto-revert-notify-watch-descriptor-hash-list'
2494 has a changed meaning now. (Bug#13540)
2495 (auto-revert-notify-handler): Change implementation wrt events
2496 returning from a directory.
2497 (auto-revert-handler): Reorder implementation for checks of remote
2498 files.
2499 (auto-revert-buffers): Fix parentheses error.
2500
2501 2013-01-25 Fabián Ezequiel Gallina <fgallina@cuca>
2502
2503 * progmodes/python.el: Enhancements to header documentation about
2504 skeletons. (Bug#5716)
2505
2506 * imenu.el (imenu-default-create-index-function): Remove useless
2507 infinite loop check. (Bug#13438)
2508
2509 2013-01-25 Alan Mackenzie <acm@muc.de>
2510
2511 Fix a bug in the state cache mechanism. Refactor this a bit.
2512
2513 * progmodes/cc-engine.el (c-parse-state-get-strategy): Remove the
2514 `cache-pos' element from the return value.
2515 (c-append-lower-brace-pair-to-state-cache): "Narrow" to end of
2516 buffer to enable proper searching from beyond HERE. Amend the
2517 test for detecting the sought brace pair. Amend the value written
2518 to the "brace desert cache" when the brace isn't found.
2519 (c-remove-stale-state-cache): Rename `good-pos' to `start-point',
2520 and several other variables analogously.
2521 (c-remove-stale-state-cache-backwards): Change `cache-pos' from a
2522 parameter to a locally calculated variable.
2523 (c-parse-state-1): Change the calling conventions to the two
2524 defuns involving `cache-pos'.
2525
2526 2013-01-25 Chong Yidong <cyd@gnu.org>
2527
2528 * xml.el (xml-entity-or-char-ref-re): Fix regexp.
2529
2530 2013-01-24 Aaron Ecay <aaronecay@gmail.com> (tiny change)
2531
2532 * paren.el (show-paren-function): Make sure to set 'priority and
2533 'face only if the overlay does exist.
2534
2535 2013-01-24 Michael Albinus <michael.albinus@gmx.de>
2536
2537 * net/tramp.el (tramp-tramp-file-p): Check, whether NAME is unibyte.
2538
2539 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Do not suppress
2540 basic attributes.
2541 (tramp-sh-handle-set-file-acl): Improve error checking.
2542
2543 2013-01-24 Dmitry Antipov <dmantipov@yandex.ru>
2544
2545 * doc-view.el (doc-view-display): Force mode line update until all
2546 document is converted. Suggested by Stefan Monnier (Bug#13164).
2547
2548 2013-01-23 Bastien Guerry <bzg@gnu.org>
2549
2550 * paren.el (show-paren-function): Make sure an overlay exists
2551 before trying to delete it. Also use `pos' as a position only
2552 when it is an integer.
2553
2554 2013-01-23 Dmitry Antipov <dmantipov@yandex.ru>
2555
2556 * play/gametree.el (gametree-break-line-here): Use point-marker.
2557
2558 2013-01-22 Michael Albinus <michael.albinus@gmx.de>
2559
2560 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
2561 Mark descriptive parts with `display' property.
2562
2563 2013-01-21 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2564
2565 * textmodes/ispell.el (ispell-hunspell-dictionary-equivs-alist):
2566 New variable to map standard dict names to hunspell ones.
2567 (ispell-set-spellchecker-params): Make sure specific dict names
2568 are used for standard dicts with hunspell.
2569
2570 2013-01-21 Tassilo Horn <tsdh@gnu.org>
2571
2572 * textmodes/reftex-cite.el (reftex-format-citation): Add format
2573 chars for note (%N) and url (%U).
2574 * textmodes/reftex-vars.el (reftex-cite-format): Document them.
2575
2576 2013-01-21 Juri Linkov <juri@jurta.org>
2577
2578 * frame.el: Bind `f10' in `esc-map' to `toggle-frame-maximized'
2579 in addition to existing separate binding `meta f10' in `global-map'.
2580 (Bug#13484)
2581
2582 2013-01-21 Michael Albinus <michael.albinus@gmx.de>
2583
2584 Improve XEmacs compatibility.
2585
2586 * net/tramp.el (tramp-replace-environment-variables): Make it a defun.
2587
2588 * net/tramp-adb.el (top): Require `time-date'.
2589 (tramp-adb-ls-output-time-less-p): Use `tramp-time-less-p'.
2590 (tramp-adb-handle-copy-file, tramp-adb-handle-rename-file):
2591 Use `tramp-file-name-handler'.
2592 (tramp-adb-maybe-open-connection):
2593 Use `tramp-compat-set-process-query-on-exit-flag'.
2594
2595 * net/tramp-sh.el (tramp-sh-handle-file-acl):
2596 Use `tramp-compat-funcall'.
2597
2598 * net/tramp-smb.el (tramp-smb-handle-file-acl): Use `looking-at' and
2599 `tramp-compat-funcall'.
2600
2601 2013-01-21 Jürgen Hötzel <juergen@archlinux.org>
2602
2603 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Complete
2604 reimplementation using "adb shell command ..." instead of running
2605 remote shell interactively.
2606
2607 2013-01-20 Glenn Morris <rgm@gnu.org>
2608
2609 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
2610 Add native profiler menu entries.
2611
2612 * profiler.el (profiler-running-p): New function.
2613 (profiler-cpu-profile): Use profiler-running-p.
2614 (profiler-report-mode-map): Add some more menu entries.
2615
2616 2013-01-19 Glenn Morris <rgm@gnu.org>
2617
2618 * mail/unrmail.el (unrmail): Do not mangle the mbox From line;
2619 fixes 2012-12-07 change. (Bug#13499)
2620
2621 2013-01-19 Leo Liu <sdl.web@gmail.com>
2622
2623 * dired.el (dired-get-marked-files): Prune erroneous values due to
2624 last change. (Bug#13152)
2625
2626 2013-01-19 Glenn Morris <rgm@gnu.org>
2627
2628 * progmodes/etags.el (tags-table-check-computed-list):
2629 Preserve point in tags buffer. (Bug#13412)
2630
2631 * emacs-lisp/lisp-mode.el (lisp-indent-function): Doc fix.
2632
2633 2013-01-19 Christian Wittern <cwittern@gmail.com> (tiny change)
2634 Chong Yidong <cyd@gnu.org>
2635
2636 * image-mode.el (image-next-file, image-previous-file):
2637 New commands (Bug#8453).
2638 (image-mode-map): Bind them to n and p.
2639 (image-mode--images-in-directory): New helper function.
2640
2641 2013-01-19 Chong Yidong <cyd@gnu.org>
2642
2643 * image-mode.el (image-mode-fit-frame): Add a frame argument.
2644 Suggested by Drew Adams (Bug#7730). Handle window decorations;
2645 save and restore the old window configuration.
2646
2647 2013-01-18 Leo Liu <sdl.web@gmail.com>
2648
2649 * progmodes/js.el: Tweak autoload cookie for alias.
2650
2651 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
2652
2653 * autorevert.el (auto-revert-notify-watch-descriptor): Make it
2654 buffer local, again. This was lost with the fix on 2013-01-12.
2655
2656 2013-01-17 Jürgen Hötzel <juergen@archlinux.org>
2657
2658 * eshell/esh-util.el (eshell-path-env): Make it buffer local, in
2659 order to support several eshell buffers in parallel.
2660
2661 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
2662
2663 * autorevert.el (auto-revert-use-notify): In the :set function, do
2664 not modify `kill-buffer-hook'.
2665 (auto-revert-notify-rm-watch):
2666 Remove `auto-revert-notify-rm-watch' from `kill-buffer-hook'.
2667 (auto-revert-notify-add-watch): Do not call
2668 `auto-revert-notify-rm-watch', but add it to a buffer local
2669 `kill-buffer-hook'.
2670
2671 2013-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
2672
2673 * emacs-lisp/trace.el (trace--read-args): Use a closure and an honest
2674 call to `eval' rather than a backquoted lambda.
2675
2676 2013-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
2677
2678 * emacs-lisp/nadvice.el (advice--tweak): Make it possible for `tweak'
2679 to return an explicit nil.
2680 (advice--remove-function): Change accordingly.
2681
2682 * emacs-lisp/advice.el (ad-preactivate-advice): Adjust the cleanup to
2683 the use of nadvice.el.
2684
2685 * progmodes/which-func.el (which-function): Silence imenu errors
2686 (bug#13433).
2687
2688 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
2689
2690 * progmodes/sql.el (sql-imenu-generic-expression):
2691 (sql-mode-font-lock-object-name): Match schema qualified names.
2692 (sql-connect): Use string keys.
2693 (sql-product-interactive): Wait for interpreter prompt.
2694 (sql-comint-oracle): Set process coding based on NLS_LANG.
2695
2696 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
2697
2698 * progmodes/sql.el (sql-output-to-send): Remove, unused.
2699 (sql-interactive-remove-continuation-prompt):
2700 (sql-send-magic-terminator, sql-interactive-mode): Remove references.
2701
2702 2013-01-14 Leo Liu <sdl.web@gmail.com>
2703
2704 * calendar/calendar.el (calendar-redraw): Sync window-point and point.
2705 (Bug#13420)
2706
2707 2013-01-14 Glenn Morris <rgm@gnu.org>
2708
2709 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2710 Fix interpretation of gnu line.col1-col2 format. (Bug#13335)
2711
2712 2013-01-13 Fabián Ezequiel Gallina <fgallina@cuca>
2713
2714 * progmodes/python.el (python-nav-end-of-statement):
2715 Fix cornercase when handling multiline strings.
2716
2717 2013-01-13 Richard Stallman <rms@gnu.org>
2718
2719 * mail/sendmail.el (mail-position-on-field): Add doc string.
2720
2721 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
2722 Get current message boundaries and pass them to
2723 message-forward-make-body-mime. Minor style changes.
2724
2725 2013-01-13 Eli Zaretskii <eliz@gnu.org>
2726
2727 * cus-start.el (all): Avoid warnings about
2728 scroll-bar-adjust-thumb-portion on platforms where it is not defined.
2729
2730 2013-01-11 Jan Djärv <jan.h.d@swipnet.se>
2731
2732 * cus-start.el (all): Add scroll-bar-adjust-thumb-portion.
2733
2734 2013-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
2735
2736 * jit-lock.el (jit-lock-debug-mode): New minor mode.
2737 (jit-lock--debug-fontifying): New var.
2738 (jit-lock--debug-fontify): New function.
2739 * subr.el (condition-case-unless-debug): Don't prevent catching the
2740 error, just let the debbugger run.
2741 * emacs-lisp/timer.el (timer-event-handler): Don't prevent debugging
2742 timer code and don't drop errors silently.
2743
2744 2013-01-12 Michael Albinus <michael.albinus@gmx.de>
2745
2746 * autorevert.el (auto-revert-notify-watch-descriptor): Give it
2747 `permanent-local' property.
2748 (auto-revert-notify-handler): Use `file-equal-p'.
2749
2750 2013-01-12 Eli Zaretskii <eliz@gnu.org>
2751
2752 * autorevert.el (auto-revert-notify-handler): Fix filtering of
2753 file notification by ACTION. For filtering by file name, compare
2754 only the non-directory part of the file name.
2755
2756 2013-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
2757
2758 * autorevert.el: Use cl-lib instead of cl.
2759
2760 * vc/vc-bzr.el (vc-bzr--sanitize-header): New function (bug#13307).
2761 (vc-bzr-checkin): Use it.
2762 * vc/log-edit.el (log-edit-extract-headers): Don't presume FUNCTION
2763 will preserve match-data.
2764
2765 2013-01-11 Felix H. Dahlke <fhd@ubercode.de>
2766
2767 * progmodes/js.el: Fix multiline declarations's indentation (bug#8576).
2768 (js--declaration-keyword-re): New var.
2769 (js--multi-line-declaration-indentation): New function.
2770 (js--proper-indentation): Use it.
2771
2772 2013-01-11 Aaron S. Hawley <Aaron.Hawley@vtinfo.com>
2773
2774 * calc/calc.el (calc-highlight-selections-with-faces)
2775 (calc-dispatch):
2776 * comint.el (comint-history-isearch-message):
2777 * emacs-lisp/edebug.el (edebug-read, edebug-eval-defun):
2778 * ffap.el (ffap-string-at-point-region, ffap-next)
2779 (ffap-string-at-point, ffap-string-around)
2780 (ffap-copy-string-as-kill, ffap-highlight-overlay)
2781 (ffap-literally):
2782 * font-lock.el (font-lock-keywords-alist)
2783 (font-lock-removed-keywords-alist):
2784 * help-mode.el (help-xref-symbol-regexp):
2785 * info.el (Info-find-emacs-command-nodes):
2786 * international/mule.el (add-to-coding-system-list):
2787 * isearch.el (isearch-message-function, isearch-fail-pos):
2788 * misearch.el (multi-isearch-next-buffer-function):
2789 * newcomment.el (comment-box):
2790 * printing.el (pr-txt-printer-alist, pr-ps-printer-alist)
2791 (pr-setting-database):
2792 * progmodes/cc-fonts.el (c-font-lock-keywords-3)
2793 (c++-font-lock-keywords-3, objc-font-lock-keywords-3)
2794 (java-font-lock-keywords-3, idl-font-lock-keywords-3)
2795 (pike-font-lock-keywords-3):
2796 * progmodes/compile.el (compile):
2797 * progmodes/etags.el (tags-table-files)
2798 (tags-table-files-function, tags-included-tables-function):
2799 * progmodes/gdb-mi.el (gdb, gdb-setup-windows)
2800 (gdb-restore-windows):
2801 * ps-print.el (ps-even-or-odd-pages, ps-spool-buffer-with-faces)
2802 (ps-n-up-filling-database):
2803 * server.el (server-buffer, server-log):
2804 * simple.el (newline, delete-backward-char, delete-forward-char)
2805 (minibuffer-history-isearch-message, kill-line, track-eol)
2806 (temporary-goal-column):
2807 * textmodes/flyspell.el (flyspell-mark-duplications-flag)
2808 (flyspell-default-deplacement-commands):
2809 * textmodes/ispell.el (ispell-accept-output):
2810 * textmodes/sgml-mode.el (html-tag-help):
2811 * vc/compare-w.el (compare-ignore-whitespace)
2812 (compare-ignore-case, compare-windows-dehighlight):
2813 * vc/diff.el (diff):
2814 * whitespace.el (whitespace-point)
2815 (whitespace-font-lock-refontify, whitespace-bob-marker)
2816 (whitespace-eob-marker): Fix ambiguous doc string cross-reference(s).
2817
2818 2013-01-11 Michael Albinus <michael.albinus@gmx.de>
2819
2820 * autorevert.el (top): Require 'cl in order to pacify byte compiler.
2821 (auto-revert-notify-rm-watch): Ignore errors.
2822 (auto-revert-notify-add-watch): Ignore errors. Use '(modify) for
2823 inotify, and '(size last-write-time) for w32notify.
2824 Set buffer-local `auto-revert-use-notify' to nil when adding a file
2825 watch fails - this is a fallback to the file modification check.
2826 (auto-revert-notify-event-p, auto-revert-notify-event-descriptor)
2827 (auto-revert-notify-event-action)
2828 (auto-revert-notify-event-file-name): New defuns.
2829 (auto-revert-notify-handler): Use them. Implement first
2830 plausibility checks.
2831 (auto-revert-handler): Handle also `auto-revert-tail-mode'.
2832
2833 2013-01-11 Julien Danjou <julien@danjou.info>
2834
2835 * color.el (color-rgb-to-hsv): Fix conversion computing in case min and
2836 max are almost equal. Also return the correct value for V which is
2837 already between 0 and 1.
2838
2839 2013-01-11 Dmitry Antipov <dmantipov@yandex.ru>
2840
2841 * emacs-lisp/ert.el (ert-run-test): Use point-max-marker.
2842
2843 2013-01-11 Eli Zaretskii <eliz@gnu.org>
2844
2845 * autorevert.el (auto-revert-notify-rm-watch)
2846 (auto-revert-notify-add-watch): Fix typos in w32notify function
2847 names.
2848
2849 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
2850
2851 * autorevert.el (auto-revert-notify-enabled): Move up.
2852 (auto-revert-use-notify): New defcustom.
2853 (auto-revert-mode, global-auto-revert-mode)
2854 (auto-revert-notify-add-watch, auto-revert-handler)
2855 (auto-revert-buffers): Use `auto-revert-use-notify' instead of
2856 `auto-revert-notify-enabled'.
2857
2858 2013-01-10 Elias Pipping <pipping@exherbo.org>
2859
2860 * files.el (auto-mode-alist): Use doc-view for djvu files (bug#13164).
2861 * doc-view.el (doc-view-document->bitmap):
2862 Use doc-view-single-page-converter-function instead of
2863 single-page-converter arg; adjust callers.
2864
2865 2013-01-10 Feng Li <fengli@gmail.com> (tiny change)
2866
2867 * progmodes/which-func.el (which-function): Understand Semantic's use
2868 of overlays in imenu--index-alist.
2869
2870 2013-01-10 Wolfgang Jenkner <wjenkner@inode.at>
2871
2872 * man.el: Handle different "man -k" behaviors (bug#13160). Use utf-8.
2873 (Man-man-k-use-anchor): New var.
2874 (Man-parse-man-k): New function.
2875 (Man-completion-table): Use it.
2876 (man): Flush the completion cache between uses.
2877
2878 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
2879
2880 * autorevert.el: Add file watch support.
2881 (auto-revert-notify-enabled): New defconst.
2882 (auto-revert-notify-watch-descriptor-hash-list)
2883 (auto-revert-notify-watch-descriptor)
2884 (auto-revert-notify-modified-p): New defvars.
2885 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
2886 (auto-revert-notify-handler): New defuns.
2887 (auto-revert-mode, global-auto-revert-mode): Remove file watches
2888 when mode is disabled.
2889 (auto-revert-handler): Check for `auto-revert-notify-modified-p'.
2890 (auto-revert-buffers): Add file watches for active buffers.
2891
2892 2013-01-10 Dmitry Antipov <dmantipov@yandex.ru>
2893
2894 * cus-start.el (toplevel): Only allow float values for
2895 scroll-up-aggressively and scroll-down-aggressively.
2896 Allow any number for line-spacing.
2897
2898 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
2899
2900 * doc-view.el (doc-view-pdfdraw-program): Allow "pdfdraw" name.
2901 (doc-view-pdf->png-converter-function): Use mupdf if available.
2902 (doc-view-djvu->png-converter-function)
2903 (doc-view-ps->png-converter-function): Remove.
2904 (doc-view--image-file-pattern): Replace doc-view--image-file-extension.
2905 (doc-view-goto-page, doc-view-convert-current-doc, doc-view-display)
2906 (doc-view-already-converted-p): Adjust accordingly.
2907 (doc-view-mode-p): Simplify.
2908 (doc-view-enlarge): Use setq-local.
2909 (doc-view-pdf->png-converter-ghostscript)
2910 (doc-view-djvu->png-converter-ddjvu)
2911 (doc-view-pdf->png-converter-mupdf): Rework to call
2912 doc-view-start-process directly.
2913 (doc-view-pdf/ps->png): Simplify accordingly.
2914 (doc-view-pdf->png-1, doc-view-djvu->png-1): Remove.
2915 (doc-view-document->bitmap): Rename from doc-view-document->png.
2916 (doc-view-convert-current-doc): Merge pdf and djvu cases.
2917 (doc-view-set-slice-from-bounding-box): Fix completion table.
2918 (doc-view-mode): Use add-hook for after-revert-hook.
2919
2920 2013-01-10 Glenn Morris <rgm@gnu.org>
2921
2922 * emacs-lisp/authors.el (authors-ignored-files)
2923 (authors-valid-file-names, authors-renamed-files-alist):
2924 Add some more entries.
2925
2926 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
2927
2928 * image-mode.el (image-mode-winprops): Don't throw away the fallback
2929 `t' pseudo-window entry.
2930
2931 2013-01-10 Alan Mackenzie <acm@muc.de>
2932
2933 Fix bugs in the c-parse-state mechanism. Reuse some markers
2934 instead of continually generating new ones.
2935
2936 * progmodes/cc-engine.el (c-state-old-cpp-beg-marker)
2937 (c-state-old-cpp-end-marker): New variables.
2938 (c-append-lower-brace-pair-to-state-cache): Start a backward
2939 search for "}" definitively outside CPP constructs.
2940 (c-remove-stale-state-cache): Inform the caller of a need to
2941 search back for a brace pair in certain circumstances.
2942 (c-state-maybe-marker): New macro.
2943 (c-parse-state): Reuse markers when appropriate.
2944
2945 2013-01-10 Glenn Morris <rgm@gnu.org>
2946
2947 * simple.el (execute-extended-command): Doc fix.
2948 Bind prefix-arg around read-extended-command, for prompt. (Bug#13395)
2949
2950 2013-01-10 Chong Yidong <cyd@gnu.org>
2951
2952 * faces.el (read-face-name): Doc fix.
2953
2954 2013-01-10 Roland Winkler <winkler@gnu.org>
2955
2956 * emacs-lisp/crm.el: Allow any regexp for separators.
2957 (crm-default-separator): All spaces around the default comma separator.
2958 (crm--completion-command): New macro.
2959 (crm-completion-help, crm-complete, crm-complete-word): Use it.
2960 (crm-complete-and-exit): Handle non-single-char separators.
2961
2962 2013-01-09 Elias Pipping <pipping@lavabit.com>
2963
2964 * doc-view.el: Add support for DjVu (bug#13164).
2965 (doc-view-djvu->png-converter-function): New config var.
2966 (doc-view-single-page-converter-function, doc-view--image-type)
2967 (doc-view--image-file-extension): New vars.
2968 (doc-view-mode): Initialize them.
2969 (doc-view-goto-page): Use them.
2970 (doc-view-mode-p): Add support for ddjvu.
2971 (doc-view-djvu->png-converter-ddjvu, doc-view-djvu->png-1)
2972 (doc-view-set-up-single-converter): New funs.
2973 (doc-view-pdf/ps->png): Extend for djvu.
2974 (doc-view-document->png): Rename from doc-view-pdf->png.
2975 (doc-view-convert-current-doc): Handle djvu.
2976 (doc-view-insert-image, doc-view-display)
2977 (doc-view-already-converted-p): Don't hardcode png.
2978 (doc-view-set-doc-type): Recognize djvu docs.
2979
2980 2013-01-09 Elias Pipping <pipping@lavabit.com>
2981
2982 * doc-view.el: Add support for mupdf converter (bug#13164).
2983 (doc-view-pdfdraw-program, doc-view-pdf->png-converter-function)
2984 (doc-view-ps->png-converter-function): New config vars.
2985 (doc-view-pdf->png-converter-ghostscript)
2986 (doc-view-ps->png-converter-ghostscript)
2987 (doc-view-pdf->png-converter-mupdf): New functions.
2988 (doc-view-pdf/ps->png, doc-view-pdf->png-1): Use them.
2989
2990 2013-01-09 Jürgen Hötzel <juergen@archlinux.org>
2991
2992 * net/tramp.el (tramp-eshell-directory-change): Check remote-path
2993 first in session cache: When `tramp-own-remote-path' is in
2994 `tramp-remote-path', the remote path is only set in the session
2995 cache.
2996
2997 2013-01-09 Glenn Morris <rgm@gnu.org>
2998
2999 * emacs-lisp/trace.el (trace-function-foreground)
3000 (trace-function-background): Doc fix.
3001
3002 2013-01-09 Juri Linkov <juri@jurta.org>
3003
3004 * international/mule-cmds.el (read-char-by-name): Move let-binding
3005 of completion-ignore-case around completing-read to fix regression
3006 exhibited by the test case `C-x 8 RET *acc TAB' and caused by
3007 `string-match-p' using the nil value of `case-fold-search' and
3008 `completion-ignore-case' in `completion-pcm--all-completions'.
3009 (Bug#12615).
3010
3011 2013-01-09 Glenn Morris <rgm@gnu.org>
3012
3013 * progmodes/compile.el (compilation-parse-errors):
3014 Fix typo. (Bug#13369)
3015
3016 2013-01-09 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
3017
3018 * comint.el (comint-send-input): Check size of buffer before
3019 waiting for process output, in case already accepted. (Bug#13290)
3020
3021 2013-01-09 Paul Eggert <eggert@cs.ucla.edu>
3022
3023 Spelling fixes.
3024 * net/tramp-adb.el (tramp-adb-get-toolbox):
3025 Fix misspelling of 'unknown'.
3026
3027 2013-01-08 Juri Linkov <juri@jurta.org>
3028
3029 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
3030 * progmodes/flymake.el (flymake-errline, flymake-warnline):
3031 Use underline style wave on terminals that support it. (Bug#13000)
3032
3033 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
3034
3035 * emacs-lisp/pcase.el (pcase--split-equal): Also take advantage if
3036 the predicate returns nil.
3037
3038 * simple.el: Use lexical-binding.
3039 (primitive-undo): Use pcase.
3040 (minibuffer-history-isearch-push-state): Use a closure.
3041
3042 2013-01-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3043
3044 * simple.el (primitive-undo): Move from undo.c.
3045
3046 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
3047
3048 * vc/pcvs.el (cvs-cleanup-collection): Extend meaning of `rm-handled'.
3049 (cvs-mode-remove-handled): Use it (bug#13380).
3050
3051 * emacs-lisp/nadvice.el (advice--tweak): New function.
3052 (advice--remove-function, advice--subst-main): Use it.
3053
3054 * emacs-lisp/advice.el: Update commentary.
3055
3056 2013-01-08 Michael Albinus <michael.albinus@gmx.de>
3057
3058 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3059 Remove spurious entry.
3060
3061 2013-01-08 Glenn Morris <rgm@gnu.org>
3062
3063 * net/tramp.el (tramp-default-host-alist): Add :version.
3064
3065 2013-01-08 Juri Linkov <juri@jurta.org>
3066
3067 * info.el (Info-read-node-name-2): Don't duplicate suffixes for
3068 single completion. (Bug#12456)
3069 (info--manual-names): Expand node completions into an explicit list
3070 before appending it to another list. Filter out internal buffers
3071 with the leading space in the buffer name. (Bug#10771)
3072
3073 2013-01-08 Juri Linkov <juri@jurta.org>
3074
3075 * info.el (Info-read-node-name-1): Allow empty node name in (FILENAME)
3076 that defaults to the Top node.
3077 (Info-goto-node, Info-read-node-name): Doc fix to mention that
3078 the short format (FILENAME) goes to the Top node.
3079 (Info-build-node-completions): Rename arg `file' to `filename'.
3080 (Bug#13365)
3081
3082 2013-01-07 Bastien Guerry <bzg@gnu.org>
3083
3084 * menu-bar.el (menu-bar-search-documentation-menu):
3085 Use `apropos-user-option' and fix the help message.
3086
3087 2013-01-07 Bastien Guerry <bzg@gnu.org>
3088
3089 * apropos.el (apropos-do-all): Update docstring.
3090 (apropos-user-option-button): New face.
3091 (apropos-user-option): Rename from `apropos-variable' and update
3092 docstring.
3093 (apropos-variable): Rewrite, now show all variables by default.
3094 (apropos-print): Mention "User option" instead of "Variable" when
3095 printing doc for user options. (Bug#13276)
3096
3097 2013-01-07 Jürgen Hötzel <juergen@archlinux.org>
3098
3099 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
3100 Handle filename correctly, when parsing "source -> target" symlink
3101 output.
3102 (tramp-adb-handle-set-file-times): New defun.
3103
3104 2013-01-07 Stefan Monnier <monnier@iro.umontreal.ca>
3105
3106 * emacs-lisp/advice.el (ad-activate-advised-definition): Refresh the
3107 advice list when the interactive-spec of ad-Advice-* changes.
3108
3109 2013-01-07 Katsumi Yamaoka <yamaoka@jpl.org>
3110
3111 * wid-edit.el (widget-default-get): Work for inlined elements.
3112 (Bug#12670)
3113
3114 2013-01-07 Michael Albinus <michael.albinus@gmx.de>
3115
3116 * net/tramp.el (tramp-default-host-alist): New defcustom.
3117 (tramp-find-host): Use it.
3118 (tramp-eshell-directory-change): Move from tramp-sh.el. Add to
3119 `eshell-directory-change-hook'.
3120
3121 * net/tramp-adb.el (top): Add adb specific entry in
3122 `tramp-default-host-alist'.
3123 (tramp-adb-file-name-host): Remove function.
3124 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
3125 Use `tramp-file-name-host' instead of `tramp-adb-file-name-host'.
3126
3127 * net/tramp-sh.el: Move eshell integration code to tramp.el.
3128
3129 2013-01-06 Jürgen Hötzel <juergen@archlinux.org>
3130
3131 * net/tramp-adb.el (tramp-methods): Add `tramp-tmpdir' entry.
3132
3133 2013-01-06 Michael Albinus <michael.albinus@gmx.de>
3134
3135 * net/tramp-adb.el (tramp-adb-ls-toolbox-regexp): The file size can
3136 consist of more than one digit.
3137 (tramp-adb-file-name-handler-alist):
3138 Use `tramp-handle-file-exists-p' consistently.
3139 (tramp-adb-file-name-handler): Don't tweak `tramp-default-host'.
3140 (tramp-adb-handle-file-exists-p): Remove function.
3141 (tramp-adb-file-name-host): New defun.
3142 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
3143 Use it.
3144 (tramp-adb-maybe-open-connection): Set "remote-path" property.
3145
3146 2013-01-06 Chong Yidong <cyd@gnu.org>
3147
3148 * vc/vc.el (vc-next-action): Detect buffer modifications
3149 conflicting with locking VCS operation (Bug#11490).
3150
3151 * vc/vc-hooks.el (vc-after-save): DTRT for locking VCSes.
3152
3153 2013-01-05 Michael Albinus <michael.albinus@gmx.de>
3154
3155 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
3156 (tramp-adb-handle-directory-files-and-attributes): Fix typos.
3157
3158 2013-01-05 Jürgen Hötzel <juergen@archlinux.org>
3159
3160 * net/tramp-adb.el (tramp-adb-handle-file-attributes): More robust
3161 parsing of ls output using regular expression (handle filenames
3162 with spaces). Use virtual device number.
3163 (tramp-do-parse-file-attributes-with-ls): New defun (Code
3164 cleanup).
3165
3166 2013-01-04 Daiki Ueno <ueno@gnu.org>
3167
3168 * epg.el: Silence byte-compiler warnings.
3169 (epg--start): Use delete-char instead of delete-backward-char.
3170 (epg-wait-for-completion): Pass FRAME arg to redraw-frame.
3171
3172 2013-01-04 Daiki Ueno <ueno@gnu.org>
3173
3174 * epg.el (epg--start): Don't call "tty" program on W32 platforms.
3175 Suggested by Eli Zaretskii <eliz@gnu.org>.
3176
3177 2013-01-04 Michael Albinus <michael.albinus@gmx.de>
3178
3179 * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
3180 non-negative integers. Otherwise, the default values are used.
3181 (tramp-convert-file-attributes): Convert uid and gid to integers.
3182
3183 2013-01-04 Glenn Morris <rgm@gnu.org>
3184
3185 * term.el (term-handle-colors-array): Ensure face attributes
3186 are fully specified, not nil. (Bug#13337)
3187
3188 * term.el (term-default-fg-color, term-default-bg-color):
3189 Fix custom type.
3190
3191 * progmodes/etags.el (tags-compression-info-list): Doc fix.
3192 (tag-find-file-of-tag-noselect): Check auto-compression-mode
3193 rather than 'jka-compr being loaded. (Bug#13338)
3194
3195 2013-01-04 Wesley Dawson <whd@lavabit.com> (tiny change)
3196
3197 * icomplete.el (icomplete-completions):
3198 Honor icomplete-prospects-height once more following
3199 2012-11-29 changes. (Bug#13224)
3200
3201 2013-01-04 Stefan Monnier <monnier@iro.umontreal.ca>
3202
3203 * subr.el (internal--called-interactively-p--get-frame): Find aliases
3204 of called-interactively-p as well (bug#13237).
3205
3206 * view.el (view--enable, view--disable): Rename from view-mode-enable
3207 and view-mode-disable and assume it's called from view-mode.
3208 (view-mode-enable, view-mode-disable): Redefine as obsolete
3209 compatibility layer above view-mode.
3210 (view-mode-enter): Call `view-mode'.
3211
3212 * files.el (after-find-file): Call `view-mode'.
3213
3214 * doc-view.el (doc-view-scale-internally): New var.
3215 (doc-view-enlarge, doc-view-insert-image): Obey it.
3216
3217 2013-01-03 Daiki Ueno <ueno@gnu.org>
3218
3219 * epg.el (epg--start): Ignore errors when /dev/fd/0 does not
3220 exist. (Bug#13344)
3221
3222 2013-01-03 Glenn Morris <rgm@gnu.org>
3223
3224 * mail/rmail.el (rmail-set-header-1): Ignore case.
3225 Handle multi-line headers. (Bug#13330)
3226
3227 * progmodes/make-mode.el (makefile-fill-paragraph): Add doc.
3228 Handle paragraph starting at beginning of buffer.
3229
3230 * subr.el (eval-after-load): Don't purecopy the form, so that it
3231 can be nconc'd later on; reverts 2009-11-11 change. (Bug#13331)
3232
3233 * emacs-lisp/byte-run.el (defun): Place cl declarations
3234 after any interactive spec. (Bug#13265)
3235
3236 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
3237
3238 * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
3239 defun. Don't check for DECL if DOCSTRING isn't a string.
3240 (defun): Likewise.
3241
3242 2013-01-02 Glenn Morris <rgm@gnu.org>
3243
3244 * eshell/em-cmpl.el (eshell-pcomplete):
3245 More thoroughly imitate pcomplete. (Bug#13293)
3246
3247 * files.el (parse-colon-path): Doc fix. (Bug#12351)
3248 Return nil for empty path elements. (Bug#13296)
3249
3250 2013-01-02 Fabián Ezequiel Gallina <fgallina@cuca>
3251
3252 * progmodes/python.el (python-nav-end-of-statement): Rewrite in
3253 order to improve efficiency (Based on Daniel Colascione's
3254 <dancol@dancol.org> patch). (Bug#13182)
3255
3256 2013-01-02 Glenn Morris <rgm@gnu.org>
3257
3258 * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
3259
3260 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
3261
3262 * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
3263 neither DOCSTRING nor DECL was given. (Bug#13316)
3264
3265 2013-01-02 Michael Albinus <michael.albinus@gmx.de>
3266
3267 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Add argument to
3268 `error' call.
3269 (tramp-do-copy-or-rename-file): Ignore errors when calling
3270 `set-file-extended-attributes'.
3271
3272 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
3273 Add handler for `file-acl'.
3274 (tramp-smb-handle-file-acl): New defun.
3275
3276 2013-01-02 Jay Belanger <jay.p.belanger@gmail.com>
3277
3278 * calc/README: Mention ISO 8601 week-numbering dates.
3279
3280 2013-01-01 Martin Rudalics <rudalics@gmx.at>
3281
3282 * view.el (view-mode-enable): New argument run-view-mode-hook.
3283 Run view-mode-hook only when it's non-nil (Bug#13315).
3284 (view-mode-enter): Call view-mode-enable with run-view-mode-hook
3285 argument t.
3286
3287 2012-12-31 Jürgen Hötzel <juergen@archlinux.org>
3288
3289 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Handle errors
3290 (No device connected, invalid device name). (Bug #13299)
3291
3292 2012-12-31 Martin Rudalics <rudalics@gmx.at>
3293
3294 * window.el (window-resizable--p): Rename to window-resizable-p.
3295 (window-resize-no-error): New function.
3296
3297 * mail/rmail.el (rmail-maybe-display-summary): Restore behavior
3298 broken in fix from 2012-12-28.
3299
3300 2012-12-31 Stefan Monnier <monnier@iro.umontreal.ca>
3301
3302 * subr.el (special-form-p): Don't signal errors on undef aliases.
3303
3304 2012-12-31 Jay Belanger <jay.p.belanger@gmail.com>
3305
3306 * calc/calc-forms.el (math-parse-date): Try using
3307 `math-parse-iso-date' when it looks like it might be needed.
3308 Allow times of 24:00.
3309 (math-parse-date-validate, math-parse-iso-date-validate): Allow times
3310 of 24:00.
3311
3312 2012-12-30 Glenn Morris <rgm@gnu.org>
3313
3314 * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
3315 Remove unnecessary/buggy autoloads (missing interactive). (Bug#13294)
3316 (rmail-summary-displayed, rmail-summary): Declare.
3317 (mairix-rmail-display): Just require rmail.
3318
3319 2012-12-30 Chong Yidong <cyd@gnu.org>
3320
3321 * emacs-lisp/package.el (package-untar-buffer): Improve integrity
3322 check for the tarball contents.
3323
3324 2012-12-30 Matt Fidler <matt.fidler@alcon.com> (tiny change)
3325
3326 * emacs-lisp/package.el (package-untar-buffer): Handle problematic
3327 tarfile content listings (Bug#13136).
3328
3329 2012-12-30 Mark Lillibridge <mark.lillibridge@hp.com>
3330
3331 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
3332 Insert the undecoded text of the message being forwarded. (Bug#9521)
3333
3334 2012-12-30 Michael Albinus <michael.albinus@gmx.de>
3335
3336 * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
3337 integers, if they are real numbers. (Bug#13282)
3338
3339 * net/tramp-sh.el (tramp-sh-handle-set-file-selinux-context):
3340 Return `t' on success.
3341
3342 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
3343 Add handler for `set-file-selinux-context'.
3344
3345 2012-12-29 Michael Albinus <michael.albinus@gmx.de>
3346
3347 * net/tramp-sh.el (tramp-sh-handle-file-acl): Suppress basic attributes.
3348 (tramp-sh-handle-set-file-acl): Return `t' on success.
3349
3350 2012-12-29 Eli Zaretskii <eliz@gnu.org>
3351
3352 * files.el (backup-buffer-copy, basic-save-buffer-2):
3353 If set-file-extended-attributes fails, fall back on set-file-modes
3354 instead of signaling an error. (Bug#13298)
3355 (basic-save-buffer): Likewise.
3356
3357 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
3358
3359 * progmodes/python.el: Support other commands triggering
3360 python-indent-line so indentation cycling continues to work.
3361 (python-indent-trigger-commands): New defcustom.
3362 (python-indent-line): Use it.
3363
3364 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
3365
3366 * progmodes/python.el (python-shell-send-region): Add blank lines
3367 for non sent code so backtraces remain correct.
3368
3369 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
3370
3371 * progmodes/python.el: Remove cl dependency.
3372 (python-syntax-count-quotes): Replace incf call.
3373 (python-fill-string): Replace setf call.
3374
3375 2012-12-29 Damien Cassou <damien.cassou@gmail.com>
3376
3377 * info.el (info-other-window): New arg, for consistency with info.
3378
3379 2012-12-28 Martin Rudalics <rudalics@gmx.at>
3380
3381 * mail/rmail.el (rmail-maybe-display-summary):
3382 Rewrite (Bug#13066).
3383
3384 2012-12-28 Andreas Schwab <schwab@linux-m68k.org>
3385
3386 * epg.el (epg--start): Modify process-environment locally.
3387
3388 2012-12-28 Daiki Ueno <ueno@gnu.org>
3389
3390 * epg.el: Support pinentry-curses.
3391 Suggested by Werner Koch in
3392 <http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00755.html>.
3393 (epg-agent-file, epg-agent-mtime): New variable.
3394 (epg--start): Record the modified time of gpg-agent socket file,
3395 to restore Emacs frame after pinentry-curses termination.
3396 (epg-wait-for-completion): Restore Emacs frame here.
3397
3398 2012-12-27 Juri Linkov <juri@jurta.org>
3399
3400 * info.el (Info-file-completions): New variable.
3401 (Info-read-node-name-1): Complete node names in the Info file
3402 when a file name is given. Call `Info-build-node-completions'
3403 with a file name.
3404 (Info-build-node-completions): Add new arg `file'. When it is
3405 non-nil, visit it in a temporary buffer and cache its completions in
3406 `Info-current-file-completions'. Move most of the function body to
3407 `Info-build-node-completions-1'.
3408 (Info-build-node-completions-1): New function with the body from
3409 `Info-build-node-completions'. (Bug#12456)
3410
3411 2012-12-27 Juri Linkov <juri@jurta.org>
3412
3413 * frame.el (frame-maximization-style): Remove user option.
3414 (cycle-frame-maximized): Remove function.
3415 (toggle-frame-maximized): Rewrite and bind to M-<f10>.
3416 (toggle-frame-fullscreen): New command bound to <f11> instead of
3417 `toggle-frame-maximized'.
3418 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html
3419
3420 2012-12-27 Michael Albinus <michael.albinus@gmx.de>
3421
3422 * net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.
3423
3424 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3425 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3426 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
3427 for `file-accessible-directory-p'. (Bug#13275)
3428
3429 2012-12-27 Sam Steingold <sds@gnu.org>
3430
3431 * progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
3432 continuations, see <http://stackoverflow.com/questions/3582436>.
3433
3434 2012-12-27 Dmitry Gutov <dgutov@yandex.ru>
3435
3436 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
3437 "module" and "def" to have indentation before them.
3438 Regression from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).
3439
3440 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
3441
3442 2012-12-27 Alan Mackenzie <acm@muc.de>
3443
3444 Speed up fontification where there's large brace blocks.
3445 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
3446 to a call of c-beginning-of-decl-1.
3447
3448 2012-12-27 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
3449
3450 * comint.el (comint-adjust-window-point): New function.
3451 (comint-postoutput-scroll-to-bottom):
3452 Call comint-adjust-window-point (Bug#13248).
3453
3454 2012-12-26 Dmitry Gutov <dgutov@yandex.ru>
3455
3456 * progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
3457 Rakefile regexp.
3458 (auto-mode-alist): Associate .gemspec files with ruby-mode
3459 (https://bugs.ruby-lang.org/issues/5453).
3460
3461 2012-12-26 Jürgen Hötzel <juergen@archlinux.org>
3462
3463 * net/tramp-adb.el (tramp-adb-get-ls-command): New defun.
3464 Suppress coloring, if possible (required for BusyBox based systems like
3465 CyanogenMod).
3466 (tramp-adb-handle-file-attributes)
3467 (tramp-adb-handle-insert-directory)
3468 (tramp-adb-handle-file-name-all-completions): Use it.
3469 (tramp-adb-get-toolbox): New defun. Check for remote shell
3470 implementation (BusyBox or Toolbox).
3471
3472 2012-12-24 Constantin Kulikov <zxnotdead@gmail.com> (tiny change)
3473
3474 * startup.el (initial-buffer-choice): Allow function as value
3475 (Bug#13251).
3476 (command-line-1): Handle case where initial-buffer-choice
3477 specifies a function.
3478 * server.el (server-execute): Handle case where
3479 initial-buffer-choice specifies a function.
3480
3481 2012-12-24 Lars Ingebrigtsen <larsi@gnus.org>
3482
3483 * mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
3484 its own function.
3485 (smtpmail-try-auth-methods): Forget the user name/password if the
3486 login is unsuccessful (bug#12424).
3487
3488 2012-12-22 Michael Albinus <michael.albinus@gmx.de>
3489
3490 * notifications.el (notifications-notify): Protect body with
3491 `with-demoted-errors'.
3492
3493 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3494 Check properties of remote device. Restart connection, if there is a
3495 change.
3496
3497 2012-12-21 Chong Yidong <cyd@gnu.org>
3498
3499 * sort.el (sort-subr): Doc fix (Bug#13056).
3500
3501 2012-12-21 Bastien Guerry <bzg@gnu.org>
3502
3503 * progmodes/etags.el (tags-search): Fix typo. Bug #13232.
3504
3505 2012-12-21 Michael Albinus <michael.albinus@gmx.de>
3506
3507 * simple.el (process-file): Overwrite stderr file, if exists.
3508
3509 2012-12-21 Daiki Ueno <ueno@gnu.org>
3510
3511 * epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
3512 (epg-error): Set `error-message' property.
3513
3514 2012-12-21 Chong Yidong <cyd@gnu.org>
3515
3516 * international/mule-cmds.el (read-char-by-name): Signal an error
3517 if the user does not supply a valid character (Bug#13177).
3518
3519 * simple.el (transpose-subr-1): Preserve marker positions by
3520 changing the insertion sequence (Bug#13122).
3521
3522 2012-12-21 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
3523
3524 * simple.el (kill-region): Deactivate mark even for empty regions
3525 (Bug#13169).
3526
3527 2012-12-21 Chong Yidong <cyd@gnu.org>
3528
3529 * help-fns.el (describe-variable): Make sure we get the right
3530 buffer name (Bug#13105). Suggested by Kelly Dean.
3531
3532 2012-12-20 Michael R. Mauger <mmaug@yahoo.com>
3533
3534 * comint.el (comint-redirect-previous-input-string): New variable.
3535 (comint-redirect-setup, comint-redirect-cleanup)
3536 (comint-redirect-preoutput-filter): Use it. Fixes redirection bug.
3537 (comint-redirect-preoutput-filter): Fix verbose message.
3538
3539 2012-12-20 Michael Albinus <michael.albinus@gmx.de>
3540
3541 * progmodes/grep.el (rgrep): Escape command line. Sometimes, it
3542 is too long for Tramp. See discussion in
3543 <http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.
3544
3545 * progmodes/compile.el (compilation-start): Remove line escape
3546 template.
3547
3548 2012-12-20 Dmitry Antipov <dmantipov@yandex.ru>
3549
3550 * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
3551 Adjust comment.
3552
3553 2012-12-19 Jonas Bernoulli <jonas@bernoul.li>
3554
3555 * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
3556 following non-comment text (bug#13207).
3557 (lm-header-multiline): Continuation lines need to be indented more than
3558 the first line.
3559 (lm-homepage): New function.
3560 (lm-with-file): Don't be confused if narrowing is in effect.
3561
3562 2012-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
3563
3564 * vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
3565 very beginning of a hunk (e.g. killing the first line).
3566
3567 2012-12-19 Michael Albinus <michael.albinus@gmx.de>
3568
3569 * net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
3570 and text properties from returned ACL string.
3571 (tramp-sh-handle-set-file-acl): Do not use additional parentheses
3572 for "setfacl" command.
3573
3574 2012-12-18 Michael Albinus <michael.albinus@gmx.de>
3575
3576 * net/tramp.el (tramp-error-with-buffer): Give a hint to use
3577 `tramp-cleanup-this-connection', when the process has died.
3578 (Bug#13151)
3579
3580 2012-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
3581
3582 * icomplete.el (icomplete-completions): Also use … to truncate prefix.
3583
3584 2012-12-17 Kevin Ryde <user42@zip.com.au>
3585
3586 * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
3587
3588 2012-12-17 Michael Albinus <michael.albinus@gmx.de>
3589
3590 Add support for preserving ACL entries of files.
3591
3592 * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
3593 `set-file-acl' handlers.
3594
3595 * net/tramp-adb.el (tramp-adb-handle-copy-file):
3596 Handle PRESERVE-EXTENDED-ATTRIBUTES.
3597
3598 * net/tramp-compat.el (tramp-compat-copy-file):
3599 Handle PRESERVE-EXTENDED-ATTRIBUTES.
3600
3601 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3602 Add `file-acl' and `set-file-acl' handlers.
3603 (tramp-gvfs-handle-copy-file):
3604 Handle PRESERVE-EXTENDED-ATTRIBUTES.
3605 (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
3606 New defuns.
3607
3608 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3609 Add `file-acl' and `set-file-acl' handlers.
3610 (tramp-remote-acl-p, tramp-sh-handle-file-acl)
3611 (tramp-sh-handle-set-file-acl): New defuns.
3612 (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
3613 Handle PRESERVE-EXTENDED-ATTRIBUTES.
3614
3615 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
3616 Add `file-acl' and `set-file-acl' handlers.
3617 (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
3618
3619 2012-12-17 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
3620
3621 * help-macro.el (make-help-screen): Instead of switch-to-buffer
3622 use pop-to-buffer with NORECORD argument t. As buffer name, use
3623 *Metahelp* with a leading space (Bug#13190).
3624
3625 2012-12-16 Romain Francoise <romain@orebokech.com>
3626
3627 * files.el (file-extended-attributes)
3628 (set-file-extended-attributes): New functions.
3629 (backup-buffer): Use them to handle both SELinux context and ACL
3630 entries.
3631 (backup-buffer-copy): Work with an alist of extended attributes,
3632 rather than an SELinux context.
3633 (basic-save-buffer-2): Ditto.
3634
3635 2012-12-16 Timo Myyrä <timo.myyra@gmail.com>
3636
3637 * battery.el (battery-bsd-apm): New function.
3638
3639 2012-12-16 Jay Belanger <jay.p.belanger@gmail.com>
3640
3641 * calc/calc.el (calc-standard-date-formats): Adjust one of the
3642 standard date formats.
3643
3644 2012-12-15 Juri Linkov <juri@jurta.org>
3645
3646 * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
3647 `isearch-insert-char-by-name'.
3648 (with-isearch-suspended): New defmacro with body mostly from
3649 `isearch-edit-string' except the part that sets
3650 `isearch-new-string' and `isearch-new-message'.
3651 (isearch-edit-string): Use new macro `with-isearch-suspended' with
3652 body that sets `isearch-new-string' and `isearch-new-message'.
3653 (isearch-insert-char-by-name): New command.
3654 * international/mule-cmds.el (read-char-by-name): Let-bind
3655 `enable-recursive-minibuffers' to t.
3656 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
3657
3658 2012-12-15 Juri Linkov <juri@jurta.org>
3659
3660 * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
3661 (Bug#13175)
3662
3663 2012-12-15 Christopher Schmidt <christopher@ch.ristopher.com>
3664
3665 * dired-x.el (dired-guess-shell-command): Put colon at the end of
3666 the prompt. (Bug#13045)
3667
3668 2012-12-14 Glenn Morris <rgm@gnu.org>
3669
3670 * emacs-lisp/macroexp.el (macroexp--warn-and-return):
3671 Try to include filename in non-bytecomp warning. (Bug#13132)
3672
3673 2012-12-14 Paul Eggert <eggert@cs.ucla.edu>
3674
3675 Fix permissions bugs with setgid directories etc. (Bug#13125)
3676 * files.el (backup-buffer): Don't rely on 9th output of
3677 file-attributes, as it's now a placeholder. Instead, use the new
3678 optional arg of file-ownership-preserved-p.
3679 (file-ownership-preserved-p): New optional arg GROUP.
3680 Fix mishandling of setuid directories that would cause this
3681 function to return t when it should have returned nil.
3682 Document what happens if the file does not exist, and when
3683 it's not known whether the ownership will be preserved.
3684 * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
3685 Likewise.
3686 (tramp-get-local-gid): Use group-gid for integer, as that's
3687 faster and more reliable.
3688
3689 2012-12-14 Julien Danjou <julien@danjou.info>
3690
3691 * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
3692 Update keywords list, data type and PL/pgSQL.
3693
3694 2012-12-14 Dave Abrahams <dave@boostpro.com>
3695
3696 * vc/ediff-util.el (ediff-buffer-type): New function.
3697 (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
3698 rather than taking it as as argument.
3699 (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
3700
3701 2012-12-14 Ryan Crum <ryan.crum@eleostech.com>
3702
3703 * json.el: Add pretty-print option (bug#12634).
3704 (json-encoding-separator, json-encoding-default-indentation)
3705 (json--encoding-current-indentation, json-encoding-pretty-print)
3706 (json-encoding-lisp-style-closings): New vars.
3707 (json--with-indentation): New macro.
3708 (json-encode-hash-table, json-encode-alist, json-encode-plist)
3709 (json-encode-array): Use it to obey json-encoding-pretty-print.
3710 (json-pretty-print-buffer, json-pretty-print): New commands.
3711
3712 2012-12-14 Dmitry Gutov <dgutov@yandex.ru>
3713
3714 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
3715 Extract `ruby-syntax-propertize-expansions'.
3716 (ruby-syntax-propertize-expansions): Only change syntax on
3717 certain string delimiters, to punctuation. This way the common
3718 functions like forward-word and thing-at-point still work.
3719 (ruby-match-expression-expansion): Improve readability.
3720 (ruby-block-contains-point): New function.
3721 (ruby-add-log-current-method): Handle several edge cases.
3722
3723 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
3724
3725 * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
3726 unload-feature finishes even when aborting an ongoing edebug session.
3727 Also, do not worry about edebug-mode, unload-feature takes care of it.
3728
3729 2012-12-13 Andreas Schwab <schwab@suse.de>
3730
3731 * net/tls.el (tls-program): Update customize type.
3732
3733 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
3734
3735 * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
3736 (edebug-setup-hook, cl-read-load-hooks): Use it.
3737 (edebug-unload-function): New function. (Bug#13163)
3738
3739 2012-12-13 Michael Albinus <michael.albinus@gmx.de>
3740
3741 * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
3742 Otherwise, there could be errors in autoloading. (Bug#13151)
3743
3744 2012-12-13 Jürgen Hötzel <juergen@archlinux.org>
3745
3746 * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
3747 sequences.
3748
3749 2012-12-13 Alan Mackenzie <acm@muc.de>
3750
3751 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
3752 * progmodes/cc-engine.el (c-backward-comments): Add code to work
3753 around `forward-comment' not recognizing ^M as whitespace.
3754
3755 2012-12-13 Fabián Ezequiel Gallina <fgallina@cuca>
3756
3757 * progmodes/python.el (python-skeleton-class)
3758 (python-skeleton-def): Do not add space after defun name.
3759
3760 2012-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
3761
3762 * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
3763 (cl--symbol-function): Remove (now that funbound is like nil).
3764
3765 2012-12-12 Glenn Morris <rgm@gnu.org>
3766
3767 * button.el (button--area-button-p): Fix typo.
3768
3769 2012-12-12 Sam Steingold <sds@gnu.org>
3770
3771 * frame.el (frame-maximization-style): New user option.
3772 (toggle-frame-maximized): Toggle frame maximization according to
3773 `frame-maximization-style', bound to <f11>.
3774 (cycle-frame-maximized): Cycle between all maximization styles and
3775 non-maximized frame, bound to shift-<f11>.
3776
3777 2012-12-12 David Cadé <codename68@gmail.com>
3778
3779 * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
3780
3781 2012-12-12 Jonas Bernoulli <jonas@bernoul.li>
3782
3783 * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
3784 (eieio-override-prin1): Don't quote kewords and booleans.
3785 (object-write) <eieio-default-superclass>: Don't put closing parens
3786 on new line, avoid needless empty lines, align values that are objects
3787 with the slot keyword (instead of beginning on the same line).
3788 (eieio-list-prin1): Align value with slot keyword; increase
3789 eieio-print-depth before printing members of the list.
3790
3791 2012-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
3792
3793 * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
3794 a display text-property.
3795 (report-emacs-bug-hook): Don't bother deleting it any more.
3796
3797 * hilit-chg.el (highlight-save-buffer-state): Delete.
3798 Use with-silent-modifications instead.
3799 (hilit-chg-set-face-on-change): Only fixup the text that's modified.
3800
3801 * button.el: Handle buttons in display text-properties.
3802 (button--area-button-p, button--area-button-string):
3803 Use (STRING . STRING-POS) representation instead of just STRING.
3804
3805 2012-12-11 Eli Zaretskii <eliz@gnu.org>
3806
3807 * makefile.w32-in (compile4-SH): Fix a typo that caused term
3808 subdirectory be skipped.
3809
3810 2012-12-11 Glenn Morris <rgm@gnu.org>
3811
3812 * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
3813
3814 * progmodes/f90.el (f90-line-continued, f90-indent-region):
3815 Treat preprocessor lines embedded in continuations like comments.
3816 (f90-indent-line): Special-case preprocessor lines. (Bug#13138)
3817
3818 2012-12-11 Jay Belanger <jay.p.belanger@gmail.com>
3819
3820 * calc/calc.el (calc-standard-date-formats): Add more date
3821 formats.
3822 * calc/calc-forms.el (math-parse-iso-date): New function.
3823 (math-parse-date): Use `math-parse-iso-date' when appropriate.
3824 (math-parse-iso-date-validate): Add extra error checking.
3825 (calc-date-notation): Add ability to access new date formats.
3826
3827 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
3828
3829 * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
3830 font-lock as well as when there's no text-property.
3831
3832 2012-12-10 Jambunathan K <kjambunathan@gmail.com>
3833
3834 * hi-lock.el: Refine the choice of default face.
3835 (hi-lock-keyword->face): New function. Use it wherever we used
3836 cadadadr instead.
3837 (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
3838 (hi-lock--last-face): Remove var.
3839 (hi-lock--unused-faces): New var to replace it.
3840 (hi-lock-read-face-name): Use/maintain it.
3841 (hi-lock-unface-buffer): Maintain it. Fix error for the C-u case.
3842 (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
3843 if it has another face.
3844
3845 2012-12-10 Eli Zaretskii <eliz@gnu.org>
3846
3847 * subr.el (w32notify-handle-event): New function.
3848 (inotify-handle-event): Doc fix.
3849
3850 2012-12-10 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3851
3852 * subr.el (inotify-event-p, inotify-handle-event): New functions.
3853
3854 2012-12-10 Dani Moncayo <dmoncayo@gmail.com>
3855
3856 * simple.el (just-one-space): Doc fix.
3857
3858 2012-12-10 Eli Zaretskii <eliz@gnu.org>
3859
3860 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
3861
3862 2012-12-10 Le Wang <l26wang@gmail.com>
3863
3864 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
3865 narrowed buffer (bug#12361).
3866
3867 2012-12-10 Juanma Barranquero <lekktu@gmail.com>
3868
3869 * vc/vc-hooks.el (vc-state): Doc fix.
3870
3871 2012-12-10 Glenn Morris <rgm@gnu.org>
3872
3873 * mail/rmail.el (rmail-maybe-display-summary):
3874 Preserve buffer, in case select-window changes it. (Bug#13066)
3875
3876 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
3877
3878 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
3879 cl-load-hook where they belong.
3880
3881 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
3882
3883 * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
3884
3885 2012-12-09 Eli Zaretskii <eliz@gnu.org>
3886
3887 Parallelize byte compilation on MS-Windows.
3888 * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
3889 (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
3890 (WINS_BASIC): Define as concatenation of the above.
3891 (compile): Subdivide into 4 separate and independent jobs that can
3892 be run in parallel.
3893 (compile0-CMD, compile0-SH): New targets for compiling
3894 COMPILE_FIRST files, which are prerequisites for the rest of the
3895 byte-compilation.
3896 (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
3897 New targets for parallel compilation with cmd.exe.
3898 (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
3899 compiling under a Unixy shell.
3900
3901 2012-12-09 Chong Yidong <cyd@gnu.org>
3902
3903 * simple.el (set-mark-default-inactive): Delete this
3904 accidentally-introduced option.
3905 (set-mark-command, exchange-point-and-mark): Remove calls.
3906
3907 2012-12-09 Glenn Morris <rgm@gnu.org>
3908
3909 * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
3910 Respect a defcustom's :set function, if appropriate. (Bug#109)
3911 (eval-defun): Doc fix.
3912
3913 2012-12-08 Juri Linkov <juri@jurta.org>
3914
3915 * info.el (Info-copy-current-node-name, Info-breadcrumbs)
3916 (Info-fontify-node, Info-bookmark-make-record): Remove the
3917 file extension from Info-current-file (Bug#13016).
3918
3919 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
3920
3921 * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
3922 point, still provide some default.
3923 (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
3924 names, since we don't use it right now. Actually return the list.
3925 (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
3926
3927 2012-12-07 Chong Yidong <cyd@gnu.org>
3928
3929 * novice.el (disabled-command-function): Remove a spurious help
3930 xref (Bug#13043). Suggested by Kelly Dean.
3931
3932 * subr.el (text-clone-maintain): Fix clone overlay deletion when a
3933 syntax is specified (Bug#13025).
3934
3935 * info.el (Info-set-mode-line): Remove the file extension from
3936 Info-current-file if there is one (Bug#13016).
3937
3938 2012-12-07 Glenn Morris <rgm@gnu.org>
3939
3940 * mail/rmail.el (rmail-mime-decoded): New permanent local.
3941 (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
3942 * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
3943 and rmail-mime-decoded. (Bug#9841)
3944
3945 * mail/unrmail.el (unrmail-mbox-format): New option. (Bug#6574)
3946 (batch-unrmail, unrmail): Doc fixes.
3947 (unrmail): Respect unrmail-mbox-format.
3948 * mail/rmail.el (rmail-mbox-format): New option.
3949 (rmail-show-message-1): Respect rmail-mbox-format.
3950
3951 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
3952
3953 * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
3954
3955 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3956
3957 Further cleanup of the "cl-" namespace. Fit CL in 80 columns.
3958 * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
3959 (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
3960 (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
3961 (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
3962 (cl-progv): Don't rely on dynamic scoping to find the body.
3963 * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
3964 (cl--proclaims-deferred): Rename from the "cl-" prefix.
3965 (cl-declaim): Use backquotes.
3966 * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
3967 Use "cl--" prefix for the object's tag.
3968
3969 * ses.el: Use advice-add/remove.
3970 (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
3971 (copy-region-as-kill, yank): Use advice-add.
3972 (ses-unload-function): Use advice-remove.
3973
3974 2012-12-06 Jonas Bernoulli <jonas@bernoul.li>
3975
3976 * button.el: Make them work in header-lines (bug#12817).
3977 (button-map): Add bindings for header-line and mode-line use.
3978 (button-get, button-put, button-label): `button' may now be a string.
3979 (button-activate): Don't make it a defsubst.
3980 (button--area-button-p, button--area-button-string): New functions.
3981 (make-text-button): Fix the return value when `beg' was a string.
3982 (push-button): Handle the mode-line case.
3983
3984 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3985
3986 * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
3987 (sql-signum): Remove. Use `cl-signum' instead.
3988 (sql-read-passwd): Remove; use read-passwd instread.
3989 (sql-get-login-ext): Use read-string.
3990 (sql-get-login): Use dolist and pcase.
3991 (sql--completion-table): Rename from sql-try-completion.
3992 Use complete-with-action.
3993 (sql-mode): Don't change abbrev-all-caps globally.
3994 (sql-connect): Don't rely on dynamic scoping for `new-name'.
3995 (sql-postgres-completion-object): Initialize vars in their `let'.
3996 (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
3997 (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
3998 (sql-comint-interbase): Use a single append, without setq.
3999 (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
4000
4001 * hi-lock.el: Rework the default face and the serialize regexp code.
4002 (hi-lock--auto-select-face-defaults): Remove.
4003 (hi-lock-string-serialize-serial): Remove.
4004 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
4005 make weak.
4006 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
4007 equal string.
4008 (hi-lock-set-pattern): Adjust accordingly.
4009 (hi-lock--regexps-at-point): Simplify accordingly.
4010 (hi-lock--auto-select-face-defaults): Remove.
4011 (hi-lock--last-face): New var to replace it.
4012 (hi-lock-read-face-name): Rewrite (bug#11095).
4013 (hi-lock-unface-buffer): Arrange for the face to be the next default.
4014
4015 2012-12-06 Michael Albinus <michael.albinus@gmx.de>
4016
4017 * net/tramp.el (tramp-replace-environment-variables):
4018 Hide compiler warning.
4019 (tramp-file-name-for-operation): Remove `executable-find',
4020 `start-process', `call-process' and `call-process-region'.
4021
4022 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
4023
4024 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
4025 compatibility.
4026
4027 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
4028
4029 2012-12-06 Chong Yidong <cyd@gnu.org>
4030
4031 * ffap.el (ffap-replace-file-component): Fix typo.
4032
4033 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
4034
4035 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
4036 fix open-paren-like token test (bug#12785).
4037
4038 2012-12-06 Glenn Morris <rgm@gnu.org>
4039
4040 * mail/rmailsum.el (rmail-new-summary): Tweak for
4041 rmail-maybe-display-summary changing buffer. (Bug#13066)
4042
4043 2012-12-06 Juri Linkov <juri@jurta.org>
4044
4045 * info.el (Info-fontify-node): Don't hide the last newline.
4046 (Bug#12272)
4047
4048 2012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
4049
4050 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
4051 so as to enable message-read-from-minibuffer to expand mail aliases.
4052
4053 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
4054
4055 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
4056 the `intangible' property.
4057 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
4058
4059 2012-12-05 Deniz Dogan <deniz@dogan.se>
4060
4061 * net/rcirc.el (rcirc-urls): Update documentation.
4062 (rcirc-condition-filter): New function.
4063 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
4064 and exclude consecutive duplicate URLs (Bug#6082).
4065
4066 2012-12-05 Michael Albinus <michael.albinus@gmx.de>
4067
4068 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
4069 Check return code of copy command.
4070
4071 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
4072 Use group `tramp'. Add version.
4073
4074 2012-12-05 Chong Yidong <cyd@gnu.org>
4075
4076 * ffap.el (ffap-url-regexp): Don't require matching at front of
4077 string (Bug#4952).
4078 (ffap-url-p): If only a substring matches, return that.
4079 (ffap-url-at-point): Use the return value of ffap-url-p.
4080 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
4081 (find-file-at-point, dired-at-point, dired-at-point-prompter)
4082 (ffap-guess-file-name-at-point): Likewise.
4083 (ffap-replace-file-component): Fix typo.
4084
4085 * info.el (info-display-manual): Add existing Info buffers, whose
4086 files may not be in Info-directory-list, to the completion.
4087 (info--manual-names): New helper function.
4088
4089 2012-12-05 Glenn Morris <rgm@gnu.org>
4090
4091 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
4092 New functions, for detecting and resolving conflicts. (Bug#10709)
4093
4094 2012-12-04 Jambunathan K <kjambunathan@gmail.com>
4095
4096 * hi-lock.el (hi-lock-auto-select-face): New user variable.
4097 (hi-lock-auto-select-face-defaults): New buffer local variable.
4098 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
4099 (hi-lock-unface-buffer): Prompt user with useful defaults.
4100 With prefix arg, unhighlight all hi-lock patterns in buffer.
4101
4102 2012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
4103
4104 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
4105
4106 2012-12-04 Michael Albinus <michael.albinus@gmx.de>
4107
4108 * Makefile.in (TRAMP_SRC):
4109 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
4110
4111 2012-12-04 Juergen Hoetzel <juergen@archlinux.org>
4112
4113 * net/tramp-adb.el: New package.
4114
4115 2012-12-04 Chong Yidong <cyd@gnu.org>
4116
4117 * terminal.el: Move to obsolete/.
4118
4119 * longlines.el: Move to obsolete/.
4120
4121 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
4122 Remove code referring to longlines mode.
4123
4124 2012-12-03 Juri Linkov <juri@jurta.org>
4125
4126 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
4127
4128 2012-12-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4129
4130 * textmodes/ispell.el (ispell-init-process)
4131 (ispell-start-process, ispell-internal-change-dictionary):
4132 Make sure personal dictionary name is expanded after initial
4133 `default-directory' value. Use expanded strings for
4134 keep/restart checks and for value (Bug#13019).
4135
4136 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
4137
4138 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
4139
4140 2012-12-03 Leo Liu <sdl.web@gmail.com>
4141
4142 * files.el (dir-locals-read-from-file): Check file non-empty
4143 before reading. (Bug#13038)
4144
4145 2012-12-03 Glenn Morris <rgm@gnu.org>
4146
4147 * jka-cmpr-hook.el (jka-compr-get-compression-info):
4148 Remove any version extension before checking filename. (Bug#13006)
4149 (jka-compr-compression-info-list): Belated :version bump.
4150
4151 2012-12-03 Chong Yidong <cyd@gnu.org>
4152
4153 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
4154
4155 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
4156 (buffer-menu): Doc fix (Bug#12294).
4157
4158 2012-12-03 Roland Winkler <winkler@gnu.org>
4159
4160 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
4161 of diary-show-all-entries in the diary buffer (Bug#12994).
4162
4163 2012-12-03 Michael Albinus <michael.albinus@gmx.de>
4164
4165 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
4166 "<STDIN>". This is binary safe.
4167
4168 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
4169
4170 * calc/calc-forms.el (math-absolute-from-iso-dt)
4171 (math-date-to-iso-dt, math-parse-iso-date-validate)
4172 (math-iso-dt-to-date): New functions.
4173 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
4174 (math-fd-isoweekday): New variables.
4175 (calc-date-notation, math-parse-standard-date, math-format-date)
4176 (math-format-date-part): Add support for more formatting codes.
4177
4178 2012-12-02 Dmitry Gutov <dgutov@yandex.ru>
4179
4180 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
4181 current buffer's file name when called interactively (Bug#12488).
4182
4183 2012-12-02 Juri Linkov <juri@jurta.org>
4184
4185 * info.el (info-display-manual): Don't clobber an existing Info
4186 buffer (Bug#10770). Add completion (Bug#10771).
4187
4188 2012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
4189
4190 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
4191 before using it for comparison (Bug#5297).
4192
4193 2012-12-01 Jari Aalto <jari.aalto@cante.net>
4194
4195 * textmodes/css-mode.el (css-current-defun-name): New function.
4196 (css-mode): Use it.
4197
4198 * textmodes/sgml-mode.el (html-current-defun-name): New function.
4199 (html-mode): Use it.
4200
4201 2012-12-01 Chong Yidong <cyd@gnu.org>
4202
4203 Modularize add-log-current-defun (Bug#2224).
4204 Suggested by Jari Aalto.
4205
4206 * vc/add-log.el (add-log-current-defun-function): Doc fix.
4207 (add-log-current-defun): Move mode-specific code to other files.
4208 (add-log-lisp-like-modes, add-log-c-like-modes)
4209 (add-log-tex-like-modes): Variables deleted.
4210
4211 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
4212 (lisp-mode-variables): Use it.
4213
4214 * progmodes/cc-mode.el (c-common-init):
4215 * progmodes/cperl-mode.el (cperl-mode): Set a value for
4216 add-log-current-defun-function.
4217
4218 * progmodes/m4-mode.el (m4-current-defun-name): New function.
4219 (m4-mode): Use it.
4220
4221 * progmodes/perl-mode.el (perl-current-defun-name): New.
4222 (perl-mode): Use it.
4223
4224 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
4225 Use lisp-current-defun-name.
4226
4227 * textmodes/tex-mode.el (tex-current-defun-name): New.
4228 (tex-common-initialization): Use it.
4229
4230 * textmodes/texinfo.el (texinfo-current-defun-name): New.
4231 (texinfo-mode): Use it.
4232
4233 2012-12-01 Chong Yidong <cyd@gnu.org>
4234
4235 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
4236 * progmodes/autoconf.el (autoconf-mode):
4237 * progmodes/js.el (js-mode):
4238 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
4239 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
4240 * progmodes/perl-mode.el (perl-mode):
4241 * progmodes/sh-script.el (sh-mode, sh-set-shell):
4242 * textmodes/css-mode.el (css-mode):
4243 * textmodes/sgml-mode.el (html-mode, sgml-mode)
4244 (sgml-tags-invisible, sgml-guess-indent):
4245 * textmodes/tex-mode.el (tex-common-initialization)
4246 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
4247 (doctex-mode, plain-tex-mode, latex-mode):
4248 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
4249
4250 2012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
4251
4252 * vc/vc-hg.el (vc-hg-next-revision):
4253 Ensure use of default "tip" output format. (Bug#6968)
4254
4255 2012-12-01 Kim F. Storm <storm@cua.dk>
4256
4257 * startup.el (fancy-startup-tail): Add a clickable link
4258 (Bug#2176).
4259
4260 2012-12-01 Chong Yidong <cyd@gnu.org>
4261
4262 * startup.el (fancy-startup-tail): Improve the message about
4263 auto-save files (Bug#2176).
4264
4265 * files.el (recover-session): Improve the descriptive message, and
4266 use substitute-command-keys.
4267
4268 2012-12-01 Glenn Morris <rgm@gnu.org>
4269
4270 * ido.el (ido-file-internal):
4271 Handle other-window, other-frame for dired. (Bug#13036)
4272
4273 2012-11-30 Glenn Morris <rgm@gnu.org>
4274
4275 * icomplete.el (icomplete-separator): Fix :version.
4276
4277 2012-11-30 Chong Yidong <cyd@gnu.org>
4278
4279 * shell.el (shell): For C-u M-x shell, use an inactive shell
4280 buffer as the default (Bug#1975).
4281 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
4282 (shell-mode): Use them to reapply ansi colorization if Shell mode
4283 is re-enabled.
4284
4285 2012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
4286
4287 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
4288
4289 2012-11-30 Samuel Bronson <naesten@gmail.com>
4290
4291 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
4292 flag to xargs, for compatibility with BSD xargs (Bug#11703).
4293
4294 2012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
4295
4296 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
4297 by move-to-column (Bug#3234).
4298
4299 2012-11-30 Chong Yidong <cyd@gnu.org>
4300
4301 * longlines.el (longlines-wrap-line, longlines-encode-region):
4302 Preserve text properties (Bug#1425).
4303
4304 2012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
4305
4306 * vc/vc.el (vc-register): Allow registering a file which is
4307 already registered with a different backend (Bug#10589).
4308
4309 2012-11-29 Jambunathan K <kjambunathan@gmail.com>
4310 Stefan Monnier <monnier@iro.umontreal.ca>
4311
4312 * icomplete.el: Change separator; add ido-style commands.
4313 (icomplete-show-key-bindings): Remove custom var.
4314 (icomplete-get-keys): Remove function.
4315 (icomplete-forward-completions, icomplete-backward-completions):
4316 New commands.
4317 (icomplete-minibuffer-map): New var.
4318 (icomplete-minibuffer-setup): Use it.
4319 (icomplete-exhibit): Don't delay if the list of completions is known.
4320 (icomplete-separator): New custom.
4321 (icomplete-completions): Use it.
4322 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
4323 (minibuffer-force-complete-and-exit): New command.
4324 (minibuffer--complete-and-exit): New function extracted from
4325 minibuffer-complete-and-exit.
4326 (minibuffer-complete-and-exit): Use it.
4327
4328 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
4329 error message when the file doesn't exist (bug#12974).
4330
4331 2012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
4332
4333 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
4334
4335 2012-11-29 Glenn Morris <rgm@gnu.org>
4336
4337 * files.el (hack-dir-local-variables): Warn if try to set
4338 coding via dir-locals, since it doesn't work. (Bug#7169)
4339
4340 Add desktop support for restoring vc-dir buffers. (Bug#10606)
4341 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
4342 Set buffer-local value of desktop-save-buffer.
4343 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
4344 New functions.
4345 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
4346 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
4347
4348 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
4349 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
4350 Doc fix.
4351 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
4352 Doc fixes.
4353
4354 2012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
4355
4356 * calc/calc-forms.el (calc-date-notation): Fix regexp
4357 used to find time codes. Fix symbol for seconds.
4358
4359 2012-11-27 Glenn Morris <rgm@gnu.org>
4360
4361 * emacs-lisp/derived.el (derived-mode-make-docstring):
4362 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
4363
4364 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
4365
4366 * textmodes/table.el (table-insert): Don't use `symbol-name' on
4367 lexically scoped variables (bug#13005).
4368
4369 2012-11-27 Glenn Morris <rgm@gnu.org>
4370
4371 * vc/vc-hooks.el (vc-mistrust-permissions):
4372 Default to t, to avoid data-loss. (Bug#11490)
4373
4374 2012-11-27 Fabián Ezequiel Gallina <fgallina@cuca>
4375
4376 * progmodes/python.el (python-indent-guess-indent-offset):
4377 If indentation is guessed make python-indent-offset buffer-local.
4378
4379 Fix Imenu regression.
4380 * progmodes/python.el (python-nav-beginning-of-defun):
4381 Fix forward movement when statement(s) separates point from defun.
4382 (python-imenu-prev-index-position): New function.
4383
4384 2012-11-27 Eli Zaretskii <eliz@gnu.org>
4385
4386 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
4387
4388 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
4389 Don't set buffer-file-type. Return nil. (Bug#12989)
4390
4391 2012-11-27 Glenn Morris <rgm@gnu.org>
4392
4393 * hippie-exp.el (hippie-expand-try-functions-list):
4394 Re-autoload it. (Bug#12982)
4395
4396 2012-11-27 Eli Zaretskii <eliz@gnu.org>
4397
4398 * descr-text.el (describe-char-padded-string):
4399 Call internal-char-font only on GUI frames. (Bug#11964)
4400
4401 2012-11-27 Andreas Schwab <schwab@linux-m68k.org>
4402
4403 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
4404 and obsoletion message.
4405
4406 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
4407
4408 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
4409 the constructs to keep outside of the `cl-block' (bug#12977).
4410
4411 2012-11-27 Chong Yidong <cyd@gnu.org>
4412
4413 * mouse.el (mouse-drag-line): Even if the line is not draggable,
4414 keep reading until we get the up-event anyway, in order to process
4415 the up-event for mouse-1-click-follows-link (Bug#12971).
4416
4417 2012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
4418
4419 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
4420 base function is not yet defined (bug#12965).
4421 (ad-activate-advised-definition): Use ad-compile-function.
4422 (ad-activate): Use cond.
4423
4424 2012-11-25 Leo Liu <sdl.web@gmail.com>
4425
4426 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
4427 (Bug#12979)
4428
4429 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
4430
4431 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
4432 reftex-section-info-function in order to be compatible with
4433 Texinfo integration.
4434
4435 * textmodes/reftex.el (reftex-section-pre-regexp)
4436 (reftex-section-post-regexp, reftex-section-info-function):
4437 New variable.
4438 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
4439 reftex-section-post-regexp, and reftex-section-info-function in order
4440 to be compatible with Texinfo integration.
4441
4442 * textmodes/reftex-toc.el (reftex-toc-promote-action):
4443 use reftex-section-pre-regexp variable in order to be compatible with
4444 Texinfo integration.
4445
4446 2012-11-25 Chong Yidong <cyd@gnu.org>
4447
4448 * faces.el: Make face-spec-set more analogous to setq.
4449 (face-spec-set): Change the third arg to specify whether this
4450 function is being called via defface, customize, or a third party.
4451 Set the appropriate symbol properties. Clear the override spec if
4452 setting via Custom. Initialize face if necessary. (Bug#4988)
4453 (face-spec-recalc): Allow theme faces to completely replace the
4454 defface spec, in the same way as custom faces (Bug#8454).
4455
4456 * cus-face.el (custom-declare-face): Move face initialization to
4457 face-spec-set.
4458 (custom-theme-set-faces): Don't initialize the face name here, as
4459 that is now done in face-spec-set.
4460
4461 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
4462 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
4463 Simplify by using the new arg to face-spec-set.
4464
4465 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
4466 reset face-override-spec too, and use custom-declare-face.
4467
4468 2012-11-24 Jan Djärv <jan.h.d@swipnet.se>
4469
4470 * term/ns-win.el (ns-initialize-window-system): Move creation of
4471 fontsets here (Bug#11964).
4472
4473 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
4474
4475 * ses.el (ses-rename-cell): Correct bug on mode-line update after
4476 cell renaming.
4477
4478 2012-11-24 Chong Yidong <cyd@gnu.org>
4479
4480 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
4481 obsolete.
4482
4483 * custom.el (custom-theme-set-variables): Use a topological sort
4484 for ordering by custom dependencies (Bug#12952).
4485 (custom--sort-vars, custom--sort-vars-1): New functions.
4486
4487 2012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
4488
4489 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
4490 lexical-binding (bug#12938).
4491
4492 2012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
4493
4494 * image-mode.el (image-transform-check-size): Use assertions only
4495 for images of type imagemagick.
4496
4497 Otherwise no error, image-transform-fit-to-{width,height} is
4498 silently ignored, as before. Doc fix.
4499
4500 2012-11-24 Chong Yidong <cyd@gnu.org>
4501
4502 * faces.el (color-defined-p): Doc fix (Bug#12853).
4503
4504 2012-11-24 Juri Linkov <juri@jurta.org>
4505
4506 * dired.el (dired-mark): Add optional arg `interactive'.
4507 Check for `use-region-p' if `interactive' is non-nil.
4508 (dired-unmark, dired-flag-file-deletion): Add optional arg
4509 `interactive'. Call `dired-mark' with the arg `interactive'.
4510 (Bug#10624)
4511
4512 * wdired.el: Revert 2012-10-17 change partly and replace it with
4513 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
4514 (wdired-finish-edit): Add marks for new file names to
4515 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
4516 after `revert-buffer'.
4517 (wdired-do-renames): Remove calls to `dired-remove-file',
4518 `dired-add-file', `dired-add-entry'. (Bug#11795)
4519
4520 2012-11-24 Alan Mackenzie <acm@muc.de>
4521
4522 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
4523
4524 Fix bugs in the state cache. Enhance a debugging mechanism.
4525 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
4526 "brace at column zero" strategy for C++.
4527 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
4528 (c-parse-state-point): New variable.
4529 (c-record-parse-state-state): Record old parse state with
4530 `copy-tree'. Record previous value of point.
4531 (c-debug-parse-state-double-cons): New debugging function.
4532 (c-debug-parse-state): Call the above new function.
4533 (c-toggle-parse-state-debug): Output a confirmatory message.
4534
4535 * progmodes/cc-mode.el (c-before-change, c-after-change):
4536 Call c-invalidate-state-cache from `c-before-change' instead of
4537 `c-after-change'.
4538
4539 2012-11-23 Chong Yidong <cyd@gnu.org>
4540
4541 * find-cmd.el (find-constituents): Add executable, ipath,
4542 readable, samefile, writable, daystart, regextype (Bug#12856).
4543
4544 2012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
4545
4546 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
4547
4548 2012-11-22 Paul Eggert <eggert@cs.ucla.edu>
4549
4550 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
4551 definition. This fixes a bootstrap failure.
4552 (calc-gregorian-switch): In menu, put dates before regions.
4553 This is easier to follow, lines up better in the menu, and lets us
4554 coalesce regions that switch at the same time. Give country
4555 names, not "Vatican", as that's better for non-expert users.
4556 Use names that are stable between the date of switch and now, e.g.,
4557 Bohemia and Moravia (which existed then and now) and not
4558 Czechoslovakia (which didn't exist then and doesn't exist now).
4559 What is now the U.S. mostly did not switch at the same time as
4560 Britain, so omit the U.S. Correct spelling of "Britain".
4561 Catholic Switzerland was too much of a mess, so omit it.
4562
4563 2012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
4564
4565 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
4566 after the variable is changed.
4567
4568 2012-11-21 Daniel Colascione <dancol@dancol.org>
4569
4570 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
4571 in SQL declarations for font-lock.
4572 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
4573
4574 2012-11-21 Glenn Morris <rgm@gnu.org>
4575
4576 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
4577 (face-italic-p): Add optional argument "inherit".
4578
4579 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
4580 Remove -p suffix from names, for consistency with other set-face-*.
4581 (set-face-inverse-video): Fix interactive spec.
4582 * play/gamegrid.el (gamegrid-make-mono-tty-face):
4583 * textmodes/table.el (table--update-cell-face):
4584 Use set-face-inverse-video rather than now obsolete alias.
4585
4586 2012-11-21 Eli Zaretskii <eliz@gnu.org>
4587
4588 * simple.el (line-move): Don't call line-move-partial if
4589 scroll-conservatively is in effect. (Bug#12927)
4590
4591 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4592
4593 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
4594 Fallback on completion-at-point rather than
4595 pcomplete-expand-and-complete, and only if pcomplete actually failed.
4596 (eshell-cmpl-initialize): Setup completion-at-point.
4597
4598 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
4599
4600 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
4601
4602 2012-11-21 Michael Albinus <michael.albinus@gmx.de>
4603
4604 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
4605 are remote, check out-of-band property for both.
4606
4607 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4608
4609 * window.el (switch-to-buffer): Re-add the warning that was lost in the
4610 code rewrite.
4611
4612 2012-11-21 Paul Eggert <eggert@cs.ucla.edu>
4613
4614 More minor time fixes.
4615 * calendar/time-date.el: Commentary fix.
4616 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
4617 too much other code depends on (0 0) time stamps.
4618 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
4619 Add a couple of FIXME comments.
4620
4621 Minor cleanup for times as lists of four integers.
4622 * files.el (dir-locals-directory-cache):
4623 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
4624 Doc fixes.
4625 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
4626 * ps-bdf.el (bdf-file-newer-than-time):
4627 Process four-integers time stamps, not two. Doc fixes.
4628
4629 2012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
4630
4631 * uniquify.el (uniquify-managed): Use defvar-local.
4632 (rename-buffer, create-file-buffer): Advise with advice-add.
4633 (uniquify-unload-function): Unadvise accordingly.
4634
4635 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
4636 (trace-buffer): Don't purecopy.
4637 (trace-entry-message, trace-exit-message): Add `context' arg.
4638 (trace--timer): New var.
4639 (trace-make-advice): Adjust for use in nadvice.
4640 Add `context' argument. Delay `display-buffer' via a timer.
4641 (trace-function-internal): Use advice-add.
4642 (trace--read-args): New function.
4643 (trace-function-foreground, trace-function-background): Use it.
4644 (trace-function): Rename to trace-function-foreground and redefine as
4645 an alias to that new name.
4646 (untrace-function, untrace-all): Adjust to the use of nadvice.
4647
4648 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
4649
4650 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
4651
4652 * subr.el (called-interactively-p-functions): New var.
4653 (internal--called-interactively-p--get-frame): New macro.
4654 (called-interactively-p, interactive-p): Rewrite in Lisp.
4655 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
4656 (called-interactively-p-functions): Use it.
4657 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
4658 (called-interactively-p-functions): Use it.
4659 * allout.el (allout-called-interactively-p): Don't assume
4660 called-interactively-p is a subr.
4661
4662 2012-11-20 Glenn Morris <rgm@gnu.org>
4663
4664 * profiler.el (profiler-report-mode-map): Add a menu.
4665 No need to bind `q' because we derive from special-mode.
4666 (profiler-report-find-entry): Handle calls from the menu-bar.
4667
4668 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
4669
4670 * emacs-lisp/byte-run.el (defun-declarations-alist):
4671 Allow a compiler-macro to be a lambda expression.
4672
4673 * progmodes/python.el: Use cl-lib. Move var declarations outside of
4674 eval-when-compile.
4675 (python-syntax-context): Add compiler-macro.
4676 (python-font-lock-keywords): Simplify with De Morgan.
4677
4678 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
4679
4680 * files.el (load-file): Require match in minibuffer selection, as was
4681 the case in Emacs-20 before we changed the spec to allow .elc files
4682 (bug#12935).
4683
4684 * json.el: Don't require cl since we don't use it.
4685 * color.el: Don't require cl.
4686 (color-complement): `caddr' -> `nth 2'.
4687
4688 * calendar/time-date.el (time-to-seconds): De-obsolete.
4689
4690 2012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
4691
4692 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
4693 year numbers.
4694 (math-date-to-julian-dt): Adjust the initial approximation for the
4695 year to deal with the new definition of the DATE.
4696
4697 2012-11-19 Daniel Colascione <dancol@dancol.org>
4698
4699 * term/w32-win.el (cygwin-convert-path-from-windows):
4700 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
4701
4702 2012-11-18 Chong Yidong <cyd@gnu.org>
4703
4704 * filecache.el (file-cache--read-list): New function.
4705 (file-cache-add-directory-list, file-cache-add-file-list)
4706 (file-cache-delete-file-list, file-cache-delete-directory-list):
4707 Use it to read a list of files or directories (Bug#12846).
4708 (file-cache-add-file, file-cache-add-directory)
4709 (file-cache-delete-file-list, file-cache-delete-file-regexp)
4710 (file-cache-delete-directory): Print an message.
4711
4712 2012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
4713
4714 * calc/calc-forms.el (math-date-to-dt): Use integer date when
4715 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
4716
4717 2012-11-18 Glenn Morris <rgm@gnu.org>
4718
4719 * image.el (insert-image, insert-sliced-image): Doc fix.
4720
4721 2012-11-18 Chong Yidong <cyd@gnu.org>
4722
4723 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
4724 (Bug#12810).
4725
4726 2012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
4727
4728 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
4729 response when the target file is in a subdirectory (Bug#12757).
4730
4731 2012-11-18 Chong Yidong <cyd@gnu.org>
4732
4733 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
4734
4735 2012-11-18 Glenn Morris <rgm@gnu.org>
4736
4737 * emacs-lisp/cl-lib.el (face-underline-p):
4738 Use set-face-underline rather than the alias set-face-underline-p.
4739
4740 * window.el (with-temp-buffer-window): Doc fix.
4741 * subr.el (with-output-to-temp-buffer):
4742 Add doc xref to with-temp-buffer-window.
4743
4744 2012-11-18 Juanma Barranquero <lekktu@gmail.com>
4745
4746 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
4747 * calc/calc.el (math-format-date-cache): Declare.
4748
4749 2012-11-17 Paul Eggert <eggert@cs.ucla.edu>
4750
4751 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
4752 It also uses January 1, 1 AD as its day number 1.
4753 * calc/calc-forms.el (math-julian-date-beginning)
4754 (math-julian-date-beginning-int): Implement this.
4755
4756 2012-11-17 Juanma Barranquero <lekktu@gmail.com>
4757
4758 * descr-text.el (quail-find-key):
4759 * dired.el (desktop-file-name):
4760 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
4761 * generic-x.el (comint-mode, comint-exec):
4762 * image-dired.el (widget-forward):
4763 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
4764 (speedbar-change-expand-button-char)
4765 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
4766 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
4767 * printing.el (easy-menu-add-item, easy-menu-remove-item)
4768 (widget-field-action, widget-value-set):
4769 * speedbar.el (imenu--make-index-alist):
4770 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
4771 (ring-length, ring-insert):
4772 * vcursor.el (compare-windows-skip-whitespace):
4773 * woman.el (dired-get-filename):
4774 Declare functions.
4775
4776 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
4777
4778 2012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
4779
4780 * calc/calc.el (calc-gregorian-switch): New variable.
4781
4782 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
4783 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
4784 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
4785 (math-leap-year-p): Add option to distinguish between Julian
4786 and Gregorian calendars.
4787 (math-day-number): Use `math-day-in-year' to do the computations.
4788 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
4789 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
4790 to do the computations.
4791 (math-date-to-dt): Use `math-date-to-julian-dt' and
4792 `math-date-to-gregorian-dt' to do the computations.
4793 (calcFunc-weekday, math-format-date-part): Use the new version of
4794 the DATE to determine the weekday.
4795 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
4796 when necessary.
4797
4798 2012-11-17 Eli Zaretskii <eliz@gnu.org>
4799
4800 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
4801 Cygwin; otherwise use 'file:'. (Bug#12914)
4802 (cygwin-convert-path-from-windows): Declare, to avoid
4803 byte-compiler warnings.
4804
4805 2012-11-17 Andreas Politz <politza@fh-trier.de>
4806
4807 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
4808 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
4809 prefix and negative numeric prefix args (Bug#12795).
4810
4811 2012-11-17 Stephen Berman <stephen.berman@gmx.net>
4812
4813 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
4814 Don't signal an error with a score that is too low to add to the
4815 list of top scores. (Bug#12779)
4816
4817 2012-11-17 Chong Yidong <cyd@gnu.org>
4818
4819 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
4820
4821 * filecache.el (file-cache-add-file): Handle relative file name in
4822 the argument (Bug#12694).
4823
4824 2012-11-16 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
4825
4826 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
4827
4828 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
4829
4830 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
4831
4832 * emacs-lisp/cl-lib.el: Set more meaningful version number.
4833
4834 2012-11-16 Martin Rudalics <rudalics@gmx.at>
4835
4836 * window.el (enlarge-window, shrink-window): Don't mention return
4837 value in doc-string (Bug#12896).
4838 (window--display-buffer): Don't resize frames - it won't work
4839 with all window managers and defeat pop-up-frame-alist.
4840 (display-buffer-alist): In doc-string explain that CONDITION can
4841 be a function and which arguments are passed to it (Bug#12854).
4842 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
4843 expressions (Bug#12854).
4844 (display-buffer): Pass ACTION argument to
4845 display-buffer-assq-regexp.
4846
4847 2012-11-16 Glenn Morris <rgm@gnu.org>
4848
4849 * window.el (fit-frame-to-buffer-bottom-margin)
4850 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
4851
4852 * faces.el (face-underline-p): Use face-attribute-specified-or.
4853
4854 2012-11-16 Juanma Barranquero <lekktu@gmail.com>
4855
4856 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
4857
4858 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
4859
4860 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
4861
4862 2012-11-16 Glenn Morris <rgm@gnu.org>
4863
4864 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
4865 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
4866
4867 * faces.el (face-underline-p): Doc fix. Handle :underline being
4868 things other than `t' (a string, a list).
4869 (face-inverse-video-p): Doc fix.
4870 (set-face-underline): Rename it back from set-face-underline-p.
4871 Doc fix. Allow interactive input of values other than t.
4872 (read-face-attribute): Apply formatting to :underline,
4873 since like :box and :stipple it can take list values.
4874
4875 * term.el (ansi-term): Don't let C-x escape-char binding
4876 clobber the more standard C-c binding. (Bug#12842)
4877
4878 * subr.el (set-temporary-overlay-map): Doc fix.
4879
4880 2012-11-16 Martin Rudalics <rudalics@gmx.at>
4881
4882 * window.el (record-window-buffer)
4883 (display-buffer-record-window): When copying the markers to
4884 window-point preserve window-point-insertion-type. (Bug#12588)
4885
4886 2012-11-16 Glenn Morris <rgm@gnu.org>
4887
4888 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
4889 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
4890 Use new names for hooks rather than obsolete aliases.
4891
4892 2012-11-15 Daniel Colascione <dancol@dancol.org>
4893
4894 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
4895 prefix instead of "file:" so that when FILE-NAME begins with "//",
4896 as it does when the target file is on a network share, url-handler
4897 isn't confused.
4898
4899 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
4900
4901 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
4902 a preactivated advice from an old advice.el; they're not compatible!
4903
4904 2012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
4905
4906 * emacs-lisp/nadvice.el (advice--make-interactive-form):
4907 Fix string-spec case.
4908
4909 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
4910
4911 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
4912
4913 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
4914 (advice--buffer-local-function-sample): New var.
4915 (advice--set-buffer-local, advice--buffer-local): New functions.
4916 (add-function, remove-function): Use them.
4917
4918 2012-11-15 Drew Adams <drew.adams@oracle.com>
4919
4920 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
4921
4922 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
4923
4924 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
4925 potential binding of print-gensym to t, and prettify (back)quotes in
4926 case they appear in args's default values (bug#12884).
4927
4928 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4929
4930 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
4931 (advice-eval-interactive-spec): New function.
4932 (advice--make-interactive-form): Support around advice (bug#12844).
4933
4934 2012-11-14 Dmitry Gutov <dgutov@yandex.ru>
4935
4936 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
4937 more strict. Add docstring.
4938 (ruby-expression-expansion-re): Extract from
4939 `ruby-match-expression-expansion'.
4940 (ruby-syntax-propertize-function): After everything else, search
4941 for expansions in string literals, mark their insides as
4942 whitespace syntax and save match data for font-lock.
4943 (ruby-font-lock-keywords): Use the 2nd group from expression
4944 expansion matches.
4945 (ruby-match-expression-expansion): Use the match data saved to the
4946 text property in ruby-syntax-propertize-function.
4947
4948 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4949
4950 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
4951 (bug#12879).
4952
4953 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
4954
4955 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
4956 start/end keyword a bit harder. Works with different values of N.
4957 Add more comments.
4958 (ruby-end-of-block): Update accordingly.
4959
4960 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
4961
4962 * woman.el (woman-file-name): Don't mess with unread-command-events
4963 (bug#12861).
4964
4965 * emacs-lisp/advice.el: Layer on top of nadvice.el.
4966 Remove out of date self-require hack.
4967 (ad-do-advised-functions): Use simple `dolist'.
4968 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
4969 (ad-advice-definition): Redefine as functions.
4970 (ad-advice-classes): Move before first use.
4971 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
4972 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
4973 (ad--defalias-fset): Remove functions.
4974 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
4975 (ad-get-orig-definition): Rewrite.
4976 (ad-make-advised-definition-docstring): Change base docstring.
4977 (ad-real-orig-definition): Rewrite.
4978 (ad-map-arglists): Change name of called function.
4979 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
4980 (ad-make-advised-definition): Simplify.
4981 (ad-assemble-advised-definition): Tweak for new calling context.
4982 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
4983 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
4984 function and call ad-activate if needed.
4985 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
4986 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
4987 (ad-compile-function): Compile ad-Advice-*.
4988 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
4989 (ad-start-advice, ad-stop-advice): Remove.
4990
4991 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
4992
4993 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
4994 period before class method names, not after. Remove handling of
4995 one impossible case. Add comments.
4996
4997 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
4998
4999 * emacs-lisp/advice.el: Remove support for freezing.
5000 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
5001 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
5002 Remove support for `freeze'.
5003
5004 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
5005 override the default.
5006 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
5007 cl--dotimes/dolist.
5008 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
5009 `cl' is loaded.
5010
5011 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
5012 from add-advice.
5013 (advice--strip-macro): New function.
5014 (advice--defalias-fset): Use them to handle macros.
5015 (advice-add): Use them.
5016 (advice-member-p): Correctly handle macros.
5017
5018 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
5019
5020 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5021 Never font-lock the beginning of singleton class as heredoc.
5022
5023 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
5024
5025 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
5026
5027 2012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
5028
5029 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
5030 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
5031 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
5032
5033 2012-11-13 Fabián Ezequiel Gallina <fgallina@cuca>
5034
5035 Fix end-of-defun misbehavior.
5036 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
5037 python-beginning-of-defun-function. Handle nested defuns
5038 correctly.
5039 (python-nav-end-of-defun): Rename from
5040 python-end-of-defun-function. Ensure forward movement.
5041 (python-info-current-defun): Reimplement to work as intended
5042 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
5043 parent defuns as soon as possible.
5044
5045 2012-11-13 Glenn Morris <rgm@gnu.org>
5046
5047 * progmodes/flymake.el (flymake-error-bitmap)
5048 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
5049 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
5050
5051 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
5052
5053 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
5054 backward, always stop at indentation. Reverts the change from
5055 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
5056
5057 2012-11-13 Glenn Morris <rgm@gnu.org>
5058
5059 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
5060 Add ibuffer-filter-by-derived-mode.
5061
5062 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
5063 the same name shadowing each other.
5064
5065 * window.el (with-temp-buffer-window): Doc tweak.
5066
5067 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
5068
5069 * help.el (temp-buffer-max-height):
5070 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
5071 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
5072
5073 2012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
5074
5075 * emacs-lisp/nadvice.el: New package.
5076 * subr.el (special-form-p): New function.
5077 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
5078 (elp-all-instrumented-list): Remove var.
5079 (elp-not-profilable): Remove elp-wrapper.
5080 (elp-profilable-p): Use autoloadp and special-form-p.
5081 (elp--advice-name): New const.
5082 (elp-instrument-function): Use advice-add.
5083 (elp--instrumented-p): New predicate.
5084 (elp-restore-function): Use advice-remove.
5085 (elp-restore-all, elp-reset-all): Use mapatoms.
5086 (elp-set-master): Use elp--instrumented-p.
5087 (elp--make-wrapper): Rename from elp-wrapper, return a function
5088 suitable for advice-add. Use cl-inf.
5089 (elp-results): Use mapatoms+elp--instrumented-p.
5090 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
5091 (debug-function-list): Remove var.
5092 (debug): Rename arg, and then let-bind it explicitly inside.
5093 (debugger-setup-buffer): Rename arg.
5094 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
5095 (debugger-frame-number): Adjust to new debug-on-entry setup.
5096 (debug--implement-debug-on-entry): Rename from
5097 implement-debug-on-entry, add argument.
5098 (debugger-special-form-p): Remove, use special-form-p instead.
5099 (debug-on-entry): Use advice-add.
5100 (debug--function-list): New function.
5101 (cancel-debug-on-entry): Use it, along with advice-remove.
5102 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
5103 (debugger-list-functions): Use debug--function-list instead of
5104 debug-function-list.
5105 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
5106 (ad-special-form-p): Remove, use special-form-p instead.
5107 (ad-set-advice-info): Use add-function and remove-function.
5108 (ad--defalias-fset): Adjust accordingly.
5109
5110 2012-11-10 Glenn Morris <rgm@gnu.org>
5111
5112 * mail/emacsbug.el (report-emacs-bug-tracker-url)
5113 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
5114 (report-emacs-bug-create-existing-bugs-buffer)
5115 (report-emacs-bug-parse-query-results)
5116 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
5117
5118 * term.el (term-default-fg-color, term-default-bg-color):
5119 Make obsolete, rather than just saying "deprecated" in the doc.
5120
5121 * term.el (term): Rename from `term-face'.
5122 (term-current-face, ansi-term-color-vector)
5123 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
5124 Update all users.
5125
5126 2012-11-10 Jan Djärv <jan.h.d@swipnet.se>
5127
5128 * server.el (server-create-window-system-frame): Handle Nextstep
5129 specially (Bug#12780).
5130
5131 2012-11-10 Glenn Morris <rgm@gnu.org>
5132
5133 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
5134 Unautoload, and make obsolete. (Bug#7449)
5135
5136 2012-11-10 Chong Yidong <cyd@gnu.org>
5137
5138 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
5139 rename from diff-remove-trailing-whitespace (Bug#12831).
5140
5141 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
5142
5143 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
5144 miscompilation of trace.el.
5145
5146 2012-11-10 Glenn Morris <rgm@gnu.org>
5147
5148 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
5149
5150 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
5151
5152 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
5153 (bug#12812).
5154
5155 2012-11-10 Chong Yidong <cyd@gnu.org>
5156
5157 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
5158 a defcustom with an appropriate :set function.
5159 (minibuffer-default--in-prompt-regexps): New function.
5160
5161 2012-11-10 Glenn Morris <rgm@gnu.org>
5162
5163 * emacs-lisp/cl.el (define-setf-expander, defsetf)
5164 (define-modify-macro): Doc fixes.
5165
5166 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
5167 (gv-define-simple-setter): Update doc of `fix-return'.
5168
5169 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
5170
5171 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
5172 twice when `fix-return' is set (bug#12813).
5173
5174 * emacs-lisp/cl.el (defsetf): Pass the third arg to
5175 gv-define-simple-setter (bug#12812).
5176
5177 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
5178 (bug#12756).
5179
5180 2012-11-10 Glenn Morris <rgm@gnu.org>
5181
5182 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
5183
5184 * emacs-lisp/cl-extra.el (cl-prettyexpand):
5185 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
5186 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
5187 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
5188
5189 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
5190
5191 2012-11-10 Leo Liu <sdl.web@gmail.com>
5192
5193 * ido.el (ido-set-matches-1): Improve flex matching performance by
5194 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
5195
5196 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
5197
5198 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
5199 (ad--defalias-fset): New function.
5200 (ad-safe-fset): Remove.
5201 (ad-make-freeze-definition): Use cl-letf*.
5202
5203 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
5204
5205 * subr.el (dolist): Don't bind VAR in RESULT.
5206
5207 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
5208 (fset, documentation): Don't save real def since we don't advise.
5209 (ad-do-advised-functions): Remove problematic `result-form'.
5210 (ad-safe-fset): `ad-real-fset' => `fset'.
5211 (ad-read-advised-function): Don't assume that ad-do-advised-functions
5212 uses CL's dolist internally.
5213 (ad-arglist): Remove unused arg `name'.
5214 (ad-docstring, ad-make-advised-docstring):
5215 `ad-real-documentation' => `documentation'.
5216 (warning-suppress-types): Declare.
5217 (ad-set-arguments): Simple CSE.
5218 (ad-recover-normality): Sanity check.
5219
5220 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
5221 (funcall '(lambda ..) ..) into ((lambda ..) ..).
5222
5223 2012-11-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
5224
5225 * ses.el: symbol to coordinate mapping is made by symbol property
5226 `ses-cell'. This means that the same mapping is done for all SES
5227 sheets. That is good enough for cells with standard A1 names, but
5228 not for named cell. So a hash map is added for the latter.
5229 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
5230 (ses-sym-rowcol): Use hashmap for named cell.
5231 (ses-is-cell-sym-p): New defun.
5232 (ses-decode-cell-symbol): New defun.
5233 (ses-create-cell-variable): Add cell to hashmap when name is not
5234 A1-like.
5235 (ses-rename-cell): Check that cell new name is not already in
5236 spreadsheet with the use of ses-is-cell-sym-p
5237 (ses-rename-cell): Use hash map for named cells, but accept also
5238 renaming back to A1-like.
5239
5240 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
5241
5242 * emacs-lisp/advice.el: Use new dynamic docstrings.
5243 (ad-make-advised-definition-docstring, ad-advised-definition-p):
5244 Use dynamic-docstring-function instead of ad-advice-info.
5245 (ad--make-advised-docstring): New function extracted from
5246 ad-make-advised-docstring.
5247 (ad-make-advised-docstring): Use it.
5248 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
5249 from sql-help.
5250 (sql-help): Use it with dynamic-docstring-function.
5251
5252 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
5253
5254 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5255
5256 * files.el (hack-one-local-variable--obsolete): New function.
5257 (hack-one-local-variable): Use it for obsolete settings.
5258
5259 * subr.el (locate-user-emacs-file): If both old and new name exist, use
5260 the new name.
5261
5262 * progmodes/js.el (js--filling-paragraph): New var.
5263 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
5264 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
5265 less sneaky.
5266
5267 2012-11-08 Julien Danjou <julien@danjou.info>
5268
5269 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
5270 `auto-mode-alist' (Bug#12835).
5271
5272 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5273
5274 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
5275 (perl--prettify-symbols-alist): New const.
5276 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
5277 New functions.
5278 (perl-font-lock-keywords-2): Use them.
5279 (perl-electric-noindent-p): New function.
5280 (perl-mode): Use it to set up electric-indent-mode.
5281 (perl-electric-terminator, perl-indent-command): Mark obsolete.
5282 (perl-mode-map): Remove bindings for them.
5283 (perl-imenu-generic-expression, perl-outline-level):
5284 Match functions&packages in column>0.
5285
5286 * env.el (env--substitute-vars-regexp): New const.
5287 (substitute-env-vars): Use it. Add `only-defined' arg.
5288 * net/tramp.el (tramp-replace-environment-variables): Use it.
5289
5290 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
5291 Byte-compile *before* eval in eval-and-compile.
5292 (byte-compile-log-warning): Remove redundant inhibit-read-only.
5293 (byte-compile-file-form-autoload): Don't hide actual definition.
5294 (byte-compile-maybe-guarded): Accept `functionp' as well.
5295
5296 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
5297
5298 2012-11-07 Michael Albinus <michael.albinus@gmx.de>
5299
5300 * notifications.el (notifications-get-server-information-method):
5301 New defconst.
5302 (notifications-get-capabilities): Fix docstring.
5303 (notifications-get-server-information): New defun.
5304
5305 2012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5306
5307 * textmodes/ispell.el (ispell-region): Standard re-indent for better
5308 readability.
5309
5310 * textmodes/ispell.el: Experimental support for support debugging.
5311 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
5312 buffer for ispell.
5313 (ispell-print-if-debug): New function to print stuff to
5314 `ispell-debug-buffer' if debugging is enabled.
5315 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
5316 show some debugging info.
5317 (ispell-buffer-with-debug): New function that creates a debugging
5318 buffer and calls `ispell-buffer' with debugging enabled.
5319
5320 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
5321 comment in autoconf mode. (Bug#12768)
5322
5323 2012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
5324
5325 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
5326 frame-first-window, frame-root-window, frame-selected-window,
5327 minibuffer-selected-window, minibuffer-window,
5328 window-absolute-pixel-edges, window-at, window-body-height,
5329 window-body-width, window-display-table, window-combination-limit,
5330 window-frame, window-fringes, window-inside-absolute-pixel-edges,
5331 window-inside-edges, window-inside-pixel-edges, window-left-child,
5332 window-left-column, window-margins, window-next-buffers,
5333 window-next-sibling, window-new-normal, window-new-total,
5334 window-normal-size, window-parameter, window-parameters, window-parent,
5335 window-pixel-edges, window-point, window-prev-buffers,
5336 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
5337 window-start, window-text-height, window-top-child, window-top-line,
5338 window-total-height, window-total-width and window-use-time to the list
5339 of functions without side-effects.
5340 (toplevel): Add window-valid-p to the list of error-free functions
5341 without side-effects.
5342
5343 2012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5344
5345 * textmodes/ispell.el (ispell-program-name):
5346 Update spellchecker parameters when customized.
5347
5348 2012-11-04 Glenn Morris <rgm@gnu.org>
5349
5350 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
5351
5352 2012-11-04 Chong Yidong <cyd@gnu.org>
5353
5354 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
5355 same-window-* variables.
5356
5357 2012-11-04 Juri Linkov <juri@jurta.org>
5358
5359 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
5360 (isearch-describe-key, isearch-describe-mode): Use a display
5361 action instead of binding same-window-* variables (Bug#10040).
5362
5363 2012-11-03 Glenn Morris <rgm@gnu.org>
5364
5365 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
5366 Rename handler properties back from cl-- to cl-. (Bug#12788)
5367
5368 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
5369
5370 2012-11-03 Eli Zaretskii <eliz@gnu.org>
5371
5372 * term/pc-win.el: Don't load term/internal from here.
5373
5374 * loadup.el: Load term/internal from here.
5375
5376 2012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
5377
5378 * progmodes/python.el (inferior-python-mode): Fix hang in
5379 jit-lock (Bug#12645).
5380
5381 2012-11-03 Martin Rudalics <rudalics@gmx.at>
5382
5383 * window.el (switch-to-visible-buffer)
5384 (switch-to-buffer-preserve-window-point): Fix doc-strings.
5385
5386 2012-11-03 Glenn Morris <rgm@gnu.org>
5387
5388 * emacs-lisp/cl-lib.el (cl--random-time):
5389 Rename from cl-random-time. (Bug#12773)
5390 (cl--gensym-counter, cl--random-state): Update callers.
5391 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
5392
5393 2012-11-03 Chong Yidong <cyd@gnu.org>
5394
5395 * cus-start.el: Make cursor-type customizable (Bug#11633).
5396
5397 2012-11-02 Glenn Morris <rgm@gnu.org>
5398
5399 * filecache.el: No need to load find-lisp when compiling.
5400 (find-lisp-find-files): Autoload it.
5401 (file-cache-add-directory-recursively): Don't require find-lisp.
5402
5403 * image.el (image-type-from-file-name): Trivial simplification.
5404
5405 * emacs-lisp/bytecomp.el (byte-compile-eval):
5406 Decouple "noruntime" and "cl-functions" warnings.
5407
5408 2012-11-01 Stephen Berman <stephen.berman@gmx.net>
5409
5410 * play/gomoku.el (gomoku-display-statistics): Update mode line
5411 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
5412
5413 2012-10-31 Martin Rudalics <rudalics@gmx.at>
5414
5415 * window.el (quit-restore-window): If the window has been
5416 created on an existing frame and ended up as the sole window on
5417 that frame, do not delete it (Bug#12764).
5418
5419 2012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
5420
5421 * progmodes/sh-script.el (sh--inside-noncommand-expression):
5422 Rename from sh--inside-arithmetic-expression, handle more cases
5423 (bug#11263).
5424
5425 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
5426 (sh-font-lock-open-heredoc): Use it (bug#12770).
5427
5428 2012-10-30 Glenn Morris <rgm@gnu.org>
5429
5430 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
5431
5432 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
5433
5434 2012-10-29 Chong Yidong <cyd@gnu.org>
5435
5436 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
5437 function key is stored in a keyboard macro (Bug#4894).
5438
5439 * thingatpt.el (number-at-point): Apply a thing-at-point property.
5440
5441 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5442
5443 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
5444 header comments".
5445 (diff-unified->context, diff-context->unified)
5446 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
5447
5448 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
5449
5450 * files.el (find-alternate-file): Only ask one question (bug#12487).
5451
5452 2012-10-29 Chong Yidong <cyd@gnu.org>
5453
5454 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
5455 Suggested by Dan Nicolaescu (Bug#6326).
5456
5457 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
5458
5459 * startup.el (fancy-about-screen): Don't message (Bug#12680).
5460
5461 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
5462
5463 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
5464
5465 * face-remap.el (face-remap-add-relative): Handle the case where a
5466 face-remapping-alist entry is a cons cell (Bug#12762).
5467
5468 2012-10-29 Kevin Ryde <user42@zip.com.au>
5469
5470 * woman.el (woman-parse-numeric-value): Handle picas correctly
5471 (Bug#12639).
5472
5473 2012-10-29 Glenn Morris <rgm@gnu.org>
5474
5475 * emacs-lisp/cl.el (defsetf): Doc fix.
5476
5477 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5478
5479 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
5480 syntax to the matching opener, if any (bug#12547).
5481 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
5482 matching open as a "case-(".
5483 (sh-smie-rc-grammar): Add a corresponding rule for it.
5484
5485 2012-10-28 Daniel Hackney <dan@haxney.org>
5486
5487 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
5488 "PKGNAME-autoloads.el" in case we created it.
5489
5490 2012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5491
5492 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
5493 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
5494 (completion--twq-all): Disable too-strict assertions.
5495
5496 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
5497
5498 2012-10-27 Eli Zaretskii <eliz@gnu.org>
5499
5500 * profiler.el (profiler-report-make-entry-part): Fix help-echo
5501 text to match the real keybindings.
5502
5503 2012-10-27 Juri Linkov <juri@jurta.org>
5504
5505 * wdired.el (wdired-keep-marker-rename): New defcustom.
5506 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
5507 (Bug#11795)
5508
5509 * dired.el (dired-keep-marker-rename): Add reference to
5510 `wdired-keep-marker-rename' in the docstring.
5511 Add default character value ?R to display initially in
5512 Customization UI instead of ?@.
5513
5514 2012-10-27 Martin Rudalics <rudalics@gmx.at>
5515
5516 * window.el (display-buffer): In doc-string describe
5517 window-height and window-width alist entries.
5518
5519 * time.el (display-time-world): Restore fit-window-to-buffer
5520 behavior.
5521
5522 2012-10-27 Chong Yidong <cyd@gnu.org>
5523
5524 * subr.el (insert-buffer-substring-as-yank): Doc fix.
5525
5526 2012-10-26 Jambunathan K <kjambunathan@gmail.com>
5527
5528 * minibuffer.el (completion-category-overrides): New completion
5529 category `bookmark' (bug#11131).
5530
5531 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
5532
5533 * emacs-lisp/advice.el (ad-assemble-advised-definition):
5534 Silence bogus compiler warnings for ad-do-it.
5535
5536 * bookmark.el (bookmark-completing-read): Set the completion category
5537 to `bookmark' (bug#11131).
5538
5539 2012-10-26 Bastien <bzg@altern.org>
5540 Stefan Monnier <monnier@iro.umontreal.ca>
5541
5542 * face-remap.el: Use lexical-binding.
5543 (text-scale-adjust): Improve docstring. Use itself for the temporary
5544 overlay-map bindings, so as to repeat the "Use..." message each time.
5545
5546 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
5547
5548 * emacs-lisp/macroexp.el (macroexp--expand-all):
5549 Obey byte-compile-warning-enabled-p (bug#12486).
5550
5551 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
5552 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
5553
5554 2012-10-26 Martin Rudalics <rudalics@gmx.at>
5555
5556 * mouse.el (mouse-drag-line): Move last form into preceding when
5557 clause (Bug#12731).
5558
5559 * help.el (resize-temp-buffer-window): Fix doc-string.
5560
5561 2012-10-25 David Engster <deng@randomsample.de>
5562
5563 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
5564 Remove. This feature is already integrated in imenu.
5565
5566 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
5567 always loaded. Require `speedbar' unconditionally.
5568
5569 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
5570
5571 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
5572
5573 * minibuffer.el (minibuffer-force-complete): Fix thinko.
5574
5575 * net/ldap.el (ldap-search-internal): The official ldif format starts
5576 with a "version: 1" header (bug#12724).
5577
5578 * emacs-lisp/package.el (package-installed-p): Warn if not ready
5579 (bug#12721).
5580
5581 2012-10-25 Glenn Morris <rgm@gnu.org>
5582
5583 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
5584
5585 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5586
5587 * minibuffer.el (minibuffer-force-complete): Use one more marker
5588 for the temporary-overlay-map command (bug#12619).
5589
5590 2012-10-24 Chong Yidong <cyd@gnu.org>
5591
5592 * time.el (display-time-world-mode): Derive from special-mode.
5593 (display-time-world): Use display-buffer (Bug#12708).
5594 (display-time-world-mode-map): Variable deleted.
5595 (display-time-world-display): Wrap the final delete-char inside
5596 inhibit-read-only.
5597
5598 2012-10-24 Chong Yidong <cyd@gnu.org>
5599
5600 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
5601 Doc fix.
5602
5603 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
5604
5605 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5606
5607 * minibuffer.el (completion--all-sorted-completions-location): New var.
5608 (completion--cache-all-sorted-completions)
5609 (completion--flush-all-sorted-completions): Use it.
5610 (completion-in-region, completion-in-region--postch)
5611 (completion-at-point, completion-help-at-point): Use markers in
5612 completion-in-region--data (bug#12619).
5613
5614 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5615
5616 * progmodes/compile.el (compilation-start): Try to handle common
5617 quoting of `cd' argument (bug#12640).
5618
5619 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
5620 (bug#12671).
5621
5622 2012-10-23 Glenn Morris <rgm@gnu.org>
5623
5624 * progmodes/gud.el (gud-menu-map):
5625 Check gdb-active-process is bound. (Bug#12358)
5626
5627 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5628
5629 * repeat.el (repeat): Set real-this-command (bug#12232).
5630
5631 * htmlfontify.el (hfy-post-html-hook):
5632 * filesets.el (filesets-cache-fill-content-hook):
5633 * arc-mode.el (archive-extract-hook):
5634 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
5635 * net/rcirc.el (rcirc-sentinel-functions)
5636 (rcirc-receive-message-functions, rcirc-activity-functions)
5637 (rcirc-print-functions):
5638 * net/dbus.el (dbus-event-error-functions):
5639 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
5640 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
5641 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
5642 * term/sun.el (sun-raw-prefix-hooks):
5643 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
5644
5645 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
5646
5647 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5648 Set `tramp-chunksize' to 1. This improves the performance.
5649 (tramp-smb-wait-for-output): Add timeout to
5650 `tramp-accept-process-output' calls.
5651
5652 2012-10-23 Chong Yidong <cyd@gnu.org>
5653
5654 * faces.el (font-list-limit): Define as an obsolete variable.
5655
5656 * startup.el (command-line):
5657 * cus-start.el: Don't refer to font-list-limit.
5658
5659 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
5660
5661 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5662
5663 * subr.el (internal-temp-output-buffer-show): Rename from
5664 temp-output-buffer-show, since previously compiled files expect this name.
5665
5666 2012-10-23 Glenn Morris <rgm@gnu.org>
5667
5668 * image.el (image-type-from-file-name): If multiple types match,
5669 return the first one that is supported. (Bug#9045)
5670
5671 2012-10-22 Glenn Morris <rgm@gnu.org>
5672
5673 * image.el (imagemagick-enabled-types): Doc fix.
5674
5675 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
5676
5677 * progmodes/which-func.el (which-func-current): The hash-table may have
5678 an explicit nil (bug#12338).
5679
5680 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
5681
5682 * electric.el (electric-pair-delete-selection-self-insert-function):
5683 Rename to electric-pair-will-use-region, return a boolean.
5684 (electric-pair-mode): Adjust accordingly. Don't require delsel.
5685
5686 * delsel.el (delete-selection-helper): Use a function instead of a hook.
5687 (delete-selection-pre-hook): Use use-region-p.
5688 (delete-selection-self-insert-function): Remove.
5689 (self-insert-command): Obey self-insert-uses-region-functions.
5690 (self-insert-iso): Revert to previous setting, since we don't actually
5691 know what that command does.
5692 (delete-selection-self-insert-hooks): Remove.
5693
5694 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
5695
5696 * delsel.el (delete-selection-helper): New function, extracted from
5697 delete-selection-pre-hook.
5698 (delete-selection-pre-hook): Use it.
5699 (delete-selection-self-insert-function): New function.
5700 (delete-selection-self-insert-hooks): New hook.
5701 (self-insert-command, self-insert-iso): Use it.
5702 * electric.el (electric-pair-syntax): New function, extracted from
5703 electric-pair-post-self-insert-function.
5704 (electric-pair-post-self-insert-function): Use it.
5705 (electric-pair-delete-selection-self-insert-function): New function.
5706 (electric-pair-mode): Require delsel and setup
5707 delete-selection-self-insert-hooks (bug#11520).
5708
5709 2012-10-20 Chong Yidong <cyd@gnu.org>
5710
5711 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
5712 no changes to show (Bug#12586).
5713
5714 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
5715 list explicitly (Bug#12571).
5716
5717 2012-10-20 Arne Jørgensen <arne@arnested.dk>
5718
5719 * progmodes/flymake.el (flymake-create-temp-inplace):
5720 Use file-truename.
5721
5722 2012-10-20 Eli Zaretskii <eliz@gnu.org>
5723
5724 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
5725
5726 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
5727
5728 * calc/calc-units.el (math-extract-units): Properly extract powers
5729 of units.
5730
5731 2012-10-20 Daniel Colascione <dancol@dancol.org>
5732
5733 * frame.el (make-frame): Set x-display-name as we used to in order
5734 to unbreak creating an X11 frame from an Emacs daemon started
5735 without a display.
5736
5737 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5738
5739 * minibuffer.el (minibuffer-force-complete): Make the next completion use
5740 the same completion-field (bug#12221).
5741
5742 2012-10-19 Martin Rudalics <rudalics@gmx.at>
5743
5744 * emacs-lisp/debug.el (debug): Record height of debugger window
5745 also when debugger will be back (Bug#8789).
5746
5747 2012-10-18 Chong Yidong <cyd@gnu.org>
5748
5749 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
5750 Convert to defcustom.
5751 (gdb-get-source-file): Don't bind pop-up-windows.
5752
5753 * progmodes/gud.el (gud-display-line): Don't specially re-use
5754 other frames for the gdb-mi case (Bug#12648).
5755
5756 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
5757
5758 * emacs-lisp/advice.el: Clean up commentary a bit.
5759 (ad-do-advised-functions, ad-with-originals): Use `declare'.
5760 (byte-code-function-p): Never redefine.
5761
5762 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
5763
5764 2012-10-18 Glenn Morris <rgm@gnu.org>
5765
5766 * dired.el (dired-sort-toggle): Some ls implementations only allow
5767 a single option string. (Bug#12666)
5768
5769 * minibuffer.el (completion-cycle-threshold): Doc fix.
5770
5771 2012-10-17 Kenichi Handa <handa@gnu.org>
5772
5773 * international/mule.el (set-keyboard-coding-system):
5774 Recover input meta mode when the new coding system doesn not use 8-bit.
5775 Supply TERMINAL arg to set-input-meta-mode.
5776
5777 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
5778
5779 * wdired.el (wdired-old-marks): New variable.
5780 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
5781 (wdired-do-renames): Move point with renamed file and don't lose
5782 mark status (Bug#11795).
5783
5784 2012-10-16 Juri Linkov <juri@jurta.org>
5785
5786 * replace.el (query-replace-help): Mention multi-buffer replacement
5787 keys in the Help message. (Bug#12655)
5788
5789 2012-10-15 Chong Yidong <cyd@gnu.org>
5790
5791 * emacs-lisp/byte-run.el (defsubst): Doc fix.
5792
5793 2012-10-14 Eli Zaretskii <eliz@gnu.org>
5794
5795 * window.el (display-buffer): Doc fix.
5796
5797 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5798 Adjust the msft regexp to the output of Studio 2010, and move msft
5799 before edg-1. See the discussion on emacs-devel,
5800 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
5801 for the details.
5802
5803 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
5804
5805 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
5806 (oset): Move uses of object-class-fast macro after its definition.
5807
5808 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
5809
5810 2012-10-13 Chong Yidong <cyd@gnu.org>
5811
5812 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
5813 enabled, re-enable it (Bug#11963).
5814
5815 2012-10-13 Martin Rudalics <rudalics@gmx.at>
5816
5817 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
5818 non-nil, restore window configuration (Bug#12623).
5819
5820 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
5821
5822 * help-fns.el (describe-variable, describe-function-1):
5823 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
5824
5825 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
5826
5827 2012-10-12 Glenn Morris <rgm@gnu.org>
5828
5829 * mail/rmailsum.el (rmail-header-summary):
5830 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
5831
5832 2012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
5833
5834 * progmodes/python.el (python-mode-map):
5835 Replace subtitute-key-definition with proper command remapping.
5836 (python-nav--up-list): Fix behavior for blocks on the same level.
5837
5838 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5839
5840 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
5841
5842 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
5843 changes to the format of load-history.
5844
5845 * international/mule-cmds.el (read-char-by-name): Move let-binding of
5846 completion-ignore-case in case that var is buffer-local (bug#12615).
5847
5848 2012-10-11 Kenichi Handa <handa@gnu.org>
5849
5850 * international/eucjp-ms.el: Re-generated.
5851
5852 2012-10-10 Kenichi Handa <handa@gnu.org>
5853
5854 * select.el (xselect--encode-string): If a coding is specified for
5855 selection, and that is compatible with COMPOUND_TEXT, use it.
5856
5857 2012-10-10 Martin Rudalics <rudalics@gmx.at>
5858
5859 * window.el (switch-to-buffer-preserve-window-point): New option.
5860 (switch-to-buffer):
5861 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
5862
5863 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
5864
5865 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
5866 Don't document nil as a useful value (bug#12583).
5867
5868 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
5869
5870 * net/tramp.el (tramp-debug-message):
5871 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
5872 (with-tramp-progress-reporter): Rename from
5873 `tramp-with-progress-reporter'.
5874 (with-tramp-file-property, with-tramp-connection-property):
5875 Move from tramp-cache.el, rename from `with-file-property' and
5876 `with-connection-property', respectively.
5877
5878 * net/tramp-cache.el: Remove `with-file-property' and
5879 `with-connection-property'.
5880
5881 * net/tramp.el:
5882 * net/tramp-gvfs.el:
5883 * net/tramp-sh.el:
5884 * net/tramp-smb.el: Adapt callees.
5885
5886 * net/trampver.el: Update release number.
5887
5888 2012-10-09 Glenn Morris <rgm@gnu.org>
5889
5890 * w32-fns.el (set-message-beep):
5891 * term/w32-win.el (set-message-beep): Update declarations.
5892
5893 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
5894
5895 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
5896 (mode-line-widen, mode-line-input-method-map)
5897 (mode-line-coding-system-map, mode-line-remote)
5898 (mode-line-unbury-buffer, mode-line-bury-buffer)
5899 (mode-line-next-buffer, mode-line-previous-buffer):
5900 Replace save-selected-window+select-window => with-selected-window.
5901
5902 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
5903 * progmodes/cc-vars.el (bq-process): Remove, unused.
5904
5905 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
5906
5907 2012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
5908
5909 Implemented `backward-up-list'-like navigation.
5910 * progmodes/python.el (python-nav-up-list)
5911 (python-nav-backward-up-list): New functions.
5912 (python-mode-map): Define substitute key for backward-up-list to
5913 python-nav-backward-up-list.
5914
5915 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
5916
5917 * progmodes/python.el (python-fill-paragraph): Rename from
5918 python-fill-paragraph-function. Fixed fill-paragraph for
5919 decorators (Bug#12605).
5920
5921 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
5922
5923 * progmodes/python.el (python-shell-output-filter): Handle extra
5924 carriage return in OSX (Bug#12409).
5925
5926 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
5927
5928 Fix shell handling of unbalanced quotes and parens in output.
5929 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
5930 (python-syntax-propertize-function): Use it.
5931 (python-shell-output-syntax-table): New var.
5932 (inferior-python-mode): Prevent unbalanced parens/quotes from
5933 previous output mess with current input context.
5934
5935 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
5936
5937 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
5938 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
5939
5940 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
5941
5942 * ffap.el (ffap-replace-file-component): Support Tramp file name
5943 syntax, not only ange-ftp's one.
5944
5945 2012-10-08 Glenn Morris <rgm@gnu.org>
5946
5947 * cus-start.el (message-log-max): Set :version.
5948
5949 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
5950
5951 2012-10-08 Martin Rudalics <rudalics@gmx.at>
5952
5953 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
5954 the minibuffer window (Bug#10851).
5955
5956 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
5957
5958 Enhancements on forward-sexp movement.
5959 * progmodes/python.el (python-nav-beginning-of-statement)
5960 (python-nav-end-of-statement): Return point-marker.
5961 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
5962 (python-info-current-symbol)
5963 (python-info-statement-starts-block-p): Rename from
5964 python-info-beginning-of-block-p.
5965 (python-info-statement-ends-block-p): Rename from
5966 python-info-end-of-block-p.
5967 (python-info-beginning-of-statement-p)
5968 (python-info-end-of-statement-p)
5969 (python-info-beginning-of-block-p, python-info-end-of-block-p):
5970 New functions.
5971
5972 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
5973
5974 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
5975 frame-selected-windows.
5976
5977 2012-10-08 Daniel Colascione <dancol@dancol.org>
5978
5979 * battery.el (battery-status-function): Check for
5980 w32-battery-status itself, not system-time windows-nt.
5981
5982 * frame.el: Require cl-lib.
5983 (display-format-alist): New variable mapping frame types to
5984 functions that initialize them.
5985 (window-system-for-display): New function: interprets
5986 display-format-alist.
5987 (make-frame-on-display): Remove existing display-selection logic
5988 and just forward to make-frame, which will now DTRT.
5989 (make-frame): Restructure to use window-system-for-display to
5990 figure out how to create a frame on a given display.
5991 (display-mouse-p): Look for frame-type w32, not a particular
5992 system-type.
5993
5994 * loadup.el: Load w32 lisp code when we have the w32 feature.
5995
5996 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
5997 system-type windows-nt.
5998
5999 * server.el (server-create-window-system-frame): Look for window
6000 type.
6001 (server-proces-filter): Only force a window system when windows-nt
6002 _and_ w32. Explain why.
6003
6004 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
6005 of window systems we configure for the mode.
6006
6007 * startup.el (command-line): Mark window system is initialized
6008 after we've done it.
6009
6010 * common-win.el (x-select-text): Look for w32, not windows-nt.
6011
6012 * ns-win.el: Require cl-lib. Add ourselves to
6013 display-format-alist.
6014 (ns-initialize-window-system): Assert we're not initialized twice.
6015
6016 * w32-win.el: Enable lexical binding; require cl-lib; add
6017 ourselves to display-format-alist.
6018 (w32-handle-dropped-file): Convert incoming dropped files from
6019 Windows paths to Cygwin ones before passing them on to the rest of
6020 Emacs.
6021 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
6022 (w32-initialize-window-system): Assert we're not initialized twice.
6023
6024 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
6025 (x-initialize-window-system): Assert we're not initialized twice.
6026
6027 * w32-common-fns.el: New File.
6028 (w32-version, w32-using-nt, w32-get-clipboard-data)
6029 (w32-set-clipboard-data, x-set-selection, x-get-selection)
6030 (w32-charset-info-alist, x-last-selected, text)
6031 (x-get-selection-value, x-selection-value): Move here.
6032
6033 * w32-fns.el: Require w32-common-fns.
6034 (w32-version, w32-using-nt, w32-get-clipboard-data)
6035 (w32-set-clipboard-data, x-set-selection, x-get-selection)
6036 (w32-charset-info-alist, x-last-selected, text)
6037 (x-get-selection-value, x-selection-value): Move to
6038 w32-common-fns.
6039
6040 * w32-vars.el:
6041 (w32-allow-system-shell, w32-system-shells): Define only in
6042 non-cygwin case.
6043
6044 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
6045
6046 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
6047 (read-passwd): Remove a few more potential sources of leaks.
6048
6049 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
6050
6051 * progmodes/python.el (inferior-python-mode)
6052 (python-shell-make-comint): Fix initialization of local
6053 variables copied from parent buffer.
6054
6055 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
6056
6057 * term/ns-win.el (ns-read-file-name): Update declaration to match
6058 nsfns.m.
6059 (ns-respond-to-change-font): Change fontsize separately so we are sure
6060 it is set when font is acted upon.
6061
6062 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
6063
6064 Enhancements to indentation.
6065 * progmodes/python.el (python-indent-context): Give priority to
6066 inside-string context. Make comments indentation markers.
6067 (python-indent-region): Do not mess with strings, unless it's the
6068 enclosing set of quotes.
6069
6070 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
6071
6072 * window.el (internal--before-save-selected-window)
6073 (internal--after-save-selected-window): New functions extracted from
6074 save-selected-window. Make sure we return the `alist' we construct.
6075 (save-selected-window): Use them.
6076
6077 * textmodes/tex-mode.el (tex-recenter-output-buffer):
6078 Use with-selected-window.
6079
6080 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
6081 forms that define macros (bug#12593).
6082
6083 2012-10-07 Kenichi Handa <handa@gnu.org>
6084
6085 * international/mule-conf.el (compound-text-with-extensions):
6086 Add :mime-charset property as x-ctext.
6087
6088 2012-10-07 Stefan Merten <smerten@oekonux.de>
6089
6090 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
6091 (rst-indent-literal-normal, rst-indent-literal-minimized)
6092 (rst-indent-comment): Correct :version tag.
6093 (rst-official-cvs-rev): Correct version string.
6094
6095 2012-10-07 Glenn Morris <rgm@gnu.org>
6096
6097 * mail/rmailmm.el (rmail-mime-process-multipart):
6098 Do not confuse a multipart message with an epilogue
6099 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
6100
6101 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
6102
6103 Fix shell output retrieval and comint-prompt-regexp init.
6104 * progmodes/python.el (inferior-python-mode):
6105 (python-shell-make-comint): Fix initialization of
6106 comint-prompt-regexp from copied file local variables.
6107 (python-shell-fetched-lines): Remove var.
6108 (python-shell-output-filter-in-progress): Rename from
6109 python-shell-fetch-lines-in-progress.
6110 (python-shell-output-filter-buffer): Rename from
6111 python-shell-fetch-lines-string.
6112 (python-shell-fetch-lines-filter): Delete function.
6113 (python-shell-output-filter): New function.
6114 (python-shell-send-string-no-output): Use them.
6115
6116 2012-10-07 Glenn Morris <rgm@gnu.org>
6117
6118 * hi-lock.el (hi-lock-process-phrase):
6119 Try to make it less fragile. (Bug#7161)
6120
6121 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
6122
6123 2012-10-06 Glenn Morris <rgm@gnu.org>
6124
6125 * ehelp.el (electric-help-mode): Use help-mode rather than
6126 non-existent mode `help'.
6127 (electric-help-map): Use button-buffer-map. (Bug#10917)
6128
6129 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
6130 (reftex-create-bibtex-footer): Fix custom types.
6131
6132 * progmodes/sh-script.el (sh-indent-after-continuation):
6133 Add explicit :group.
6134
6135 * textmodes/rst.el (rst-preferred-decorations)
6136 (rst-shift-basic-offset): Clarify obsolescence versions.
6137
6138 * profiler.el (profiler): Add missing group :version tag.
6139 * avoid.el (mouse-avoidance-banish-position):
6140 * proced.el (proced-renice-command):
6141 * calc/calc.el (calc-ensure-consistent-units):
6142 * calendar/icalendar.el (icalendar-import-format-uid):
6143 * net/tramp.el (tramp-save-ad-hoc-proxies):
6144 * progmodes/bug-reference.el (bug-reference-bug-regexp):
6145 * progmodes/flymake.el (flymake-error-bitmap)
6146 (flymake-warning-bitmap, flymake-fringe-indicator-position):
6147 * progmodes/sh-script.el (sh-indent-after-continuation):
6148 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
6149 (verilog-before-save-font-hook, verilog-after-save-font-hook):
6150 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
6151 (vhdl-array-index-record-field-in-sensitivity-list)
6152 (vhdl-indent-comment-like-next-code-line):
6153 * textmodes/reftex-vars.el (reftex-ref-style-alist)
6154 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
6155 (reftex-cite-key-separator, reftex-create-bibtex-header)
6156 (reftex-create-bibtex-footer):
6157 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
6158 (rst-indent-literal-normal, rst-indent-literal-minimized)
6159 (rst-indent-comment): Add missing custom :version tags.
6160
6161 * calendar/timeclock.el (timeclock-modeline-display):
6162 Add missing obsolete alias for renamed user option.
6163
6164 * strokes.el (strokes-modeline-string):
6165 * emulation/crisp.el (crisp-mode-modeline-string):
6166 * eshell/esh-mode.el (eshell-status-in-modeline):
6167 Aliases to defcustoms must come before the defcustom.
6168
6169 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
6170 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
6171 (cal-tex-cursor-week-monday): Doc fixes.
6172 (cal-tex-cursor-week2-summary): Doc fix.
6173 Rename from cal-tex-cursor-week-at-a-glance.
6174
6175 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
6176 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
6177
6178 * calendar/calendar.el (calendar-mode-map):
6179 Add cal-tex-cursor-week2-summary.
6180
6181 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
6182
6183 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
6184
6185 * subr.el (read-passwd-map): New var.
6186 (read-passwd): Use `read-string' again.
6187 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
6188
6189 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
6190
6191 * register.el (append-to-register, prepend-to-register):
6192 Deactivate mark, as does `copy-to-register' (bug#12389).
6193
6194 2012-10-06 Chong Yidong <cyd@gnu.org>
6195
6196 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
6197
6198 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
6199
6200 * international/characters.el: Fix simple mistake ((car chars) ->
6201 elt), delete duplicated code.
6202
6203 2012-10-06 Glenn Morris <rgm@gnu.org>
6204
6205 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
6206
6207 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
6208
6209 * color.el (color-hsl-to-rgb): Fix incorrect results for
6210 small and large hue values. (Bug#12559)
6211
6212 2012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
6213
6214 Enhancements to docstring formatting when filling paragraphs.
6215 * progmodes/python.el (python-fill-docstring-style): Rename from
6216 python-fill-string-style. Added new style.
6217 (python-fill-string): Use new style. Better checks for
6218 docstrings.
6219
6220 2012-10-05 Glenn Morris <rgm@gnu.org>
6221
6222 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
6223
6224 * color.el (color-name-to-rgb, color-rgb-to-hex)
6225 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
6226 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
6227 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
6228 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
6229
6230 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
6231
6232 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
6233
6234 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
6235 to get the correct size across symlinks.
6236
6237 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
6238
6239 2012-10-04 Juri Linkov <juri@jurta.org>
6240
6241 * replace.el (query-replace-interactive): Declare obsolete.
6242 (query-replace-read-from): Add the last incremental search string
6243 to the list of default values accessible via M-n.
6244 (map-query-replace-regexp): Use `read-regexp'.
6245 (query-replace, query-replace-regexp, query-replace-regexp-eval)
6246 (map-query-replace-regexp, replace-string, replace-regexp):
6247 Fix docstrings to replace mentions of `query-replace-interactive'
6248 with alternatives. (Bug#12526)
6249
6250 2012-10-04 Juri Linkov <juri@jurta.org>
6251
6252 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
6253 (dired-pop-to-buffer): Declare obsolete.
6254 (dired-mark-pop-up): Doc fix.
6255
6256 2012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
6257
6258 Allow user to set docstring style for fill-paragraph.
6259 * progmodes/python.el
6260 (python-fill-comment-function, python-fill-string-function)
6261 (python-fill-decorator-function, python-fill-paren-function):
6262 Remove :safe for defcustoms.
6263 (python-fill-string-style): New defcustom
6264 (python-fill-paragraph-function): Enhance context detection.
6265 (python-fill-string): Honor python-fill-string-style settings.
6266
6267 2012-10-04 Martin Rudalics <rudalics@gmx.at>
6268
6269 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
6270 after setting its buffer (Bug#10805).
6271
6272 2012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
6273
6274 Fix cornercase for string syntax.
6275 * progmodes/python.el (python-syntax-propertize-function):
6276 Simplify and enhance the regexp for unescaped quotes. Now it also
6277 matches quotes in weird situations like the single quote in
6278 "something\"'".
6279 (python-syntax-stringify): Simplify num-quotes detecting code.
6280
6281 2012-10-03 Glenn Morris <rgm@gnu.org>
6282
6283 * help-macro.el (three-step-help):
6284 Revert 2012-09-29 change. (Bug#12567)
6285
6286 2012-10-03 Martin Rudalics <rudalics@gmx.at>
6287
6288 * menu-bar.el (kill-this-buffer): Don't do anything when
6289 `menu-frame' is not alive or visible (Bug#8184).
6290
6291 * emacs-lisp/debug.el (debug): When quitting the debugger window
6292 restore current buffer (Bug#12502).
6293
6294 2012-10-02 Chong Yidong <cyd@gnu.org>
6295
6296 * progmodes/hideif.el (hif-lookup, hif-defined):
6297 Handle semantic-c-takeover-hideif.
6298
6299 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
6300
6301 Change sampling interval units from ms to ns.
6302 * profiler.el (profiler-sampling-interval): Change units
6303 from ms to ns, multiplying the default by 1000000 so that
6304 it remains 1 ms.
6305 (profiler-report-cpu-line-format): Give enough room for
6306 the maximum counters on 64-bit hosts.
6307 (profiler-report-render-calltree-1): Call them "CPU samples",
6308 not "Time (ms)", since they are not milliseconds now (and
6309 never really were).
6310
6311 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
6312
6313 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
6314 Fix querying BBDB for entries without a last name (Bug#11580).
6315
6316 2012-10-02 Chong Yidong <cyd@gnu.org>
6317
6318 * emacs-lisp/eieio.el: Restore Version header.
6319
6320 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
6321
6322 * vc/diff-mode.el (diff--auto-refine-data): New var.
6323 (diff-hunk): Use it to delay refinement.
6324 (diff-mode): Remove overlays when we turn off font-lock.
6325
6326 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
6327 (table-initialize-table-fixed-width-mode)
6328 (table-set-table-fixed-width-mode): Remove functions.
6329 (table-command-list): Move initialization into declaration.
6330 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
6331 (table-with-cache-buffer): Use `declare'.
6332 (table-span-cell): Simplify via CSE.
6333 (table-fixed-width-mode): Use define-minor-mode.
6334 (table-call-interactively, table-funcall, table-apply): Remove.
6335 (table-function): New function, to replace them.
6336
6337 * bookmark.el (bookmark-search-pattern): Remove var.
6338 (bookmark-read-search-input): Remove function.
6339 (bookmark-bmenu-search): Reimplement using a minibuffer.
6340
6341 * faces.el (modeline): Remove obsolete face name.
6342
6343 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
6344 and give a non-nil default value.
6345 (add-change-log-entry): Simplify accordingly.
6346
6347 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
6348
6349 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
6350 (vc-git-log-edit-toggle-amend): New function.
6351 (vc-git-log-edit-toggle-signoff): New function.
6352 (vc-git-log-edit-mode): New major mode.
6353 (vc-git-log-edit-mode-map): Keymap for it.
6354 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
6355
6356 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
6357 header names.
6358 (log-edit-toggle-header): New function.
6359 (log-edit-extract-headers): Accept function values in HEADERS alist.
6360
6361 2012-10-01 David Engster <deng@randomsample.de>
6362
6363 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
6364 from symbol property and change message to be more consistent with
6365 Emacs proper.
6366 (eieio-describe-generic): Add filename for each implementation.
6367 Fix indices for generic and normal methods.
6368 (eieio-method-def, eieio-class-def): New buttons.
6369 (eieio-help-find-method-definition)
6370 (eieio-help-find-class-definition): New functions.
6371 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
6372 class, constructor and method definitions.
6373
6374 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
6375 information in symbol property.
6376 (scoped-class): Remove.
6377 (eieio-slot-name-index, call-next-method): Check if it is bound.
6378
6379 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
6380
6381 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
6382 (eieio-custom-mode): New major mode.
6383 (eieio-customize-object): Use it.
6384
6385 2012-10-01 Eric Ludlam <zappo@gnu.org>
6386
6387 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
6388 specifying the expected class, and whether subclassing is allowed.
6389 (eieio-persistent-convert-list-to-object):
6390 (eieio-persistent-validate/fix-slot-value)
6391 (eieio-persistent-slot-type-is-class-p): New functions.
6392 (eieio-named::slot-missing): Doc fix.
6393
6394 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
6395 Stop using unused publd variable.
6396
6397 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
6398 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
6399 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
6400 (eieio-speedbar-handle-click): Do not specify a class for the
6401 method. Fixes method invocation order problems with EDE.
6402
6403 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
6404
6405 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
6406 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
6407
6408 2012-10-01 Karl Fogel <kfogel@red-bean.com>
6409
6410 * bookmark.el (bookmark-version-control): Give tags in the
6411 :type choices (Bug#12309), and improve doc string.
6412 (bookmark-write-file): Bind `print-circle' to `t' to allow
6413 circular custom bookmark types. (Bug#12503)
6414
6415 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
6416
6417 Revert the FOLLOW-SYMLINKS change for file-attributes.
6418 * files.el (remote-file-name-inhibit-cache, after-find-file):
6419 * time.el (display-time-file-nonempty-p): Undo last change.
6420
6421 * profiler.el (profiler-sampling-interval): Change default back to 1.
6422 See Stefan Monnier in
6423 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
6424
6425 2012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
6426
6427 Shell output catching a la gud-gdb.
6428 * progmodes/python.el (python-shell-fetch-lines-in-progress)
6429 (python-shell-fetch-lines-string, python-shell-fetched-lines):
6430 New Vars.
6431 (python-shell-fetch-lines-filter): New function.
6432 (python-shell-send-string-no-output): Use them.
6433
6434 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
6435
6436 * profiler.el (profiler-sampling-interval): Rename from
6437 profiler-sample-interval.
6438 (profiler-sampling-interval): Default to 10.
6439 (profiler-find-profile): New command (was profiler-find-log).
6440 (profiler-find-profile-other-window): New command.
6441 (profiler-find-profile-other-frame): New command.
6442 (profiler-profile): Introduce API-level data structure.
6443
6444 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
6445
6446 file-attributes has a new optional arg FOLLOW-SYMLINKS.
6447 * files.el (remote-file-name-inhibit-cache):
6448 * time.el (display-time-file-nonempty-p): Use it.
6449 * files.el (after-find-file): Don't chase links before calling
6450 file-exists-p, as file-exists-p already does the right thing.
6451
6452 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
6453
6454 Merge from standalone RefTeX repository.
6455
6456 The following ChangeLog entries are shortened versions of the
6457 original ones with file paths adapted. A not so strongly edited
6458 version of the original ChangeLog can be found in the commit log.
6459
6460 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
6461 (reftex-arg-cite): Use `reftex-cite-key-separator'.
6462 Correctly handle new value type returned by `reftex-citation'.
6463
6464 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
6465 that entries with whitespace at various places are found.
6466 Doc fix. Include entries that are cross-referenced from cited entries.
6467 Include @String definitions in the resulting bib file. Add header
6468 and footer defined in `reftex-create-bibtex-header' and
6469 `reftex-create-bibtex-footer'.
6470 (reftex-do-citation): Make it possible again to insert
6471 non-existent entries. Save match data when asking for optional
6472 arguments. Return all keys, not just the first one.
6473 (reftex-all-used-citation-keys): Fix regexp to correctly extract
6474 all citations in the same line.
6475 (reftex-parse-bibtex-entry): Accept additional optional argument
6476 `raw' and keep quotes or braces if it is non-nil. Match fields
6477 containing hyphens besides word constituents.
6478 (reftex-get-string-refs): New function.
6479 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
6480 and ask if it should be reread in case it did.
6481 (reftex-pop-to-bibtex-entry)
6482 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
6483 entries with spaces or tabs in front of arguments.
6484 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
6485 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
6486 Match entries containing numbers and symbol constituents.
6487 (reftex-do-citation, reftex-figure-out-cite-format):
6488 Use `reftex-cite-key-separator'.
6489
6490 * textmodes/reftex-dcr.el: Move provide statement to end of file.
6491 (reftex-mouse-view-crossref): Explain why point is set.
6492
6493 * textmodes/reftex-global.el: Whitespace changes.
6494
6495 * textmodes/reftex-index.el: Move provide statement to end of
6496 file.
6497 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
6498 (reftex-index-visit-phrases-buffer): Set marker when visiting
6499 buffer. This allows for returning from the phrases file to the
6500 file one was just editing instead of the file where the last
6501 phrases was added from.
6502 (reftex-index-phrases-syntax-table): New variable. Give ?\"
6503 punctuation syntax as it usually is not used as string quote in
6504 TeX-related modes and may occur unmatched. The change also
6505 prevents fontification of quoted content.
6506 (reftex-index-phrases-mode): Use it.
6507
6508 * textmodes/reftex-parse.el (reftex-parse-from-file):
6509 Move backward one char if a `\' was matched after a section macro.
6510 (reftex-parse-from-file): Use beginning of match instead of end as
6511 bound.
6512
6513 * textmodes/reftex-ref.el: Adapt creation of
6514 `reftex-<package>-<macro>' functions to new structure of
6515 `reftex-ref-style-alist'.
6516 (reftex-reference): Use `reftex-ref-style-list' function.
6517 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
6518 reference macro if `reftex-ref-macro-prompt' is non-nil.
6519 (reftex-reference): Pass refstyle to `reftex-format-special'.
6520 Determine reference macro by looking at
6521 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
6522 Use only one special format function.
6523 (reftex-varioref-vref, reftex-fancyref-fref)
6524 (reftex-fancyref-Fref): Remove definitions. The functions are now
6525 generated from `reftex-ref-style-alist'.
6526 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
6527 Remove.
6528 (reftex-format-special): New function.
6529
6530 * textmodes/reftex-sel.el
6531 (reftex-select-cycle-ref-style-internal): Adapt to new structure
6532 of `reftex-ref-style-alist'. Remove code for testing macro type.
6533 (reftex-select-toggle-varioref)
6534 (reftex-select-toggle-fancyref): Remove.
6535 (reftex-select-cycle-ref-style-internal)
6536 (reftex-select-cycle-ref-style-forward)
6537 (reftex-select-cycle-ref-style-backward): New functions.
6538 (reftex-select-label-map): Use `v' and `V' for general cycling
6539 through reference styles. Add `p' for switching between number
6540 and page reference types.
6541
6542 * textmodes/reftex-toc.el (reftex-re-enlarge):
6543 Call `enlarge-window' only if there is something to do because in Emacs
6544 the horizontal version throws an error even if the parameter is 0.
6545
6546 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
6547 (reftex-plug-into-AUCTeX): Doc fix.
6548 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
6549 string. Adapt to new name.
6550 (reftex-ref-style-alist): Change structure so that it is not
6551 possible to use multiple different package names within a style.
6552 Remove the symbols for symbols for macro type distinction.
6553 Add characters for macro selection.
6554 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
6555 (reftex-create-bibtex-footer): New variables.
6556 (reftex-format-ref-function): Mention third argument of special
6557 format function.
6558 (reftex-ref-style-alist, reftex-ref-style-default-list):
6559 New variables.
6560 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
6561 to new implementation. Mark as obsolete. Add compatibility code
6562 for honoring the variable values in case they are set.
6563 (reftex-cite-format-builtin, reftex-bibliography-commands):
6564 Add support for ConTeXt.
6565 (reftex-format-ref-function, reftex-format-cite-function):
6566 Fix custom type.
6567 (reftex-cite-key-separator): New variable.
6568
6569 * textmodes/reftex.el (reftex-syntax-table-for-bib)
6570 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
6571 `reftex-syntax-table' because parens have to retain their paren
6572 syntax in order for parsing of BibTeX entries like @book(...) to
6573 work.
6574 (reftex-in-comment): Do not error out if `comment-start-skip' is
6575 not set. Deal correctly with escaped comment characters.
6576 (reftex-tie-multifile-symbols): Add doc string.
6577 Initialize `reftex-ref-style-list'.
6578 (reftex-untie-multifile-symbols): Add doc string.
6579 (reftex-add-index-macros): Doc fix.
6580 (reftex-ref-style-activate, reftex-ref-style-toggle)
6581 (reftex-ref-style-list): New functions.
6582 (reftex-mode-menu): Use them. Adapt to new structure of
6583 `reftex-ref-style-alist'.
6584 (reftex-select-with-char): Kill the RefTeX Select buffer when
6585 done.
6586 (reftex-remove-if): New function.
6587 (reftex-erase-all-selection-and-index-buffers)
6588 (reftex-mode-menu): Reference styles are now computed from
6589 `reftex-ref-style-alist'. Fix typo.
6590 (reftex-report-bug): New function.
6591 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
6592 algorithms with O(n log n). Introduce optional argument SORT (not
6593 yet used).
6594
6595 2012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
6596
6597 Enhancements for triple-quote string syntax.
6598 * progmodes/python.el (python-syntax-propertize-function):
6599 Match both quote cases in one regexp.
6600 (python-syntax-stringify): Handle matches properly.
6601
6602 2012-09-30 Juri Linkov <juri@jurta.org>
6603
6604 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
6605 to nil around the call to `insert' to prevent
6606 directory time modification by lock_file. (Bug#2295)
6607 * tar-mode.el (tar-summarize-buffer): Idem.
6608
6609 2012-09-30 Juri Linkov <juri@jurta.org>
6610
6611 * facemenu.el (list-colors-sort): Add option "Luminance".
6612 (list-colors-sort-key): Implement it.
6613
6614 * vc/diff-mode.el (diff-refine-removed):
6615 * vc/ediff-init.el (ediff-fine-diff-A):
6616 * vc/smerge-mode.el (smerge-refined-removed):
6617 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
6618
6619 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
6620
6621 * term/ns-win.el (x-file-dialog): New function.
6622
6623 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
6624
6625 * ido.el (ido-max-directory-size): Default to nil; the current
6626 default is small for POSIX systems, and impractical on Windows 7
6627 now that lstat returns directory sizes for NTFS.
6628
6629 2012-09-30 Martin Rudalics <rudalics@gmx.at>
6630
6631 In buffer display functions handle window-height/window-width
6632 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
6633 * window.el (window--display-buffer): New argument ALIST.
6634 Obey window-height and window-width alist entries.
6635 (window--try-to-split-window): New argument ALIST.
6636 Bind window-combination-limit to t when the window's size shall be
6637 changed and window-combination-limit equals `window-size'.
6638 (display-buffer-in-atom-window)
6639 (display-buffer-in-major-side-window)
6640 (display-buffer-in-side-window, display-buffer-same-window)
6641 (display-buffer-reuse-window, display-buffer-pop-up-frame)
6642 (display-buffer-pop-up-window, display-buffer-below-selected)
6643 (display-buffer-at-bottom, display-buffer-in-previous-window)
6644 (display-buffer-use-some-window): Adjust all callers of
6645 window--display-buffer and window--try-to-split-window.
6646 (fit-frame-to-buffer): New option.
6647 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
6648 is non-nil.
6649 (display-buffer-in-major-side-window): Evaluate window-height /
6650 window-width alist entries.
6651
6652 * help.el (temp-buffer-resize-frames)
6653 (temp-buffer-resize-regexps): Remove options.
6654 (temp-buffer-resize-mode): Adjust doc-string.
6655 (resize-temp-buffer-window): Don't consult
6656 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
6657 temp-buffer-resize-frames.
6658
6659 * dired.el (dired-mark-pop-up):
6660 Call display-buffer-below-selected with a fit-window-to-buffer alist
6661 entry.
6662
6663 2012-09-30 Chong Yidong <cyd@gnu.org>
6664
6665 * server.el (server-host): Document the security implications.
6666 (server-auth-key): Doc fix.
6667
6668 * startup.el (initial-buffer-choice): Doc fix.
6669
6670 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
6671
6672 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
6673 restriction change.
6674
6675 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
6676
6677 * help-fns.el (help-fns--obsolete): Fix last change.
6678
6679 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
6680
6681 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
6682 (minor-mode-map-alist): Remove redundant code.
6683
6684 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
6685 visited in a buffer.
6686 (cvs-insert-visited-file): New function.
6687 (find-file-hook): Use it.
6688
6689 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
6690
6691 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
6692 chose face.
6693 (log-edit-empty-buffer-p): Don't require a space after a header.
6694
6695 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
6696
6697 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
6698
6699 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
6700 a proper minor-mode.
6701
6702 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
6703
6704 2012-09-29 Glenn Morris <rgm@gnu.org>
6705
6706 * winner.el (winner-mode): Remove variable (let define-minor-mode
6707 handle it).
6708 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
6709 Doc fixes.
6710 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
6711 (winner-mode): Use define-minor-mode.
6712
6713 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
6714 the full definition in loaddefs, rather than duplicating it.
6715
6716 * help-macro.el (three-step-help): No need to autoload defcustom.
6717
6718 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
6719 (inferior-lisp-program, inferior-lisp-load-command)
6720 (inferior-lisp-prompt, inferior-lisp-mode-hook):
6721 No need to autoload defcustoms.
6722
6723 * hippie-exp.el (hippie-expand-try-functions-list)
6724 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
6725 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
6726 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
6727 (hippie-expand-only-buffers): No need to autoload defcustoms.
6728 * progmodes/vhdl-mode.el (vhdl-line-expand):
6729 Explicitly load hippie-exp, so it does not get autoloaded
6730 while hippie-expand-try-functions-list is let-bound.
6731
6732 2012-09-28 Glenn Morris <rgm@gnu.org>
6733
6734 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
6735
6736 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
6737 Only "cl.el" counts as cl these days.
6738
6739 2012-09-28 Juri Linkov <juri@jurta.org>
6740
6741 Display archive errors in the echo area instead of inserting
6742 to the file buffer.
6743
6744 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
6745 to STDERR-TEST that can be a regexp matching a successful output.
6746 Create a temporary file and redirect stderr to it. Search for
6747 STDERR-TEST in the stderr output and display it in the echo area
6748 if no match is found.
6749 (archive-extract-by-file): New function like
6750 `archive-extract-by-stdout' but extracting archives to files
6751 and looking for successful matches in stdout. Function body is
6752 mostly copied from `archive-rar-extract'.
6753 (archive-rar-extract): Use `archive-extract-by-file'.
6754 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
6755
6756 2012-09-28 Leo Liu <sdl.web@gmail.com>
6757
6758 * pcomplete.el (pcomplete-show-completions):
6759 Use minibuffer-message to make pcomplete usable in minibuffer.
6760
6761 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
6762
6763 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
6764
6765 * type-break.el: Use lexical-binding.
6766 (type-break-mode): Use define-minor-mode.
6767
6768 * emacs-lisp/pcase.el (pcase--mark-used): New.
6769 (pcase--u1): Use it (bug#12512).
6770
6771 * custom.el (load-theme): Set buffer-file-name so the load is recorded
6772 in load-history with the right file name.
6773
6774 2012-09-28 Tassilo Horn <tsdh@gnu.org>
6775
6776 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
6777 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
6778 (doc-view-get-bounding-box): Make bounding box slicing work for
6779 ODF and DVI documents.
6780
6781 2012-09-28 Glenn Morris <rgm@gnu.org>
6782
6783 * type-break.el (type-break-mode, type-break-interval)
6784 (type-break-good-rest-interval, type-break-keystroke-threshold):
6785 No need to autoload.
6786 (type-break-good-rest-interval, type-break-keystroke-threshold):
6787 Add :set-after.
6788
6789 2012-09-28 Chong Yidong <cyd@gnu.org>
6790
6791 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
6792 Add :version tag.
6793
6794 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
6795
6796 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
6797
6798 2012-09-27 Glenn Morris <rgm@gnu.org>
6799
6800 * faces.el (x-display-name): Declare (for without-x builds).
6801
6802 * linum.el (linum-format): Don't autoload it. Improve :type.
6803
6804 * progmodes/tcl.el: Don't require outline when compiling.
6805 (outline-regexp, outline-level): Declare.
6806 * textmodes/sgml-mode.el: Don't require outline when compiling.
6807 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
6808
6809 * term.el (term-ansi-reset):
6810 Try setting term-ansi-face-already-done to nil. (Bug#11785)
6811
6812 * vc/vc.el (vc-next-action): Only gripe about committing read-only
6813 files for RCS and SCCS. (Bug#9781)
6814
6815 2012-09-27 Chong Yidong <cyd@gnu.org>
6816
6817 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
6818 change; value should be t.
6819
6820 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
6821
6822 * image-mode.el: Use lexical-binding.
6823 (image-mode-winprops): Use t to stand for the window of
6824 a buffer that's not displayed.
6825 * doc-view.el (doc-view-new-window-function): Handle the new
6826 t in winprops.
6827 (doc-view-enlarge): Make it a real nop if the size is not changed.
6828 (doc-view-display): Handle the case where the buffer is not (yet?)
6829 displayed in any window.
6830 (doc-view-saved-settings): New var.
6831 (doc-view-mode): Use it.
6832 (doc-view-fallback-mode): Set it.
6833
6834 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
6835 Set lexical-binding.
6836 (minibuffer-eldef-shorten-default): New var.
6837 (minibuffer-default-in-prompt-regexps): Use it for new default.
6838 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
6839
6840 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
6841
6842 * international/uni-bidi.el:
6843 * international/uni-category.el:
6844 * international/uni-name.el:
6845 * international/uni-numeric.el: Regenerate.
6846
6847 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
6848 Stefan Monnier <monnier@iro.umontreal.ca>
6849
6850 * profiler.el: New file.
6851
6852 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
6853
6854 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
6855 (testcover-reinstrument): Simplify with CSE.
6856
6857 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
6858
6859 * window.el (temp-buffer-window-setup): Fix typo in docstring.
6860
6861 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
6862
6863 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
6864 (verilog-auto-input, verilog-auto-insert-lisp)
6865 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
6866 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
6867 (verilog-auto-unused, verilog-auto-wire)
6868 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
6869 newline. Reported by Andrew Jones.
6870 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
6871 Reported by Brad Dobbie.
6872 (verilog-batch-delete-trailing-whitespace):
6873 Create verilog-batch-delete-trailing-whitespace.
6874 Reported by Brad Dobbie.
6875 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
6876 parameters from another module. Reported by Dan Katz.
6877 (verilog-auto, verilog-auto-assign-modport)
6878 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
6879 AUTOINOUTMODPORT for UVM interface module shell generation.
6880 Reported by Brad Dobbie.
6881 (verilog-auto-inst-interfaced-ports): Make default nil, as more
6882 standard behavior.
6883 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
6884 Reported by Matt Martin.
6885
6886 2012-09-25 Martin Rudalics <rudalics@gmx.at>
6887
6888 * window.el (window--resize-child-windows): When resizing child
6889 windows proportionally, process them in reverse order to
6890 preserve the "when splitting a window the new one gets the odd
6891 line" behavior.
6892 (window--resize-root-window-vertically): When resizing the
6893 minibuffer window try to affect only windows at the bottom of the
6894 frame. (Bug#12419)
6895
6896 2012-09-25 Chong Yidong <cyd@gnu.org>
6897
6898 * subr.el (declare): Doc fix.
6899
6900 * help-fns.el (help-fns--obsolete): Handle macros properly.
6901
6902 2012-09-25 Chong Yidong <cyd@gnu.org>
6903
6904 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
6905 this function obsolete.
6906
6907 * calendar/cal-x.el (calendar-two-frame-setup)
6908 (calendar-only-one-frame-setup, calendar-one-frame-setup):
6909 * calendar/calendar.el (american-calendar, european-calendar)
6910 (calendar-for-loop):
6911 * comint.el (comint-dynamic-simple-complete)
6912 (comint-dynamic-complete-as-filename, comint-unquote-filename):
6913 * desktop.el (desktop-load-default):
6914 * dired-x.el (dired-omit-here-always)
6915 (dired-hack-local-variables, dired-default-directory):
6916 * emacs-lisp/derived.el (derived-mode-class):
6917 * emacs-lisp/timer.el (timer-set-time-with-usecs):
6918 * emacs-lock.el (toggle-emacs-lock):
6919 * epa.el (epa-display-verify-result):
6920 * epg.el (epg-sign-keys, epg-start-sign-keys)
6921 (epg-passphrase-callback-function):
6922 * eshell/esh-util.el (eshell-for):
6923 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
6924 (eshell-add-to-window-buffer-names):
6925 * files.el (locate-file-completion):
6926 * imenu.el (imenu-example--create-c-index)
6927 (imenu-example--create-lisp-index)
6928 (imenu-example--lisp-extract-index-name)
6929 (imenu-example--name-and-position):
6930 * international/mule-cmds.el (princ-list):
6931 * international/mule-diag.el (decode-codepage-char):
6932 * international/mule-util.el (detect-coding-with-priority):
6933 * iswitchb.el (iswitchb-read-buffer):
6934 * mail/mailalias.el (mail-complete):
6935 * mail/sendmail.el (mail-sent-via):
6936 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
6937 (mouse-major-mode-menu):
6938 * password-cache.el (password-read-and-add):
6939 * pcomplete.el (pcomplete-parse-comint-arguments):
6940 * progmodes/sh-script.el (sh-maybe-here-document):
6941 * replace.el (query-replace-regexp-eval):
6942 * savehist.el (savehist-load):
6943 * simple.el (choose-completion-delete-max-match):
6944 * term.el (term-dynamic-simple-complete):
6945 * vc/ediff-init.el (ediff-check-version):
6946 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
6947 * vc/vc.el (vc-diff-switches-list):
6948 * view.el (view-return-to-alist-update): Likewise.
6949
6950 * subr.el (eval-next-after-load, makehash, insert-string)
6951 (assoc-ignore-representation, assoc-ignore-case): Use declare to
6952 mark obsolete.
6953 (mode-line-inverse-video): Variable deleted.
6954
6955 * international/mule-util.el (string-to-sequence): Remove.
6956
6957 * calendar/calendar.el (calendar-version):
6958 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
6959 (icalendar-convert-diary-to-ical):
6960 * cus-edit.el (custom-mode):
6961 * ansi-color.el (ansi-color-unfontify-region):
6962 * international/latin1-disp.el (latin1-char-displayable-p):
6963 * progmodes/cwarn.el (turn-on-cwarn-mode):
6964 * progmodes/which-func.el (which-func-update-1):
6965 Use define-obsolete-function-alias.
6966
6967 * net/newst-backend.el (newsticker-cache-filename):
6968 * net/newst-treeview.el (newsticker-groups-filename):
6969 Fix incorrect obsolescence declaration.
6970
6971 * allout.el (allout-passphrase-hint-string): Likewise.
6972 (allout-init): Use a declare form to mark obsolete.
6973
6974 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
6975 this applies to functions.
6976
6977 * iswitchb.el (iswitchb-read-buffer): Move code of
6978 iswitchb-define-mode-map here, and delete that obsolete function.
6979
6980 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
6981 font-lock-reference-face.
6982
6983 2012-09-25 Glenn Morris <rgm@gnu.org>
6984
6985 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
6986 Doc fixes.
6987
6988 * eshell/em-term.el (eshell-term-name):
6989 Default to term-term-name. (Bug#12485)
6990
6991 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
6992
6993 * progmodes/python.el (python-shell-send-buffer): Better handling
6994 of "if __name__ == '__main__':" conditionals when sending the buffer.
6995
6996 2012-09-24 Glenn Morris <rgm@gnu.org>
6997
6998 * eshell/esh-cmd.el (eshell-find-alias-function):
6999 Tighten up file-name regexp. (Bug#12499)
7000
7001 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
7002
7003 Enhancements for triple-quote string syntax.
7004 * progmodes/python.el (python-quote-syntax): Remove.
7005 (python-syntax-propertize-function): New value.
7006 (python-syntax-count-quotes, python-syntax-stringify):
7007 New functions.
7008
7009 2012-09-24 Chong Yidong <cyd@gnu.org>
7010
7011 * mail/supercite.el (sc-version): Remove obsolete function.
7012 (sc-describe): Don't mark as obsolete, since it is bound.
7013 (sc-submit-bug-report): Remove.
7014
7015 * vc/log-edit.el (cvs-changelog-full-paragraphs)
7016 (cvs-commit-buffer-require-final-newline): Remove.
7017 (log-edit-require-final-newline)
7018 (log-edit-changelog-full-paragraphs): Default to t.
7019
7020 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
7021 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
7022 * vc/vc.el (vc-checkout-carefully): Likewise.
7023
7024 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
7025 (emerge-version): Remove.
7026
7027 * progmodes/compile.el (compile-internal): Remove.
7028 (compilation-parse-errors-function): Fix typo.
7029
7030 * international/mule.el (set-char-table-default): Remove.
7031 (set-coding-priority, make-coding-system, generic-char-p)
7032 (charset-list, charset-bytes, charset-id): Use declare to mark
7033 functions as obsolete.
7034
7035 * vc/pcvs-defs.el (cvs-buffer-name-alist)
7036 (cvs-invert-ignore-marks): Remove references to obsolete vars.
7037 * vc/vc-hooks.el (vc-default-registered): Don't use
7038 vc-master-templates.
7039
7040 * font-lock.el (font-lock-reference-face):
7041 Use define-obsolete-variable-alias.
7042
7043 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
7044 * calendar/calendar.el (calendar-font-lock-keywords):
7045 * calendar/diary-lib.el (diary-font-lock-keywords)
7046 (diary-fancy-font-lock-keywords):
7047 * textmodes/reftex-sel.el (reftex-insert-docstruct):
7048 * textmodes/reftex-index.el (reftex-insert-index):
7049 * textmodes/reftex-cite.el (reftex-format-bib-entry):
7050 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7051 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
7052 * progmodes/prolog.el (prolog-font-lock-keywords):
7053 * progmodes/idlwave.el (idlwave-idl-keywords):
7054 * progmodes/ada-mode.el (ada-font-lock-keywords):
7055 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
7056
7057 2012-09-24 Glenn Morris <rgm@gnu.org>
7058
7059 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
7060
7061 2012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
7062
7063 * progmodes/python.el (python-indent-line): More consistent cursor
7064 movement behavior.
7065
7066 2012-09-23 Stefan Merten <smerten@oekonux.de>
7067
7068 * textmodes/rst.el: Fix compiler warning.
7069
7070 2012-09-23 Roland Winkler <winkler@gnu.org>
7071
7072 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
7073 Transcribe also LaTeX hyphenation.
7074 (bibtex-reformat): Bug fix. Do not quote twice the elements of
7075 bibtex-reformat-previous-options.
7076
7077 2012-09-23 Roland Winkler <winkler@gnu.org>
7078
7079 * proced.el (proced-renice-command): New variable.
7080 (proced-marked-processes): New function.
7081 (proced-with-processes-buffer): New macro.
7082 (proced-send-signal): Use them.
7083 (proced-renice): New command bound to r.
7084
7085 2012-09-23 Roland Winkler <winkler@gnu.org>
7086
7087 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
7088 ibuffer-saved-filter-groups has one element, shortcut the call of
7089 completing-read. (Bug#12331)
7090
7091 2012-09-23 Chong Yidong <cyd@gnu.org>
7092
7093 * bindings.el (mode-line-toggle-read-only):
7094 * bs.el (bs-toggle-readonly):
7095 * buff-menu.el (Buffer-menu-toggle-read-only):
7096 * dired.el (dired-toggle-read-only):
7097 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
7098
7099 2012-09-23 Chong Yidong <cyd@gnu.org>
7100
7101 * image.el (image-type-available-p): Adapt to init-image-library
7102 argument changes.
7103
7104 2012-09-22 Juri Linkov <juri@jurta.org>
7105
7106 * dired.el (dired-mode-map): Add [remap read-only-mode] for
7107 `dired-toggle-read-only'. (Bug#12462)
7108
7109 2012-09-22 Martin Rudalics <rudalics@gmx.at>
7110
7111 * subr.el (temp-output-buffer-show): New function.
7112 (with-output-to-temp-buffer): Call temp-output-buffer-show
7113 instead of internal-temp-output-buffer-show.
7114
7115 2012-09-22 Chong Yidong <cyd@gnu.org>
7116
7117 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
7118 (Bug#12462).
7119
7120 * repeat.el (repeat): Doc fix (Bug#12348).
7121
7122 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
7123 (Bug#10909).
7124
7125 * simple.el (shell-command-on-region): Doc fix.
7126 (read-only-mode): Doc fix.
7127
7128 2012-09-22 Eli Zaretskii <eliz@gnu.org>
7129
7130 * emacs-lisp/timer.el (run-with-idle-timer)
7131 (timer-activate-when-idle): Warn against reinvoking an idle timer
7132 from within its own timer action. (Bug#12447)
7133
7134 2012-09-22 Martin Rudalics <rudalics@gmx.at>
7135
7136 * cus-start.el (window-combination-limit): Add new optional
7137 values.
7138 * window.el (temp-buffer-window-show)
7139 (window--try-to-split-window): Handle new values of
7140 window-combination-limit (Bug#1806).
7141 (split-window): Test window-combination-limit for t instead of
7142 non-nil.
7143 (display-buffer-at-bottom): New buffer display action function.
7144 * help.el (temp-buffer-resize-regexps): New option.
7145 (temp-buffer-resize-mode): Rewrite doc-string.
7146 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
7147 Don't resize reused window. Suggested by Glenn Morris.
7148
7149 2012-09-22 Stefan Merten <smerten@oekonux.de>
7150
7151 * textmodes/rst.el: Revamp section title faces.
7152 (rst-official-version)
7153 (rst-package-emacs-version-alist): Sync with official version
7154 V1.4.0.
7155 (rst-faces-defaults, rst-set-level-default)
7156 (rst-level-face-max, rst-level-face-base-color)
7157 (rst-level-face-base-light, rst-level-face-format-light)
7158 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
7159 (rst-adornment-faces-alist): Match new setup.
7160 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
7161 (rst-level-5, rst-level-6): New faces.
7162
7163 2012-09-22 Chong Yidong <cyd@gnu.org>
7164
7165 * simple.el (undo): Handle indirect buffers (Bug#8207).
7166
7167 2012-09-21 Leo Liu <sdl.web@gmail.com>
7168
7169 IDO: Disable match re-ordering for buffer switching.
7170 * ido.el (ido-buffer-disable-smart-matches): New variable.
7171 (ido-set-matches-1): Use it. (Bug#2042)
7172
7173 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
7174
7175 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
7176 Fix 2011-05-17 change. (Bug#12418)
7177
7178 2012-09-21 Leo Liu <sdl.web@gmail.com>
7179
7180 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
7181
7182 2012-09-21 Glenn Morris <rgm@gnu.org>
7183
7184 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
7185 Be more robust about locating simple.el.
7186
7187 2012-09-21 Glenn Morris <rgm@gnu.org>
7188
7189 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
7190
7191 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
7192
7193 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
7194
7195 2012-09-20 Juri Linkov <juri@jurta.org>
7196
7197 * replace.el (query-replace-read-from): Use `read-regexp' instead
7198 of `read-from-minibuffer' when `regexp-flag' is non-nil.
7199 (occur-read-primary-args): Use `read-regexp' instead of
7200 `read-string'.
7201 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
7202 `read-from-minibuffer'.
7203 * isearch.el (isearch-occur): Use `read-regexp' instead of
7204 `read-string'.
7205 * dired.el (dired-read-regexp): Use `read-regexp' instead of
7206 `read-from-minibuffer'.
7207 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
7208 of `read-string'. (Bug#7567)
7209
7210 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
7211 and allow accepting a list of strings prepended to a list of
7212 standard default values. Doc fix. (Bug#12321)
7213
7214 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
7215
7216 * replace.el (read-regexp): Don't add ": " when PROMPT already
7217 ends with a colon and space. (Bug#12321)
7218
7219 2012-09-20 Tassilo Horn <tsdh@gnu.org>
7220
7221 * doc-view.el (doc-view-display): Better fix for the cl-assertion
7222 error.
7223
7224 2012-09-20 Stefan Merten <smerten@oekonux.de>
7225
7226 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
7227 Fixes feature request bug#11711.
7228 (rst-mode): Create `imenu-create-index-function'.
7229 (rst-get-stripped-line): Delete after refactoring.
7230 (rst-section-tree, rst-section-tree-rec)
7231 (rst-section-tree-point): Refactor and document properly.
7232 (rst-imenu-find-adornments-for-position)
7233 (rst-imenu-convert-cell, rst-imenu-create-index):
7234 New function.
7235
7236 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
7237
7238 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
7239 (macroexp--expand-all): Use it.
7240 (macroexp--funcall-and-return): Remove by folding it into its sole
7241 caller (macroexp--warn-and-return).
7242 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
7243 Use macroexp--obsolete-warning.
7244
7245 * calc/calc.el: Fix last change by removing the whole chunk, since it
7246 was only needed back when Calc was not bundled.
7247
7248 2012-09-20 Martin Rudalics <rudalics@gmx.at>
7249
7250 * emacs-lisp/debug.el (debug): Restore assignment to
7251 debugger-old-buffer removed on 2012-09-08.
7252
7253 2012-09-20 Juri Linkov <juri@jurta.org>
7254
7255 * dired-aux.el (dired-diff): Remove (require 'diff) since
7256 `diff-latest-backup-file' is now autoloaded.
7257
7258 2012-09-20 Chong Yidong <cyd@gnu.org>
7259
7260 * vc/diff.el (diff-latest-backup-file): Autoload.
7261
7262 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
7263
7264 * calc/calc.el: Remove redundant autoload shape check.
7265 (sel-mode): Don't defvar.
7266 (calc-get-stack-element): Add `sel-mode' arg instead.
7267 (calc-top, calc-top-list): Pass it this additional argument.
7268 * calc/calc-store.el (calc-store-map):
7269 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
7270 (calc-map-equation, calc-outer-product, calc-inner-product):
7271 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
7272
7273 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
7274
7275 2012-09-19 Juri Linkov <juri@jurta.org>
7276
7277 * dired-aux.el (dired-diff): Add (require 'diff) because
7278 `diff-latest-backup-file' is not autoloaded.
7279 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
7280 of `dired-get-filename' to t to not report error when there is
7281 no default file on the current line.
7282
7283 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7284
7285 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
7286 macroexp--eval-if-compile.
7287 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
7288 (macroexp--expand-all): Use them (bug#12371).
7289
7290 * doc-view.el (doc-view-guess-paper-size)
7291 (doc-view-scale-bounding-box): Fix unbound `caddr'.
7292
7293 2012-09-19 Tassilo Horn <tsdh@gnu.org>
7294
7295 New feature: set optimal slice from BoundingBox information.
7296 * doc-view.el (doc-view-mode-map): Add keybinding.
7297 (doc-view-menu): Add menu entry.
7298 (doc-view-set-slice): Adapt docstring.
7299 (doc-view-get-bounding-box, doc-view-guess-paper-size)
7300 (doc-view-scale-bounding-box)
7301 (doc-view-set-slice-from-bounding-box): New functions.
7302 (doc-view-paper-sizes): New defvar.
7303
7304 2012-09-19 Glenn Morris <rgm@gnu.org>
7305
7306 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
7307 (byte-compile-log-warning): Autoload. (Bug#12371)
7308
7309 * calendar/calendar.el (calendar-american-month-header)
7310 (calendar-european-month-header, calendar-iso-month-header)
7311 (calendar-month-header): New options.
7312 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
7313 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
7314
7315 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
7316
7317 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
7318
7319 2012-09-18 Juri Linkov <juri@jurta.org>
7320
7321 * dired-aux.el (dired-diff): Restore original functionality of
7322 getting the default value, but keep new feature of using the
7323 latest existing backup file (`diff-latest-backup-file').
7324
7325 2012-09-18 Juri Linkov <juri@jurta.org>
7326
7327 * dired.el (dired-mark): If the region is active in Transient Mark
7328 mode, mark all files in the active region. Doc fix.
7329 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
7330 Doc fix. (Bug#10624)
7331
7332 2012-09-18 Juri Linkov <juri@jurta.org>
7333
7334 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
7335 attributes for M-n are pulled from the file at point.
7336 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
7337 Suggested by Drew Adams. (Bug#10624)
7338
7339 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
7340
7341 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
7342 whitespace after "end".
7343 (ruby-do-end-to-brace): Collapse block to one line if it fits
7344 within fill-column.
7345
7346 2012-09-18 Martin Rudalics <rudalics@gmx.at>
7347
7348 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
7349 value.
7350 (debug): Don't remove debugger window when debugger is expected
7351 to be back.
7352
7353 2012-09-18 Chong Yidong <cyd@gnu.org>
7354
7355 * custom.el (defface): Doc fix.
7356
7357 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
7358
7359 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
7360
7361 * progmodes/compile.el (compilation-start): Use compilation-always-kill
7362 to initialize query-on-exit; then test that instead (bug#12288).
7363
7364 2012-09-17 Stefan Merten <smerten@oekonux.de>
7365
7366 * textmodes/rst.el: Add support for `testcover'.
7367 (rst-defcustom-testcover, rst-testcover-add-compose)
7368 (rst-testcover-add-1value): New functions.
7369 (rst-portable-mark-active-p): Replace by `use-region-p'.
7370 (rst-update-section, rst-classify-adornment)
7371 (rst-find-title-line): Mark `1value' forms.
7372 (rst-classify-adornment): Remove superfluous form.
7373 (rst-update-section, rst-get-adornments-around)
7374 (rst-adornment-complete-p, rst-get-next-adornment)
7375 (rst-adjust, rst-promote-region)
7376 (rst-display-adornments-hierarchy, rst-straighten-adornments)
7377 (rst-find-pfx-in-region, rst-section-tree-rec)
7378 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
7379 (rst-toc-node, rst-toc, rst-forward-section)
7380 (rst-iterate-leftmost-paragraphs)
7381 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
7382 (rst-bullet-list-region)
7383 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
7384 (rst-compile-find-conf, rst-compile)
7385 (rst-repeat-last-character): Fix style.
7386
7387 2012-09-17 Chong Yidong <cyd@gnu.org>
7388
7389 * comint.el (comint--complete-file-name-data): Don't add a space
7390 if the status is `sole'; that adds a gratuitous space in the
7391 completion-cycling case (Bug#12092).
7392
7393 * pcomplete.el (pcomplete-completions-at-point): Likewise.
7394
7395 2012-09-17 Richard Stallman <rms@gnu.org>
7396
7397 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
7398 only in the mime-shown mode, not in raw mode.
7399 (rmail-mime): Toggle off mime by displaying the message without
7400 mime processing. (Bug#12305)
7401
7402 * mail/rmail.el (rmail-retry-failure):
7403 Turn off mime processing first. (Bug#12037)
7404
7405 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
7406
7407 2012-09-17 Chong Yidong <cyd@gnu.org>
7408
7409 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
7410 (shell-dynamic-complete-functions): Convert to defcustom.
7411 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
7412
7413 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
7414 * comint.el (comint-prompt-read-only):
7415 * custom.el (defcustom):
7416 * hi-lock.el (hi-lock-mode):
7417 * ibuffer.el (ibuffer-formats):
7418 * ielm.el (ielm-prompt-read-only):
7419 * novice.el (disable-command):
7420 * saveplace.el (toggle-save-place):
7421 * speedbar.el (speedbar-supported-extension-expressions):
7422 * startup.el (auto-save-list-file-prefix, init-file-user)
7423 (after-init-hook, inhibit-startup-echo-area-message):
7424 * strokes.el (strokes-help):
7425 * time-stamp.el (time-stamp):
7426 * calendar/calendar.el (calendar, diary-file):
7427 * calendar/diary-lib.el (diary-mail-entries, diary)
7428 (diary-list-entries-hook):
7429 * calendar/holidays.el (holidays, calendar-holidays):
7430 * calendar/lunar.el (lunar-phases):
7431 * calendar/solar.el (sunrise-sunset):
7432 * emulation/edt.el (edt-load-keys):
7433 * emulation/viper.el (viper-mode):
7434 * eshell/em-alias.el (eshell-command-aliases-list):
7435 * eshell/esh-util.el (eshell-convert-numeric-arguments):
7436 * international/ogonek.el (ogonek-information):
7437 * net/tramp-cmds.el (tramp-bug):
7438 * net/quickurl.el (quickurl-reread-hook-postfix):
7439 * play/decipher.el (decipher-font-lock-keywords):
7440 * progmodes/cc-styles.el (c-set-style):
7441 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
7442 * progmodes/inf-lisp.el (inferior-lisp-prompt):
7443 * progmodes/octave-mod.el (octave-mode):
7444 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
7445 * progmodes/verilog-mode.el (verilog-read-defines):
7446 * textmodes/two-column.el (2C-mode): Likewise.
7447
7448 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
7449
7450 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
7451 that holds many addresses.
7452
7453 2012-09-16 Chong Yidong <cyd@gnu.org>
7454
7455 * align.el (align-areas): Call the indication function with
7456 positions instead of markers for arguments (Bug#12343).
7457
7458 * files.el (parse-colon-path): Use split-string (Bug#12351).
7459
7460 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
7461 (display-buffer-function): Mark as obsolete.
7462
7463 * progmodes/compile.el (compilation-parse-errors): Accept list
7464 values similar to font-lock-keywords (Bug#12136).
7465 Suggested by Oleksandr Manzyuk.
7466 (compilation-error-regexp-alist): Doc fix.
7467
7468 2012-09-15 Glenn Morris <rgm@gnu.org>
7469
7470 * version.el (emacs-bzr-version-bzr): New function.
7471 (emacs-bzr-get-version): Add optional EXTERNAL argument.
7472
7473 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
7474 checkouts, check the parent dirstate matches the branch.
7475 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
7476 empty string.
7477
7478 * version.el (emacs-bzr-version): Doc fix.
7479 (emacs-bzr-version-dirstate): New function.
7480 (emacs-bzr-get-version): For lightweight checkouts, if the parent
7481 is local try and check that it matches the branch. If not, just
7482 use dirstate information. (Bug#12441)
7483
7484 2012-09-14 Juri Linkov <juri@jurta.org>
7485
7486 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
7487 (Bug#12399)
7488
7489 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
7490
7491 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
7492
7493 * emacs-lisp/edebug.el: Miscellaneous cleanup.
7494 Remove obsolete byte-compiler hack that tried to silence some warnings.
7495 (edebug-submit-bug-report): Remove.
7496 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
7497 Remove aliases, use the un-prefixed name instead.
7498 (edebug-pop-to-buffer): Consider other frames.
7499 (edebug-original-read):: Make it more obvious that it's always defined.
7500 (edebug--make-form-data-entry, edebug--form-data-name)
7501 (edebug--form-data-begin, edebug--form-data-end): Rename from the
7502 single-dashed name, and implement with cl-defstruct.
7503 (edebug-set-form-data-entry): Use the standard accessors.
7504 (edebug-make-top-form-data-entry): Use push.
7505 (edebug-no-match): Drop useless `funcall'.
7506 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
7507 to functions.
7508 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
7509 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
7510 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
7511 (easy-menu-define, with-custom-print): Remove redundant specs.
7512 (edebug-outside-overriding-local-map)
7513 (edebug-outside-overriding-terminal-local-map): Remove, unused.
7514 (edebug--display): Bind unread-command-events directly to nil rather
7515 than binding it to unread-command-events and later setting it to nil.
7516 (edebug--display): Kill edebug-eval-buffer here...
7517 (edebug--recursive-edit): ...rather than here.
7518 Bind standard-output and standard-input.
7519 (edebug-eval): Check cl-macroexpand-all is fboundp.
7520 (edebug-temp-display-freq-count): Fix last change.
7521
7522 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
7523 * subr.el (noreturn, 1value): Add `debug' spec.
7524 * emacs-lisp/advice.el: Require cl-lib.
7525 (ad-copy-tree): Remove, use copy-tree instead.
7526 (ad-dolist): Remove use dolist or cl-dolist instead.
7527 (ad-do-return): Remove, use cl-return instead.
7528 (defadvice): Add `debug' spec.
7529
7530 2012-09-13 Juri Linkov <juri@jurta.org>
7531
7532 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
7533 (Bug#12399)
7534
7535 2012-09-13 Glenn Morris <rgm@gnu.org>
7536
7537 * calc/calc.el (math-compose-expr):
7538 * calc/calc-ext.el (math-compose-expr):
7539 * progmodes/cc-defs.el (cl-macroexpand-all):
7540 * progmodes/cc-langs.el (delete-duplicates, mapcan)
7541 (cl-macroexpand-all): Update declarations.
7542
7543 * vc/vc.el: No need to require ediff.
7544 (ediff-load-version-control): Declare.
7545 (ediff-vc-internal): Fix declaration.
7546 (vc-version-ediff): Require ediff.
7547
7548 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
7549
7550 Use a more backwards-compatible timer format (Bug#12430).
7551 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
7552 being right after USECS, as that better supports old code that
7553 inadvisedly looked directly at the timer vector.
7554
7555 2012-09-13 Kenichi Handa <handa@gnu.org>
7556
7557 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
7558 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
7559 `coding-priority' property of these language environment.
7560
7561 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
7562
7563 Fix glitches caused by addition of psec to timers (Bug#12430).
7564 * image.el (image-animate-timer):
7565 * time.el (display-time-world-timer):
7566 Use timer--function and timer--args rather than raw access to
7567 timer vector.
7568
7569 2012-09-13 Glenn Morris <rgm@gnu.org>
7570
7571 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
7572 If not compiling a file, try using load-file-name.
7573
7574 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
7575
7576 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
7577 Fix last change.
7578 (edebug-update-eval-list): Use `push'.
7579
7580 * emacs-lisp/edebug.el: Use lexical-binding.
7581 Remove the "edebug-" prefix from non-dynamically-scoped variables.
7582 Mark unused args with underscore.
7583 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
7584 (edebug-form-data): Use defvar-local.
7585 (edebug-make-before-and-after-form, edebug-make-after-form):
7586 Use backquote.
7587 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
7588 Not dynamically scoped any more.
7589 (edebug--enter-trace): Add arguments `function' and `args'.
7590 Rename from edebug-enter-trace.
7591 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
7592 (edebug--update-coverage): Add `after-index' and `value' args.
7593 Rename from edebug-update-coverage.
7594 (edebug-slow-after): Call it accordingly.
7595 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
7596 edebug-recursive-edit.
7597 (edebug--display): Call it accordingly. Add args `value',
7598 `offset-index', and `arg-mode'. Rename from edebug-display.
7599 (edebug-debugger, edebug): Call it accordingly.
7600 (edebug-eval-display-list): Use dolist.
7601
7602 2012-09-12 Juri Linkov <juri@jurta.org>
7603
7604 * info.el (Info-search): Don't check for isearch-mode and
7605 isearch-regexp before let-binding search-spaces-regexp to
7606 Info-search-whitespace-regexp.
7607 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
7608 search-whitespace-regexp if isearch-lax-whitespace or
7609 isearch-regexp-lax-whitespace is non-nil.
7610 (Info-mode): Don't set local variable search-whitespace-regexp.
7611 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
7612
7613 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7614
7615 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
7616 (debugger-env-macro): Remove support for unread-command-char.
7617
7618 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
7619 the temporary map re-appearing on emulation-mode-map-alists.
7620
7621 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
7622 since 22.1.
7623
7624 * ehelp.el (with-electric-help): Accept functions in
7625 electric-help-form-to-execute.
7626 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
7627 And replace unread-command-char -> unread-command-events.
7628
7629 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
7630
7631 Sync with Tramp 2.2.6.
7632
7633 * net/tramp.el (tramp-accept-process-output): Don't use
7634 JUST-THIS-ONE in the XEmacs case.
7635
7636 * net/trampver.el: Update release number.
7637
7638 2012-09-12 Martin Rudalics <rudalics@gmx.at>
7639
7640 * emacs-lisp/debug.el (debugger-previous-window-height):
7641 New variable.
7642 (debug): When debugger-jumping-flag is non-nil try to restore
7643 height of debugger window. (Bug#8789)
7644
7645 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7646
7647 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
7648 overriding-local-map and pre/post-command-hook here.
7649 (edebug-recursive-edit): Do it here instead (bug#12345).
7650 (edebug-outside-unread-command-char): Remove all uses of
7651 unread-command-char.
7652
7653 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
7654 inhibit-debugger is bound instead.
7655
7656 2012-09-11 Bastien Guerry <bzg@gnu.org>
7657
7658 * subr.el (set-temporary-overlay-map): Add a docstring.
7659 (Bug#12346)
7660
7661 2012-09-11 Bastien Guerry <bzg@gnu.org>
7662
7663 * minibuffer.el (completion-table-subvert): Fix docstring.
7664 (Bug#12347)
7665
7666 2012-09-11 Bastien Guerry <bzg@gnu.org>
7667
7668 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
7669
7670 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
7671
7672 * progmodes/sql.el: Version 3.1
7673 (sql-db2-escape-newlines): New variable.
7674 (sql-escape-newlines-filter): Use it.
7675
7676 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
7677
7678 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
7679
7680 2012-09-10 Dan Nicolaescu <dann@gnu.org>
7681
7682 * vc/diff-mode.el (diff-mode-menu):
7683 Bind diff-remove-trailing-whitespace.
7684
7685 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
7686
7687 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
7688 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
7689 (emacs-lisp-byte-code-mode): New functions.
7690 (eval-sexp-add-defvars): Don't skip defvars in column >0.
7691 (eval-defun-2): Remove bogus interactive spec.
7692 (lisp-indent-line): Remove redundant whole-exp code, now done in
7693 indent-according-to-mode.
7694 (save-match-data): Remove redundant indent data.
7695
7696 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
7697 Use `declare'.
7698
7699 2012-09-09 Juri Linkov <juri@jurta.org>
7700
7701 * replace.el (replace-regexp-lax-whitespace): New defcustom.
7702 (replace-lax-whitespace, query-replace-regexp)
7703 (query-replace-regexp-eval, replace-regexp): Doc fix.
7704 (perform-replace, replace-highlight): Let-bind
7705 isearch-lax-whitespace to replace-lax-whitespace and
7706 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
7707
7708 * isearch.el (isearch-query-replace): Let-bind
7709 replace-lax-whitespace to isearch-lax-whitespace and
7710 replace-regexp-lax-whitespace to
7711 isearch-regexp-lax-whitespace. (Bug#10885)
7712
7713 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
7714
7715 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
7716
7717 2012-09-09 Alan Mackenzie <acm@muc.de>
7718
7719 * progmodes/cc-engine.el (c-state-cache-init):
7720 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
7721 (c-record-parse-state-state):
7722 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
7723
7724 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
7725
7726 * register.el (register-separator): Rename from
7727 separator-register. All uses changed. Doc fix.
7728 (register): Fix version.
7729
7730 2012-09-09 Chong Yidong <cyd@gnu.org>
7731
7732 * replace.el (query-replace-map): Bind four new symbols for
7733 requesting window scrolling.
7734
7735 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
7736 query-replace-map (Bug#8948).
7737
7738 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
7739
7740 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
7741 since they are now in query-replace-map.
7742
7743 * window.el (scroll-other-window-down): Make the arg optional.
7744
7745 2012-09-09 Chong Yidong <cyd@gnu.org>
7746
7747 * files.el (hack-local-variables-confirm): Use quit-window to kill
7748 the *Local Variables* buffer.
7749
7750 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
7751
7752 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
7753 not just expect to be at its beginning. Adjust callees.
7754 Succeed when do-end block has no space before the pipe character.
7755 (ruby-brace-to-do-end): When the original block is one-liner,
7756 convert to multiline. Reindent the result.
7757
7758 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
7759
7760 * register.el (register): New group.
7761 (separator-register): New user option.
7762 (increment-register): Route it to `append-to-register', if
7763 register contains text. Implication is that `C-x r +' can now be
7764 used for appending to a text register (bug#12217).
7765 (append-to-register, prepend-to-register): Add separator based on
7766 `separator-register'.
7767
7768 2012-09-08 Alan Mackenzie <acm@muc.de>
7769
7770 AWK Mode: make auto-newline work when there's "==" in the pattern.
7771 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
7772 correctly.
7773 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
7774 Test more rigorously for "=" token.
7775
7776 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
7777
7778 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
7779 Only fail when reached LIMIT.
7780
7781 2012-09-08 Chong Yidong <cyd@gnu.org>
7782
7783 * dired.el (dired-mode-map): Don't bind M-=.
7784
7785 * dired-aux.el (dired-diff): Use backup file as default.
7786
7787 2012-09-08 Drew Adams <drew.adams@oracle.com>
7788
7789 * subr.el (add-to-history): Fix delete usage (Bug#12314).
7790
7791 2012-09-08 Chong Yidong <cyd@gnu.org>
7792
7793 * subr.el (syntax-after, syntax-class): Doc fix.
7794
7795 2012-09-08 Martin Rudalics <rudalics@gmx.at>
7796
7797 * window.el (display-buffer-in-previous-window): New buffer
7798 display action function.
7799
7800 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
7801 (debugger-previous-window): New variable.
7802 (debug): Rewrite using display-buffer-in-previous-window,
7803 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
7804
7805 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
7806
7807 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
7808
7809 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
7810
7811 * progmodes/python.el (python-shell-send-string):
7812 When default-directory is remote, create temp file on remote
7813 filesystem.
7814 (python-shell-send-file): When file is remote, pass local view of
7815 file paths to remote Python interpreter. (Bug#12340)
7816
7817 2012-09-07 Chong Yidong <cyd@gnu.org>
7818
7819 * window.el (switch-to-buffer): Doc fix (Bug#12181).
7820
7821 * files.el (after-find-file): Don't fail on a read-only buffer if
7822 require-final-newline is `visit' or `visit-save' (Bug#11156).
7823
7824 * subr.el (read-char-choice): Allow quitting via ESC ESC.
7825
7826 * userlock.el (ask-user-about-supersession-threat):
7827 Use read-char-choice (Bug#12093).
7828
7829 2012-09-07 Chong Yidong <cyd@gnu.org>
7830
7831 * subr.el (buffer-narrowed-p): New function.
7832
7833 * ses.el (ses-widen):
7834 * simple.el (count-words--buffer-message):
7835 * net/browse-url.el (browse-url-of-buffer): Use it.
7836
7837 * simple.el (count-words-region): Don't signal an error if there
7838 is a non-nil prefix arg and the mark is not set.
7839
7840 * help.el (describe-key-briefly): Allow the message to be seen
7841 when invoked from the minibuffer (Bug#7014).
7842
7843 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
7844
7845 * progmodes/ruby-mode.el (ruby-end-of-defun)
7846 (ruby-beginning-of-defun): Simplify, allow indentation before
7847 block beginning and end keywords.
7848 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
7849 (ruby-end-of-defun): Expect that the point is at the beginning of
7850 the defun.
7851
7852 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7853
7854 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
7855 (bug#12367).
7856 (cl--make-usage-args): Strip _ from argument names.
7857
7858 2012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7859
7860 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
7861 obsolete alias speedbar-key-map.
7862 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
7863 (vhdl-index-menu-init): Don't use obsolete variable
7864 font-lock-maximum-size.
7865
7866 2012-09-06 Chong Yidong <cyd@gnu.org>
7867
7868 * frame.el (window-system-version): Mark as obsolete.
7869
7870 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
7871 of obsolete variable speedbar-key-map.
7872
7873 2012-09-06 Juri Linkov <juri@jurta.org>
7874
7875 * replace.el (replace-lax-whitespace): New defcustom.
7876 (query-replace, query-replace-regexp, query-replace-regexp-eval)
7877 (replace-string, replace-regexp): Mention it in docstrings.
7878 (perform-replace, replace-highlight): Let-bind
7879 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
7880 to the values of replace-lax-whitespace and regexp-flag.
7881 Don't let-bind search-whitespace-regexp. (Bug#10885)
7882
7883 * isearch.el (isearch-query-replace): Let-bind
7884 replace-lax-whitespace instead of let-binding
7885 replace-search-function and replace-re-search-function.
7886 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
7887 and isearch-regexp-lax-whitespace to lazy-highlight variables.
7888 (isearch-toggle-symbol): Set isearch-regexp to nil
7889 in isearch-word mode (like in isearch-toggle-word).
7890
7891 2012-09-06 Juri Linkov <juri@jurta.org>
7892
7893 * replace.el (replace-search-function)
7894 (replace-re-search-function): Set default values to nil.
7895 (perform-replace): Let-bind isearch-related variables based on
7896 replace-related values, call `isearch-search-fun' and let-bind
7897 the result to `search-function'. Remove code that sets
7898 `search-function' and `search-string' separately for
7899 `delimited-flag'.
7900 (replace-highlight): Add new argument `delimited-flag' and
7901 rename other arguments to the names used in `perform-replace'.
7902 Let-bind `isearch-word' to the argument `delimited-flag'.
7903 (Bug#10885, bug#10887)
7904
7905 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
7906
7907 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
7908 ruby-beginning-of-indent, simplify, allow all keywords to have
7909 indentation before them.
7910 (ruby-beginning-of-indent): Adjust for above. Search until the
7911 found point is not inside a string or comment.
7912 (ruby-font-lock-keywords): Allow symbols to start with "@"
7913 character, give them higher priority than variables.
7914 (ruby-syntax-propertize-function)
7915 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
7916 matchers. Expression expansions are not comments when inside a
7917 string, and there comment syntax status is irrelevant.
7918 (ruby-match-expression-expansion): New function. Check that
7919 expression expansion is inside a string, and it's not escaped.
7920 (ruby-font-lock-keywords): Use it.
7921
7922 2012-09-05 Martin Rudalics <rudalics@gmx.at>
7923
7924 * help.el (temp-buffer-max-height): New default value.
7925 (temp-buffer-resize-frames): New option.
7926 (resize-temp-buffer-window): Optionally resize frame.
7927
7928 * window.el (fit-frame-to-buffer-bottom-margin): New option.
7929 (fit-frame-to-buffer): New function.
7930
7931 2012-09-05 Glenn Morris <rgm@gnu.org>
7932
7933 * emulation/cua-rect.el (cua--init-rectangles):
7934 * textmodes/picture.el (picture-mode-map):
7935 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
7936 like forward-char and backward-char. (Bug#12317)
7937
7938 2012-09-05 Leo Liu <sdl.web@gmail.com>
7939
7940 * progmodes/flymake.el (flymake-warning-re): New variable.
7941 (flymake-parse-line): Use it.
7942
7943 2012-09-05 Glenn Morris <rgm@gnu.org>
7944
7945 * calendar/holidays.el (holiday-christian-holidays):
7946 Rename an entry. (Bug#12289)
7947
7948 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
7949
7950 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
7951 (bug#12222).
7952
7953 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
7954
7955 * loadup.el: Load macroexp. Remove hack.
7956 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
7957 (macroexp--expand-all): Use it to get better warnings.
7958 (macroexp--backtrace, macroexp--trim-backtrace-frame)
7959 (internal-macroexpand-for-load): New functions.
7960 (macroexp--pending-eager-loads): New var.
7961 (emacs-startup-hook): New hack to replace one in loadup.el.
7962 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
7963 (cl--compiler-macro-cXXr): Move to top, before they can be used.
7964 (cl-psetf): Simplify.
7965 (cl-defstruct): Add indent rule.
7966
7967 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
7968
7969 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
7970 over `user-mail-address' for the SMTP MAIL FROM envelope.
7971 (smtpmail-via-smtp): Ditto.
7972
7973 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
7974
7975 * progmodes/ruby-mode.el: Clean up keybindings.
7976 (ruby-mode-map): Don't bind ruby-electric-brace,
7977 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
7978 backward-kill-word, reindent-then-newline-and-indent.
7979 (ruby-mark-defun): Remove.
7980 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
7981 (ruby-mode): Set local beginning-of-defun-function and
7982 end-of-defun-function values.
7983
7984 2012-09-03 Martin Rudalics <rudalics@gmx.at>
7985
7986 * window.el (temp-buffer-window-setup-hook)
7987 (temp-buffer-window-show-hook): New hooks.
7988 (temp-buffer-window-setup, temp-buffer-window-show)
7989 (with-temp-buffer-window): New functions.
7990 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
7991 (special-display-popup-frame): Make sure the window used shows BUFFER.
7992
7993 * help.el (temp-buffer-resize-mode): Fix doc-string.
7994 (resize-temp-buffer-window): New optional argument WINDOW.
7995
7996 * files.el (recover-file, save-buffers-kill-emacs):
7997 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
7998
7999 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
8000
8001 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
8002 remote definition of `default-directory', ensure we can connect.
8003
8004 2012-09-02 Juri Linkov <juri@jurta.org>
8005
8006 Toggle whitespace matching mode with M-s SPC.
8007 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
8008
8009 * isearch.el (search-whitespace-regexp): Doc fix.
8010 Remove cons cell customization.
8011 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
8012 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
8013 New variables.
8014 (isearch-forward, isearch-forward-regexp): Doc fix.
8015 (isearch-toggle-lax-whitespace): New command.
8016 (search-forward-lax-whitespace, search-backward-lax-whitespace)
8017 (re-search-forward-lax-whitespace)
8018 (re-search-backward-lax-whitespace): New functions.
8019 (isearch-whitespace-regexp): Remove function.
8020 (isearch-query-replace): Let-bind replace-search-function and
8021 replace-re-search-function.
8022 (isearch-occur): Let-bind search-spaces-regexp according to the
8023 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
8024 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
8025 condition for C-q SPC.
8026 (isearch-search-fun-default): Use new functions mentioned above.
8027 (isearch-search-forward, isearch-search-backward): Remove functions.
8028 (isearch-search): Don't let-bind search-spaces-regexp.
8029 (isearch-lazy-highlight-space-regexp): Remove variable.
8030 (isearch-lazy-highlight-lax-whitespace)
8031 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
8032 (isearch-lazy-highlight-new-loop): Use them.
8033 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
8034
8035 2012-09-02 Chong Yidong <cyd@gnu.org>
8036
8037 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
8038
8039 2012-09-02 Glenn Morris <rgm@gnu.org>
8040
8041 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
8042
8043 2012-09-01 Glenn Morris <rgm@gnu.org>
8044
8045 * term.el: Tidy up menu definitions.
8046 (term-mode-map): Use easymenu for In/Out, Complete menus.
8047 (term-pager-break-map): Initialize in the defvar.
8048 (term-terminal-menu, term-signals-menu): Define with easymenu.
8049 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
8050 (term-pager-menu): New, extracted from term-process-pager.
8051 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
8052 (term-update-mode-line): Propertize line/char and page items.
8053 (term-process-pager): Move keymap initialization elsewhere.
8054
8055 2012-09-01 Martin Rudalics <rudalics@gmx.at>
8056
8057 * window.el (switch-to-prev-buffer): Handle additional values of
8058 BURY-OR-KILL argument. Don't switch in minibuffer window.
8059 (switch-to-next-buffer): Don't switch in minibuffer window.
8060 (quit-restore-window): New function based on quit-window.
8061 Handle additional values of former KILL argument.
8062 (quit-window): Call quit-restore-window with appropriate
8063 interpretation of KILL argument.
8064 (display-buffer-below-selected): New buffer display action
8065 function.
8066
8067 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
8068
8069 * minibuffer.el (completion-at-point-functions): Complete docstring
8070 (bug#12254).
8071
8072 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
8073
8074 Better seed support for (random).
8075 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
8076 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
8077 * play/mpuz.el, play/tetris.el, play/zone.el:
8078 * calc/calc-comb.el (math-init-random-base):
8079 * play/blackbox.el (bb-init-board):
8080 * play/life.el (life):
8081 * server.el (server-use-tcp):
8082 * type-break.el (type-break):
8083 Remove unnecessary call to (random t).
8084 * net/sasl.el (sasl-unique-id-function):
8085 Change (random t) to (random), now that the latter is more random.
8086 * play/life.el (life-initialized): Remove no-longer-needed var.
8087
8088 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
8089
8090 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
8091 Consider frame's buffer predicate when choosing the buffer.
8092 (Bug#12081)
8093
8094 2012-08-30 Richard Stallman <rms@gnu.org>
8095
8096 * simple.el (special-mode-map): Delete binding for `z'.
8097
8098 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
8099
8100 * progmodes/compile.el (compilation-always-kill): Doc fix.
8101
8102 2012-08-30 Chong Yidong <cyd@gnu.org>
8103
8104 * window.el (display-buffer-reuse-frames): Make the obsolescence
8105 message more informative.
8106
8107 2012-08-30 Glenn Morris <rgm@gnu.org>
8108
8109 * paren.el (show-paren-delay):
8110 Add a :set function. Doc fix. (Bug#12297)
8111
8112 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
8113
8114 * progmodes/compile.el (compilation-always-kill): New var.
8115 (compilation-start): Use it.
8116
8117 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
8118
8119 * simple.el (read-only-mode): Move from files.el for bootstrapping.
8120 * files.el (read-only-mode): Move to simple.el.
8121
8122 * files.el (read-only-mode): New minor mode.
8123 (toggle-read-only): Use it and mark obsolete.
8124 (find-file--read-only):
8125 * vc/vc.el (vc-next-action, vc-checkout):
8126 * vc/vc-cvs.el (vc-cvs-checkout):
8127 * obsolete/vc-mcvs.el (vc-mcvs-update):
8128 * ffap.el (ffap--toggle-read-only): Update callers.
8129
8130 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
8131
8132 * eshell/esh-ext.el (eshell-external-command): Do not examine
8133 remote shell scripts.
8134 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
8135
8136 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
8137 "/usr/local/sbin".
8138
8139 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
8140
8141 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
8142
8143 2012-08-28 Leo Liu <sdl.web@gmail.com>
8144
8145 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
8146 completion-at-point. (Bug#12220)
8147
8148 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
8149
8150 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
8151
8152 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
8153
8154 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
8155 be buffer-local; add delete-trailing-whitespace (bug#12259).
8156
8157 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
8158
8159 * progmodes/hideif.el (hif-compress-define-list):
8160 Fix typo. (Bug#11951)
8161
8162 2012-08-28 Dan Nicolaescu <dann@gnu.org>
8163
8164 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
8165 buffer local setting.
8166
8167 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
8168 rcirc-encode-coding-system.
8169
8170 2012-08-28 Leo Liu <sdl.web@gmail.com>
8171
8172 * net/rcirc.el (rcirc-split-message): New function.
8173 (rcirc-send-message): Use it. (Bug#12051)
8174
8175 2012-08-28 Juri Linkov <juri@jurta.org>
8176
8177 * info.el (Info-fontify-node): Hide empty lines at the end of
8178 the node. (Bug#12272)
8179
8180 2012-08-27 Drew Adams <drew.adams@oracle.com>
8181
8182 * dired.el (dired-pop-to-buffer): Make window start at beginning
8183 of buffer (Bug#12281).
8184
8185 2012-08-26 Chong Yidong <cyd@gnu.org>
8186
8187 * window.el (special-display-regexps, special-display-frame-alist)
8188 (special-display-buffer-names, special-display-function)
8189 (display-buffer-reuse-frames): Mark as obsolete.
8190
8191 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
8192
8193 * help.el (help-print-return-message): Don't treat
8194 display-buffer-reuse-frames specially.
8195
8196 2012-08-26 Chong Yidong <cyd@gnu.org>
8197
8198 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
8199 New variable, replacing gdb-frame-parameters.
8200 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
8201 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
8202 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
8203 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
8204 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
8205 the functions directly with gdb-display-buffer-other-frame-action.
8206 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
8207 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
8208 (gdb-display-stack-buffer, gdb-display-locals-buffer)
8209 (gdb-display-registers-buffer): Define directly.
8210 (def-gdb-display-buffer): Macro deleted.
8211 (gdb-display-buffer): Remove second and third args, callers don't
8212 use them. Defer to the default display-buffer behavior, apart
8213 from making windows dedicated.
8214 (gdb-setup-windows): Don't call display-buffer unnecessarily.
8215
8216 * progmodes/gud.el (gud-display-line): Just use display-buffer.
8217
8218 * window.el (display-buffer-pop-up-frame): Handle a
8219 pop-up-frame-parameters alist entry.
8220 (display-buffer): Document it.
8221
8222 2012-08-26 Chong Yidong <cyd@gnu.org>
8223
8224 * isearch.el (search-whitespace-regexp): Make string and nil
8225 values apply to both ordinary and regexp search. Allow a cons
8226 cell value to distinguish between the two.
8227 (isearch-whitespace-regexp, isearch-search-forward)
8228 (isearch-search-backward): New functions.
8229 (isearch-occur, isearch-search-fun-default, isearch-search)
8230 (isearch-lazy-highlight-new-loop): Use them.
8231 (isearch-forward, isearch-forward-regexp): Doc fix.
8232
8233 2012-08-26 Chong Yidong <cyd@gnu.org>
8234
8235 * faces.el (help-argument-name): Always inherit from italic
8236 (Bug#12213).
8237
8238 2012-08-25 Martin Rudalics <rudalics@gmx.at>
8239
8240 * window.el (window--even-window-heights): Even heights when
8241 WINDOW and the selected window form a vertical combination.
8242 (display-buffer-use-some-window): Provide that window used gets
8243 sized back by quit-window. (Bug#11880) and (Bug#12091)
8244
8245 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
8246
8247 Fix file time stamp problem with bzr and CVS (Bug#12001).
8248 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
8249 in the file's time stamp, since the version control system loses
8250 that information.
8251
8252 2012-08-22 Juri Linkov <juri@jurta.org>
8253
8254 * info.el (Info-fontify-node): Hide the suffix of the
8255 Info file name in the header line. (Bug#12187)
8256
8257 2012-08-22 Glenn Morris <rgm@gnu.org>
8258
8259 * calendar/cal-tex.el (cal-tex-weekly-common):
8260 Restore leading blank page.
8261
8262 2012-08-22 Le Wang <l26wang@gmail.com>
8263
8264 * misc.el (forward-to-word, backward-to-word): Activate or extend
8265 the region under `shift-select-mode'. (Bug#12231)
8266
8267 2012-08-22 Bastien Guerry <bzg@gnu.org>
8268
8269 * progmodes/executable.el (executable-prefix): Set to "#!" instead
8270 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
8271 gives details on why the space is never needed.
8272
8273 2012-08-22 Martin Rudalics <rudalics@gmx.at>
8274
8275 * window.el (walk-window-tree, window-with-parameter):
8276 New optional argument MINIBUF to control whether these functions
8277 should run on the minibuffer window.
8278 (window-at-side-list): Don't operate on minibuffer window.
8279 (window-in-direction): Simplify and rewrite doc-string.
8280 (window--size-ignore): Rename to window--size-ignore-p.
8281 Update callers.
8282 (display-buffer-in-atom-window, window--major-non-side-window)
8283 (window--major-side-window, display-buffer-in-major-side-window)
8284 (delete-side-window, display-buffer-in-side-window):
8285 New functions.
8286 (window--side-check, window-deletable-p, delete-window)
8287 (delete-other-windows, split-window): Handle side windows and
8288 atomic windows appropriately.
8289 (window--display-buffer): Call display-buffer-record-window also
8290 when the window buffer did not change.
8291
8292 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
8293
8294 * help-fns.el (help-fns--key-bindings):
8295 Abbreviate non-symbol remap targets. (Bug#12174)
8296
8297 2012-08-22 Martin Rudalics <rudalics@gmx.at>
8298
8299 * dired.el (dired-mark-remembered): Don't clobber point.
8300 (Bug#11795)
8301
8302 2012-08-22 Glenn Morris <rgm@gnu.org>
8303
8304 * progmodes/bug-reference.el (bug-reference): New custom group.
8305 (bug-reference-bug-regexp): Make it a defcustom.
8306
8307 2012-08-22 Daiki Ueno <ueno@unixuser.org>
8308
8309 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
8310 (js-paren-indent-offset, js-square-indent-offset)
8311 (js-curly-indent-offset): Add :safe (Bug#12257).
8312
8313 2012-08-22 Edward O'Connor <hober0@gmail.com>
8314
8315 * json.el (json-key-format): Add error properties.
8316 (json-encode-key): New function.
8317 (json-encode-hash-table, json-encode-alist, json-encode-plist):
8318 Use json-encode-key.
8319
8320 2012-08-22 Glenn Morris <rgm@gnu.org>
8321
8322 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
8323 (cal-tex-leftday, cal-tex-rightday): Remove functions.
8324 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
8325 Update for above change.
8326
8327 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
8328
8329 * cus-face.el (custom-face-attributes): Fix customize type for the
8330 :underline attribute. (Bug#11805)
8331
8332 2012-08-21 Martin Rudalics <rudalics@gmx.at>
8333
8334 * window.el (window-point-1, set-window-point-1): Remove.
8335 (window-in-direction, record-window-buffer)
8336 (set-window-buffer-start-and-point, split-window-below)
8337 (window--state-get-1, display-buffer-record-window):
8338 Replace calls to window-point-1 and set-window-point-1 by calls to
8339 window-point and set-window-point respectively.
8340
8341 2012-08-21 Glenn Morris <rgm@gnu.org>
8342
8343 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
8344 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
8345 Use it.
8346
8347 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
8348 (cal-tex-shortday): New function.
8349 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
8350 (cal-tex-cursor-filofax-daily): Use the above.
8351
8352 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
8353 New functions.
8354 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
8355 (cal-tex-cursor-filofax-week): Use them.
8356
8357 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
8358 New constants.
8359 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
8360 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
8361
8362 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
8363 (cal-tex-end-document): Don't rely on buffer name.
8364
8365 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
8366 Use cal-tex-vspace.
8367 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
8368 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
8369 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
8370 Use cal-tex-arg.
8371
8372 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
8373 (cal-tex-cursor-week, cal-tex-cursor-week2)
8374 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
8375 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
8376 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
8377 (cal-tex-insert-preamble, cal-tex-b-document)
8378 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
8379 Improve cal-tex-cmd usage.
8380
8381 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
8382 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
8383 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
8384 (cal-tex-weekly-paper): New function.
8385 (cal-tex-cursor-week, cal-tex-cursor-week2)
8386 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
8387 (cal-tex-cursor-day): Use it.
8388
8389 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
8390 (cal-tex-cursor-filofax-week): Remove leading blank page.
8391
8392 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
8393 Add autoload cookie. For now at least, don't use color, since
8394 no other cal-tex function does.
8395
8396 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
8397 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
8398 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
8399
8400 2012-08-21 Juri Linkov <juri@jurta.org>
8401
8402 * info.el (Info-file-attributes): New variable.
8403 (info-insert-file-contents): Add file attributes to
8404 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
8405 `Info-toc-nodes' when previous modtime of the Info file is less
8406 than new modtime.
8407 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
8408 of info.el. (Bug#12230)
8409
8410 2012-08-20 Glenn Morris <rgm@gnu.org>
8411
8412 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
8413 * calendar/holidays.el (calendar-holiday-list):
8414 Report errors with display-warning rather than beep'n'sleep.
8415
8416 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
8417
8418 * net/tramp.el (tramp-accept-process-output): Accept only output
8419 from PROC. Otherwise, process filters and sentinels might be
8420 confused. (Bug#12145)
8421
8422 2012-08-20 Chong Yidong <cyd@gnu.org>
8423
8424 * descr-text.el (describe-text-properties-1): Use overlays-in to
8425 report on empty overlays (Bug#3322).
8426
8427 2012-08-20 Glenn Morris <rgm@gnu.org>
8428
8429 * mail/rmailout.el (rmail-output-read-file-name):
8430 Trap and report errors in rmail-output-file-alist elements.
8431
8432 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
8433 since most non-font-lock faces are not also variables).
8434
8435 2012-08-20 Edward Reingold <reingold@iit.edu>
8436
8437 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
8438 New function. (Bug12160)
8439
8440 2012-08-19 Glenn Morris <rgm@gnu.org>
8441
8442 * mail/rmailout.el (rmail-output-read-file-name):
8443 Fix previous change (when the alist is nil or does not match).
8444
8445 2012-08-19 Chong Yidong <cyd@gnu.org>
8446
8447 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
8448 (Bug#12228).
8449
8450 2012-08-18 Chong Yidong <cyd@gnu.org>
8451
8452 * simple.el (yank-handled-properties): New defcustom.
8453 (yank-excluded-properties): Add font-lock-face and category.
8454 (yank): Doc fix.
8455
8456 * subr.el (remove-yank-excluded-properties):
8457 Obey yank-handled-properties. The special handling of font-lock-face
8458 and category is now done this way, instead of being hard-coded.
8459 (insert-for-yank-1): Remove font-lock-face handling.
8460 (yank-handle-font-lock-face-property)
8461 (yank-handle-category-property): New function.
8462
8463 2012-08-17 Glenn Morris <rgm@gnu.org>
8464
8465 * mail/rmailout.el (rmail-output-read-file-name):
8466 Check rmail-output-file-alist against the full message body
8467 in the correct rmail buffer. (Bug#12214)
8468
8469 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
8470
8471 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
8472 Eliminate superfluous prompt. (Bug#12203)
8473
8474 2012-08-17 Chong Yidong <cyd@gnu.org>
8475
8476 * mouse.el (mouse-appearance-menu): If x-select-font returns a
8477 font spec, set the font directly (Bug#3228).
8478
8479 2012-08-17 Martin Rudalics <rudalics@gmx.at>
8480
8481 * window.el (delete-window): Fix last fix.
8482
8483 2012-08-16 Martin Rudalics <rudalics@gmx.at>
8484
8485 * window.el (window-valid-p): Move to window.c.
8486 (window-child, window-child-count, window-last-child)
8487 (window-normalize-window, window-combined-p)
8488 (window-combinations, window-atom-root, window-min-size)
8489 (window-sizable, window-sizable-p, window-size-fixed-p)
8490 (window-min-delta, window-max-delta, window--resizable)
8491 (window--resizable-p, window-resizable, window-total-size)
8492 (window-full-height-p, window-full-width-p, window-body-size)
8493 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
8494 (minimize-window, window-deletable-p, delete-window)
8495 (delete-other-windows, set-window-buffer-start-and-point)
8496 (next-buffer, previous-buffer, split-window, balance-windows-2)
8497 (set-window-text-height, window-buffer-height)
8498 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
8499 (truncated-partial-width-window-p): Minor code adjustments.
8500 In doc-strings state whether the argument window has to denote a
8501 live, valid or any window.
8502
8503 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
8504
8505 * progmodes/subword.el (subword-forward-function)
8506 (subword-backward-function, subword-forward-regexp)
8507 (subword-backward-regexp): New variables.
8508 (subword-forward, subword-forward-internal, subword-backward-internal):
8509 Use new variables, eg so that different "word" definitions
8510 can be easily used. (Bug#11411)
8511
8512 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
8513
8514 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
8515 for composite selectors.
8516 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
8517 operation just because we can't find a previous revision.
8518
8519 2012-08-15 Chong Yidong <cyd@gnu.org>
8520
8521 * frame.el (set-frame-font): Accept font objects.
8522
8523 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
8524
8525 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
8526
8527 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
8528
8529 * man.el (Man-overstrike-face, Man-underline-face)
8530 (Man-reverse-face): Remove variables.
8531 (Man-overstrike, Man-underline, Man-reverse): New faces.
8532 (Man-fontify-manpage): Use them instead of the variables.
8533 (Man-cleanup-manpage): Comment change.
8534 (Man-ansi-color-map): New variable.
8535 (Man-fontify-manpage): Use it.
8536 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
8537
8538 Implement ANSI SGR parameters 22-27 (bug#12146).
8539 * ansi-color.el (ansi-colors): Doc fix.
8540 (ansi-color-context, ansi-color-context-region): Doc fix.
8541 (ansi-color--find-face): New function.
8542 (ansi-color-apply, ansi-color-apply-on-region): Use it.
8543 Rename the local variable `face' to `codes' since it is now a list of
8544 ansi codes. Doc fix.
8545 (ansi-color-get-face): Remove.
8546 (ansi-color-parse-sequence): New function, derived from
8547 ansi-color-get-face.
8548 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
8549 codes 22-27.
8550
8551 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
8552
8553 * subr.el (read-passwd): Allow use from a minibuffer.
8554
8555 2012-08-14 Eli Zaretskii <eliz@gnu.org>
8556
8557 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
8558 inside comments and strings as identifiers.
8559
8560 * progmodes/gud.el (gud-tooltip-print-command): Quote the
8561 expression to evaluate. This allows to evaluate expressions with
8562 embedded whitespace.
8563 (gud-tooltip-tips): Add a blank before the newline in the
8564 message-box text, for the benefit of message-box emulation on
8565 MS-Windows.
8566
8567 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
8568 messages from GDB, pop them up in a tooltip to give feedback to
8569 user.
8570 (gdb-tooltip-print-1): Quote the expression to evaluate.
8571 This allows to evaluate expressions with embedded whitespace.
8572 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
8573 if the TTY name is nil or empty (which happens when communicating
8574 with the inferior via pipes, e.g. on MS-Windows).
8575 (gdb-internals): If GDB sends a "&\n" empty debugging message,
8576 don't send that to the GUD buffer.
8577
8578 2012-08-14 Glenn Morris <rgm@gnu.org>
8579
8580 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
8581 Optimize away setq-default with no args, as for setq. (Bug#12195)
8582
8583 2012-08-14 Chong Yidong <cyd@gnu.org>
8584
8585 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
8586
8587 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
8588 (Bug#12085).
8589
8590 2012-08-14 Glenn Morris <rgm@gnu.org>
8591
8592 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
8593
8594 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
8595
8596 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
8597 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
8598 Use cached shell name.
8599
8600 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
8601
8602 * progmodes/python.el (python-shell-send-string):
8603 (python-shell-send-setup-code): Do not use `format' with `message'.
8604
8605 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
8606
8607 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
8608 (ruby-percent-literal-beg-re): New constant.
8609 (ruby-syntax-general-delimiters-goto-beg): Rename to
8610 `ruby-syntax-enclosing-percent-literal', improve literal type check.
8611 (ruby-syntax-propertize-general-delimiters): Rename to
8612 `ruby-syntax-propertize-percent-literal', it's a shorter and more
8613 popular term. Adjust comments everywhere.
8614 (ruby-syntax-propertize-percent-literal): Only propertize when not
8615 inside a simple string or comment. When the literal is unclosed,
8616 leave the text after it unpropertized.
8617 (ruby-syntax-methods-before-regexp): New constant.
8618 (ruby-syntax-propertize-function): Use it to recognize regexps.
8619 Don't look at the text after regexp, just use the whitelist.
8620
8621 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
8622
8623 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
8624 non-nil always load the compiled file if it exists. (Bug#12197)
8625
8626 2012-08-14 Chong Yidong <cyd@gnu.org>
8627
8628 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
8629 (hi-lock-set-pattern): When deciding whether to use font lock or
8630 overlays, look at font-lock-mode instead of font-lock-fontified
8631 (Bug#12168).
8632 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
8633 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
8634
8635 2012-08-14 Daiki Ueno <ueno@unixuser.org>
8636
8637 * subr.el (internal--after-with-selected-window): Fix typo
8638 (Bug#12193).
8639
8640 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
8641
8642 Use `completion-table-dynamic' for completion functions.
8643 * progmodes/python.el
8644 (python-shell-completion--do-completion-at-point)
8645 (python-shell-completion--get-completions):
8646 Remove functions.
8647 (python-shell-completion-complete-at-point): New function.
8648 (python-completion-complete-at-point): Use it.
8649
8650 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
8651
8652 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
8653 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
8654
8655 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
8656
8657 * subr.el (function-get): Refine `autoload' arg so it can also
8658 autoload functions for gv.el (bug#12191).
8659 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
8660 autoloads macros.
8661
8662 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
8663 Prefer pcase-let over destructuring-bind.
8664 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
8665 Also, remove whitespace as we go, rather than after accumulating the
8666 various places.
8667
8668 * subr.el (internal--before-with-selected-window)
8669 (internal--after-with-selected-window): Fix typo seleted->selected.
8670 (with-selected-window): Adjust callers.
8671 Reported by Dmitry Gutov <dgutov@yandex.ru>.
8672
8673 2012-08-13 Bastien Guerry <bzg@gnu.org>
8674
8675 * window.el (special-display-popup-frame): Minor docstring
8676 enhancement. (Bug#12172)
8677
8678 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
8679
8680 * tar-mode.el (tar-header-data-end): Only ignore size for files of
8681 type 1-6.
8682 (tar-header-block-summarize, tar-get-descriptor): Handle pax
8683 extended headers.
8684
8685 * files.el (hack-local-variables-filter): Remove useless eval.
8686
8687 2012-08-13 Martin Rudalics <rudalics@gmx.at>
8688
8689 * subr.el (with-selected-window): Fix last change.
8690
8691 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
8692
8693 * subr.el (internal--before-with-seleted-window)
8694 (internal--after-with-seleted-window): New functions.
8695 (with-selected-window): Use them, to replace dependency on
8696 tty-top-frame.
8697
8698 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
8699
8700 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
8701 binding for `newline'.
8702 (ruby-move-to-block): When moving backward, stop at block opening,
8703 not indentation.
8704 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
8705 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
8706 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
8707 `ruby-toggle-block'.
8708
8709 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
8710
8711 * ibuffer.el (ibuffer-do-toggle-read-only):
8712 * dired.el (dired-toggle-read-only):
8713 * buff-menu.el (Buffer-menu-toggle-read-only):
8714 * bindings.el (mode-line-toggle-read-only):
8715 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
8716
8717 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
8718
8719 * descr-text.el (describe-char): Put the overlays over the
8720 "displayed as" character.
8721
8722 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
8723
8724 * calc/calc-units.el (math-default-units-table): Give an
8725 initial value.
8726 (math-put-default-units): Add options to put composite units and
8727 unit systems in the default units table.
8728 (calc-convert-units): Send composite units to
8729 `math-put-default-units' when appropriate.
8730
8731 2012-08-11 Glenn Morris <rgm@gnu.org>
8732
8733 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
8734
8735 * tutorial.el (help-with-tutorial):
8736 * emacs-lisp/copyright.el (copyright-update-directory):
8737 * emacs-lisp/autoload.el (autoload-find-generated-file)
8738 (autoload-find-file): Disable local eval: (for insurance).
8739
8740 * files.el (hack-local-variables-filter): If an eval: form is not
8741 known to be safe, and enable-local-variables is :safe, then ignore
8742 the form totally, as is done for non-eval forms. (Bug#12155)
8743 This is CVE-2012-3479.
8744
8745 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
8746
8747 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
8748 (rx-form): Simplify.
8749
8750 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
8751
8752 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
8753 ?, _, and : are symbol constituents, ! is not (but kinda should be).
8754 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
8755 (ruby-syntax-propertize-function): Adjust for changes in
8756 `ruby-syntax-propertize-heredoc'.
8757
8758 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
8759
8760 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
8761 binding (use `M-;' instead).
8762 (ruby-singleton-class-p): New function.
8763 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
8764
8765 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
8766
8767 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
8768
8769 2012-08-10 Chong Yidong <cyd@gnu.org>
8770
8771 * progmodes/python.el (python-shell-get-process-name): Don't mess
8772 with same-window-buffer-names.
8773
8774 * eshell/eshell.el (eshell-add-to-window-buffer-names)
8775 (eshell-remove-from-window-buffer-names): Make obsolete.
8776 (eshell-buffer-name, eshell-unload-hook): Don't use them.
8777 (eshell): Just use pop-to-buffer-same-window instead.
8778
8779 2012-08-10 Chong Yidong <cyd@gnu.org>
8780
8781 * bindings.el: Bind M-= back to count-words-region.
8782
8783 * simple.el (count-words-region): Accept a prefix arg for acting
8784 on the entire buffer.
8785 (count-words--buffer-message): New helper function.
8786
8787 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
8788
8789 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
8790 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
8791 (event-start, event-end): Use posn-at-point to return a more
8792 informative posn.
8793 (posnp): New function.
8794 * mouse.el (popup-menu-normalize-position): Use it.
8795
8796 2012-08-10 Masatake YAMATO <yamato@redhat.com>
8797
8798 * mouse.el (popup-menu-normalize-position): New function.
8799 (popup-menu): Use `popup-menu-normalize-position' to normalize
8800 the form for POSITION argument.
8801
8802 * term/x-win.el (x-menu-bar-open):
8803 Use the value returend from (posn-at-point) as position
8804 passed to `popup-menu'.
8805
8806 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
8807
8808 * calc/calccomp.el (math-compose-expr): Add extra argument
8809 indicating that parentheses should be put around products in
8810 denominators. Give multiplication precedence over division during
8811 composition.
8812
8813 2012-08-09 Chong Yidong <cyd@gnu.org>
8814
8815 * man.el (Man-switches, Man-sed-command, Man-awk-command)
8816 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
8817 (Man-untabify-command, manual-program): Convert to defcustom
8818 (Bug#10429).
8819
8820 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
8821
8822 * descr-text.el (describe-char): Don't insert extra newlines
8823 (Bug#10127).
8824
8825 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
8826 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
8827
8828 * align.el (align-region): Delete temporary markers (Bug#10047).
8829 Plus some code cleanups.
8830
8831 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
8832
8833 * progmodes/python.el (python-pdbtrack-tracked-buffer)
8834 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
8835 (python-shell-internal-last-output): Use make-local-variable
8836 instead of make-variable-buffer-local.
8837
8838 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
8839
8840 * progmodes/python.el: Enhancements to forward-sexp.
8841 (python-nav-forward-sexp): Rename from
8842 python-nav-forward-sexp-function.
8843 (python-nav--forward-sexp, python-nav--backward-sexp):
8844 New functions.
8845
8846 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
8847
8848 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
8849 modes and simplification modes.
8850
8851 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
8852
8853 * delsel.el (delete-selection-pre-hook): Don't propagate the
8854 file-supersession signals (bug#12161).
8855
8856 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8857
8858 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
8859 (cl-map-extents): Add compatibility aliases (bug#12135).
8860
8861 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
8862
8863 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
8864 tests by `ignore-error'.
8865 (tramp-find-shell): Open also a new shell, when cache is already
8866 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
8867
8868 2012-08-08 Juri Linkov <juri@jurta.org>
8869
8870 * bookmark.el: Add `defaults' property to the bookmark record.
8871 (bookmark-current-buffer): Doc fix.
8872 (bookmark-make-record): Add `defaults' property with default values
8873 to the bookmark record.
8874 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
8875 with `bookmark-insert-current-bookmark'.
8876 (bookmark-set): Get `defaults' property from the bookmark record
8877 and use it in `read-from-minibuffer'.
8878 (bookmark-insert-current-bookmark): Remove function.
8879
8880 * info.el (Info-bookmark-make-record): Add `defaults' property
8881 with values of canonical Info node name, the current Info file
8882 name and the current Info node name. (Bug#12107)
8883
8884 2012-08-08 Juri Linkov <juri@jurta.org>
8885
8886 * files.el (basic-save-buffer): Use `buffer-name' as the default
8887 of `read-file-name' when buffer is not visiting a file (bug#12128).
8888
8889 2012-08-08 Juri Linkov <juri@jurta.org>
8890
8891 * info.el (Info-isearch-search): Doc fix.
8892 (Info-search): Change search-failed message from "initial node" to
8893 "end of node" (bug#12078).
8894 (Info-isearch-search): Change `isearch-string-state' to
8895 `isearch--state-string'.
8896
8897 2012-08-08 Glenn Morris <rgm@gnu.org>
8898
8899 * language/persian.el: Remove file.
8900 * language/misc-lang.el: Move unique part of persian.el here.
8901 * loadup.el: Remove language/persian.
8902
8903 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
8904
8905 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
8906
8907 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
8908
8909 * progmodes/python.el: Fix defsubst warning.
8910 (python-syntax-context) Rename from python-info-ppss-context.
8911 (python-syntax-context-type): Rename from
8912 python-info-ppss-context-type.
8913 (python-syntax-comment-or-string-p): Rename from
8914 python-info-ppss-comment-or-string-p.
8915
8916 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
8917
8918 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
8919
8920 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
8921
8922 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
8923 a defcustom that is quoted with backquote.
8924
8925 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
8926 Fix handling of interactive spec when the body uses return.
8927 (math-do-arg-check, math-define-function-body): Use backquote forms.
8928 * calc/calc-ext.el (math-defcache): Likewise.
8929 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
8930 * allout.el (allout-new-exposure): Likewise.
8931 * calc/calcalg2.el (math-tracing-integral): Likewise.
8932 * info.el (Info-last-menu-item): Likewise.
8933 * emulation/vip.el (vip-loop): Likewise.
8934 * textmodes/artist.el (artist-funcall): Likewise.
8935 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
8936 Construct menu-item directly.
8937
8938 * progmodes/autoconf.el (font-lock-syntactic-keywords):
8939 Don't declare.
8940
8941 2012-08-07 Chong Yidong <cyd@gnu.org>
8942
8943 * simple.el (deactivate-mark): Preserve text properties when
8944 saving the primary selection (Bug#8384).
8945
8946 2012-08-07 Kevin Ryde <user42@zip.com.au>
8947
8948 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
8949 (woman-parse-numeric-value): On a bad .IP line, issue a warning
8950 and continue processing (Bug#12110).
8951
8952 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
8953
8954 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
8955 syntax-propertize-function (bug#10095).
8956
8957 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
8958
8959 * help-fns.el (help-fns--key-bindings, help-fns--signature)
8960 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
8961 describe-function-1.
8962 (describe-function-1): Use them. Move compiler macro after sig.
8963 (help-fns--compiler-macro): Use function-get. Assume we're already in
8964 standard-output. Adjust layout to new call order.
8965
8966 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
8967 re-binding a symbol that has a symbol-macro (bug#12119).
8968
8969 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
8970
8971 * language/persian.el: New file. (Bug#11812)
8972 * loadup.el: Add language/persian.el.
8973
8974 2012-08-06 Chong Yidong <cyd@gnu.org>
8975
8976 * window.el (window--maybe-raise-frame): New function.
8977 (window--display-buffer): Split off from here.
8978 (display-buffer-reuse-window, display-buffer-pop-up-frame)
8979 (display-buffer-pop-up-window, display-buffer-use-some-window):
8980 Obey an inhibit-switch-frame action alist entry.
8981 (display-buffer): Update doc.
8982
8983 * replace.el (occur-after-change-function): Avoid losing focus by
8984 using the inhibit-switch-frame display parameter (Bug#12139).
8985
8986 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
8987
8988 Make internal shell process buffer names start with space.
8989 * progmodes/python.el (python-shell-make-comint): Add optional
8990 argument INTERNAL.
8991 (run-python-internal): Use it.
8992 (python-shell-internal-get-or-create-process): Check for new
8993 internal buffer names.
8994
8995 2012-08-06 Glenn Morris <rgm@gnu.org>
8996
8997 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
8998 Do less getting and setting of environment variables.
8999
9000 2012-08-05 Chong Yidong <cyd@gnu.org>
9001
9002 * proced.el (proced): Add substitution string to docstring to
9003 trigger autoloading of the proced library on C-h f (Bug#1768).
9004
9005 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
9006 Don't show defvars which have no second argument (Bug#8638).
9007
9008 * imenu.el (imenu-generic-expression): Move documentation here
9009 from imenu--generic-function.
9010 (imenu--generic-function): Refer to imenu-generic-expression.
9011
9012 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
9013
9014 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
9015 indentation declaration.
9016 (viper-loop): Add indentation declaration (Bug#7025).
9017
9018 2012-08-05 Chong Yidong <cyd@gnu.org>
9019
9020 * help-fns.el (describe-variable): Add hyperlink for
9021 directory-local variables files. Improve buffer-local and
9022 permanent-local reporting; suggested by MON KEY (Bug#6644).
9023
9024 * help-mode.el (help-dir-local-var-def): New button type.
9025
9026 * files.el (kill-buffer-hook): Provide a defvar.
9027
9028 2012-08-05 Glenn Morris <rgm@gnu.org>
9029
9030 * eshell/esh-ext.el (eshell/addpath):
9031 Also update eshell-path-env. (Bug#12013)
9032
9033 2012-08-05 Chong Yidong <cyd@gnu.org>
9034
9035 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
9036
9037 * fringe.el (fringe-styles): Add docstring.
9038 (fringe--check-mode): New function.
9039 (set-fringe-mode, set-fringe-style): Use it.
9040 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
9041
9042 * files.el (set-auto-mode): Fix invalid setq call.
9043
9044 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
9045
9046 * isearch.el: Misc simplification; use defstruct.
9047 (isearch-mode-map): Dense maps now work like sparse ones.
9048 (isearch--state): New defstruct.
9049 (isearch-string-state, isearch-message-state, isearch-point-state)
9050 (isearch-success-state, isearch-forward-state)
9051 (isearch-other-end-state, isearch-word-state, isearch-error-state)
9052 (isearch-wrapped-state, isearch-barrier-state)
9053 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
9054 replaced by defstruct's accessors.
9055 (isearch--set-state): Rename from isearch-top-state and change
9056 calling convention.
9057 (isearch-push-state): Use new isearch--get-state.
9058 (isearch-toggle-word): Disable regexp when enabling word.
9059 (isearch-message-prefix): Remove unused arg _c-q-hack.
9060 (isearch-message-suffix): Remove unused arg _ellipsis.
9061
9062 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
9063
9064 * simple.el (list-processes--refresh): For a server use :host or
9065 :local as the address.
9066 (list-processes): Doc fix.
9067
9068 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
9069
9070 * lisp/mpc.el: Support password in host argument.
9071 (mpc--proc-connect): Parse and use new password element.
9072 Set mpc-proc variable instead of returning process.
9073 (mpc-proc): Adjust accordingly.
9074
9075 2012-08-03 Eli Zaretskii <eliz@gnu.org>
9076
9077 * whitespace.el (whitespace-display-mappings): Use Unicode
9078 codepoints, instead of emacs-mule codepoints. See
9079 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
9080 for the details.
9081
9082 * files.el (file-truename): Don't skip symlink-chasing part on
9083 windows-nt. Incorporate the resolution of 8+3 short aliases on
9084 Windows into the loop that recursively chases symlinks.
9085 Compare directory and its parent case-insensitively on MS-Windows and
9086 MS-DOS.
9087
9088 2012-08-03 Chong Yidong <cyd@gnu.org>
9089
9090 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
9091
9092 * sort.el (sort-regexp-fields): Doc fix.
9093
9094 2012-08-03 Tassilo Horn <tsdh@gnu.org>
9095
9096 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
9097 labels regex position point at the expected place.
9098
9099 2012-08-03 MON KEY <monkey@sandpframing.com>
9100
9101 * net/imap.el (imap-interactive-login, imap-authenticate)
9102 (imap-mailbox-lsub, imap-mailbox-list)
9103 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
9104 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
9105 (imap-parse-response): Doc fix.
9106
9107 2012-08-03 João Távora <joaotavora@gmail.com>
9108
9109 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
9110 if sexp scanning does not move point (Bug#5734).
9111
9112 2012-08-02 Tassilo Horn <tsdh@gnu.org>
9113
9114 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
9115 Add listings, minted, and ctable packages.
9116 (reftex-label-alist-builtin): Move listings, minted, and ctable
9117 entries before LaTeX.
9118 (reftex-label-alist): Docfix.
9119
9120 2012-08-02 Bastien Guerry <bzg@gnu.org>
9121
9122 * replace.el (occur): Fix docstring (bug#12122).
9123
9124 2012-08-02 Glenn Morris <rgm@gnu.org>
9125
9126 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
9127
9128 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
9129
9130 Obsolete alias inactivate-current-input-method-function (Bug#10150).
9131 * international/mule-cmds.el: Create
9132 inactivate-current-input-method-function as an obsolete alias for
9133 deactivate-current-input-method-function. See Katsumi Yamaoka in
9134 <http://bugs.gnu.org/10150#46>.
9135
9136 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
9137
9138 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
9139 of nested `if's.
9140
9141 2012-08-01 Glenn Morris <rgm@gnu.org>
9142
9143 * progmodes/autoconf.el (autoconf-definition-regexp):
9144 Add AH_TEMPLATE, adjust submatch numbering.
9145 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
9146 (autoconf-current-defun-function): Update for above change.
9147 (autoconf-current-defun-function): First skip to end of current word.
9148
9149 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
9150
9151 * calendar/cal-html.el (cal-html-insert-agenda-days):
9152 Fix typo. (Bug#12018)
9153
9154 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
9155
9156 Shell processes: enhancements to startup and CEDET compatibility.
9157 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
9158 (python-shell-make-comint): accept-process-output at startup.
9159 (run-python-internal): Set inferior-python-mode-hook to nil.
9160 (python-shell-internal-get-or-create-process): call sit-for.
9161 (python-preoutput-result): Add obsolete alias.
9162 (python-shell-internal-send-string): Use it.
9163 (python-shell-send-setup-code): Remove call to
9164 accept-process-output.
9165
9166 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
9167
9168 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
9169 (Bug#12108)
9170
9171 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
9172
9173 * calc-mode.el (calc-basic-simplification-mode): Rename from
9174 `calc-limited-simplification-mode'.
9175 (calc-alg-simplification-mode): New function.
9176 (calc-set-simplify-mode): Adjust message.
9177
9178 * calc.el (calc-set-mode-line): Adjust mode line display for
9179 basic simplification mode.
9180
9181 * calc-help.el (calc-m-prefix-help): Update help message.
9182
9183 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
9184 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
9185
9186 2012-07-31 Bastien Guerry <bzg@gnu.org>
9187
9188 * man.el (man): Fix comment. (bug#12101)
9189
9190 2012-07-31 Martin Rudalics <rudalics@gmx.at>
9191
9192 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
9193 Don't return a non-nil value when no suitable buffer was found.
9194
9195 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
9196
9197 * progmodes/python.el (run-python-internal): Disable font lock for
9198 internal shells.
9199
9200 2012-07-30 Stefan Merten <smerten@oekonux.de>
9201
9202 * textmodes/rst.el: Silence `checkdoc-ispell'.
9203 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
9204 (rst-official-version, rst-official-cvs-rev)
9205 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
9206 (rst-mode-map): New key binding.
9207
9208 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
9209
9210 Update .PHONY listings in makefiles.
9211 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
9212 autoloads, update-subdirs, updates, bzr-update, update-authors,
9213 compile-onefile, compile-calc, backup-compiled-files,
9214 compile-after-backup, compile-one-process, mh-autoloads,
9215 bootstrap-clean, distclean, maintainer-clean.
9216
9217 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
9218
9219 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
9220 (calc-set-mode-line): Don't display "AlgSimp ".
9221
9222 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
9223 (calc-lim-simplify-mode): New function.
9224 (calc-set-simplify-mode): Default to 'alg.
9225 (calc-default-simplify-mode): Make algebraic simplifications
9226 the default.
9227
9228 * calc/calc-ext.el (calc-init-extensions): Remove binding for
9229 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
9230
9231 * calc/calc-help.el (calc-m-prefix-help): Change messages to
9232 indicate new simplification modes.
9233
9234 * calc/README: Mention new default simplification mode.
9235
9236 * calc/calc.el (math-normalize-error): New variable.
9237 (math-normalize): Set `math-normalize-error' to t
9238 when there's an error.
9239
9240 * calc/calc-alg.el (math-simplify): Don't simplify when
9241 `math-normalize' returns an error.
9242
9243 2012-07-29 Eli Zaretskii <eliz@gnu.org>
9244
9245 * international/mule-cmds.el (set-locale-environment): Revert last
9246 change, since display-graphic-p returns nil when this function is
9247 called during startup. Instead...
9248
9249 * term/w32console.el (terminal-init-w32console): ...setup the
9250 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
9251
9252 2012-07-29 Juri Linkov <juri@jurta.org>
9253
9254 * simple.el (goto-line): Don't display default line number in the
9255 prompt because it should be displayed by `read-number' (bug#9952).
9256 Add the current line number to the defaults of `goto-line' to
9257 allow its easier modification by users with `M-n' (bug#9201).
9258
9259 * subr.el (read-number): Support multiple default values like in
9260 other minibuffer reading functions. Replace `read' with
9261 `string-to-number' for consistency with `number-to-string'.
9262
9263 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
9264
9265 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
9266 * emulation/viper-init.el (viper-deactivate-input-method-action):
9267 Rename from viper-inactivate-input-method-action.
9268 (viper-deactivate-input-method):
9269 Rename from viper-inactivate-input-method.
9270 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
9271 * international/mule-cmds.el (deactivate-input-method):
9272 Rename from inactivate-input-method.
9273 Also run input-method-deactivate-hook.
9274 (deactivate-current-input-method-function):
9275 Rename from inactivate-current-input-method-function.
9276 (input-method-deactivate-hook): New hook.
9277 (input-method-inactivate-hook): Mark obsolete.
9278 (inactivate-input-method): Mark obsolete.
9279
9280 * international/quail.el (quail-activate):
9281 Also run quail-deactivate-hook.
9282 (quail-deactivate): Rename from quail-inactivate.
9283 * international/robin.el (robin-activate):
9284 Also run robin-deactivate-hook.
9285 (robin-deactivate): Rename from robin-inactivate.
9286
9287 2012-07-29 Chong Yidong <cyd@gnu.org>
9288
9289 * simple.el (indicate-copied-region): New function.
9290 (kill-ring-save): Split off from here.
9291
9292 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
9293 (kill-rectangle): Set deactivate-mark to t on read-only error.
9294
9295 * register.el (copy-to-register, copy-rectangle-to-register):
9296 Deactivate the mark, and use indicate-copied-region (Bug#10056).
9297 (append-to-register, prepend-to-register): Call indicate-copied-region.
9298
9299 2012-07-29 Juri Linkov <juri@jurta.org>
9300
9301 * simple.el (async-shell-command-buffer): New defcustom.
9302 (shell-command): Use it. (Bug#4719)
9303
9304 2012-07-28 Eli Zaretskii <eliz@gnu.org>
9305
9306 * international/mule-cmds.el (set-locale-environment): In a
9307 console session on MS-Windows, set up keyboard and terminal
9308 encoding from the OEM codepage, not the ANSI codepage.
9309 (Bug#12055)
9310
9311 2012-07-28 Chong Yidong <cyd@gnu.org>
9312
9313 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
9314 gdb-get-location.
9315
9316 2012-07-28 Leo Liu <sdl.web@gmail.com>
9317
9318 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
9319 the alist (bug#12029).
9320
9321 2012-07-28 Eli Zaretskii <eliz@gnu.org>
9322
9323 * makefile.w32-in (custom-deps, finder-data, updates, compile)
9324 (compile-always, compile-first)
9325 ($(lisp)/calendar/cal-loaddefs.el)
9326 ($(lisp)/calendar/diary-loaddefs.el)
9327 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
9328 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
9329 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
9330 instead of on update-subdirs.
9331 (bootstrap-clean): Delete $(lisp)/subdirs.el.
9332
9333 2012-07-28 Chong Yidong <cyd@gnu.org>
9334
9335 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
9336 directory if vc-deduce-backend returns nil (Bug#7350).
9337
9338 * simple.el (delete-trailing-lines): New option.
9339 (delete-trailing-whitespace): Obey it (Bug#11879).
9340
9341 2012-07-28 David Engster <deng@randomsample.de>
9342
9343 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
9344 Explanation of new 'symbol-qnames feature in doc-strings.
9345 (xml-maybe-do-ns): Return expanded names as plain symbols if
9346 'symbol-qnames was provided in XML-NS argument (Bug#11916).
9347 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
9348
9349 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
9350
9351 Consistent completion in inferior python with emacs -nw.
9352 * progmodes/python.el (inferior-python-mode): replace "<tab>"
9353 binding in inferior-python-mode-map with "\t".
9354 (python-shell-completion-complete-at-point)
9355 (python-completion-complete-at-point): Remove interactive spec.
9356
9357 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
9358
9359 * calc/calccomp.el (math-compose-expr): Undo previous change.
9360
9361 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
9362
9363 * progmodes/python.el (python-mode-map): Add keybinding for
9364 run-python.
9365 (python-shell-make-comint): Fix pop-to-buffer call.
9366 (run-python): Autoload. New arg SHOW.
9367 (python-shell-get-or-create-process): Do not pop python process
9368 buffer.
9369
9370 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
9371
9372 * notifications.el (notifications-on-action-signal)
9373 (notifications-on-closed-signal): Use also the bus address for the map.
9374 (notifications-notify, notifications-close-notification)
9375 (notifications-get-capabilities): Add optional argument BUS.
9376
9377 2012-07-27 Tassilo Horn <tsdh@gnu.org>
9378
9379 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
9380 Add support for the lstlisting and minted environments, and for the
9381 ctable macro.
9382 * textmodes/reftex.el (reftex-compile-variables): Also recognize
9383 labels written in keyvals syntax.
9384
9385 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
9386
9387 * calc/calccomp.el (math-compose-expr): Use parentheses when
9388 there is a product in the denominator of a fraction.
9389
9390 2012-07-26 Eli Zaretskii <eliz@gnu.org>
9391
9392 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
9393 ($(lisp)/calendar/diary-loaddefs.el)
9394 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
9395 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
9396 Fixes failures in parallel bootstrap because subdirs.el is being
9397 rewritten while the autoload files are built at the same time,
9398 which needs to load subdirs.el.
9399
9400 2012-07-26 Martin Rudalics <rudalics@gmx.at>
9401
9402 * mouse.el (popup-menu): Fix doc-string and re-indent code.
9403 (mouse-drag-line): Don't exit tracking when a switch-frame or
9404 switch-window event occurs (Bug#12006).
9405
9406 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
9407
9408 * mouse.el (popup-menu): Fix last change.
9409
9410 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
9411
9412 Autoload from Lisp with more care. Follow aliases when looking for
9413 function properties.
9414 * subr.el (autoloadp): New function.
9415 (symbol-file): Use it.
9416 (function-get): New function.
9417 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
9418 autoload-do-load.
9419 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
9420 (lisp-indent-function):
9421 * emacs-lisp/gv.el (gv-get):
9422 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
9423 * emacs-lisp/byte-opt.el (byte-optimize-form):
9424 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
9425 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
9426 Use function-get.
9427 * emacs-lisp/cl.el: Don't propagate function properties any more.
9428
9429 * speedbar.el (speedbar-add-localized-speedbar-support):
9430 * emacs-lisp/disass.el (disassemble-internal):
9431 * desktop.el (desktop-load-file):
9432 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
9433 (describe-function-1):
9434 * emacs-lisp/find-func.el (find-function-noselect):
9435 * emacs-lisp/elp.el (elp-instrument-function):
9436 * emacs-lisp/advice.el (ad-has-proper-definition):
9437 * apropos.el (apropos-safe-documentation, apropos-macrop):
9438 * emacs-lisp/debug.el (debug-on-entry):
9439 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
9440 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
9441 * calc/calc.el (name): Use autoloadp & autoload-do-load.
9442
9443 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
9444
9445 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
9446 function, not an obsolete variable (Bug#12046).
9447
9448 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
9449
9450 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
9451
9452 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
9453
9454 * emacs-lisp/pp.el (pp-display-expression): Select old selected
9455 window only if it is still live (Bug#12034).
9456
9457 2012-07-25 Martin Rudalics <rudalics@gmx.at>
9458
9459 * subr.el (redirect-frame-focus): Add advertised calling
9460 convention (Bug#12030).
9461
9462 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
9463
9464 Prefer typical American spelling for "acknowledgment".
9465 * vc/add-log.el (change-log-acknowledgment): Rename from
9466 change-log-acknowledgement, with an alias for the old name.
9467
9468 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
9469
9470 * calc-alg.el (math-simplify-divide): Don't cross multiply
9471 in an equation when the lhs is a variable.
9472
9473 2012-07-24 Julien Danjou <julien@danjou.info>
9474
9475 * net/netrc.el (netrc-find-service-number, netrc-store-data):
9476 Remove, unused.
9477
9478 2012-07-23 Eli Zaretskii <eliz@gnu.org>
9479
9480 * startup.el (command-line): Don't display an empty user name in
9481 the error message about non-existent home directory, when
9482 init-file-user was set to an empty string. See
9483 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
9484 for the details and context.
9485
9486 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
9487
9488 * ses.el (ses-cell-formula-aset): New macro.
9489 (ses-cell-references-aset): New macro.
9490 (ses-cell-p): New function.
9491 (ses-rename-cell): Do no longer rely on complex operations like
9492 ses-cell-set-formula or ses-set-cell to change the cell and handle
9493 the undo at the same time, but rather use lower level new macros
9494 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
9495 the undo directly. Refresh the mode line.
9496
9497 2012-07-21 Leo Liu <sdl.web@gmail.com>
9498
9499 * progmodes/cc-cmds.el (c-defun-name):
9500 Use match-string-no-properties instead for consistency.
9501
9502 2012-07-20 Leo Liu <sdl.web@gmail.com>
9503
9504 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
9505 (Bug#7879)
9506
9507 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
9508
9509 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
9510
9511 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
9512 * progmodes/bug-reference.el, misearch.el: Provide themselves
9513 (bug#11915).
9514
9515 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
9516 of narrowed buffer (bug#11966).
9517
9518 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
9519
9520 * ses.el (ses-rename-cell): Set new name also in reference list of
9521 cells of which the renamed cell depends.
9522
9523 2012-07-20 Masatake YAMATO <yamato@redhat.com>
9524
9525 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
9526 to check whether menu-bar is shown or not. If not shown,
9527 show the menu-bar as a popup menu instead of using tmm.
9528 * mouse.el (popup-menu): Accept `point' as `position' argument.
9529
9530 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
9531
9532 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
9533 up inside string symbol literal (bug#11923).
9534
9535 2012-07-20 Eli Zaretskii <eliz@gnu.org>
9536
9537 * startup.el (fancy-startup-text): Read the whole tutorial, not
9538 just its first 256 bytes. Prevents gibberish in display of the
9539 tutorial title.
9540
9541 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
9542
9543 Drop idle buffer compaction due to an absence of the
9544 proved efficiency.
9545 * compact.el: Remove.
9546
9547 2012-07-19 Sam Steingold <sds@gnu.org>
9548
9549 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
9550 vc-bzr-pull & vc-bzr-merge-branch.
9551 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
9552 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
9553 for consistency with compilation-error-regexp-alist.
9554 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
9555 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
9556 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
9557 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
9558
9559 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
9560
9561 * emacs-lisp/chart.el: Use lexical-binding.
9562 (chart-emacs-storage): Don't hardcode the list of entries.
9563
9564 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
9565
9566 Next round of tweaks caused by Fgarbage_collect changes.
9567 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
9568
9569 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
9570
9571 Compact buffers when idle.
9572 * compact.el: New file.
9573
9574 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
9575
9576 * subr.el (eventp): Presume that if it looks vaguely like an event,
9577 it's an event (bug#10190).
9578
9579 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
9580
9581 Enhancements to ppss related code (thanks Stefan).
9582 * progmodes/python.el (python-indent-context)
9583 (python-indent-calculate-indentation, python-indent-dedent-line)
9584 (python-indent-electric-colon, python-nav-forward-block)
9585 (python-mode-abbrev-table)
9586 (python-info-assignment-continuation-line-p): Simplify checks
9587 for ppss context.
9588 (python-info-continuation-line-p): Cleanup.
9589 (python-info-ppss-context): Do not catch 'quote.
9590 (python-info-ppss-context-type)
9591 (python-info-ppss-comment-or-string-p): Simplify.
9592
9593 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
9594
9595 * progmodes/python.el: Enhancements to eldoc support.
9596 (python-info-current-symbol): New function.
9597 (python-eldoc-at-point): Use python-info-current-symbol.
9598 (python-info-current-defun): Fix cornercase on first defun scan.
9599 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
9600 and signal error when no inferior python process is available.
9601
9602 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
9603
9604 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
9605 assume it's always t.
9606 (vc-git-registered): Remove caching, the function is only called
9607 once.
9608 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
9609
9610 2012-07-18 Chong Yidong <cyd@gnu.org>
9611
9612 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
9613
9614 * simple.el (count-words): Report on narrowing (Bug#9959).
9615
9616 * bindings.el: Bind M-= to count-words.
9617
9618 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
9619
9620 2012-07-18 Masatake YAMATO <yamato@redhat.com>
9621
9622 * progmodes/sh-script.el (sh-imenu-generic-expression):
9623 Capture a function with `function' keyword and without parentheses
9624 like "function FOO" (bug#11856).
9625
9626 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
9627
9628 * window.el (split-window-sensibly): Make WINDOW argument
9629 optional.
9630
9631 2012-07-18 Chong Yidong <cyd@gnu.org>
9632
9633 * subr.el (keyboard-translate): Doc fix (Bug#7261).
9634
9635 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
9636 and make C-x 8 RET exit isearch (Bug#11439).
9637
9638 * international/iso-transl.el: Move isearch-mode-map key
9639 definitions to isearch.el.
9640
9641 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
9642
9643 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
9644 (eieio-defclass): Use gv-define-setter when possible.
9645
9646 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
9647
9648 Reflect recent changes in Fgarbage_collect.
9649 * emacs-lisp/chart.el (chart-emacs-storage): Change to
9650 reflect new format of data returned by Fgarbage_collect.
9651
9652 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
9653
9654 New utility functions + python-info-ppss-context fix (Bug#11910).
9655 * progmodes/python.el (python-info-beginning-of-block-statement-p)
9656 (python-info-ppss-comment-or-string-p): New functions.
9657 (python-info-ppss-context): Small fix for string check.
9658
9659 2012-07-17 Juri Linkov <juri@jurta.org>
9660
9661 * dired-aux.el (dired-do-async-shell-command): Doc fix.
9662 (dired-do-async-shell-command): Don't add `*' at the end of the
9663 command (Bug#11815).
9664 (dired-do-shell-command): Doc fix.
9665 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
9666 Join the individual commands using either "&" or ";" as the
9667 separator depending on the values of these trailing characters.
9668 At the end re-add the trailing "&". (Bug#10598)
9669
9670 * simple.el (async-shell-command): Sync the interactive spec with
9671 `shell-command'. Doc fix.
9672 (shell-command): Doc fix.
9673
9674 2012-07-17 Juri Linkov <juri@jurta.org>
9675
9676 * descr-text.el (describe-char): Fix format args. (Bug#10129)
9677
9678 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
9679
9680 Final renames and doc fixes for movement commands (bug#11899).
9681 * progmodes/python.el (python-nav-beginning-of-statement):
9682 Rename from python-nav-statement-start.
9683 (python-nav-end-of-statement): Rename from
9684 python-nav-statement-end.
9685 (python-nav-beginning-of-block): Rename from
9686 python-nav-block-start.
9687 (python-nav-end-of-block): Rename from python-nav-block-end.
9688
9689 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
9690
9691 * progmodes/python.el (python-shell-send-string-no-output):
9692 Allow accept-process-output to quit, keeping shell process ready for
9693 future interactions (Bug#11868).
9694
9695 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
9696
9697 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
9698
9699 * emacs-lisp/elint.el (elint-find-args-in-code):
9700 Use help-function-arglist, so as to handle lexical byte-code.
9701
9702 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
9703 change (bug#11826).
9704
9705 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
9706
9707 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
9708 Avoid spuriously marking the buffer as modified because of c-is-sws.
9709
9710 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
9711 as not-a-comment (bug#11946).
9712
9713 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
9714 for uninterned vars.
9715
9716 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
9717 Use read-event since we don't really want to read chars but bytes.
9718
9719 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
9720 $$..$$ but also $..$ using regexps (bug#11953).
9721 Use tex-verbatim for \url and \path.
9722 (tex-font-lock-keywords): Define as defconst like the others.
9723 (tex-common-initialization): Don't use font-lock-syntax-table any more.
9724
9725 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
9726
9727 * international/mule-cmds.el (ucs-insert): Make it an obsolete
9728 alias for insert-char.
9729
9730 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
9731
9732 * progmodes/python.el: Simplified imenu implementation.
9733 (python-nav-jump-to-defun): Remove command.
9734 (python-mode-map): Use `imenu' instead.
9735 (python-nav-list-defun-positions-cache)
9736 (python-imenu-include-defun-type, python-imenu-make-tree)
9737 (python-imenu-subtree-root-label, python-imenu-index-alist):
9738 Remove vars.
9739 (python-nav-list-defun-positions, python-nav-read-defun)
9740 (python-imenu-tree-assoc, python-imenu-make-element-tree)
9741 (python-imenu-make-tree, python-imenu-create-index):
9742 Remove functions.
9743 (python-mode): Update to interact with imenu by setting
9744 `imenu-extract-index-name-function' only.
9745
9746 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
9747
9748 * progmodes/python.el: Enhancements to navigation commands.
9749 (python-nav-backward-sentence)
9750 (python-nav-forward-sentence): Remove.
9751 (python-nav-backward-statement, python-nav-forward-statement)
9752 (python-nav-statement-start, python-nav-statement-end)
9753 (python-nav-backward-block, python-nav-forward-block)
9754 (python-nav-block-start, python-nav-block-end)
9755 (python-nav-forward-sexp-function)
9756 (python-info-current-line-comment-p)
9757 (python-info-current-line-empty-p): New functions.
9758 (python-indent-context): Use `python-nav-statement-start'.
9759
9760 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
9761
9762 * eshell/em-ls.el (eshell/ls): Use `apply'.
9763
9764 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
9765 multi-hops, instead of Tramp internals.
9766
9767 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
9768
9769 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
9770 when F1 and F2 are located on different hosts.
9771
9772 2012-07-14 Chong Yidong <cyd@gnu.org>
9773
9774 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
9775 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
9776 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
9777 (xterm-mouse--read-event-sequence-1000)
9778 (xterm-mouse--read-event-sequence-1006): New functions. For old
9779 mouse protocol, handle M-mouse-X events correctly.
9780 (xterm-mouse-event): New arg specifying mouse protocol.
9781 (turn-on-xterm-mouse-tracking-on-terminal)
9782 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
9783 sequence to toggle extended coordinates on newer XTerms.
9784 This appears to be harmless on terminals which do not support this.
9785
9786 2012-07-14 Leo Liu <sdl.web@gmail.com>
9787
9788 Add fringe bitmap indicators for flymake. (Bug#11253)
9789 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
9790 (flymake-make-overlay): New arg BITMAP.
9791 (flymake-error-bitmap, flymake-warning-bitmap)
9792 (flymake-fringe-indicator-position): New user variables.
9793
9794 * fringe.el: New bitmap exclamation-mark.
9795
9796 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
9797
9798 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
9799 also (Bug#7879).
9800
9801 2012-07-14 Chong Yidong <cyd@gnu.org>
9802
9803 * electric.el (electric-pair-post-self-insert-function): Fix pair
9804 insertion in empty-region case (Bug#11520).
9805
9806 2012-07-14 Chong Yidong <cyd@gnu.org>
9807
9808 * bindings.el: Consolidate ctl-x-r-map bindings.
9809 Bind copy-rectangle-as-kill to C-x r w.
9810
9811 * rect.el, register.el: Move bindings to bindings.el.
9812
9813 2012-07-14 Reuben Thomas <rrt@sc3d.org>
9814
9815 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
9816
9817 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
9818
9819 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
9820
9821 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
9822
9823 * bindings.el (top): Use `mapc' instead of `mapcar'.
9824
9825 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
9826
9827 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
9828
9829 * progmodes/sql.el (sql-comint): Suppress the check for program on
9830 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
9831 (Bug#11908)
9832
9833 2012-07-13 Chong Yidong <cyd@gnu.org>
9834
9835 * bindings.el: Assign a non-nil permanent-local property to
9836 per-buffer variables which lack a default value (Bug#11930).
9837
9838 * help-fns.el (describe-variable): In the "automatically becomes
9839 local" notice, take note of permanent-local variables.
9840
9841 2012-07-13 Chong Yidong <cyd@gnu.org>
9842
9843 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
9844 to allow printing the message when called from Lisp.
9845
9846 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
9847 Remove toggle-read-only.
9848
9849 * bs.el (bs-toggle-readonly):
9850 * buff-menu.el (Buffer-menu-toggle-read-only):
9851 Remove with-no-warnings around toggle-read-only.
9852
9853 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
9854 Remove with-no-warnings around toggle-read-only.
9855 (ffap-read-only, ffap-read-only-other-window)
9856 (ffap-read-only-other-frame): Callers changed.
9857
9858 * help-mode.el: Don't require view package.
9859 (help-mode-finish): Set buffer-read-only instead of calling
9860 toggle-read-only.
9861
9862 * bindings.el (mode-line-toggle-read-only):
9863 * dired.el (dired-toggle-read-only):
9864 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
9865 with non-nil second arg.
9866
9867 * emacs-lisp/eieio-custom.el (eieio-customize-object):
9868 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
9869 directly.
9870
9871 2012-07-12 Eli Zaretskii <eliz@gnu.org>
9872
9873 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
9874 not incf.
9875
9876 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
9877
9878 More CL cleanups and reduction of use of cl.el.
9879 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
9880 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
9881 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
9882 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
9883 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
9884 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
9885 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
9886 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
9887 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
9888 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
9889 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
9890 * eshell/em-cmpl.el, eshell/em-banner.el:
9891 * calendar/parse-time.el: Use cl-lib.
9892 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
9893 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
9894 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
9895 * term/ns-win.el, term.el, shell.el, ps-samp.el:
9896 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
9897 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
9898 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
9899 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
9900 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
9901 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
9902 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
9903 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
9904 `lambda' rather than with `quote'.
9905 (eshell-do-opt): Adjust accordingly.
9906 (eshell-process-option): Simplify.
9907 * eshell/esh-var.el:
9908 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
9909 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
9910 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
9911 to `pcase--dontcare'.
9912 * emacs-lisp/cl.el (labels): Mark obsolete.
9913 (cl--letf, letf): Move to cl-lib.
9914 (cl--letf*, letf*): Remove.
9915 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
9916 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
9917 (cl-progv): Rewrite.
9918 (cl--letf, cl-letf): Move from cl.el.
9919 (cl-letf*): New macro.
9920 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
9921
9922 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
9923
9924 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
9925
9926 2012-07-11 Chong Yidong <cyd@gnu.org>
9927
9928 * vc/log-edit.el (log-edit-vc-backend): New variable.
9929 (log-edit): Doc fix.
9930
9931 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
9932 argument of log-edit to set up all local variables.
9933 (vc-start-logentry): New optional arg specifying VC backend.
9934
9935 * vc/vc.el (vc-checkin): Use it.
9936 (vc-deduce-fileset): Handle Log Edit buffers.
9937 (vc-diff): Make first argument optional too.
9938
9939 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
9940
9941 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
9942
9943 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
9944 command, just in case. The function is not needed anymore.
9945 (eshell-external-command): Do not call `eshell-remote-command'.
9946
9947 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
9948
9949 Reduce use of (require 'cl).
9950 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
9951 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
9952 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
9953 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
9954 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
9955 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
9956 * battery.el, avoid.el, abbrev.el: Use cl-lib.
9957 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
9958 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
9959 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
9960 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
9961 * calculator.el, autorevert.el, apropos.el: Don't require CL.
9962 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
9963 (byte-compile-unfold-bcf, byte-compile-check-variable):
9964 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
9965 (byte-compile-nilconstp):
9966 * emacs-lisp/autoload.el (make-autoload): Use pcase.
9967 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
9968
9969 * emacs-lisp/gv.el (cond): Make it a valid place.
9970 (if): Simplify slightly.
9971
9972 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
9973 (pcase--self-quoting-p): New function.
9974 (pcase--u1): Use it.
9975
9976 2012-07-10 Glenn Morris <rgm@gnu.org>
9977
9978 * emacs-lisp/authors.el (authors-fixed-entries):
9979 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
9980
9981 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
9982
9983 Rename configure.in to configure.ac (Bug#11603).
9984 * emacs-lisp/authors.el (authors-canonical-file-name):
9985 * progmodes/autoconf.el (autoconf-mode):
9986 Prefer configure.ac to configure.in.
9987
9988 2012-07-08 Chong Yidong <cyd@gnu.org>
9989
9990 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
9991 Implement the mouse-1-click-follows-link handling properly.
9992
9993 * info.el (Info-link-keymap): Use follow-link mechanism for
9994 header-line links (Bug#374).
9995
9996 * simple.el (deactivate-mark): Do not set the primary selection
9997 if another program has acquired it (Bug#11772).
9998
9999 2012-07-07 Kevin Ryde <user42@zip.com.au>
10000
10001 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
10002 (woman-decode-region): Replace escaped-escapes without destroying
10003 bold or underline (Bug#11552).
10004 (woman2-process-escapes): Handle nofill regions (Bug#11591).
10005
10006 2012-07-07 Chong Yidong <cyd@gnu.org>
10007
10008 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
10009 (interprogram-cut-function, interprogram-paste-function):
10010 Mention that we typically mean the clipboard.
10011
10012 2012-07-06 Glenn Morris <rgm@gnu.org>
10013
10014 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
10015
10016 * files.el (toggle-read-only): Restrict message to interactive use.
10017
10018 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
10019
10020 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
10021
10022 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
10023
10024 2012-07-06 Glenn Morris <rgm@gnu.org>
10025
10026 * Makefile.in (compile-one-process): Rename from "recompile".
10027
10028 * Makefile.in (bzr-update): "compile" is the same as "recompile
10029 autoloads", but parallelizable, so use that instead.
10030
10031 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
10032
10033 * window.el (quit-window): Always restore window height when
10034 it's saved in quit-restore parameter (Bug#11810).
10035
10036 2012-07-06 Glenn Morris <rgm@gnu.org>
10037
10038 * simple.el (kill-whole-line): Doc tweak.
10039
10040 2012-07-06 Eli Zaretskii <eliz@gnu.org>
10041
10042 * files.el (file-relative-name): Compare file names
10043 case-insensitively if on MS-Windows or MS-DOS, or if
10044 read-file-name-completion-ignore-case is non-nil. Don't use
10045 case-fold-search for this purpose. (Bug#11827)
10046
10047 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
10048
10049 * calendar/cal-dst.el (calendar-current-time-zone):
10050 Return calendar-current-time-zone-cache if non-nil.
10051
10052 2012-07-17 Masatake YAMATO <yamato@redhat.com>
10053 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
10054
10055 * calendar/cal-dst.el (calendar-current-time-zone):
10056 Return calendar-current-time-zone-cache if non-nil.
10057
10058 2012-07-06 Glenn Morris <rgm@gnu.org>
10059
10060 * Makefile.in (cvs-update): Remove old alias.
10061
10062 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
10063
10064 Sync with Tramp 2.2.6-pre.
10065
10066 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
10067 compatible declaration.
10068
10069 * net/tramp-cmds.el (tramp-append-tramp-buffers):
10070 Protect `list-load-path-shadows' call.
10071
10072 * net/tramp-compat.el (top): Require packages, which aren't
10073 autoloaded anymore for XEmacs. Protect call of
10074 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
10075 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
10076 it hurts at least for SXEmacs.
10077 (tramp-compat-temporary-file-directory): In XEmacs, there is no
10078 standard-value for `temporary-file-directory'.
10079
10080 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
10081 Redirect stderr to /dev/null.
10082 (tramp-sh-handle-write-region): uid and gid can be floats.
10083 Reported by Russell Sim <russell.sim@gmail.com>.
10084 (tramp-sh-handle-vc-registered): Hide errors.
10085 (tramp-vc-file-name-handler): Use dummy results for `process-file'
10086 and `start-file-process'.
10087 (tramp-maybe-open-connection): Check also whether `non-essential'
10088 is bound.
10089
10090 2012-07-04 Chong Yidong <cyd@gnu.org>
10091
10092 * xml.el (xml--parse-buffer): Use xml-syntax-table.
10093 (xml-parse-tag): Likewise, and avoid changing entity tables.
10094 (xml-syntax-table): Define from scratch, making sure not to give
10095 x2000 and other Unicode spaces whitespace syntax, since those are
10096 not spaces in XML.
10097 (xml-parse-fragment): Delete unused function.
10098 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
10099 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
10100 (xml-entity-ref, xml-pe-reference-re)
10101 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
10102 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
10103 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
10104 (xml-entity-value-re): Use syntax references in regexps where
10105 possible; no need to define inside a let-binding.
10106 (xml-parse-dtd): Use xml-pe-reference-re.
10107 (xml-entity-or-char-ref-re): New defconst.
10108 (xml-parse-string, xml-substitute-special): Use it.
10109
10110 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
10111
10112 * files.el (locate-dominating-file): Allow `name' to be a predicate.
10113 (find-file--read-only): New function.
10114 (find-file-read-only, find-file-read-only-other-window)
10115 (find-file-read-only-other-frame): Use it.
10116 (insert-file-contents-literally): Don't `fset'.
10117 (get-free-disk-space): Use locate-dominating-file.
10118
10119 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
10120 function is already compiled.
10121
10122 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
10123
10124 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
10125
10126 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
10127 files on the same host.
10128
10129 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
10130
10131 * help-fns.el (describe-function-1): Only call
10132 help-fns--autoloaded-p when we have a file name. (Bug#11848)
10133
10134 2012-07-03 Chong Yidong <cyd@gnu.org>
10135
10136 * xml.el: Protect parser against XML bombs.
10137 (xml-entity-expansion-limit): New variable.
10138 (xml-parse-string, xml-substitute-special): Use it.
10139 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
10140
10141 2012-07-03 Glenn Morris <rgm@gnu.org>
10142
10143 * progmodes/bug-reference.el (bug-reference-bug-regexp):
10144 Allow linking to specific messages in debbugs reports (eg 123#5).
10145
10146 2012-07-02 Chong Yidong <cyd@gnu.org>
10147
10148 * xml.el: Fix entity and character reference expansion, allowing
10149 them to expand into markup as per XML spec.
10150 (xml-default-ns): New variable.
10151 (xml-entity-alist): Use XML spec definitions for lt and amp.
10152 (xml-parse-region): Make first two arguments optional.
10153 Discard text properties.
10154 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
10155 All callers changed.
10156 (xml-parse-tag): Call xml-parse-tag-1. For backward
10157 compatibility, this function should not modify buffer contents.
10158 (xml-parse-tag-1): Fix opening-tag regexp.
10159 (xml-parse-string): Rewrite, handling entity and character
10160 references properly.
10161 (xml--entity-replacement-text): Signal an error if a parameter
10162 entity is undefined.
10163
10164 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
10165
10166 * comint.el (comint-output-filter): Filter out repeated prompts.
10167
10168 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
10169 and file-name-absolute-p.
10170 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
10171 internal calls.
10172
10173 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
10174
10175 Spelling fixes.
10176 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
10177 Rename from byte-compile--refiy-function. All uses changed.
10178
10179 2012-07-01 Chong Yidong <cyd@gnu.org>
10180
10181 * xml.el (xml--parse-buffer): New function. Move most of
10182 xml-parse-region here.
10183 (xml-parse-region): Copy region into a temporary buffer, since
10184 parameter entity substitution requires changing buffer contents.
10185 Use xml--parse-buffer.
10186 (xml-parse-file): Use xml--parse-buffer.
10187 (xml-parse-dtd): Make parameter entity substitution work right.
10188 Use proper regexps for ELEMENT declarations (Bug#7172).
10189
10190 2012-06-30 Glenn Morris <rgm@gnu.org>
10191
10192 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
10193
10194 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
10195 Remove outdated and unnecessary dbus declarations.
10196
10197 2012-06-30 Eli Zaretskii <eliz@gnu.org>
10198
10199 * emacs-lisp/timer.el (timer-until): Subtract results of
10200 float-time, instead of taking float-time of the result of
10201 time-subtract, since float-time signals an error for negative time
10202 arguments.
10203
10204 2012-06-30 Chong Yidong <cyd@gnu.org>
10205
10206 * xml.el (xml-*-re): Convert defvars into defconsts, and
10207 eval-and-compile them so eval-and-compile works on derivatives.
10208 (xml--entity-replacement-text): Use eval-and-comple.
10209
10210 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
10211
10212 * vc/vc-git.el (vc-git-registered): Use cache property
10213 `git-registered'.
10214 (vc-git-mode-line-string): Call `vc-working-revision' instead of
10215 `vc-git-working-revision' in order to benefit from the cache.
10216 (vc-git-root): Use cache property `git-root'. (Bug#11757)
10217
10218 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
10219
10220 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
10221 removed (likely outside Emacs). (Bug#11757)
10222
10223 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
10224
10225 * emacs-lisp/cl-lib.el: Require macroexp.
10226
10227 2012-06-30 Chong Yidong <cyd@gnu.org>
10228
10229 * xml.el: Implement XML parameter entities.
10230 (xml-parameter-entity-alist): New variable.
10231 (xml-parse-region, xml-parse-fragment): Preserve previous values
10232 of xml-entity-alist and xml-parameter-entity-alist, so that
10233 repeated calls on different documents do not change them.
10234 (xml-parse-tag): Fix doctype regexp.
10235 (xml--entity-replacement-text): New function.
10236 (xml-parse-dtd): Use it. Don't handle system entities; doing that
10237 properly requires url retrieval which is unimplemented.
10238 (xml-escape-string): Doc fix.
10239
10240 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
10241
10242 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
10243
10244 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
10245
10246 * fringe.el (fringe-mode): Doc fix.
10247
10248 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
10249
10250 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
10251 is non-nil.
10252 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
10253 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
10254
10255 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
10256
10257 * calendar/cal-dst.el (calendar-current-time-zone):
10258 Return calendar-current-time-zone-cache if non-nil.
10259
10260 2012-06-29 Masatake YAMATO <yamato@redhat.com>
10261
10262 * progmodes/which-func.el (which-func-format):
10263 Add mouse-face. (Bug#11698)
10264
10265 2012-06-29 Leo Liu <sdl.web@gmail.com>
10266
10267 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
10268
10269 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
10270
10271 * minibuffer.el (minibuffer-confirm-exit-commands):
10272 Add completion-at-point (bug#11725).
10273
10274 2012-06-29 Glenn Morris <rgm@gnu.org>
10275
10276 * progmodes/f90.el (f90-font-lock-keywords-2):
10277 Add some preprocessor elements. (Bug#10499)
10278
10279 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
10280
10281 * progmodes/cperl-mode.el (cperl-update-syntaxification):
10282 Use syntax-propertize (bug#11739).
10283
10284 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
10285
10286 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
10287
10288 2012-06-28 Julien Danjou <julien@danjou.info>
10289
10290 * term.el (term-handle-colors-array): Use a set of new faces to
10291 color the terminal. Also uses :inverse-video property.
10292 (term-default-fg-color): Set to nil by default, deprecate in favor
10293 of `term-face'.
10294 (term-default-bg-color): Set to nil by default, deprecate in favor
10295 of `term-face'.
10296 (term-current-face): Use `term-face' by default.
10297 (term-bold-attribute): Variable deleted.
10298
10299 2012-06-28 Glenn Morris <rgm@gnu.org>
10300
10301 * simple.el (completion-list-mode-finish):
10302 Don't use toggle-read-only. (Since completion-list-mode has
10303 a special mode-class, it wasn't doing anything extra anyway.)
10304
10305 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
10306
10307 Make inlining of other-mode interpreted functions work (bug#11799).
10308 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
10309 (byte-compile): Use it to fix compilation of lexical-binding closures.
10310 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
10311 function, if needed.
10312
10313 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
10314
10315 * help-mode.el (help-make-xrefs): Don't just withstand
10316 cyclic-variable-indirection but any error in documentation-property.
10317
10318 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
10319 memory use.
10320 * bindings.el (bindings--define-key): New function.
10321 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
10322 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
10323 * bindings.el: Use it to purecopy define-key bindings.
10324
10325 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
10326
10327 * emacs-lisp/cl.el (flet): Mark obsolete.
10328 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
10329 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
10330 * progmodes/js.el (js-c-fill-paragraph):
10331 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
10332 (ebrowse-switch-member-buffer-to-derived-class):
10333 * play/5x5.el (5x5-solver): Use cl-flet.
10334
10335 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
10336 (cl--symbol-function): New macro.
10337 (cl--letf, cl--letf*): Use it.
10338
10339 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
10340 Strip "toggle-" if any.
10341
10342 2012-06-27 Glenn Morris <rgm@gnu.org>
10343
10344 * info.el (Info-default-directory-list): Move here from paths.el.
10345 * paths.el: Remove file, which is now empty.
10346 * loadup.el: No longer load "paths".
10347
10348 * custom.el (custom-initialize-delay): Doc fix.
10349
10350 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
10351 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
10352 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
10353 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
10354 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
10355 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
10356 * eshell/eshell.el (eshell-defgroup): Remove alias.
10357
10358 2012-06-27 Chong Yidong <cyd@gnu.org>
10359
10360 * help.el (help-enable-auto-load): New variable.
10361
10362 * help-fns.el (help-fns--autoloaded-p): New function.
10363 (describe-function-1): Refer to a function as "autoloaded" if it
10364 was autoloaded at any time in the past. Perform autoloading if
10365 help-enable-auto-load is non-nil.
10366
10367 2012-06-26 Eli Zaretskii <eliz@gnu.org>
10368
10369 * makefile.w32-in (compile, compile-always): Depend on
10370 update-subdirs, not on subdirs.el. Otherwise, several different
10371 sub-targets of 'bootstrap' running in parallel could
10372 simultaneously write to subdirs.el, producing a garbled file.
10373
10374 2012-06-26 Sam Steingold <sds@gnu.org>
10375
10376 * files.el (file-name-base): New convenience function.
10377 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
10378 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
10379 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
10380 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
10381 * textmodes/ispell.el, textmodes/reftex-ref.el:
10382 * textmodes/tex-mode.el: Use it.
10383 Did not touch cedet and org because they are maintained elsewhere.
10384
10385 2012-06-26 Martin Rudalics <rudalics@gmx.at>
10386
10387 * calendar/calendar.el (calendar-exit): Don't try to delete or
10388 iconify last frame. See:
10389 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
10390
10391 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
10392
10393 * server.el (server-process-filter): Remember dir in the
10394 process's `server-client-directory' properties.
10395
10396 2012-06-24 Chong Yidong <cyd@gnu.org>
10397
10398 * xml.el (xml-parse-tag): Correctly handle comment embedded in
10399 non-tag text.
10400
10401 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
10402
10403 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
10404
10405 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
10406
10407 * help-fns.el (describe-variable): Don't croak when doc is not found.
10408 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
10409 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
10410 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
10411 * emacs-lisp/smie.el (smie-next-sexp): CSE.
10412 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
10413 ((lambda ..) ..).
10414 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
10415
10416 2012-06-23 Chong Yidong <cyd@gnu.org>
10417
10418 * info.el (Info-mouse-follow-link): Accept symbol values of
10419 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
10420 (Info-fontify-node): Use Info-link-keymap for all navigation
10421 buttons, with link-args property to perform the desired action.
10422 (Info-link-keymap): Doc fix.
10423 (Info-next-link-keymap, Info-prev-link-keymap)
10424 (Info-up-link-keymap): Delete now-unused keymaps.
10425
10426 2012-06-23 Chong Yidong <cyd@gnu.org>
10427
10428 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
10429
10430 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
10431 system abbrevs.
10432
10433 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
10434
10435 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
10436
10437 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
10438 (bug#11719).
10439
10440 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
10441 the requote function doesn't work properly (bug#11714).
10442
10443 2012-06-23 Glenn Morris <rgm@gnu.org>
10444
10445 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
10446
10447 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
10448
10449 Further GV/CL cleanups.
10450 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
10451 gv-expander.
10452 (gv--defun-declaration): New function.
10453 (defun-declarations-alist): Use it.
10454 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
10455 (gv-place): Autoload.
10456 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
10457 original definition of dotimes and dolist.
10458 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
10459 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
10460 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
10461 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
10462 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
10463 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
10464 to the function's definition.
10465 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
10466 * window.el:
10467 * files.el:
10468 * faces.el:
10469 * env.el: Don't use CL.
10470
10471 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
10472
10473 Support higher-resolution time stamps (Bug#9000).
10474
10475 * calendar/time-date.el (with-decoded-time-value): New arg
10476 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
10477 (encode-time-value): New optional arg PICO. New type 3.
10478 (time-to-seconds) [!float-time]: Support the new picoseconds
10479 component if it's used.
10480 (seconds-to-time, time-subtract, time-add):
10481 Support ps-resolution time stamps as well.
10482
10483 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
10484 (timerp): Timer vectors now have length 9, not 8.
10485 (timer--time): Support new-style (4-part) time stamps.
10486 (timer-next-integral-multiple-of-time): Time stamps now have
10487 picosecond resolution, so take a bit more care about rounding.
10488 (timer-relative-time, timer-inc-time): New optional arg psecs.
10489 (timer-set-time-with-usecs): Set psecs to 0.
10490 (timer--activate): Check psecs component, too.
10491
10492 * proced.el (proced-time-lessp): Support ps-resolution stamps.
10493
10494 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
10495
10496 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
10497 Move the non-essential binding to the post/pre-command-hook where it is
10498 more obviously correct.
10499
10500 * subr.el (read-passwd): Don't use a history at all.
10501 * savehist.el (savehist-save): Remove password saved accidentally
10502 because of the above bug.
10503
10504 2012-06-22 Bastien Guerry <bzg@gnu.org>
10505
10506 * files.el (toggle-read-only): Display a message telling whether
10507 the buffer is read-only or not (bug#11726).
10508
10509 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
10510
10511 * emacs-lisp/gv.el: New file.
10512 * subr.el (push, pop): Extend to generalized variables.
10513 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
10514 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
10515 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
10516 gv-define-simple-setter, and gv-define-expander.
10517 Remove setf-methods defined in gv. Rename cl-setf -> setf.
10518 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
10519 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
10520 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
10521 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
10522 gv-letplace.
10523 (cl-defstruct): Don't define setf-method any more.
10524 * emacs-lisp/cl.el (flet): Don't autoload.
10525 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
10526 (define-setf-expander, defsetf, define-modify-macro)
10527 (cl-struct-setf-expander): Move from cl-lib.el.
10528 * emacs-lisp/syntax.el:
10529 * emacs-lisp/ewoc.el:
10530 * emacs-lisp/smie.el:
10531 * emacs-lisp/cconv.el:
10532 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
10533 (timer--time): Use gv-define-simple-setter.
10534 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
10535 to avoid coding-system problems in subr.el. Adjust all users.
10536 (macroexp--maxsize, macroexp-small-p): New functions.
10537 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
10538 * scroll-bar.el (scroll-bar-mode):
10539 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
10540 (normal-erase-is-backspace-mode): Don't use the `eq' place.
10541 * winner.el (winner-configuration, winner-make-point-alist)
10542 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
10543 * files.el (locate-file-completion-table): Avoid list*.
10544
10545 2012-06-22 Chong Yidong <cyd@gnu.org>
10546
10547 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
10548 (dired-create-files): Doc fix (Bug#11329).
10549 (dired-do-copy): Doc fix (Bug#11334).
10550 (dired-mark-read-string): Doc fix (Bug#11553).
10551
10552 * dired.el (dired-recursive-copies, dired-recursive-deletes):
10553 Doc fix (Bug#11326).
10554 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
10555 (dired-dwim-target): Doc fix.
10556
10557 * wdired.el (wdired-mode): Doc fix.
10558
10559 2012-06-22 Glenn Morris <rgm@gnu.org>
10560
10561 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
10562 (pcmpl-rpm-cache-stamp-file): New constant.
10563 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
10564 (pcmpl-rpm-packages): Optionally cache list of packages.
10565
10566 * pcmpl-rpm.el (pcmpl-rpm): New group.
10567 (pcmpl-rpm-query-options): New option.
10568 (pcmpl-rpm-packages): No need to inline it.
10569 Use pcmpl-rpm-query-options.
10570
10571 * calendar/calendar.el (calendar-in-read-only-buffer):
10572 Avoid some needless mode changes.
10573
10574 2012-06-21 Chong Yidong <cyd@gnu.org>
10575
10576 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
10577 (desktop-path): Remove . from the default value (Bug#10977).
10578 (desktop-read): Use user-emacs-directory if desktop-path is nil.
10579
10580 2012-06-20 Chong Yidong <cyd@gnu.org>
10581
10582 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
10583
10584 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
10585
10586 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
10587 (bug#11201).
10588
10589 2012-06-20 Chong Yidong <cyd@gnu.org>
10590
10591 * term.el (term-window-width): Handle the case of a missing right
10592 fringe (Bug#8837).
10593 (term-check-size): Use window-text-height (Bug#5445).
10594 (term-mode): Use define-derived-mode. Minor cleanups.
10595 Set font-lock-defaults (Bug#7692).
10596 (term-move-columns, term-insert-char, term-emulate-terminal)
10597 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
10598
10599 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
10600
10601 * net/ange-ftp.el (ange-ftp-get-passwd):
10602 Bind `enable-recursive-minibuffers'.
10603 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
10604
10605 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
10606
10607 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
10608
10609 2012-06-19 Glenn Morris <rgm@gnu.org>
10610
10611 * progmodes/python.el (python-mode): Derive from prog-mode.
10612
10613 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
10614
10615 * emulation/edt.el (edt-default-menu-bar-update-buffers)
10616 (edt-user-menu-bar-update-buffers): New functions.
10617 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
10618
10619 2012-06-19 Chong Yidong <cyd@gnu.org>
10620
10621 * subr.el (with-selected-window): Preserve the selected window's
10622 terminal's top-frame (Bug#4702).
10623
10624 * window.el (save-selected-window): Likewise.
10625
10626 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10627
10628 * progmodes/python.el (python-rx-constituents): Move backquote.
10629 (python-skeleton-define, python-define-auxiliary-skeleton):
10630 Use `declare'.
10631
10632 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
10633
10634 * minibuffer.el (read-file-name-default): Revert the patch from
10635 2012-06-17.
10636
10637 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10638
10639 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
10640 (pcase--u1, pcase--q1): Don't use apply-partially.
10641
10642 2012-06-18 Glenn Morris <rgm@gnu.org>
10643
10644 * progmodes/python.el (python-proc, python-buffer)
10645 (python-send-receive, python-send-string): Fix obsolete versions.
10646
10647 2012-06-18 Martin Rudalics <rudalics@gmx.at>
10648
10649 * window.el (special-display-p): Completely remove stringp
10650 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
10651
10652 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
10653
10654 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
10655
10656 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
10657
10658 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
10659 * net/tramp-sh.el (tramp-maybe-open-connection):
10660 Throw if `non-essential' is non-nil.
10661
10662 2012-06-17 Martin Rudalics <rudalics@gmx.at>
10663
10664 * window.el (special-display-p): Signal an error if BUFFER-NAME
10665 is not a string (Bug#11713).
10666
10667 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
10668
10669 * progmodes/python.el (python-info-beginning-of-backslash):
10670 Rename from python-info-beginning-of-backlash, as a spelling fix.
10671
10672 2012-06-17 Chong Yidong <cyd@gnu.org>
10673
10674 * term.el (term-emulate-terminal): If term-check-size is called,
10675 move point to the process mark without resetting point (Bug#4635).
10676
10677 2012-06-17 Glenn Morris <rgm@gnu.org>
10678
10679 * international/mule-cmds.el (mule-menu-keymap)
10680 (set-language-environment, set-locale-environment): Doc tweaks.
10681
10682 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
10683
10684 * cus-face.el (custom-face-attributes): Add wave-style underline
10685 attribute.
10686 * faces.el (set-face-attribute): Update docstring to describe
10687 wave-style underline attribute.
10688
10689 2012-06-16 Chong Yidong <cyd@gnu.org>
10690
10691 * term/xterm.el (terminal-init-xterm): Discard input before
10692 querying background mode (Bug#10959).
10693
10694 2012-06-16 Stefan Merten <smerten@oekonux.de>
10695
10696 * textmodes/rst.el: Added and corrected some comments.
10697 (rst-re-alist-def): Improve symbol syntax.
10698 (rst-mode-syntax-table): Correct syntax entries.
10699 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
10700 (rst-official-version, rst-official-cvs-rev): Update version
10701 information.
10702
10703 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
10704
10705 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
10706 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
10707
10708 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
10709
10710 * progmodes/python.el: New python.el merge.
10711 (python-guess-indent): Obsolete var.
10712 (python-indent-guess-indent-offset): New defcustom.
10713 (python-indent): Obsolete var.
10714 (python-indent-offset): New defcustom.
10715 (python-python-command, python-jython-command): Delete var.
10716 (python-shell-interpreter): New defcustom.
10717 (python-pdbtrack-do-tracking-p): Delete var.
10718 (python-pdbtrack-activate): New defcustom.
10719 (python-use-skeletons): Obsolete var.
10720 (python-skeleton-autoinsert): New defcustom.
10721 (inferior-python-filter-regexp, python-continuation-offset)
10722 (python-honour-comment-indentation, python-indent-string-contents)
10723 (python-jython-packages, python-mode-hook)
10724 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
10725 (python-shell-prompt-alist)
10726 (python-source-modes): Delete defcustoms.
10727 (python-check-buffer-name, python-eldoc-setup-code)
10728 (python-eldoc-string-code, python-ffap-setup-code)
10729 (python-ffap-string-code, python-fill-comment-function)
10730 (python-fill-decorator-function, python-fill-paren-function)
10731 (python-fill-string-function, python-imenu-include-defun-type)
10732 (python-imenu-make-tree, python-imenu-subtree-root-label)
10733 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
10734 (python-shell-compilation-regexp-alist)
10735 (python-shell-completion-module-string-code)
10736 (python-shell-completion-pdb-string-code)
10737 (python-shell-completion-setup-code)
10738 (python-shell-completion-string-code)
10739 (python-shell-enable-font-lock, python-shell-exec-path)
10740 (python-shell-extra-pythonpaths)
10741 (python-shell-internal-buffer-name, python-shell-interpreter-args)
10742 (python-shell-process-environment)
10743 (python-shell-prompt-block-regexp)
10744 (python-shell-prompt-output-regexp)
10745 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
10746 (python-shell-send-setup-max-wait, python-shell-setup-codes)
10747 (python-shell-virtualenv-path): New defcustoms.
10748 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
10749 (inferior-python-mode-syntax-table, python--prompt-regexp)
10750 (python-buffer, python-command python-python-command)
10751 (python-default-template, python-imports, python-indent-index)
10752 (python-indent-list, python-indent-list-length)
10753 (python-mode-running, python-pdbtrack-is-tracking-p)
10754 (python-preoutput-continuation, python-preoutput-leftover)
10755 (python-preoutput-result, python-preoutput-skip-next-prompt)
10756 (python-prev-dir/file, python-recursing)
10757 (python-saved-check-command, python-version-checked)
10758 (python-which-func-length-limit)
10759 (view-return-to-alist): Delete vars.
10760 (python-check-custom-command, python-dotty-syntax-table)
10761 (python-imenu-index-alist, python-indent-current-level)
10762 (python-indent-dedenters, python-indent-levels)
10763 (python-nav-beginning-of-defun-regexp)
10764 (python-nav-list-defun-positions-cache)
10765 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
10766 (python-shell-internal-buffer)
10767 (python-skeleton-available): New vars.
10768 (def-python-skeleton): Delete macro.
10769 (python-skeleton-define): New macro.
10770 (python-define-auxiliary-skeleton, python-rx): New macros.
10771 (python-insert-class): Delete command.
10772 (python-skeleton-class): New command.
10773 (python-insert-def): Delete command.
10774 (python-skeleton-def): New command.
10775 (python-insert-for): Delete command.
10776 (python-skeleton-for): New command.
10777 (python-insert-if): Delete command.
10778 (python-skeleton-if): New command.
10779 (python-insert-try/except, python-insert-try/finally): Delete commands.
10780 (python-skeleton-try): New command.
10781 (python-insert-while): Delete command.
10782 (python-skeleton-while): New command.
10783 (python-backspace): Delete command.
10784 (python-indent-dedent-line-backspace): New command.
10785 (python-electric-colon): Delete command.
10786 (python-indent-electric-colon): New command.
10787 (python-guess-indent): Delete command.
10788 (python-indent-guess-indent-offset): New command.
10789 (python-shift-left): Delete command.
10790 (python-indent-shift-left): New command.
10791 (python-shift-right): Delete command.
10792 (python-indent-shift-right): New command.
10793 (python-find-function): Delete command.
10794 (python-nav-jump-to-defun): New command.
10795 (python-next-statement): Delete command.
10796 (python-nav-forward-sentence): New command.
10797 (python-previous-statement): Delete command.
10798 (python-nav-backward-sentence): New command.
10799 (python-fill-paragraph): Delete command.
10800 (python-fill-paragraph-function): New command.
10801 (python-send-buffer): Delete command.
10802 (python-shell-send-buffer): New command.
10803 (python-send-defun): Delete command.
10804 (python-shell-send-defun): New command.
10805 (python-send-region, python-send-region-and-go): Delete commands.
10806 (python-shell-send-region)
10807 (python-shell-switch-to-shell): New commands.
10808 (python-send-string): Delete command.
10809 (python-shell-send-string): New command.
10810 (python-switch-to-python): Delete command.
10811 (python-shell-switch-to-shell): New command.
10812 (python-describe-symbol): Delete command.
10813 (python-eldoc-at-point): New command.
10814 (python--set-prompt-regexp, python-args-to-list)
10815 (python-after-info-look, python-check-version)
10816 (python-check-comint-prompt, python-find-imports)
10817 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
10818 (python-unload-function, python-expand-template)
10819 (python-maybe-jython, python-preoutput-filter)
10820 (python-pdbtrack-get-source-buffer)
10821 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
10822 (python-pdbtrack-toggle-stack-tracking)
10823 (python-pdbtrack-track-stack-file, python-initial-text)
10824 (python-first-word, python-comment-line-p, python-send-command)
10825 (python-setup-brm, python-sentinel, python-set-proc)
10826 (python-skip-out, python-input-filter, python-outdent-p)
10827 (python-outline-level, python-backslash-continuation-line-p)
10828 (python-end-of-block, python-end-of-statement, python-mark-block)
10829 (python-beginning-of-block, python-beginning-of-statement)
10830 (python-blank-line-p, python-beginning-of-string)
10831 (python-open-block-statement-p): Delete functions.
10832 (python-indent-line, python-indent-line-1): Delete functions.
10833 (python-indent-line): New function.
10834 (python-indentation-levels): Delete function.
10835 (python-indent-calculate-levels): New function.
10836 (python-proc): Delete function.
10837 (python-shell-get-process): New function.
10838 (python-send-receive): Delete function.
10839 (python-shell-send-string-no-output): New function.
10840 (python-module-path): Delete function.
10841 (python-ffap-module-path): New function.
10842 (python-completion-at-point)
10843 (python-symbol-completions): Delete functions.
10844 (python-completion-complete-at-point): New function.
10845 (python-load-file): Delete function.
10846 (python-shell-send-file): New function.
10847 (python-calculate-indentation): Delete function.
10848 (python-indent-calculate-indentation): New function.
10849 (python-skip-comments/blanks): Delete function.
10850 (python-util-forward-comment): New function.
10851 (python-continuation-line-p): Delete function.
10852 (python-info-continuation-line-p): New function.
10853 (python-which-func, python-current-defun): Delete function.
10854 (python-info-current-defun): New function.
10855 (python-beginning-of-defun): Delete function.
10856 (python-nav-beginning-of-defun): New function.
10857 (python-close-block-statement-p)
10858 (python-block-end-p): Delete function.
10859 (python-info-closing-block): New function.
10860 (python-comint-output-filter-function)
10861 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
10862 (python-fill-comment, python-fill-decorator, python-fill-paren)
10863 (python-fill-string, python-imenu-make-element-tree)
10864 (python-imenu-make-tree, python-imenu-tree-assoc)
10865 (python-indent-context, python-indent-dedent-line)
10866 (python-indent-line-function)
10867 (python-indent-post-self-insert-function)
10868 (python-indent-toggle-levels)
10869 (python-info-assignment-continuation-line-p)
10870 (python-info-beginning-of-backlash)
10871 (python-info-block-continuation-line-p)
10872 (python-info-closing-block-message)
10873 (python-info-line-ends-backslash-p)
10874 (python-info-looking-at-beginning-of-defun)
10875 (python-info-ppss-context, python-info-ppss-context-type)
10876 (python-nav-list-defun-positions, python-nav-read-defun)
10877 (python-nav-sentence-end, python-nav-sentence-start)
10878 (python-pdbtrack-comint-output-filter-function)
10879 (python-pdbtrack-set-tracked-buffer)
10880 (python-shell-calculate-exec-path)
10881 (python-shell-calculate-process-environment)
10882 (python-shell-completion--do-completion-at-point)
10883 (python-shell-completion--get-completions)
10884 (python-shell-completion-complete-at-point)
10885 (python-shell-completion-complete-or-indent)
10886 (python-shell-get-or-create-process)
10887 (python-shell-get-process-name)
10888 (python-shell-internal-get-or-create-process)
10889 (python-shell-internal-get-process-name)
10890 (python-shell-internal-send-string, python-shell-make-comint)
10891 (python-shell-parse-command, python-shell-send-setup-code)
10892 (python-skeleton-add-menu-items)
10893 (python-util-clone-local-variables, python-util-position)
10894 (run-python-internal, python-indentation-levels)
10895 (python-nav-beginning-of-defun)
10896 (python-completion-complete-at-point): New functions.
10897 (run-python): Change arguments. New API requirements.
10898
10899 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
10900
10901 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
10902 (bug#11649).
10903
10904 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
10905 (macroexp--expand-all): Use it.
10906
10907 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
10908 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
10909 Use `cl-function' instead.
10910
10911 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
10912
10913 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
10914 Suggested by Stefan Monnier while discussing bug#11657.
10915
10916 2012-06-14 Sam Steingold <sds@gnu.org>
10917
10918 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
10919
10920 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
10921
10922 * play/doctor.el (doctor-doc): Remove parameter and use
10923 doctor-sent instead of sent.
10924 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
10925
10926 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10927
10928 * files.el: Require cl-lib.
10929 (file-name-non-special): Replace case -> cl-case.
10930
10931 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
10932
10933 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
10934 mapping from #' to function*.
10935
10936 2012-06-13 Chong Yidong <cyd@gnu.org>
10937
10938 * mouse.el (mouse-drag-track): Do not set the mark if the user
10939 releases the mouse without selecting anything (Bug#11588).
10940
10941 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10942
10943 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
10944 as well (bug#11646).
10945
10946 * loadup.el: Count byte-code functions as well.
10947
10948 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
10949 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
10950
10951 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
10952 (bug#11649). Add cl-defun and cl-defmacro.
10953
10954 2012-06-13 Drew Adams <drew.adams@oracle.com>
10955
10956 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
10957 Fix last change.
10958
10959 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
10960
10961 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
10962 Otherwise, it blocks in batch mode.
10963
10964 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
10965
10966 * help-mode.el (bookmark-make-record-default): Declare.
10967
10968 2012-06-13 Chong Yidong <cyd@gnu.org>
10969
10970 * emacs-lisp/package.el (list-packages): Compute a list of
10971 packages that are newly-available since the last list-packages
10972 invocation.
10973 (package-menu--new-package-list): New var.
10974 (package-menu--generate, package-menu--print-info)
10975 (package-menu--status-predicate, package-menu-mark-install):
10976 Handle new status label "new".
10977
10978 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
10979
10980 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
10981 conversion to backquotes.
10982
10983 2012-06-12 Chong Yidong <cyd@gnu.org>
10984
10985 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
10986 Rename from gud-inhibit-global-bindings.
10987
10988 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
10989
10990 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
10991 hook from nxml-glyph-set-hook.
10992
10993 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
10994 declaration.
10995
10996 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
10997
10998 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
10999 Convert to defcustom.
11000
11001 2012-06-12 Drew Adams <drew.adams@oracle.com>
11002
11003 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
11004 New functions.
11005 (help-mode): Use them.
11006
11007 2012-06-11 Glenn Morris <rgm@gnu.org>
11008
11009 * progmodes/fortran.el (fortran-font-lock-keywords-3):
11010 Use preprocessor face for directives.
11011 (fortran-directive-re): Doc fix.
11012
11013 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
11014
11015 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
11016 conversion to backquotes (bug#11652).
11017
11018 Fix compiler-expansion of CL's cXXr functions (bug#11673).
11019 * emacs-lisp/cl-lib.el (cl--defalias): New function.
11020 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
11021 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
11022 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
11023 (cl-ninth, cl-tenth): Mark them as inlinable.
11024 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
11025 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
11026 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
11027 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
11028 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
11029 (cl-list*, cl-adjoin): Don't put an autoload manually.
11030 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
11031 (cl--compiler-macro-list*): Add autoload cookie.
11032 (cl--compiler-macro-cXXr): New function.
11033
11034 * help-fns.el (help-fns--compiler-macro): New function extracted from
11035 describe-function-1; follow aliases and use `compiler-macro' property.
11036 (describe-function-1): Use it.
11037
11038 2012-06-11 Chong Yidong <cyd@gnu.org>
11039
11040 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
11041 is uninstalled, if imagemagick is installed.
11042
11043 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
11044
11045 * emacs-lisp/cl-lib.el: Use lexical-binding.
11046 (cl-map-extents, cl-maclisp-member): Remove.
11047 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
11048 (cl--set-substring, cl--block-wrapper, cl--block-throw)
11049 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
11050 * emacs-lisp/cl-extra.el: Use lexical-binding.
11051 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
11052 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
11053 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
11054 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
11055 * emacs-lisp/cl-seq.el: Use lexical-binding.
11056 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
11057 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
11058 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
11059 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
11060 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
11061 CL's internals.
11062
11063 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
11064
11065 Sync with Tramp 2.2.6-pre.
11066
11067 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
11068 `print-length' and `print-level' to nil, in order to avoid
11069 truncation. Reported by Christopher Schmidt
11070 <christopher@ristopher.com>.
11071
11072 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
11073
11074 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
11075 New defmacro.
11076 (tramp-compat-copy-directory): Add optional argument
11077 COPY-CONTENTS. It is not handled yet.
11078
11079 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
11080 (tramp-ftp-file-name-p): Simplify.
11081
11082 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
11083 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
11084 connection vector.
11085
11086 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
11087 (tramp-methods): Do not use `tramp-password-end-of-line'.
11088 (tramp-completion-function-alist-putty): Handle UNIX case.
11089 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
11090 (tramp-do-file-attributes-with-stat)
11091 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
11092 gid as real numbers. They could run out of integer range on cygwin.
11093 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
11094 (tramp-sh-handle-expand-file-name): Handle hops.
11095 (tramp-open-connection-setup-interactive-shell):
11096 Use `tramp-cleanup'. Move check for busyboxes ...
11097 (tramp-find-shell): ... here. Simplify implementation.
11098 Set "remote-shell" property also for alternative shells.
11099 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
11100 If failing, a regular file would be written otherwise.
11101 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
11102 (tramp-find-inline-encoding): Cache the coding commands in the
11103 process cache. Apply test command on the remote side, if defined.
11104 (tramp-find-inline-compress): Cache the compress commands in the
11105 process cache.
11106 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
11107 when requested. Handle hops.
11108 (tramp-current-connection): New defvar.
11109 (tramp-maybe-open-connection): Use `tramp-cleanup'.
11110 Throw `suppress', if there was a failed connection shortly before.
11111 Handle user interrupt. (Bug#10187)
11112 (tramp-get-inline-compress, tramp-get-inline-coding):
11113 Read connection properties from the process cache.
11114
11115 * net/tramp-smb.el (tramp-smb-server-version)
11116 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
11117 New defconsts.
11118 (tramp-smb-prompt): Extend for powershell prompt.
11119 (tramp-smb-file-name-handler-alist): Add handlers for
11120 `process-file', `shell-command' and `start-file-process'.
11121 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
11122 (tramp-smb-winexe-shell-command-switch): New defcustoms.
11123 (tramp-smb-file-name-p): Simplify.
11124 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
11125 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
11126 (tramp-smb-shell-quote-argument): New defuns.
11127 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
11128 Implement using "tar". By this, time-stamps are preserved.
11129 (tramp-smb-handle-copy-file): Handle also the case of directories.
11130 (tramp-smb-do-file-attributes-with-stat)
11131 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
11132 Use `tramp-get-connection-buffer').
11133 (tramp-smb-handle-rename-file): Use "rename", when source and
11134 target are on the same share.
11135 (tramp-smb-maybe-open-connection): Handle wrong passwords.
11136 Use `tramp-smb-server-version'.
11137 (tramp-smb-wait-for-output): Remove prompt.
11138
11139 * net/tramp.el (top): Require 'cl.
11140 (tramp-methods, tramp-rsh-end-of-line):
11141 Remove `tramp-password-end-of-line' from docstring.
11142 (tramp-save-ad-hoc-proxies): New defcustom.
11143 (tramp-completion-function-alist): Adapt docstring.
11144 (tramp-default-password-end-of-line): Remove defcustom.
11145 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
11146 (tramp-user-regexp, tramp-file-name-regexp-unified)
11147 (tramp-file-name-regexp-url): Extend regexp by hop separator.
11148 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
11149 (tramp-remote-file-name-spec-regexp): New defconst.
11150 (tramp-file-name-structure): Extend structure for hops.
11151 (tramp-get-method-parameter): Move up.
11152 (tramp-file-name-p, tramp-dissect-file-name)
11153 (with-parsed-tramp-file-name): Handle hops.
11154 (tramp-file-name-hop): New defun.
11155 (tramp-make-tramp-file-name): New optional arg HOP.
11156 (tramp-message-show-progress-reporter-message): New defvar.
11157 (tramp-with-progress-reporter): Use it. We cannot use
11158 `tramp-message-show-message' here, because this suppresses also
11159 error buffers.
11160 (tramp-error-with-buffer): Suppress buffer view, if
11161 `tramp-message-show-message' is nil.
11162 Use `tramp-get-connection-buffer'.
11163 (tramp-cleanup): New defun.
11164 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
11165 (tramp-file-name-handler): If `debug-on-error' is set, propagate
11166 an error unchanged.
11167 (tramp-completion-handle-file-name-all-completions): Handle hops.
11168 Fix an error when called from ido.
11169 (tramp-completion-dissect-file-name): Use better local variable
11170 name. Add hop to the vector.
11171 (tramp-handle-insert-file-contents): Use progress-reporter for the
11172 whole scenario.
11173 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
11174 to `t'.
11175 (tramp-check-for-regexp): Simplify search.
11176 (tramp-enter-password): Remove it. Move implementation ...
11177 (tramp-action-password): ... here.
11178 (tramp-mode-string-to-int, tramp-local-host-p)
11179 (tramp-make-tramp-temp-file, tramp-read-passwd)
11180 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
11181 Set tramp-autoload cookie.
11182
11183 * net/trampver.el: Update release number.
11184
11185 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11186 Michael Albinus <michael.albinus@gmx.de>
11187
11188 * net/tramp.el (tramp-set-completion-function): Fix docstring.
11189 (tramp-parse-group, tramp-parse-file)
11190 (tramp-parse-shostkeys-sknownhosts): New defuns.
11191 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
11192 (tramp-parse-shosts-group, tramp-parse-sconfig)
11193 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
11194 (tramp-parse-sknownhosts, tramp-parse-hosts)
11195 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
11196 Use them.
11197 (tramp-parse-passwd-group, tramp-parse-netrc-group)
11198 (tramp-parse-putty-group): Don't narrow.
11199 (tramp-parse-putty): Make a loop.
11200 (tramp-file-name-handler): Catch the `suppress' signal.
11201
11202 2012-06-11 Chong Yidong <cyd@gnu.org>
11203
11204 * image.el (imagemagick-register-types): Put the ImageMagick entry
11205 at the end of image-type-file-name-regexps.
11206
11207 2012-06-11 Johan Bockgård <bojohan@gnu.org>
11208
11209 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
11210 (pcase, pcase-let*, pcase-dolist): Use them.
11211
11212 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
11213
11214 * emacs-lisp/pcase.el (pcase--let*): New function.
11215 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
11216 (pcase--expand): Use macroexp-let².
11217
11218 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
11219
11220 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
11221 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
11222 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
11223 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
11224 * emacs-lisp/derived.el: Use pcase instead of `cl'.
11225 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
11226
11227 2012-06-10 Glenn Morris <rgm@gnu.org>
11228
11229 * mail/rmail.el (rmail-yank-current-message): Leave point at
11230 correct position. (Bug#11660)
11231
11232 2012-06-10 Chong Yidong <cyd@gnu.org>
11233
11234 * allout-widgets.el: Fix code header.
11235
11236 2012-06-10 Chong Yidong <cyd@gnu.org>
11237
11238 * cus-edit.el (customize-changed-options-previous-release):
11239 Bump to 24.1.
11240
11241 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
11242
11243 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
11244
11245 2012-06-09 Chong Yidong <cyd@gnu.org>
11246
11247 * ebuff-menu.el (electric-buffer-list): Preserve header line.
11248
11249 2012-06-09 Martin Rudalics <rudalics@gmx.at>
11250
11251 * window.el (special-display-popup-frame): Don't use
11252 window--display-buffer (Bug#11651).
11253
11254 2012-06-09 Eli Zaretskii <eliz@gnu.org>
11255
11256 Fix parallel builds: make sure loaddefs.el is not being written
11257 while Lisp files are compiled.
11258 (compile): Don't depend on 'mh-autoloads'.
11259 (compile-CMD, compile-SH): Depend on 'autoloads'.
11260 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
11261
11262 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
11263
11264 2012-06-09 Chong Yidong <cyd@gnu.org>
11265
11266 * face-remap.el (face-remap-add-relative, face-remap-set-base)
11267 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
11268 Doc fixes (Bug#11225).
11269
11270 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
11271
11272 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
11273 a function if there's a clear indication that it has a compiler-macro.
11274 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
11275 (macro-declarations-alist): Add arglist to declaration functions.
11276 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
11277 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
11278 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
11279 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
11280 Also add autoload to find the compiler macro.
11281 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
11282 (cl--compiler-macro-member, cl--compiler-macro-assoc)
11283 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
11284 (cl--compiler-macro-get): New functions, replacing calls to
11285 cl-define-compiler-macro.
11286 (cl-typep) [compiler-macro]: Use macroexp-let².
11287
11288 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
11289
11290 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
11291 string properly, fixes Bug#11473.
11292
11293 2012-06-08 Chong Yidong <cyd@gnu.org>
11294
11295 * faces.el (set-face-attribute): Doc fix.
11296 (modify-face): Don't use :bold and :italic.
11297 (error, warning, success): Tweak definitions.
11298
11299 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
11300 (custom-modified, custom-set, custom-changed, custom-themed)
11301 (custom-saved, custom-button, custom-button-mouse)
11302 (custom-button-pressed, custom-state, custom-comment-tag)
11303 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
11304 (custom-group-subtitle): Use new-style face specs.
11305 (custom-invalid-face, custom-rogue-face, custom-modified-face)
11306 (custom-set-face, custom-changed-face, custom-saved-face)
11307 (custom-button-face, custom-button-pressed-face)
11308 (custom-documentation-face, custom-state-face)
11309 (custom-comment-face, custom-comment-tag-face)
11310 (custom-variable-tag-face, custom-variable-button-face)
11311 (custom-face-tag-face, custom-group-tag-face-1)
11312 (custom-group-tag-face): Remove obsolete face alias.
11313
11314 * epa.el (epa-validity-high, epa-validity-medium)
11315 (epa-validity-low, epa-mark, epa-field-name, epa-string)
11316 (epa-field-name, epa-field-body):
11317 * font-lock.el (font-lock-comment-face, font-lock-string-face)
11318 (font-lock-keyword-face, font-lock-builtin-face)
11319 (font-lock-function-name-face, font-lock-variable-name-face)
11320 (font-lock-type-face, font-lock-constant-face):
11321 * ido.el (ido-first-match, ido-only-match, ido-subdir)
11322 (ido-virtual, ido-indicator, ido-incomplete-regexp):
11323 * speedbar.el (speedbar-button-face, speedbar-file-face)
11324 (speedbar-directory-face, speedbar-tag-face)
11325 (speedbar-selected-face, speedbar-highlight-face)
11326 (speedbar-separator-face):
11327 * whitespace.el (whitespace-newline, whitespace-space)
11328 (whitespace-hspace, whitespace-tab, whitespace-trailing)
11329 (whitespace-line, whitespace-space-before-tab)
11330 (whitespace-space-after-tab, whitespace-indentation)
11331 (whitespace-empty):
11332 * emulation/cua-base.el (cua-global-mark):
11333 * eshell/em-prompt.el (eshell-prompt):
11334 * net/newst-plainview.el (newsticker-new-item-face)
11335 (newsticker-old-item-face, newsticker-immortal-item-face)
11336 (newsticker-obsolete-item-face, newsticker-date-face)
11337 (newsticker-statistics-face, newsticker-default-face):
11338 * net/newst-reader.el (newsticker-feed-face)
11339 (newsticker-extra-face, newsticker-enclosure-face):
11340 * net/newst-treeview.el (newsticker-treeview-face)
11341 (newsticker-treeview-new-face, newsticker-treeview-old-face)
11342 (newsticker-treeview-immortal-face)
11343 (newsticker-treeview-obsolete-face)
11344 (newsticker-treeview-selection-face):
11345 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
11346 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
11347 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
11348 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
11349 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
11350 (nxml-outline-active-indicator, nxml-outline-ellipsis):
11351 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
11352 (mpuz-text):
11353 * progmodes/vera-mode.el (vera-font-lock-number)
11354 (vera-font-lock-function, vera-font-lock-interface):
11355 * textmodes/table.el (table-cell): Use new-style face specs, and
11356 don't use the old :bold and :italic attributes.
11357
11358 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
11359 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
11360 (ebrowse-member-class, ebrowse-progress): Likewise.
11361 (ebrowse-tree-mark-face, ebrowse-root-class-face)
11362 (ebrowse-file-name-face, ebrowse-default-face)
11363 (ebrowse-member-attribute-face, ebrowse-member-class-face)
11364 (ebrowse-progress-face): Remove obsolete faces.
11365
11366 * progmodes/flymake.el (flymake-errline, flymake-warnline):
11367 Inherit from error and warning faces respectively.
11368
11369 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
11370 Likewise.
11371 (flyspell-incorrect-face, flyspell-duplicate-face):
11372 Remove obsolete aliases.
11373
11374 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
11375
11376 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
11377 Avoid infloop.
11378
11379 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
11380
11381 * startup.el (argv, argi): Make lexically scoped.
11382 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
11383 * emacs-lisp/cl-macs.el: Use lexical-binding.
11384 Rename cl-bind-* to cl--bind-*.
11385 * files.el: Don't require `cl' since it doesn't use it.
11386 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
11387
11388 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
11389
11390 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
11391 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
11392 instead of calling external sort utility.
11393 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
11394
11395 2012-06-08 Eli Zaretskii <eliz@gnu.org>
11396
11397 * descr-text.el (describe-char): Mention how to insert the
11398 character, if the current input method doesn't support it.
11399 See the discussion in this thread for the details:
11400 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
11401
11402 2012-06-08 Sam Steingold <sds@gnu.org>
11403
11404 * bindings.el (global-map): Bind XF86Forward to next-buffer and
11405 XF86Back to previous-buffer.
11406 (minibuffer-local-map): Bind them to next-history-element and
11407 previous-history-element respectively.
11408 * help-mode.el (help-mode-map): Bind them to help-go-forward and
11409 help-go-back respectively.
11410 * info.el (Info-mode-map): Bind them to Info-history-forward and
11411 Info-history-back respectively.
11412 These are the keys next to Up on the ThinkPad keyboard.
11413
11414 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
11415
11416 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
11417 * emacs-lisp/cl-macs.el: Provide itself.
11418 (cl--labels-convert-cache): New var.
11419 (cl--labels-convert): New function.
11420 (cl-flet, cl-labels): New implementation with new semantics, relying on
11421 lexical-binding.
11422 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
11423 (cl-closure-vars, cl--function-convert-cache)
11424 (cl--function-convert): Move from cl-macs.el.
11425 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
11426 rename by removing the "cl-" prefix.
11427 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
11428
11429 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
11430
11431 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
11432 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
11433 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
11434 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
11435 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
11436 (cl-hash-table-count): Add old compatibility aliases.
11437
11438 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
11439 Use macroexpand-all-environment instead.
11440 (cl--old-macroexpand): New var.
11441 (cl--sm-macroexpand): New function.
11442 (cl-symbol-macrolet): Use it during macro expansion.
11443 (cl--function-convert-cache): New var.
11444 (cl--function-convert): New function, extracted from
11445 cl-macroexpand-all.
11446 (cl-lexical-let): Use it.
11447
11448 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
11449 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
11450 (cl-member): Remove old alias.
11451
11452 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
11453 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
11454 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
11455 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
11456 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
11457 (cl-macroexpand-cmacs): Remove var.
11458 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
11459 Use macroexpand-all instead.
11460
11461 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
11462
11463 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
11464 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
11465 (macroexp-copyable-p): New functions and macros.
11466 * emacs-lisp/edebug.el (edebug-unwrap):
11467 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
11468 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
11469 (pcase--let*): Remove.
11470 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
11471 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
11472 macroexp-const-p instead.
11473 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
11474
11475 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
11476 instead of "cl-" for internal definitions. Use macroexp-const-p.
11477 (cl-old-bc-file-form): Remove var.
11478 (cl-const-exprs-p): Remove fun.
11479 (cl-labels, cl-macrolet): Use backquote.
11480 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
11481 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
11482 (cl-define-setf-expander): Rename from cl-define-setf-method.
11483 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
11484
11485 * international/mule-cmds.el: Don't require CL.
11486 (view-hello-file): Don't use `letf'.
11487
11488 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
11489
11490 * tmm.el (tmm-prompt): Use string-prefix-p.
11491 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
11492 (tmm-add-prompt): Use minibuffer-completion-help.
11493 (tmm-delete-map): Remove.
11494
11495 * subr.el (kbd): Make it its own function.
11496
11497 2012-06-07 Stefan Merten <smerten@oekonux.de>
11498
11499 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
11500 Silence compiler warnings. Fix versions.
11501 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
11502 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
11503 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
11504 (rst-package-emacs-version-alist): Correct Emacs version to
11505 represent major merge with upstream.
11506 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
11507
11508 2012-06-06 Glenn Morris <rgm@gnu.org>
11509
11510 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
11511 Only print environment variables if set.
11512
11513 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
11514
11515 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
11516 (macroexp--cons): Rename from maybe-cons.
11517 (macroexp--accumulate): Rename from macroexp-accumulate.
11518 (macroexp--all-forms): Rename from macroexpand-all-forms.
11519 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
11520 (macroexp--expand-all): Rename from macroexpand-all-1.
11521
11522 2012-06-06 Sam Steingold <sds@gnu.org>
11523
11524 * calendar/calendar.el (calendar-in-read-only-buffer):
11525 Call `special-mode' to enable the standard read-only keybindings.
11526
11527 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
11528
11529 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
11530 with "loading" messages (bug#11635).
11531
11532 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
11533
11534 * files.el (enable-remote-dir-locals): New option.
11535 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
11536
11537 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
11538 Ensure, that the temp directory is local.
11539
11540 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
11541 `temporary-file-directory'.
11542
11543 * progmodes/python.el (python-send-region): Ensure, that the
11544 temporary file is created also in the remote case.
11545
11546 2012-06-06 Glenn Morris <rgm@gnu.org>
11547
11548 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
11549 (vc-rcs-update-changelog): Use it.
11550
11551 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
11552
11553 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
11554 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
11555 (vc-sccs-diff): Replace use of the external vcdiff script.
11556
11557 2012-06-05 Glenn Morris <rgm@gnu.org>
11558
11559 * ledit.el: Move to obsolete/.
11560
11561 2012-06-05 Sam Steingold <sds@gnu.org>
11562
11563 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
11564 patch (Bug#11140).
11565
11566 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11567
11568 * emacs-lisp/cust-print.el: Move to obsolete.
11569
11570 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
11571 compiler-macro expansion.
11572
11573 Add native compiler-macro support.
11574 * emacs-lisp/macroexp.el (macroexpand-all-1):
11575 Support compiler-macros directly. Properly follow aliases and apply
11576 the compiler macros more thoroughly.
11577 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
11578 macroexpand now properly follows aliases.
11579 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
11580 (cl-compiler-macroexpand): Use new prop.
11581 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
11582
11583 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
11584
11585 2012-06-05 Martin Rudalics <rudalics@gmx.at>
11586
11587 * window.el (get-lru-window, get-mru-window, get-largest-window):
11588 New argument NOT-SELECTED to avoid picking the selected window.
11589 (window--display-buffer-1, window--display-buffer-2): Replace by
11590 new function window--display-buffer
11591 (display-buffer-same-window, display-buffer-reuse-window)
11592 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
11593 Use window--display-buffer.
11594 (display-buffer-use-some-window): Remove temporary dedication
11595 hack by calling get-lru-window and get-largest-window with
11596 NOT-SELECTED argument non-nil. Call window--display-buffer.
11597
11598 2012-06-05 Glenn Morris <rgm@gnu.org>
11599
11600 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
11601 Replace external vcdiff script.
11602
11603 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
11604
11605 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
11606
11607 2012-06-04 Chong Yidong <cyd@gnu.org>
11608
11609 * image.el (imagemagick-types-inhibit): Revert last change.
11610 Add INFO and M.
11611 (imagemagick-enabled-types): Remove CIN and EPS*.
11612
11613 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
11614
11615 * emacs-lisp/cl-lib.el: Rename from cl.el.
11616 * emacs-lisp/cl.el: New compatibility file.
11617 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
11618 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
11619 to obey the "cl-" prefix.
11620 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
11621
11622 2012-06-03 Glenn Morris <rgm@gnu.org>
11623
11624 * emacs-lisp/authors.el (authors-aliases): Addition.
11625
11626 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
11627 Fix :version.
11628
11629 2012-06-03 Stefan Merten <smerten@oekonux.de>
11630
11631 * textmodes/rst.el: Add comments.
11632 (rst-transition, rst-adornment): New faces.
11633 (rst-adornment-faces-alist): Make default safe to reevaluate.
11634 Fixes
11635 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
11636 Improve customization tags.
11637 (rst-define-level-faces): Clarify meaning.
11638
11639 2012-06-03 Chong Yidong <cyd@gnu.org>
11640
11641 * progmodes/compile.el (compilation-mode-line-fail)
11642 (compilation-mode-line-run, compilation-mode-line-exit):
11643 New faces.
11644 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
11645
11646 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
11647
11648 * progmodes/which-func.el (which-func-update-ediff-windows):
11649 New function. Use it in ediff-select-hook (Bug#11478).
11650
11651 2012-06-03 Chong Yidong <cyd@gnu.org>
11652
11653 * bindings.el: Remove explicit help text from format-mode-line.
11654 It is now supplied by mode-line-default-help-echo.
11655 (mode-line-front-space, mode-line-end-spaces)
11656 (mode-line-misc-info): New variables.
11657 (mode-line-modes, mode-line-position): Move the default value to
11658 the variable definition.
11659 (mode-line-default-help-echo): New defcustom.
11660 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
11661 (mode-line-modified-help-echo): New functions.
11662 (mode-line-mule-info, mode-line-modified): Use them.
11663 (mode-line-eol-desc, propertized-buffer-identification):
11664 Consistency fixes for help text.
11665 (mode-line-coding-system-map): Allow using mouse-3 to invoke
11666 set-buffer-file-coding-system (Bug#289).
11667 (mode-line-mule-info-help-echo): Update help text.
11668
11669 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
11670
11671 * simple.el (execute-extended-command): Set real-this-command
11672 (bug#11506).
11673
11674 2012-06-02 Chong Yidong <cyd@gnu.org>
11675
11676 Remove incorrect uses of "modeline" in comments, docstrings, and
11677 function/variable names (Bug#10329).
11678
11679 * cus-edit.el (mode-line):
11680 * dframe.el (dframe-mouse-hscroll):
11681 * emacs-lisp/re-builder.el:
11682 * emacs-lisp/easy-mmode.el (define-minor-mode):
11683 * frame.el (set-frame-name):
11684 * help.el (lookup-minor-mode-from-indicator):
11685 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
11686 * progmodes/cc-cmds.el (c-toggle-auto-newline)
11687 (c-toggle-hungry-state):
11688 * progmodes/antlr-mode.el (antlr-language-alist):
11689 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
11690 * progmodes/vhdl-mode.el (vhdl-mode):
11691 * progmodes/which-func.el (which-func, which-func-cleanup-function):
11692 * term/ns-win.el (ns-face-at-pos):
11693 * term/sup-mouse.el (sup-mouse-report):
11694 * textmodes/flyspell.el (flyspell-mode-line-string):
11695 * textmodes/ispell.el (ispell-highlight-face):
11696 * textmodes/reftex-global.el:
11697 * vc/vc-arch.el (vc-arch-mode-line-string):
11698 * vc/vc-cvs.el (vc-cvs-mode-line-string):
11699 * vc/vc-git.el (vc-git-mode-line-string):
11700 * vc/vc-hooks.el (vc-display-status)
11701 (vc-default-mode-line-string):
11702 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
11703
11704 * ansi-color.el (ansi-color-faces-vector): Change default faces.
11705
11706 * dired.el (dired-sort-set-mode-line): Rename from
11707 dired-sort-set-modeline. All callers changed.
11708
11709 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
11710 eshell-status-in-modeline.
11711
11712 * foldout.el (foldout-mode-line-string): Rename from
11713 foldout-modeline-string. All callers changed.
11714 (foldout-update-mode-line): Rename from foldout-update-modeline.
11715
11716 * subr.el (redraw-modeline): Make into obsolete alias.
11717
11718 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
11719 timeclock-modeline-display. Make old name an alias.
11720 (timeclock-update-mode-line): Likewise. All callers changed.
11721 (timeclock-mode-line-display): No need to check before using
11722 add-hook.
11723 (timeclock-relative, timeclock-day-over-hook)
11724 (timeclock-use-elapsed, timeclock-mode-string)
11725 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
11726
11727 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
11728 crisp-mode-modeline-string.
11729
11730 * play/solitaire.el (solitaire-build-mode-line): Rename from
11731 solitaire-build-modeline. All callers changed.
11732
11733 * play/zone.el (zone-hiding-mode-line): Rename from
11734 zone-hiding-modeline. All callers changed.
11735 (zone): Remove unusued `modeline-hidden-level' property.
11736
11737 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
11738 xscheme-modeline-initialize. All callers changed.
11739
11740 * strokes.el (strokes-lighter): Rename from
11741 strokes-modeline-string.
11742
11743 * textmodes/sgml-mode.el (html-face-tag-alist)
11744 (html-tag-face-alist): Use mode-line face instead of obsolete
11745 alias modeline.
11746
11747 2012-06-02 Stefan Merten <smerten@oekonux.de>
11748
11749 * textmodes/rst.el: Always require `cl'.
11750 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
11751
11752 2012-06-02 Chong Yidong <cyd@gnu.org>
11753
11754 * image.el (imagemagick-enabled-types): Rename from
11755 imagemagick-types-enable. Add many more types.
11756 (imagemagick-types-inhibit): Change default to nil.
11757 (imagemagick-filter-types): Caller changed.
11758
11759 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
11760
11761 * emacs-lisp/cl-macs.el: Use backquotes.
11762 (cl-transform-function-property): Use eval-and-compile rather than
11763 abusing `require'.
11764 (defstruct): Use declare-function instead of with-no-warnings.
11765
11766 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
11767 (byte-compile-output-docform): Re-add the print-circle bindings.
11768 (byte-compile-fix-header): Use #$ just because it's shorter.
11769 (byte-compile-output-file-form): Remove defun/defmacro.
11770
11771 2012-06-01 Martin Rudalics <rudalics@gmx.at>
11772
11773 * simple.el (choose-completion): Remove now obsolete binding for
11774 owindow.
11775
11776 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
11777
11778 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
11779 in order to avoid "Stack overflow in regexp matcher".
11780
11781 2012-05-31 Glenn Morris <rgm@gnu.org>
11782
11783 * image.el: For clarity, call imagemagick-register-types at
11784 top-level, rather than relying on a custom :initialize.
11785 (imagemagick-types-enable): New option. (Bug#11557)
11786 (imagemagick-filter-types): New function. (Bug#7406)
11787 (imagemagick-register-types): Use imagemagick-filter-types.
11788 If disabling support, remove elements altogether rather
11789 than using an impossible regexp.
11790 (imagemagick-types-inhibit): Give it the default init function.
11791
11792 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11793
11794 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
11795 Handle arbitrary file name lengths (Bug#11585).
11796
11797 2012-05-31 Martin Rudalics <rudalics@gmx.at>
11798
11799 * desktop.el (desktop-read): Clear previous and next buffers for
11800 all windows and bury *Messages* buffer (bug#11556).
11801
11802 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11803
11804 Add `declare' for `defun'. Align `defmacro's with it.
11805 * emacs-lisp/easy-mmode.el (define-minor-mode)
11806 (define-globalized-minor-mode): Don't autoload the var definitions.
11807 * emacs-lisp/byte-run.el: Use lexical-binding.
11808 (defun-declarations-alist, macro-declarations-alist): New vars.
11809 (defmacro, defun): Use them.
11810 (make-obsolete, define-obsolete-function-alias)
11811 (make-obsolete-variable, define-obsolete-variable-alias):
11812 Use `declare'.
11813 (macro-declaration-function): Mark obsolete.
11814 * emacs-lisp/autoload.el: Use lexical-binding.
11815 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
11816
11817 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11818
11819 * textmodes/ispell.el (ispell-with-no-warnings):
11820 Define as a macro.
11821 (ispell-kill-ispell, ispell-change-dictionary):
11822 Use `called-interactively-p' for Emacs instead of obsolete
11823 `interactive-p'.
11824
11825 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11826
11827 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
11828 (macro-declaration-function): Move var from C code.
11829 (macro-declaration-function): Define function with defalias.
11830 * emacs-lisp/macroexp.el (macroexpand-all-1):
11831 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
11832 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
11833 defun/defmacro any more.
11834 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
11835 Provide fallback for unknown arglist.
11836 (byte-compile-arglist-warn): Change calling convention.
11837 (byte-compile-output-file-form): Move print-vars binding.
11838 (byte-compile-output-docform): Simplify accordingly.
11839 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
11840 (byte-compile-defmacro-declaration): Remove.
11841 (byte-compile-file-form-defmumble): Generalize to defalias.
11842 (byte-compile-output-as-comment): Return byte-positions.
11843 Simplify callers accordingly.
11844 (byte-compile-lambda): Use `assert'.
11845 (byte-compile-defun, byte-compile-defmacro): Remove.
11846 (byte-compile-file-form-defalias):
11847 Use byte-compile-file-form-defmumble.
11848 (byte-compile-defalias-warn): Remove.
11849
11850 2012-05-29 Stefan Merten <smerten@oekonux.de>
11851
11852 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
11853 possible. Fix authors. Improve comments. Improve loading of `cl'.
11854
11855 (rst-mode-abbrev-table): Merge definition.
11856 (rst-mode): Make sure `font-lock-defaults' is buffer local.
11857 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
11858
11859 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
11860
11861 * calendar/icalendar.el
11862 (icalendar-export-region): Export UID properly.
11863
11864 2012-05-29 Leo Liu <sdl.web@gmail.com>
11865 * calendar/icalendar.el (icalendar-import-format):
11866 Add `icalendar-import-format-uid' (Bug#11525).
11867 (icalendar-import-format-uid): New.
11868 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
11869 Export UID.
11870
11871 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
11872
11873 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
11874 different alternative patterns.
11875 (pcase-codegen): Be more careful to preserve identity.
11876 (pcase--u1): Don't forget to mark vars as used.
11877
11878 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
11879 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
11880 (byte-compile-from-buffer): ...rather than here.
11881
11882 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
11883 functions from byte-compile-function-environment.
11884
11885 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
11886
11887 * window.el (window-deletable-p): Avoid deleting the root window
11888 of a frame with an active minibuffer.
11889
11890 2012-05-29 Martin Rudalics <rudalics@gmx.at>
11891
11892 * simple.el (choose-completion): Use quit-window (Bug#11567).
11893
11894 2012-05-29 Chong Yidong <cyd@gnu.org>
11895
11896 * whitespace.el (whitespace-cleanup): Fix usage of
11897 whitespace-empty-at-bob-regexp (Bug#11492).
11898
11899 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11900
11901 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
11902 revert (Bug#11488).
11903
11904 2012-05-29 Juri Linkov <juri@jurta.org>
11905
11906 * isearch.el (isearch-mode-map): Bind `M-s _' to
11907 `isearch-toggle-symbol'. Bind `M-s c' to
11908 `isearch-toggle-case-fold'.
11909 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
11910 (isearch-forward): Add `M-s _' to the docstring.
11911 (isearch-forward-symbol, isearch-toggle-case-fold)
11912 (isearch-symbol-regexp): New functions. (Bug#11381)
11913
11914 2012-05-29 Juri Linkov <juri@jurta.org>
11915
11916 * isearch.el (isearch-word): Add docstring. (Bug#11381)
11917 (isearch-occur, isearch-search-and-update): If `isearch-word' is
11918 a function, call it to get the regexp.
11919 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
11920 property `isearch-message-prefix' instead of the string "word ".
11921 (isearch-search-fun-default): For the case of `isearch-word',
11922 return a lambda that calls re-search-forward/re-search-backward
11923 with a regexp returned by `word-search-regexp' or by the function
11924 in `isearch-word'.
11925
11926 2012-05-29 Juri Linkov <juri@jurta.org>
11927
11928 * isearch.el (isearch-search-fun-default): New function.
11929 (isearch-search-fun): Move default part to the new function
11930 `isearch-search-fun-default'.
11931 (isearch-search-fun-function): Set the default value to
11932 `isearch-search-fun-default'. (Bug#11381)
11933
11934 * comint.el (comint-history-isearch-end):
11935 Use `isearch-search-fun-default'.
11936 (comint-history-isearch-search): Use `isearch-search-fun-default'
11937 and remove spacial case for `isearch-word'.
11938 (comint-history-isearch-wrap): Remove spacial case for
11939 `isearch-word'.
11940
11941 * hexl.el (hexl-isearch-search-function):
11942 Use `isearch-search-fun-default'.
11943
11944 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
11945 Use `word-search-regexp' for `isearch-word'.
11946
11947 * misearch.el (multi-isearch-search-fun):
11948 Use `isearch-search-fun-default'.
11949
11950 * simple.el (minibuffer-history-isearch-search):
11951 Use `isearch-search-fun-default' and remove spacial case for
11952 `isearch-word'.
11953 (minibuffer-history-isearch-wrap): Remove spacial case for
11954 `isearch-word'.
11955
11956 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
11957 Remove spacial case for `isearch-word'.
11958 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
11959
11960 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11961
11962 Decrease XEmacs incompatibilities.
11963 * textmodes/flyspell.el (flyspell-check-pre-word-p):
11964 Use `string-match'.
11965 (flyspell-delete-region-overlays): Use alternative definition for
11966 XEmacs.
11967 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
11968 (flyspell-word): Use `process-kill-without-query' if XEmacs.
11969 (flyspell-mode-on): Use `interactive-p' if XEmacs.
11970 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
11971 `define-obsolete-face-alias' under XEmacs, but old method.
11972
11973 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
11974 `with-no-warnings' definition or Emacs alias.
11975 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
11976 (ispell-word): Do not use `region-p' if XEmacs.
11977
11978 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11979
11980 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
11981 Check for `ispell-dictionary-base-alist' instead of full
11982 `ispell-dictionary-alist'.
11983 (ispell-init-process): Show spellchecker when starting new Ispell
11984 process.
11985
11986 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
11987
11988 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
11989 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
11990
11991 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
11992
11993 * version.el (motif-version-string, gtk-version-string)
11994 (ns-version-string): Declare.
11995
11996 2012-05-27 Juri Linkov <juri@jurta.org>
11997
11998 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
11999 after the `eval-defun-1' specialcaseing
12000 like in `edebug-eval-defun' (bug#10181).
12001
12002 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
12003 like in `eval-defun-1'.
12004
12005 2012-05-27 Eli Zaretskii <eliz@gnu.org>
12006
12007 * mail/sendmail.el (mail-yank-region):
12008 Recognize rmail-yank-current-message in addition to insert-buffer.
12009 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
12010 a *mail* buffer created through rmail-start-mail with sendmail as
12011 mail-user-agent.
12012
12013 2012-05-27 Chong Yidong <cyd@gnu.org>
12014
12015 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
12016 Default to 256 (Bug#11267).
12017
12018 * help.el (describe-mode): Doc fix.
12019
12020 2012-05-26 Glenn Morris <rgm@gnu.org>
12021
12022 * w32-fns.el (w32-init-info): Remove.
12023 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
12024
12025 * info.el (info-initialize): For self-contained NS builds, put the
12026 included info/ directory at the front. (Bug#2791)
12027
12028 * paths.el (Info-default-directory-list): Make it a defcustom,
12029 mainly so that we can use custom-initialize-delay.
12030
12031 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
12032
12033 * subr.el (buffer-has-markers-at): Mark obsolete.
12034
12035 * subr.el (lambda): Use declare.
12036
12037 * emacs-lisp/lisp-mode.el (lambda):
12038 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
12039
12040 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
12041
12042 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
12043
12044 2012-05-26 Glenn Morris <rgm@gnu.org>
12045
12046 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
12047
12048 2012-05-25 Glenn Morris <rgm@gnu.org>
12049
12050 * paths.el: Remove no-byte-compile.
12051 * loadup.el: No need to load paths.el uncompiled.
12052
12053 * image.el (imagemagick-types-inhibit): Doc fix.
12054
12055 * version.el: Remove no-byte-compile and associated formatting.
12056 * loadup.el: No need to load version.el uncompiled. AFAICS, this
12057 is ancient code from when there was an "inc-vers.el".
12058
12059 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
12060
12061 * progmodes/gdb-mi.el: Minor style changes.
12062 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
12063 Turn into minor modes.
12064 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
12065 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
12066 (gdb-shell): Remove unneeded let-binding.
12067 (gdb-get-many-fields): Eliminate O(n²) behavior.
12068
12069 2012-05-25 Eli Zaretskii <eliz@gnu.org>
12070
12071 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
12072 platforms that don't link in fontset.c.
12073
12074 2012-05-25 Juri Linkov <juri@jurta.org>
12075
12076 Use the same diff color scheme as in modern VCSes (bug#10181).
12077
12078 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
12079 to avoid confusion with `diff-added' that now uses green colors.
12080 (diff-removed): Use shades of red.
12081 (diff-added): Use shades of green.
12082 (diff-changed): Leave just the yellow color.
12083 (diff-use-changed-face): New variable.
12084 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
12085 how to highlight context diff changes.
12086 (diff-refine-change): Use shades of yellow.
12087 (diff-refine-removed): New face that uses shades of red.
12088 (diff-refine-added): New face that uses shades of green.
12089 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
12090 `diff-refine-removed' in the call to `smerge-refine-subst'
12091 depending on the value of `diff-use-changed-face'.
12092
12093 * vc/smerge-mode.el (smerge-mine): Use shades of red.
12094 (smerge-other): Use shades of green.
12095 (smerge-base): Use shades of yellow.
12096 (smerge-refined-change): Empty face.
12097 (smerge-refined-removed): New face that uses shades of red.
12098 (smerge-refined-added): New face that uses shades of green.
12099 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
12100 args `props-r' and `props-a', and use them. Doc fix.
12101 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
12102 on its value use different faces `smerge-refined-change',
12103 `smerge-refined-removed', `smerge-refined-added' in the call to
12104 `smerge-refine-subst'.
12105
12106 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
12107 Add face condition `min-colors 88' with shades of red.
12108 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
12109 `min-colors 88' with shades of green.
12110 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
12111 `min-colors 88' with shades of yellow.
12112
12113 2012-05-24 Glenn Morris <rgm@gnu.org>
12114
12115 * paths.el (prune-directory-list, remote-shell-program): Move to...
12116 * files.el (prune-directory-list, remote-shell-program): ...here.
12117 For the latter, delay initialization, prefer ssh, just search PATH.
12118
12119 * paths.el (term-file-prefix): Move to faces.el (the only user).
12120 * faces.el (term-file-prefix): Move here, make it a defcustom.
12121
12122 * paths.el (news-directory, news-path, news-inews-program):
12123 Move to gnus/nnspool.el.
12124
12125 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
12126
12127 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
12128 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
12129 Make the latter a defcustom, with a delayed initialization.
12130
12131 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
12132 These were deleted from Gnus itself late 2010.
12133
12134 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
12135
12136 * progmodes/which-func.el (which-func-ff-hook):
12137 Check against user-error, not error.
12138
12139 * emacs-lisp/edebug.el (top): Do not load or set up loading of
12140 cl-specs.el, which no longer exists.
12141
12142 2012-05-22 Glenn Morris <rgm@gnu.org>
12143
12144 * info.el (info-emacs-bug): New command.
12145 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
12146 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
12147
12148 2012-05-21 Glenn Morris <rgm@gnu.org>
12149
12150 * makefile.w32-in (update-subdirs-SH):
12151 * Makefile.in (update-subdirs): Update for moved update-subdirs.
12152
12153 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
12154
12155 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
12156
12157 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12158 Simplify Maven regexp, and make sure the file can't start with a space
12159 (bug#11517).
12160
12161 2012-05-21 Glenn Morris <rgm@gnu.org>
12162
12163 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
12164 Scrap superfluous subshells.
12165
12166 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
12167
12168 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
12169 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
12170
12171 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
12172
12173 * calc/calc.el (calc-ensure-consistent-units): New variable.
12174
12175 * calc/calc-units.el (math-consistent-units-p)
12176 (math-check-unit-consistency): New functions.
12177 (calc-quick-units, calc-convert-units):
12178 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
12179 is non-nil.
12180 (calc-extract-units): Fix typo.
12181
12182 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
12183
12184 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
12185
12186 * textmodes/flyspell.el: Commenting style, plus code simplifications.
12187 (flyspell-default-deplacement-commands): Don't spell check after
12188 repeated window/frame switches (e.g. triggered by mouse-movement).
12189 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
12190 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
12191 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
12192 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
12193 Remove unused vars.
12194 (flyspell-get-casechars, flyspell-get-not-casechars):
12195 Simplify; Don't bother removing a ] just to add it back.
12196 * textmodes/ispell.el (ispell-program-name): Use executable-find.
12197
12198 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12199
12200 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
12201 New functions.
12202 (math-function-table): Add support for more C functions.
12203
12204 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12205
12206 * textmodes/flyspell.el (flyspell-check-pre-word-p)
12207 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
12208 Protect delay handling for otherchars against empty otherchars.
12209
12210 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
12211
12212 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
12213 their respective macro declarations.
12214 * skeleton.el (define-skeleton):
12215 * progmodes/compile.el (define-compilation-mode):
12216 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
12217 (define-ibuffer-filter):
12218 * emacs-lisp/generic.el (define-generic-mode):
12219 * emacs-lisp/easy-mmode.el (define-minor-mode)
12220 (define-globalized-minor-mode):
12221 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
12222 * emacs-lisp/byte-run.el (defsubst):
12223 * custom.el (deftheme): Add doc-string metadata.
12224
12225 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12226
12227 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
12228
12229 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12230
12231 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
12232
12233 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
12234 * emacs-lisp/cl-macs.el: Idem.
12235 * emacs-lisp/cl-specs.el: Remove.
12236
12237 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12238
12239 Minor renaming of internal CL functions and variables.
12240 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
12241 (cl--position): Rename from cl-position.
12242 (cl--delete-duplicates): Rename from cl-delete-duplicates.
12243 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
12244 (cl--random-state): Rename from *random-state*.
12245
12246 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12247
12248 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
12249 parens around the arg list (bug#11499).
12250
12251 2012-05-17 Juri Linkov <juri@jurta.org>
12252
12253 * isearch.el (word-search-regexp, word-search-backward)
12254 (word-search-forward, word-search-backward-lax)
12255 (word-search-forward-lax): Move functions from search.c
12256 (bug#10145, bug#11381).
12257
12258 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12259
12260 * textmodes/flyspell.el (flyspell-check-pre-word-p)
12261 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
12262 Delay for otherchars as for normal word components.
12263
12264 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
12265
12266 * minibuffer.el (completion--sifn-requote): Fix last change.
12267 (minibuffer-local-must-match-filename-map):
12268 Move define-obsolete-variable-alias before its var.
12269
12270 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
12271
12272 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
12273
12274 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
12275 behavior.
12276 (completion--string-equal-p): New function.
12277 (completion--twq-all): Use it to get better assertion failure data.
12278
12279 Only handle ".." and '..' quoting in shell-mode (bug#11466).
12280 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
12281 (shell--requote-argument): New functions.
12282 (shell-completion-vars): Use them.
12283 (shell--parse-pcomplete-arguments): Rename from
12284 shell-parse-pcomplete-arguments.
12285 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
12286 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
12287 Obey comint-file-name-quote-list.
12288
12289 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
12290 (smie-indent-keyword): Use it.
12291
12292 2012-05-14 Stefan Merten <smerten@oekonux.de>
12293
12294 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
12295
12296 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
12297
12298 * net/rlogin.el (rlogin-mode-map): Fix last change.
12299
12300 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
12301
12302 * mail/smtpmail.el (smtpmail-send-command): Send the command and
12303 the following \r\n using a single `process-send-string', since the
12304 Lotus SMTP server refuses to accept any commands if they are sent
12305 with two `process-send-string's (Bug#11444).
12306
12307 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
12308
12309 * shell.el (shell-parse-pcomplete-arguments):
12310 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
12311
12312 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
12313
12314 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
12315 (image-transform-scale, image-transform-right-angle-fudge): New vars.
12316 (image-transform-width, image-transform-fit-width): New functions.
12317 (image-transform-properties): Use them.
12318 (image-transform-check-size): New function.
12319 (image-toggle-display-image): Use it (for testing).
12320 (image-transform-set-rotation): Reduce angle mod 360.
12321 Delete obsolete comment.
12322
12323 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
12324
12325 * image-mode.el: Fix scaling (bug#11399).
12326 (image-transform-resize): Doc fix.
12327 (image-transform-properties): Default scale is 1 and height should
12328 be an integer.
12329
12330 2012-05-13 Johan Bockgård <bojohan@gnu.org>
12331
12332 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
12333 than hard-coding `car', to fix misbehavior when moving forward.
12334
12335 2012-05-13 Chong Yidong <cyd@gnu.org>
12336
12337 * emacs-lisp/tabulated-list.el (tabulated-list-format)
12338 (tabulated-list-entries, tabulated-list-padding)
12339 (tabulated-list-sort-key): Make permanent-local.
12340
12341 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
12342 (electric-buffer-list): Put electric buffer menu
12343 command descriptions in this docstring, instead of the docstring
12344 of electric-buffer-menu-mode. Code cleanups.
12345 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
12346 Electric-buffer-menu-mode.
12347 (electric-buffer-update-highlight): Minor code cleanup.
12348
12349 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
12350
12351 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
12352 (Bug#11447)
12353
12354 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
12355
12356 Move define-obsolete-variable-alias before the var's definition.
12357 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
12358 * tooltip.el (tooltip-hook):
12359 * textmodes/reftex-toc.el (reftex-toc-map):
12360 * textmodes/reftex-sel.el (reftex-select-label-map)
12361 (reftex-select-bib-map):
12362 * textmodes/reftex-index.el (reftex-index-map)
12363 (reftex-index-phrases-map):
12364 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
12365 * progmodes/meta-mode.el (meta-mode-map):
12366 * novice.el (disabled-command-hook):
12367 * loadhist.el (unload-hook-features-list):
12368 * frame.el (blink-cursor):
12369 * files.el (find-file-not-found-hooks, write-file-hooks)
12370 (write-contents-hooks):
12371 * emulation/tpu-edt.el (GOLD-map):
12372 * emacs-lock.el (emacs-lock-from-exiting):
12373 * emacs-lisp/generic.el (generic-font-lock-defaults):
12374 * emacs-lisp/chart.el (chart-map):
12375 * dos-fns.el (register-name-alist):
12376 * dired-x.el (dired-omit-files-p):
12377 * desktop.el (desktop-enable):
12378 * cus-edit.el (custom-mode-hook):
12379 * buff-menu.el (buffer-menu-mode-hook):
12380 * bookmark.el (bookmark-read-annotation-text-func)
12381 (bookmark-exit-hooks):
12382 * allout.el (allout-mode-deactivate-hook)
12383 (allout-exposure-change-hook, allout-structure-added-hook)
12384 (allout-structure-deleted-hook, allout-structure-shifted-hook):
12385 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
12386 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
12387 comes before the corresponding variable's definition.
12388
12389 2012-05-12 Chong Yidong <cyd@gnu.org>
12390
12391 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
12392 (Buffer-menu-mouse-select): Restore function (Bug#11459).
12393 (Buffer-menu-mode-map): Bind it.
12394 (Buffer-menu--pretty-name): Add a mouse-face property.
12395
12396 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
12397
12398 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
12399 (prolog-upper-case-string, prolog-lower-case-string)
12400 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
12401 (prolog-use-smie, prolog-smie-grammar): New vars.
12402 (prolog-smie-forward-token, prolog-smie-backward-token)
12403 (prolog-smie-rules): New funs.
12404 (prolog-comment-indent): Remove.
12405 (prolog-mode-variables): Use default comment indentation instead.
12406 Setup SMIE.
12407 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
12408 (prolog-mode): Don't call them any more.
12409 (prolog-electric-colon, prolog-electric-dash)
12410 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
12411
12412 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
12413
12414 * minibuffer.el (completion--twq-all): Again, allow case differences.
12415
12416 * term.el: Move keymap initialization code to be more idiomatic.
12417 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
12418 (term-terminal-menu): Move initialization into declaration.
12419 (term-escape-char): Let the user set it in her .emacs.
12420
12421 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
12422 Provide SMIE-based indentation (not enabled by default yet).
12423 (sh-mode-map): Don't bind electric keys.
12424 Use electric-pair-mode instead of skeleton-pair.
12425 (sh-assignment-regexp): Fit within 80 columns.
12426 (sh-indent-supported): Specify actual shell name instead of boolean.
12427 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
12428 (sh-maybe-here-document): Use it. Make obsolete.
12429 (sh-electric-here-document-mode) New minor mode.
12430 (sh-mode): Use it. Don't set sh-indent-supported-here here.
12431 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
12432 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
12433 (sh-smie-rc-grammar, sh-use-smie): New vars.
12434 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
12435 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
12436 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
12437 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
12438 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
12439 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
12440 (sh-set-shell): Use smie-setup if requested.
12441
12442 * term.el (term-set-escape-char): Properly set term-escape-char.
12443 See http://stackoverflow.com/questions/10524656.
12444
12445 2012-05-10 Chong Yidong <cyd@gnu.org>
12446
12447 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
12448 Use url-generic-parse-url, and handle host names and Windows
12449 filenames properly.
12450 (ffap-url-unwrap-remote): Use url-generic-parse-url.
12451 (ffap-url-unwrap-remote): Accept list values, specifying a list of
12452 URL schemes to work on.
12453 (ffap--toggle-read-only): New function.
12454 (ffap-read-only, ffap-read-only-other-window)
12455 (ffap-read-only-other-frame): Use it.
12456 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
12457 necessary for ffap-url-unwrap-remote.
12458
12459 2012-05-10 Dave Abrahams <dave@boostpro.com>
12460
12461 * cus-start.el (create-lockfiles): Add it.
12462
12463 2012-05-09 Chong Yidong <cyd@gnu.org>
12464
12465 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
12466 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
12467
12468 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
12469
12470 * shell.el (shell-completion-vars): Fix last change (bug#11348).
12471
12472 2012-05-09 Chong Yidong <cyd@gnu.org>
12473
12474 * ansi-color.el (ansi-color-process-output): Check for validity of
12475 comint-last-output-start before using it. This avoids a bad
12476 interaction with gdb-mi's input/output buffer.
12477
12478 2012-05-09 Glenn Morris <rgm@gnu.org>
12479
12480 * files.el (dir-locals-read-from-file):
12481 Mention dir-locals in any error message.
12482
12483 2012-05-09 Chong Yidong <cyd@gnu.org>
12484
12485 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
12486 package (Bug#11410).
12487
12488 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
12489 variables into description.
12490
12491 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
12492
12493 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
12494 shell-delimiter-argument-list (bug#11348).
12495 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
12496
12497 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
12498
12499 * textmodes/rst.el: Silence byte-compiler warnings.
12500 (rst-re-alist, rst-reset-section-caches): Move around.
12501 (rst-re): Use `characterp', not `char-valid-p'.
12502 (font-lock-beg, font-lock-end): Declare.
12503
12504 * progmodes/idlw-shell.el (specs): Remove reference to deleted
12505 variable `idlwave-shell-activate-alt-keybindings' and simplify.
12506
12507 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
12508
12509 2012-05-08 Glenn Morris <rgm@gnu.org>
12510
12511 * files.el (auto-mode-alist): Treat ".make" like ".mk".
12512
12513 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12514
12515 * vc/log-edit.el: Add GNU coding standards highlighting.
12516 (log-edit-font-lock-gnu-style)
12517 (log-edit-font-lock-gnu-keywords): New vars.
12518 (log-edit-font-lock-keywords): New fun.
12519 (log-edit-mode): Don't fold case in font-lock.
12520 (log-edit-font-lock-keywords): Do not assume case-folding.
12521
12522 * imenu.el: Misc cleanup. Make docstrings out of comments.
12523 Use lexical-binding.
12524 (imenu--index-alist, imenu--last-menubar-index-alist)
12525 (imenu-menubar-modified-tick): Use defvar-local.
12526 (imenu--split-menu): Remove unused var.
12527 (imenu--cleanup-seen): Declare as global.
12528 (imenu--cleanup): Use dolist.
12529
12530 * subr.el (defvar-local): Add debug spec and doc-string position.
12531
12532 2012-05-08 Glenn Morris <rgm@gnu.org>
12533
12534 * language/burmese.el, language/cham.el, language/czech.el:
12535 * language/english.el, language/georgian.el, language/greek.el:
12536 * language/japanese.el, language/khmer.el, language/korean.el:
12537 * language/lao.el, language/misc-lang.el, language/romanian.el:
12538 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
12539 * language/thai.el, language/utf-8-lang.el:
12540 Remove no-byte-compile setting.
12541
12542 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
12543
12544 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
12545
12546 * progmodes/make-mode.el (makefile-browse):
12547 Remove unnecessary interactive. (Bug#11324)
12548
12549 2012-05-07 Glenn Morris <rgm@gnu.org>
12550
12551 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
12552
12553 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
12554
12555 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
12556
12557 * loadup.el: Preload newcomment.el.
12558 * newcomment.el: Move autoload-only code to toplevel.
12559
12560 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
12561 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
12562 Handle new :right-align column property.
12563 (tabulated-list-print-col): Idem, plus use `display' text-property to
12564 try and preserve alignment for variable pitch fonts.
12565
12566 2012-05-07 Chong Yidong <cyd@gnu.org>
12567
12568 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
12569 (tabulated-list-use-header-line): New var.
12570 (tabulated-list-init-header): Use it.
12571 (tabulated-list-print-fake-header): New function.
12572 (tabulated-list-print): Use it.
12573 (tabulated-list-sort-button-map): Add non-header-line commands.
12574 (tabulated-list-init-header): Add column name property to basic
12575 labels as well.
12576 (tabulated-list-col-sort): Handle non-header-line button case.
12577 (tabulated-list--sort-by-column-name): Fix a corner case.
12578
12579 * buff-menu.el (list-buffers--refresh):
12580 Handle Buffer-menu-use-header-line.
12581
12582 2012-05-06 Chong Yidong <cyd@gnu.org>
12583
12584 * buff-menu.el: Convert to Tabulated List mode.
12585 (Buffer-menu-buffer+size-width): Make obsolete.
12586 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
12587 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
12588 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
12589 documentation into docstring of buffer-menu.
12590 (Buffer-menu-toggle-files-only): Add an informative message.
12591 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
12592 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
12593 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
12594 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
12595 (Buffer-menu-execute, Buffer-menu-select)
12596 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
12597 (Buffer-menu-bury): Use Tabulated List machinery.
12598 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
12599 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
12600 Delete.
12601 (list-buffers--refresh): New function.
12602 (list-buffers-noselect): Use it.
12603 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
12604 (Buffer-menu--pretty-file-name): New helper functions.
12605
12606 * loadup.el: Preload tabulated-list.
12607
12608 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
12609 tabulated-list-sort-column.
12610 (tabulated-list-init-header): Add the initial aligning space even
12611 if tabulated-list-padding is zero.
12612
12613 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
12614
12615 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
12616 whose cdr is not a cons cell correctly (bug#11038).
12617
12618 2012-05-06 Chong Yidong <cyd@gnu.org>
12619
12620 * emacs-lisp/tabulated-list.el (tabulated-list-format):
12621 Accept additional plist in column descriptors.
12622 (tabulated-list-init-header): Obey it.
12623 (tabulated-list-get-entry): New function.
12624 (tabulated-list-put-tag): Use it. Use string-width instead of
12625 length.
12626 (tabulated-list--column-number): New function.
12627 (tabulated-list-print): Use it.
12628 (tabulated-list-print-col): New function.
12629 Set `tabulated-list-column-name' property on each column's text.
12630 (tabulated-list-print-entry): Use it.
12631 (tabulated-list-delete-entry, tabulated-list-set-col):
12632 New functions.
12633 (tabulated-list-sort-column): New command (Bug#11337).
12634
12635 * buff-menu.el (list-buffers): Move C-x C-b binding from
12636 buff-menu.el to bindings.el.
12637
12638 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
12639 :advertised-binding feature.
12640
12641 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
12642
12643 * progmodes/compile.el (compilation-internal-error-properties):
12644 Calculate start position correctly when end-col is set but
12645 end-line is not (Bug#11382).
12646
12647 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
12648
12649 * man.el (Man-unindent): Use text-property-default-nonsticky to
12650 prevent untabify from inheriting face properties (Bug#11408).
12651
12652 2012-05-05 Stefan Merten <smerten@oekonux.de>
12653
12654 * textmodes/rst.el: Major merge with upstream development up to
12655 Docutils SVN r7399 / rst.el V1.2.1.
12656
12657 Clarify maintainership and authors.
12658
12659 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
12660 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
12661 (rst-official-version, rst-official-cvs-rev, rst-version)
12662 (rst-package-emacs-version-alist): New functions and variables
12663 for version information.
12664
12665 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
12666 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
12667 (rst-mode-syntax-table, rst-mode): New and corrected functions
12668 and variables representing reStructuredText features.
12669
12670 (rst-re): New function for reStructuredText regexes. Use in
12671 many places.
12672
12673 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
12674 (rst-mode-map): Rebind keys.
12675
12676 (rst-mode-lazy, rst-font-lock-keywords)
12677 (rst-font-lock-extend-region)
12678 (rst-font-lock-extend-region-internal)
12679 (rst-font-lock-extend-region-extend)
12680 (rst-font-lock-find-unindented-line-limit)
12681 (rst-font-lock-find-unindented-line-match)
12682 (rst-adornment-level, rst-font-lock-adornment-level)
12683 (rst-font-lock-adornment-match)
12684 (rst-font-lock-handle-adornment-pre-match-form)
12685 (rst-font-lock-handle-adornment-matcher): Major revision of
12686 font-locking. Integrate with other code. Use `jit-lock-mode'.
12687
12688 (rst-preferred-adornments, rst-adjust-hook)
12689 (rst-new-adornment-down, rst-preferred-bullets)
12690 (rst-preferred-bullets, rst-indent, rst-indent-width)
12691 (rst-indent-field, rst-indent-literal-normal)
12692 (rst-indent-literal-minimized, rst-indent-comment): Change,
12693 extend and improve customization.
12694
12695 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
12696 (rst-normalize-cursor-position, rst-get-decoration)
12697 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
12698 (rst-rstrip, rst-toc-insert-find-delete-contents)
12699 (rst-shift-fill-region, rst-compute-bullet-tabs)
12700 (rst-debug-print-tabs, rst-debug-mark-found)
12701 (rst-shift-region-guts, rst-shift-region-right)
12702 (rst-shift-region-left, rst-use-char-classes)
12703 (rst-font-lock-keywords-function)
12704 (rst-font-lock-indentation-point)
12705 (rst-font-lock-find-unindented-line-begin)
12706 (rst-font-lock-find-unindented-line-end)
12707 (rst-font-lock-find-unindented-line)
12708 (rst-font-lock-adornment-point, rst-font-lock-level)
12709 (rst-adornment-level-alist): Remove functions and variables.
12710
12711 (rst-compare-adornments, rst-get-adornment-match)
12712 (rst-suggest-new-adornment, rst-get-adornments-around)
12713 (rst-adornment-complete-p, rst-get-next-adornment)
12714 (rst-adjust-adornment, rst-display-adornments-hierarchy)
12715 (rst-straighten-adornments): Standardize function names to
12716 use "adornment" instead of "decoration". Correct callers.
12717 Similar standardizing in many places.
12718
12719 (rst-update-section, rst-adjust, rst-promote-region)
12720 (rst-enumerate-region, rst-bullet-list-region)
12721 (rst-repeat-last-character): Correct use of `interactive'.
12722
12723 (rst-classify-adornment, rst-find-all-adornments)
12724 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
12725 (rst-find-leftmost-column, rst-repeat-last-character):
12726 Refactor functions.
12727
12728 (rst-find-title-line, rst-reset-section-caches)
12729 (rst-get-adornments-around, rst-adjust-adornment-work)
12730 (rst-arabic-to-roman, rst-roman-to-arabic)
12731 (rst-insert-list-pos, rst-insert-list-new-item)
12732 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
12733 New functions.
12734
12735 (rst-all-sections, rst-section-hierarchy)
12736 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
12737 New variables.
12738
12739 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
12740 configuration instead of only buffer. Change where necessary.
12741
12742 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
12743 (rst-shift-region, rst-adaptive-fill): New functions for
12744 indentation and filling.
12745
12746 (rst-comment-line-break, rst-comment-indent)
12747 (rst-comment-insert-comment, rst-comment-region)
12748 (rst-uncomment-region): New functions for handling comments.
12749
12750 (rst-compile): Quote shell arguments.
12751
12752 (rst-compile-pdf-preview, rst-compile-slides-preview):
12753 Delete temporary files after use.
12754
12755 2012-05-05 Glenn Morris <rgm@gnu.org>
12756
12757 * calendar/cal-html.el: Optionally include holidays in the output.
12758 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
12759 (cal-html-holidays): New option.
12760 (cal-html-css-default): Add holiday entry.
12761 (holiday-in-range): Autoload it.
12762 (cal-html-htmlify-entry): Add optional class argument.
12763 (cal-html-htmlify-list): Add optional holidays argument.
12764 (cal-html-insert-agenda-days): Include holidays in the output.
12765 (cal-html-one-month): Maybe include holidays.
12766
12767 * calendar/holidays.el (holiday-in-range):
12768 Move here from cal-tex-list-holidays.
12769 * calendar/cal-tex.el (cal-tex-list-holidays):
12770 Make it an obsolete alias for holiday-in-range. Update all callers.
12771
12772 2012-05-05 Chong Yidong <cyd@gnu.org>
12773
12774 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
12775 Nextstep.
12776
12777 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
12778
12779 * files.el (file-auto-mode-skip): New var.
12780 (set-auto-mode-1): Use it.
12781
12782 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
12783
12784 * repeat.el: Use lexical-binding.
12785 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
12786 (repeat-undo-count): Remove.
12787 (repeat):
12788 * progmodes/octave-mod.el (octave-abbrev-start):
12789 * progmodes/f90.el (f90-abbrev-start):
12790 * face-remap.el (text-scale-adjust):
12791 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
12792
12793 * emacs-lisp/pcase.el (pcase--let*): New function.
12794 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
12795 a bit more.
12796 (pcase--split-pred): Be more clever about ruling out overlap between
12797 a predicate and some constant pattern.
12798 (pcase--q1): Use `null' instead of (eq foo nil).
12799
12800 * subr.el (setq-local, defvar-local): New macros.
12801 (kbd): Redefine as an alias.
12802 (with-selected-window): Leave unrelated frames alone.
12803 (set-temporary-overlay-map): New function.
12804
12805 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
12806
12807 * subr.el (user-error): New function.
12808 * window.el (switch-to-buffer):
12809 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
12810 (smerge-match-conflict):
12811 * simple.el (previous-matching-history-element)
12812 (next-matching-history-element, goto-history-element, undo-more)
12813 (undo-start):
12814 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
12815 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
12816 (next-file, tags-loop-scan, list-tags, complete-tag):
12817 * progmodes/compile.el (compilation-loop):
12818 * mouse.el (mouse-minibuffer-check):
12819 * man.el (Man-bgproc-sentinel, Man-goto-page):
12820 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
12821 (Info-history-forward, Info-follow-reference, Info-menu)
12822 (Info-extract-menu-item, Info-extract-menu-counting)
12823 (Info-forward-node, Info-backward-node, Info-next-menu-item)
12824 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
12825 (Info-next-reference, Info-prev-reference, Info-index)
12826 (Info-index-next, Info-follow-nearest-node)
12827 (Info-copy-current-node-name):
12828 * imenu.el (imenu--make-index-alist)
12829 (imenu-default-create-index-function, imenu-add-to-menubar):
12830 * files.el (basic-save-buffer, recover-file):
12831 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
12832 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
12833 (checkdoc-message-text, checkdoc-defun):
12834 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
12835 * cus-edit.el (customize-changed-options, customize-rogue)
12836 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
12837 (custom-variable-mark-to-reset-standard)
12838 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
12839 (custom-file):
12840 * completion.el (check-completion-length):
12841 * comint.el (comint-search-arg)
12842 (comint-previous-matching-input-string-position)
12843 (comint-previous-matching-input)
12844 (comint-replace-by-expanded-history-before-point, comint-send-input)
12845 (comint-copy-old-input, comint-backward-matching-input)
12846 (comint-goto-process-mark, comint-set-process-mark):
12847 * calendar/calendar.el (calendar-cursor-to-date): Use it.
12848 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
12849
12850 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
12851
12852 * dabbrev.el (dabbrev--ignore-case-p): New function.
12853 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
12854 Use it.
12855
12856 * files.el (automount-dir-prefix): Mark as obsolete.
12857
12858 2012-05-04 Glenn Morris <rgm@gnu.org>
12859
12860 * patcomp.el, play/bruce.el: Move to obsolete/.
12861
12862 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
12863
12864 Fix minor Y10k bugs.
12865 * arc-mode.el (archive-unixdate):
12866 * autoinsert.el (auto-insert-alist):
12867 * calc/calc-forms.el (math-this-year):
12868 * emacs-lisp/copyright.el (copyright-current-year)
12869 (copyright-update-year, copyright):
12870 * tar-mode.el (tar-clip-time-string):
12871 * time.el (display-time-update):
12872 Don't assume years have 4 digits.
12873
12874 2012-05-04 Chong Yidong <cyd@gnu.org>
12875
12876 * dos-w32.el (file-name-buffer-file-type-alist)
12877 (direct-print-region-use-command-dot-com):
12878 * ffap.el (ffap-menu-regexp):
12879 * find-file.el (ff-special-constructs):
12880 * follow.el (follow-debug):
12881 * forms.el (forms--debug):
12882 * iswitchb.el (iswitchb-all-frames):
12883 * ido.el (ido-all-frames):
12884 * emacs-lisp/timer.el (timer-max-repeats):
12885 * mail/feedmail.el (feedmail-mail-send-hook)
12886 (feedmail-mail-send-hook-queued):
12887 * mail/footnote.el (footnote-signature-separator):
12888 * mail/mailabbrev.el (mail-alias-separator-string)
12889 (mail-abbrev-mode-regexp):
12890 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
12891 * progmodes/idlwave.el (idlwave-libinfo-file)
12892 (idlwave-default-completion-case-is-down)
12893 (idlwave-library-routines): Convert defvars to defcustoms.
12894
12895 * mail/rmail.el (rmail-decode-mime-charset):
12896 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
12897 (idlwave-shell-fix-inserted-breaks)
12898 (idlwave-shell-activate-alt-keybindings)
12899 (idlwave-shell-use-breakpoint-glyph):
12900 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
12901
12902 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
12903
12904 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
12905
12906 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
12907
12908 * progmodes/verilog-mode.el (font-lock-keywords):
12909 Fix mis-highligting auto. Reported by Craig Barner.
12910 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
12911 defines from global name space. Reported by Dan Dever.
12912 (verilog-auto-reset, verilog-auto-reset-widths)
12913 (verilog-auto-tieoff): Support using unbased numbers for
12914 AUTORESET and AUTOTIEOFF.
12915 (verilog-submit-bug-report): Update variable list.
12916 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
12917 parenthesis from not matching. Reported by Michael Rytting.
12918 (verilog-auto-template-lint): Fix hash error when linting modules
12919 with no used templates.
12920 (verilog-warn, verilog-warn-error)
12921 (verilog-warn-fatal): When non-interactive report multiple
12922 warnings before exiting. Suggested by Brad Dobbie.
12923 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
12924 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
12925 to report unused template errors. Reported by Brad Dobbie.
12926 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
12927 nets, bug438. Reported by Vns Blore.
12928 (verilog-auto-inout-module, verilog-auto-reg)
12929 (verilog-read-decls, verilog-read-sub-decls-sig)
12930 (verilog-signals-edit-wire-reg, verilog-signals-with):
12931 Fix passing of Verilog data types in ANSI input/output ports
12932 such as "output logic" into the AUTOs. Special case "wire" and
12933 "reg" for backwards compatibility presuming Verilog 2001.
12934 (verilog-auto-ascii-enum): Add "auto enum" as alias.
12935 (verilog-preprocess): Fix replication of preprocess output.
12936 Reported by Brad Dobbie.
12937 (verilog-auto-inst-interfaced-ports):
12938 Create verilog-auto-inst-interfaced-ports, bug429.
12939 Reported by Julian Gorfajn.
12940 (verilog-after-save-font-hook)
12941 (verilog-before-save-font-hook): New variable.
12942 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
12943 (verilog-save-font-mods): Wrap disabling fontification, reported
12944 by David Rogoff.
12945 (verilog-do-indent, verilog-pretty-declarations-auto)
12946 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
12947 Reported by Pierre-David Pfister.
12948 (verilog-set-auto-endcomments): Fix endtask auto comments outside
12949 of class declarations, bug292. Reported by Kevin Heilman.
12950 (verilog-read-decls): Fix 'parameter type' not appearing in
12951 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
12952 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
12953 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
12954 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
12955 Reported by David Kravitz.
12956
12957 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
12958
12959 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
12960 assignment with tests in ifs and for loops.
12961 (verilog-extended-complete-re, verilog-complete-reg): Change so
12962 that DPI inport functions don't look like fuction declarations.
12963 (verilog-pretty-expr): Don't line up assignment
12964 operations to the test and increment in if and for loops
12965 (verilog-extended-complete-re, verilog-complete-reg): Change so
12966 that DPI inport functions don't look like fuction declarations.
12967
12968 2012-05-03 Kenichi Handa <handa@m17n.org>
12969
12970 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
12971 decoding, and show a warning message without signaling an error
12972 (Bug#11282).
12973
12974 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
12975
12976 * emacs-lisp/bytecomp.el
12977 (byte-compile-file-form-custom-declare-variable): Compile all elements,
12978 since cconv.el might have introduced :fun-body, internal-make-closure,
12979 and friends for bytecomp to handle (bug#11391).
12980 * custom.el (defcustom): Avoid ((λ ..) ..).
12981
12982 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
12983
12984 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
12985
12986 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
12987
12988 * notifications.el (dbus-debug):
12989 * term/linux.el (gpm-mouse-enable):
12990 * term/screen.el (xterm-register-default-colors): Declare.
12991
12992 2012-05-02 Chong Yidong <cyd@gnu.org>
12993
12994 * cus-start.el (gc-cons-percentage, exec-suffixes)
12995 (dos-display-scancodes, dos-hyper-key, dos-super-key)
12996 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
12997 (make-cursor-line-fully-visible, void-text-area-pointer)
12998 (font-list-limit): Add customization data.
12999
13000 * allout.el (allout-exposure-change-functions)
13001 (allout-structure-added-functions)
13002 (allout-structure-deleted-functions)
13003 (allout-structure-shifted-functions): Rename abnormal hooks from
13004 *-hook, and convert to defcustoms.
13005 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
13006 Convert to defcustoms.
13007 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
13008
13009 * allout-widgets.el: Hook callers changed.
13010
13011 2012-05-02 Eli Zaretskii <eliz@gnu.org>
13012
13013 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
13014 the yanked message in preference to the default value of
13015 buffer-file-coding-system.
13016
13017 2012-05-02 Martin Rudalics <rudalics@gmx.at>
13018
13019 * window.el (display-buffer--action-function-custom-type):
13020 Fix entry.
13021
13022 2012-05-02 Alan Mackenzie <acm@muc.de>
13023
13024 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
13025
13026 2012-05-01 Glenn Morris <rgm@gnu.org>
13027
13028 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
13029
13030 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
13031
13032 * cus-edit.el (custom-variable-documentation): Simplify with format.
13033
13034 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
13035 Stefan Monnier <monnier@iro.umontreal.ca>
13036
13037 * simple.el (suggest-key-bindings, execute-extended-command):
13038 Move from keyboard.c.
13039
13040 2012-05-01 Chong Yidong <cyd@gnu.org>
13041
13042 * follow.el: Eliminate advice.
13043 (set-process-filter, process-filter, sit-for): Advice deleted.
13044 (follow-mode-off-hook): Obsolete hook removed.
13045 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
13046 Vars deleted.
13047 (follow-auto): Use a :set function.
13048 (follow-mode): Rewritten. Don't advise process filters.
13049 (follow-switch-to-current-buffer-all, follow-scroll-up)
13050 (follow-scroll-down): Assume follow-mode is bound.
13051 (follow-comint-scroll-to-bottom)
13052 (follow-align-compilation-windows): New functions.
13053 (follow--window-sorter): New function.
13054 (follow-all-followers): Use it to explicitly sort windows by their
13055 positions; don't make assumptions about next-window order.
13056 (follow-windows-start-end, follow-delete-other-windows-and-split)
13057 (follow-calc-win-start): Doc fix.
13058 (follow-windows-aligned-p, follow-select-if-visible): Don't call
13059 vertical-motion unnecessarily.
13060 (follow-adjust-window): New function.
13061 (follow-post-command-hook): Use it.
13062 (follow-call-set-process-filter, follow-call-process-filter)
13063 (follow-intercept-process-output, follow-tidy-process-filter-alist)
13064 (follow-stop-intercept-process-output, follow-generic-filter):
13065 Functions deleted.
13066 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
13067 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
13068 New functions, replacing advice on scroll-bar-* commands.
13069 (follow-mwheel-scroll): New function (Bug#4112).
13070
13071 * comint.el (comint-adjust-point): New function.
13072 (comint-postoutput-scroll-to-bottom): Use it.
13073 Call follow-comint-scroll-to-bottom for Follow mode buffers.
13074
13075 2012-05-01 Glenn Morris <rgm@gnu.org>
13076
13077 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
13078 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
13079 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
13080 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
13081 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
13082 Remove no-byte-compile setting.
13083
13084 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
13085
13086 * minibuffer.el (completion-table-with-quoting): Fix compatibility
13087 all-completions code to not return a number in the last cdr.
13088
13089 2012-04-30 Leo Liu <sdl.web@gmail.com>
13090
13091 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
13092 read-only error.
13093
13094 2012-04-29 Chong Yidong <cyd@gnu.org>
13095
13096 * follow.el (follow-calc-win-end): Rewrite to handle partial
13097 screen lines correctly (Bug#8390).
13098 (follow-avoid-tail-recenter): Minor cleanup.
13099
13100 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
13101
13102 Avoid the obsolete `assoc' package.
13103 * speedbar.el (speedbar-refresh): Avoid adelete.
13104 (speedbar-file-lists): Simplify and avoid aput.
13105 * man.el (Man--sections, Man--refpages): New vars, replacing
13106 Man-sections-alist and Man-refpages-alist.
13107 (Man-build-section-alist, Man-build-references-alist):
13108 Use them; avoid aput.
13109 (Man--last-section, Man--last-refpage): New vars.
13110 (Man-follow-manual-reference): Use them.
13111 Use the `default' arg of completing-read.
13112 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
13113
13114 2012-04-27 Chong Yidong <cyd@gnu.org>
13115
13116 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
13117
13118 * startup.el (x-apply-session-resources): New function.
13119
13120 * term/ns-win.el (ns-initialize-window-system):
13121 * term/w32-win.el (w32-initialize-window-system):
13122 * term/x-win.el (x-initialize-window-system): Use it to properly
13123 set menu-bar-mode and other vars from X resources, even if the
13124 initial frame is not a window-system frame (Bug#2299).
13125
13126 * subr.el (read-key): Avoid running filter function when setting
13127 up temporary tool bar entries (Bug#9922).
13128
13129 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
13130
13131 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
13132 (Bug#11344)
13133
13134 2012-04-27 Chong Yidong <cyd@gnu.org>
13135
13136 * select.el (xselect--encode-string): New function, split from
13137 xselect-convert-to-string.
13138 (xselect-convert-to-string): Use it.
13139 (xselect-convert-to-filename, xselect-convert-to-os)
13140 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
13141 returned strings are properly encoded (Bug#11315).
13142
13143 2012-04-27 Chong Yidong <cyd@gnu.org>
13144
13145 * simple.el (delete-active-region): Move to killing custom group.
13146
13147 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
13148
13149 * progmodes/which-func.el (which-func-current): Quote %
13150 characters for mode-line processing.
13151
13152 2012-04-27 Chong Yidong <cyd@gnu.org>
13153
13154 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
13155 reaching eob (Bug#11286).
13156
13157 2012-04-27 Eli Zaretskii <eliz@gnu.org>
13158
13159 * progmodes/gdb-mi.el (gdb-control-level): New variable.
13160 (gdb): Make it buffer-local and init to zero.
13161 (gdb-control-commands-regexp): New variable.
13162 (gdb-send): Don't wrap in "-interpreter-exec console" if
13163 gdb-control-level is positive. Increment gdb-control-level
13164 whenever the command matches gdb-control-commands-regexp, and
13165 decrement it each time the command is "end". (Bug#11279)
13166
13167 2012-04-27 Martin Rudalics <rudalics@gmx.at>
13168
13169 * window.el (adjust-window-trailing-edge, enlarge-window)
13170 (shrink-window, window-resize):
13171 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
13172 windows (Bug#11276).
13173
13174 2012-04-27 Chong Yidong <cyd@gnu.org>
13175
13176 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
13177 fix "missing prefix" warning. All callers changed.
13178
13179 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
13180
13181 * emacs-lisp/assoc.el: Move to obsolete/.
13182
13183 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
13184
13185 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
13186
13187 * term/ns-win.el (ns-define-service):
13188 * progmodes/pascal.el (pascal-goto-defun):
13189 * progmodes/js.el (js--read-tab):
13190 * progmodes/etags.el (tags-lazy-completion-table):
13191 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
13192 * emacs-lisp/ewoc.el (ewoc--wrap):
13193 * emacs-lisp/assoc.el (aput, adelete, amake):
13194 * doc-view.el (doc-view-convert-current-doc):
13195 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
13196
13197 2012-04-26 Chong Yidong <cyd@gnu.org>
13198
13199 * image.el (image-type-from-buffer): Only return supported image
13200 type (Bug#9045).
13201
13202 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
13203 value, for symmetry with diff-end-of-hunk.
13204 (diff-split-hunk, diff-find-source-location)
13205 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
13206 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
13207 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
13208 compute the relevant hunk or file properly (Bug#6005).
13209 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
13210
13211 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
13212
13213 * vc/vc-mtn.el:
13214 * vc/vc-hg.el:
13215 * vc/vc-git.el:
13216 * vc/vc-dir.el:
13217 * vc/vc-cvs.el:
13218 * vc/vc-bzr.el:
13219 * vc/vc-arch.el:
13220 * vc/vc.el: Replace lexical-let by lexical-binding.
13221 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
13222 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
13223 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
13224
13225 2012-04-26 Chong Yidong <cyd@gnu.org>
13226
13227 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
13228 (diff-mode-shared-map): Bind it to / and [remap undo].
13229
13230 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
13231 (ediff-window-setup-function): Use it as the default, to set up
13232 windows based on whether the current frame is graphical (Bug#2138).
13233 (ediff-choose-window-setup-function-automatically): Make obsolete.
13234
13235 * vc/ediff-init.el: Always define ediff-pixel-width/height.
13236
13237 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
13238
13239 * ffap.el: Remove old code for obsolete package.
13240 (ffap-complete-as-file-p): Remove.
13241
13242 Use completion-table-with-quoting for comint and pcomplete.
13243 * comint.el (comint--unquote&requote-argument)
13244 (comint--unquote-argument, comint--requote-argument): New functions.
13245 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
13246 (comint-quote-filename): Use regexp-opt-charset.
13247 (comint--common-suffix, comint--common-quoted-suffix)
13248 (comint--table-subvert): Remove.
13249 (comint-unquote-function, comint-requote-function): New vars.
13250 (comint--complete-file-name-data): Use them with
13251 completion-table-with-quoting.
13252 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
13253 * pcomplete.el (pcomplete-arg-quote-list)
13254 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
13255 (pcomplete-unquote-argument-function): Default to non-nil.
13256 (pcomplete-unquote-argument): Simplify.
13257 (pcomplete--common-quoted-suffix): Remove.
13258 (pcomplete-requote-argument-function): New var.
13259 (pcomplete--common-suffix): New function.
13260 (pcomplete-completions-at-point): Use completion-table-with-quoting
13261 and completion-table-subvert.
13262
13263 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
13264 (minibuffer--double-dollars): Preserve properties.
13265 (completion--sifn-requote): New function.
13266 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
13267
13268 * minibuffer.el: Add support for completion of quoted/escaped data.
13269 (completion-table-with-quoting, completion-table-subvert): New funs.
13270 (completion--twq-try, completion--twq-all): New functions.
13271 (completion--nth-completion): New function.
13272 (completion-try-completion, completion-all-completions): Use it.
13273
13274 2012-04-25 Leo Liu <sdl.web@gmail.com>
13275
13276 * progmodes/python.el (python-pdbtrack-get-source-buffer):
13277 Use compilation-message if available to find real filename.
13278
13279 2012-04-25 Chong Yidong <cyd@gnu.org>
13280
13281 * vc/diff-mode.el (diff-setup-whitespace): New function.
13282 (diff-mode): Use it.
13283
13284 * vc/diff.el (diff-sentinel):
13285 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
13286 Whitespace mode variables based on diff style (Bug#8612).
13287
13288 2012-04-25 Leo Liu <sdl.web@gmail.com>
13289
13290 * progmodes/python.el (python-send-region): Add suffix .py to the
13291 temp file.
13292
13293 * files.el (auto-mode-alist): Use javascript-mode instead.
13294
13295 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
13296
13297 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
13298
13299 * net/soap-client.el (soap-resolve-references-for-sequence-type)
13300 (soap-resolve-references-for-array-type): Hack to prevent self
13301 references, see Bug#9.
13302 (soap-parse-envelope): Report the contents of the 'detail' node
13303 when receiving a fault reply.
13304 (soap-parse-envelope): Report the contents of the entire 'detail' node.
13305
13306 * net/soap-inspect.el (soap-sample-value-for-simple-type)
13307 (soap-inspect-simple-type): New function.
13308
13309 * net/soap-client.el (soap-simple-type): New struct.
13310 (soap-default-xsd-types, soap-default-soapenc-types)
13311 (soap-decode-basic-type, soap-encode-basic-type):
13312 support unsignedInt and double basic types.
13313 (soap-resolve-references-for-simple-type)
13314 (soap-parse-simple-type, soap-encode-simple-type): New function.
13315 (soap-parse-schema): Parse xsd:simpleType declarations.
13316
13317 * net/soap-client.el (soap-default-xsd-types)
13318 (soap-default-soapenc-types): Add integer, byte and anyURI types.
13319 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
13320 the local name of "soapenc:Array".
13321 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
13322 decoding integer, byte and anyURI xsd types.
13323
13324 2012-04-25 Chong Yidong <cyd@gnu.org>
13325
13326 * cus-edit.el (custom-buffer-create-internal): Update header text.
13327
13328 2012-04-25 Eli Zaretskii <eliz@gnu.org>
13329
13330 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
13331 settings on 'system-type', not on 'window-system'. On MS-Windows,
13332 set interactive-mode on in GDB.
13333
13334 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
13335
13336 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
13337 (ruby-syntax-propertize-regexp): Remove.
13338 (ruby-syntax-propertize-function): Split regexp into chunks.
13339 Match following code directly.
13340
13341 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
13342
13343 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
13344 (ruby-syntax-propertize-regexp): New function.
13345 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
13346 by a special keyword.
13347
13348 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
13349 (ruby-syntax-general-delimiters-goto-beg)
13350 (ruby-syntax-propertize-general-delimiters): New functions.
13351 (ruby-syntax-propertize-function): Use them to handle GDL.
13352 (ruby-font-lock-keywords): Move old handling of GDL...
13353 (ruby-font-lock-syntactic-keywords): .. to here.
13354 (ruby-calculate-indent): Adjust indentation for GDL.
13355
13356 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
13357
13358 * notifications.el (top): Remove unneeded declarations.
13359 (notifications-specification-version): Change to "1.2".
13360 (notifications-interface, notifications-notify-method)
13361 (notifications-close-notification-method): Fix docstring.
13362 (notifications-get-capabilities-method): New defconst.
13363 (notifications-notify): Add :action-items, :resident and
13364 :transient hints. Change "image_data" to "image-data" and
13365 "image_path" to "image-path".
13366 (notifications-get-capabilities): New defun.
13367
13368 2012-04-24 Leo Liu <sdl.web@gmail.com>
13369
13370 * progmodes/python.el: Move hideshow setup to the end.
13371
13372 2012-04-24 Martin Rudalics <rudalics@gmx.at>
13373
13374 * window.el (handle-select-window): Clear echo area since this is
13375 no more done by read_char (Bug#11304).
13376
13377 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
13378
13379 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
13380 and `/ M' to filter-derived-mode.
13381 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
13382 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
13383 (ibuffer-mark-by-mode): Use default rather than initial-input.
13384 (ibuffer-filter-by-derived-mode): Autoload and require-match.
13385
13386 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
13387
13388 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
13389 (ibuffer-filter-by-derived-mode): New filter.
13390 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
13391
13392 2012-04-23 Andreas Politz <politza@fh-trier.de>
13393
13394 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
13395
13396 2012-04-23 Chong Yidong <cyd@gnu.org>
13397
13398 * cus-edit.el (customize-apropos, customize-apropos-options):
13399 Disable matching of non-option variables (Bug#11176).
13400 (customize-option, customize-option-other-window)
13401 (customize-changed-options): Doc fix.
13402 (customize-apropos-options, customize-apropos-faces)
13403 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
13404
13405 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
13406 Fix word list splitting (Bug#11132).
13407 (apropos-symbol, apropos-keybinding, apropos-label)
13408 (apropos-property, apropos-function-button)
13409 (apropos-variable-button, apropos-misc-button): New faces.
13410 (apropos-symbol-face, apropos-keybinding-face)
13411 (apropos-label-face, apropos-property-face, apropos-match-face):
13412 Variables removed (Bug#8396).
13413 (apropos-library-button, apropos-format-plist, apropos-print)
13414 (apropos-print-doc, apropos-describe-plist): Callers changed.
13415
13416 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
13417
13418 * net/xesam.el (xesam-mode-map): Use let-bound map in
13419 initialization. (Bug#11292)
13420
13421 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13422
13423 Preserve ispell session localwords when switching back to
13424 original buffer.
13425
13426 * textmodes/ispell.el (ispell-buffer-session-localwords):
13427 New buffer-local variable to hold buffer session localwords.
13428 (ispell-kill-ispell): Add option 'clear to delete session
13429 localwords.
13430 (ispell-command-loop, ispell-change-dictionary)
13431 (ispell-buffer-local-words): Preserve session localwords when
13432 needed.
13433
13434 * textmodes/flyspell.el (flyspell-process-localwords)
13435 (flyspell-do-correct): Preserve session localwords when needed.
13436
13437 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13438
13439 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
13440 using obsolete `translation-table-for-input'.
13441 (ispell-word, ispell-process-line, ispell-complete-word):
13442 Use plain `insert' instead of removed `ispell-insert-word'.
13443
13444 2012-04-22 Chong Yidong <cyd@gnu.org>
13445
13446 * cus-edit.el (custom-variable-menu)
13447 (custom-variable-reset-saved, custom-face-menu)
13448 (custom-face-reset-saved): If there is no saved value, make the
13449 "reset-saved" operation bring back the default (Bug#9509).
13450 (custom-face-state): Properly detect themed faces.
13451
13452 * faces.el (face-spec-set): Stop supporting deprecated form of
13453 third arg.
13454
13455 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
13456
13457 Move functions from C to Lisp. Make non-blocking method calls
13458 the default. Implement further D-Bus standard interfaces.
13459
13460 * net/dbus.el (dbus-message-internal): Declare function.
13461 Remove unneeded function declarations.
13462 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
13463 (dbus-message-type-method-return, dbus-message-type-error)
13464 (dbus-message-type-signal): Declare variables. Remove local
13465 definitions.
13466 (dbus-interface-dbus, dbus-interface-peer)
13467 (dbus-interface-introspectable, dbus-interface-properties)
13468 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
13469 Adapt docstring.
13470 (dbus-interface-objectmanager): New defconst.
13471 (dbus-call-method, dbus-call-method-asynchronously)
13472 (dbus-send-signal, dbus-method-return-internal)
13473 (dbus-method-error-internal, dbus-register-service)
13474 (dbus-register-signal, dbus-register-method): New defuns, moved
13475 from dbusbind.c
13476 (dbus-call-method-handler, dbus-setenv)
13477 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
13478 New defuns.
13479 (dbus-call-method-non-blocking): Make it an obsolete function.
13480 (dbus-unregister-object, dbus-unregister-service)
13481 (dbus-handle-event, dbus-register-property)
13482 (dbus-property-handler): Obey the new structure of
13483 `bus-registered-objects'.
13484 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
13485 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
13486 Use `dbus-call-method'.
13487
13488 2012-04-22 Chong Yidong <cyd@gnu.org>
13489
13490 * cus-edit.el (custom-commands, custom-reset-menu)
13491 (Custom-reset-standard): Tweak labels.
13492 (custom-reset-button-menu): Change default to t.
13493 (custom-buffer-create-internal): For the custom-reset-button-menu
13494 case, put the revert button first.
13495 (custom-group-subtitle): New face.
13496 (custom-group-value-create): Align docstring to a specific column.
13497
13498 * wid-edit.el (widget-documentation-link-add): Don't handle
13499 indentation in this function.
13500 (widget-documentation-string-indent-to): New function.
13501 (widget-documentation-string-value-create): Use it.
13502
13503 * autorevert.el (auto-revert):
13504 * epg-config.el (epg):
13505 * ibuffer.el (ibuffer):
13506 * mpc.el (mpc):
13507 * ses.el (ses):
13508 * eshell/eshell.el (eshell):
13509 * net/ange-ftp.el (ange-ftp):
13510 * progmodes/ebnf2ps.el (postscript):
13511 * progmodes/flymake.el (flymake):
13512 * progmodes/prolog.el (prolog):
13513 * progmodes/verilog-mode.el (verilog-mode):
13514 * progmodes/which-func.el (which-func):
13515 * term/xterm.el (xterm):
13516 * textmodes/picture.el (picture):
13517 * textmodes/tildify.el (tildify):
13518 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
13519 customization buffers.
13520
13521 2012-04-22 Alan Mackenzie <acm@muc.de>
13522
13523 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
13524 Adding a ) can hide the resulting (..) from searches. Fix it.
13525 Bound the backward search to the position of the existing (.
13526
13527 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
13528
13529 * progmodes/verilog-mode.el (verilog-mode): Check whether
13530 which-func-modes is t before adding verilog-mode.
13531 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
13532
13533 2012-04-21 Leo Liu <sdl.web@gmail.com>
13534
13535 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
13536
13537 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
13538
13539 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
13540 filling of the last column of a table (Bug#5635).
13541 (woman-find-next-control-line): New arg, specifying an additional
13542 regexp component for the control line.
13543 (woman2-roff-buffer): Use it.
13544 (woman-break-table): New function.
13545 (woman2-TS): Use it.
13546
13547 2012-04-21 Chong Yidong <cyd@gnu.org>
13548
13549 * woman.el (woman-set-buffer-display-table, woman-decode-region)
13550 (woman-horizontal-escapes, woman-negative-vertical-space)
13551 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
13552 (WoMan-warn-ignored): Use ?\s instead of ?\ .
13553
13554 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13555
13556 * minibuffer.el (completion-file-name-table): Complete user names.
13557
13558 2012-04-20 Leo Liu <sdl.web@gmail.com>
13559
13560 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
13561 and pcase-let*.
13562
13563 2012-04-20 Chong Yidong <cyd@gnu.org>
13564
13565 * server.el (server-execute): Respect initial-buffer-choice if it
13566 is a string and there are no files to open (Bug#2825).
13567 (server-create-window-system-frame, server-create-tty-frame):
13568 Don't switch buffers here.
13569 (server-process-filter): Only try to open a window system frame if
13570 compiled with graphical support (Bug#8314).
13571
13572 2012-04-20 Dan Nicolaescu <dann@gnu.org>
13573
13574 * battery.el (battery-echo-area-format): Display remaining time
13575 for sysfs backend too (Bug#11269).
13576 (battery-linux-sysfs): Fix conditional for the charge.
13577
13578 2012-04-20 Chong Yidong <cyd@gnu.org>
13579
13580 * progmodes/gdb-mi.el (gdb): Revert previous change.
13581 (gdb-inferior-io--init-proc): New function.
13582 (gdb-init-1): Use it.
13583 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
13584 responsible for allocating a new pty and hooking it to gdb when
13585 the old pty gets an EIO due to process exit.
13586 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
13587 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
13588 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
13589
13590 2012-04-20 Eli Zaretskii <eliz@gnu.org>
13591
13592 * window.el (window-min-size, window-sizable, window-min-delta)
13593 (window-max-delta, window--resizable, window-resizable)
13594 (window-total-size, window-full-height-p, window-full-width-p)
13595 (window-in-direction, window--resize-mini-window, window-resize)
13596 (window--resize-child-windows-normal)
13597 (window--resize-child-windows, window--resize-siblings)
13598 (window--resize-this-window, adjust-window-trailing-edge)
13599 (enlarge-window, shrink-window): Doc fixes.
13600
13601 2012-04-20 Chong Yidong <cyd@gnu.org>
13602
13603 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
13604 New function to call delete-process on the gdb-inferior buffer's pty.
13605 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
13606 pty process (Bug#11273).
13607 (gdb-update): New arg to suppress talking to the gdb process.
13608 (gdb-done-or-error): Use it.
13609 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
13610 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
13611 sentinel not being called.
13612
13613 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
13614
13615 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
13616
13617 2012-04-20 Glenn Morris <rgm@gnu.org>
13618
13619 * net/network-stream.el (open-network-stream): Doc fix.
13620
13621 2012-04-20 Chong Yidong <cyd@gnu.org>
13622
13623 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
13624
13625 2012-04-20 Alan Mackenzie <acm@muc.de>
13626
13627 Ensure searching for keywords is case sensitive.
13628
13629 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
13630 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
13631 (c-defun-name, c-mark-function, c-cpp-define-name)
13632 (c-comment-indent, c-scan-conditionals, c-indent-defun)
13633 (c-context-line-break): Bind case-fold-search to nil.
13634
13635 * progmodes/cc-mode.el (c-font-lock-fontify-region):
13636 Bind case-fold-search to nil.
13637
13638 2012-04-20 Chong Yidong <cyd@gnu.org>
13639
13640 * mail/sendmail.el (mail-bury): Call return action with the right
13641 Rmail buffer (Bug#11242).
13642
13643 * server.el (server-process-filter): Handle corner case where both
13644 tty and nowait options are present (Bug#11102).
13645
13646 2012-04-20 Eli Zaretskii <eliz@gnu.org>
13647
13648 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
13649 (top level): Put into the executable the ident-style '$Id:' tag on
13650 windows-nt as well.
13651
13652 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
13653
13654 * electric.el (electric-indent-post-self-insert-function): Check that
13655 electric-indent-mode is enabled in current buffer.
13656
13657 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
13658
13659 * imenu.el (imenu-progress-message): Restore; it is "used" in
13660 erc/erc-imenu.el and net/snmp-mode.el.
13661
13662 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
13663
13664 * avoid.el (mouse-avoidance-mode): Mark unused arg.
13665 (mouse-avoidance-nudge-mouse): Remove unused binding.
13666
13667 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
13668
13669 * descr-text.el (describe-char):
13670 * progmodes/python.el (python-describe-symbol):
13671 Don't call `toggle-read-only', set `buffer-read-only'.
13672
13673 * imenu.el (imenu-default-goto-function): Mark unused args.
13674 (imenu-progress-message): Remove obsolete macro; all callers changed.
13675
13676 * subr.el (keymap-canonicalize): Remove unused binding.
13677 (read-passwd): Mark unused arg.
13678
13679 * tutorial.el (tutorial--display-changes): Remove unused binding.
13680 (tutorial--save-tutorial-to): Remove unused variable.
13681
13682 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
13683 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
13684 (package-generate-autoloads, package-menu--generate)
13685 (package-menu--find-upgrades): Remove unused bindings.
13686
13687 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
13688 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
13689 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
13690 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
13691 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
13692 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
13693 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
13694 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
13695 (cua-delete-char-rectangle): Mark unused args.
13696 (cua-align-rectangle): Remove unused binding.
13697
13698 * mail/rmail.el (compilation--message->loc)
13699 (epa--find-coding-system-for-mime-charset): Declare.
13700
13701 * net/dbus.el (dbus-register-service): Declare.
13702 (dbus-name-owner-changed-handler): Remove unused binding.
13703
13704 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
13705 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
13706 (nxml-scan-backward-within): Mark unused arg.
13707 (nxml-dynamic-markup-word): Remove unused binding.
13708
13709 * mouse.el (mouse-menu-major-mode-map):
13710 * emacs-lisp/authors.el (authors-scan-change-log)
13711 (authors-add-to-author-list):
13712 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
13713 * emacs-lisp/smie.el (smie-auto-fill):
13714 * mail/sendmail.el (mail-bury):
13715 * mail/unrmail.el (unrmail):
13716 * net/tls.el (open-tls-stream):
13717 * textmodes/picture.el (picture-mouse-set-point):
13718 Remove unused bindings.
13719
13720 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
13721
13722 * net/tramp.el (tramp-action-password): Let-bind
13723 `enable-recursive-minibuffers' to t.
13724
13725 2012-04-18 Sam Steingold <sds@gnu.org>
13726
13727 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
13728 instead of 'string to accommodate values like [f11].
13729 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
13730 * progmodes/gdb-mi.el: Likewise.
13731
13732 2012-04-18 Leo Liu <sdl.web@gmail.com>
13733
13734 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
13735 current buffer.
13736 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
13737 LOCAL is nil.
13738
13739 2012-04-18 Chong Yidong <cyd@gnu.org>
13740
13741 * simple.el (line-move): Use forward-line if in batch mode
13742 (Bug#11053).
13743
13744 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
13745
13746 * files.el (after-find-file): Do not try to add a final newline if
13747 the buffer is read-only (Bug#11156).
13748
13749 2012-04-17 Richard Stallman <rms@gnu.org>
13750
13751 * mail/rmail.el (rmail-start-mail):
13752 Pass (rmail-mail-return...) for the return-action.
13753 Pass (rmail-yank-current-message...) for the yank-action.
13754 (rmail-yank-current-message): New function.
13755 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
13756 (rmail-reply): Likewise.
13757 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
13758
13759 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
13760 buffer, not the last. Reject temp buffers. Use the rmail-mode
13761 buffer, not newbuf.
13762
13763 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
13764
13765 * server.el (server-ensure-safe-dir): Simplify.
13766
13767 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
13768
13769 * emacs-lisp/smie.el: Provide smarter auto-filling.
13770 (smie-auto-fill): New function.
13771 (smie-setup): Use it.
13772
13773 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
13774
13775 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
13776
13777 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
13778 (comment-indent): Use it.
13779
13780 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
13781
13782 * ses.el: The overall change is to add cell renaming, that is
13783 setting fancy names for cell symbols other than name matching
13784 "\\`[A-Z]+[0-9]+\\'" regexp .
13785 (ses-localvars): Add ses--renamed-cell-symb-list.
13786 (ses-create-cell-variable): New defun.
13787 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
13788 (ses-relocate-formula): Relocate formulas only for cells the
13789 symbols of which are not renamed, i.e. symbols whose names do not
13790 match regexp "\\`[A-Z]+[0-9]+\\'".
13791 (ses-relocate-all): Relocate values only for cells the symbols of
13792 which are not renamed.
13793 (ses-load): Create cells variables as the (ses-cell ...) are read,
13794 in order to check row col consistency with cell symbol name only
13795 for cells that are not renamed.
13796 (ses-replace-name-in-formula): New defun.
13797 (ses-rename-cell): New defun.
13798
13799 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
13800
13801 * progmodes/perl-mode.el (perl-indent-parens-as-block):
13802 New option (bug#11118).
13803 (perl-calculate-indent): Respect it.
13804
13805 2012-04-17 Glenn Morris <rgm@gnu.org>
13806
13807 * dired-aux.el (dired-mark-read-string): Doc fix.
13808
13809 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
13810
13811 * dired-aux.el (dired-mark-read-string): Offer optional completion.
13812 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
13813
13814 2012-04-17 Glenn Morris <rgm@gnu.org>
13815
13816 * mouse.el (mouse-drag-track):
13817 * speedbar.el (speedbar-frame-mode):
13818 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
13819
13820 2012-04-16 Leo Liu <sdl.web@gmail.com>
13821
13822 * progmodes/python.el: Trivial cleanup.
13823
13824 2012-04-16 Glenn Morris <rgm@gnu.org>
13825
13826 * vc/vc.el (vc-string-prefix-p):
13827 * vc/pcvs-util.el (cvs-string-prefix-p):
13828 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
13829 * mpc.el (mpc-string-prefix-p):
13830 Make all of these into obsolete aliases for string-prefix-p.
13831 Update callers.
13832 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
13833
13834 * textmodes/two-column.el: Move custom options to the start.
13835 (frame-width): Remove compat definition.
13836 (2C-associate-buffer, 2C-dissociate):
13837 Use with-current-buffer rather than save-excursion.
13838 (2C-dissociate): Force a mode-line update.
13839 (2C-autoscroll): Use ignore-errors.
13840
13841 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
13842 Autoload trivia.
13843
13844 * emacs-lisp/cl-extra.el (*random-state*):
13845 Remove unnecessary declaration.
13846
13847 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
13848
13849 * play/cookie1.el (cookie-snarf):
13850 Give an explicit error if input file cannot be read.
13851
13852 * play/yow.el (yow-file): Use expand-file-name rather than concat.
13853
13854 * progmodes/perl-mode.el (c-macro-expand):
13855 Remove unnecessary autoload (it is in loaddefs.el).
13856
13857 * textmodes/picture.el (picture-desired-column)
13858 (picture-update-desired-column): Convert comments to doc-strings.
13859 (picture-substitute): Remove function.
13860 (picture-mode-map): Initialize in the defvar.
13861
13862 * woman.el: Remove eval-after-load for tar-mode.
13863 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
13864 (woman-tar-extract-file): Autoload it.
13865
13866 * frame.el (automatic-hscrolling): Make this alias obsolete.
13867
13868 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13869
13870 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
13871 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
13872 (ispell-dictionary-base-alist): Revert to original XEmacs
13873 friendly version for default. [:alpha:] will be added in
13874 `ispell-set-spellchecker-params' if needed.
13875
13876 2012-04-16 Chong Yidong <cyd@gnu.org>
13877
13878 * image.el (imagemagick--file-regexp): New variable.
13879 (imagemagick-register-types): Use it.
13880 (imagemagick-types-inhibit): Add :set function. Allow new value
13881 of t to inhibit all types.
13882
13883 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
13884 so we can preload it.
13885
13886 * loadup.el (fboundp): Preload regexp-opt, needed by
13887 imagemagick-register-types.
13888
13889 2012-04-15 Chong Yidong <cyd@gnu.org>
13890
13891 * frame.el (scrolling): Remove nearly unused customization group.
13892
13893 * scroll-all.el (scroll-all-mode): Move to windows group.
13894
13895 2012-04-15 Chong Yidong <cyd@gnu.org>
13896
13897 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
13898
13899 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13900
13901 Avoid the use of ((lambda ...) ...) in lexical-binding code.
13902 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
13903
13904 2012-04-15 Glenn Morris <rgm@gnu.org>
13905
13906 * simple.el (process-file-side-effects): Doc fix.
13907
13908 2012-04-15 Glenn Morris <rgm@gnu.org>
13909
13910 * international/mule-cmds.el (set-language-environment): Doc fix.
13911
13912 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
13913
13914 * server.el (server-auth-key, server-generate-key): Doc fixes.
13915 (server-get-auth-key): Doc fix. Use `string-match-p'.
13916 (server-start): Reflow docstring.
13917
13918 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
13919
13920 * server.el (server-generate-key): `called-interactively-p'
13921 requires a parameter.
13922
13923 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
13924
13925 * server.el (server-auth-key): New variable.
13926 (server-generate-key, server-get-auth-key): New function.
13927 (server-start): Use the new variable and functions to allow
13928 setting a permanent server key (bug#9423).
13929
13930 2012-04-14 Leo Liu <sdl.web@gmail.com>
13931
13932 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
13933
13934 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
13935
13936 Spelling fixes.
13937 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
13938 Emacs uses American spelling.
13939
13940 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
13941
13942 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
13943 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
13944 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
13945 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
13946
13947 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
13948
13949 * progmodes/which-func.el (which-func-modes): Change default.
13950
13951 2012-04-14 Kim F. Storm <storm@cua.dk>
13952
13953 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
13954 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
13955
13956 2012-04-14 Chong Yidong <cyd@gnu.org>
13957
13958 * custom.el (custom-theme-set-variables): Doc fix.
13959
13960 2012-04-14 Glenn Morris <rgm@gnu.org>
13961
13962 * international/mule.el (set-auto-coding-for-load): Doc fix.
13963
13964 2012-04-14 Alan Mackenzie <acm@muc.de>
13965
13966 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
13967 imenu work again for Objective C Mode. Correct the *-index values,
13968 these having been disturbed by a previous change in 2011-08.
13969
13970 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
13971 Correct two search limits.
13972
13973 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
13974
13975 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
13976
13977 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
13978
13979 * international/characters.el: Fix sorting.
13980
13981 2012-04-14 Eli Zaretskii <eliz@gnu.org>
13982
13983 * international/characters.el: Add more missing Latin case pairs.
13984
13985 2012-04-14 Glenn Morris <rgm@gnu.org>
13986
13987 * files.el (dir-locals-set-class-variables): Doc fix.
13988
13989 2012-04-14 Eli Zaretskii <eliz@gnu.org>
13990
13991 * international/characters.el: Add set-case-syntax-pair call for
13992 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
13993 counterpart. (Bug#11209)
13994
13995 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
13996
13997 2012-04-14 Glenn Morris <rgm@gnu.org>
13998
13999 * calendar/holidays.el (calendar-check-holidays): Doc fix.
14000
14001 2012-04-14 Eli Zaretskii <eliz@gnu.org>
14002
14003 * textmodes/ispell.el (ispell-dictionary-base-alist):
14004 Add data for Hebrew.
14005
14006 2012-04-14 Chong Yidong <cyd@gnu.org>
14007
14008 * net/rcirc.el (rcirc-cmd-quit):
14009 Revert 2012-03-18 change (Bug#11192).
14010
14011 2012-04-14 Glenn Morris <rgm@gnu.org>
14012
14013 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
14014
14015 2012-04-14 Eli Zaretskii <eliz@gnu.org>
14016
14017 * minibuffer.el (completion-in-region-mode-map):
14018 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
14019
14020 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
14021
14022 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
14023
14024 2012-04-13 Masatake YAMATO <yamato@redhat.com>
14025
14026 * minibuffer.el (minibuffer-local-filename-syntax): New variable
14027 to allow `C-M-f' and `C-M-b' to move to the nearest path
14028 separator (bug#9511).
14029
14030 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
14031
14032 * avoid.el: Require cl when compiling. And also move the
14033 `provide' to the end.
14034
14035 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14036
14037 * avoid.el (mouse-avoidance-banish-position): New variable.
14038 (mouse-avoidance-banish-destination): Use it (bug#10165).
14039
14040 2012-04-13 Leo Liu <sdl.web@gmail.com>
14041
14042 * progmodes/which-func.el (which-func-modes): Add objc-mode.
14043
14044 2012-04-13 Ken Brown <kbrown@cornell.edu>
14045
14046 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
14047 this is no longer needed now that cygstart understands file:// URLs.
14048 (browse-url-filename-alist): For the same reason, don't modify
14049 file:// URLs on Cygwin.
14050
14051 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
14052
14053 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
14054 the region on shift if the binding is already shifted (bug#11221).
14055
14056 2012-04-12 Glenn Morris <rgm@gnu.org>
14057
14058 * mail/mailpost.el: Move to obsolete/.
14059
14060 2012-04-12 Drew Adams <drew.adams@oracle.com>
14061
14062 * imenu.el (imenu--generic-function): Ignore invisible definitions
14063 (bug#10123).
14064
14065 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
14066
14067 * hexl.el (hexl-bits): New variable.
14068 (hexl-options): Mention the variable in the doc string.
14069 (hexl-rulerise, hexl-line-displen): New functions.
14070 (hexl-mode): Mention the new variable.
14071 (hexl-mode, hexl-current-address, hexl-current-address):
14072 Use the displen.
14073 (hexl-ascii-start-column): New function.
14074 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
14075 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
14076
14077 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14078
14079 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
14080 '("-i" ENCODING), in 2 separate command-line arguments, to specify
14081 the encoding, as expected by hunspell.
14082
14083 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
14084
14085 * battery.el (battery--linux-sysfs-regexp): New const.
14086 (battery-status-function): Use it. Remove yeeloong special case.
14087 (battery-yeeloong-sysfs): Remove.
14088 (battery-echo-area-format): Remove yeeloong special case.
14089
14090 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
14091
14092 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
14093 Reported by Noah Friedman.
14094
14095 * subr.el (read-passwd): Use read-string.
14096
14097 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14098
14099 * vcursor.el (vcursor-move): Increase the priority of the overlay
14100 (bug#9663).
14101
14102 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
14103
14104 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
14105 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
14106
14107 2012-04-11 William Stevenson <yhvh2000@gmail.com>
14108
14109 * textmodes/artist.el (artist-mode): Convert artist-mode to use
14110 define-minor-mode (bug#10760).
14111
14112 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
14113
14114 * progmodes/grep.el (rgrep): Tweak the find command line so
14115 that directories matching `grep-find-ignored-files' won't be
14116 pruned (bug#10351).
14117
14118 2012-04-11 Chong Yidong <cyd@gnu.org>
14119
14120 * startup.el (command-line): Remove support for long-obsolete
14121 variable font-lock-face-attributes.
14122
14123 2012-04-11 Glenn Morris <rgm@gnu.org>
14124
14125 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
14126
14127 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
14128
14129 * window.el (window--state-get-1): Obey window-point-insertion-type.
14130
14131 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
14132
14133 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
14134 to previous function when point is on the first character of a
14135 function. Take care of that in `narrow-to-defun' (bug#6157).
14136
14137 2012-04-11 Glenn Morris <rgm@gnu.org>
14138
14139 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
14140 not just file-errors.
14141
14142 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
14143 (vc-bzr-sha1): Use internal sha1.
14144
14145 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
14146
14147 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
14148
14149 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
14150
14151 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
14152 that start in the middle of the line (bug#10496).
14153
14154 2012-04-10 Dan Nicolaescu <dann@gnu.org>
14155
14156 * battery.el (battery-linux-proc-acpi): Only one battery is
14157 discharged at a time, but that seems to confuse battery.el when
14158 computing `rate-type' for the battery not being discharged
14159 (bug#10332).
14160
14161 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
14162
14163 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
14164
14165 * international/quail.el: Use dolist and simplify.
14166 (quail-define-package, quail-update-keyboard-layout)
14167 (quail-define-rules): Use dolist.
14168 (quail-insert-kbd-layout, quail-get-translation): CSE.
14169
14170 * tmm.el: Use dolist, remove left over hook.
14171 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
14172 Use dolist.
14173 (calendar-load-hook): Don't mess with it.
14174
14175 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
14176 Use derived-mode-p. Run the diff asynchronously.
14177
14178 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
14179
14180 * obsolete/mouse-sel.el: Add an Obsolete-since header.
14181
14182 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
14183
14184 * misc.el: Display absolute path of loaded DLLs (bug#10424).
14185 (list-dynamic-libraries--loaded): New function.
14186 (list-dynamic-libraries--refresh): Use it.
14187
14188 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
14189
14190 * progmodes/python.el (python-fill-paragraph):
14191 Make python-fill-region in a multiline string work when font-lock is
14192 disabled (bug#7018).
14193
14194 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
14195
14196 * language/european.el (cp775): Add oem/legacy (en)coding on
14197 DOS/MS Windows for the Baltic languages. There are still plenty
14198 of texts written in this encoding/codepage (bug#6519).
14199
14200 2012-04-10 Glenn Morris <rgm@gnu.org>
14201
14202 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
14203 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
14204
14205 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
14206
14207 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
14208 next-line "n" and previous-line "p" in order to make recentf more
14209 consistent with ibuffer, dired or org-mode (bug#9387).
14210
14211 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
14212
14213 * image.el (put-image): Return the overlay created instead of the
14214 optional input string (bug#7834). Note that this may break code
14215 that is (for some reason or other) depending on `put-image'
14216 returning the string.
14217
14218 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
14219
14220 * simple.el (zap-to-char): Allow zapping using input methods
14221 (bug#1580).
14222
14223 * textmodes/fill.el (fill-region): Leave point and mark where they
14224 were before filling (bug#5399).
14225
14226 2012-04-09 Glenn Morris <rgm@gnu.org>
14227
14228 * version.el (emacs-bzr-get-version):
14229 Handle lightweight checkouts of local branches.
14230
14231 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
14232
14233 * international/characters.el: Recover lost case pairs. (Bug#11209)
14234
14235 2012-04-09 Chong Yidong <cyd@gnu.org>
14236
14237 * custom.el (custom-variable-p): Return nil for non-symbol
14238 arguments instead of signaling an error.
14239 (user-variable-p): Obsolete alias for custom-variable-p.
14240
14241 * apropos.el (apropos-variable):
14242 * files-x.el (read-file-local-variable):
14243 * simple.el (set-variable):
14244 * woman.el (woman-mini-help):
14245 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
14246
14247 2012-04-09 Glenn Morris <rgm@gnu.org>
14248
14249 * startup.el (normal-top-level): Don't look for leim-list.el
14250 in places where it will not be found. (Bug#910)
14251
14252 * international/mule-cmds.el (set-default-coding-systems):
14253 * files.el (normal-mode):
14254 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
14255 This function was removed with ucs-tables.el in 2008.
14256
14257 2012-04-08 Eli Zaretskii <eliz@gnu.org>
14258
14259 * textmodes/ispell.el (ispell-check-version): For hunspell, set
14260 ispell-encoding8-command to "-i", without a trailing space.
14261 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
14262 separate command-line arguments, to specify the encoding, since
14263 that's how hunspell expects it.
14264
14265 2012-04-08 Glenn Morris <rgm@gnu.org>
14266
14267 * loadup.el: Load bindings before cus-start.
14268 This reduces somewhat the number of "rogue" settings in emacs -Q.
14269
14270 2012-04-07 Glenn Morris <rgm@gnu.org>
14271
14272 * version.el (emacs-bzr-get-version): New function.
14273 (emacs-bzr-version): New variable.
14274 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
14275 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
14276
14277 2012-04-07 Eli Zaretskii <eliz@gnu.org>
14278
14279 * international/uni-bidi.el, international/uni-category.el:
14280 * international/uni-combining.el, international/uni-decimal.el:
14281 * international/uni-decomposition.el, international/uni-digit.el:
14282 * international/uni-lowercase.el, international/uni-mirrored.el:
14283 * international/uni-name.el, international/uni-numeric.el:
14284 * international/uni-titlecase.el, international/uni-uppercase.el:
14285 Update for Unicode 6.1.
14286
14287 2012-04-07 Eli Zaretskii <eliz@gnu.org>
14288
14289 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
14290
14291 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
14292
14293 * window.el (shrink-window): Mention the `window-min-height'
14294 variable in the doc string.
14295
14296 2012-04-05 Bastien Guerry <bzg@altern.org>
14297
14298 * color.el (color-lighten-name): Fix typo.
14299
14300 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
14301
14302 * server.el (server--on-display-p): New function.
14303 (server--on-display-p): Use it.
14304
14305 2012-04-04 Gábor Vida <vidagabor@gmail.com> (tiny change)
14306
14307 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
14308 (bug#11145).
14309
14310 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
14311
14312 * comint.el (comint--common-quoted-suffix): Check string boundary
14313 before comparing (bug#11158).
14314 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
14315
14316 2012-04-04 Chong Yidong <cyd@gnu.org>
14317
14318 * minibuffer.el (completion-extra-properties): Doc fix.
14319
14320 * subr.el (delayed-warnings-hook): Doc fix.
14321
14322 2012-04-04 Daiki Ueno <ueno@unixuser.org>
14323
14324 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
14325 selection (Bug#11159).
14326 (epa-insert-keys): Inform that the default public key will be
14327 exported if no key is selected.
14328
14329 2012-04-04 Richard Stallman <rms@gnu.org>
14330
14331 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
14332
14333 2012-04-03 Chong Yidong <cyd@gnu.org>
14334
14335 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
14336 mail-insert-file, not its obsolete alias mail-attach-file.
14337
14338 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
14339
14340 * notifications.el (notifications-notify): Fix docstring.
14341
14342 2012-04-02 Glenn Morris <rgm@gnu.org>
14343
14344 * emacs-lisp/authors.el (authors-aliases): Another addition.
14345
14346 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
14347
14348 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
14349 `tramp-compat-call-process' instead of `tramp-local-call-process'.
14350 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
14351
14352 2012-04-01 Chong Yidong <cyd@gnu.org>
14353
14354 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
14355 Handle root directory properly.
14356 (copy-directory): Caller changed.
14357
14358 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
14359 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
14360
14361 2012-03-31 Glenn Morris <rgm@gnu.org>
14362
14363 * term/xterm.el (xterm-extra-capabilities): Doc fix.
14364
14365 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
14366
14367 * calendar/calendar.el (calendar-window-list)
14368 (calendar-hide-window): Restore. (Bug#11140)
14369 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
14370
14371 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
14372
14373 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14374
14375 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
14376 Check if file is a symlink (Bug#10489).
14377
14378 * files.el (copy-directory): Likewise.
14379
14380 2012-03-30 Chong Yidong <cyd@gnu.org>
14381
14382 * image.el (imagemagick-types-inhibit)
14383 (imagemagick-register-types): Doc fix.
14384
14385 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14386
14387 * textmodes/ispell.el (ispell-get-extended-character-mode):
14388 Disable extended-char-mode for hunspell. hunspell does not support it
14389 and treats ~word as ordinary words in pipe mode.
14390
14391 2012-03-30 Glenn Morris <rgm@gnu.org>
14392
14393 * tutorial.el (help-with-tutorial): Ensure local variables don't
14394 happen to make the buffer read-only. (Bug#11127)
14395
14396 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
14397
14398 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
14399 (perl-calculate-indent): Return `noindent' in strings.
14400
14401 2012-03-28 Sam Steingold <sds@gnu.org>
14402
14403 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
14404 instead of the broken adhockery which does not prevent calendar
14405 buffers from being displayed at random after exit.
14406 (calendar-window-list, calendar-hide-window): Remove the broken
14407 adhockery.
14408
14409 2012-03-28 Glenn Morris <rgm@gnu.org>
14410
14411 * replace.el (query-replace-map): Doc fix.
14412
14413 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
14414
14415 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
14416 contents. (Bug#11109)
14417
14418 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
14419
14420 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
14421 (bug#11077).
14422 (avl-tree--check, avl-tree--check-node): New funs.
14423
14424 2012-03-27 Martin Rudalics <rudalics@gmx.at>
14425
14426 * window.el (switch-to-visible-buffer): New option.
14427 (switch-to-prev-buffer, switch-to-next-buffer):
14428 Observe switch-to-visible-buffer. Make sure that checking for a window
14429 showing a buffer already is done on the same frame.
14430
14431 2012-03-27 Glenn Morris <rgm@gnu.org>
14432
14433 * startup.el (mail-host-address): Doc fix.
14434
14435 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
14436
14437 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
14438 than 197 variables.
14439
14440 2012-03-26 Ami Fischman <ami@fischman.org>
14441
14442 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
14443
14444 2012-03-26 Glenn Morris <rgm@gnu.org>
14445
14446 * files.el (save-buffers-kill-emacs): Doc fix.
14447
14448 * startup.el (normal-top-level, command-line, command-line-1):
14449 Give them doc strings.
14450
14451 2012-03-25 Eli Zaretskii <eliz@gnu.org>
14452
14453 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
14454 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
14455
14456 2012-03-25 Chong Yidong <cyd@gnu.org>
14457
14458 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
14459 theme if it was previously enabled before (Bug#11031).
14460
14461 * cus-theme.el (custom-theme-write-faces): Retrieve current face
14462 spec with custom-face-get-current-spec if its :shown-value is not
14463 determined yet (Bug#9337).
14464 (customize-create-theme, custom-theme-revert): Doc fixes.
14465
14466 * button.el (button-at): Minor addition to docstring.
14467
14468 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
14469
14470 * vc/vc.el (vc-merge): Fix a prompt.
14471
14472 2012-03-24 Chong Yidong <cyd@gnu.org>
14473
14474 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
14475 point (Bug#9623).
14476
14477 * button.el (button-at): Minor addition to docstring.
14478
14479 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
14480
14481 * newcomment.el (comment-choose-indent): No space after BOL.
14482
14483 2012-03-22 Sam Steingold <sds@gnu.org>
14484
14485 * window.el (switch-to-prev-buffer): Revert last patch because the
14486 bug turned out to be an advertised feature (Elisp manual 28.14).
14487
14488 2012-03-22 Glenn Morris <rgm@gnu.org>
14489
14490 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
14491 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
14492
14493 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
14494
14495 * net/network-stream.el (network-stream-open-starttls): Make error
14496 message under Windows be less misleading.
14497
14498 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
14499
14500 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
14501 understands (bug#9942).
14502
14503 2012-03-22 Chong Yidong <cyd@gnu.org>
14504
14505 * simple.el (end-of-visible-line): Handle return value of
14506 next-single-property-change properly (Bug#9371).
14507
14508 2012-03-22 Kenichi Handa <handa@m17n.org>
14509
14510 * international/quail.el (quail-insert-kbd-layout): Fix previous
14511 change. To avoid unwanted bidi reordering, use
14512 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
14513
14514 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
14515
14516 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
14517 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
14518 (ruby-beginning-of-indent): Be more careful with the difference
14519 between word-boundary and symbol boundary.
14520 (ruby-mode-syntax-table): Make : a symbol constituent.
14521
14522 2012-03-21 Andreas Politz <politza@fh-trier.de>
14523
14524 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
14525
14526 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
14527
14528 * progmodes/etags.el (tags-completion-at-point-function):
14529 Improve last fix.
14530
14531 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
14532
14533 2012-03-21 Sam Steingold <sds@gnu.org>
14534
14535 * progmodes/etags.el (tags-completion-at-point-function):
14536 Avoid the error when point is inside the pattern.
14537
14538 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
14539
14540 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
14541 line (Bug#10855).
14542
14543 2012-03-21 Drew Adams <drew.adams@oracle.com>
14544
14545 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
14546
14547 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
14548
14549 * ido.el (ido-set-current-directory, ido-read-internal)
14550 (ido-choose-completion-string, ido-completion-help): Handle nil
14551 value of ido-completion-buffer (Bug#11008).
14552
14553 2012-03-21 Sam Steingold <sds@gnu.org>
14554
14555 * window.el (switch-to-prev-buffer): Do not switch to a visible
14556 window previous buffer, just like with the frame previous buffers.
14557
14558 2012-03-21 Chong Yidong <cyd@gnu.org>
14559
14560 * faces.el (make-face, make-empty-face, copy-face):
14561 * face-remap.el (face-remap-add-relative, face-remap-set-base):
14562 Doc fixes.
14563
14564 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
14565
14566 * wid-edit.el (widget-complete-field): Remove (bug#11051).
14567 (widget-complete): Remove broken use of it.
14568
14569 2012-03-20 Chong Yidong <cyd@gnu.org>
14570
14571 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
14572 Use string-width and truncate-string-width to handle arbitrary
14573 characters.
14574
14575 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
14576
14577 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
14578 to draw rectangles, not squares. (Regression introduced by revno
14579 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
14580
14581 2012-03-18 Chong Yidong <cyd@gnu.org>
14582
14583 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
14584 it is not yet defined (for temacs).
14585
14586 2012-03-18 Leo Liu <sdl.web@gmail.com>
14587
14588 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
14589 prefix.
14590
14591 2012-03-17 Eli Zaretskii <eliz@gnu.org>
14592
14593 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
14594 (ispell-choices-win-default-height, ispell-silently-savep)
14595 (ispell-dictionary-alist, ispell-encoding8-command)
14596 (ispell-check-version, ispell-aspell-find-dictionary)
14597 (ispell-valid-dictionary-list, ispell-words-keyword)
14598 (ispell-get-word, ispell-internal-change-dictionary)
14599 (ispell-region, ispell-skip-region-list)
14600 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
14601 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
14602 (ispell-message-text-end, ispell-message)
14603 (ispell-buffer-local-parsing): Doc fix.
14604
14605 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
14606
14607 * htmlfontify.el: Add support for code block fontification for ODT
14608 export (Bug #9914).
14609 (hfy-optimisations): Define new option
14610 `body-text-only'
14611 (hfy-fontify-buffer): Honor above setting.
14612 (hfy-begin-span, hfy-end-span): New routines factored out form
14613 `hfy-fontify-buffer'.
14614 (hfy-begin-span-handler, hfy-end-span-handler): New variables
14615 that permit insertion of custom tags.
14616 (hfy-fontify-buffer): Use above handlers.
14617 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
14618 (hfy-face-to-css): Re-defined to be a variable.
14619 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
14620 over multiple runs. This is made possible by having the caller let
14621 bind a special variable `hfy-user-sheet-assoc'.
14622 (htmlfontify-string): New defun.
14623 (hfy-compile-face-map): Make sure that the last char in the
14624 buffer is correctly fontified.
14625 (hfy-face-resolve-face): Whitespace only change.
14626
14627 2012-03-17 Eli Zaretskii <eliz@gnu.org>
14628
14629 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
14630 message more clear.
14631
14632 2012-03-16 Leo Liu <sdl.web@gmail.com>
14633
14634 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
14635
14636 2012-03-16 Alan Mackenzie <acm@muc.de>
14637
14638 Further optimize the handling of large macros.
14639
14640 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
14641 limit to a call of `c-literal-limits'.
14642 (c-determine-+ve-limit): New function.
14643 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
14644 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
14645 In CASE 5B, restrict a search limit to 500.
14646 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
14647
14648 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
14649 Restrict macro bounds to +-500 from after-change's BEG END.
14650
14651 2012-03-16 Leo Liu <sdl.web@gmail.com>
14652
14653 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
14654
14655 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
14656
14657 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
14658 `special-mode' setting of `buffer-read-only'. (Bug#11010)
14659
14660 2012-03-16 Glenn Morris <rgm@gnu.org>
14661
14662 * view.el (view-buffer, view-buffer-other-window)
14663 (view-buffer-other-frame): Doc fixes re special mode-class.
14664
14665 * subr.el (eval-after-load): If named feature is provided not from
14666 a file, run after-load forms. (Bug#10946)
14667
14668 * calendar/calendar.el (calendar-insert-at-column):
14669 Handle non-unit-width characters a bit better. (Bug#10978)
14670
14671 2012-03-15 Chong Yidong <cyd@gnu.org>
14672
14673 * emacs-lisp/ring.el (ring-extend): New function.
14674 (ring-insert+extend): Extend the ring correctly (Bug#11019).
14675
14676 * comint.el (comint-read-input-ring)
14677 (comint-add-to-input-history): Grow comint-input-ring lazily.
14678
14679 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
14680
14681 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
14682 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
14683
14684 * imenu.el: Fix multiple inheritance breakage (bug#9199).
14685 (imenu-add-to-menubar): Don't add a redundant index.
14686 (imenu-update-menubar): Handle a dynamically composed keymap.
14687
14688 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
14689
14690 * mail/sendmail.el (mail-encode-header):
14691 Bind rfc2047-encode-encoded-words to nil.
14692
14693 2012-03-13 Glenn Morris <rgm@gnu.org>
14694
14695 * calendar/calendar.el (calendar-string-spread):
14696 Handle non-unit-width characters a bit better. (Bug#10978)
14697
14698 2012-03-13 Leo Liu <sdl.web@gmail.com>
14699
14700 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
14701 directory and file as argument (Bug#10822).
14702
14703 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
14704
14705 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
14706 For dynamically generated code, follow $PC.
14707 (gdb-disassembly-handler-custom): Handle no function name case.
14708
14709 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
14710
14711 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
14712 * emulation/ws-mode.el (ws-query-replace):
14713 * sort.el (sort-regexp-fields):
14714 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
14715
14716 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14717
14718 * dabbrev.el: Fix cycle completion order (bug#10963).
14719 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
14720 (dabbrev-completion): Don't use an obarray; provide
14721 a cycle-sort-function.
14722
14723 2012-03-12 Leo Liu <sdl.web@gmail.com>
14724
14725 * simple.el (kill-new): Use equal-including-properties for comparison.
14726 (kill-do-not-save-duplicates): Doc fix.
14727
14728 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14729
14730 * dabbrev.el: Fix cycle completion (bug#10963).
14731 Use lexical binding and wrap to 80 columns.
14732 (dabbrev-completion): Delay computing the list of completions.
14733
14734 2012-03-12 Kenichi Handa <handa@m17n.org>
14735
14736 * international/quail.el (quail-insert-kbd-layout): Surround each
14737 row by LRO and PDF instead of inserting many LRMs. Pad the left
14738 and right of each non-spacing marks. Insert invisible space
14739 between lower and upper characters to prevent composition.
14740
14741 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14742
14743 * minibuffer.el (minibuffer-complete): Don't get confused when the
14744 function is run twice via different commands (bug#10958).
14745 (complete-with-action): Fix docstring.
14746
14747 2012-03-12 Chong Yidong <cyd@gnu.org>
14748
14749 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
14750 (nxml-completion-at-point-function): New function.
14751 (nxml-mode): Use it.
14752 (nxml-bind-meta-tab-to-complete-flag): Default to t.
14753
14754 * emacs-lisp/package.el (package-unpack, package-unpack-single):
14755 Load generated autoloads file before byte compiling (Bug#10970).
14756 (package--make-autoloads-and-compile): New helper fun.
14757
14758 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
14759
14760 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
14761
14762 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
14763
14764 * autorevert.el (auto-revert-handler): Ensure, that
14765 file-readable-p is applied only for local files or in
14766 auto-revert-tail-mode.
14767
14768 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
14769
14770 * server.el (server-eval-at): Handle non-tcp connections.
14771 Decode result string.
14772
14773 * server.el (server-msg-size): New constant.
14774 (server-reply-print): New function.
14775 (server-eval-and-print): Use it.
14776 (server-eval-at): Use server-quote-arg and server-unquote-arg.
14777 Handle -print-nonl.
14778
14779 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
14780
14781 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
14782 (Bug#10987).
14783
14784 2012-03-11 Chong Yidong <cyd@gnu.org>
14785
14786 * simple.el (goto-line): Doc fix (Bug#9938).
14787
14788 * subr.el (save-window-excursion): Doc fix (Bug#9979).
14789
14790 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
14791 when finished (Bug#10963).
14792
14793 2012-03-11 Martin Rudalics <rudalics@gmx.at>
14794
14795 * window.el (split-window-below): Fix bug in case where
14796 split-window-keep-point is nil (Bug#10971).
14797
14798 2012-03-11 Juri Linkov <juri@jurta.org>
14799
14800 * replace.el (replace-highlight): Set isearch-word to nil
14801 unconditionally. (Bug#10887)
14802
14803 2012-03-10 Eli Zaretskii <eliz@gnu.org>
14804
14805 * net/mairix.el (mairix-replace-invalid-chars): Rename from
14806 mairix-replace-illegal-chars; all callers changed. Don't remove
14807 ^, ~, and = characters: they are meaningful in mairix search specs.
14808 (mairix-widget-create-query): Add usage information about mairix
14809 search forms: negating words, searching for substrings, etc.
14810
14811 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
14812
14813 * international/fontset.el (font-encoding-alist): Add an entry for
14814 ksx1001 (Bug#5667).
14815
14816 2012-03-10 Richard Stallman <rms@gnu.org>
14817
14818 * mail/sendmail.el (mail-encode-header):
14819 Set rfc2047-encode-encoded-words.
14820
14821 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
14822
14823 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
14824 view buffer means not swapped.
14825 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
14826 (rmail-write-region-annotate): Error if real text has disappeared.
14827
14828 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
14829
14830 2012-03-10 Chong Yidong <cyd@gnu.org>
14831
14832 * emulation/cua-rect.el (cua--init-rectangles):
14833 * emulation/cua-base.el (cua--init-keymaps):
14834 Add delete-forward-char to remappings (Bug#9666).
14835
14836 2012-03-10 Martin Rudalics <rudalics@gmx.at>
14837
14838 * speedbar.el (speedbar-unhighlight-one-tag-line):
14839 Avoid unhighlighting due to frame switching (Bug#10275).
14840
14841 2012-03-10 Chong Yidong <cyd@gnu.org>
14842
14843 * minibuffer.el (completion-in-region, completion-help-at-point):
14844 Give the completion field overlay a high priority (Bug#6830).
14845
14846 * dired.el (dired-goto-file): Recognize absolute file name
14847 listings (Bug#7126).
14848 (dired-goto-file-1): New helper function.
14849 (dired-toggle-read-only): Inhibit warnings.
14850
14851 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
14852
14853 * net/dbus.el (dbus-property-handler): Return empty array if
14854 there are no properties.
14855
14856 2012-03-09 Leo Liu <sdl.web@gmail.com>
14857
14858 * savehist.el (savehist-printable): Stricter check for string
14859 value (Bug#10937).
14860
14861 2012-03-09 Eli Zaretskii <eliz@gnu.org>
14862
14863 * mail/smtpmail.el (smtpmail-send-it):
14864 Bind coding-system-for-write to *-unix, so that FCC files are kept in
14865 valid mbox format.
14866
14867 2012-03-09 Glenn Morris <rgm@gnu.org>
14868
14869 * files.el (dir-locals-find-file):
14870 Don't check result is regular, readable.
14871 (dir-locals-read-from-file): Demote errors.
14872
14873 2012-03-08 Eli Zaretskii <eliz@gnu.org>
14874
14875 * international/quail.el (quail-insert-kbd-layout):
14876 Insert invisible LRM characters before each character in a keyboard
14877 layout cell, to prevent their reordering by bidi display engine.
14878 For details, see the discussion in
14879 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
14880
14881 2012-03-08 Alan Mackenzie <acm@muc.de>
14882
14883 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
14884 the starting position; make it extend the marked region when
14885 invoked repeatedly - all under appropriate circumstances.
14886 Fixes bugs #5525, #10906.
14887
14888 2012-03-08 Glenn Morris <rgm@gnu.org>
14889
14890 * files.el (locate-dominating-file, dir-locals-find-file):
14891 Undo 2012-03-06 change.
14892
14893 2012-03-07 Eli Zaretskii <eliz@gnu.org>
14894
14895 * international/quail.el (quail-help):
14896 Force bidi-paragraph-direction be left-to-right. See discussion in
14897 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
14898 for the reason.
14899
14900 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
14901
14902 Avoid superfluous registering of signals. (Bug#10807)
14903
14904 * notifications.el (notifications-on-action-object)
14905 (notifications-on-close-object): New defvars.
14906 (notifications-on-action-signal, notifications-on-closed-signal):
14907 Unregister the signal if not needed any longer.
14908 (notifications-notify): Register `notifications-action-signal' or
14909 `notifications-closed-signal', if :on-action or :on-close has been
14910 passed as argument.
14911
14912 2012-03-07 Chong Yidong <cyd@gnu.org>
14913
14914 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
14915 non-X platforms.
14916
14917 2012-03-06 Glenn Morris <rgm@gnu.org>
14918
14919 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
14920 (x-disown-selection-internal, x-get-selection-internal):
14921 Doc fix (add arglist signatures). (Bug#10783)
14922
14923 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
14924
14925 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
14926 Handle breakpoints with no "type".
14927
14928 2012-03-06 Glenn Morris <rgm@gnu.org>
14929
14930 * files.el (locate-dominating-file): Add optional predicate argument.
14931 (dir-locals-find-file): Make use of above change.
14932
14933 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
14934
14935 * info.el (Info-insert-dir): Also try "dir.gz".
14936
14937 2012-03-06 Glenn Morris <rgm@gnu.org>
14938
14939 * files.el (dir-locals-find-file):
14940 Ignore non-readable or non-regular files. (Bug#10928)
14941
14942 * files.el (locate-dominating-file): Doc fix.
14943
14944 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
14945
14946 * calendar/calendar.el (calendar-set-mode-line):
14947 `getenv' returns a string. (Bug#10951)
14948
14949 2012-03-05 Leo Liu <sdl.web@gmail.com>
14950
14951 * simple.el (backward-delete-char-untabify): Constrain point to
14952 field (Bug#10939).
14953
14954 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
14955
14956 2012-03-05 Chong Yidong <cyd@gnu.org>
14957
14958 * simple.el (count-words): If called from Lisp, return the word
14959 count, for symmetry with `count-lines'. Arglist changed.
14960 (count-words--message): Args changed. Consolidate counting code
14961 from count-words and count-words-region.
14962 (count-words-region): Caller changed.
14963 (count-lines-region): Make it an obsolete alias.
14964
14965 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
14966
14967 * saveplace.el (save-place-to-alist)
14968 (save-place-ignore-files-regexp): Allow value nil to disable this
14969 feature.
14970
14971 2012-03-04 Chong Yidong <cyd@gnu.org>
14972
14973 * faces.el (face-spec-reset-face): For the default face, reset the
14974 attributes to default values (Bug#10748).
14975
14976 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
14977
14978 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
14979 previous patch: Check `message-send-mail-function', and not the
14980 default function (bug#10897).
14981
14982 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
14983
14984 * notifications.el (notifications-on-action-signal)
14985 (notifications-on-closed-signal): Check for unique service name of
14986 incoming event. Fix error in removing entry.
14987 (top): Register for signals with wildcard service name.
14988 (notifications-notify): Use daemon unique service name for map entries.
14989
14990 2012-03-04 Chong Yidong <cyd@gnu.org>
14991
14992 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
14993
14994 2012-03-04 Glenn Morris <rgm@gnu.org>
14995
14996 * abbrev.el (copy-abbrev-table, abbrev-table-p)
14997 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
14998 (expand-abbrev, define-abbrev-table): Doc fixes.
14999
15000 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15001
15002 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
15003 `message-default-send-mail-function' and not `send-mail-function'
15004 when doing the prompting for `sendmail-query-once' before sending
15005 in Message buffers (bug#10897).
15006
15007 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
15008 This is inconsistent with all the other stream functions, which leave
15009 the setting up to the higher levels (if so wanted) (bug#10931).
15010
15011 2012-03-02 Alan Mackenzie <acm@muc.de>
15012
15013 Depessimize the handling of very large macros.
15014
15015 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
15016 (c-macro-cache-syntactic): New variables to implement a one
15017 element macro cache.
15018 (c-invalidate-macro-cache): New function.
15019 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
15020 Adapt to use the new cache.
15021 (c-state-safe-place): Use better the cache of safe positions.
15022 (c-state-semi-nonlit-pos-cache)
15023 (c-state-semi-nonlit-pos-cache-limit):
15024 New variables for...
15025 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
15026 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
15027 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
15028 Use c-state-semi-safe-place.
15029
15030 * progmodes/cc-langs.el (c-get-state-before-change-functions):
15031 Add c-invalidate-macro-cache to the C, C++, Obj entries.
15032
15033 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
15034
15035 * jka-compr.el (jka-compr-call-process):
15036 Apply `file-accessible-directory-p' only when the default directory is
15037 not remote.
15038
15039 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
15040
15041 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
15042 access of FILE2, if FILE1 does not exist.
15043
15044 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
15045 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
15046
15047 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
15048 Add "PAGER=" to `process-environment'.
15049
15050 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
15051
15052 * progmodes/sql.el: Bug fix
15053 (sql-get-login-ext): Save login values in globals.
15054 (sql-get-login): Use new version of `sql-get-login-ext'.
15055 (sql-interactive-mode): Set global `sql-connection' to nil.
15056 (sql-connect): Set global values for connection.
15057 (sql-product-interactive): Save global values as buffer local.
15058
15059 2012-02-29 Leo Liu <sdl.web@gmail.com>
15060
15061 * abbrev.el (define-abbrevs): Reset sys to nil.
15062
15063 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15064
15065 * files.el (file-equal-p): Rename from `files-equal-p'.
15066 Return nil when one or both files don't exist.
15067 (file-subdir-of-p): Now only top directory must exists,
15068 return nil if it doesn't.
15069 (copy-directory): No need to test with `file-subdir-of-p' after
15070 creating dir.
15071 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
15072 to `file-equal-p'.
15073
15074 2012-02-28 Glenn Morris <rgm@gnu.org>
15075
15076 * shell.el (shell-mode):
15077 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
15078 * play/landmark.el (landmark-font-lock-face-O):
15079 * play/handwrite.el (handwrite):
15080 * play/gomoku.el (gomoku-O):
15081 * net/browse-url.el (browse-url-browser-display):
15082 * international/mule.el (define-charset):
15083 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
15084 * filesets.el (filesets-find-file-delay):
15085 * eshell/em-xtra.el (eshell-xtra):
15086 * eshell/em-unix.el (eshell-grep):
15087 * emulation/viper.el (viper-mode):
15088 * emacs-lisp/regexp-opt.el (regexp-opt-group):
15089 * emacs-lisp/easymenu.el (easy-menu-define):
15090 * calendar/timeclock.el (timeclock-use-display-time):
15091 * bs.el (bs-mode):
15092 * bookmark.el (bookmark-save-flag):
15093 Doc fix (standardize possessive apostrophe usage).
15094
15095 2012-02-27 Chong Yidong <cyd@gnu.org>
15096
15097 * emulation/viper-cmd.el (viper-intercept-ESC-key):
15098 Fix key-binding lookup for ESC key (Bug#9146).
15099
15100 * font-lock.el (font-lock-specified-p): Rename from
15101 font-lock-spec-present. Callers changed.
15102
15103 2012-02-27 Daniel Hackney <dan@haxney.org>
15104
15105 * emacs-lisp/package.el (package-compute-transaction):
15106 Handle holding a package version to t in package-load-list.
15107
15108 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
15109
15110 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
15111 (tramp-get-inode, tramp-get-device): Use cached values.
15112
15113 2012-02-26 Alan Mackenzie <acm@muc.de>
15114
15115 Check there is a font-lock specification before doing initial
15116 fontification.
15117
15118 * font-core.el (font-lock-mode): Move the conditional from
15119 :after-hook to font-lock-initial-fontify.
15120 (font-lock-default-function): Move the check for a specification
15121 to font-lock-spec-present.
15122
15123 * font-lock.el (font-lock-initial-fontify): Call ...
15124 (font-lock-spec-present): New function.
15125
15126 2012-02-26 Jim Blandy <jimb@red-bean.com>
15127
15128 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
15129 (gdb-send): Apply it to the operand of the '-interpreter-exec
15130 console' command, so that we can pass arguments with (say) quotes
15131 in them. Store exact string sent in gdb-debug-log (Bug#10765).
15132
15133 2012-02-26 Chong Yidong <cyd@gnu.org>
15134
15135 * help-fns.el (describe-function-1): Clarify description of
15136 remapping (Bug#10844).
15137
15138 * files.el (files-equal-p): Doc fix.
15139 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
15140 and quit the loop once a mismatch is found.
15141
15142 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
15143
15144 * bs.el (bs--show-with-configuration): Don't throw an error
15145 if the window cannot be split; otherwise, subsequent calls to
15146 bs-show fail, restoring a stale window config. (Bug#10882)
15147
15148 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
15149
15150 * term/ns-win.el (global-map): Bind ns-drag-file to
15151 ns-find-file (Bug#5855, Bug#10050).
15152
15153 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
15154
15155 * calendar/parse-time.el (parse-time-string): Allow extractor to
15156 return nil.
15157
15158 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
15159
15160 * net/tramp.el (tramp-file-name-for-operation):
15161 Add `files-equal-p' and `file-subdir-of-p'.
15162
15163 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
15164 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
15165 Add COPY-CONTENTS argument.
15166
15167 2012-02-25 Chong Yidong <cyd@gnu.org>
15168
15169 Add custom groups for VC backends, for consistency with vc-bzr.
15170
15171 * vc/vc-arch.el (vc-arch):
15172 * vc/vc-cvs.el (vc-cvs):
15173 * vc/vc-git.el (vc-git):
15174 * vc/vc-hg.el (vc-hg):
15175 * vc/vc-mtn.el (vc-mtn):
15176 * vc/vc-rcs.el (vc-rcs):
15177 * vc/vc-sccs.el (vc-sccs):
15178 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
15179 All relevant defcustoms reassigned.
15180
15181 2012-02-25 Chong Yidong <cyd@gnu.org>
15182
15183 * newcomment.el (comment-styles): Add autoload (Bug#10868).
15184
15185 * term/x-win.el (x-initialize-window-system): Reduce default for
15186 x-selection-timeout to 5 seconds (Bug#8869).
15187
15188 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15189
15190 * files.el (files-equal-p, file-subdir-of-p): New functions.
15191 (copy-directory): Error when trying to copy a directory on itself.
15192 Add missing copy-contents arg to tramp handler.
15193 * dired-aux.el (dired-copy-file-recursive): Same.
15194 (dired-create-files): Modify destination when source is equal to
15195 dest when copying files.
15196 Return also when dest is a subdir of source. (Bug#10489)
15197
15198 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
15199
15200 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
15201 (Bug#10874)
15202
15203 2012-02-23 Alan Mackenzie <acm@muc.de>
15204
15205 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
15206 parameter "after-hook:" to allow the expansion to run code after
15207 the execution of the mode hooks.
15208
15209 * font-lock.el (font-lock-initial-fontify): New function extracted
15210 from font-lock-mode-internal.
15211
15212 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
15213 :after-hook.
15214
15215 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
15216
15217 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
15218 (completion--cache-all-sorted-completions): New function.
15219 (completion-all-sorted-completions): Use it.
15220 (completion--do-completion, minibuffer-force-complete):
15221 Use it to re-instate the flush hook.
15222
15223 * icomplete.el (icomplete-completions): Replace last fix with a better
15224 one (bug#10850).
15225
15226 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
15227
15228 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
15229 when it might call us back infinitely (bug#10797).
15230
15231 2012-02-23 Glenn Morris <rgm@gnu.org>
15232
15233 * minibuffer.el (completion-category-overrides): Doc fix.
15234
15235 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
15236
15237 * minibuffer.el (completion-table-with-context): Fix inf-loop.
15238 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
15239
15240 2012-02-23 Glenn Morris <rgm@gnu.org>
15241
15242 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
15243 (authors-obsolete-files-regexps, authors-ignored-files)
15244 (authors-ambiguous-files, authors-renamed-files-alist):
15245 Add more entries.
15246
15247 2012-02-23 Juri Linkov <juri@jurta.org>
15248
15249 * isearch.el (isearch-occur): Sync interactive spec with occur's
15250 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
15251
15252 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
15253
15254 2012-02-22 Juri Linkov <juri@jurta.org>
15255
15256 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
15257 (ucs-insert): Doc fix. Check for hex digits in the string.
15258 Don't display `nil' in the error message. (Bug#10857)
15259
15260 2012-02-22 Alan Mackenzie <acm@muc.de>
15261
15262 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
15263
15264 2012-02-22 Glenn Morris <rgm@gnu.org>
15265
15266 * ffap.el (ffap-c-path):
15267 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
15268
15269 2012-02-22 Chong Yidong <cyd@gnu.org>
15270
15271 * custom.el (load-theme): Doc fix.
15272
15273 2012-02-22 Glenn Morris <rgm@gnu.org>
15274
15275 * dired-x.el (dired-guess-shell-alist-default):
15276 Remove escape sequences from nroff output. (Bug#172)
15277
15278 2012-02-21 Glenn Morris <rgm@gnu.org>
15279
15280 * vc/emerge.el (emerge-defvar-local):
15281 Set `permanent-local' property rather than unused `preserved'.
15282
15283 * textmodes/picture.el (picture-delete-char): New alias.
15284 (picture-mode-map): Use it. (Bug#10860)
15285 (picture-mode): Doc fix.
15286
15287 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
15288
15289 * newcomment.el (uncomment-region-default): Remove unused binding.
15290
15291 2012-02-21 Glenn Morris <rgm@gnu.org>
15292
15293 * textmodes/picture.el (picture-motion, picture-motion-reverse)
15294 (picture-self-insert, picture-tab-chars): Doc fix.
15295 (picture-mode-map): Fix C-a, C-e.
15296
15297 2012-02-20 Glenn Morris <rgm@gnu.org>
15298
15299 * emacs-lisp/authors.el (authors-aliases): Add another entry.
15300
15301 2012-02-20 Leo Liu <sdl.web@gmail.com>
15302
15303 * icomplete.el (icomplete-completions): Check FROM arg before
15304 passing to substring (Bug#10850).
15305
15306 2012-02-19 Chong Yidong <cyd@gnu.org>
15307
15308 * comint.el: Require ansi-color.
15309 (comint-output-filter-functions): Add ansi-color-process-output.
15310
15311 * ansi-color.el: Don't set comint-output-filter-functions; it is
15312 now in the initial value defined in comint.el.
15313 (ansi-color-apply-face-function): New variable.
15314 (ansi-color-apply-on-region): Use it.
15315 (ansi-color-apply-overlay-face): New function.
15316
15317 * shell.el (shell): No need to require ansi-color.
15318 (shell-mode): Use ansi-color-apply-face-function to highlight
15319 color escapes using font-lock-face property (Bug#10835).
15320
15321 2012-02-19 Chong Yidong <cyd@gnu.org>
15322
15323 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
15324 mode-line formats (Bug#10839).
15325
15326 2012-02-18 Glenn Morris <rgm@gnu.org>
15327
15328 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
15329
15330 * mail/undigest.el (unforward-rmail-message): Doc fix.
15331
15332 * saveplace.el (save-place-ignore-files-regexp): Add :version.
15333
15334 2012-02-18 Eli Zaretskii <eliz@gnu.org>
15335
15336 * international/characters.el (script-list): Sync with the latest
15337 Unicode Character Database.
15338
15339 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
15340
15341 * international/titdic-cnv.el: Remove duplicate coding tag.
15342 * language/cham.el: Likewise.
15343 * language/tai-viet.el: Likewise.
15344
15345 2012-02-18 Glenn Morris <rgm@gnu.org>
15346
15347 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
15348 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
15349 (calendar-bahai-all-holidays-flag, calendar-other-dates):
15350 * calendar/diary-lib.el (diary-abbreviated-year-flag):
15351 * calendar/holidays.el (holiday-bahai-holidays)
15352 (calendar-holidays, list-holidays):
15353 Use utf-8 Bahá'í in doc-strings, menus, etc.
15354
15355 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
15356
15357 * saveplace.el (save-place-ignore-files-regexp): New variable
15358 allowing for excluding files from saving their location of point.
15359 The default value matches the temporary commit message editing
15360 files from Git, SVN, Bazaar, and Mercurial.
15361 (save-place-to-alist): Use it.
15362
15363 2012-02-17 Lawrence Mitchell <wence@gmx.li>
15364 Stefan Monnier <monnier@iro.umontreal.ca>
15365
15366 * newcomment.el (uncomment-region-default): Don't leave extra space
15367 when an arg is provided (bug#8150).
15368
15369 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
15370
15371 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
15372
15373 2012-02-17 Glenn Morris <rgm@gnu.org>
15374
15375 * net/socks.el: Require network-stream. (Bug#10599)
15376
15377 2012-02-17 Kenichi Handa <handa@m17n.org>
15378
15379 * international/charprop.el:
15380 * international/uni-name.el:
15381 * international/uni-old-name.el:
15382 * international/uni-comment.el: Regenerate.
15383
15384 2012-02-16 Glenn Morris <rgm@gnu.org>
15385
15386 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
15387 Interactively in calendar buffer, give an error if not on a date.
15388
15389 2012-02-15 Glenn Morris <rgm@gnu.org>
15390
15391 * shell.el (shell-delimiter-argument-list):
15392 Revert 2011-02-17 change. (Bug#8027)
15393
15394 2012-02-15 Chong Yidong <cyd@gnu.org>
15395
15396 * minibuffer.el (completion-at-point-functions): Doc fix.
15397
15398 * custom.el (defcustom): Doc fix; note use of defvar.
15399
15400 2012-02-15 Glenn Morris <rgm@gnu.org>
15401
15402 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
15403 Doc fixes.
15404
15405 2012-02-14 Glenn Morris <rgm@gnu.org>
15406
15407 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
15408
15409 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
15410
15411 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
15412 way the ports list is computed.
15413 (smtpmail-query-smtp-server): Prompt the user for a port number if
15414 we can't connect to any of the standard ports (bug#10810).
15415
15416 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
15417
15418 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
15419
15420 2012-02-13 Glenn Morris <rgm@gnu.org>
15421
15422 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
15423
15424 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
15425
15426 * net/gnutls.el (gnutls-trustfiles): New variable.
15427 (gnutls-negotiate): Use it.
15428
15429 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
15430
15431 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
15432 does its stuff if Gnus is running.
15433
15434 2012-02-13 Alan Mackenzie <acm@muc.de>
15435
15436 Fix a loop in c-set-fl-decl-start.
15437
15438 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
15439 c-backward-syntactic-ws actually moves backwards.
15440
15441 2012-02-13 Leo Liu <sdl.web@gmail.com>
15442
15443 * net/rcirc.el (rcirc-markup-attributes): Move point to the
15444 beginning so that all \C-o chars are removed.
15445
15446 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
15447
15448 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
15449
15450 2012-02-12 Alan Mackenzie <acm@muc.de>
15451
15452 Fix infinite loop with long macros.
15453 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
15454
15455 2012-02-12 Chong Yidong <cyd@gnu.org>
15456
15457 * window.el (display-buffer): Doc fix (Bug#10785).
15458
15459 2012-02-12 Glenn Morris <rgm@gnu.org>
15460
15461 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
15462 (x-disown-selection-internal, x-get-selection-internal):
15463 Sync docs with the xselect.c versions.
15464
15465 * allout-widgets.el: Add missing license notice.
15466
15467 2012-02-11 Glenn Morris <rgm@gnu.org>
15468
15469 * select.el (x-get-selection-internal, x-own-selection-internal)
15470 (x-disown-selection-internal):
15471 * x-dnd.el (x-get-selection-internal): Update declarations.
15472
15473 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
15474
15475 * window.el (window-sides-slots):
15476 * tool-bar.el (tool-bar-position):
15477 * term/xterm.el (xterm-extra-capabilities):
15478 * ses.el (ses-self-reference-early-detection):
15479 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
15480 (verilog-auto-wire-type)
15481 (verilog-auto-delete-trailing-whitespace)
15482 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
15483 (verilog-auto-tieoff-declaration):
15484 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
15485 (sql-oracle-statement-starters, sql-oracle-scan-on):
15486 * progmodes/prolog.el (prolog-align-comments-flag)
15487 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
15488 (prolog-left-indent-regexp, prolog-paren-indent-p)
15489 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
15490 (prolog-types, prolog-mode-specificators)
15491 (prolog-determinism-specificators, prolog-directives)
15492 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
15493 (prolog-electric-dot-flag)
15494 (prolog-electric-dot-full-predicate-template)
15495 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
15496 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
15497 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
15498 (prolog-program-switches, prolog-prompt-regexp)
15499 (prolog-debug-on-string, prolog-debug-off-string)
15500 (prolog-trace-on-string, prolog-trace-off-string)
15501 (prolog-zip-on-string, prolog-zip-off-string)
15502 (prolog-use-standard-consult-compile-method-flag)
15503 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
15504 (prolog-imenu-max-lines, prolog-info-predicate-index)
15505 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
15506 (prolog-char-quote-workaround):
15507 * progmodes/cc-vars.el (c-defun-tactic):
15508 * net/tramp.el (tramp-encoding-command-interactive)
15509 (tramp-local-end-of-line):
15510 * net/soap-client.el (soap-client):
15511 * net/netrc.el (netrc-file):
15512 * net/gnutls.el (gnutls):
15513 * minibuffer.el (completion-category-overrides)
15514 (completion-cycle-threshold)
15515 (completion-pcm-complete-word-inserts-delimiters):
15516 * man.el (Man-name-local-regexp):
15517 * mail/feedmail.el (feedmail-display-full-frame):
15518 * international/characters.el (glyphless-char-display-control):
15519 * eshell/em-ls.el (eshell-ls-date-format):
15520 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
15521 (lisp-lambda-list-keyword-parameter-indentation)
15522 (lisp-lambda-list-keyword-parameter-alignment):
15523 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
15524 * dired-x.el (dired-omit-verbose):
15525 * cus-theme.el (custom-theme-allow-multiple-selections):
15526 * calc/calc.el (calc-highlight-selections-with-faces)
15527 (calc-lu-field-reference, calc-lu-power-reference)
15528 (calc-note-threshold):
15529 * battery.el (battery-mode-line-limit):
15530 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
15531 (archive-7z-update):
15532 * allout.el (allout-prefixed-keybindings)
15533 (allout-unprefixed-keybindings)
15534 (allout-inhibit-auto-fill-on-headline)
15535 (allout-flattened-numbering-abbreviation):
15536 * allout-widgets.el (allout-widgets-auto-activation)
15537 (allout-widgets-icons-dark-subdir)
15538 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
15539 (allout-widgets-theme-dark-background)
15540 (allout-widgets-theme-light-background)
15541 (allout-widgets-item-image-properties-emacs)
15542 (allout-widgets-item-image-properties-xemacs)
15543 (allout-widgets-run-unit-tests-on-load)
15544 (allout-widgets-time-decoration-activity)
15545 (allout-widgets-hook-error-post-time)
15546 (allout-widgets-track-decoration):
15547 Add missing :version tags to new defcustoms and defgroups.
15548
15549 * progmodes/sql.el (sql-ansi-statement-starters)
15550 (sql-oracle-statement-starters): Add custom type.
15551
15552 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
15553 (prolog-system-version): Give it a type.
15554
15555 2012-02-11 Eli Zaretskii <eliz@gnu.org>
15556
15557 * term/pc-win.el (x-select-text, x-selection-owner-p)
15558 (x-own-selection-internal, x-disown-selection-internal)
15559 (x-get-selection-internal): Sync doc strings and argument lists
15560 with xselect.c, common-win.el and x-win.el. (Bug#10783)
15561
15562 2012-02-11 Leo Liu <sdl.web@gmail.com>
15563
15564 * progmodes/python.el (python-end-of-statement): Fix infinite
15565 loop. (Bug#10788)
15566
15567 2012-02-10 Glenn Morris <rgm@gnu.org>
15568
15569 * international/mule-cmds.el (unify-8859-on-encoding-mode)
15570 (unify-8859-on-decoding-mode): Properly mark as obsolete.
15571
15572 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
15573
15574 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
15575 about SMTP before checking the From header.
15576
15577 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
15578 into own function for reuse by emacsbug.el.
15579
15580 2012-02-10 Leo Liu <sdl.web@gmail.com>
15581
15582 * subr.el (condition-case-unless-debug): Rename from
15583 condition-case-no-debug. All callers changed.
15584 (with-demoted-errors): Fix caller.
15585
15586 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
15587 * nxml/rng-valid.el (rng-do-some-validation):
15588 * emacs-lisp/package.el (package-refresh-contents)
15589 (package-menu-execute):
15590 * desktop.el (desktop-create-buffer):
15591 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
15592
15593 2012-02-10 Glenn Morris <rgm@gnu.org>
15594
15595 * textmodes/bibtex.el:
15596 Add missing :version tags for new/changed defcustoms.
15597
15598 * files.el (remote-file-name-inhibit-cache): Doc fixes.
15599
15600 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
15601
15602 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
15603 (smtpmail-via-smtp): Use it, or fall back on the From address.
15604 (smtpmail-send-it): Ditto.
15605
15606 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
15607
15608 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
15609 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
15610 (byte-compile-tmp-var): New const.
15611 (byte-compile-defvar): Use it to minimize .elc size.
15612 Just use `defvar' rather than simulate it (bug#10761).
15613
15614 2012-02-09 Glenn Morris <rgm@gnu.org>
15615
15616 * files.el (rename-uniquely): Doc fix. (Bug#3806)
15617
15618 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
15619 Add :version tags.
15620
15621 * progmodes/compile.el (compilation-error-screen-columns)
15622 (compilation-first-column, compilation-filter-start): Doc fixes.
15623
15624 * vc/log-view.el (log-view-toggle-entry-display):
15625 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
15626
15627 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
15628 (report-emacs-bug-can-use-xdg-email):
15629 (report-emacs-bug-insert-to-mailer): Doc fixes.
15630 (report-emacs-bug): Message fix.
15631
15632 * net/browse-url.el (browse-url-can-use-xdg-open)
15633 (browse-url-xdg-open): Doc fixes.
15634
15635 * electric.el (electric-indent-mode, electric-pair-mode)
15636 (electric-layout-rules, electric-layout-mode): Doc fixes.
15637 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
15638
15639 2012-02-08 Martin Rudalics <rudalics@gmx.at>
15640
15641 * server.el (server-unselect-display): Don't inadvertently kill
15642 the current buffer. (Bug#10729)
15643
15644 2012-02-08 Glenn Morris <rgm@gnu.org>
15645
15646 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
15647 (sql-list-table): Doc fixes.
15648
15649 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
15650 Comment out (does nothing).
15651
15652 * completion.el (dynamic-completion-mode):
15653 * dirtrack.el (dirtrack-debug-mode):
15654 * electric.el (electric-layout-mode):
15655 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
15656 * face-remap.el (text-scale-mode, buffer-face-mode):
15657 * iimage.el (iimage-mode):
15658 * image-mode.el (image-transform-mode):
15659 * minibuffer.el (completion-in-region-mode):
15660 * scroll-lock.el (scroll-lock-mode):
15661 * simple.el (next-error-follow-minor-mode):
15662 * tar-mode.el (tar-subfile-mode):
15663 * tooltip.el (tooltip-mode):
15664 * vcursor.el (vcursor-use-vcursor-map):
15665 * wid-browse.el (widget-minor-mode):
15666 * emulation/tpu-edt.el (tpu-edt-mode):
15667 * emulation/tpu-extras.el (tpu-cursor-free-mode):
15668 * international/iso-ascii.el (iso-ascii-mode):
15669 * language/thai-util.el (thai-word-mode):
15670 * mail/supercite.el (sc-minor-mode):
15671 * net/goto-addr.el (goto-address-mode):
15672 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
15673 * progmodes/cwarn.el (cwarn-mode):
15674 * progmodes/flymake.el (flymake-mode):
15675 * progmodes/glasses.el (glasses-mode):
15676 * progmodes/hideshow.el (hs-minor-mode):
15677 * progmodes/pascal.el (pascal-outline-mode):
15678 * textmodes/enriched.el (enriched-mode):
15679 * vc/smerge-mode.el (smerge-mode):
15680 Doc fixes (minor mode argument).
15681
15682 2012-02-07 Eli Zaretskii <eliz@gnu.org>
15683
15684 * ls-lisp.el (ls-lisp-sanitize): New function.
15685 (ls-lisp-insert-directory): Use it to fix or remove any elements
15686 in file-alist with missing attributes. (Bug#4673)
15687
15688 2012-02-07 Alan Mackenzie <acm@muc.de>
15689
15690 Fix spurious recognition of c-in-knr-argdecl.
15691
15692 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
15693 putative K&R region.
15694
15695 2012-02-07 Alan Mackenzie <acm@muc.de>
15696
15697 * progmodes/cc-engine.el (c-forward-objc-directive):
15698 Prevent looping in "#pragma mark @implementation".
15699
15700 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
15701
15702 * notifications.el (notifications-on-closed-signal): Make `reason'
15703 optional. (Bug#10744)
15704
15705 2012-02-07 Glenn Morris <rgm@gnu.org>
15706
15707 * emacs-lisp/easy-mmode.el (define-minor-mode):
15708 Doc fixes for the macro and the mode it defines.
15709
15710 * image.el (imagemagick-types-inhibit): Doc fix.
15711
15712 * cus-start.el (imagemagick-render-type): Add it.
15713
15714 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
15715
15716 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
15717 Set the default at load time, too, so that `font-lock-fontify-buffer'
15718 can be called without setting up the entire mode first. This fixes
15719 a bug in `mm-inline-text' with C MIME parts.
15720
15721 2012-02-06 Chong Yidong <cyd@gnu.org>
15722
15723 * simple.el (list-processes--refresh): Delete exited processes
15724 (Bug#8094).
15725
15726 * comint.el (comint-next-prompt): next-single-char-property-change
15727 and prev-single-char-property-change never return nil (Bug#8657).
15728
15729 * custom.el (defcustom): Doc fix (Bug#9711).
15730
15731 2012-02-05 Chong Yidong <cyd@gnu.org>
15732
15733 * cus-edit.el (custom-variable-reset-backup): Quote the value
15734 before storing it in the customized-value property (Bug#6712).
15735 (custom-display): Add a customization type tag.
15736 (custom-buffer-create-internal): Improve tooltip message.
15737
15738 * wid-edit.el (widget-field-value-get): New optional arg to
15739 suppress trailing whitespace truncation.
15740 (character): Use it (Bug#2689).
15741
15742 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
15743
15744 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
15745 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
15746
15747 2012-02-05 Chong Yidong <cyd@gnu.org>
15748
15749 * cus-edit.el (custom-variable-value-create): For mismatched
15750 types, show the current value (Bug#7600).
15751
15752 * custom.el (defcustom): Doc fix.
15753
15754 2012-02-05 Glenn Morris <rgm@gnu.org>
15755
15756 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
15757
15758 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
15759
15760 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
15761 (pp-buffer): Use `ignore-errors', `looking-at-p'.
15762 (pp-last-sexp): Use `looking-at-p'.
15763
15764 2012-02-04 Glenn Morris <rgm@gnu.org>
15765
15766 * files.el (revert-buffer):
15767 Doc fix (mention revert-buffer-in-progress-p).
15768
15769 * emacs-lisp/ert-x.el (ert-simulate-command):
15770 Check deferred-action-list (which is obsolete) is bound.
15771
15772 * subr.el (with-wrapper-hook): Doc fixes.
15773
15774 * simple.el (filter-buffer-substring-functions)
15775 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
15776
15777 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
15778
15779 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
15780 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
15781
15782 2012-02-04 Leo Liu <sdl.web@gmail.com>
15783
15784 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
15785
15786 2012-02-04 Glenn Morris <rgm@gnu.org>
15787
15788 * image.el (image-extension-data): Add obsolete alias.
15789
15790 * isearch.el (isearch-update): Doc fix.
15791
15792 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
15793
15794 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
15795
15796 2012-02-03 Glenn Morris <rgm@gnu.org>
15797
15798 * image.el (image-animated-p): Doc fix. Use image-animated-types.
15799 (image-animate-timeout): Doc fix.
15800
15801 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
15802
15803 2012-02-02 Glenn Morris <rgm@gnu.org>
15804
15805 * server.el (server-auth-dir): Doc fix.
15806 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
15807
15808 * subr.el (run-mode-hooks): Doc fix.
15809
15810 2012-02-02 Juri Linkov <juri@jurta.org>
15811
15812 * image-mode.el (image-toggle-display-image): Remove tautological
15813 `major-mode' from the `derived-mode-p' test.
15814
15815 2012-02-02 Kenichi Handa <handa@m17n.org>
15816
15817 * composite.el (compose-region): Cancel previous change.
15818
15819 2012-02-02 Kenichi Handa <handa@m17n.org>
15820
15821 * composite.el (compose-region, compose-string): Signal error for
15822 a null string component (Bug#6988).
15823
15824 2012-02-01 Chong Yidong <cyd@gnu.org>
15825
15826 * view.el (view-buffer-other-window, view-buffer-other-frame):
15827 Handle special modes like view-buffer (Bug#10650).
15828 (view-buffer): Simplify.
15829
15830 * frame.el (set-frame-font): Tweak meaning of third argument.
15831
15832 * dynamic-setting.el (font-setting-change-default-font):
15833 Use set-frame-font (Bug#9982).
15834
15835 2012-02-01 Glenn Morris <rgm@gnu.org>
15836
15837 * progmodes/compile.el (compilation-internal-error-properties):
15838 Respect compilation-first-column in the "*compilation*" buffer.
15839
15840 * emacs-lisp/easy-mmode.el (define-minor-mode):
15841 Relax :variable's test for a named function.
15842
15843 2012-01-31 Alan Mackenzie <acm@muc.de>
15844
15845 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
15846 off by one error.
15847
15848 2012-01-31 Chong Yidong <cyd@gnu.org>
15849
15850 * frame.el (set-frame-font): New arg ALL-FRAMES.
15851
15852 * menu-bar.el (menu-set-font): Use set-frame-font.
15853
15854 * faces.el (face-spec-reset-face): Don't apply unspecified
15855 attribute values to the default face.
15856
15857 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
15858
15859 * progmodes/cwarn.el (cwarn): Remove dead link.
15860 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
15861 Remove * from defcustom docstrings.
15862 (turn-on-cwarn-mode): Make obsolete.
15863 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
15864 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
15865
15866 2012-01-31 Glenn Morris <rgm@gnu.org>
15867
15868 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
15869 Fix :variable handling of mode a symbol not equal to modefun.
15870 Allow named functions to be used as the cdr of :variable.
15871
15872 2012-01-30 Glenn Morris <rgm@gnu.org>
15873
15874 * emacs-lisp/authors.el (authors-fixed-entries):
15875 Remove reference to deleted file rnewspost.el.
15876
15877 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
15878
15879 * window.el (window-with-parameter): Remove unused variable `windows'.
15880 (window--side-check): Remove unused variable `code'.
15881 (window--resize-siblings): Remove unused variable `first'.
15882 (adjust-window-trailing-edge): Remove unused variable `failed'.
15883 (window-deletable-p, window--delete): Remove unused variable `buffer'.
15884 Use `let', not `let*'.
15885 (balance-windows-2): Remove unused variable `found'.
15886 (window--state-put-2): Remove unused variable `splits'.
15887 (window-state-put): Remove unused variable `selected'.
15888 (same-window-p): Use `string-match-p'.
15889 (display-buffer-assq-regexp): Remove unused variable `value'.
15890 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
15891 Mark argument ALIST as ignored.
15892 (pop-to-buffer): Remove unused variable `old-window'.
15893
15894 2012-01-29 Eli Zaretskii <eliz@gnu.org>
15895
15896 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
15897 and .lzma compressed files.
15898
15899 2012-01-29 Chong Yidong <cyd@gnu.org>
15900
15901 * frame.el (window-system-default-frame-alist): Doc fix.
15902
15903 * dynamic-setting.el (font-setting-change-default-font): Don't
15904 change the default face if SET-FONT argument is non-nil (Bug#9982).
15905
15906 2012-01-29 Samuel Bronson <naesten@gmail.com>
15907
15908 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
15909
15910 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
15911
15912 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
15913 breakpoints in files outside current directory (Bug#6098).
15914
15915 2012-01-29 Chong Yidong <cyd@gnu.org>
15916
15917 * progmodes/python.el: Require ansi-color at top-level.
15918
15919 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
15920 Define and use in Emacs Lisp mode (Bug#9360).
15921 (lisp-mode-abbrev-table): Add doc.
15922 (lisp-mode-variables): Don't set local-abbrev-table.
15923 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
15924
15925 2012-01-28 Roland Winkler <winkler@gnu.org>
15926
15927 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
15928
15929 2012-01-28 Roland Winkler <winkler@gnu.org>
15930
15931 * textmodes/bibtex.el (bibtex-entry-alist): New function.
15932 (bibtex-set-dialect): Use it. Either set global values of
15933 dialect-dependent variables or bind these variables buffer-locally
15934 (Bug#10254).
15935 (bibtex-mode): Call bibtex-set-dialect via
15936 hack-local-variables-hook.
15937 (bibtex-dialect): Update docstring.
15938 Add safe-local-variable predicate.
15939 (bibtex-entry-alist, bibtex-field-alist): Initialize via
15940 bibtex-set-dialect.
15941 (bibtex-mode-map): Define menu for each dialect.
15942 (bibtex-entry): Fix docstring.
15943
15944 2012-01-28 Chong Yidong <cyd@gnu.org>
15945
15946 * eshell/esh-arg.el (eshell-quote-argument): New function.
15947
15948 * eshell/esh-ext.el (eshell-invoke-batch-file):
15949 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
15950 first arg to eshell-parse-command (Bug#10523).
15951
15952 2012-01-28 Drew Adams <drew.adams@oracle.com>
15953
15954 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
15955 `default-directory' is non-nil.
15956
15957 2012-01-28 Eli Zaretskii <eliz@gnu.org>
15958
15959 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
15960 line that displays system-configuration-options. (Bug#9924)
15961
15962 2012-01-28 Drew Adams <drew.adams@oracle.com>
15963
15964 * descr-text.el (describe-char): Show information about POS, in
15965 addition to information about the character at POS. Improve and
15966 update the doc string. Change "code point" to "code point in
15967 charset", to avoid confusion with the character's Unicode code
15968 point shown above that. (Bug#10129)
15969
15970 2012-01-28 Eli Zaretskii <eliz@gnu.org>
15971
15972 * descr-text.el (describe-char): Show the raw character, not only
15973 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
15974 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
15975 for the reasons.
15976
15977 2012-01-28 Phil Hagelberg <phil@hagelb.org>
15978
15979 * emacs-lisp/package.el (package-install):
15980 Run package-refresh-contents if there is no archive yet (Bug#9798).
15981
15982 2012-01-28 Chong Yidong <cyd@gnu.org>
15983
15984 * emacs-lisp/package.el (package-maybe-load-descriptor):
15985 New function, split from package-maybe-load-descriptor.
15986 (package-maybe-load-descriptor): Use it.
15987 (package-download-transaction): Fully load required packages
15988 inside the loop, so that `require' calls work (Bug#10593).
15989 (package-install): No need to call package-initialize now.
15990
15991 2012-01-28 Chong Yidong <cyd@gnu.org>
15992
15993 * simple.el (deactivate-mark): Doc fix (Bug#8614).
15994
15995 * tooltip.el (tooltip-mode): Doc fix.
15996 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
15997
15998 * frame.el (set-cursor-color): Doc fix (Bug#352).
15999
16000 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
16001 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
16002
16003 * cus-edit.el (custom-buffer-create-internal): Fix search button
16004 action (Bug#10542).
16005 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
16006
16007 2012-01-27 Eduard Wiebe <usenet@pusto.de>
16008
16009 * dired.el (dired-mark-files-regexp):
16010 Include any subdirectory components. (Bug#10445)
16011
16012 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
16013
16014 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
16015 Handle [host]:port syntax. (Bug#10533)
16016
16017 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
16018
16019 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
16020
16021 2012-01-26 Glenn Morris <rgm@gnu.org>
16022
16023 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
16024 * term.el (term-raw-escape-map): Use Control-X-prefix.
16025 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
16026
16027 2012-01-25 Martin Rudalics <rudalics@gmx.at>
16028
16029 * window.el (window-state-get, window--state-get-1): Don't deal
16030 with fixed-sizeness of windows. Simplify code.
16031
16032 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
16033
16034 * window.el (window--state-get-1, window--state-put-2):
16035 Don't save and restore the mark.
16036
16037 2012-01-25 Chong Yidong <cyd@gnu.org>
16038
16039 * custom.el (custom-variable-p): Doc fix.
16040
16041 2012-01-25 Glenn Morris <rgm@gnu.org>
16042
16043 * dired.el (dired-goto-file): Handle some of the more common
16044 characters that `ls -b' escapes. (Bug#10596)
16045
16046 * progmodes/compile.el (compilation-next-error-function):
16047 Respect compilation-first-column in the "*compilation*" buffer.
16048 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
16049
16050 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
16051
16052 2012-01-24 Glenn Morris <rgm@gnu.org>
16053
16054 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
16055
16056 2012-01-24 Julien Danjou <julien@danjou.info>
16057
16058 * color.el (color-rgb-to-hsl): Fix value computing.
16059 (color-hue-to-rgb): New function.
16060 (color-hsl-to-rgb): New function.
16061 (color-clamp, color-saturate-hsl, color-saturate-name)
16062 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
16063 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
16064
16065 2012-01-24 Glenn Morris <rgm@gnu.org>
16066
16067 * vc/vc-rcs.el (vc-rcs-create-tag):
16068 * vc/vc-sccs.el (vc-sccs-create-tag):
16069 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
16070
16071 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
16072
16073 * eshell/esh-util.el (eshell-read-hosts-file):
16074 Skip comment lines. (Bug#10549)
16075
16076 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
16077
16078 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
16079
16080 * subr.el (display-delayed-warnings): Doc fix.
16081 (collapse-delayed-warnings): New function to collapse identical
16082 adjacent warnings.
16083 (delayed-warnings-hook): Add it.
16084
16085 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
16086
16087 * net/tramp.el (tramp-action-login): Set connection property "login-as".
16088
16089 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
16090 (tramp-default-user-alist): Don't add "pscp".
16091 (tramp-do-copy-or-rename-file-out-of-band): Use connection
16092 property "login-as", if set. (Bug#10530)
16093
16094 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
16095
16096 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
16097 "plink1" and "psftp". (Bug#10530)
16098
16099 2012-01-21 Kenichi Handa <handa@m17n.org>
16100
16101 * international/mule-cmds.el (prefer-coding-system): Show a
16102 warning message if the default value of file-name-coding-system
16103 was not changed.
16104
16105 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
16106
16107 * windmove.el (windmove-reference-loc):
16108 Fix windmove-reference-loc miscalculation.
16109
16110 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
16111
16112 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
16113 default unit.
16114
16115 2012-01-21 Glenn Morris <rgm@gnu.org>
16116
16117 * international/mule.el (auto-coding-alist): Add .tbz.
16118
16119 * files.el (local-enable-local-variables): Doc fix.
16120 (inhibit-local-variables-regexps): Rename from
16121 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
16122 Doc fix. Add some extensions from auto-coding-alist.
16123 (inhibit-local-variables-suffixes):
16124 Rename from inhibit-first-line-modes-suffixes. Doc fix.
16125 (inhibit-local-variables-p):
16126 New function, extracted from set-auto-mode-1.
16127 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
16128 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
16129 (hack-local-variables): Doc fix. Make the mode-only case
16130 respect enable-local-variables and friends.
16131 Respect inhibit-local-variables-regexps for file-locals, but
16132 not for directory-locals.
16133 (set-visited-file-name):
16134 Take account of inhibit-local-variables-regexps.
16135 Whether it applies may change as the file name is changed.
16136 * jka-cmpr-hook.el (jka-compr-install):
16137 * jka-compr.el (jka-compr-uninstall):
16138 Update for inhibit-first-line-modes-suffixes name change.
16139
16140 2012-01-20 Martin Rudalics <rudalics@gmx.at>
16141
16142 * help-macro.el (make-help-screen): Temporarily restore original
16143 binding for minor-mode-map-alist (Bug#10454).
16144
16145 2012-01-19 Julien Danjou <julien@danjou.info>
16146
16147 * color.el (color-name-to-rgb): Use the white color to find the max
16148 color component value and return correctly computed values.
16149 (color-name-to-rgb): Add missing float conversion for max value.
16150
16151 2012-01-19 Martin Rudalics <rudalics@gmx.at>
16152
16153 * window.el (window--state-get-1, window-state-get): Do not use
16154 special state value for window-persistent-parameters.
16155 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
16156 (window--state-put-2): Reset all window parameters to nil before
16157 assigning values of persistent parameters.
16158
16159 2012-01-18 Alan Mackenzie <acm@muc.de>
16160
16161 Eliminate sluggishness and hangs in fontification of "semicolon
16162 deserts".
16163
16164 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
16165 Change value 10000 -> 3000.
16166 (c-state-safe-place): Reformulate so it doesn't stack up an
16167 infinite number of wrong entries in c-state-nonlit-pos-cache.
16168 (c-determine-limit-get-base, c-determine-limit): New functions to
16169 determine backward search limits disregarding literals.
16170 (c-find-decl-spots): Amend commenting.
16171 (c-cheap-inside-bracelist-p): New function which detects "={".
16172
16173 * progmodes/cc-fonts.el
16174 (c-make-font-lock-BO-decl-search-function): Give a limit to a
16175 backward search.
16176 (c-font-lock-declarations): Fix an occurrence of point being
16177 undefined. Check additionally for point being in a bracelist or
16178 near a macro invocation without a semicolon so as to avoid a
16179 fruitless time consuming search for a declarator. Give a more
16180 precise search limit for declarators using the new
16181 c-determine-limit.
16182
16183 2012-01-18 Glenn Morris <rgm@gnu.org>
16184
16185 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
16186 (set-auto-mode): Doc fixes.
16187
16188 2012-01-17 Glenn Morris <rgm@gnu.org>
16189
16190 * isearch.el (search-nonincremental-instead): Fix doc typo.
16191
16192 * dired.el (dired-insert-directory): Handle newlines in directory name.
16193 (dired-build-subdir-alist): Unescape newlines in directory name.
16194
16195 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
16196
16197 * net/tramp.el (tramp-local-end-of-line): New defcustom.
16198 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
16199 (tramp-action-terminal): Use it. (Bug#10530)
16200
16201 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
16202
16203 * minibuffer.el (completion--replace): Strip properties (bug#10062).
16204
16205 2012-01-16 Martin Rudalics <rudalics@gmx.at>
16206
16207 * window.el (window-state-ignored-parameters): Remove variable.
16208 (window--state-get-1): Rename argument MARKERS to IGNORE.
16209 Handle persistent window parameters. Make copy of clone-of
16210 parameter only if requested. (Bug#10348)
16211 (window--state-put-2): Install a window parameter only if it has
16212 a non-nil value or an existing parameter shall be overwritten.
16213
16214 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
16215
16216 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
16217
16218 2012-01-14 Eli Zaretskii <eliz@gnu.org>
16219
16220 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
16221 don't pass the (nil) value of `upnode' to string-match.
16222
16223 2012-01-14 Chong Yidong <cyd@gnu.org>
16224
16225 * startup.el (command-line): Fix X resource class for cursorColor.
16226 Fix values recognized by the cursorBlink resource.
16227
16228 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
16229
16230 * epg.el (epg--make-temp-file): Avoid permission race condition
16231 when running on old Emacs versions (bug#10403).
16232
16233 2012-01-14 Glenn Morris <rgm@gnu.org>
16234
16235 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
16236
16237 2012-01-13 Alan Mackenzie <acm@muc.de>
16238
16239 Fix filling for when filladapt mode is enabled.
16240
16241 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
16242 c-mask-paragraph, pass in `fill-paragraph' rather than
16243 `fill-region-as-paragraph'. (This is a reversion of a previous
16244 change.)
16245 * progmodes/cc-mode.el (c-basic-common-init):
16246 Make fill-paragraph-handle-comment buffer local and set it to nil.
16247
16248 2012-01-13 Glenn Morris <rgm@gnu.org>
16249
16250 * dired.el (dired-switches-escape-p): New function.
16251 (dired-insert-directory): Use dired-switches-escape-p.
16252 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
16253
16254 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
16255
16256 2012-01-12 Glenn Morris <rgm@gnu.org>
16257
16258 * mail/sendmail.el (mail-mode): Update paragraph-separate for
16259 changes in adaptive-fill-regexp. (Bug#10276)
16260
16261 2012-01-11 Alan Mackenzie <acm@muc.de>
16262
16263 Fix Emacs bug #10463 - put `widen's around the critical spots.
16264
16265 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
16266 widen around each invocation of c-state-pp-to-literal. Remove an
16267 unused let variable.
16268
16269 2012-01-11 Glenn Morris <rgm@gnu.org>
16270
16271 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
16272 Doc fix.
16273
16274 2012-01-10 Chong Yidong <cyd@gnu.org>
16275
16276 * net/network-stream.el (network-stream-open-starttls):
16277 Avoid emitting a confusing error message when the server gives a bad
16278 response to the capability command.
16279
16280 2012-01-10 Glenn Morris <rgm@gnu.org>
16281
16282 * mail/unrmail.el (unrmail): Tweak previous change.
16283
16284 2012-01-09 Chong Yidong <cyd@gnu.org>
16285
16286 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
16287
16288 2012-01-08 Alan Mackenzie <acm@muc.de>
16289
16290 Optimize font locking in long enum definitions.
16291
16292 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
16293 arm to a cond form to handle enums.
16294 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
16295 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
16296
16297 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
16298
16299 * files.el (move-file-to-trash): Preserve default file modes on error.
16300 (Bug#10401)
16301
16302 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
16303
16304 * faces.el (set-face-attribute): Clarify the meaning of the nil
16305 frame (bug#10294).
16306
16307 * subr.el (with-selected-frame): Mention that the selected frame
16308 is restored (bug#9980).
16309
16310 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
16311 (bug#9759).
16312
16313 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
16314 (password-read): Don't autoload unused function.
16315
16316 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
16317
16318 * progmodes/which-func.el (which-func-mode): Turn into a
16319 non-interactive function and mark as obsolete (bug#10428).
16320
16321 2012-01-06 Chong Yidong <cyd@gnu.org>
16322
16323 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
16324 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
16325 functions, along with 1 and -1.
16326
16327 2012-01-06 Eli Zaretskii <eliz@gnu.org>
16328
16329 * time.el (display-time-load-average)
16330 (display-time-default-load-average): Doc fixes. See the thread
16331 starting at
16332 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
16333 for the details.
16334
16335 2012-01-06 Glenn Morris <rgm@gnu.org>
16336
16337 * mail/unrmail.el (unrmail): Give an explicit error if the input file
16338 has no messages. (Bug#10377)
16339
16340 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
16341 than Info-edit. (Bug#10385)
16342
16343 * time.el (display-time-load-average, display-time-next-load-average):
16344 Doc fixes.
16345
16346 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
16347 local setting of buffer-read-only to the input buffer. (Bug#10419)
16348
16349 * calendar/calendar.el (calendar-mode):
16350 Locally set scroll-margin to 0. (Bug#10379)
16351
16352 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
16353
16354 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
16355
16356 2012-01-05 Glenn Morris <rgm@gnu.org>
16357
16358 * eshell/em-unix.el (diff-no-select): Autoload it.
16359 (eshell/diff): Use diff-no-select. (Bug#10420)
16360
16361 2012-01-05 Chong Yidong <cyd@gnu.org>
16362
16363 * shell.el (shell-dynamic-complete-functions): Revert last change.
16364 (shell-command-completion-function): New function.
16365 (shell-completion-vars): Use it to implement
16366 shell-completion-execonly (Bug#10417).
16367
16368 * custom.el (enable-theme): Don't set custom-safe-themes.
16369
16370 * cus-theme.el (custom-theme-merge-theme):
16371 Ignore custom-enabled-themes and custom-safe-themes.
16372
16373 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
16374
16375 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
16376 first prompt in `sql-interacive-mode'.
16377 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
16378 keywords.
16379 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
16380 (sql-product-interactive): Bug fix: Set `sql-buffer' in
16381 context of original buffer. Invoke `sql-login-hook'.
16382
16383 2012-01-04 Eli Zaretskii <eliz@gnu.org>
16384
16385 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
16386 letters in cite-prefix.
16387
16388 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16389
16390 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
16391
16392 2012-01-03 Chong Yidong <cyd@gnu.org>
16393
16394 * shell.el (shell-dynamic-complete-functions):
16395 Put pcomplete-completions-at-point, so as to try
16396 comint-filename-completion first (Bug#10417).
16397
16398 2012-01-02 Richard Stallman <rms@gnu.org>
16399
16400 * battery.el (battery-status-function):
16401 Detect when to use battery-yeeloong-sysfs.
16402 (battery-echo-area-format): Add string for Yeeloong.
16403 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
16404 (battery-yeeloong-sysfs): New function.
16405
16406 2012-01-02 Chong Yidong <cyd@gnu.org>
16407
16408 * dirtrack.el (dirtrack-list): Eliminate unused third element.
16409 (dirtrack): Merge code for handling relative filenames in prompt
16410 from shell-dir-cookie-watcher.
16411 (dirtrack-debug-message): New arg to avoid excess format calls.
16412
16413 * shell.el (shell-dir-cookie-re): Variable deleted.
16414 (shell-dir-cookie-watcher): Function deleted.
16415 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
16416 with dirtrack-mode.
16417
16418 2012-01-01 Eli Zaretskii <eliz@gnu.org>
16419
16420 * term/w32-win.el (dynamic-library-alist) <gnutls>:
16421 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
16422 libgnutls-26.dll.
16423
16424 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
16425
16426 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
16427
16428 2011-12-31 Eli Zaretskii <eliz@gnu.org>
16429
16430 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
16431 headers of non-MIME messages, when rmail-enable-mime is non-nil.
16432
16433 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
16434
16435 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
16436 also for alternative shells.
16437 (tramp-open-connection-setup-interactive-shell): Check, whether
16438 the shell is a busybox.
16439 (tramp-send-command): Don't suppress multiple prompts for
16440 busyboxes, it hurts.
16441
16442 2011-12-28 Chong Yidong <cyd@gnu.org>
16443
16444 * progmodes/gdb-mi.el (gdb-get-source-file-list)
16445 (gdb-get-source-file): Move mode line update to
16446 gdb-get-source-file (Bug#10087).
16447
16448 2011-12-25 Chong Yidong <cyd@gnu.org>
16449
16450 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
16451 gud-gdb-marker-filter without taking it as an argument.
16452 (gud-gdb-run-command-fetch-lines): Caller changed.
16453 (gud-gdb-completion-function): New variable.
16454 (gud-gdb-completion-at-point): Use it.
16455 (gud-gdb-completions-1): Split from gud-gdb-completions.
16456
16457 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
16458 function as separate arguments.
16459 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
16460 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
16461 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
16462 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
16463 (gdb-stopped, def-gdb-auto-update-trigger)
16464 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
16465 (gdb-get-changed-registers, gdb-get-main-selected-frame):
16466 Callers changed.
16467 (gud-gdbmi-completions): New function.
16468 (gdb): Use it for generating the completion table.
16469
16470 2011-12-24 Alan Mackenzie <acm@muc.de>
16471
16472 Introduce a mechanism to widen the region used in context font
16473 locking. Use this to protect declarations from losing their contexts.
16474
16475 * progmodes/cc-langs.el (c-before-font-lock-functions):
16476 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
16477 (c-before-context-fontification-functions): New defvar, a list of
16478 functions to be run just before context (etc.) font locking.
16479
16480 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
16481 New, functionality extracted from
16482 c-neutralize-syntax-in-and-mark-CPP.
16483 (c-in-after-change-fontification): New variable.
16484 (c-after-change): Set c-in-after-change-fontification.
16485 (c-set-fl-decl-start): Rejig its interface, so it can be called
16486 from both after-change and context fontifying.
16487 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
16488 New functions.
16489 (c-standard-font-lock-fontify-region-function): New variable.
16490 (c-font-lock-fontify-region): New function.
16491
16492 2011-12-24 Juri Linkov <juri@jurta.org>
16493
16494 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
16495 (Bug#10348)
16496
16497 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
16498
16499 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
16500 existence of source file. (Bug#10325)
16501
16502 2011-12-23 Alan Mackenzie <acm@muc.de>
16503
16504 Fix unstable fontification inside templates.
16505
16506 * progmodes/cc-langs.el (c-before-font-lock-functions):
16507 Newly created from the singular version. The (c c++ objc) entry now
16508 additionally has c-set-fl-decl-start. The other languages (apart
16509 from AWK) have that as a single entry.
16510
16511 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
16512 The functionality for "local" declarations has been extracted to
16513 c-set-fl-decl-start.
16514
16515 * progmodes/cc-mode.el (c-common-init, c-after-change):
16516 Changes due to pluralisation of c-before-font-lock-functions.
16517 (c-set-fl-decl-start): New function, extracted from
16518 c-font-lock-enclosing-decls and enhanced.
16519
16520 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
16521
16522 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
16523
16524 2011-12-22 Juri Linkov <juri@jurta.org>
16525
16526 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
16527
16528 2011-12-22 Chong Yidong <cyd@gnu.org>
16529
16530 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
16531
16532 2011-12-21 Drew Adams <drew.adams@oracle.com>
16533
16534 * files.el (file-remote-p): Fix docstring. (Bug#10319)
16535
16536 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
16537
16538 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
16539
16540 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
16541
16542 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
16543 highlighting and support. Fix up comments for capitalization.
16544 (cfengine-mode-debug): New var.
16545 (cfengine3-mode): Change the modeline indicator to "CFE3".
16546 (cfengine3-font-lock-keywords): Improve defun highlighting.
16547 (cfengine2-actions): Rename from `cfengine-actions'.
16548 (cfengine2-font-lock-keywords): Rename from
16549 `cfengine-font-lock-keywords'.
16550 (cfengine2-imenu-expression): Rename from
16551 `cfengine-imenu-expression'.
16552 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
16553 (cfengine2-beginning-of-defun): Rename from
16554 `cfengine-beginning-of-defun'.
16555 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
16556 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
16557 (cfengine2-mode): Rename from `cfengine-mode'. Change the
16558 modeline indicator to "CFE2".
16559 (cfengine-mode): Defalias to `cfengine-auto-mode'.
16560 (cfengine-mode-abbrevs): Mark obsolete.
16561
16562 2011-12-21 Chong Yidong <cyd@gnu.org>
16563
16564 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
16565 filename argument.
16566
16567 2011-12-20 Martin Rudalics <rudalics@gmx.at>
16568
16569 * window.el (window-normalize-buffer-to-display): Remove.
16570 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
16571
16572 2011-12-19 Chong Yidong <cyd@gnu.org>
16573
16574 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
16575 Don't signal an error in a predicate function; return non-nil.
16576 (vc-dir-mark-file): Move the error here.
16577 (vc-dir-mark-unmark): If acting on the region, keep going if one
16578 of the entries cannot be marked/unmarked.
16579 (vc-dir-mark-all-files): If current entry is a directory, mark
16580 only child files, as documented.
16581
16582 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
16583
16584 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
16585 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
16586 addition.
16587
16588 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
16589
16590 * term/ns-win.el (ns-get-selection-internal)
16591 (ns-store-selection-internal): Declare.
16592 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
16593 Declare as obsolete.
16594 (ns-get-pasteboard, ns-paste-secondary):
16595 Use ns-get-selection-internal.
16596 (ns-set-pasteboard, ns-copy-including-secondary):
16597 Use ns-store-selection-internal.
16598
16599 2011-12-17 Chong Yidong <cyd@gnu.org>
16600
16601 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
16602 (vc-deduce-fileset): Doc fix.
16603
16604 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
16605
16606 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
16607
16608 2011-12-13 Sam Steingold <sds@gnu.org>
16609
16610 * man.el (Man-getpage-in-background): When running under a
16611 window-system, ignore $MANWIDTH and $COLUMNS.
16612
16613 2011-12-15 Kenichi Handa <handa@m17n.org>
16614
16615 * language/ethio-util.el: Change coding tag to utf-8-emacs.
16616 (setup-ethiopic-environment-internal): Comment out key-binding for
16617 ethio-toggle-punctuation.
16618
16619 2011-12-13 Alan Mackenzie <acm@muc.de>
16620
16621 Add the switch statement to AWK Mode.
16622
16623 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
16624 "default" to the keywords regexp.
16625
16626 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
16627 expression as the rest.
16628 (c-nonlabel-token-key): Allow string literals for AWK.
16629 Refactor for the other modes.
16630
16631 Large brace-block initialisation makes CC Mode slow: Fix.
16632 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
16633 routines. Limit backward searching in c-font-lock-enclosing.decl.
16634
16635 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
16636 pp-state and literal type in addition to the limits.
16637 (c-state-safe-place): New defun, extracted from c-state-literal-at.
16638 (c-state-literal-at): Use the above new defun.
16639 (c-slow-in-literal, c-fast-in-literal): Remove.
16640 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
16641
16642 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
16643 being in a literal. Add a limit for backward searching.
16644
16645 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
16646 c-slow-in-literal.
16647
16648 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
16649
16650 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
16651
16652 2011-12-13 Martin Rudalics <rudalics@gmx.at>
16653
16654 * window.el (delete-other-windows): Use correct frame in call to
16655 window-with-parameter.
16656
16657 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
16658
16659 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
16660 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
16661 (makefile-gmake-statements, makefile-makepp-statements):
16662 Use it and add new makepp keywords.
16663 (makefile-makepp-font-lock-keywords): Add new patterns.
16664 (makefile-match-function-end): Match new [...] and [[...]].
16665
16666 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
16667
16668 * ses.el (ses-call-printer-return, ses-cell-property-get)
16669 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
16670 (ses-create-cell-variable, ses-reset-header-string)
16671 (ses-cell-set-formula, ses-repair-cell-reference-all)
16672 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
16673 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
16674 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
16675 (ses-aset-with-undo, ses-load, ses-truncate-cell)
16676 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
16677 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
16678 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
16679 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
16680 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
16681 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
16682 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
16683 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
16684
16685 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
16686
16687 * ses.el: The overall change is to add cell renaming, that is
16688 setting fancy names for cell symbols other than name matching
16689 "\\`[A-Z]+[0-9]+\\'" regexp .
16690 (ses-create-cell-variable): New defun.
16691 (ses-relocate-formula): Relocate formulas only for cells the
16692 symbols of which are not renamed, i.e. symbols whose names do not
16693 match regexp "\\`[A-Z]+[0-9]+\\'".
16694 (ses-relocate-all): Relocate values only for cells the symbols of
16695 which are not renamed.
16696 (ses-load): Create cells variables as the (ses-cell ...) are read,
16697 in order to check row col consistency with cell symbol name only
16698 for cells that are not renamed.
16699 (ses-replace-name-in-formula): New defun.
16700 (ses-rename-cell): New defun.
16701
16702 2011-12-11 Chong Yidong <cyd@gnu.org>
16703
16704 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
16705 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
16706
16707 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
16708
16709 * window.el (other-window): Fix docstring.
16710
16711 2011-12-10 Eli Zaretskii <eliz@gnu.org>
16712
16713 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
16714 `from' or `to' address before taking its substring.
16715 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
16716 encoded name is chopped in the middle of the encoded string, and
16717 thus displayed encoded.
16718
16719 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
16720
16721 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
16722
16723 2011-12-10 Eli Zaretskii <eliz@gnu.org>
16724
16725 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
16726 to use texinfo-update-node and commands that call it if the
16727 Texinfo file uses @node lines without next/prev/up pointers.
16728 Correct outdated description about texinfo-master-menu.
16729 (texinfo-all-menus-update, texinfo-master-menu)
16730 (texinfo-update-node, texinfo-every-node-update)
16731 (texinfo-multiple-files-update): Doc fix. Warn against updating
16732 all the @node lines.
16733 (texinfo-master-menu): Only call texinfo-update-node if the prefix
16734 argument is numeric. Explain better in the doc string what the
16735 function really does.
16736 (texinfo-insert-master-menu-list): Improve the error message
16737 displayed if there's no menu in the Top node.
16738 (Bug#2975) See also this thread:
16739 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
16740
16741 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
16742
16743 * speedbar.el (speedbar-supported-extension-expressions):
16744 Add .adb and .ads, commonly used for Ada source code (bug#10256).
16745
16746 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
16747
16748 * printing.el (pr-mode-alist):
16749 * simple.el (filter-buffer-substring-functions)
16750 (completion-list-insert-choice-function):
16751 * window.el (window-with-parameter, window-atom-root)
16752 (window-sides-slots, window-size-fixed, window-min-delta)
16753 (window-max-delta, window--resize-mini-window)
16754 (window--resize-child-windows-normal, window-tree)
16755 (delete-other-windows, quit-window, split-window)
16756 (display-buffer-record-window, special-display-buffer-names)
16757 (special-display-regexps, special-display-popup-frame)
16758 (same-window-p, split-window-sensibly)
16759 (display-buffer-overriding-action, display-buffer-alist)
16760 (display-buffer-base-action, display-buffer, switch-to-buffer)
16761 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
16762 (fit-window-to-buffer, recenter-positions)
16763 (mouse-autoselect-window-state, mouse-autoselect-window-select):
16764 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
16765 and remove unneeded backslashes in docstrings.
16766
16767 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
16768
16769 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
16770
16771 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
16772 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
16773 end in ".mk".
16774 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
16775 when reading the makefile (bug#10116).
16776
16777 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
16778
16779 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
16780 (bug#10116).
16781
16782 2011-12-06 Glenn Morris <rgm@gnu.org>
16783
16784 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
16785
16786 2011-12-06 Chong Yidong <cyd@gnu.org>
16787
16788 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
16789
16790 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
16791
16792 * textmodes/table.el (table-shorten-cell): Fix typo.
16793
16794 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
16795
16796 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
16797
16798 2011-12-05 Eli Zaretskii <eliz@gnu.org>
16799
16800 * descr-text.el (describe-char): Fix display of strong
16801 right-to-left characters and directional embeddings and overrides.
16802
16803 * simple.el (what-cursor-position): Fix display of codepoints of
16804 strong right-to-left characters.
16805
16806 2011-12-05 Chong Yidong <cyd@gnu.org>
16807
16808 * faces.el (read-color): Doc fix.
16809
16810 2011-12-05 Glenn Morris <rgm@gnu.org>
16811
16812 * align.el (align--set-marker): Add doc-string.
16813 Don't try to move something that is not a marker. (Bug#10216)
16814
16815 2011-12-04 Glenn Morris <rgm@gnu.org>
16816
16817 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
16818 overly zealous deletion of trailing whitespace.
16819
16820 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
16821
16822 * server.el (server-delete-client): On Windows, do not try to delete
16823 the only terminal.
16824 (server-process-filter): On Windows, treat requests for a tty frame as
16825 if they were for a GUI frame if the running server is in GUI mode.
16826
16827 2011-12-03 Glenn Morris <rgm@gnu.org>
16828
16829 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
16830
16831 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
16832
16833 * electric.el: Streamline electric-indent's hook.
16834 (electric-indent-chars): Revert to simple list.
16835 (electric-indent-functions): New var.
16836 (electric-indent-post-self-insert-function): Use it.
16837
16838 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
16839 there's no inferior buffer (bug#10196).
16840 (prolog-consult-compile): Don't use toggle-read-only.
16841
16842 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
16843
16844 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
16845 interrupt. (Bug#10187)
16846
16847 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
16848
16849 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
16850 (bug#9160).
16851
16852 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
16853 (bug#10191).
16854
16855 2011-12-02 Juri Linkov <juri@jurta.org>
16856
16857 * info.el (Info-search): Display "end of manual" when Isearch
16858 reaches the end of single-file Info manual. (Bug#9918)
16859
16860 2011-12-02 Eli Zaretskii <eliz@gnu.org>
16861
16862 * isearch.el (isearch-message-prefix): Run the input method part
16863 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
16864
16865 2011-12-02 Juri Linkov <juri@jurta.org>
16866
16867 * isearch.el (isearch-occur): Use `word-search-regexp' for
16868 `isearch-word'.
16869 (isearch-search-and-update): Add condition for `isearch-word' and
16870 call `word-search-regexp'. (Bug#10145)
16871
16872 2011-12-01 Glenn Morris <rgm@gnu.org>
16873
16874 * eshell/em-hist.el (eshell-hist-initialize):
16875 Handle eshell-history-size nil and HISTSIZE set or unset.
16876 (eshell-history-file-name, eshell-history-size): Fix custom type.
16877
16878 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
16879
16880 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
16881
16882 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
16883
16884 * progmodes/verilog-mode.el (verilog-pretty-expr):
16885 Rework verilog-pretty-expr to handle new assignment operators in system
16886 verilog, such as += *= and the like.
16887 (verilog-assignment-operator-re): Regular expression to find the
16888 assigment operator in a verilog assignment.
16889 (verilog-assignment-operation-re): Regular expression to find an
16890 assignment statement for pretty-expr.
16891 (verilog-in-attribute-p): Query returns true if point is in an
16892 attribute context; used to skip these for expression line up from
16893 pretty-expr.
16894 (verilog-in-parameter-p): Query returns true if point is in an
16895 parameter definition context; used to skip these for expression
16896 line up from pretty-expr.
16897 (verilog-in-parenthesis-p): Query returns true if point is in a
16898 parenthetical expression, specifically ( ) but not [ ] or { };
16899 used by pretty-expr.
16900 (verilog-just-one-space): If there is no space, don't add one.
16901 (verilog-get-lineup-indent-2): Specifically skip just attribute
16902 contexts for expression lineup, rather than skipping all
16903 parenthetical expressions.
16904 (verilog-calculate-indent): Fix comment, and fix indent.
16905 (verilog-do-indent): Indent declarations in lists (suggested by
16906 Joachim Lechner).
16907 (verilog-mode-abbrev-table): Populate abbrev mode with the various
16908 skeleton items.
16909 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
16910 by Alain Mellan).
16911
16912 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
16913
16914 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
16915 parameters with embedded comments. Reported by Ray Stevens.
16916 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
16917 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
16918 Reported by Tim Holt.
16919 (verilog-auto): Fix AUTOing a upper module then AUTOing module
16920 instantiated by upper module causing wrong expansion until AUTOed a
16921 second time. Reported by K C Buckenmaier.
16922 (verilog-diff-auto): Fix showing .* as a difference when
16923 `verilog-auto-star-save' off. Reported by Dan Dever.
16924 (verilog-auto-reset, verilog-read-always-signals)
16925 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
16926 temporary signals in reset list if
16927 verilog-auto-reset-blocking-in-non is nil, and match assignment
16928 style to each signal's assignment type, bug381.
16929 Reported by Thomas Esposito.
16930 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
16931 (verilog-uvm-statement-re): Support UVM indentation and
16932 highlighting, with old OVM keywords only.
16933 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
16934 Support AUTOTIEOFF creating non-wire data types.
16935 Suggested by Jonathan Greenlaw.
16936 (verilog-auto-insert-lisp, verilog-delete-to-paren)
16937 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
16938 (verilog-inject-sense, verilog-read-inst-pins)
16939 (verilog-read-sub-decls, verilog-read-sub-decls-line):
16940 Fix mismatching parenthesis inside commented out code when deleting
16941 AUTOINST, bug383. Reported by Jonathan Greenlaw.
16942 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
16943 non-numeric vector width. Reported by Alex Reed.
16944 (verilog-auto-ascii-enum): Add "onehot" option to work around not
16945 detecting signals with parameter widths. Reported by Alex Reed.
16946 (verilog-auto-delete-trailing-whitespace):
16947 With `verilog-auto-delete-trailing-whitespace' remove trailing
16948 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
16949 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
16950 Fix verilog-scan-cache corruption when running user AUTO expansion
16951 hooks that call indentation routines.
16952 (verilog-simplify-range-expression): Fix typo ignoring lower case
16953 identifiers.
16954 (verilog-delete-auto): Fix delete-autos to also remove user created
16955 automatics, as long as they start with AUTO.
16956 (verilog-batch-diff-auto, verilog-diff-auto)
16957 (verilog-diff-function): Add `verilog-diff-auto' and bind to
16958 "C-c?" to report differences in AUTO expansion, ignoring spaces.
16959 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
16960 (verilog-in-paren-quick, verilog-re-search-backward-quick)
16961 (verilog-re-search-forward-quick, verilog-syntax-ppss):
16962 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
16963 is disabled and its cache will get corrupt, causing AUTOS not to
16964 expand. Instead use only -quick functions.
16965 (verilog-scan-region): Fix scanning over escaped quotes.
16966 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
16967 (verilog-re-search-backward-quick)
16968 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
16969 related functions now ignore strings, to fix misparsing of strings
16970 with magic comments embedded in them.
16971 (verilog-read-auto-template):
16972 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
16973 Reported by Brad Dobbie.
16974 (verilog-read-auto-template):
16975 Fix 'verilog-auto-inst-template-numbers' with comments.
16976 Reported by Brad Dobbie.
16977 (verilog-auto-inst, verilog-auto-inst-param)
16978 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
16979 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
16980 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
16981 debugging templates without merge conflicts, bug357.
16982 Reported by Brad Dobbie.
16983 (verilog-read-auto-template):
16984 Fix verilog-auto-inst-template-numbers with multiple templates.
16985 Reported by Brad Dobbie.
16986 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
16987 abbrevs so user won't be asked to save.
16988 (verilog-read-auto-lisp-present): Fix to start at beginning of
16989 buffer in case called outside of verilog-auto.
16990 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
16991 to "X-2". Reported by Matthew Myers.
16992 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
16993 all inputs from module templates. Reported by Leith Johnson.
16994 (verilog-module-inside-filename-p): Fix locating programs as with
16995 modules.
16996 (verilog-auto-inst-port): Fix vl-width expressions when using
16997 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
16998 (verilog-decls-get-regs, verilog-decls-get-signals,
16999 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
17000 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
17001 verilog-read-decls): Combine reg and wire structures into one var
17002 structure to represent SystemVerilog concepts.
17003 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
17004 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
17005 (verilog-auto-wire-type, verilog-insert-definition):
17006 Add verilog-auto-wire-type and AUTOLOGIC to support using
17007 SystemVerilog "logic" keyword instead of "wire"/"reg".
17008 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
17009 to declares outputs that also have assignments (presumably in an
17010 ifdef or generate if so there's not a driver conflict).
17011 Reported by Matthew Myers.
17012 (verilog-auto-declare-nettype, verilog-insert-definition):
17013 Add verilog-auto-declare-nettype to fix declarations using
17014 `default_nettype none. Reported by Julian Gorfajn.
17015 (verilog-read-always-signals-recurse, verilog-read-decls)
17016 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
17017 malformed end statement, bug325. Reported by Joshua Wise and
17018 Andrew Drake.
17019 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
17020 (verilog-inst-comment-re): Fix not deleting Interfaced comment
17021 when expanding .* in interfaces, bug320.
17022 Reported by Pierre-David Pfister.
17023 (verilog-read-module-name): Fix import statements between module
17024 name and open parenthesis, bug317.
17025 Reported by Pierre-David Pfister.
17026 (verilog-simplify-range-expression): Fix simplification of
17027 multiplications inside AUTOWIRE connections, bug303.
17028 (verilog-auto-inst-port): Support parameter expansion in
17029 multidimensional arrays.
17030 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
17031 after "assert property". Reported by Julian Gorfajn.
17032 (verilog-simplify-range-expression): Fix "couldn't merge" errors
17033 with multiplication, bug303.
17034 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
17035 Reported by Jan Frode Lonnum.
17036
17037 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
17038
17039 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
17040 (hfy-shell-file-name, hfy-shell):
17041 * international/fontset.el (x-decompose-font-name): Fix typos.
17042
17043 2011-11-29 Ken Brown <kbrown@cornell.edu>
17044
17045 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
17046 (gdb-version): Remove defvar.
17047 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
17048 (gdb-gud-context-command, gdb-non-stop-handler)
17049 (gdb-current-context-command, gdb-stopped): Use it.
17050 (gdb-init-1): Enable pretty printing here.
17051 (gdb-non-stop-handler): Don't enable pretty-printing here.
17052 Check to see if the target supports non-stop mode; if not, turn off
17053 non-stop mode. Use the following.
17054 (gdb-check-target-async): New defun.
17055 (gud-watch, gdb-stopped): Fix whitespace.
17056 (gdb-get-source-file): Don't try to display the source file if
17057 `gdb-main-file' is nil.
17058
17059 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
17060
17061 * align.el: Try to generate fewer markers (bug#10047).
17062 (align--set-marker): New macro.
17063 (align-region): Use it.
17064
17065 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
17066
17067 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
17068
17069 2011-11-29 Chong Yidong <cyd@gnu.org>
17070
17071 * indent.el (indent-for-tab-command, indent-according-to-mode):
17072 Doc fix.
17073 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
17074
17075 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
17076
17077 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
17078 aware of remote file names. (Bug#10124)
17079
17080 2011-11-29 Chong Yidong <cyd@gnu.org>
17081
17082 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
17083
17084 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
17085
17086 * files.el (find-file): Don't use force-same-window (bug#10144).
17087 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
17088 use pop-to-buffer if the selected window can't be used.
17089 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
17090
17091 2011-11-28 Eli Zaretskii <eliz@gnu.org>
17092
17093 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
17094 special-mode-map.
17095
17096 2011-11-28 Chong Yidong <cyd@gnu.org>
17097
17098 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
17099
17100 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
17101
17102 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
17103 gdb-get-source-file-list on gdb-create-source-file-list.
17104
17105 2011-11-26 Eli Zaretskii <eliz@gnu.org>
17106
17107 * whitespace.el (whitespace-newline): Use a different foreground
17108 color for 16-color light-background displays.
17109
17110 2011-11-24 Chong Yidong <cyd@gnu.org>
17111
17112 * window.el (display-buffer--special-action): Doc fix.
17113
17114 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
17115
17116 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
17117 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
17118 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
17119 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
17120 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
17121 (avl-tree-stack-first):
17122 * emacs-lisp/cconv.el (cconv--analyse-use):
17123 * net/gnutls.el (gnutls-negotiate): Fix typos.
17124
17125 2011-11-24 Glenn Morris <rgm@gnu.org>
17126
17127 * lpr.el (lpr-windows-system, lpr-lp-system):
17128 * mail/binhex.el (binhex-begin-line):
17129 * progmodes/grep.el (grep-history, grep-find-history):
17130 * textmodes/flyspell.el:
17131 * vc/pcvs-defs.el (cvs-global-menu):
17132 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
17133 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
17134 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
17135
17136 * net/tls.el: Fix case of "GnuTLS".
17137
17138 * paths.el (rmail-file-name): Format doc-string for make-docfile.
17139
17140 * version.el (emacs-build-system): Give it a doc-string.
17141
17142 2011-11-24 Juri Linkov <juri@jurta.org>
17143
17144 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
17145
17146 2011-11-24 Glenn Morris <rgm@gnu.org>
17147
17148 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
17149 if called on a non-mime message just toggle the headers. (Bug#8006)
17150
17151 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
17152
17153 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
17154 (allout-lead-with-comment-string, allout-structure-deleted-hook)
17155 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
17156 (allout-rebullet-heading, allout-open-sibtopic)
17157 (allout-toggle-current-subtree-encryption)
17158 (allout-toggle-subtree-encryption, allout-encrypt-string)
17159 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
17160 (allout-distinctive-bullets-string, allout-auto-activation):
17161 * window.el (window-normalize-buffer-to-display):
17162 * progmodes/verilog-mode.el (verilog-batch-indent):
17163 * textmodes/bibtex.el (bibtex-field-braces-opt)
17164 (bibtex-field-strings-opt):
17165 * vc/cvs-status.el (cvs-tree-merge):
17166 Fix typos.
17167
17168 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
17169
17170 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
17171 `non-essential' to t, in order to avoid remote connections.
17172
17173 2011-11-23 Eli Zaretskii <eliz@gnu.org>
17174
17175 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
17176 On MS-DOS and MS-Windows, compare with loaddefs.el
17177 case-insensitively.
17178
17179 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
17180
17181 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
17182
17183 2011-11-23 Glenn Morris <rgm@gnu.org>
17184
17185 * paths.el (rmail-file-name): Reformat the doc-string so that it
17186 is picked up.
17187
17188 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
17189 (rmail-auto-file): Ignore case in the "special" field names,
17190 as mail-fetch-field does for all others.
17191
17192 * mail/rmail.el (rmail-forward):
17193 * mail/rmailkwd.el (rmail-set-label):
17194 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
17195 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
17196
17197 * mail/rmail.el (rmail-current-message): Doc fix.
17198
17199 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
17200
17201 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
17202
17203 * server.el (server-eval-and-print): Allow C-g (bug#6585).
17204
17205 2011-11-22 Glenn Morris <rgm@gnu.org>
17206
17207 * mail/rmailmm.el (test-rmail-mime-handler)
17208 (test-rmail-mime-bulk-handler)
17209 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
17210
17211 2011-11-21 Juri Linkov <juri@jurta.org>
17212
17213 * calc/calc.el (calc-read-key-sequence):
17214 Let-bind `input-method-function' to nil. (Bug#10018)
17215
17216 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
17217
17218 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
17219 Tell the caller that the next line needs recomputation, even
17220 though it doesn't start a sexp (bug#10094).
17221
17222 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
17223
17224 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
17225
17226 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
17227
17228 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
17229 Use force-same-window.
17230
17231 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
17232
17233 * descr-text.el (describe-char-unicode-data):
17234 * json.el (json-string-escape):
17235 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
17236 (Footnote-unicode, Footnote-style-p):
17237 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
17238
17239 2011-11-20 Chong Yidong <cyd@gnu.org>
17240
17241 * window.el (replace-buffer-in-windows): Restore interactive spec.
17242
17243 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
17244
17245 * electric.el (electric-indent-mode): Fix last change (too optimistic).
17246
17247 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
17248 (byte-compile-global-not-obsolete-vars): New var.
17249 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
17250 Use it.
17251 (byte-compile-warn-obsolete): Align text with the one in *Help*.
17252
17253 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
17254
17255 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
17256 * progmodes/pascal.el (electric-pascal-equal):
17257 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
17258 * xml.el (xml-substitute-special): Fix typos.
17259
17260 2011-11-20 Glenn Morris <rgm@gnu.org>
17261
17262 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
17263 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
17264 Doc fixes.
17265 (rmail-decode-mime-charset): Mark as obsolete.
17266
17267 * mail/rmailsum.el (rmail-message-regexp-p-1):
17268 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
17269 Before using mime functions, check they are set. (Bug#10077)
17270
17271 2011-11-19 Juri Linkov <juri@jurta.org>
17272
17273 * info.el (Info-finder-find-node): Use `package--builtins' instead
17274 of `package-alist'. Use node names formed by the pattern "Keyword "
17275 and the keyword name.
17276
17277 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
17278
17279 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
17280
17281 2011-11-19 Juri Linkov <juri@jurta.org>
17282
17283 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
17284 that calls `revert-buffer' on all Info buffers. (Bug#9915)
17285 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
17286 `old-history', `old-history-forward'. Add let-binding
17287 `window-selected'. Remove calls to `kill-buffer',
17288 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
17289 before calling `Info-find-node', so `Info-find-node-2' will reread
17290 the Info file. Restore window positions only when `window-selected'
17291 is non-nil.
17292
17293 2011-11-19 Juri Linkov <juri@jurta.org>
17294
17295 * isearch.el (isearch-lazy-highlight-new-loop):
17296 Remove condition `(not isearch-error)'. (Bug#9918)
17297
17298 * misearch.el (multi-isearch-search-fun): Add condition
17299 `(not bound)' to ignore lazy-highlighting search.
17300 Add the search-failed message "end of multi" when the end of
17301 multi-sequence is reached. Uncapitalize the search-failed
17302 message "Repeat for next buffer".
17303
17304 * info.el (Info-search): Add the search-failed message
17305 "end of the manual" when the end of the manual is reached
17306 in Isearch mode.
17307
17308 2011-11-19 Juri Linkov <juri@jurta.org>
17309
17310 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
17311 Use non-destructive `remove' instead of `delete' because
17312 `Info-history-list' stored to `Info-isearch-initial-history-list' in
17313 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
17314
17315 2011-11-19 Juri Linkov <juri@jurta.org>
17316
17317 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
17318 to nil instead of binding `search-ring' and `regexp-search-ring'.
17319 (Bug#9185)
17320
17321 2011-11-19 Eli Zaretskii <eliz@gnu.org>
17322
17323 * simple.el (line-move): Force movement by logical lines for any
17324 hscrolled window, not only when auto-hscroll-mode is on.
17325 (line-move-visual): Update doc string to that effect. (Bug#10076)
17326
17327 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
17328
17329 * language/european.el (macintosh): Define as alias for mac-roman.
17330
17331 2011-11-19 Eli Zaretskii <eliz@gnu.org>
17332
17333 * mail/rmailmm.el (rmail-mime-display-header)
17334 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
17335 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
17336 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
17337 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
17338 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
17339 of a raw aref.
17340 (rmail-mime-entity-segment): To get past the tagline, move forward
17341 2 more lines, to account for the 2 empty lines that precede and
17342 follow the line with the buttons.
17343 (rmail-mime-update-tagline): Move one more line, to get past the
17344 empty line that follows the buttons in the tagline. (Bug#9520)
17345
17346 2011-11-19 Martin Rudalics <rudalics@gmx.at>
17347
17348 * window.el (window-max-delta-1, window-min-delta-1)
17349 (window-min-size-1, window-state-get-1, window-state-put-1)
17350 (window-state-put-2): Use "window--" prefix.
17351
17352 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
17353
17354 * emacs-lisp/smie.el: Improve warnings and conflict detection.
17355 (smie-warning-count): New var.
17356 (smie-set-prec2tab): Use it.
17357 (smie-bnf->prec2): Improve warnings. Add docstring.
17358 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
17359 (smie-bnf--set-class): New function.
17360 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
17361 corner case.
17362
17363 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
17364 (compilation-error-properties, compilation-move-to-column):
17365 Handle compilation-first-column while in the target buffer.
17366
17367 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
17368 Don't hardcode point-min==1.
17369
17370 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
17371 (eshell-rewrite-for-command): Remove workaround.
17372 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
17373 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
17374 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
17375
17376 * files-x.el (modify-file-local-variable): Obey commenting conventions.
17377
17378 2011-11-17 Glenn Morris <rgm@gnu.org>
17379
17380 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
17381 Ignore buffer-local generated-autoload-file if it is the same
17382 as the global value. (Bug#10049)
17383
17384 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
17385
17386 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
17387 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
17388 (reftex-toc-previous-heading, reftex-toc-max-level)
17389 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
17390 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
17391 (reftex-toc-do-promote, reftex-toc-promote-prepare)
17392 (reftex-toc-promote-action, reftex-toc-extract-section-number)
17393 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
17394 (reftex-toc-rename-label, reftex-toc-visit-location)
17395 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
17396 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
17397 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
17398 leaving "*toc*" only for references to the buffer.
17399
17400 2011-11-17 Martin Rudalics <rudalics@gmx.at>
17401
17402 * window.el (window-resize, delete-window, split-window):
17403 Replace window-splits by window-combination-resize.
17404 * cus-start.el (window-splits): Replace by window-combination-resize.
17405
17406 2011-11-17 Glenn Morris <rgm@gnu.org>
17407
17408 * progmodes/sh-script.el (sh-font-lock-keywords-var):
17409 Make bash entry derive from sh entry, not shell entry.
17410
17411 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
17412
17413 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
17414 local file name.
17415
17416 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
17417
17418 * menu-bar.el (menu-bar-file-menu):
17419 * printing.el (pr-ps-utility):
17420 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
17421 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
17422 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
17423 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
17424 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
17425 (icalendar--convert-cyclic-to-ical)
17426 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
17427 (icalendar--convert-ical-to-diary)
17428 (icalendar--convert-recurring-to-diary)
17429 (icalendar--convert-non-recurring-all-day-to-diary)
17430 (icalendar-import-format-sample):
17431 * progmodes/idlw-shell.el (idlwave-shell-mode):
17432 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
17433 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
17434 (vhdl-ps-print-init): Fix typos.
17435
17436 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
17437
17438 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
17439 FSF and collapse date sequence, obscure author/maintainer email address
17440 better, remove extra version line, track relocation of author's webpage.
17441
17442 * progmodes/python.el (python-pdbtrack-input-prompt)
17443 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
17444 regular python pdb prompts. Adjustments shamelessly taken exactly as
17445 suggested in EmacsWiki page (tiny change):
17446 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
17447
17448 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
17449
17450 * expand.el (expand-pos, expand-index, expand-point):
17451 Remove redundant info from docstring.
17452 (expand-add-abbrevs): Doc fix.
17453 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
17454 (expand-sample-perl-mode-expand-list): Fix typos.
17455
17456 * net/dbus.el (dbus-event-member-name):
17457 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
17458 * term/pc-win.el (msdos-create-frame-with-faces):
17459 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
17460
17461 2011-11-16 Martin Rudalics <rudalics@gmx.at>
17462
17463 * window.el (split-window, window-state-get-1)
17464 (window-state-put-1, window-state-put-2): Rename occurrences of
17465 window-nest to window-combination-limit.
17466 * cus-start.el (window-nest): Rename to window-combination-limit.
17467
17468 2011-11-16 Chong Yidong <cyd@gnu.org>
17469
17470 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
17471 regexp (Bug#10033).
17472
17473 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
17474
17475 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
17476 `completing-read' will remove *Completions* and will preserve
17477 current-buffer for us.
17478 (tmm-add-prompt): Users of *Completions* will always (re)set its
17479 major mode.
17480 (tmm-old-comp-map): Remove.
17481
17482 2011-11-16 Glenn Morris <rgm@gnu.org>
17483
17484 * mail/rmailedit.el: Require rmailmm when compiling.
17485 (rmail-old-mime-state): New declaration.
17486 (rmail-edit-current-message): If editing a mime message,
17487 edit the "raw" message from the mbox buffer.
17488 (rmail-cease-edit): Handle mime messages. (Bug#9840)
17489
17490 2011-11-15 Glenn Morris <rgm@gnu.org>
17491
17492 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
17493 which wasn't being used. Add optional arg to force given state.
17494 (rmail-mime): Add optional arg to force given state.
17495
17496 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
17497
17498 * allout.el (allout-encryption-plaintext-sanitization-regexps):
17499 * frame.el (display-mm-dimensions-alist):
17500 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
17501 (outline-move-subtree-down):
17502 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
17503 (newsticker--treeview-do-get-node):
17504 * net/quickurl.el (quickurl-list-buffer-name):
17505 * progmodes/dcl-mode.el (dcl-mode):
17506 * progmodes/gdb-mi.el (gdb-mapcar*):
17507 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
17508
17509 2011-11-15 Glenn Morris <rgm@gnu.org>
17510
17511 * mail/rmail.el (rmail-file-coding-system): It's only ever used
17512 in a boolean sense, so just make it a boolean, and fix the doc.
17513 (rmail-show-mime-function, rmail-mime-feature)
17514 (rmail-require-mime-maybe): Doc fixes.
17515 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
17516
17517 * mail/rmailmm.el (rmail-show-mime): Doc fix.
17518
17519 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
17520
17521 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
17522 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
17523 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
17524 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
17525
17526 2011-11-15 Glenn Morris <rgm@gnu.org>
17527
17528 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
17529 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
17530 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
17531 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
17532 (rmail-mime, rmail-show-mime): Doc fixes.
17533
17534 * term/ns-win.el (mode-line-frame-identification):
17535 Leave it alone. (Bug#10051)
17536
17537 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
17538
17539 * mail/rmailout.el (rmail-output-to-rmail-buffer):
17540 Handle empty buffers. (Bug#9978)
17541
17542 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
17543
17544 * international/mule.el (define-charset):
17545 * mail/rmailmm.el (rmail-mime-find-header-encoding):
17546 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
17547 * progmodes/verilog-mode.el (verilog-backward-token):
17548 * textmodes/ispell.el (lookup-words):
17549 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
17550
17551 2011-11-14 Glenn Morris <rgm@gnu.org>
17552
17553 * progmodes/executable.el
17554 (executable-make-buffer-file-executable-if-script-p):
17555 Handle file-modes returning nil.
17556
17557 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
17558 message - not necessary, and causes problems. (Bug#9831)
17559
17560 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
17561
17562 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
17563
17564 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
17565 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
17566 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
17567
17568 2011-11-12 Martin Rudalics <rudalics@gmx.at>
17569
17570 * window.el (window-resize, delete-window): Use window-splits
17571 variable instead of function.
17572 (window-state-get-1, window-state-put-2, window-state-put):
17573 Don't deal with windows' splits status.
17574
17575 2011-11-12 Glenn Morris <rgm@gnu.org>
17576
17577 * apropos.el (apropos-do-all, apropos-library, apropos-value)
17578 (apropos-documentation): Doc fixes.
17579
17580 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
17581
17582 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
17583 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
17584
17585 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
17586
17587 * electric.el (electric-indent-post-self-insert-function): Make it
17588 possible for a char to only indent in some circumstances.
17589 (electric-indent-mode): Simplify.
17590
17591 2011-11-11 Martin Rudalics <rudalics@gmx.at>
17592
17593 * window.el (windows-with-parameter): Remove unused function.
17594 (windows-at-side): Rename to window-at-side-list.
17595 (window-check, window-atom-check, window-atom-check-1)
17596 (window-side-check, window-size-ignore, window-size-fixed-1)
17597 (window-in-direction-2): Prefix with "window--".
17598 (window-tree-1): Rename to window--subtree, fix doc-string.
17599
17600 2011-11-11 Glenn Morris <rgm@gnu.org>
17601
17602 * subr.el (eval-after-load): If FILE is already loaded,
17603 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
17604
17605 2011-11-10 Glenn Morris <rgm@gnu.org>
17606
17607 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
17608 Call svn via vc-svn-command rather than vc-do-command.
17609 (vc-svn-command): Add --non-interactive. (Bug#9993)
17610 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
17611
17612 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
17613 Add toggle-read-only. (Bug#7292)
17614 * files.el (toggle-read-only): Mention that it should only
17615 be used interactively. (Bug#10006)
17616
17617 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
17618
17619 * progmodes/compile.el (compilation-error-regexp-alist-alist):
17620 Adjust regexp for OCaml warnings.
17621
17622 * electric.el (electric-pair-post-self-insert-function): Let user
17623 turn it off buffer-locally (bug#9932).
17624
17625 * progmodes/python.el (python-beginning-of-statement):
17626 Rewrite (bug#2703).
17627
17628 * progmodes/compile.el: Better handle TABs (bug#9749).
17629 (compilation-internal-error-properties)
17630 (compilation-next-error-function): Obey the target buffer's
17631 compilation-error-screen-columns.
17632
17633 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
17634
17635 * progmodes/meta-mode.el: Remove obsolete comments.
17636 (meta-right-comment-regexp, meta-ignore-comment-regexp):
17637 Fix typos in docstrings.
17638
17639 2011-11-09 Martin Rudalics <rudalics@gmx.at>
17640
17641 * window.el (window-size-fixed-p): Rewrite doc-string.
17642 (window-resizable-p): Rename to window--resizable-p. Update callers.
17643 (window--resizable): New function. Make all callers of
17644 window-resizable call window--resizable instead.
17645 (window-resizable): Rewrite in terms of window--resizable.
17646
17647 2011-11-08 Glenn Morris <rgm@gnu.org>
17648
17649 * progmodes/delphi.el (delphi-mode-syntax-table):
17650 Let define-derived-mode define a proper syntax table. (Bug#9994)
17651
17652 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
17653
17654 * window.el: Stay away from defsubst.
17655 (window-list-no-nils): Remove.
17656 (window-state-get-1, window-state-get): Use backquote instead.
17657
17658 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
17659
17660 * emacs-lisp/find-func.el (find-function-read):
17661 Fix incorrect use of default argument in `completing-read'.
17662
17663 2011-11-08 Martin Rudalics <rudalics@gmx.at>
17664
17665 * window.el (display-buffer-function, special-display-function):
17666 Mention display-buffer-record-window but do not mention
17667 help-setup parameter in doc-strings.
17668 (window-min-delta): Fix doc-string typo.
17669
17670 2011-11-08 Chong Yidong <cyd@gnu.org>
17671
17672 * window.el (window-total-height, window-total-width): Doc fix.
17673 (window-body-size): Move from C.
17674 (window-body-height, window-body-width): Move to C.
17675
17676 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
17677
17678 * window.el: Make special-display like display-buffer-alist (bug#9532).
17679 (display-buffer--special-action): New function, morphed
17680 from display-buffer--special.
17681 (display-buffer): Use it to handle special-display-buffers at higher
17682 priority (just after display-buffer-alist).
17683 (display-buffer-fallback-action, display-buffer--other-frame-action)
17684 (pop-to-buffer-same-window): Remove display-buffer--special.
17685
17686 2011-11-07 Glenn Morris <rgm@gnu.org>
17687
17688 * calendar/cal-menu.el (cal-menu-set-date-title):
17689 Do nothing if not in a calendar. (Bug#9976)
17690
17691 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
17692
17693 * files.el (find-file): Always use selected-window.
17694
17695 2011-11-07 Martin Rudalics <rudalics@gmx.at>
17696
17697 * window.el (window-combinations): Make WINDOW argument
17698 mandatory. Rewrite doc-string.
17699 (walk-window-subtree, window-atom-check, window-min-delta)
17700 (window-max-delta, window--resize-this-window)
17701 (window--resize-root-window-vertically, window-tree)
17702 (balance-windows, window-state-put): Rewrite doc-strings as to
17703 not mention the term "subwindow".
17704 (window--resize-subwindows-skip-p): Rename to
17705 window--resize-child-windows-skip-p.
17706 (window--resize-subwindows-normal): Rename to
17707 window--resize-child-windows-normal.
17708 (window--resize-subwindows): Rename to
17709 window--resize-child-windows.
17710 (window-or-subwindow-p): Rename to window--in-subtree-p.
17711
17712 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
17713
17714 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
17715 Ensure that mbox format messages end in two newlines (Bug#9974).
17716
17717 2011-11-06 Chong Yidong <cyd@gnu.org>
17718
17719 * window.el (window-combination-p): Function deleted; its
17720 side-effect is not used in any existing code.
17721 (window-combinations, window-combined-p): Call window-*-child
17722 directly.
17723
17724 2011-11-05 Chong Yidong <cyd@gnu.org>
17725
17726 * window.el (window-valid-p): Rename from window-any-p.
17727 (window-size-ignore, window-state-get): Callers changed.
17728 (window-normalize-window): Rename from window-normalize-any-window.
17729 New arg LIVE-ONLY, replacing window-normalize-live-window.
17730 (window-normalize-live-window): Delete.
17731 (window-combination-p, window-combined-p, window-combinations)
17732 (walk-window-subtree, window-atom-root, window-min-size)
17733 (window-sizable, window-sizable-p, window-size-fixed-p)
17734 (window-min-delta, window-max-delta, window-resizable)
17735 (window-resizable-p, window-full-height-p, window-full-width-p)
17736 (window-current-scroll-bars, window-point-1, set-window-point-1)
17737 (window-at-side-p, window-in-direction, window-resize)
17738 (adjust-window-trailing-edge, maximize-window, minimize-window)
17739 (window-deletable-p, delete-window, delete-other-windows)
17740 (record-window-buffer, unrecord-window-buffer)
17741 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
17742 (quit-window, split-window, window-state-put)
17743 (set-window-text-height, fit-window-to-buffer)
17744 (shrink-window-if-larger-than-buffer): Callers changed.
17745
17746 2011-11-04 Eli Zaretskii <eliz@gnu.org>
17747
17748 * mail/rmail.el (rmail-simplified-subject): Decode subject with
17749 rfc2047-decode-string.
17750 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
17751 warnings.
17752
17753 * window.el (window-body-height, window-body-width): Mention in
17754 the doc string that the return values are in frame's canonical
17755 units. (Bug#9949)
17756
17757 2011-11-03 Alan Mackenzie <acm@muc.de>
17758
17759 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
17760 change in cc-engine.el.
17761
17762 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
17763
17764 * window.el (switch-to-buffer): Use `force-same-window' interactively.
17765
17766 2011-11-02 Martin Rudalics <rudalics@gmx.at>
17767
17768 * window.el (quit-window): Call unrecord-window-buffer after
17769 showing another buffer in the window. (Bug#9937)
17770 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
17771
17772 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
17773
17774 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
17775 Accept status with more than 9 shelves. (Bug#9935)
17776 Reported by Colin D Bennett <colin@gibibit.com>.
17777
17778 2011-11-01 Martin Rudalics <rudalics@gmx.at>
17779
17780 * help.el (with-help-window): Don't reference
17781 temp-buffer-show-specifiers in doc-string.
17782
17783 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
17784
17785 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
17786 menu-item.
17787
17788 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
17789
17790 * whitespace.el: New version 13.2.2.
17791 (whitespace-newline-mode): Disable properly. Reported by Sarah
17792 <EmacsWiki>.
17793
17794 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
17795
17796 * net/newst-treeview.el: Remove "Time-stamp".
17797 (newsticker--group-manage-orphan-feeds): Do not call
17798 newsticker--treeview-tree-update.
17799 (newsticker-treeview-update, newsticker-treeview):
17800 Call newsticker--treeview-tree-update if necessary.
17801
17802 2011-10-30 Martin Rudalics <rudalics@gmx.at>
17803
17804 * window.el (window-iso-combination-p, window-iso-combined-p)
17805 (window-iso-combinations): Remove "iso-" infix.
17806 Suggested by Chong Yidong.
17807 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
17808 (window-max-delta-1, window-resize, window--resize-siblings)
17809 (window--resize-this-window, adjust-window-trailing-edge)
17810 (split-window, balance-windows-1)
17811 (shrink-window-if-larger-than-buffer):
17812 * calendar/calendar.el (calendar-generate-window):
17813 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
17814
17815 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
17816
17817 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
17818 in place (bug#9907).
17819 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
17820 (eshell-rewrite-if-command, eshell-rewrite-for-command)
17821 (eshell-structure-basic-command, eshell-rewrite-while-command)
17822 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
17823 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
17824 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
17825 (eshell-do-pipelines-synchronously, eshell-eval-command):
17826 Use backquotes and prefer setq to set.
17827 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
17828 (eshell-macrop): Use functionp.
17829 (eshell-do-eval): Handle multiple expressions in `while' body.
17830
17831 2011-10-30 Chong Yidong <cyd@gnu.org>
17832
17833 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
17834 instead of set-mark (Bug#9810).
17835
17836 2011-10-30 Chong Yidong <cyd@gnu.org>
17837
17838 * window.el (split-window-below, split-window-right): Rename from
17839 split-window-above-each-other and split-window-side-by-side
17840 respectively. All callers changed.
17841 (split-window-sensibly, split-window-sensibly): Use them.
17842 (split-window-keep-point): Doc fix.
17843
17844 * isearch.el: Add isearch-scroll property to split-window-below
17845 and split-window-right.
17846
17847 * follow.el (follow-mode):
17848 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
17849 * progmodes/ada-xref.el (ada-gdb-application):
17850 * emulation/vip.el (vip-buffer-in-two-windows):
17851 * image-dired.el (image-dired-dired-with-window-configuration):
17852 * dired-x.el (dired-do-find-marked-files):
17853 * dired.el (dired-pop-to-buffer):
17854 * bs.el (bs--show-with-configuration):
17855 * vc/emerge.el (emerge-setup-windows):
17856 * textmodes/two-column.el (2C-two-columns):
17857 * textmodes/reftex-toc.el (reftex-toc):
17858 * progmodes/gdb-mi.el (gdb-setup-windows):
17859 * progmodes/fortran.el (fortran-window-create):
17860 * net/newst-treeview.el (newsticker--treeview-window-init):
17861 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
17862 * emulation/tpu-edt.el (tpu-gold-map):
17863 * emulation/crisp.el (crisp-mode-map):
17864 * calendar/calendar.el (calendar-basic-setup): Callers changed.
17865
17866 2011-10-29 Chong Yidong <cyd@gnu.org>
17867
17868 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
17869
17870 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
17871
17872 * textmodes/flyspell.el (flyspell-word): Fix char offset for
17873 forged Ispell output (Bug#7904).
17874
17875 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
17876
17877 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
17878
17879 * doc-view.el: Avoid ugly errors about not finding nil.
17880 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
17881 (doc-view-dvipdf-program, doc-view-unoconv-program)
17882 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
17883 Avoid nil or absolute file name as default value.
17884 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
17885
17886 2011-10-28 Alan Mackenzie <acm@muc.de>
17887
17888 * progmodes/cc-defs.el (c-version): -> 5.32.2.
17889
17890 2011-10-28 Alan Mackenzie <acm@muc.de>
17891
17892 Amend the handling of c-beginning/end-of-defun in nested declaration
17893 scopes.
17894
17895 * progmodes/cc-vars.el (c-defun-tactic): Move here from
17896 cc-langs.el. Change it to a defcustom.
17897
17898 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
17899 cc-vars.el.
17900
17901 * progmodes/cc-engine.el (c-beginning-of-statement-1):
17902 Prevent "class foo : bar" being spuriously recognized as a label.
17903
17904 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
17905 Add parameter `inclusive' (to include enclosing braces in the region).
17906 (c-widen-to-enclosing-decl-scope): New function.
17907 (c-while-widening-to-decl-block): New macro.
17908 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
17909 outward for defun boundaries, and correspondingly change symbol
17910 `respect-enclosure' to `go-outward'.
17911 (c-declaration-limits): Change algorithm to report only the "innermost"
17912 defun's boundaries.
17913
17914 2011-10-28 Deniz Dogan <deniz@dogan.se>
17915
17916 * net/rcirc.el (rcirc-mode): Use hard newlines.
17917
17918 2011-10-28 Alan Mackenzie <acm@muc.de>
17919
17920 Amend to indent and fontify macros "which include their own semicolon"
17921 correctly, using the "virtual semicolon" mechanism.
17922
17923 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
17924
17925 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
17926 Recode to scan one line at a time rather than having \n and \r
17927 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
17928 (c-forward-label): Amend for virtual semicolons.
17929 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
17930
17931 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
17932 of the new C macros.
17933
17934 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
17935 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
17936 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
17937 (c-opt-cpp-macro-define): Make into a full language variable.
17938 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
17939 AWK Mode (including \n, \r) removed, no longer needed.
17940
17941 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
17942 Invoke c-make-macro-with-semi-re.
17943
17944 * progmodes/cc-vars.el (c-macro-with-semi-re):
17945 (c-macro-names-with-semicolon): New variables.
17946 (c-make-macro-with-semi-re): New function.
17947
17948 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
17949
17950 * vc/log-edit.el: Fill empty field rather than adding new one.
17951 (log-edit-add-field): New function.
17952 (log-edit-insert-changelog): Use it.
17953
17954 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
17955
17956 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
17957
17958 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
17959
17960 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
17961 (gdb--check-interpreter): New function.
17962 (gdb): Use it.
17963
17964 2011-10-27 Glenn Morris <rgm@gnu.org>
17965
17966 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
17967 (least-positive-float, least-negative-float)
17968 (least-positive-normalized-float, least-negative-normalized-float)
17969 (float-epsilon, float-negative-epsilon):
17970 Remove unnecessary declarations.
17971
17972 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
17973 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
17974 (least-positive-float, least-negative-float)
17975 (least-positive-normalized-float, least-negative-normalized-float)
17976 (float-epsilon, float-negative-epsilon): Add doc-strings,
17977 based on those in cl.texi.
17978
17979 * files.el (set-visited-file-name): If the major-mode changed,
17980 reload the local variables. (Bug#9796)
17981
17982 2011-10-27 Chong Yidong <cyd@gnu.org>
17983
17984 * subr.el (change-major-mode-after-body-hook): New hook.
17985 (run-mode-hooks): Run it.
17986
17987 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
17988 Use change-major-mode-before-body-hook.
17989
17990 * simple.el (fundamental-mode):
17991 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
17992 change introducing fundamental-mode-hook.
17993
17994 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
17995
17996 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
17997
17998 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
17999
18000 * ido.el (ido-file-name-all-completions-1): Do not require
18001 tramp.el explicitly. (Bug#7583)
18002
18003 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
18004
18005 * progmodes/octave-mod.el:
18006 * progmodes/octave-inf.el: Update maintainer.
18007
18008 2011-10-26 Chong Yidong <cyd@gnu.org>
18009
18010 * subr.el (with-wrapper-hook): Rewrite doc.
18011
18012 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
18013
18014 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
18015 filenames "/method:foo:". (Bug#9793)
18016
18017 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
18018
18019 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
18020 (bug#9865).
18021
18022 2011-10-24 Glenn Morris <rgm@gnu.org>
18023
18024 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
18025
18026 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
18027
18028 * notifications.el: Add the requirement of a running D-Bus session
18029 bus to the Commentary.
18030
18031 2011-10-24 Juri Linkov <juri@jurta.org>
18032
18033 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
18034 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
18035 (Bug#9364)
18036
18037 2011-10-24 Juri Linkov <juri@jurta.org>
18038
18039 * info.el (Info-following-node-name-re): Add newline to the list
18040 of allowed characters for leading space. (Bug#9824)
18041
18042 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
18043
18044 * progmodes/octave-inf.el (inferior-octave-mode-map):
18045 Fix C-c C-h binding.
18046 * progmodes/octave-mod.el (octave-help): Remove.
18047
18048 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
18049
18050 Sync with Tramp 2.2.3.
18051
18052 * net/tramp-cache.el (top): Pacify byte-compiler using
18053 `init-file-user' and `site-run-file'.
18054
18055 * net/trampver.el: Update release number.
18056
18057 2011-10-23 Chong Yidong <cyd@gnu.org>
18058
18059 * files.el (toggle-read-only): Remove obsolete comment about
18060 version control.
18061
18062 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
18063 for toggle-read-only. Note that this hasn't called vc-next-action
18064 since 2008-05-02, though it wasn't documented at the time.
18065
18066 * vc/ediff-init.el (ediff-toggle-read-only-function):
18067 Use toggle-read-only.
18068
18069 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
18070
18071 Fix bug #9560, sporadic wrong indentation; improve instrumentation
18072 of c-parse-state.
18073
18074 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
18075 correct faulty logical expression.
18076 (c-parse-state-state, c-record-parse-state-state):
18077 (c-replay-parse-state-state): New defvar/defuns.
18078 (c-debug-parse-state): Use new functions.
18079
18080 2011-10-22 Martin Rudalics <rudalics@gmx.at>
18081
18082 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
18083 last fix. Use window-in-direction correctly.
18084
18085 2011-10-21 Chong Yidong <cyd@gnu.org>
18086
18087 * progmodes/idlwave.el (idlwave-mode):
18088 * progmodes/vera-mode.el (vera-mode): No need to set
18089 require-final-newline; that's done in prog-mode.
18090 Suggested by Stefan Monnier.
18091
18092 2011-10-21 Martin Rudalics <rudalics@gmx.at>
18093
18094 * mouse.el (mouse-drag-window-above)
18095 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
18096 (mouse-drag-mode-line-1, mouse-drag-header-line)
18097 (mouse-drag-vertical-line-rightward-window): Remove.
18098 (mouse-drag-line): New function.
18099 (mouse-drag-mode-line, mouse-drag-header-line)
18100 (mouse-drag-vertical-line): Call mouse-drag-line.
18101 * window.el (window-at-side-p, windows-at-side): New functions.
18102
18103 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
18104
18105 * tar-mode.el (tar-grind-file-mode):
18106 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
18107
18108 2011-10-21 Chong Yidong <cyd@gnu.org>
18109
18110 * progmodes/idlwave.el (idlwave-mode):
18111 * progmodes/vera-mode.el (vera-mode):
18112 Use mode-require-final-newline.
18113
18114 2011-10-20 Glenn Morris <rgm@gnu.org>
18115
18116 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
18117
18118 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
18119
18120 * emulation/cua-base.el (cua-set-mark): Fix case of string.
18121
18122 2011-10-20 Chong Yidong <cyd@gnu.org>
18123
18124 * emulation/cua-base.el (cua-mode):
18125 * mail/footnote.el (footnote-mode):
18126 * mail/mailabbrev.el (mail-abbrevs-mode):
18127 * net/xesam.el (xesam-minor-mode):
18128 * progmodes/bug-reference.el (bug-reference-mode):
18129 * progmodes/cap-words.el (capitalized-words-mode):
18130 * progmodes/compile.el (compilation-minor-mode)
18131 (compilation-shell-minor-mode):
18132 * progmodes/gud.el (gud-tooltip-mode):
18133 * progmodes/hideif.el (hide-ifdef-mode):
18134 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
18135 * progmodes/subword.el (subword-mode):
18136 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
18137 * progmodes/which-func.el (which-function-mode):
18138 * term/tvi970.el (tvi970-set-keypad-mode):
18139 * term/vt100.el (vt100-wide-mode):
18140 * textmodes/flyspell.el (flyspell-mode):
18141 * textmodes/ispell.el (ispell-minor-mode):
18142 * textmodes/nroff-mode.el (nroff-electric-mode):
18143 * textmodes/paragraphs.el (use-hard-newlines):
18144 * textmodes/refill.el (refill-mode):
18145 * textmodes/reftex.el (reftex-mode):
18146 * textmodes/rst.el (rst-minor-mode):
18147 * textmodes/sgml-mode.el (html-autoview-mode)
18148 (sgml-electric-tag-pair-mode):
18149 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
18150 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
18151 * emulation/crisp.el (crisp-mode):
18152 * emacs-lisp/eldoc.el (eldoc-mode):
18153 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
18154 minor mode behavior.
18155
18156 2011-10-19 Juri Linkov <juri@jurta.org>
18157
18158 * descr-text.el (describe-char): Add #x2010 and #x2011 to
18159 the list of hard-coded chars with escape-glyph face.
18160
18161 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
18162
18163 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
18164
18165 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
18166
18167 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
18168 running process.
18169
18170 2011-10-19 Glenn Morris <rgm@gnu.org>
18171
18172 * vc/vc-bzr.el (vc-bzr-after-dir-status):
18173 Ignore ignored files. (Bug#9726)
18174
18175 2011-10-19 Chong Yidong <cyd@gnu.org>
18176
18177 Doc fix for minor modes, stating that an omitted argument enables
18178 the mode unconditionally when called from Lisp.
18179
18180 * abbrev.el (abbrev-mode):
18181 * allout.el (allout-mode):
18182 * autoinsert.el (auto-insert-mode):
18183 * autoarg.el (autoarg-mode, autoarg-kp-mode):
18184 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
18185 (global-auto-revert-mode):
18186 * battery.el (display-battery-mode):
18187 * composite.el (global-auto-composition-mode)
18188 (auto-composition-mode):
18189 * delsel.el (delete-selection-mode):
18190 * desktop.el (desktop-save-mode):
18191 * dired-x.el (dired-omit-mode):
18192 * dirtrack.el (dirtrack-mode):
18193 * doc-view.el (doc-view-minor-mode):
18194 * double.el (double-mode):
18195 * electric.el (electric-indent-mode, electric-pair-mode):
18196 * emacs-lock.el (emacs-lock-mode):
18197 * epa-hook.el (auto-encryption-mode):
18198 * follow.el (follow-mode):
18199 * font-core.el (font-lock-mode):
18200 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
18201 * help.el (temp-buffer-resize-mode):
18202 * hilit-chg.el (highlight-changes-mode)
18203 (highlight-changes-visible-mode):
18204 * hi-lock.el (hi-lock-mode):
18205 * hl-line.el (hl-line-mode, global-hl-line-mode):
18206 * icomplete.el (icomplete-mode):
18207 * ido.el (ido-everywhere):
18208 * image-file.el (auto-image-file-mode):
18209 * image-mode.el (image-minor-mode):
18210 * iswitchb.el (iswitchb-mode):
18211 * jka-cmpr-hook.el (auto-compression-mode):
18212 * linum.el (linum-mode):
18213 * longlines.el (longlines-mode):
18214 * master.el (master-mode):
18215 * mb-depth.el (minibuffer-depth-indicate-mode):
18216 * menu-bar.el (menu-bar-mode):
18217 * minibuf-eldef.el (minibuffer-electric-default-mode):
18218 * mouse-sel.el (mouse-sel-mode):
18219 * msb.el (msb-mode):
18220 * mwheel.el (mouse-wheel-mode):
18221 * outline.el (outline-minor-mode):
18222 * paren.el (show-paren-mode):
18223 * recentf.el (recentf-mode):
18224 * reveal.el (reveal-mode, global-reveal-mode):
18225 * rfn-eshadow.el (file-name-shadow-mode):
18226 * ruler-mode.el (ruler-mode):
18227 * savehist.el (savehist-mode):
18228 * scroll-all.el (scroll-all-mode):
18229 * scroll-bar.el (scroll-bar-mode):
18230 * server.el (server-mode):
18231 * shell.el (shell-dirtrack-mode):
18232 * simple.el (auto-fill-mode, transient-mark-mode)
18233 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
18234 (line-number-mode, column-number-mode, size-indication-mode)
18235 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
18236 * strokes.el (strokes-mode):
18237 * time.el (display-time-mode):
18238 * t-mouse.el (gpm-mouse-mode):
18239 * tool-bar.el (tool-bar-mode):
18240 * tooltip.el (tooltip-mode):
18241 * type-break.el (type-break-mode-line-message-mode)
18242 (type-break-query-mode):
18243 * view.el (view-mode):
18244 * whitespace.el (whitespace-mode, whitespace-newline-mode)
18245 (global-whitespace-mode, global-whitespace-newline-mode):
18246 * xt-mouse.el (xterm-mouse-mode): Doc fix.
18247
18248 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
18249 Fix autogenerated docstring.
18250
18251 2011-10-19 Juri Linkov <juri@jurta.org>
18252
18253 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
18254 by checking environment variables "DESKTOP_SESSION" and
18255 "XDG_CURRENT_DESKTOP". (Bug#9779)
18256
18257 2011-10-19 Juri Linkov <juri@jurta.org>
18258
18259 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
18260 (browse-url-chromium-program, browse-url-chromium-arguments):
18261 New defcustoms.
18262 (browse-url-default-browser): Check for `browse-url-chromium' and
18263 call `browse-url-chromium-program'.
18264 (browse-url-chromium): New command. (Bug#9779)
18265
18266 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
18267
18268 * facemenu.el (list-colors-duplicates): On Windows, detect more
18269 duplicates by assuming that only colors matching "^System" are
18270 special "system colors". (Bug#9722)
18271
18272 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
18273
18274 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
18275 to distinguish the author from the committer.
18276
18277 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
18278
18279 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
18280
18281 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
18282
18283 * international/mule.el (sgml-html-meta-auto-coding-function):
18284 Add support for detecting encoding in HTML5 specified only as
18285 <meta charset="UTF-8">. Implementation just makes http-equiv and
18286 content-type parts from HTML4 encoding string optional. (Bug#9716)
18287
18288 2011-10-18 Glenn Morris <rgm@gnu.org>
18289
18290 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
18291
18292 2011-10-18 Chong Yidong <cyd@gnu.org>
18293
18294 * faces.el (cursor): Doc fix.
18295
18296 2011-10-17 Chong Yidong <cyd@gnu.org>
18297
18298 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
18299
18300 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
18301
18302 * dirtrack.el (dirtrack): Support shell buffers with path
18303 prefixes, e.g. tramp-based remote shells. (Bug#9647)
18304
18305 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
18306
18307 * json.el: Bump version to 1.3 and note change in History.
18308 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
18309
18310 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
18311
18312 * comint.el (comint-insert-input, comint-send-input)
18313 (comint-get-old-input-default, comint-backward-matching-input)
18314 (comint-next-prompt): Use nil instead of `input' for field property of
18315 past user input (bug#114).
18316
18317 * minibuffer.el (completion--replace): Inherit surrounding properties
18318 (bug#114).
18319 (minibuffer-complete-and-exit): Use it.
18320
18321 * comint.el (comint--table-subvert): Quote the all-completions output
18322 (bug#9160).
18323
18324 2011-10-17 Martin Rudalics <rudalics@gmx.at>
18325
18326 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
18327
18328 * menu-bar.el (menu-bar-file-menu): Add entry for making new
18329 window on right of selected. (Bug#9350) Reword other window
18330 entries and separate them from frame entries.
18331
18332 2011-10-15 Glenn Morris <rgm@gnu.org>
18333
18334 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
18335 Doc fixes.
18336
18337 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
18338
18339 * net/network-stream.el (network-stream-open-starttls):
18340 Improve detection of failure due to lack of TLS support.
18341
18342 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
18343 putting the input text in front and in bold.
18344
18345 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
18346
18347 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
18348
18349 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
18350 empty buffer.
18351
18352 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
18353 unread-command-events rather than pushing yet-another event.
18354
18355 2011-10-14 Eli Zaretskii <eliz@gnu.org>
18356
18357 * mail/sendmail.el (sendmail-query-once): Improve the wording of
18358 the explanation of the possible choices. Make the options passed
18359 to completing-read shorter.
18360
18361 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
18362
18363 * textmodes/flyspell.el (flyspell-large-region): Make sure
18364 extended character mode is used if defined (Bug#1339).
18365
18366 2011-10-13 Eli Zaretskii <eliz@gnu.org>
18367
18368 * simple.el (what-cursor-position): Fix the display of the
18369 character info for LRE, LRO, RLE, and RLO characters by appending
18370 an invisible PDF.
18371
18372 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
18373
18374 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
18375 even in case of error; add debug spec; simplify data flow.
18376 (with-timeout-handler): Remove.
18377
18378 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
18379
18380 Fix Bug#6019, Bug#9315.
18381
18382 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
18383 complete `buffer-file-name', the local file name part could look
18384 remotely (for example on VMS).
18385
18386 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
18387 `tramp-run-real-handler'.
18388 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
18389 already quoted by '"'.
18390
18391 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
18392 Let `file-name-handler-alist' be nil, the local file name part
18393 could look remotely (for example on VMS).
18394
18395 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
18396
18397 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
18398 from here...
18399 (flyspell-post-command-hook): ...to here.
18400
18401 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
18402
18403 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
18404 if not needed.
18405 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
18406 using completion. Protect against "slow" callers.
18407 Remove the "message hack".
18408
18409 2011-10-11 Juri Linkov <juri@jurta.org>
18410
18411 * isearch.el (isearch-lazy-highlight-word): New variable.
18412 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
18413 Use it. (Bug#9727)
18414
18415 2011-10-11 Glenn Morris <rgm@gnu.org>
18416
18417 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
18418 like f90-previous-statement does.
18419
18420 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
18421
18422 * eshell/eshell.el (eshell-command): History should be saved
18423 only in interactive use, to avoid error.
18424
18425 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
18426
18427 * minibuffer.el (completion-file-name-table): Fix last change,
18428 i.e. ignore normal errors but not the other ones.
18429
18430 2011-10-10 Martin Rudalics <rudalics@gmx.at>
18431
18432 * window.el (special-display-buffer-names)
18433 (special-display-regexps): Remove some remnants of earlier
18434 changes from doc-strings.
18435 (quit-windows-on): New function.
18436
18437 * vc/vc.el (vc-revert, vc-rollback):
18438 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
18439 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
18440 (Bug#6183) (Bug#7074) (Bug#7447)
18441
18442 2011-10-09 Martin Rudalics <rudalics@gmx.at>
18443
18444 * window.el (frame-auto-hide-function): Add version tag.
18445 (Bug#9699)
18446
18447 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
18448
18449 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
18450 condition.
18451
18452 2011-10-09 Leo Liu <sdl.web@gmail.com>
18453
18454 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
18455 (Bug#9701)
18456
18457 2011-10-08 Glenn Morris <rgm@gnu.org>
18458
18459 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
18460 before the first code statement zero indent. (Bug#9690)
18461
18462 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
18463
18464 * simple.el (count-words-region): Always count in the region.
18465 Report the number of lines and characters too.
18466 (count-words): New command, which counts in the buffer if the
18467 region is inactive, as count-words-region used to.
18468 (count-words--message): New function. Handle plurals.
18469 (count-lines-region): Make it an alias for count-words-region.
18470
18471 * bindings.el (esc-map): Replace count-lines-region with
18472 count-words-region.
18473
18474 2011-10-08 Martin Rudalics <rudalics@gmx.at>
18475
18476 * window.el (window--delete): Delete dedicated frame
18477 unconditionally when argument KILL is non-nil. (Bug#9699)
18478 (switch-to-buffer): Fix doc-string typo.
18479
18480 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
18481
18482 * eshell/eshell.el (eshell-command): Avoid using hooks.
18483
18484 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
18485
18486 * bindings.el ([M-left],[M-right]): Bind to left-word and
18487 right-word respectively.
18488
18489 2011-10-07 Glenn Morris <rgm@gnu.org>
18490
18491 * cus-start.el (debug-on-quit): Fix custom type.
18492
18493 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
18494
18495 * subr.el (define-key-after): Clarify that the function is not
18496 useful for non-menu keymaps.
18497
18498 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
18499
18500 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
18501
18502 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
18503 in current minibuffer (Fix bug with recursive minibuffers).
18504
18505 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
18506
18507 * progmodes/gdb-mi.el (gdb): Doc fix.
18508
18509 2011-10-05 Martin Rudalics <rudalics@gmx.at>
18510
18511 * window.el (frame-auto-hide-function): New option replacing
18512 frame-auto-delete. Suggested by Stefan Monnier.
18513 (window--delete): Call frame-auto-hide-function instead of
18514 investigating frame-auto-delete.
18515 (window-point-1, set-window-point-1): New functions.
18516 (window-in-direction, record-window-buffer, window-state-get-1)
18517 (display-buffer-record-window): Use window-point-1 instead of
18518 window-point.
18519 (set-window-buffer-start-and-point): Use set-window-point-1.
18520
18521 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
18522
18523 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
18524
18525 2011-10-05 Glenn Morris <rgm@gnu.org>
18526
18527 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
18528 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
18529
18530 2011-10-05 Leo Liu <sdl.web@gmail.com>
18531
18532 * subr.el (read-char-choice): Fix argument to buffer-live-p which
18533 works with buffer object.
18534
18535 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
18536
18537 * mpc.el (mpc-tool-bar-map): Add labels.
18538
18539 2011-10-04 Glenn Morris <rgm@gnu.org>
18540
18541 * calendar/holidays.el (calendar-check-holidays): Doc fix.
18542
18543 2011-10-04 Martin Rudalics <rudalics@gmx.at>
18544
18545 * window.el (window--delete): New function.
18546 (frame-auto-delete): Resuscitate option.
18547 (bury-buffer, replace-buffer-in-windows)
18548 (quit-window): Rewrite using window--delete.
18549 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
18550 Pass display-buffer-mark-dedicated to window--display-buffer-2
18551 (Bug#9639).
18552
18553 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
18554
18555 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
18556 returns a list (bug#9554). Add remote file name completion.
18557 * comint.el (comint--table-subvert): Curry and get quote&unquote
18558 functions as arguments.
18559 (comint--complete-file-name-data): Adjust call accordingly.
18560 * pcomplete.el (pcomplete--table-subvert): Remove.
18561 (pcomplete-completions-at-point): Use comint--table-subvert instead.
18562
18563 * minibuffer.el (completion-table-case-fold): Use currying.
18564 (completion--styles-type, completion--cycling-threshold-type):
18565 New constants.
18566 (completion-styles, completion-category-overrides)
18567 (completion-cycle-threshold): Use them.
18568 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
18569 completion-table-case-fold.
18570
18571 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
18572
18573 * minibuffer.el (completion-category-overrides): Fix type of styles
18574 and add more user friendly tags (bug#9660).
18575
18576 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
18577
18578 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
18579 (mule-input-method-string): New widget.
18580 (default-input-method, language-info-custom-alist): Use it.
18581
18582 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
18583
18584 * pcomplete.el: Require comint.
18585 (pcomplete--common-suffix): Remove.
18586 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
18587 (pcomplete--table-subvert): Sync with comint--table-subvert.
18588 (pcomplete--entries): Use comint-completion-file-name-table.
18589 * comint.el (comint-unquote-filename): Simplify.
18590 (comint-completion-file-name-table): New function (bug#9616).
18591 (comint--complete-file-name-data): Use it.
18592
18593 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
18594 (pcmpl-gnu-tar-buffer): Remove.
18595 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
18596 around. Make sure pcomplete-suffix-list is only changed temporarily.
18597 Don't look inside the tar's file if it's too large.
18598
18599 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
18600
18601 * cus-edit.el (custom-mode-map):
18602 * epa.el (epa-key-list-mode-map):
18603 * man.el (Man-mode-map):
18604 * startup.el (splash-screen-keymap):
18605 * simple.el (special-mode-map): Use scroll-up-command and
18606 scroll-down-command.
18607
18608 * progmodes/idlw-help.el (idlwave-help-mode-map):
18609 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
18610 * net/newst-plainview.el (newsticker-mode-map):
18611 * emulation/ws-mode.el (wordstar-mode-map):
18612 * emulation/vi.el (vi-com-map):
18613 * calc/calc-graph.el (calc-graph-show-dumb):
18614 * term/sun.el (terminal-init-sun):
18615 * term/ns-win.el (global-map):
18616 * progmodes/grep.el (grep-mode-map):
18617 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
18618 * mail/rmail.el (rmail-mode-map):
18619 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
18620
18621 * custom.el (custom-safe-themes, load-theme): Treat value of t for
18622 custom-safe-themes as special.
18623
18624 2011-10-01 Julien Danjou <julien@danjou.info>
18625
18626 * notifications.el (notifications-notify): Fix docstring.
18627
18628 2011-10-01 Per Starbäck <per@starback.se>
18629
18630 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
18631
18632 2011-09-30 Martin Rudalics <rudalics@gmx.at>
18633
18634 * startup.el (command-line-1): Fix last fix by inserting
18635 initial-scratch-message into *scratch* before displaying it.
18636 (Bug#9605) and (Bug#9636)
18637
18638 2011-09-29 Eli Zaretskii <eliz@gnu.org>
18639
18640 * simple.el (line-move): If auto-hscroll-mode is disabled and the
18641 window is hscrolled, move by logical lines. (Bug#9607)
18642 (line-move-visual): Update the doc string to the above effect.
18643
18644 2011-09-29 Martin Rudalics <rudalics@gmx.at>
18645
18646 * window.el (display-buffer-record-window): When WINDOW is the
18647 selected window use `point' instead of `window-point'. (Bug#9626)
18648
18649 * startup.el (command-line-1): Use insert-before-markers when
18650 inserting initial-scratch-message. (Bug#9605)
18651
18652 * help.el (help-window): Remove variable.
18653
18654 2011-09-29 Glenn Morris <rgm@gnu.org>
18655
18656 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
18657
18658 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
18659
18660 * descr-text.el (describe-char-categories): Accept category
18661 descriptions more than one line long.
18662
18663 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
18664
18665 * simple.el (delete-trailing-whitespace): Fix last change.
18666
18667 * progmodes/perl-mode.el (perl-syntax-propertize-function):
18668 Don't confuse "y => 3" as the beginning of a `y' operation.
18669
18670 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
18671 object has more than 4 slots (bug#9613).
18672
18673 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
18674
18675 * subr.el (with-output-to-temp-buffer):
18676 * net/quickurl.el (quickurl, quickurl-browse-url):
18677 Fix typos in docstrings.
18678
18679 2011-09-27 Eli Zaretskii <eliz@gnu.org>
18680
18681 * minibuffer.el (completion-styles)
18682 (completion-category-overrides): Cross reference each other in doc
18683 strings.
18684
18685 2011-09-27 Glenn Morris <rgm@gnu.org>
18686
18687 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
18688 to split-string. (Bug#9606)
18689
18690 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
18691
18692 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
18693 (bug#9615).
18694
18695 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
18696
18697 * emacs-lisp/package.el (list-packages): Fix echo area message.
18698
18699 2011-09-27 Leo Liu <sdl.web@gmail.com>
18700
18701 * ido.el (ido-read-internal): Accept cons cell HIST arg.
18702
18703 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
18704
18705 * net/dbus.el (dbus-unregister-object): Don't release services for
18706 registered signals. (Bug#9581)
18707
18708 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
18709
18710 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
18711 function that picks between cfengine 2 and 3 support
18712 automatically. Update docs accordingly.
18713
18714 2011-09-22 Kenichi Handa <handa@m17n.org>
18715
18716 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
18717 ZERO.
18718 (indian-itrans-v5-table-for-tamil): New variable.
18719 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
18720
18721 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
18722
18723 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
18724 that's true if the current command involved collapsing of text.
18725 It's reset to false at the beginning of the next command.
18726 (allout-post-command-business): Move the cursor to the beginning
18727 of entry if the cursor is hidden and collapsing activity just
18728 happened.
18729
18730 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
18731
18732 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
18733 tracking (Bug#9541).
18734
18735 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
18736
18737 * net/newst-reader.el (newsticker-html-renderer)
18738 (newsticker-show-news): Automatically load html rendering package
18739 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
18740 because w3m-fill-column is let-bound" and the error "Symbol's value
18741 as variable is void: w3m-fill-column".
18742
18743 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
18744
18745 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
18746 Release services only if they are defined. (Bug#9581)
18747
18748 2011-09-23 Richard Stallman <rms@gnu.org>
18749
18750 * textmodes/paragraphs.el (forward-sentence): For backwards case,
18751 distinguish start of paragraph from start of its text.
18752
18753 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
18754
18755 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
18756 (rmail-generate-viewer-buffer): Put that hook on view buffer.
18757 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
18758
18759 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
18760
18761 * international/mule-diag.el (mule-diag): Insert a newline after
18762 each fontset description.
18763
18764 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
18765
18766 * simple.el (delete-trailing-whitespace):
18767 Document last change; simplify.
18768
18769 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
18770
18771 * simple.el (delete-trailing-whitespace): Also delete
18772 extra newlines at the end of the buffer.
18773
18774 * textmodes/picture.el: Make motion commands obey shift-select-mode.
18775 (picture-newline): Use forward-line so as to ignore fields.
18776
18777 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
18778
18779 * subr.el (with-wrapper-hook): Fix edebug spec.
18780
18781 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
18782
18783 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
18784 (bug#4538).
18785
18786 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
18787
18788 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
18789 Fix nasty bug using wrong cached values.
18790
18791 2011-09-23 Alan Mackenzie <acm@muc.de>
18792
18793 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
18794
18795 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
18796
18797 * window.el (pop-to-buffer): Ensure right window is selected if we
18798 chose another frame.
18799
18800 2011-09-22 Eli Zaretskii <eliz@gnu.org>
18801
18802 * simple.el (what-cursor-position): Use get-char-property-change
18803 and next-single-char-property-change, to be able to show display
18804 properties that come from overlays as well as text properties.
18805
18806 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
18807
18808 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
18809
18810 * cmuscheme.el (run-scheme, switch-to-scheme):
18811 * cus-edit.el (customize-group, custom-buffer-create)
18812 (customize-browse):
18813 * info.el (info):
18814 * shell.el (shell):
18815 * mail/sendmail.el (mail):
18816 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
18817
18818 2011-09-22 Richard Stallman <rms@gnu.org>
18819
18820 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
18821 move back only to line beg, don't move back over blank lines.
18822
18823 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
18824
18825 * files.el (copy-directory): Set directory attributes only in case
18826 they could be retrieved from the source directory. (Bug#9565)
18827
18828 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
18829
18830 * progmodes/hideshow.el (hs-looking-at-block-start-p)
18831 (hs-find-block-beginning, hs-hide-level-recursive):
18832 Ignore strings as well as comments. (Bug#9502)
18833
18834 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
18835
18836 * progmodes/sql.el (sql-comint-postgres):
18837 Convert port number to a string. (Bug#9566)
18838
18839 2011-09-22 Martin Rudalics <rudalics@gmx.at>
18840
18841 * window.el (quit-window): Undedicate window when switching to
18842 previous buffer. Reported by Thierry Volpiatto
18843 <thierry.volpiatto@gmail.com>.
18844 (special-display-popup-frame): When popping up a new frame reset
18845 its previous buffers to nil. Simplify code.
18846
18847 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
18848
18849 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
18850 and process filter, as done also in `shell-command'.
18851
18852 2011-09-21 Martin Rudalics <rudalics@gmx.at>
18853
18854 * window.el (set-window-buffer-start-and-point):
18855 Call set-window-start with NOFORCE argument t.
18856 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
18857 (quit-window): Reword doc-string. Handle new format of
18858 quit-restore parameter. Don't delete window if it has a
18859 previous buffer we can show instead of the present one.
18860 (display-buffer-record-window): Rewrite using a new format for
18861 the quit-restore window parameter
18862 (special-display-popup-frame, display-buffer-same-window)
18863 (display-buffer-reuse-window, display-buffer-pop-up-frame)
18864 (display-buffer-pop-up-window, display-buffer-use-some-window):
18865 Adapt symbol passed to display-buffer-record-window.
18866 * help.el (help-window-setup): Handle new format of quit-restore
18867 parameter.
18868
18869 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
18870
18871 * faces.el (face-list): Fix docstring (bug#9564).
18872
18873 * window.el (display-buffer--action-function-custom-type):
18874 Don't include internal functions in the Custom interface.
18875
18876 2011-09-20 Juri Linkov <juri@jurta.org>
18877
18878 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
18879 (Info-forward-node, Info-backward-node, Info-next-preorder)
18880 (Info-last-preorder): Use it. (Bug#9528)
18881
18882 2011-09-20 Juri Linkov <juri@jurta.org>
18883
18884 * info.el (Info-last-preorder): Visit last menu item only when
18885 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
18886
18887 2011-09-20 Julien Danjou <julien@danjou.info>
18888
18889 * password-cache.el (password-cache-remove): Remove entries even if the
18890 value is nil, so that password with a nil value (negative caching) is
18891 possible to invalidate.
18892
18893 2011-09-20 Lawrence Mitchell <wence@gmx.li>
18894
18895 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
18896 all whitespace around breakpoint. (Bug#9553)
18897 (f90-find-breakpoint): Only break at whitespace inside a comment.
18898
18899 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
18900
18901 * minibuffer.el (completion-file-name-table): Keep track of errors.
18902 (completion-table-with-predicate): Handle the case where pred1 is nil.
18903 * pcomplete.el (pcomplete-completions-at-point): Simplify.
18904
18905 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
18906
18907 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
18908 (debugger-return-value): Signal an error if the debugging context does
18909 not await any return value.
18910
18911 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
18912 * image-mode.el (image-toggle-display-text)
18913 (image-toggle-display-image): Stay away from evil `intangible'.
18914
18915 2011-09-19 Leo Liu <sdl.web@gmail.com>
18916
18917 * replace.el (occur-revert-arguments): Make it permanent-local.
18918 (occur-mode): Don't call font-lock-defontify.
18919
18920 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
18921
18922 * net/ldap.el (ldap-search-internal): Don't push empty search
18923 result (Bug#9508).
18924
18925 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
18926
18927 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
18928
18929 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
18930
18931 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
18932 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
18933
18934 2011-09-18 Juri Linkov <juri@jurta.org>
18935
18936 * buff-menu.el (Buffer-menu-mode-map):
18937 * dired.el (dired-mode-map):
18938 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
18939 (lisp-interaction-mode-map):
18940 * emacs-lisp/package.el (package-menu-mode-map):
18941 * epa.el (epa-key-list-mode-map):
18942 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
18943 (menu-bar-options-menu):
18944 * outline.el (outline-mode-menu-bar-map):
18945 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
18946 * vc/vc-dir.el (vc-dir-menu-map):
18947 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
18948 Capitalize non-function content words in menu item strings.
18949
18950 * dired.el (dired-mode-map): Add menu item for
18951 `image-dired-dired-toggle-marked-thumbs'.
18952
18953 2011-09-18 Juri Linkov <juri@jurta.org>
18954
18955 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
18956 to `isearch-case-fold-search' and restore its original value
18957 after the `isearch-mode' call.
18958
18959 2011-09-18 Juri Linkov <juri@jurta.org>
18960
18961 * progmodes/grep.el (grep-process-setup): Don't check code for 1
18962 because `zgrep' returns 1 for successful matches (bug#9226).
18963
18964 2011-09-18 Juri Linkov <juri@jurta.org>
18965
18966 * info.el (Info-extract-menu-node-name): Check the second match
18967 for empty string (second test-case of bug#9528).
18968 (Info-last-preorder): Let-bind `Info-history' to nil to not add
18969 intermediate nodes to the history (first test-case of bug#9528).
18970
18971 2011-09-18 Juri Linkov <juri@jurta.org>
18972
18973 * info.el (Info-mode-syntax-table): New variable.
18974 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
18975
18976 2011-09-18 Juri Linkov <juri@jurta.org>
18977
18978 * info.el (Info-file-supports-index-cookies):
18979 Increment line-beginning-position's arg from 3 to 4 because makeinfo
18980 outputs one more line for long file names (bug#4142).
18981
18982 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
18983
18984 * newcomment.el (comment-normalize-vars): If prompting for
18985 comment-start, set comment-start-skip too (Bug#8424).
18986
18987 2011-09-18 Johan Bockgård <bojohan@gnu.org>
18988
18989 * icomplete.el: Fix previous fix of Bug#5849.
18990 (icomplete-mode): Don't set completion-show-inline-help.
18991 (icomplete-minibuffer-setup): Set completion-show-inline-help
18992 locally during icompletion.
18993
18994 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
18995
18996 * woman.el (woman2-process-escapes): Don't delete unrecognized
18997 escapes (Bug#7843).
18998
18999 * files.el (inhibit-first-line-modes-regexps): Add image files.
19000 (hack-local-variables-prop-line): Return nil for malformed
19001 prop-lines (Bug#9044).
19002
19003 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
19004
19005 * net/tramp.el (top): Don't require 'shell.
19006 (tramp-methods): Fix docstring.
19007 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
19008 Return complete remote file name. Handle "smb" case.
19009 Use `tramp-tmpdir', if defined for the respective method.
19010 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
19011
19012 * net/tramp-compat.el (top): Require 'shell.
19013
19014 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
19015 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
19016 `tramp-current-host'.
19017 (tramp-get-remote-tmpdir): Remove.
19018
19019 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
19020 `tramp-tmpdir' entries.
19021 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
19022 (tramp-smb-handle-file-attributes): Ignore errors.
19023 (tramp-smb-wait-for-output): Check also for process end.
19024
19025 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
19026
19027 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
19028 when sending QUIT (bug#9312).
19029
19030 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
19031
19032 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
19033 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
19034 occur-mode-display-occurrence.
19035 (occur-edit-mode): Add usage message.
19036 (occur-cease-edit): New command.
19037 (occur-after-change-function): Use text properties to find the
19038 position of the prefix text.
19039 (occur-engine): Set stickiness of prefix text properties.
19040
19041 2011-09-17 Glenn Morris <rgm@gnu.org>
19042
19043 * progmodes/etags.el (complete-tag):
19044 Fix call to completion-in-region. (Bug#9526)
19045
19046 2011-09-17 Juri Linkov <juri@jurta.org>
19047
19048 * textmodes/ispell.el (ispell-word): Add to the error message
19049 the word, ispell program name and current dictionary (bug#9121).
19050 (ispell-tex-arg-end): Capitalize "error" in the error message.
19051
19052 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
19053
19054 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
19055 check. (Bug#4251)
19056
19057 2011-09-17 Juri Linkov <juri@jurta.org>
19058
19059 * window.el (window-safe-min-height, window-safe-min-width):
19060 Fix typos (followup to bug#9522).
19061
19062 2011-09-17 Sven Joachim <svenjoac@gmx.de>
19063
19064 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
19065
19066 2011-09-16 Eli Zaretskii <eliz@gnu.org>
19067
19068 * simple.el (line-move): If goal-column is set, move by logical
19069 lines, not by display lines. (Bug#971)
19070 (next-line, previous-line, goal-column, line-move-visual): Doc fix
19071 to reflect the above change.
19072
19073 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
19074
19075 * image.el (imagemagick-register-types): Use regexp-opt.
19076
19077 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
19078
19079 * window.el (display-buffer-base-action): Rename from
19080 display-buffer-default-action. Make default value empty.
19081 (display-buffer-overriding-action): Convert to defvar.
19082 (display-buffer-fallback-action): New var.
19083
19084 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
19085
19086 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
19087 declaration.
19088 (package--add-to-archive-contents): If there is a duplicate entry
19089 with an older version, remove it.
19090 (package-menu-mark-delete, package-menu-mark-install)
19091 (package-menu-mark-unmark): Make unused args optional.
19092 (package-menu-mark-obsolete-for-deletion):
19093 Use package-menu-get-status instead of a regexp search.
19094 (package-menu-get-status): Use tabulated-list-entry.
19095 (package-menu-mark-upgrades): New command.
19096 (package-menu-mode-map): Bind it to U. Add it to menu bar.
19097 (package-menu-execute): Do installation before deletion.
19098 (package-menu-refresh, package-menu-execute): Use derived-mode-p
19099 instead of checking major-mode.
19100 (package-menu--find-upgrades): New function.
19101
19102 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
19103
19104 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
19105 passwords in the log buffer.
19106 (smtpmail-process-filter): Update the process marker so that the
19107 "broken by peer" status message is inserted in the right place.
19108
19109 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
19110
19111 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
19112 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
19113 bibtex-completion-at-point-function.
19114 (bibtex-completion-at-point-function): Use them.
19115
19116 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
19117
19118 * mpc.el (mpc-constraints-tag-lookup): New function.
19119 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
19120 also to browser "album|playlist".
19121
19122 2011-09-14 Juri Linkov <juri@jurta.org>
19123
19124 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
19125 (isearch-edit-string): Use length of `isearch-string' when
19126 `isearch-fail-pos' returns nil.
19127 (isearch-message): Remove duplicate code and call
19128 `isearch-fail-pos' with arg `t'.
19129
19130 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
19131
19132 * replace.el (occur-mode-goto-occurrence): Don't force using other
19133 window (Bug#9499).
19134
19135 * dired-aux.el (dired-do-chmod): Don't provide initial input.
19136
19137 2011-09-14 Martin Rudalics <rudalics@gmx.at>
19138
19139 * window.el (display-buffer-window): Remove.
19140 (display-buffer-record-window): Use help-setup window parameter
19141 instead of variable display-buffer-window.
19142 (display-buffer-function, special-display-buffer-names)
19143 (special-display-function): Mention help-setup parameter instead
19144 of display-buffer-window in doc-string.
19145 * help.el (help-window-setup): New argument help-window.
19146 Use help-window-setup parameter instead of display-buffer-window.
19147 Reword some messages.
19148 (with-help-window): Pass window used for displaying the buffer
19149 to help-window-setup. Don't set display-buffer-window.
19150
19151 2011-09-13 Glenn Morris <rgm@gnu.org>
19152
19153 * emacs-lisp/debug.el (debugger-make-xrefs):
19154 Preserve point. (Bug#9462)
19155
19156 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
19157
19158 * window.el (window-deletable-p): Use next-frame.
19159
19160 2011-09-13 Martin Rudalics <rudalics@gmx.at>
19161
19162 * window.el (window-auto-delete): Remove.
19163 (window-deletable-p): Remove argument FORCE. Don't deal with
19164 dedication and previous buffers.
19165 (switch-to-prev-buffer): Don't delete window.
19166 (delete-windows-on): Delete a window's frame if and only if the
19167 window is dedicated.
19168 (replace-buffer-in-windows): Delete buffer's window or frame if
19169 and only if window is dedicated.
19170 (quit-window): Handle quit-restore as before last change.
19171 (bury-buffer): Delete window only if window-deletable-p returns t.
19172
19173 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
19174
19175 * window.el (window-deletable-p): Never delete the last frame on a
19176 given terminal.
19177
19178 2011-09-13 Glenn Morris <rgm@gnu.org>
19179
19180 * help.el (describe-key-briefly): Copy previous standard-output change.
19181
19182 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
19183
19184 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
19185
19186 2011-09-13 Glenn Morris <rgm@gnu.org>
19187
19188 * emacs-lisp/lisp-mode.el (lisp-indent-function):
19189 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
19190
19191 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
19192
19193 * dired-aux.el (dired-mark-read-string): Don't return default
19194 value on empty input (Bug#9361).
19195 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
19196 Omit initial minibuffer contents.
19197 (dired-do-chmod): Signal an error on empty input.
19198 (dired-mark-read-string): Don't return default on empty input.
19199
19200 * files.el (file-modes-symbolic-to-number): Doc fix.
19201
19202 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
19203
19204 * international/mule-cmds.el (ucs-completions): Remove.
19205 (read-char-by-name): Use complete-with-action instead; add metadata.
19206
19207 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
19208
19209 * window.el (display-buffer--action-function-custom-type)
19210 (display-buffer--action-custom-type): New vars.
19211 (display-buffer-alist, display-buffer-default-action)
19212 (display-buffer-overriding-action): Add defcustom types.
19213
19214 * frame.el (delete-other-frames): Doc fix (Bug#276).
19215
19216 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
19217
19218 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
19219
19220 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
19221
19222 Change modes that used same-window-* vars to use switch-to-buffer.
19223
19224 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
19225 Use switch-to-buffer.
19226
19227 * cus-edit.el (customize-group, custom-buffer-create)
19228 (customize-browse, custom-buffer-create-other-window):
19229 Use switch-to-buffer or switch-to-buffer-other-window.
19230
19231 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
19232 (Info-prev, Info-up, Info-speedbar-goto-node)
19233 (info-display-manual): Use switch-to-buffer.
19234 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
19235
19236 * mail/sendmail.el (mail): Use switch-to-buffer.
19237 (mail-recover): Use switch-to-buffer-other-window.
19238
19239 * cmuscheme.el (run-scheme, switch-to-scheme):
19240 * ielm.el (ielm):
19241 * shell.el (shell):
19242 * net/rlogin.el (rlogin):
19243 * net/telnet.el (telnet, rsh):
19244 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
19245
19246 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
19247
19248 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
19249
19250 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
19251
19252 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
19253 so don't mention it (bug#9301).
19254 (dired-sort-toggle-or-edit): Clarify string further.
19255
19256 * faces.el (face-spec-set-match-display): Make `(type graphic)'
19257 match `x', `w32' and `ns', like the manual says (bug#9029).
19258
19259 * subr.el (eval-after-load): Doc string clarification (bug#9125).
19260 (process-kill-buffer-query-function): Mention the buffer name in
19261 the query.
19262
19263 * image-mode.el (image-next-line): The line parameter is mandatory
19264 (bug#9258).
19265
19266 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
19267 which can be useful (bug#9301).
19268
19269 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
19270
19271 * subr.el (match-string): Mention that the current buffer should
19272 be the same as the search was done in (bug#9282).
19273
19274 * facemenu.el: Disable the remove-* commands if the mark isn't
19275 active (bug#9162).
19276
19277 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
19278
19279 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
19280 of display-buffer.
19281 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
19282
19283 * replace.el (occur-mode-goto-occurrence)
19284 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
19285 and display-buffer.
19286
19287 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
19288 display-buffer.
19289
19290 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
19291 special-display and same-window variables.
19292 (mail-other-window): Use switch-to-buffer-other-window.
19293 (mail-other-frame): USe switch-to-buffer-other-frame.
19294
19295 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
19296 Use display-buffer-other-frame.
19297 (gdb-display-gdb-buffer): Use pop-to-buffer.
19298
19299 * progmodes/gud.el (gud-goto-info): Use info-other-window.
19300
19301 * progmodes/python.el: Don't set same-window-buffer-names.
19302
19303 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
19304
19305 * window.el (display-buffer-alist): Add *Python*.
19306
19307 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
19308
19309 * window.el (display-buffer-alist): Add entry for buffers
19310 previously handled same-window-*.
19311 (display-buffer-alist, display-buffer-default-action)
19312 (display-buffer-overriding-action): Mark as risky.
19313 (display-buffer-alist): Document action function changes.
19314 (display-buffer--same-window-action)
19315 (display-buffer--other-frame-action): New variables.
19316 (switch-to-buffer, display-buffer-other-frame): Use them.
19317 (display-buffer): Rename reuse-frame entry to reusable-frames.
19318 (display-buffer-reuse-selected-window): Function deleted.
19319 (display-buffer-reuse-window): Handle reusable-frames alist entry.
19320 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
19321 (display-buffer-special): New function.
19322 (display-buffer--maybe-pop-up-frame-or-window): Rename from
19323 display-buffer-reuse-or-pop-window. Split off special-display
19324 part into display-buffer-special.
19325 (display-buffer-use-some-window): Don't perform any special
19326 pop-up-frames handling.
19327 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
19328 (display-buffer--maybe-same-window): Rename from
19329 display-buffer-maybe-same-window.
19330
19331 * info.el: Don't set same-window-regexps.
19332 (info-setup): New function.
19333 (info-other-window, info): Call it.
19334
19335 * cus-edit.el: Don't set same-window-regexps.
19336 (customize-group): New argument.
19337 (customize-group-other-window): Use it.
19338 (customize-face, customize-face-other-window): Likewise.
19339 (custom-buffer-create-other-window): Use pop-to-buffer directly.
19340
19341 * net/rlogin.el:
19342 * net/telnet.el:
19343 * progmodes/gud.el: Don't set same-window-regexps.
19344
19345 * cmuscheme.el:
19346 * ielm.el:
19347 * shell.el:
19348 * mail/sendmail.el:
19349 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
19350
19351 2011-09-10 Juri Linkov <juri@jurta.org>
19352
19353 * isearch.el (isearch-edit-string): Remove obsolete mention of
19354 `C-w' (`isearch-yank-word-or-char') from docstring.
19355 (isearch-query-replace): Fix typo in docstring (bug#9466).
19356
19357 2011-09-10 Juri Linkov <juri@jurta.org>
19358
19359 * paren.el (show-paren-function): Don't show escaped parens.
19360 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
19361
19362 2011-09-10 Eli Zaretskii <eliz@gnu.org>
19363
19364 * mail/sendmail.el (mml-to-mime, mml-attach-file)
19365 (mm-default-file-encoding): Remove autoload forms, they are
19366 replaced with autoload cookies in mml.el and mm-encode.el.
19367 (mail-add-attachment): New command.
19368 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
19369 (mail-mode): Mention mail-insert-file and mail-add-attachment in
19370 the doc string.
19371 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
19372
19373 2011-09-10 Reuben Thomas <rrt@sc3d.org>
19374
19375 * simple.el (count-words-region): Use buffer if there's no region
19376 (bug#9429).
19377
19378 2011-09-09 Juri Linkov <juri@jurta.org>
19379
19380 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
19381 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
19382 (wdired-isearch-filter-read-only): New function. (Bug#6362)
19383
19384 2011-09-09 Alan Mackenzie <acm@muc.de>
19385
19386 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
19387 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
19388
19389 2011-09-09 Eli Zaretskii <eliz@gnu.org>
19390
19391 Fix for Savannah bug#9392.
19392 * simple.el (mail-encode-mml): New defvar.
19393
19394 * mail/rmail.el (mail-encode-mml): Add a defvar.
19395 (rmail-enable-mime-composing): Default to t.
19396 (rmail-forward): Use MIME method of forwarding only if both
19397 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
19398 Set mail-encode-mml non-nil if the MIME method was used.
19399
19400 * mail/sendmail.el (mml-to-mime): Add autoload form.
19401 (mail-encode-mml): Add a defvar.
19402 (mail-mode): Make mail-encode-mml buffer-local and initialize it
19403 to nil.
19404 (mail-send): If mail-encode-mml is non-nil, run the outgoing
19405 message through mml-to-mime, and reset mail-encode-mml to nil.
19406
19407 2011-09-09 Glenn Morris <rgm@gnu.org>
19408
19409 * woman.el (woman-if-body): When processing an .el block,
19410 do not delete the next .el block as well. (Bug#9447)
19411 (woman-special-characters): Add oq, cq, and hy characters.
19412
19413 2011-09-08 Martin Rudalics <rudalics@gmx.at>
19414
19415 * window.el (window-deletable-p): Make sure window is live before
19416 invoking window-prev-buffers.
19417
19418 2011-09-08 Leo Liu <sdl.web@gmail.com>
19419
19420 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
19421
19422 2011-09-08 Juri Linkov <juri@jurta.org>
19423
19424 * progmodes/compile.el (compilation-environment): Make it
19425 a defcustom (bug#8340).
19426
19427 2011-09-08 Martin Rudalics <rudalics@gmx.at>
19428
19429 * window.el (frame-auto-delete): Rename to window-auto-delete.
19430 Make it control auto-deletion of windows and/or frames.
19431 (window-deletable-p): New argument FORCE. Rewrite conditions
19432 for deleting window/frame. (Bug#9419)
19433 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
19434 Rewrite handling of case when window/frame can be deleted.
19435 (delete-windows-on): Call window-deletable-p with new FORCE
19436 argument t. (Bug#9456)
19437
19438 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
19439
19440 * help-mode.el (help-mode): Restore autoload.
19441
19442 2011-09-07 Juri Linkov <juri@jurta.org>
19443
19444 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
19445 `compilation-environment'. Set buffer-local
19446 `compilation-environment' to `thisenv' later after (funcall mode).
19447 (Bug#8340)
19448
19449 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
19450 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
19451 instead of replacing its value. (Bug#8340)
19452
19453 2011-09-07 Juri Linkov <juri@jurta.org>
19454
19455 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
19456 based on text properties put by `grep-filter' instead of matching
19457 escape sequences.
19458 (grep-mode): Set buffer-local `compilation-error-screen-columns'
19459 to the value of `grep-error-screen-columns' (bug#9438).
19460
19461 2011-09-07 Juri Linkov <juri@jurta.org>
19462
19463 * simple.el (next-error-highlight, next-error-highlight-no-select):
19464 Doc fix (bug#9432).
19465
19466 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
19467
19468 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
19469 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
19470
19471 2011-09-07 Leo Liu <sdl.web@gmail.com>
19472
19473 * net/rcirc.el (rcirc-mode): Conditionally initialize
19474 rcirc-input-ring.
19475
19476 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
19477
19478 * emacs-lisp/find-func.el (find-function-C-source): Only set
19479 find-function-C-source-directory after checking that we found a source
19480 file there (bug#9440).
19481
19482 2011-09-06 Alan Mackenzie <acm@muc.de>
19483
19484 * isearch.el (isearch-other-meta-char): Wherever a key list is
19485 unread, "unread" the prefix arg, too. This fixes bug #8901.
19486
19487 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
19488
19489 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
19490
19491 2011-09-05 Juri Linkov <juri@jurta.org>
19492
19493 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
19494
19495 2011-09-05 Juri Linkov <juri@jurta.org>
19496
19497 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
19498 keeping point where processing of grep matches begins, and
19499 continue to delete remaining escape sequences from the same point.
19500 (grep-filter): Make leading zero optional in "0?1;31m" because
19501 git-grep emits "\033[1;31m" escape sequences unlike expected
19502 "\033[01;31m" as GNU Grep does (bug#9408).
19503 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
19504
19505 2011-09-05 Juri Linkov <juri@jurta.org>
19506
19507 * subr.el (y-or-n-p): Capitalize "yes".
19508
19509 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
19510
19511 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
19512 `tramp-cache-unload-hook' where appropriate.
19513 (tramp-methods): Rename `tramp-remote-sh' to
19514 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
19515 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
19516
19517 * net/tramp-sh.el (top): Don't require 'shell.
19518 (tramp-methods): Add `tramp-remote-shell' and
19519 `tramp-remote-shell-args' entries.
19520 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
19521 (tramp-sh-handle-shell-command): Remove.
19522 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
19523 Use `tramp-remote-shell'.
19524
19525 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
19526
19527 * mail/sendmail.el (sendmail-query-once-function): Delete.
19528 (sendmail-query-once): Save directly to send-mail-function.
19529 Update message-send-mail-function too.
19530
19531 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
19532
19533 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
19534
19535 * progmodes/python.el (python-mode-map): Use correct function to
19536 start python interpreter from menu-bar (as reported by Geert
19537 Kloosterman).
19538 (inferior-python-mode-map): Fix typo.
19539 (python-shell-map): Remove.
19540
19541 2011-09-03 Deniz Dogan <deniz@dogan.se>
19542
19543 * net/rcirc.el (rcirc-print): Simplify code for
19544 rcirc-scroll-show-maximum-output. There is no need to walk
19545 through all windows to find the right one.
19546
19547 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
19548
19549 * help.el (help-return-method): Doc fix.
19550
19551 2011-09-03 Martin Rudalics <rudalics@gmx.at>
19552
19553 * window.el (window-deletable-p): Don't return a non-nil value
19554 when there's a buffer that was shown in the window before.
19555 (Bug#9419)
19556 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
19557 Set window's previous buffers to nil.
19558
19559 2011-09-03 Eli Zaretskii <eliz@gnu.org>
19560
19561 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
19562 newline before and after the tag line, so it doesn't interfere
19563 with determining the paragraph direction of bidirectional text.
19564
19565 2011-09-03 Leo Liu <sdl.web@gmail.com>
19566
19567 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
19568
19569 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
19570
19571 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
19572 (pop-to-buffer): Change interactive spec. Pass second argument
19573 directly to display-buffer.
19574 (display-buffer): Fix interactive spec. Use functionp to
19575 distinguish between a function and a list of functions.
19576
19577 * abbrev.el (edit-abbrevs):
19578 * arc-mode.el (archive-extract):
19579 * autoinsert.el (auto-insert):
19580 * bookmark.el (bookmark-bmenu-list):
19581 * files.el (find-file):
19582 * view.el (view-buffer):
19583 * progmodes/compile.el (compilation-goto-locus):
19584 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
19585
19586 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
19587
19588 * window.el (display-buffer-alist): Doc fix.
19589 (display-buffer): Add docstring. Don't treat
19590 display-buffer-default specially.
19591 (display-buffer-reuse-selected-window)
19592 (display-buffer-same-window, display-buffer-maybe-same-window)
19593 (display-buffer-reuse-window, display-buffer-pop-up-frame)
19594 (display-buffer-pop-up-window)
19595 (display-buffer-reuse-or-pop-window)
19596 (display-buffer-use-some-window): New functions.
19597 (display-buffer-default-action): Use them.
19598 (display-buffer-default): Delete.
19599 (pop-to-buffer-1): Fix choice of actions.
19600
19601 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
19602
19603 * minibuffer.el (completion--insert-strings): Don't get confused by
19604 completion entries that end with an LF char.
19605
19606 2011-09-01 Eli Zaretskii <eliz@gnu.org>
19607
19608 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
19609
19610 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
19611
19612 * window.el (display-buffer): Restore interactive spec.
19613 (display-buffer-same-window, display-buffer-other-window):
19614 New functions.
19615 (pop-to-buffer-1): New function. Use the above.
19616 (pop-to-buffer, pop-to-buffer-same-window): Use it.
19617 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
19618
19619 * view.el (view-buffer-other-window, view-buffer-other-frame):
19620 Just use pop-to-buffer.
19621
19622 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
19623
19624 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
19625
19626 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
19627
19628 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
19629
19630 2011-08-31 Richard Stallman <rms@gnu.org>
19631
19632 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
19633 of the separation of rmail-view-buffer from rmail-buffer.
19634 If you say no to "replace original", the decrypt is in the
19635 view buffer. If you say yes, the decrypt goes into the
19636 rmail buffer also.
19637
19638 2011-08-31 Martin Rudalics <rudalics@gmx.at>
19639
19640 * window.el (display-buffer-window): Rewrite doc-string.
19641 (display-buffer-record-window): New function.
19642 (display-buffer-macro-specifiers)
19643 (display-buffer-even-window-sizes, display-buffer-set-height)
19644 (display-buffer-set-width, display-buffer-in-window)
19645 (display-buffer-reuse-window, display-buffer-split-specifiers)
19646 (display-buffer-side-specifiers, display-buffer-split-window-1)
19647 (display-buffer-split-window, display-buffer-split-atom-window)
19648 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
19649 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
19650 (display-buffer-other-window-means-other-frame)
19651 (display-buffer-normalize-special)
19652 (display-buffer-normalize-default)
19653 (display-buffer-normalize-argument)
19654 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
19655 (display-buffer-normalize-specifiers, display-buffer-frame)
19656 (display-buffer-same-window, display-buffer-same-frame)
19657 (display-buffer-other-window)
19658 (display-buffer-same-frame-other-window)
19659 (display-buffer-other-frame, pop-to-buffer-same-window)
19660 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
19661 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
19662 (switch-to-buffer-same-frame)
19663 (switch-to-buffer-other-window-same-frame)
19664 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
19665 (display-buffer-alist-set-1, display-buffer-alist-set-2)
19666 (display-buffer-alist-set): Remove.
19667 (display-buffer-function, special-display-buffer-names)
19668 (special-display-regexps, special-display-function):
19669 In doc-string refer to display-buffer-window and quit-restore
19670 parameter.
19671 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
19672 (special-display-frame-alist, special-display-popup-frame)
19673 (same-window-buffer-names, same-window-regexps, same-window-p)
19674 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
19675 (split-window-preferred-function, split-height-threshold)
19676 (split-width-threshold, window-splittable-p)
19677 (split-window-sensibly, window--try-to-split-window)
19678 (window--frame-usable-p, even-window-heights)
19679 (window--even-window-heights, window--display-buffer-1)
19680 (window--display-buffer-2, display-buffer-other-frame):
19681 Restore old Emacs 23 code, order and doc-strings where applicable.
19682 (display-buffer-default, display-buffer-assq-regexp): New functions.
19683 (display-buffer-alist): Rewrite doc-string.
19684 (display-buffer-default-action)
19685 (display-buffer-overriding-action): New variables.
19686 (display-buffer, switch-to-buffer): Rewrite.
19687 (pop-to-buffer): Restore Emacs 23 behavior but use
19688 window-normalize-buffer-to-display.
19689 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
19690 Restore Emacs 23 behavior but use
19691 window-normalize-buffer-to-switch-to.
19692 (pop-to-buffer-same-window): Rewrite.
19693 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
19694 Rewrite using Emacs 23 options.
19695
19696 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
19697
19698 * net/tramp.el (tramp-root-regexp): Remove.
19699 (tramp-completion-file-name-regexp-unified)
19700 (tramp-completion-file-name-regexp-separate)
19701 (tramp-completion-file-name-regexp-url): Don't use leading volume
19702 letter on w32 systems. (Bug#5303, Bug#9311)
19703 (tramp-drop-volume-letter): Simplify definition.
19704 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
19705
19706 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
19707
19708 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
19709 (bug#9356).
19710
19711 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
19712
19713 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
19714
19715 2011-08-29 Juri Linkov <juri@jurta.org>
19716
19717 * isearch.el (isearch-done): Don't display message "Mark saved"
19718 when arg `edit' is non-nil to prevent its flicker in the echo area.
19719
19720 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
19721
19722 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
19723 obsolete packages for deletion.
19724
19725 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
19726
19727 * help-mode.el (help-mode-map): Add special-mode-map to parent.
19728 (help-mode): Derive help-mode from special-mode. Don't invoke
19729 view-mode from help-mode.
19730 (help-xref-override-view-map): Remove.
19731 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
19732 view-mode is not used anymore.
19733
19734 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
19735
19736 * server.el (server-port): Doc fix.
19737
19738 * cus-theme.el (custom-theme-choose-mode): Inherit from
19739 special-mode (Bug#9124).
19740 (custom-theme-choose-mode-map): Add special-mode to parent.
19741
19742 2011-08-28 Alan Mackenzie <acm@muc.de>
19743
19744 * progmodes/cc-fonts.el
19745 (c-make-font-lock-BO-decl-search-function): New function.
19746 (c-basic-matchers-after - "Fontify the clauses after various
19747 keywords"): Extract the three keyword lists for the 3 erroneous
19748 constructs from the list of four, and use the new function above
19749 in place of an old one.
19750
19751 2011-08-28 Deniz Dogan <deniz@dogan.se>
19752
19753 * net/rcirc.el (rcirc-insert-prev-input)
19754 (rcirc-insert-next-input): Remove unused argument.
19755
19756 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
19757
19758 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
19759
19760 2011-08-27 Alan Mackenzie <acm@muc.de>
19761
19762 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
19763 handle function pointer parameters properly.
19764
19765 2011-08-27 Martin Rudalics <rudalics@gmx.at>
19766
19767 * window.el (display-buffer-reuse-window): Fix case where
19768 selected window was reused with non-nil OTHER-WINDOW argument.
19769 (Bug#9381)
19770
19771 2011-08-27 Deniz Dogan <deniz@dogan.se>
19772
19773 * net/rcirc.el (rcirc-check-auth-status): Adding support for
19774 oftc's NickServ messages.
19775
19776 2011-08-27 Glenn Morris <rgm@gnu.org>
19777
19778 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
19779
19780 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
19781
19782 * emacs-lisp/package.el (package-install): Call package-initialize
19783 if called interactively.
19784
19785 2011-08-26 Leo Liu <sdl.web@gmail.com>
19786
19787 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
19788
19789 2011-08-25 Juri Linkov <juri@jurta.org>
19790
19791 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
19792 `search-whitespace-regexp' (bug#9364).
19793
19794 2011-08-25 Juri Linkov <juri@jurta.org>
19795
19796 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
19797 `regexp-search-ring' to their global values to protect from
19798 updating by `read-from-minibuffer' (bug#9185).
19799
19800 2011-08-25 Juri Linkov <juri@jurta.org>
19801
19802 * textmodes/ispell.el (ispell-command-loop): Add newline
19803 at the end of the "Use option `i'..." line.
19804
19805 2011-08-25 Juri Linkov <juri@jurta.org>
19806
19807 * battery.el (display-battery-mode): If `battery-status-function'
19808 or `battery-mode-line-format' is nil, display the message and set
19809 `display-battery-mode' to nil (bug#9363).
19810
19811 2011-08-25 Eli Zaretskii <eliz@gnu.org>
19812
19813 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
19814 bidi-string-mark-left-to-right; they are unnecessary now.
19815
19816 2011-08-25 Deniz Dogan <deniz@dogan.se>
19817
19818 * net/quickurl.el: Documentation typo fixes.
19819
19820 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
19821
19822 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
19823
19824 2011-08-25 Glenn Morris <rgm@gnu.org>
19825
19826 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
19827
19828 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
19829 (smtpmail-via-smtp): Handle nil response from smtp.
19830
19831 2011-08-24 Juri Linkov <juri@jurta.org>
19832
19833 * proced.el (proced-marked): Inherit from `error' instead of
19834 `font-lock-warning-face'.
19835
19836 * ibuffer.el (ibuffer-marked-face): Change default face from
19837 `font-lock-warning-face' to `warning'.
19838 (ibuffer-deletion-face): Change default face from
19839 `font-lock-type-face' to `error'.
19840
19841 * battery.el (battery-update): Use the face `error' instead of
19842 `font-lock-warning-face' (bug#6117).
19843
19844 2011-08-24 Juri Linkov <juri@jurta.org>
19845
19846 * faces.el (success): Change face color from "Green3" to
19847 "ForestGreen" on light background (bug#9353).
19848
19849 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
19850
19851 * window.el (quit-window): Rename from quit-restore-window.
19852 Use same arglist as old quit-window.
19853 (frame-auto-delete): Doc fix.
19854
19855 * view.el (view-mode-exit): Use quit-window.
19856
19857 2011-08-24 Juri Linkov <juri@jurta.org>
19858
19859 * isearch.el (isearch-ring-adjust1): Start visiting previous
19860 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
19861 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
19862 for empty search string (when the last search string is reused
19863 automatically) to adjust the isearch ring to the last element and
19864 prepare the correct index for further M-p commands (bug#9185).
19865
19866 2011-08-24 Kenichi Handa <handa@m17n.org>
19867
19868 * international/ucs-normalize.el: If decomposition property of
19869 CHAR is the default one (i.e. a list of CHAR itself), treat it as
19870 nil.
19871 (nfd, nfkd): Likewise.
19872
19873 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
19874
19875 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
19876 from process filters aren't reliably transmitted to the surrounding
19877 accept-process-output.
19878 (mpc-proc-check): New function.
19879 (mpc-proc-sync): Use it (bug#8293)
19880
19881 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
19882
19883 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
19884 Add compatibility functions (bug#9313).
19885
19886 2011-08-23 Eli Zaretskii <eliz@gnu.org>
19887
19888 * cus-start.el (all): Add entry for bidi-paragraph-direction.
19889
19890 * international/uni-bidi.el: Regenerate.
19891
19892 2011-08-23 Kenichi Handa <handa@m17n.org>
19893
19894 * international/charprop.el:
19895 * international/uni-bidi.el:
19896 * international/uni-category.el:
19897 * international/uni-combining.el:
19898 * international/uni-comment.el:
19899 * international/uni-decimal.el:
19900 * international/uni-decomposition.el:
19901 * international/uni-digit.el:
19902 * international/uni-lowercase.el:
19903 * international/uni-mirrored.el:
19904 * international/uni-name.el:
19905 * international/uni-numeric.el:
19906 * international/uni-old-name.el:
19907 * international/uni-titlecase.el:
19908 * international/uni-uppercase.el: Regenerate.
19909
19910 2011-08-23 Martin Rudalics <rudalics@gmx.at>
19911
19912 * help.el (help-window-setup): Fix message displayed when other
19913 window is reused. (Bug#9341)
19914
19915 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
19916
19917 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
19918 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
19919
19920 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
19921 Mark obsolete.
19922 * shell.el (shell-parse-pcomplete-arguments): New function.
19923 (shell-completion-vars): Use it instead (bug#9160).
19924
19925 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
19926
19927 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
19928 strings and comments (bug#9333).
19929
19930 * emacs-lisp/debug.el (debug-arglist): New function.
19931 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
19932 (debug-on-entry-1): Handle interpreted closures (bug#9120).
19933
19934 2011-08-22 Juri Linkov <juri@jurta.org>
19935
19936 * progmodes/compile.el (compilation-mode-font-lock-keywords):
19937 Revert regexp that highlights output switches to its old
19938 pre-2010-10-28 value and remove one `?' from it (bug#9319).
19939
19940 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
19941 to check for empty output (bug#9226).
19942
19943 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
19944
19945 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
19946 symbol-constituent as the default, as that stops font-lock from
19947 working properly (Bug#8843).
19948
19949 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
19950
19951 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
19952 `coding-system-for-*' around the process open call to avoid
19953 auth-source side effects.
19954 (smtpmail-try-auth-methods): Expand the secret password.
19955 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
19956 probe hangs.
19957
19958 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
19959
19960 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
19961
19962 * emacs-lisp/find-func.el (find-function-noselect): New arg
19963 lisp-only.
19964
19965 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
19966 signal an error for built-in functions (Bug#6664).
19967
19968 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
19969
19970 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
19971 (smtpmail-try-auth-methods): Use it.
19972
19973 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
19974
19975 * font-lock.el (font-lock-fontify-region)
19976 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
19977 (font-lock-default-unfontify-buffer)
19978 (font-lock-default-fontify-region)
19979 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
19980
19981 * progmodes/compile.el (compilation-error-properties):
19982 Fix confusion between file struct and message struct (Bug#9319).
19983 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
19984 `ant' regexp.
19985
19986 * net/browse-url.el (browse-url-firefox): Don't call
19987 browse-url-firefox-sentinel unless using -remote (Bug#9328).
19988
19989 2011-08-20 Glenn Morris <rgm@gnu.org>
19990
19991 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
19992
19993 * tutorial.el (tutorial--default-keys): Update some default bindings.
19994
19995 * files.el (hack-local-variables): Fully ignore case for "mode:".
19996
19997 2011-08-20 Alan Mackenzie <acm@muc.de>
19998
19999 Resolve invalid use of a regexp in regexp-opt.
20000
20001 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
20002 detection for a java annotation.
20003
20004 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
20005 detection for a java annotation.
20006
20007 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
20008 handling for java.
20009 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
20010
20011 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
20012
20013 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
20014 (Bug#9274).
20015
20016 2011-08-20 Alan Mackenzie <acm@muc.de>
20017
20018 Fontify CPP expressions correctly when starting in the middle of
20019 such a construct. Mainly for when jit-lock etc. starts a chunk
20020 here.
20021
20022 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
20023 variable.
20024 (c-make-font-lock-search-form): New function, extracted from
20025 c-make-font-lock-search-function.
20026 (c-make-font-lock-search-function): Use the above function.
20027 (c-make-font-lock-context-search-function): New function.
20028 (c-cpp-matchers): Enhance the preprocessor expression case with
20029 the above function
20030 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
20031 which takes an expression.
20032
20033 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
20034
20035 2011-08-20 Martin Rudalics <rudalics@gmx.at>
20036
20037 * window.el (display-buffer-reuse-window)
20038 (display-buffer-pop-up-window): Don't reuse or split a side
20039 window.
20040
20041 2011-08-19 Glenn Morris <rgm@gnu.org>
20042
20043 * files.el (hack-local-variables-prop-line, hack-local-variables):
20044 Downcase "Mode:". (Bug#9331)
20045
20046 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
20047
20048 * international/characters.el: Add L and R categories.
20049
20050 * subr.el (bidi-string-mark-left-to-right): Rename from
20051 string-mark-left-to-right. Use category search.
20052
20053 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
20054
20055 2011-08-18 Juri Linkov <juri@jurta.org>
20056
20057 * faces.el (error, warning, success): New faces with definitions
20058 copied from old default values of `font-lock-warning-face',
20059 `compilation-warning', `compilation-info' (bug#6117).
20060
20061 * font-lock.el (font-lock-warning-face): Inherit from `error'.
20062
20063 * progmodes/compile.el (compilation-error): Inherit from `error'.
20064 (compilation-warning): Inherit from `warning'.
20065 (compilation-info): Inherit from `success'.
20066
20067 * dired.el (dired-marked): Inherit from `warning'.
20068 (dired-flagged): Inherit from `error'.
20069
20070 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
20071
20072 * mail/smtpmail.el (auth-source): Require to avoid problems with
20073 binding variables (bug#9298). Also clean up some unused
20074 autoloads.
20075
20076 * net/network-stream.el (network-stream-open-starttls):
20077 Support using starttls.el without using gnutls-cli.
20078
20079 2011-08-17 Juri Linkov <juri@jurta.org>
20080
20081 * progmodes/grep.el (rgrep): Handle the case when
20082 `grep-find-command' is a cons cell (bug#9278).
20083
20084 2011-08-17 Martin Rudalics <rudalics@gmx.at>
20085
20086 * window.el (display-buffer-pop-up-frame): Run frame creation
20087 function with BUFFER current (as special-display-popup-frame
20088 does). Reported by Drew Adams.
20089
20090 2011-08-17 Daiki Ueno <ueno@unixuser.org>
20091
20092 * epa-mail.el: Simplify GnuPG group expansion using
20093 epg-expand-group.
20094 (epa-mail-group-alist, epa-mail-group-modtime)
20095 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
20096 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
20097 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
20098 Remove.
20099
20100 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
20101
20102 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
20103
20104 2011-08-16 Alan Mackenzie <acm@muc.de>
20105
20106 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
20107 Correct, to avoid the inside of macros.
20108
20109 2011-08-16 Richard Stallman <rms@gnu.org>
20110
20111 * epa-mail.el: Handle GnuPG group definitions.
20112 (epa-mail-group-alist, epa-mail-group-modtime)
20113 (epa-mail-gnupg-conf-file): New variables.
20114 (epa-mail-parse-groups, epa-mail-sync-groups)
20115 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
20116 (epa-mail-expand-recipients): New functions.
20117 (epa-mail-encrypt): Call epa-mail-expand-recipients.
20118
20119 * mail/rmail.el (rmail-epa-decrypt): New command.
20120
20121 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
20122 Don't bind buffer-read-only, just inhibit-read-only.
20123 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
20124 (epa-decrypt-armor-in-region): Make error message clearer.
20125
20126 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
20127
20128 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
20129 and "a2b" to "ab" for `prefix'.
20130
20131 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
20132
20133 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
20134 filter groups.
20135 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
20136 Fourquet (Bug#8804).
20137
20138 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
20139
20140 * startup.el (argi): Declare as global variable (bug#9275).
20141
20142 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
20143
20144 * subr.el (string-mark-left-to-right): Search the entire string
20145 for RTL script, not just the terminating character. Doc fix.
20146
20147 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
20148
20149 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
20150 New function.
20151 (js--regexp-literal, js-syntax-propertize-function): Remove.
20152 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
20153 (js-mode-map): Don't rebind electric keys.
20154 (js-insert-and-indent): Remove.
20155 (js-mode): Setup electric-layout and electric-indent instead.
20156
20157 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
20158
20159 2011-08-12 Daiki Ueno <ueno@unixuser.org>
20160
20161 * epa.el (epa-progress-callback-function): Fix the logic of
20162 displaying progress.
20163 * epa-file.el (epa-file-insert-file-contents): Make progress
20164 display more user-friendly.
20165 (epa-file-write-region): Ditto.
20166
20167 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
20168
20169 * subr.el (string-mark-left-to-right): New function.
20170
20171 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
20172 Use string-mark-left-to-right.
20173 (list-buffers-noselect): Caller changed.
20174
20175 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
20176 Use string-mark-left-to-right.
20177 (tabulated-list-print): Recenter after moving point.
20178
20179 2011-08-10 Juri Linkov <juri@jurta.org>
20180
20181 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
20182 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
20183 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
20184
20185 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
20186
20187 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
20188 (Bug#7554).
20189
20190 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
20191
20192 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
20193 character. (Bug#6594)
20194
20195 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
20196
20197 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
20198 (image-dired--with-db-file): New macro.
20199 (image-dired-write-tags, image-dired-remove-tag)
20200 (image-dired-create-gallery-lists, image-dired-write-comments)
20201 (image-dired-get-comment, image-dired-mark-tagged-files)
20202 (image-dired-list-tags, image-dired-gallery-generate): Use it.
20203 (image-dired-gallery-generate): Use insert-file-contents.
20204
20205 * time.el (display-time-world-list, display-time-world-display):
20206 * time-stamp.el (time-stamp-string):
20207 * vc/add-log.el (add-change-log-entry): Use setenv instead of
20208 set-time-zone-rule (Bug#7337).
20209
20210 2011-08-08 Daiki Ueno <ueno@unixuser.org>
20211
20212 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
20213 (epg-error-to-string, epg-errors-to-string): New function.
20214 (epg-wait-for-completion): Reverse errors list.
20215 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
20216 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
20217 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
20218 (epg-sign-keys, epg-generate-key-from-file)
20219 (epg-generate-key-from-string): Format errors by using
20220 epg-errors-to-string (bug#9255).
20221 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
20222
20223 2011-08-07 Juri Linkov <juri@jurta.org>
20224
20225 * faces.el (list-faces-display): Remove extra angle bracket
20226 from `help-mode-map'.
20227
20228 * info.el (Info-history-toc-nodes): Doc fix.
20229
20230 * longlines.el (longlines-mode): Doc fix.
20231
20232 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
20233
20234 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
20235 of statements and in a few more cases (bug#9183).
20236
20237 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
20238 New functions.
20239 (cl-transform-lambda): Use them (bug#9239).
20240
20241 2011-08-05 Martin Rudalics <rudalics@gmx.at>
20242
20243 * window.el (display-buffer-same-window)
20244 (display-buffer-same-frame, display-buffer-other-window)
20245 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
20246 (pop-to-buffer-other-window)
20247 (pop-to-buffer-same-frame-other-window)
20248 (pop-to-buffer-other-frame): Make them defuns.
20249 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
20250
20251 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
20252
20253 * subr.el (make-composed-keymap): Move from C. Change calling
20254 convention, and improve docstring to bring attention to a subtle point.
20255 * minibuffer.el (completing-read-default): Adjust accordingly.
20256
20257 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
20258
20259 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
20260 (tramp-open-shell): Use `tramp-shell-quote-argument'.
20261
20262 * net/trampver.el: Update release number.
20263
20264 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
20265
20266 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
20267 "in" (bug#9190).
20268
20269 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
20270
20271 * mail/sendmail.el (sendmail-query-once): Restore the current
20272 buffer after querying (bug#9074).
20273
20274 * dired.el (dired-flagged): Use different faces for marked and
20275 flagged files (bug#6117).
20276
20277 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
20278 (bug#4433).
20279
20280 * ido.el (ido-mode): Switch off the message if called
20281 non-interactively.
20282
20283 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
20284 before 587, since it appears that that's more likely to work for
20285 more people.
20286
20287 * cus-edit.el (custom-file): When running under emacs -q, always
20288 refuse to save the customizations, even if the .emacs file doesn't
20289 exist.
20290
20291 * info.el: Remove the `Info-beginning-of-buffer' function
20292 (bug#8325).
20293
20294 * net/network-stream.el (network-stream-open-starttls):
20295 Use `starttls-available-p' to see whether starttls.el can be used.
20296
20297 2011-08-01 Martin Rudalics <rudalics@gmx.at>
20298
20299 * window.el (display-buffer-in-window): Don't set dedicated status
20300 of window here (Bug#9215).
20301 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
20302 (display-buffer-pop-up-side-window)
20303 (display-buffer-in-side-window): Set dedicated status of window here.
20304
20305 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
20306
20307 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
20308 before binding generated-autoload-file.
20309
20310 2011-08-01 Deniz Dogan <deniz@dogan.se>
20311
20312 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
20313
20314 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
20315
20316 Sync with Tramp 2.2.2.
20317
20318 * net/trampver.el: Update release number.
20319
20320 2011-07-30 Juri Linkov <juri@jurta.org>
20321
20322 * dired-aux.el (dired-touch-initial): Remove function.
20323 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
20324 current time, and `default' to the last modification time of the
20325 current marked file (bug#6887).
20326
20327 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
20328
20329 * simple.el (goto-line): Use string-to-number to provide a
20330 numeric argument to read-number (bug#9163).
20331
20332 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
20333
20334 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
20335 connection process, it could be nil.
20336
20337 2011-07-27 Leo Liu <sdl.web@gmail.com>
20338
20339 Simplify url handling in rcirc-mode.
20340
20341 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
20342 (rcirc-browse-url-at-mouse): Remove.
20343 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
20344
20345 2011-07-26 Alan Mackenzie <acm@muc.de>
20346
20347 Fontify bitfield declarations properly.
20348
20349 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
20350 (c-symbol-chars): Now exported as a lang variable.
20351 (c-not-primitive-type-keywords): New lang variable.
20352
20353 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
20354 QT keyword "more" to prevent "more slots: ...." being spuriously
20355 parsed as a bitfield declaration.
20356
20357 * progmodes/cc-engine.el (c-beginning-of-statement-1):
20358 Refactor and enhance to handle bitfield declarations.
20359 (c-punctuation-in): New function.
20360 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
20361 declarations properly.
20362
20363 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
20364
20365 * calendar/icalendar.el (icalendar--all-events): Take care of
20366 multiple vcalendars in a single file.
20367 (icalendar--convert-float-to-ical): Checkdoc fixes.
20368
20369 2011-07-25 Deniz Dogan <deniz@dogan.se>
20370
20371 * image.el (insert-image): Clarifying docstring.
20372
20373 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
20374
20375 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
20376 `tramp-send-command-and-check' if there is no error.
20377 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
20378
20379 2011-07-22 Alan Mackenzie <acm@muc.de>
20380
20381 Prevent cc-langs.elc being loaded at run time.
20382
20383 * progmodes/cc-mode.el: Remove two autoload forms which loaded
20384 cc-langs.
20385
20386 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
20387 "(require 'cc-langs)". Quote a form so it will evaluate at
20388 (cc-mode's) compilation time.
20389
20390 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
20391
20392 * net/tramp.el (tramp-file-name-handler): Avoid recursive
20393 loading. (Bug#9114)
20394
20395 2011-07-21 Martin Rudalics <rudalics@gmx.at>
20396
20397 * window.el (display-buffer-pop-up-window)
20398 (display-buffer-pop-up-side-window)
20399 (display-buffer-in-side-window): Call display-buffer-set-height
20400 and display-buffer-set-width after setting the new window's
20401 buffer so `fit-window-to-buffer' and friends work on the right buffer.
20402
20403 2011-07-20 Sam Steingold <sds@gnu.org>
20404
20405 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
20406 (etags-tags-included-tables): Call `convert-standard-filename' on
20407 the file names contained in TAGS so that windows Emacs can handle
20408 TAGS files created by cygwin ctags.
20409
20410 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
20411
20412 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
20413 which apparently didn't work.
20414
20415 2011-07-19 Roland Winkler <winkler@gnu.org>
20416
20417 * proced.el (proced-send-signal): For *Marked Processes* buffer
20418 put point at beginning of buffer.
20419
20420 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
20421
20422 * proced.el (proced-format): Make header lines align with the text
20423 (bug#1779).
20424
20425 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
20426
20427 * view.el (view-buffer): Allow running in `special' modes if we're
20428 visiting a file (bug#8615).
20429
20430 2011-07-19 Martin Rudalics <rudalics@gmx.at>
20431
20432 * window.el (display-buffer-alist-of-strings-p)
20433 (display-buffer-alist-set-1, display-buffer-alist-set-2):
20434 New functions.
20435 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
20436 more accurately.
20437
20438 2011-07-18 Alan Mackenzie <acm@muc.de>
20439
20440 Fontify declarators properly when, e.g., a jit-lock chunk begins
20441 inside a declaration.
20442
20443 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
20444
20445 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
20446 New function.
20447 (c-complex-decl-matchers): Insert reference to
20448 c-font-lock-enclosing-decls.
20449
20450 * progmodes/cc-engine.el (c-backward-single-comment):
20451 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
20452 to nil around calls to (forward-comment -1).
20453
20454 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
20455
20456 * image.el (put-image): Doc typo fix.
20457
20458 * progmodes/etags.el (tags-search): Doc typo fix.
20459
20460 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
20461 password if we get errors 550 to 554.
20462
20463 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
20464
20465 * net/gnutls.el (gnutls-log-level): Remove.
20466
20467 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
20468 indentation character (bug#6380).
20469
20470 * files.el (buffer-offer-save): Made permanently local (bug#6241).
20471
20472 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
20473 to clarify what the problem is (bug#4291).
20474
20475 * simple.el (current-kill): Clarify what
20476 `interprogram-paste-function' does (bug#7500).
20477 (auto-fill-mode): Document `auto-fill-function' in relation to
20478 `auto-fill-mode' (bug#2470).
20479
20480 2011-07-16 Lawrence Mitchell <wence@gmx.li>
20481
20482 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
20483 method if slot is read-only (bug#9035).
20484
20485 2011-07-16 Martin Rudalics <rudalics@gmx.at>
20486
20487 * frame.el (select-frame-set-input-focus): New argument NORECORD.
20488 * window.el (pop-to-buffer): Select window used even if it was
20489 selected before, see discussion of (Bug#8615), (Bug#6954).
20490 Pass argument NORECORD on to select-frame-set-input-focus.
20491
20492 2011-07-15 Glenn Morris <rgm@gnu.org>
20493
20494 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
20495 Respect help-form.
20496
20497 2011-07-09 Lawrence Mitchell <wence@gmx.li>
20498
20499 * net/gnutls.el (gnutls-min-prime-bits): New variable.
20500 (gnutls-negotiate): Use it.
20501
20502 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
20503
20504 * net/gnutls.el (gnutls-negotiate):
20505 Upcase `gnutls-algorithm-priority'.
20506
20507 2011-07-15 Glenn Morris <rgm@gnu.org>
20508
20509 * jka-compr.el (jka-compr-verbose): Move from here...
20510 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
20511 Add missing :version tag.
20512 * info.el: No need to require jka-compr when compiling.
20513
20514 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
20515
20516 * net/gnutls.el (gnutls-algorithm-priority): New variable.
20517 (gnutls-negotiate): Use it.
20518
20519 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
20520
20521 * info.el (Info-beginning-of-buffer): New command.
20522 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
20523 announcing `b' as the key (bug#8325).
20524 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
20525
20526 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
20527
20528 * international/mule-cmds.el
20529 (describe-specified-language-support): Make the error message
20530 clearer (bug#8905).
20531
20532 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
20533
20534 * isearch.el (isearch-barrier): Add a doc string, since it's
20535 mentioned in a function doc string (bug#8678).
20536
20537 2011-07-15 Martin Rudalics <rudalics@gmx.at>
20538
20539 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
20540 buffer argument (Bug#9083) and self-identifying label argument.
20541
20542 2011-07-15 Glenn Morris <rgm@gnu.org>
20543
20544 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
20545
20546 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
20547
20548 * man.el (Man-fontify-manpage): Fix message when formatting the
20549 man page (bug#7929).
20550
20551 2011-07-14 Eli Zaretskii <eliz@gnu.org>
20552
20553 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
20554 argument LRM; if non-nil, append an invisible LRM character to the
20555 buffer name.
20556 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
20557 last argument non-nil, when formatting buffer names.
20558 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
20559 paragraph direction.
20560
20561 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
20562
20563 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
20564 the man page name (bug#7929).
20565
20566 * image.el (put-image): Mention the `put-image' overlay property
20567 (bug#7834).
20568
20569 * scroll-bar.el (set-scroll-bar-mode): Mention that
20570 `scroll-bar-mode' lists the values (bug#7772).
20571
20572 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
20573 command (bug#7729).
20574
20575 * rect.el (apply-on-rectangle): Return the point after the last
20576 operation.
20577 (string-rectangle): Go to the point after the last operation
20578 (bug#7522).
20579
20580 * printing.el (pr-toggle-region): Clarify the documentation
20581 slightly (bug#7493).
20582
20583 * time.el (display-time-update):
20584 Allow `display-time-mail-function' to return nil (bug#7158).
20585 Fix suggested by Detlev Zundel.
20586
20587 * vc/diff.el (diff): Clarify the order the file names are read
20588 (bug#7111).
20589
20590 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
20591 the doc string (bug#7015).
20592
20593 * font-lock.el (font-lock-maximum-decoration): Mention what
20594 numeric levels mean (bug#6935).
20595
20596 * startup.el (initial-buffer-choice): Don't mention the `none'
20597 selection, which is against policy.
20598
20599 2011-07-14 Martin Rudalics <rudalics@gmx.at>
20600
20601 * window.el (display-buffer-normalize-special):
20602 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
20603
20604 2011-07-14 Eli Zaretskii <eliz@gnu.org>
20605
20606 * subr.el (version<, version<=, version=): Mention "-CVS" and
20607 "-12345" alpha version numbers.
20608
20609 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
20610
20611 * bindings.el: Add advertised binding for set-mark-command
20612 (Bug#5772).
20613
20614 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
20615
20616 * bindings.el (mode-line-other-buffer):
20617 * bookmark.el (bookmark-bmenu-2-window):
20618 * bs.el (bs-cycle-next, bs-cycle-previous):
20619 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
20620 switch-to-buffer.
20621
20622 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
20623 Delete.
20624
20625 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
20626
20627 * follow.el (follow-debug-message, follow-redisplay):
20628 * jka-cmpr-hook.el (with-auto-compression-mode):
20629 Fix typos in docstrings.
20630
20631 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20632
20633 * subr.el (with-silent-modifications): Clarify somewhat what the
20634 macro inhibits (bug#6525).
20635
20636 * simple.el (eval-expression): Note what it does if called
20637 interactively (bug#6495).
20638
20639 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
20640
20641 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
20642 Use pop-to-buffer buffer-or-name if it is nil.
20643
20644 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
20645 Remove switch-to-buffer.
20646
20647 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20648
20649 * files.el (make-directory): Clarify that an error will be raised
20650 if there's an error (bug#6397).
20651
20652 * startup.el (initial-buffer-choice): Add `none' as a choice
20653 (bug#6234).
20654
20655 * subr.el (add-hook): Clarify section about buffer-local hooks
20656 (bug#6218).
20657
20658 * dired.el (dired-flagged): Clarify doc string (bug#6117).
20659
20660 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
20661
20662 * tabify.el (untabify): Preserve the current column so that point
20663 doesn't move (bug#6032).
20664
20665 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20666
20667 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
20668 Rewrite to avoid awkward possessive "s" (bug#5986).
20669
20670 2011-07-13 Glenn Morris <rgm@gnu.org>
20671
20672 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
20673 (dired-insert-directory): Give a message the first time
20674 if ls is found not to support --dired.
20675
20676 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20677
20678 * simple.el (toggle-truncate-lines): Clarify what is toggled
20679 (bug#5580). Text by Drew Adams.
20680
20681 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
20682
20683 * simple.el (blink-matching-open): Make the error message from the
20684 last change less verbose.
20685
20686 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
20687
20688 * font-lock.el (font-lock-comment-face): Use the high contrast
20689 "yellow" color for font-lock-comment-face on low color terminals
20690 using a dark background color (bug#4221).
20691
20692 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20693
20694 * dired.el (dired-insert-set-properties): Make the doc string
20695 reflect what it does now (bug#5325).
20696
20697 * simple.el (blink-matching-open): Say that we were unable to find
20698 the match within the limit, if we're limited (bug#5122).
20699
20700 * international/mule-cmds.el (prefer-coding-system): Add an
20701 example (bug#4869).
20702
20703 * progmodes/etags.el (tags-search): Document `file-list-form'
20704 (bug#4731).
20705
20706 2011-07-13 Lawrence Mitchell <wence@gmx.li>
20707
20708 * net/browse-url.el (browse-url-default-browser)
20709 (browse-url-browser-function): Make the default browser choice a
20710 bit more logical (bug#4300). Also clean up the doc string.
20711
20712 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
20713
20714 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
20715 binary endings (bug#4440).
20716
20717 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20718
20719 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
20720 which can be pretty annoying (bug#8971).
20721
20722 * jka-compr.el (jka-compr-verbose): New variable, and use
20723 throughout (bug#8971).
20724
20725 * info.el (Info-find-file): Fall back on the installation
20726 directory if we can't find the info node anywhere else.
20727
20728 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
20729
20730 * vc/vc.el (vc-revert-file):
20731 Don't set file time-stamp in the past. (Bug#5181)
20732
20733 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
20734
20735 * files.el (after-find-file): Give a better error message when
20736 trying to find a symlink that points to a file that doesn't exist
20737 (bug#4398).
20738
20739 * progmodes/cc-vars.el: Remove (probably) misleading comment
20740 (bug#4396).
20741
20742 2011-07-12 Johan Bockgård <bojohan@gnu.org>
20743
20744 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
20745
20746 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
20747
20748 * mouse-sel.el: Hack restoring functionality, while keeping
20749 compatibility with 2010-07-03 changes to mouse selection.
20750 (mouse-sel-primary-overlay): New var.
20751 (mouse-sel-selection-alist): Use it.
20752 (mouse-sel-mode): Doc fix; remove points that are default features
20753 of mouse.el.
20754
20755 2011-07-12 Johan Bockgård <bojohan@gnu.org>
20756
20757 * progmodes/compile.el (compilation-error-regexp-alist-alist):
20758 Fix previous fix (bug#2490).
20759
20760 2011-07-12 Roland Winkler <winkler@gnu.org>
20761
20762 * textmodes/bibtex.el (bibtex-initialize):
20763 Use pop-to-buffer-same-window.
20764 (bibtex-search-entries): Fix interactive call.
20765
20766 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
20767
20768 * progmodes/compile.el (compilation-error-regexp-alist-alist):
20769 Fontise bytecomp Error lines more correctly (bug#2490).
20770 Fix suggested by Johan Bockgård.
20771
20772 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
20773
20774 * dired-x.el (dired-guess-default): Use `delete-dups'.
20775
20776 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
20777
20778 * dired.el (dired-mark-prompt):
20779 * dired-aux.el (dired-read-shell-command): Doc fix.
20780
20781 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
20782
20783 * mail/sendmail.el (sendmail-query-once):
20784 Use `customize-save-variable' unconditionally, now that it works under
20785 emacs -Q.
20786
20787 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
20788
20789 * cus-edit.el (custom-file): Take an optional no-error variable.
20790 (customize-save-variable): Set the variable, and give a warning if
20791 running under "emacs -q".
20792
20793 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
20794
20795 * loadhist.el (unload-feature-special-hooks):
20796 Add `auto-coding-functions', `fill-nobreak-predicate' and
20797 `find-directory-functions' (bug#5327).
20798
20799 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
20800
20801 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
20802
20803 * cus-edit.el (custom-guess-name-alist): -alist variables should
20804 use the `alist' type (bug#3120). Suggested by Drew Adams.
20805
20806 * printing.el: Add documentation to all the `pr-toggle-' commands.
20807
20808 2011-07-11 Leo Liu <sdl.web@gmail.com>
20809
20810 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
20811 backends where it makes sense (bug#2623).
20812
20813 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
20814
20815 * dired-x.el (dired-guess-default): Remove duplicate shell command
20816 entries (bug#2028).
20817 (dired-guess-default): Fix grammar in doc string (bug#2028).
20818 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
20819
20820 * subr.el (remove-duplicates): New conveniency function.
20821
20822 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
20823
20824 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
20825 (bug#1526).
20826
20827 2011-07-10 Martin Rudalics <rudalics@gmx.at>
20828
20829 * window.el (display-buffer-normalize-default): Don't invert
20830 meaning of even-window-heights. Reported by Eli Zaretskii
20831 <eliz@gnu.org>.
20832
20833 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
20834
20835 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
20836
20837 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
20838
20839 * window.el (display-buffer): Fix arguments to
20840 display-buffer-reuse-window in last change.
20841
20842 * faces.el (link): Use a less saturated blue on light backgrounds.
20843
20844 * startup.el (fancy-startup-text, fancy-about-text)
20845 (fancy-startup-tail): Use font-lock faces, for background safety.
20846
20847 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
20848
20849 * emulation/viper-cmd.el (viper-change-state-to-vi):
20850 Limit triggering of abbrev expansion (Bug#9038).
20851
20852 2011-07-09 Martin Rudalics <rudalics@gmx.at>
20853
20854 * window.el (display-buffer-default-specifiers): Remove.
20855 (display-buffer-macro-specifiers): Remove default specifiers.
20856 (display-buffer-alist): Default to nil.
20857 (display-buffer-reuse-window): New optional argument other-window.
20858 (display-buffer-pop-up-window): Allow splitting internal
20859 windows. Check whether a live window was created.
20860 (display-buffer-other-window-means-other-frame)
20861 (display-buffer-normalize-arguments): Rename to
20862 display-buffer-normalize-argument and rewrite. Set the
20863 other-window specifier.
20864 (display-buffer-normalize-special): New function.
20865 (display-buffer-normalize-options): Rename to
20866 display-buffer-normalize-default and rewrite.
20867 (display-buffer-normalize-options-inhibit): Remove.
20868 (display-buffer-normalize-specifiers): Rewrite.
20869 (display-buffer): Process other-window specifier and call
20870 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
20871 more faithfully.
20872 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
20873 (display-buffer-alist-set): Don't handle 'unset default values.
20874 (display-buffer-in-window, display-buffer-alist-set):
20875 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
20876 <tassilo@member.fsf.org>.
20877
20878 2011-07-09 Leo Liu <sdl.web@gmail.com>
20879
20880 * register.el (insert-register): Restore accidental change on
20881 2011-06-26. (Bug#9028)
20882
20883 2011-07-09 Glenn Morris <rgm@gnu.org>
20884
20885 * subr.el (remq): Handle the empty list. (Bug#9024)
20886
20887 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
20888
20889 * mail/sendmail.el (send-mail-function): No longer delay custom
20890 initialization.
20891 * custom.el (custom-initialize-delay): Doc fix.
20892
20893 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
20894
20895 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
20896
20897 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
20898
20899 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
20900 human-friendly prompt.
20901
20902 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
20903
20904 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
20905 provided by a particular plugin.
20906
20907 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
20908
20909 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
20910 save customizations (with "emacs -Q"), just set the variable
20911 instead of erroring out.
20912
20913 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
20914
20915 2011-07-08 Juri Linkov <juri@jurta.org>
20916
20917 * arc-mode.el (archive-zip-expunge, archive-zip-update)
20918 (archive-zip-update-case): Use 7z if found by `executable-find'.
20919 The order of searching the available programs is the same as in
20920 `archive-zip-extract' (bug#8968).
20921
20922 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
20923
20924 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
20925 (menu-bar-options-menu): Tweak descriptions.
20926
20927 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
20928
20929 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
20930 menu items into verb phrases (bug#1421). Also refill to fit under
20931 80 columns.
20932
20933 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
20934
20935 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
20936 (Info-read-node-name): Doc fix (Bug#1084).
20937
20938 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
20939 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
20940 (end-of-sexp, beginning-of-sexp)
20941 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
20942 (forward-symbol, forward-same-syntax, word-at-point)
20943 (sentence-at-point): Doc fix (Bug#1144).
20944
20945 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
20946
20947 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
20948 should cover it (bug#1281).
20949
20950 * cus-edit.el (custom-show): Mark as obsolete.
20951
20952 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
20953 negotiation fails, then possibly try again with a non-encrypted
20954 connection (bug#9017).
20955
20956 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
20957 be used.
20958
20959 2011-07-07 Richard Stallman <rms@gnu.org>
20960
20961 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
20962 property, and handle its changed format.
20963 Look for the correct line number.
20964 Use file's line contents (but not past first =) to find
20965 correct line in message.
20966
20967 2011-07-07 Kenichi Handa <handa@m17n.org>
20968
20969 * international/characters.el (build-unicode-category-table):
20970 Delete it.
20971 (unicode-category-table): Set it by unicode-property-table-internal.
20972
20973 * international/mule-cmds.el (char-code-property-alist): Move to
20974 to src/chartab.c.
20975 (get-char-code-property): Call unicode-property-table-internal to
20976 load a file. Call get-unicode-property-internal where necessary.
20977 (put-char-code-property): Call unicode-property-table-internal to
20978 load a file. Call put-unicode-property-internal where necessary.
20979 put-unicode-property-internal where necessary.
20980 (char-code-property-description):
20981 Call unicode-property-table-internal to load a file.
20982
20983 * international/charprop.el:
20984 * international/uni-bidi.el:
20985 * international/uni-category.el:
20986 * international/uni-combining.el:
20987 * international/uni-comment.el:
20988 * international/uni-decimal.el:
20989 * international/uni-decomposition.el:
20990 * international/uni-digit.el:
20991 * international/uni-lowercase.el:
20992 * international/uni-mirrored.el:
20993 * international/uni-name.el:
20994 * international/uni-numeric.el:
20995 * international/uni-old-name.el:
20996 * international/uni-titlecase.el:
20997 * international/uni-uppercase.el: Regenerate.
20998
20999 * loadup.el: Load international/charprop.el before
21000 international/characters.
21001
21002 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
21003
21004 * window.el (next-buffer, previous-buffer): Signal an error if
21005 called from a minibuffer window.
21006
21007 * bindings.el: Revert 2011-07-04 change.
21008
21009 2011-07-06 Richard Stallman <rms@gnu.org>
21010
21011 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
21012 (rmail-mime-insert-bulk, rmail-mime-insert-text):
21013 Treat markers like ints.
21014 (rmail-mime-entity): Doc fix.
21015
21016 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
21017
21018 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
21019 defcustom again for backwards compatibility.
21020
21021 * simple.el (shell-command-on-region): Fill.
21022
21023 * dired-aux.el (dired-kill-line): Add a doc string.
21024
21025 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
21026 to "\\sw\\|\\s_" (bug#358).
21027
21028 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
21029 (dired-unmark-backward): Ditto.
21030 (dired-flag-backup-files): Ditto.
21031
21032 * dired-x.el (dired-mark-sexp): Ditto.
21033
21034 2011-07-06 Richard Stallman <rms@gnu.org>
21035
21036 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
21037 (rmail-mime-entity): New arg TRUNCATED.
21038 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
21039 New functions.
21040 (rmail-mime-save): Warn if entity is truncated.
21041 (rmail-mime-toggle-hidden): Likewise, for showing.
21042 (rmail-mime-process-multipart): Record when an entity is truncated.
21043
21044 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
21045 if ENTITY is a string.
21046
21047 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
21048
21049 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
21050 of faces when `M-C-x'-ing their definitions (bug#8378).
21051 Also clean up the code slightly.
21052
21053 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
21054 because that makes the colors go away.
21055
21056 * mail/sendmail.el (send-mail-function): Change the default to
21057 `sendmail-query-once'.
21058 (sendmail-query-once): Add an autoload cookie.
21059
21060 * net/network-stream.el (network-stream-open-starttls): Try using
21061 a plain connection even if the server offered STARTTLS, and we
21062 kinda wanted to use it, if Emacs doesn't have any STARTTLS
21063 capability. This should make smtpmail.el work in slightly more
21064 configurations.
21065
21066 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
21067
21068 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
21069 New defun.
21070 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
21071
21072 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
21073
21074 * progmodes/sql.el: Version 3.0
21075 (sql-product-alist): Add product :completion-object,
21076 :completion-column, and :statement attributes.
21077 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
21078 (sql-mode-syntax-table): Mark all punctuation.
21079 (sql-font-lock-keywords-builder): Temporarily remove fallback on
21080 ansi keywords.
21081 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
21082 (sql-mode-oracle-font-lock-keywords): Improve.
21083 (sql-oracle-show-reserved-words): New function for development.
21084 (sql-product-font-lock): Simplify for source code buffers.
21085 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
21086 New functions.
21087 (sql-highlight-product): Set product specific syntax table.
21088 (sql-mode-map): Add statement movement functions.
21089 (sql-ansi-statement-starters, sql-oracle-statement-starters):
21090 New variable.
21091 (sql-statement-regexp, sql-beginning-of-statement)
21092 (sql-end-of-statement, sql-signum): New functions.
21093 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
21094 (sql-show-sqli-buffer): Bug fix.
21095 (sql-interactive-mode): Store connection data as buffer local.
21096 (sql-connect): Add NEW-NAME parameter. Redesign interaction
21097 with sql-interactive-mode.
21098 (sql-save-connection): Save buffer local settings.
21099 (sql-connection-menu-filter): Change menu entry name.
21100 (sql-product-interactive): Bug fix.
21101 (sql-preoutput-hold): New variable.
21102 (sql-interactive-remove-continuation-prompt): Bug fixes.
21103 (sql-debug-redirect): New variable.
21104 (sql-str-literal): New function.
21105 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
21106 Redesign.
21107 (sql-oracle-save-settings, sql-oracle-restore-settings)
21108 (sql-oracle-list-all, sql-oracle-list-table): New functions.
21109 (sql-completion-object, sql-completion-column)
21110 (sql-completion-sqlbuf): New variables.
21111 (sql-build-completions-1, sql-build-completions)
21112 (sql-try-completion): New functions.
21113 (sql-read-table-name): Use them.
21114 (sql-contains-names): New buffer local variable.
21115 (sql-list-all, sql-list-table): Use it.
21116 (sql-oracle-completion-types): New variable.
21117 (sql-oracle-completion-object, sql-sqlite-completion-object)
21118 (sql-postgres-completion-object): New functions.
21119
21120 2011-07-06 Glenn Morris <rgm@gnu.org>
21121
21122 * window.el (pop-to-buffer): Doc fix.
21123
21124 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
21125
21126 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
21127
21128 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
21129
21130 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
21131
21132 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
21133
21134 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
21135
21136 * button.el (button): Inherit from link face. Suggested by Dan
21137 Nicolaescu.
21138
21139 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
21140
21141 * progmodes/gdb-mi.el: Fit in 80 columns.
21142 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
21143 switch-to-buffer.
21144
21145 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
21146 if imenu is simply not configured (bug#8941).
21147
21148 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
21149
21150 * allout.el (allout-post-undo-hook): New allout outline-change
21151 event hook to signal undo activity.
21152 (allout-post-command-business): Run allout-post-undo-hook if an
21153 undo just occurred.
21154 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
21155 * allout-widgets.el (allout-widgets-after-undo-function):
21156 Ensure the integrity of the current item's decoration after it has been
21157 in the vicinity of an undo.
21158 (allout-widgets-mode): Include allout-widgets-after-undo-function
21159 on the new allout-post-undo-hook.
21160
21161 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
21162
21163 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
21164 Let define-derived-mode define it.
21165 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
21166 cycles of abbrev-table inheritance (bug#8998).
21167
21168 2011-07-05 Roland Winkler <winkler@gnu.org>
21169
21170 * textmodes/bibtex.el: Add support for biblatex.
21171 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
21172 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
21173 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
21174 (bibtex-entry-alist, bibtex-field-alist): New variables.
21175 (bibtex-entry-field-alist): Obsolete alias for
21176 bibtex-BibTeX-entry-alist.
21177 (bibtex-entry-alist, bibtex-field-alist): New widgets.
21178 (bibtex-set-dialect): New command.
21179 (bibtex-entry-type, bibtex-entry-head)
21180 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
21181 Bind via bibtex-set-dialect.
21182 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
21183 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
21184 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
21185 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
21186 Define via bibtex-set-dialect.
21187 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
21188 Obey bibtex-no-opt-remove-re.
21189 (bibtex-vec-push, bibtex-vec-incr): New functions.
21190 (bibtex-format-entry, bibtex-field-list)
21191 (bibtex-print-help-message, bibtex-validate)
21192 (bibtex-search-entries): Use new format of bibtex-entry-alist.
21193
21194 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
21195
21196 * progmodes/compile.el (compilation-goto-locus):
21197 * net/tramp-cmds.el (tramp-append-tramp-buffers):
21198 * bs.el (bs-cycle-next, bs-cycle-previous):
21199 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
21200 * bindings.el (mode-line-other-buffer):
21201 * autoinsert.el (auto-insert):
21202 * arc-mode.el (archive-extract):
21203 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
21204
21205 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
21206
21207 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
21208 Fix check of `emacs-lock-unlockable-modes'.
21209 Coerce true values of `emacs-lock--try-unlocking' to t.
21210
21211 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
21212
21213 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
21214 * emacs-lock.el: New file.
21215
21216 2011-07-05 Julien Danjou <julien@danjou.info>
21217
21218 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
21219 than `boundp' to check if face is set.
21220
21221 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
21222
21223 * register.el (registerv-make):
21224 * window.el (window-min-height): Fix typos in docstrings.
21225
21226 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
21227
21228 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
21229 Update doc string.
21230
21231 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
21232
21233 * server.el (server-execute): Catch quit and call
21234 `server-return-error' to pass the error back to emacsclient and
21235 close the connection (bug#8942).
21236
21237 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
21238
21239 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
21240 insecure exception for current topic. Also note that auto-saves
21241 are handled differently.
21242
21243 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
21244 State variables for tracking auto-save inhibition situation.
21245
21246 (allout-write-contents-hook-handler): Rename from
21247 'allout-write-file-hook-handler', and describe how it depends on
21248 write-contents-functions sensitivity to non-nil value to prevent
21249 file write.
21250
21251 (allout-auto-save-hook-handler): Remove. auto-save does not check
21252 this in individual buffers, only in the starting buffer, so this
21253 is not the right way for us to inhibit auto-save in a buffer
21254 according to its condition.
21255
21256 (allout-mode): Use new allout-write-contents-hook-handler, and
21257 only with write-contents-functions. Remove auto-save provisions -
21258 they're implemented elsewhere.
21259
21260 (allout-before-change-handler): If undo is in progress, note that
21261 for attention of allout-post-command-business.
21262
21263 (allout-post-command-business): If the command we're following was
21264 an undo, check for change in the status of encrypted items and
21265 adjust auto-save inhibitions accordingly.
21266
21267 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
21268 according to whether there are or aren't any plain-text topics
21269 pending encryption.
21270
21271 (allout-inhibit-auto-save-info-for-decryption):
21272 Adjust buffer-saved-size and some allout state to inhibit auto-saves
21273 if there are plain-text topics pending encryption.
21274
21275 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
21276 buffer-saved-size and some allout state to not inhibit auto-saves
21277 if there are no longer any plain-text topics pending encryption.
21278
21279 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
21280 No longer provide for exemption of the current topic.
21281
21282 2011-07-04 Juri Linkov <juri@jurta.org>
21283
21284 Add 7z operations to delete and save changed members (bug#8968).
21285 * arc-mode.el (archive-7z-expunge, archive-7z-update):
21286 New defcustoms.
21287 (archive-7z-write-file-member): New function.
21288 (archive-7z-summarize): Fix the number of dashes in the
21289 listing output.
21290
21291 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
21292
21293 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
21294 (bug#8958).
21295
21296 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
21297
21298 * bindings.el: Ignore next-buffer and previous-buffer in
21299 minibuffer-local-map.
21300
21301 * font-lock.el (font-lock-builtin-face): Change light background
21302 color to dark slate blue (Bug#6693).
21303
21304 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
21305
21306 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
21307
21308 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
21309
21310 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
21311 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
21312 Add switch-to-buffer.
21313
21314 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
21315
21316 * isearch.el (isearch-search-fun-function): Clarify further the
21317 meaning of the function returned.
21318
21319 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
21320
21321 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
21322
21323 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
21324 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
21325 Use it.
21326 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
21327 `tramp-default-remote-path' does not exist.
21328 (tramp-send-command-and-read): New optional argument NOERROR.
21329 (tramp-open-connection-setup-interactive-shell)
21330 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
21331 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
21332 (tramp-process-sentinel): Flush also process' connection property.
21333 (tramp-sh-handle-start-file-process): Do not set process
21334 sentinel. It is done now ...
21335 (tramp-maybe-open-connection): ... here. (Bug#8929)
21336
21337 2011-07-04 MON KEY <monkey@sandpframing.com>
21338
21339 * play/animate.el (animate-string): Doc fixes and allow changing
21340 the buffer name (bug#5417).
21341
21342 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
21343
21344 * play/animate.el (animation-buffer-name): Rename from *animate*.
21345
21346 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
21347
21348 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
21349 This is simpler and helps future-proof the code.
21350 (timer-until): Use time-subtract and float-time.
21351 (timer--time-less-p): Use time-less-p.
21352
21353 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
21354
21355 * type-break.el (timep): Use the value of `float-time' to avoid a
21356 byte-compiler warning.
21357
21358 * server.el (server-eval-and-print): Return any result, even nil.
21359
21360 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
21361
21362 * type-break.el: Accept time formats that the builtins accept.
21363 (timep, type-break-time-difference): Accept any format that
21364 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
21365 This is simpler and helps future-proof the code.
21366 (type-break-time-difference): Round rather than ignoring
21367 subseconds components.
21368
21369 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
21370
21371 * info.el (Info-apropos-matches): Make non-interactive, since it
21372 doesn't seem to do anything useful as a command (bug#8829).
21373
21374 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
21375
21376 * frame.el (frame-background-mode, frame-set-background-mode):
21377 Move from faces.el.
21378 (frame-default-terminal-background): New function.
21379
21380 * custom.el (custom-push-theme): Don't record faces in `changed'
21381 theme; this doesn't work correctly for per-frame face settings.
21382 (disable-theme): Use face-set-after-frame-default to reset faces.
21383 (custom--frame-color-default): New function.
21384
21385 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
21386
21387 * dired.el (dired-flagging-regexp): Remove unused variable
21388 (bug#8769).
21389
21390 2011-03-29 Kevin Ryde <user42@zip.com.au>
21391
21392 * progmodes/compile.el (compilation-error-regexp-alist-alist):
21393 `perl-Test2' extend to match possible "fail #N" rep count
21394 (bug#8377).
21395
21396 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
21397
21398 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
21399 `smtpmail-via-smtp' now returns the error instead of nil.
21400
21401 * isearch.el (isearch-search-fun-function): Clarify the doc string
21402 (bug#8101).
21403
21404 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
21405
21406 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
21407 unnecessary spaces (bug#8987).
21408
21409 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
21410
21411 * net/network-stream.el (open-network-stream): Use the
21412 :end-of-capability command thoughout.
21413
21414 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
21415
21416 * net/network-stream.el (open-network-stream): Add the
21417 :end-of-capability command parameter, used by pop3.el.
21418
21419 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
21420
21421 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
21422
21423 * fringe.el (fringe-query-style): Remove redundant text " (type ?
21424 for list)" (bug#6475).
21425
21426 * files.el (file-expand-wildcards): Ignore non-readable
21427 sub-directories while trying to find matches instead of signaling
21428 an error (bug#6297).
21429
21430 * man.el (Man-reference-regexp): Allow matching possible
21431 word-wrapped references (bug#6289).
21432
21433 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
21434 for consistency with the other vc buffers (bug#6197).
21435 (vc-checkin): Ditto.
21436
21437 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
21438
21439 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
21440
21441 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
21442
21443 * custom.el (defcustom): Clarify that :set is only used in the
21444 Customize user interface (bug#6089).
21445
21446 * progmodes/flymake.el (flymake-mode): If the buffer isn't
21447 associated with a file, refuse to run instead of erroring out
21448 (bug#6084).
21449
21450 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
21451 the doc string, since it appears that using `fill-column' always
21452 controls the width (bug#7845).
21453
21454 * simple.el (shell-command-on-region): Say where the error output
21455 went if `shell-command-default-error-buffer' is set (bug#6857).
21456
21457 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
21458
21459 * allout.el (allout-yank-processing): Adjust cursor position for
21460 backwards-deleted space.
21461
21462 (allout-rebullet-heading): Register changes with
21463 allout-exposure-changed-hook, so the modified topic is properly
21464 decorated.
21465
21466 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
21467
21468 * minibuffer.el (completion-in-region): Document PREDICATE
21469 (bug#7136).
21470
21471 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
21472 of keyword/argument pairs (bug#6904).
21473
21474 * replace.el (multi-occur):
21475 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
21476
21477 2011-07-02 Drew Adams <drew.adams@oracle.com>
21478
21479 * dired.el (dired-mark-if): Make the message about whether it's
21480 marking or unmarking clearer (bug#8523).
21481
21482 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
21483
21484 * disp-table.el (display-table-print-array): New function.
21485 (describe-display-table): Use it to print the vectors more pretty
21486 (Bug#8859).
21487
21488 2011-07-02 Martin Rudalics <rudalics@gmx.at>
21489
21490 * window.el (window-state-get-1): Don't assign clone numbers.
21491 Add clone-of item to list of window parameters.
21492 (window-state-put-2): Don't process clone numbers.
21493 (display-buffer-alist): Fix doc-string.
21494
21495 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
21496
21497 * subr.el (remq): Don't allocate if it's not needed.
21498 (keymap--menu-item-binding, keymap--menu-item-with-binding)
21499 (keymap--merge-bindings): New functions.
21500 (keymap-canonicalize): Use them to refine the canonicalization.
21501 * minibuffer.el (minibuffer-local-completion-map)
21502 (minibuffer-local-must-match-map): Move initialization from C.
21503 (minibuffer-local-filename-completion-map): Move initialization from C;
21504 don't inherit from anything here.
21505 (minibuffer-local-filename-must-match-map): Make obsolete.
21506 (completing-read-default): Use make-composed-keymap to combine
21507 minibuffer-local-filename-completion-map with either
21508 minibuffer-local-must-match-map or
21509 minibuffer-local-filename-completion-map.
21510
21511 2011-07-01 Glenn Morris <rgm@gnu.org>
21512
21513 * type-break.el (type-break-time-sum): Use dolist.
21514
21515 * textmodes/flyspell.el (flyspell-word-search-backward):
21516 Replace CL function.
21517
21518 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
21519
21520 * mouse.el (mouse--strip-first-event): New function.
21521 (function-key-map): Use it to map fringe clicks to normal clicks
21522 by default.
21523
21524 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
21525 (vc-bzr-revision-completion-table): Add support for annotate and date.
21526
21527 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
21528 inherit from parent.
21529
21530 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
21531
21532 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
21533 (dired-show-file-type): Doc fixup (bug#8818).
21534
21535 * dired.el (dired-mode): Fix up the doc string as suggested by
21536 Drew Adams (bug#8817).
21537
21538 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
21539 cookie, since the manual says that it should be possible to add
21540 this function to `find-file-hook' (bug#8709).
21541
21542 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
21543
21544 * progmodes/cfengine.el: Moved all cfengine3.el functionality
21545 here. Noted Ted Zlatanov as the maintainer.
21546 (cfengine-common-settings, cfengine-common-syntax): New functions
21547 to set up common things between `cfengine-mode' and
21548 `cfengine3-mode'.
21549 (cfengine3-mode): New mode.
21550 (cfengine3-defuns cfengine3-defuns-regex
21551 (cfengine3-class-selector-regex cfengine3-category-regex)
21552 (cfengine3-vartypes cfengine3-font-lock-keywords)
21553 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
21554 (cfengine3-indent-line): Add from cfengine3.el.
21555
21556 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
21557
21558 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
21559
21560 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
21561
21562 2011-07-01 Martin Rudalics <rudalics@gmx.at>
21563
21564 * window.el (same-window-buffer-names, same-window-regexps)
21565 (same-window-p, special-display-frame-alist)
21566 (special-display-popup-frame, special-display-function)
21567 (special-display-buffer-names, special-display-regexps)
21568 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
21569 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
21570 (split-window-preferred-function, split-height-threshold)
21571 (split-width-threshold, even-window-heights)
21572 (display-buffer-mark-dedicated, window-splittable-p)
21573 (split-window-sensibly, window-safely-shrinkable-p):
21574 Un-obsolete.
21575 (display-buffer): Don't spread args with function specifier
21576 because special-display-popup-frame won't like it.
21577
21578 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
21579
21580 Time-stamp simplifications and fixes.
21581 These improve accuracy slightly, and future-proof the code
21582 against some potential changes to current-time format.
21583
21584 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
21585 by using time-since and float-time.
21586
21587 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
21588 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
21589 + NNN microseconds".
21590
21591 * type-break.el (type-break-time-sum): Rewrite using time-add.
21592
21593 * play/hanoi.el (hanoi-current-time-float): Remove.
21594 All uses replaced by float-time.
21595
21596 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
21597 This yields a more-accurate answer.
21598 (rng-time-to-float): Remove; no longer needed.
21599
21600 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
21601
21602 * calendar/timeclock.el (timeclock-seconds-to-time):
21603 Defalias to seconds-to-time, since they're the same thing.
21604
21605 * emacs-lisp/elp.el (elp-elapsed-time):
21606 * emacs-lisp/benchmark.el (benchmark-elapse):
21607 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
21608
21609 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
21610
21611 * window.el (bury-buffer): Don't iconify the only frame.
21612 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
21613 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
21614
21615 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
21616
21617 * eshell/em-smart.el (eshell-smart-display-navigate-list):
21618 Add mouse-yank-primary.
21619
21620 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
21621
21622 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
21623
21624 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
21625
21626 * emacs-lisp/find-func.el (find-library--load-name): New fun.
21627 (find-library-name): Use it to find relative load names when provided
21628 absolute file name (bug#8803).
21629
21630 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
21631
21632 * textmodes/flyspell.el (flyspell-word): Consider words that
21633 differ only in case as potential doublons (bug#5687).
21634
21635 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
21636 Remove two rather uninteresting debugging-like messages to make
21637 debbugs.el more silent.
21638
21639 * comint.el (comint-password-prompt-regexp): Accept "Response" as
21640 a password-like phrase.
21641
21642 2011-06-30 Masatake YAMATO <yamato@redhat.com>
21643
21644 * progmodes/cc-guess.el: New file.
21645
21646 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
21647
21648 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
21649 derived from `c-basic-common-init'.
21650
21651 * progmodes/cc-mode.el (top-level): Require cc-guess.
21652 (c-basic-common-init): Use `cc-choose-style-for-mode'.
21653
21654 2011-06-30 Lawrence Mitchell <wence@gmx.li>
21655
21656 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
21657
21658 2011-06-30 Alan Mackenzie <acm@muc.de>
21659
21660 * progmodes/cc-engine.el (c-guess-continued-construct):
21661 Correct the handling of template-args-cont, particularly for when font
21662 lock is disabled. Name this case as "CASE G".
21663
21664 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
21665
21666 * allout.el (allout-yank-processing): Fix injection of extra space
21667 between bullet and non-whitespace character in first topic when
21668 pasting, ensuring that the actual spacing in the pasted topic
21669 following the bullet char is preserved. This extra space was
21670 causing pasted encrypted topics to get a decrypted status even
21671 when the content was actually still encrypted. Now the decryption
21672 status from before the paste is preserved.
21673
21674 (allout-flag-region): Set all allout overlays so they evaporate
21675 when reduced to zero length (evanescent), to prevent overlay
21676 leakage.
21677
21678 2011-06-30 Glenn Morris <rgm@gnu.org>
21679
21680 * w32-fns.el (w32-charset-info-alist): Declare.
21681
21682 * find-dired.el (find-grep-options): Simplify.
21683
21684 * term/ns-win.el (ns-set-resource): Declare.
21685
21686 * ses.el (row, col): Declare dynamic variables honestly.
21687
21688 * textmodes/reftex-parse.el (index-tags): Declare.
21689
21690 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
21691
21692 * cus-edit.el (customize-push-and-save): New function.
21693
21694 * files.el (hack-local-variables-confirm): Use it.
21695
21696 * custom.el (load-theme): New arg NO-CONFIRM.
21697 Use customize-push-and-save (Bug#8720).
21698 (custom-enabled-themes): Doc fix.
21699
21700 * cus-theme.el (customize-create-theme)
21701 (custom-theme-merge-theme): Callers to load-theme changed.
21702
21703 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
21704
21705 * thingatpt.el (thing-at-point-short-url-regexp): Require that
21706 short URLs have at least one dot in them (bug #7614).
21707
21708 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
21709 nil, because using a pty is apparently too slow (bug #895).
21710
21711 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
21712
21713 * mail/sendmail.el (sendmail-query-once): New function.
21714 (sendmail-query-once-function): New variable.
21715
21716 2011-06-29 Glenn Morris <rgm@gnu.org>
21717
21718 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
21719
21720 * ses.el (top-level): Require cl when compiling.
21721 (ses-set-localvars): Fix error statement.
21722 Call it at compile time to silence a storm of warnings.
21723
21724 2011-06-29 Martin Rudalics <rudalics@gmx.at>
21725
21726 * window.el (normalize-live-buffer): Rename to
21727 window-normalize-buffer.
21728 (normalize-live-frame): Rename to window-normalize-frame.
21729 (normalize-any-window): Rename to window-normalize-any-window.
21730 (normalize-live-window): Rename to window-normalize-live-window.
21731 (make-window-atom): Rename to window-make-atom.
21732 (window-resize-reset): Rename to window--resize-reset.
21733 (window-resize-reset-1): Rename to window--resize-reset-1.
21734 (resize-mini-window): Rename to window--resize-mini-window.
21735 (resize-subwindows-skip-p): Rename to
21736 window--resize-subwindows-skip-p.
21737 (resize-subwindows-normal): Rename to
21738 window--resize-subwindows-normal.
21739 (resize-subwindows): Rename to window--resize-subwindows.
21740 (resize-other-windows): Rename to window--resize-siblings.
21741 (resize-this-window): Rename to window--resize-this-window.
21742 (resize-root-window): Rename to window--resize-root-window.
21743 (resize-root-window-vertically): Rename to
21744 window--resize-root-window-vertically.
21745 (normalize-buffer-to-display): Rename to
21746 window-normalize-buffer-to-display.
21747 (normalize-buffer-to-switch-to): Rename to
21748 window-normalize-buffer-to-switch-to.
21749 Correspondingly update all callers of the functions listed
21750 above.
21751 (display-buffer-alist, display-buffer-normalize-arguments)
21752 (display-buffer-normalize-options, display-buffer)
21753 (display-buffer-alist-set): Use "function" instead of
21754 "fun-with-args".
21755
21756 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
21757
21758 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
21759 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
21760 debbugs.gnu.org. Mention acknowledgment email.
21761
21762 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
21763
21764 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
21765 buffer multibyteness, since it shouldn't matter.
21766
21767 2011-06-28 Martin Rudalics <rudalics@gmx.at>
21768
21769 * window.el (display-buffer-in-side-window): Handle dedicated
21770 windows as in display-buffer-reuse-window.
21771 (display-buffer-normalize-alist): Use value of override
21772 specifier.
21773 (display-buffer-normalize-specifiers): Use value of
21774 other-window-means-other-frame specifier.
21775 (display-buffer-alist): Rewrite some texts in widgets.
21776 (display-buffer): Spread arguments when calling function
21777 specified by fun-with-args.
21778
21779 2011-06-28 Deniz Dogan <deniz@dogan.se>
21780
21781 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
21782 Unnest `let'.
21783
21784 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
21785 selectors (Bug#5732).
21786 (css-proprietary-nmstart-re): Use `regexp-opt'.
21787
21788 2011-06-27 Jari Aalto <jari.aalto@cante.net>
21789
21790 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
21791 (eshell-ls-date-format): New defcustom.
21792 (eshell-ls-file): Use it.
21793
21794 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
21795
21796 * help-fns.el (describe-variable): Fix message for terminal-local vars.
21797
21798 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
21799
21800 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
21801 (ange-ftp-make-tmp-name): New arg.
21802 (ange-ftp-file-local-copy): Use it.
21803
21804 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
21805
21806 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
21807 no-conversion (Bug#8870).
21808
21809 2011-06-27 Martin Rudalics <rudalics@gmx.at>
21810
21811 * window.el (window-right, window-left, window-child)
21812 (window-child-count, window-last-child)
21813 (window-iso-combination-p, walk-window-tree-1)
21814 (window-atom-check-1, window-tree-1, delete-window)
21815 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
21816 new naming conventions - window-vchild, window-hchild,
21817 window-next and window-prev are now called window-top-child,
21818 window-left-child, window-next-sibling and window-prev-sibling
21819 respectively.
21820 (resize-window-reset): Rename to window-resize-reset.
21821 (resize-window-reset-1): Rename to window-resize-reset-1.
21822 (resize-window): Rename to window-resize.
21823 (window-min-height, window-min-width)
21824 (resize-mini-window, resize-this-window, resize-root-window)
21825 (resize-root-window-vertically, adjust-window-trailing-edge)
21826 (enlarge-window, shrink-window, maximize-window)
21827 (minimize-window, delete-window, quit-restore-window)
21828 (split-window, balance-windows, balance-windows-area-adjust)
21829 (balance-windows-area, window-state-put-2)
21830 (display-buffer-even-window-sizes, display-buffer-set-height)
21831 (display-buffer-set-width, set-window-text-height)
21832 (fit-window-to-buffer): Rename all "resize-window" prefixed
21833 calls to use the "window-resize" prefix convention.
21834 (display-buffer-alist): Fix symbol for label specifier.
21835 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
21836 corresponding specifier.
21837 Reported by Juanma Barranquero <lekktu@gmail.com>.
21838
21839 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
21840
21841 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
21842 convention.
21843 (ses-call-printer): Does not pass an empty string to formatter when the
21844 cell is empty to keep from barking printer Calc math-format-value.
21845
21846 2011-06-27 Richard Stallman <rms@gnu.org>
21847
21848 * battery.el (battery-mode-line-limit): New variable.
21849 (battery-update): Handle it.
21850
21851 * mail/rmailmm.el (rmail-mime-process-multipart):
21852 Handle truncated messages.
21853
21854 2011-06-27 Glenn Morris <rgm@gnu.org>
21855
21856 * progmodes/flymake.el (flymake-err-line-patterns):
21857 Allow for column numbers in the ant/javac pattern. (Bug#8866)
21858
21859 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
21860
21861 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
21862 (ses--clean-!, ses--clean-_): New functions.
21863 (ses-range): Add configurability of readout order, and conversion
21864 to Calc vector.
21865
21866 * ses.el (ses-repair-cell-reference-all): New function.
21867 (ses-cell-symbol): Set macro as safe, so that it can be used in
21868 formulas.
21869
21870 * ses.el: Update cycle detection algorithm.
21871 (ses-localvars): Add ses--Dijkstra-attempt-nb and
21872 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
21873 (ses-set-localvars): New function.
21874 (ses-make-cell): Add property-list as a cell element.
21875 (ses-cell-property-get-fun, ses-cell-property-get)
21876 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
21877 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
21878 New functions.
21879 (ses-cell-property-set, ses-cell-property-pop)
21880 (ses-cell-property-get-handle): New macro.
21881 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
21882 New aliases, used for code readability.
21883 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
21884 cycle detection.
21885 (ses-self-reference-early-detection): New defcustom.
21886 (ses-formula-references): Robustify against self-referring cells.
21887 (ses-mode): Use ses-set-localvars.
21888 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
21889 before lauching the update processing.
21890 (ses-initialize-Dijkstra-attempt): New function.
21891 (ses-recalculate-cell): Update for cycle detection based on
21892 Dijkstra algorithm.
21893
21894 * ses.el: Fix commenting and indenting convention.
21895
21896 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
21897
21898 * bs.el (bs-cycle-next): Complete last change.
21899
21900 2011-06-27 Drew Adams <drew.adams@oracle.com>
21901
21902 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
21903
21904 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
21905
21906 * net/network-stream.el (network-stream-open-starttls):
21907 Don't re-get capabilities unless we've reestablished connection.
21908 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
21909
21910 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
21911 to binary to possibly avoid line encoding issues on Windows (among
21912 other things).
21913
21914 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
21915
21916 * net/network-stream.el (open-network-stream): Return an :error
21917 saying what the problem was, if possible.
21918
21919 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
21920 server.
21921
21922 * net/network-stream.el (network-stream-open-starttls): If we
21923 wanted to use STARTTLS, and the server offered it, but we weren't
21924 able to because we had no STARTTLS support, then close the connection.
21925 (open-network-stream): Return an :error element, if present.
21926
21927 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
21928
21929 * hl-line.el (hl-line-sticky-flag): Doc fix.
21930 (global-hl-line-sticky-flag): New option (Bug#8323).
21931 (global-hl-line-highlight): Obey it.
21932
21933 * vc/vc.el (vc-revert-show-diff): Default to t.
21934
21935 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
21936
21937 * allout-widgets.el (allout-widgets-post-command-business):
21938 Stop decorating intermediate isearch matches. They're not being
21939 undecorated when an isearch is continued past, and isearch
21940 automatically collapses them. This leads to "widget leaks", where
21941 decorated items accumulate in collapsed areas. Lines with lots of
21942 hidden widgets can slow down cursor travel, substantially.
21943 Too much complicated machinery would be needed to ensure undecoration,
21944 so we're doing without this nicety.
21945
21946 (allout-widgets-tally-string): Don't try to do a hash-table-count
21947 of allout-widgets-tally when it's nil. This eliminates spurious "Error
21948 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
21949 *Messages* when allout-widgets-maintain-tally is t.
21950
21951 2011-06-26 Martin Rudalics <rudalics@gmx.at>
21952
21953 * window.el (display-buffer-normalize-argument): Rename to
21954 display-buffer-normalize-arguments. Handle special meaning of
21955 LABEL argument. Respect special-display-function when popping up
21956 a new frame. Fix code searching for a window showing the buffer
21957 on another frame.
21958 (display-buffer-normalize-specifiers):
21959 Call display-buffer-normalize-arguments.
21960 (display-buffer-in-window): Don't undedicate the window if its
21961 buffer remains the same.
21962 Reported by Drew Adams <drew.adams@oracle.com>.
21963 (display-buffer-alist): Add choice for same-window macro
21964 specfier.
21965 (display-buffer): Mention special meaning of LABEL argument in
21966 doc-string. Fix quoting. Don't pop up a new frame even as
21967 fallback.
21968
21969 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
21970
21971 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
21972 avoid deleting the current window in some cases (bug#8911).
21973
21974 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
21975
21976 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
21977 (Bug#8934)
21978
21979 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
21980
21981 * net/network-stream.el (network-stream-open-starttls):
21982 Use built-in TLS support if `gnutls-available-p' is true.
21983 (network-stream-open-tls): Ditto.
21984
21985 2011-06-26 Leo Liu <sdl.web@gmail.com>
21986
21987 * register.el (registerv): New struct.
21988 (registerv-make): New function.
21989 (jump-to-register, describe-register-1, insert-register):
21990 Support the jump-func, print-func and insert-func slot of a registerv
21991 struct. (Bug#8415)
21992
21993 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
21994
21995 * vc/vc.el (vc-revert-show-diff): New defcustom.
21996 (vc-diff-internal): New arg specifying diff buffer.
21997 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
21998 reuse an existing *vc-diff* buffer (Bug#8927).
21999
22000 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
22001
22002 2011-06-26 Glenn Morris <rgm@gnu.org>
22003
22004 * progmodes/f90.el (f90-critical-indent): New option.
22005 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
22006 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
22007 (f90-mode): Doc fix.
22008 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
22009 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
22010 (f90-beginning-of-block, f90-next-block, f90-indent-region)
22011 (f90-match-end): Handle block, critical.
22012
22013 2011-06-25 Glenn Morris <rgm@gnu.org>
22014
22015 * calendar/diary-lib.el (diary-included-files): Doc fix.
22016 (diary-include-files): New function, extracted from
22017 diary-include-other-diary-files and diary-mark-included-diary-files.
22018 (diary-include-other-diary-files, diary-mark-included-diary-files):
22019 Just call diary-include-files.
22020 (diary-mark-entries): Reset diary-included-files on first call.
22021
22022 * calendar/diary-lib.el (diary-mark-entries)
22023 (diary-mark-included-diary-files):
22024 Visit included diary-files in temp buffers.
22025
22026 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
22027 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
22028 (f90-start-block-re, f90-imenu-generic-expression)
22029 (f90-looking-at-program-block-start, f90-no-block-limit):
22030 Add support for submodules.
22031
22032 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
22033 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
22034
22035 2011-06-25 Eli Zaretskii <eliz@gnu.org>
22036
22037 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
22038 buffer-file-type before setting its value, to avoid disastrous
22039 global effects on decoding files for DOS/Windows systems. (Bug#8780)
22040
22041 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
22042
22043 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
22044
22045 * ses.el (ses-unload-function):
22046 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
22047
22048 * proced.el (proced-unload-function):
22049 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
22050
22051 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
22052
22053 * server.el (server-create-window-system-frame): Add parameters arg.
22054 (server-process-filter): Doc fix. Handle frame-parameters.
22055
22056 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
22057
22058 Fix bug#8730, bug#8781.
22059
22060 * loadhist.el (unload--set-major-mode): New function.
22061 (unload-feature): Use it.
22062
22063 * progmodes/python.el (python-after-info-look): Add autoload cookie.
22064 (python-unload-function): New function.
22065
22066 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
22067
22068 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
22069
22070 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
22071
22072 * net/browse-url.el (browse-url-firefox-program): Add icecat to
22073 the candidates list.
22074
22075 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
22076
22077 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
22078
22079 2011-06-23 Richard Stallman <rms@gnu.org>
22080
22081 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
22082 (rmail-variables): Set next-error-move-function.
22083 (rmail-what-message): Take argument POS.
22084 (rmail-next-error-move): New function.
22085
22086 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
22087
22088 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
22089 messages for adjacent non-terminals.
22090
22091 2011-06-23 Richard Stallman <rms@gnu.org>
22092
22093 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
22094 (rmail-show-message-1): Preserve buffer modified flag.
22095 (rmail-start-mail): Don't specify use of rmail-mail-return;
22096 that's done by mail-bury now.
22097 (rmail-mail-return): Handle arg NEWBUF.
22098
22099 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
22100
22101 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
22102 SIZE is a number.
22103
22104 2011-06-23 Martin Rudalics <rudalics@gmx.at>
22105
22106 * window.el (get-lru-window, get-mru-window)
22107 (get-largest-window): Never return a minibuffer window.
22108 (display-buffer-pop-up-window): Fix a bug that could lead to
22109 reusing the minibuffer window.
22110 (display-buffer): Pass original specifier argument to
22111 display-buffer-function instead of the normalized one.
22112 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
22113
22114 2011-06-22 Leo Liu <sdl.web@gmail.com>
22115
22116 * minibuffer.el (completing-read-function)
22117 (completing-read-default): Move from minibuf.c.
22118
22119 2011-06-22 Richard Stallman <rms@gnu.org>
22120
22121 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
22122 to Rmail even if not started by a special Rmail command.
22123
22124 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
22125 Copy the buffer currently showing just one message.
22126
22127 2011-06-22 Roland Winkler <winkler@gnu.org>
22128
22129 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
22130 (bibtex-clean-entry): First delete the old key so that a
22131 customized algorithm for generating the new key does not get
22132 confused by the old key.
22133 (bibtex-url): Obey regexp of first step.
22134 (bibtex-search-entries): Do not use add-to-list with local
22135 list-var.
22136
22137 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
22138
22139 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
22140 stored a user name, then query for the password first, instead of
22141 waiting for SMTP to give an error message and the trying again.
22142
22143 2011-06-22 Lawrence Mitchell <wence@gmx.li>
22144
22145 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
22146 BUFFER in call-process.
22147
22148 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
22149
22150 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
22151 QUIT twice.
22152 (smtpmail-try-auth-methods): Require user name and password from
22153 auth-source.
22154
22155 2011-06-22 Martin Rudalics <rudalics@gmx.at>
22156
22157 * window.el (display-buffer-default-specifiers)
22158 (display-buffer-alist): Remove entries for pop-up-frame-alist.
22159 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
22160 (split-window): Normalize SIDE argument (Bug#8916).
22161
22162 * frame.el (pop-up-frame-alist, pop-up-frame-function)
22163 (special-display-frame-alist, special-display-popup-frame):
22164 Remove duplicate declarations. These are now in window.el.
22165
22166 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
22167
22168 * mail/smtpmail.el (smtpmail-via-smtp):
22169 Set :use-starttls-if-possible so that we always use STARTTLS if the
22170 server supports it. SMTP servers that support STARTTLS commonly
22171 require it.
22172
22173 * net/network-stream.el (network-stream-open-starttls): Support
22174 upgrading to STARTTLS always, even if we don't have built-in support.
22175 (open-network-stream): Add the :always-query-capabilities keyword.
22176
22177 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
22178 upgrades with `open-network-stream', and rely solely on
22179 auth-source for all credentials. Big changes throughout the file,
22180 but in particular:
22181 (smtpmail-auth-credentials): Remove.
22182 (smtpmail-starttls-credentials): Remove.
22183 (smtpmail-via-smtp): Check for servers saying they want AUTH after
22184 MAIL FROM, too.
22185
22186 * net/network-stream.el (network-stream-open-starttls):
22187 Provide support for client certificates both for external and built-in
22188 STARTTLS.
22189 (auth-source): Require.
22190 (open-network-stream): Document the :client-certificate keyword.
22191 (network-stream-certificate): Change cert-cert to cert and
22192 cert-key to key.
22193
22194 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
22195
22196 * net/tramp-cache.el (top): Don't load the persistency file when
22197 "emacs -Q" has been called.
22198
22199 2011-06-21 Tim Harper <timcharper@gmail.com>
22200
22201 * term/ns-win.el (ns-initialize-window-system):
22202 Set application-specific `ApplePressAndHoldEnabled' system
22203 resource to NO as it is not yet supported by the NS port.
22204
22205 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
22206
22207 * misc.el (list-dynamic-libraries--refresh): Compute header here...
22208 (list-dynamic-libraries): ...not here.
22209
22210 2011-06-21 Leo Liu <sdl.web@gmail.com>
22211
22212 * subr.el (sha1): Implement sha1 using secure-hash.
22213
22214 2011-06-21 Martin Rudalics <rudalics@gmx.at>
22215
22216 * window.el (display-buffer-alist): In default value do not
22217 enforce searching a window on any but the selected frame.
22218 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
22219 (display-buffer-select-window): Remove function.
22220 (display-buffer-in-window): When a window on another frame gets
22221 reused, do not select it any more but just raise its frame if
22222 necessary (Bug#8851) and (Bug#8856).
22223 (display-buffer-normalize-options): Handle pop-up-frames related
22224 options more faithfully.
22225 (pop-to-buffer): Don't rely on `display-buffer' selecting the
22226 window if it is on another frame.
22227 (display-buffer-alist, display-buffer-default-specifiers):
22228 Don't make new frame unsplittable by default.
22229 (display-buffer-normalize-argument): Fix doc-string typo and use
22230 'same-frame-other-window instead of 'other-window when associating
22231 with display-buffer-macro-specifiers.
22232
22233 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
22234
22235 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
22236 New functions.
22237 (5x5-mode-map, 5x5-mode-menu): Bind them.
22238 (5x5-draw-grid): Tweak the solver's rendering.
22239
22240 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
22241
22242 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
22243 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
22244
22245 2011-06-21 Drew Adams <drew.adams@oracle.com>
22246
22247 * menu-bar.el: Use function variable instead of switch-to-buffer.
22248 (menu-bar-select-buffer-function): New variable.
22249 (menu-bar-update-buffers): Use it (bug#8876).
22250
22251 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
22252
22253 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
22254 variable's status.
22255
22256 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
22257
22258 * x-dnd.el (x-dnd-version-from-flags)
22259 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
22260 and long as number (Bug#8899).
22261 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
22262
22263 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
22264
22265 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
22266 (completion-try-completion, completion-all-completions): Compute the
22267 metadata argument if it's missing; make it optional (bug#8795).
22268
22269 * wid-edit.el: Use lex-bind and move towards completion-at-point.
22270 (widget-complete): Use new :completion-function property.
22271 (widget-completions-at-point): New function.
22272 (default): Use :completion-function instead of :complete.
22273 (widget-default-completions): Rename from widget-default-complete;
22274 Rewrite.
22275 (widget-string-complete, widget-file-complete, widget-color-complete):
22276 Remove functions.
22277 (file, symbol, function, variable, coding-system, color):
22278 * international/mule-cmds.el (default-input-method, charset)
22279 (language-info-custom-alist):
22280 * cus-edit.el (face): Use new property :completions.
22281
22282 * progmodes/pascal.el (pascal-completions-at-point): New function.
22283 (pascal-mode): Use it.
22284 (pascal-mode-map): Use completion-at-point.
22285 (pascal-toggle-completions): Make obsolete.
22286 (pascal-complete-word, pascal-show-completions):
22287 * progmodes/octave-mod.el (octave-complete-symbol):
22288 Redefine as obsolete alias.
22289 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
22290 Signal absence of completion info for old Octave,
22291 (inferior-octave-complete): Redefine as obsolete alias.
22292 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
22293 (meta-completions-at-point): Rename from meta-complete-symbol and
22294 adapt it for use on completion-at-point-functions.
22295 (meta-common-mode): Use it.
22296 (meta-looking-at-backward, meta-match-buffer): Remove.
22297 (meta-complete-symbol): Redefine as obsolete alias.
22298 (meta-common-mode-map): Use completion-at-point.
22299 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
22300 (makefile-mode-map): Use completion-at-point.
22301 (makefile-completions-at-point): Rename from makefile-complete and
22302 adapt it for use on completion-at-point-functions.
22303 (makefile-mode): Use it.
22304 (makefile-complete): Redefine as obsolete alias.
22305
22306 2011-06-20 Deniz Dogan <deniz@dogan.se>
22307
22308 * net/rcirc.el: Delete trailing whitespaces once and for all.
22309
22310 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
22311
22312 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
22313
22314 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
22315
22316 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
22317
22318 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
22319
22320 2011-06-19 Martin Rudalics <rudalics@gmx.at>
22321
22322 * window.el (display-buffer-other-window-means-other-frame):
22323 Call display-buffer-normalize-alist.
22324 (display-buffer-normalize-specifiers-1): Rename to
22325 display-buffer-normalize-argument. New argument other-frame.
22326 Rewrite.
22327 (display-buffer-normalize-specifiers-2): Rename to
22328 display-buffer-normalize-options.
22329 (display-buffer-normalize-alist-1): New function.
22330 (display-buffer-normalize-specifiers-3): Rename to
22331 display-buffer-normalize-alist.
22332 Call display-buffer-normalize-alist-1.
22333 (display-buffer-normalize-options-inhibit): New variable.
22334 (display-buffer-normalize-specifiers): Rewrite calling
22335 display-buffer-normalize-alist,
22336 display-buffer-normalize-argument, and
22337 display-buffer-normalize-options. Don't call the latter if
22338 display-buffer-normalize-options-inhibit is non-nil.
22339 (frame-auto-delete): New option.
22340 (window-deletable-p): Use frame-auto-delete.
22341 (window-list-no-nils, window-state-ignored-parameters)
22342 (window-state-get-1, window-state-get, window-state-put-list)
22343 (window-state-put-1, window-state-put-2, window-state-put):
22344 New functions.
22345 (display-buffer-normalize-options): Move special-display-p group
22346 after pop-up-frame group (Bug#8851) and (Bug#8856).
22347
22348 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
22349
22350 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
22351 groups (Bug#8776).
22352 (rx-submatch-n): New function.
22353 (rx): Document it.
22354
22355 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
22356 (Bug#8768).
22357
22358 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
22359
22360 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
22361
22362 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
22363 anytime existing face settings are present (Bug#8889).
22364
22365 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
22366 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
22367 Remove unused argument.
22368
22369 2011-06-18 Martin Rudalics <rudalics@gmx.at>
22370
22371 * window.el (display-buffer-default-specifiers):
22372 Remove pop-up-frame. Add pop-up-window-min-height,
22373 pop-up-window-min-width, and another reuse-window specifier
22374 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
22375 (display-buffer-normalize-specifiers-2):
22376 Handle split-height-threshold and split-width-threshold also when
22377 pop-up-windows is unset. Add a reuse-window specifier for the
22378 case popping up a new window fails.
22379 (special-display-popup-frame): Remove double quoting.
22380 (display-buffer-normalize-specifiers-1): Fix thinko.
22381
22382 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
22383
22384 * shell.el (shell-completion-vars): Set pcomplete-termination-string
22385 according to comint-completion-addsuffix.
22386
22387 * pcomplete.el: Convert to lexical binding and fix bug#8819.
22388 (pcomplete-suffix-list): Mark as obsolete.
22389 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
22390 pcomplete-seen in the closure.
22391 (pcomplete-comint-setup): Setup completion-at-point as well.
22392 (pcomplete--entries): New function.
22393 (pcomplete--env-regexp): New var.
22394 (pcomplete-entries): Rewrite to work with partial-completion and
22395 without relying on pcomplete-suffix-list.
22396 (pcomplete-pare-list): Remove, unused.
22397
22398 2011-06-17 Martin Rudalics <rudalics@gmx.at>
22399
22400 * window.el (display-buffer-alist): Set pop-up-window-min-height
22401 and pop-up-window-min-width in default value. Reported by
22402 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
22403 other-window-means-other-frame.
22404 (display-buffer-macro-specifiers): Comment out entry for
22405 other-window specifier.
22406 (display-buffer-other-window-means-other-frame): New function.
22407 (display-buffer-normalize-specifiers-1): New arguments
22408 buffer-name and label. Treat other-window case specially.
22409 (display-buffer-normalize-specifiers-2): Treat other-window case
22410 specially.
22411 (display-buffer-normalize-specifiers-3): New function.
22412 (display-buffer-normalize-specifiers):
22413 Call display-buffer-normalize-specifiers-3.
22414
22415 2011-06-17 Martin Rudalics <rudalics@gmx.at>
22416
22417 * window.el (same-window-p): Fix two typos introduced when
22418 adding with-no-warnings.
22419 (display-buffer-normalize-specifiers-1): Don't check
22420 pop-up-frames for 'unset initialization.
22421 (display-buffer-normalize-specifiers-2): Major rewrite using
22422 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
22423 (pop-up-frames, display-buffer-reuse-frames)
22424 (display-buffer-mark-dedicated): Don't initialize to 'unset.
22425 Suggested by David Engster <deng@randomsample.de>.
22426 (even-window-heights): Initialize to 'unset.
22427 (display-buffer-alist-set): Handle new 'unset initializations.
22428 (display-buffer-macro-specifiers): Don't pop up a new frame in the
22429 other window case.
22430
22431 2011-06-16 Martin Rudalics <rudalics@gmx.at>
22432
22433 * window.el (display-buffer-normalize-specifiers-1):
22434 Respect current value of pop-up-frames for most reasonable values of
22435 second argument of display-buffer (Bug#8865).
22436 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
22437 (switch-to-buffer-other-window-same-frame)
22438 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
22439 Adams (Bug#8875).
22440 (display-buffer): Don't check noninteractive when calling
22441 display-buffer-pop-up-frame.
22442 (display-buffer-pop-up-frame): Never pop up a frame in
22443 noninteractive mode (Bug#8857).
22444 (enlarge-window, shrink-window): Don't report an error when the
22445 window can't be resized as requested (Bug#8862).
22446
22447 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
22448
22449 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
22450
22451 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
22452
22453 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
22454
22455 2011-06-15 Alan Mackenzie <acm@muc.de>
22456
22457 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
22458 for declarators, disable knr checking to speed up for normal files.
22459 2: Refactor, replacing a sequence of nested if forms by a cond form.
22460
22461 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
22462
22463 * net/network-stream.el (open-network-stream): Add the keyword
22464 :always-query-capabilities for the case where you want to force a
22465 `plain' network connection, but the protocol still requires the
22466 capabilitiy command (i.e., SMTP and EHLO).
22467
22468 * subr.el (process-live-p): Rename from `process-alive-p' for
22469 consistency with other `-live-p' functions.
22470
22471 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
22472
22473 * window.el (same-window-buffer-names, same-window-regexps)
22474 (special-display-frame-alist, special-display-popup-frame)
22475 (special-display-function, special-display-buffer-names)
22476 (special-display-regexps, pop-up-frame-alist)
22477 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
22478 (pop-up-windows, split-window-preferred-function)
22479 (split-height-threshold, split-width-threshold, even-window-heights)
22480 (display-buffer-mark-dedicated): Don't encourage the use of
22481 display-buffer-alist from Elisp code.
22482
22483 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
22484
22485 * progmodes/python.el (python-mode): Derive from prog-mode.
22486 * progmodes/ps-mode.el (ps-mode):
22487 * progmodes/mixal-mode.el (mixal-mode):
22488 * progmodes/cfengine.el (cfengine-mode):
22489 * progmodes/ld-script.el (ld-script-mode): Likewise.
22490
22491 2011-06-15 Martin Rudalics <rudalics@gmx.at>
22492
22493 * window.el (display-buffer-alist): Trim default value to avoid
22494 popping up a new frame (Bug#8857) or reusing an arbitrary window
22495 on another frame.
22496 (display-buffer): Do not fall back on popping up a new frame in
22497 batch mode (Bug#8857).
22498
22499 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
22500
22501 * cus-theme.el (describe-theme-1): Use custom-theme-p.
22502 (custom-theme-summary): New function.
22503 (customize-themes): Use it.
22504
22505 2011-06-13 Glenn Morris <rgm@gnu.org>
22506
22507 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
22508
22509 2011-06-13 Martin Rudalics <rudalics@gmx.at>
22510
22511 * help.el (help-window): Remove variable.
22512 (help-window-point-marker, temp-buffer-max-height)
22513 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
22514 (help-print-return-message): Don't set help-window.
22515 (resize-temp-buffer-window): Rewrite cod eand doc-string.
22516 (help-window-setup-finish): Remove.
22517 (help-window-display-message, help-window-setup)
22518 (with-help-window): Major rewrite based on new
22519 display-buffer-window variable.
22520
22521 * help-mode.el (help-mode-finish): Remove help-window related
22522 code.
22523
22524 * view.el (view-exits-all-viewing-windows): Remove reference to
22525 view-return-to-alist in doc-string.
22526 (view-return-to-alist): Make obsolete.
22527 (view-buffer): Call pop-to-buffer-same-window and remove
22528 undo-window code.
22529 (view-buffer-other-window): Call pop-to-buffer-other-window and
22530 simplify code. Ignore second argument.
22531 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
22532 simplify code. Ignore second argument.
22533 (view-return-to-alist-update): Make obsolete.
22534 (view-mode-enter): Rename second argument to QUIT-RESTORE.
22535 Rewrite using quit-restore window parameters.
22536 (view-mode-exit): Rename second argument to EXIT-ONLY.
22537 Rewrite using quit-restore-window.
22538 (View-exit, View-exit-and-edit, View-leave, View-quit)
22539 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
22540 appropriate arguments.
22541 (view-end-message): Use quit-restore window parameter.
22542
22543 * window.el (display-buffer-function): Rewrite doc-string.
22544 (display-buffer-window, display-buffer-alist): New variables.
22545 (display-buffer-split-specifiers)
22546 (display-buffer-side-specifiers)
22547 (display-buffer-macro-specifiers): New constants.
22548 (display-buffer-even-window-sizes, display-buffer-set-height)
22549 (display-buffer-set-width, display-buffer-select-window)
22550 (display-buffer-in-window, display-buffer-reuse-window)
22551 (display-buffer-split-window-1, display-buffer-split-window)
22552 (display-buffer-split-atom-window, display-buffer-pop-up-window)
22553 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
22554 (display-buffer-in-side-window, normalize-buffer-to-display)
22555 (display-buffer-normalize-specifiers-1)
22556 (display-buffer-normalize-specifiers-2)
22557 (display-buffer-normalize-specifiers, display-buffer-frame):
22558 New functions.
22559 (display-buffer): Major rewrite.
22560 (display-buffer-other-window, display-buffer-other-frame)
22561 (pop-to-buffer, switch-to-buffer-other-window)
22562 (switch-to-buffer-other-frame): Rewrite.
22563 (display-buffer-same-window, display-buffer-same-frame)
22564 (display-buffer-same-frame-other-window)
22565 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
22566 (pop-to-buffer-other-window)
22567 (pop-to-buffer-same-frame-other-window)
22568 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
22569 (switch-to-buffer-other-window-same-frame): New functions.
22570 (same-window-p, special-display-p): Rewrite disabling warnings.
22571 Make obsolete.
22572 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
22573 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
22574 Make obsolete
22575 (same-window-buffer-names, same-window-regexps)
22576 (special-display-frame-alist, special-display-popup-frame)
22577 (special-display-function, special-display-buffer-names)
22578 (special-display-regexps, pop-up-frame-alist)
22579 (pop-up-frame-function, split-window-preferred-function)
22580 (split-height-threshold, split-width-threshold)
22581 (even-window-heights): Make obsolete.
22582
22583 2011-06-12 Glenn Morris <rgm@gnu.org>
22584
22585 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
22586 Misc simplifications.
22587
22588 2011-06-12 Martin Rudalics <rudalics@gmx.at>
22589
22590 * window.el (window-safely-shrinkable-p): Restore function which
22591 was inadvertently removed in change from 2011-06-11. Declare as
22592 obsolete.
22593
22594 * calendar/calendar.el (calendar-generate-window):
22595 Use window-iso-combined-p instead of combination of one-window-p and
22596 window-safely-shrinkable-p.
22597
22598 2011-06-12 Glenn Morris <rgm@gnu.org>
22599
22600 * progmodes/fortran.el (fortran-mode-syntax-table):
22601 * progmodes/f90.el (f90-mode-syntax-table):
22602 Set % to punctuation. (Bug#8820)
22603 (f90-find-tag-default): Remove, no longer needed.
22604
22605 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
22606
22607 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
22608
22609 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
22610
22611 * image.el (image-animated-p): Return animation delay in seconds.
22612 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
22613 (image-animate-timeout): Remove DELAY argument. Don't assume
22614 every subimage has the same delay; get it from image-animated-p.
22615 (image-animate): Caller changed.
22616
22617 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
22618
22619 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
22620 to ignored backtrace functions.
22621
22622 2011-06-11 Glenn Morris <rgm@gnu.org>
22623
22624 * calendar/appt.el (appt-disp-window-function): Doc fix.
22625 (appt-check): Handle overlapping appointments. (Bug#8337)
22626
22627 2011-06-11 Martin Rudalics <rudalics@gmx.at>
22628
22629 * window.el (window-tree-1, window-tree): New functions, moving
22630 the latter to window.el.
22631 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
22632 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
22633 (bw-refresh-edges): Remove.
22634 (balance-windows-1, balance-windows-2): New functions.
22635 (balance-windows): Rewrite in terms of window tree functions,
22636 balance-windows-1 and balance-windows-2.
22637 (bw-adjust-window): Remove.
22638 (balance-windows-area-adjust): New function with functionality of
22639 bw-adjust-window but using resize-window.
22640 (set-window-text-height): Rewrite doc-string.
22641 Use normalize-live-window and resize-window.
22642 (enlarge-window-horizontally, shrink-window-horizontally):
22643 Rename argument to DELTA.
22644 (window-buffer-height): New function.
22645 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
22646 Rewrite using new window resize routines.
22647 (kill-buffer-and-window, mouse-autoselect-window-select):
22648 Use ignore-errors instead of condition-case.
22649 (quit-window): Call delete-frame instead of delete-windows-on
22650 for the only buffer on frame.
22651
22652 2011-06-10 Martin Rudalics <rudalics@gmx.at>
22653
22654 * loadup.el (top-level): Load window before files for the sake
22655 of replace-buffer-in-windows.
22656
22657 * files.el (read-buffer-to-switch)
22658 (switch-to-buffer-other-window)
22659 (switch-to-buffer-other-frame, display-buffer-other-frame):
22660 Move to window.el.
22661
22662 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
22663 (previous-buffer): Move to window.el.
22664
22665 * bindings.el (unbury-buffer): Move to window.el.
22666
22667 * window.el (delete-other-windows-vertically): Move after
22668 definition of delete-other-windows.
22669 (other-window, delete-windows-on, replace-buffer-in-windows):
22670 Move here from window.c.
22671 (record-window-buffer, unrecord-window-buffer)
22672 (set-window-buffer-start-and-point, switch-to-prev-buffer)
22673 (switch-to-next-buffer): New functions.
22674 (get-next-valid-buffer, last-buffer, next-buffer): Move here
22675 from simple.el. Call switch-to-next-buffer.
22676 (previous-buffer): Move here from simple.el.
22677 Call switch-to-prev-buffer.
22678 (bury-buffer): Move here from buffer.c. Switch to previous
22679 buffer when window cannot be deleted.
22680 (unbury-buffer): Move here from bindings.el.
22681 (ctl-x-map): Move binding for other-window from window.c to
22682 here.
22683 (read-buffer-to-switch, switch-to-buffer-other-window)
22684 (switch-to-buffer-other-frame): Move here from files.el.
22685 (normalize-buffer-to-switch-to): New functions.
22686 (switch-to-buffer): Move here from buffer.c.
22687 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
22688
22689 2011-06-10 Martin Rudalics <rudalics@gmx.at>
22690
22691 * window.el (window-min-height, window-min-width): Move here
22692 from window.c. Add defcustoms and rewrite doc-strings.
22693 (resize-mini-window, resize-window): New functions.
22694 (adjust-window-trailing-edge, enlarge-window, shrink-window):
22695 Move here from window.c.
22696 (maximize-window, minimize-window): New functions.
22697 (delete-window, delete-other-windows, split-window): Move here
22698 from window.c.
22699 (window-split-min-size): New function.
22700 (split-window-keep-point): Mention split-window-above-each-other
22701 instead of split-window-vertically.
22702 (split-window-above-each-other, split-window-vertically):
22703 Rename split-window-vertically to split-window-above-each-other
22704 and provide defalias for old definition.
22705 (split-window-side-by-side, split-window-horizontally):
22706 Rename split-window-horizontally to split-window-side-by-side
22707 and provide defalias for the old definition.
22708 (ctl-x-map): Move bindings for delete-window,
22709 delete-other-windows and enlarge-window here from window.c.
22710 Replace bindings for split-window-vertically and
22711 split-window-horizontally by bindings for
22712 split-window-above-each-other and split-window-side-by-side.
22713
22714 * cus-start.el (all): Remove entries for window-min-height and
22715 window-min-width. Add entries for window-splits and
22716 window-nest.
22717
22718 2011-06-09 Glenn Morris <rgm@gnu.org>
22719
22720 * calendar/appt.el (appt-mode-line): New function.
22721 (appt-check, appt-disp-window): Use it.
22722
22723 * files.el (hack-one-local-variable-eval-safep):
22724 Allow minor-modes with explicit +/-1 arguments.
22725
22726 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
22727
22728 * term/xterm.el (xterm): Add defgroup.
22729 (xterm-extra-capabilities): Add defcustom to supply known xterm
22730 capabilities, skip querying them, or query them (default).
22731 (terminal-init-xterm): Use it.
22732 (terminal-init-xterm-modify-other-keys): New function to set up
22733 modifyOtherKeys support to simplify `terminal-init-xterm'.
22734
22735 2011-06-09 Martin Rudalics <rudalics@gmx.at>
22736
22737 * window.el (resize-window-reset, resize-window-reset-1)
22738 (resize-subwindows-skip-p, resize-subwindows-normal)
22739 (resize-subwindows, resize-other-windows, resize-this-window)
22740 (resize-root-window, resize-root-window-vertically)
22741 (window-deletable-p, window-or-subwindow-p)
22742 (frame-root-window-p): New functions.
22743
22744 2011-06-09 Glenn Morris <rgm@gnu.org>
22745
22746 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
22747 (ange-ftp-get-files): Use it.
22748
22749 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
22750
22751 * mail/sendmail.el (mail-recover-1, mail-recover):
22752 * files.el (recover-file, recover-session):
22753 Handle dired-listing-switches not being just a single short option.
22754
22755 2011-06-09 Glenn Morris <rgm@gnu.org>
22756
22757 * calendar/appt.el (appt-display-message, appt-disp-window):
22758 Handle lists of appointments.
22759
22760 2011-06-08 Martin Rudalics <rudalics@gmx.at>
22761
22762 * window.el (one-window-p): Move down in code.
22763 Rewrite doc-string.
22764 (window-current-scroll-bars): Rewrite doc-string.
22765 Normalize live window argument.
22766 (walk-windows, get-window-with-predicate, count-windows):
22767 Rewrite doc-string. Use window-list-1.
22768 (window-in-direction-2, window-in-direction, get-mru-window):
22769 New functions.
22770
22771 2011-06-08 Reuben Thomas <rrt@sc3d.org>
22772
22773 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
22774 Doc fix (Bug#8713).
22775
22776 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
22777
22778 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
22779
22780 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
22781
22782 * loadhist.el (unload-feature-special-hooks):
22783 Add `comint-output-filter-functions'.
22784
22785 2011-06-08 Ivan Kanis <gnu@kanis.fr>
22786
22787 * calendar/appt.el (appt-check): Move some initializations into the let.
22788
22789 2011-06-08 Martin Rudalics <rudalics@gmx.at>
22790
22791 * window.el (window-height): Defalias to window-total-height.
22792 (window-width): Defalias to window-body-width.
22793
22794 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
22795
22796 * image-mode.el (image-toggle-animation): New command.
22797 (image-mode-map): Bind it to RET.
22798 (image-mode): Update message.
22799 (image-toggle-display-image): Avoid a spurious cache flush.
22800 (image-transform-rotation): Doc fix.
22801 (image-transform-properties): Return quickly in the normal case.
22802 (image-animate-loop): Rename from image-animate-max-time.
22803
22804 * image.el (image-animate-max-time): Move to image-mode.el.
22805 (create-animated-image): Remove unnecessary function.
22806 (image-animate): Rename from image-animate-start. New arg.
22807 (image-animate-stop): Remove; just use image-animate-timer.
22808 (image-animate-timer): Use car-safe.
22809 (image-animate-timeout): Rename argument.
22810
22811 2011-06-07 Martin Rudalics <rudalics@gmx.at>
22812
22813 * window.el (get-lru-window, get-largest-window): Move here from
22814 window.c. Rename first argument to ALL-FRAMES.
22815 Rephrase doc-strings.
22816 (get-buffer-window-list): Rewrite using window-list-1.
22817 Rephrase doc-string.
22818 (window-safe-min-height, window-safe-min-width): New constants.
22819 (window-size-ignore, window-min-size, window-min-size-1)
22820 (window-sizable, window-sizable-p, window-size-fixed-1)
22821 (window-size-fixed-p, window-min-delta-1, window-min-delta)
22822 (window-max-delta-1, window-max-delta, window-resizable)
22823 (window-resizable-p, window-total-height, window-total-width)
22824 (window-body-width): New functions.
22825 (window-full-height-p, window-full-width-p): Rewrite using
22826 window-total-size.
22827 (window-body-height): Rewrite using window-body-size.
22828
22829 2011-06-06 Martin Rudalics <rudalics@gmx.at>
22830
22831 * window.el (window-right, window-left, window-child)
22832 (window-child-count, window-last-child, window-any-p)
22833 (normalize-live-buffer, normalize-live-frame)
22834 (normalize-any-window, normalize-live-window)
22835 (window-iso-combination-p, window-iso-combined-p)
22836 (window-iso-combinations)
22837 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
22838 (windows-with-parameter, window-with-parameter)
22839 (window-atom-root, make-window-atom, window-atom-check-1)
22840 (window-atom-check, window-side-check, window-check):
22841 New functions.
22842 (ignore-window-parameters, window-sides, window-sides-vertical)
22843 (window-sides-slots): New variables.
22844 (window-size-fixed): Move down in code. Minor doc-string fix.
22845
22846 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
22847
22848 * comint.el (comint-dynamic-complete-as-filename)
22849 (comint-dynamic-complete-filename): Correctly call
22850 completion-in-region.
22851
22852 2011-06-05 Deniz Dogan <deniz@dogan.se>
22853
22854 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
22855 in last change.
22856
22857 2011-06-05 Deniz Dogan <deniz@dogan.se>
22858
22859 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
22860 (rcirc): Use it to prompt for encryption.
22861
22862 2011-06-05 Roland Winkler <winkler@gnu.org>
22863
22864 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
22865 (bibtex-search-entries): New command bound to C-c C-a.
22866 (bibtex-display-entries): New function.
22867
22868 2011-06-05 Roland Winkler <winkler@gnu.org>
22869
22870 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
22871 (bibtex-insert-kill): After yanking insert newline if necessary.
22872 (bibtex-initialize): Call bibtex-string-files-init only once.
22873 (bibtex-mode): Do not call easy-menu-add.
22874 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
22875 (bibtex-yank): Set arg properly if nil.
22876
22877 2011-06-05 Roland Winkler <winkler@gnu.org>
22878
22879 * textmodes/bibtex.el (bibtex-search-entry-globally):
22880 New variable.
22881 (bibtex-search-entry): Use it.
22882
22883 2011-06-05 Roland Winkler <winkler@gnu.org>
22884
22885 * textmodes/bibtex.el (bibtex-entry-format): New option
22886 sort-fields.
22887 (bibtex-format-entry, bibtex-reformat): Honor this option.
22888 (bibtex-parse-entry): Return fields in proper order.
22889
22890 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
22891
22892 * doc-view.el (doc-view-remove-if): Move computation of result out
22893 of `dolist' to silence misleading lexical-binding warning.
22894
22895 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
22896
22897 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
22898 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
22899
22900 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
22901
22902 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
22903 "SunOS 5.10".
22904
22905 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
22906
22907 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
22908 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
22909 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
22910 (tramp-parse-putty):
22911 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
22912 (tramp-completion-function-alist-ssh)
22913 (tramp-completion-function-alist-telnet)
22914 (tramp-completion-function-alist-su)
22915 (tramp-completion-function-alist-putty): Set `tramp-autoload'
22916 cookie.
22917
22918 * net/tramp-ftp.el:
22919 * net/tramp-sh.el:
22920 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
22921 load "tramp.el" `tramp-set-completion-function'.
22922
22923 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
22924
22925 * shell.el: Require and use pcomplete.
22926 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
22927 (shell-completion-vars): Set pcomplete-default-completion-function.
22928
22929 2011-06-04 Deniz Dogan <deniz@dogan.se>
22930
22931 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
22932 `memq' (Bug#8799).
22933
22934 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
22935
22936 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
22937
22938 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
22939
22940 * bs.el (bs--mark-unmark, bs--nth-wrapper):
22941 * mpc.el (mpc-select-extend, mpc-songpointer-context):
22942 * vc/log-view.el (log-view-beginning-of-defun):
22943 * vc/smerge-mode.el (smerge-apply-resolution-patch)
22944 (smerge-refine-forward, smerge-refine-chopup-region):
22945 Silence warning for unused `dotimes' counter variables.
22946
22947 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
22948
22949 * net/tramp.el (tramp-with-progress-reporter): Rename from
22950 with-progress-reporter. Use `declare'.
22951 * net/tramp-smb.el:
22952 * net/tramp-sh.el:
22953 * net/tramp-gvfs.el: Update all uses.
22954
22955 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
22956
22957 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
22958 buffer isn't killed before making it current.
22959
22960 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
22961
22962 Silence various byte-compiler warnings.
22963 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
22964 `access-type' and new obsolescence format.
22965 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
22966 new format.
22967 (byte-compile-check-variable): New `access-type' argument.
22968 Only warn if the access-type is obsolete.
22969 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
22970 (byte-compile-variable-set): Adjust callers.
22971 * help-fns.el (describe-variable): Adjust to new obsolescence format.
22972 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
22973 setting it as obsolete.
22974 * simple.el (minibuffer-completing-symbol):
22975 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
22976 access as obsolete.
22977 * minibuffer.el (minibuffer-completing-file-name): Don't make it
22978 obsolete yet.
22979 * international/quail.el (quail-mouse-choose-completion): Remove unused
22980 code referring to obsolete var.
22981 (quail-choose-completion-string): Remove.
22982 * server.el (server-clients-with, server-kill-buffer-query-function)
22983 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
22984 * proced.el (proced-send-signal):
22985 * emacs-lisp/lisp.el (lisp-complete-symbol):
22986 Replace completion-annotate-function with completion-extra-properties.
22987
22988 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
22989
22990 * simple.el (goto-line): Use read-number.
22991 (overriding-map-is-bound): Remove.
22992 (saved-overriding-map): Change default.
22993 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
22994 Take the map as argument.
22995 (universal-argument, negative-argument, digit-argument): Use it.
22996 (restore-overriding-map): Adjust.
22997 (do-auto-fill): Use fill-forward-paragraph.
22998 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
22999
23000 * minibuffer.el (minibuffer-inactive-mode-map): New var.
23001 (minibuffer-inactive-mode): New major mode.
23002 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
23003 the *Messages* buffer" hack.
23004 (mouse-popup-menubar): Don't burp if the event is a normal key.
23005
23006 Miscellaneous tweaks.
23007 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
23008 lexical scoping as in subr.el's dolist and dotimes.
23009 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
23010 Silence compiler warning.
23011 * thingatpt.el (forward-whitespace): Trivial coding style fix.
23012 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
23013 * international/ccl.el (ccl-compile): Trivial simplification.
23014 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
23015 * emacs-lisp/testcover.el (testcover-end): Remove spurious
23016 `printflag' argument.
23017 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
23018 Purecopy the whole obsolescence data.
23019
23020 2011-06-01 Leo Liu <sdl.web@gmail.com>
23021
23022 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
23023 improve doc-string as suggested by Marco Pessotto
23024 <melmothx@gmail.com>.
23025 (rcirc-print): Fix last change.
23026
23027 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
23028
23029 * minibuffer.el (complete-with-action): Return nil for the metadata and
23030 boundaries of non-functional tables.
23031 (completion-table-dynamic): Return nil for the metadata.
23032 (completion-table-with-terminator): Add default case, using
23033 complete-with-action.
23034 (completion--metadata): New function.
23035 (completion-all-sorted-completions, minibuffer-completion-help): Use it
23036 to try and avoid pathological performance problems.
23037 (completion--embedded-envvar-table): Return `category' metadata.
23038
23039 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
23040
23041 * subr.el (process-alive-p): New tiny convenience function.
23042
23043 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
23044
23045 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
23046 content but also its previous major mode.
23047
23048 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
23049
23050 * emacs-lisp/debug.el (debug): Restore the previous content of the
23051 *Backtrace* buffer when we exit with C-M-c.
23052
23053 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
23054
23055 * minibuffer.el: Add metadata method to completion tables.
23056 (completion-category-overrides): New defcustom.
23057 (completion-metadata, completion--field-metadata)
23058 (completion-metadata-get, completion--styles)
23059 (completion--cycle-threshold): New functions.
23060 (completion-try-completion, completion-all-completions):
23061 Add `metadata' argument to choose completion-styles.
23062 (completion--do-completion): Use metadata to choose cycling.
23063 (completion-all-sorted-completions): Use metadata for sorting.
23064 Remove :completion-cycle-penalty which is not needed any more.
23065 (completion--try-word-completion): Add `metadata' argument.
23066 (minibuffer-completion-help): Check metadata for annotation function
23067 and sorting.
23068 (completion-file-name-table): Return `category' metadata.
23069 (minibuffer-completing-file-name): Make obsolete.
23070 * simple.el (minibuffer-completing-symbol): Make obsolete.
23071 * icomplete.el (icomplete-completions): Pass new `metadata' param to
23072 completion-try-completion.
23073
23074 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
23075
23076 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
23077
23078 2011-05-30 Leo Liu <sdl.web@gmail.com>
23079
23080 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
23081 (rcirc-print): Decode all incoming messages (bug#8744).
23082 (rcirc-decode-coding-system): Allow value nil for automatic coding
23083 system detection.
23084
23085 2011-06-01 Glenn Morris <rgm@gnu.org>
23086
23087 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
23088
23089 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
23090
23091 * image.el (image-animate-max-time): Allow nil and t values.
23092 Default to nil.
23093 (create-animated-image): Doc fix.
23094 (image-animate-start): Remove second arg; just use
23095 image-animate-max-time.
23096 (image-animate-timeout): Doc fix. Args changed.
23097
23098 * image-mode.el (image-toggle-display-image): Ensure that the
23099 image spec passed to the animate timer is the same object as in
23100 the buffer's display property (Bug#6981).
23101 (image-transform-properties): Doc fix.
23102
23103 * image.el (image-animate-max-time): Default to nil.
23104
23105 2011-05-29 Martin Rudalics <rudalics@gmx.at>
23106
23107 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
23108 entire buffer list (Bug#8184).
23109
23110 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
23111
23112 * image.el (imagemagick-types-inhibit)
23113 (imagemagick-register-types): Doc fix.
23114
23115 2011-05-29 Deniz Dogan <deniz@dogan.se>
23116
23117 * net/rcirc.el (rcirc): Use the user's stored encryption method by
23118 default.
23119
23120 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
23121
23122 * select.el: Don't perform clipboard-manager saving in hooks;
23123 leave the hooks empty.
23124
23125 2011-05-28 Leo Liu <sdl.web@gmail.com>
23126
23127 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
23128 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
23129 (occur-edit-mode): New major mode (Bug#8463).
23130 (occur-after-change-function): New function.
23131 (occur-engine): Give Occur tags a read-only property.
23132
23133 2011-05-28 Kevin Ryde <user42@zip.com.au>
23134
23135 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
23136
23137 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
23138
23139 * bindings.el (help-echo): Make the initial non-indicator dash
23140 empty on graphical terminals (Bug#7295).
23141
23142 * files.el (auto-mode-alist): Move config rule after the
23143 in-stripping one (Bug#8547).
23144
23145 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
23146
23147 * startup.el (normal-splash-screen): Remove gratuitous mode-line
23148 setting (Bug#8740).
23149
23150 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
23151
23152 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
23153 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
23154 (Bug#8539).
23155
23156 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
23157
23158 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
23159
23160 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
23161
23162 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
23163 (hs-hide-block-at-point, hs-find-block-beginning)
23164 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
23165 (Bug#8279).
23166
23167 2011-05-28 Glenn Morris <rgm@gnu.org>
23168
23169 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
23170
23171 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
23172
23173 * help-fns.el (describe-function-1): If the function is a derived
23174 major mode, print the parent mode.
23175
23176 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
23177 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
23178
23179 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
23180
23181 * minibuffer.el (completion--capf-wrapper): Check applicability before
23182 returning non-nil for non-exclusive completion data.
23183 * progmodes/etags.el (tags-completion-at-point-function):
23184 * info-look.el (info-lookup-completions-at-point): Mark as
23185 non-exclusive.
23186 (info-complete): Adjust accordingly.
23187
23188 * info-look.el: Convert to lexical-binding and completion-at-point.
23189 (info-lookup-completions-at-point): New function.
23190 (info-complete): Use it and completion-in-region.
23191
23192 2011-05-28 Drew Adams <drew.adams@oracle.com>
23193
23194 * isearch.el: Let M-e start with point at the first mismatched char.
23195 (isearch-fail-pos): New function.
23196 (isearch-edit-string): Use it.
23197
23198 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
23199
23200 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
23201
23202 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
23203
23204 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
23205 traversal functions for avl-trees.
23206 (avl-tree--stack): New struct.
23207 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
23208 (avl-tree-enter): Add optional `updatefun' arg.
23209 (avl-tree--do-enter): Add optional `updatefun' arg.
23210 Change return value.
23211 (avl-tree-delete): Add optional `test' and `nilflag' args.
23212 (avl-tree--do-delete): Add `test' and `nilflag' args.
23213 Change return value.
23214 (avl-tree-member): Add optional `nilflag'
23215 (avl-tree-member-p): New function.
23216 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
23217 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
23218 (avl-tree-stack-empty-p): New functions.
23219
23220 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
23221 avl-tree--del-balance1 and make it work both ways.
23222 (avl-tree--del-balance2): Remove.
23223 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
23224 make it work both ways.
23225 (avl-tree--enter-balance2): Remove.
23226 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
23227 New macros.
23228 (avl-tree--mapc, avl-tree-map): Add direction argument.
23229
23230 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
23231
23232 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
23233
23234 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
23235
23236 * select.el: Support clipboard managers with built-in function
23237 x-clipboard-manager-save, via delete-frame-functions and
23238 kill-emacs-hook.
23239 (xselect-convert-to-targets): Add MULTIPLE target to list.
23240 (xselect-convert-to-save-targets): New function.
23241
23242 2011-05-27 Kenichi Handa <handa@m17n.org>
23243
23244 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
23245 let-binding rfc2047-encode-encoded-words to nil.
23246
23247 2011-05-27 Glenn Morris <rgm@gnu.org>
23248
23249 * mail/emacsbug.el: Don't require url-util.
23250
23251 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
23252
23253 * files.el (set-auto-mode):
23254 Also respect mode: entries at the end of the file. (Bug#8586)
23255
23256 2011-05-26 Glenn Morris <rgm@gnu.org>
23257
23258 * files.el (hack-local-variables-prop-line, hack-local-variables):
23259 Downcase mode names, as seems to be traditional.
23260 (hack-local-variables, hack-local-variables-apply): Doc fixes.
23261
23262 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
23263 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
23264
23265 2011-05-25 Julien Danjou <julien@danjou.info>
23266
23267 * textmodes/rst.el (rst-define-level-faces): Do not define face
23268 symbol if it is already defined.
23269
23270 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
23271
23272 * play/5x5.el (5x5-new-game, 5x5-randomize):
23273 Reset 5x5-solver-output to nil when a new grid is cast.
23274 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
23275 these debugging traces, as defmacro breaks the compiled code.
23276
23277 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
23278
23279 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
23280
23281 2011-05-24 Leo Liu <sdl.web@gmail.com>
23282
23283 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
23284 (vc-bzr-sha1): Adapt.
23285
23286 * sha1.el: Remove. Function `sha1' is now builtin.
23287
23288 * bindings.el: Provide sha1 feature.
23289
23290 2011-05-24 Kenichi Handa <handa@m17n.org>
23291
23292 * mail/sendmail.el: Require `rfc2047'.
23293 (mail-insert-from-field): Do not perform RFC2047 encoding.
23294 (mail-encode-header): New function.
23295 (sendmail-send-it): Set buffer-file-coding-system of the work
23296 buffer to the return value of select-message-coding-system.
23297 Call mail-encode-header.
23298
23299 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
23300
23301 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
23302
23303 * mail/supercite.el (sc-default-cite-frame):
23304 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
23305
23306 2011-05-24 Glenn Morris <rgm@gnu.org>
23307
23308 * progmodes/python.el (brm-menu): Declare.
23309
23310 * emulation/viper.el (viper-set-hooks): Declare.
23311
23312 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
23313 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
23314 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
23315 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
23316 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
23317 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
23318
23319 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
23320
23321 Add an :exit-function for completion-at-point.
23322
23323 * minibuffer.el (completion--done): New fun.
23324 (completion--do-completion): Use it. New arg `expect-exact'.
23325 (minibuffer-complete, minibuffer-complete-word): Don't output message,
23326 since completion--do-completion does it for us now.
23327 (minibuffer-force-complete): Use completion--done and
23328 completion--replace. Handle sole-completion case with more care.
23329 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
23330 (completion-extra-properties): New var.
23331 (completion-annotate-function): Make obsolete.
23332 (minibuffer-completion-help): Adjust accordingly.
23333 Use completion-list-insert-choice-function.
23334 (completion-at-point, completion-help-at-point):
23335 Bind completion-extra-properties.
23336 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
23337 * simple.el (completion-list-insert-choice-function): New var.
23338 (completion-setup-function): Preserve it.
23339 (choose-completion): Pay attention to it, shuffle the code a bit.
23340 (choose-completion-string): New arg `insert-function'.
23341
23342 * textmodes/bibtex.el: Convert to lexical binding.
23343 (bibtex-mode-map): Use completion-at-point.
23344 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
23345 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
23346 (bibtex-complete): Define as obsolete alias.
23347 (bibtex-complete-internal): Remove.
23348 (bibtex-format-entry): Remove unused sub-group in regexp.
23349 * shell.el (shell--command-completion-data)
23350 (shell-environment-variable-completion):
23351 * pcomplete.el (pcomplete-completions-at-point):
23352 * comint.el (comint--complete-file-name-data): Use :exit-function
23353 instead of completion-table-with-terminator so it also works for
23354 choose-completion.
23355
23356 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
23357
23358 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
23359
23360 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
23361 (bug#8710).
23362
23363 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
23364
23365 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
23366
23367 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
23368 customization variable and implement: If non-nil, auto-fill will
23369 be inhibited while on topic's header line.
23370
23371 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
23372
23373 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
23374 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
23375 always have a solution in grid size = 5 cases.
23376 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
23377 (5x5-solver-output, 5x5-log-buffer): New vars.
23378 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
23379 Make these variables buffer local to achieve 5x5 multi-session-ness.
23380 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
23381 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
23382 (5x5-solve-suggest): New funs.
23383 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
23384 randomize a grid so that we ensure that there is always a solution.
23385 (5x5-make-random-grid): Allow other movement than flipping.
23386
23387 2011-05-23 Kevin Ryde <user42@zip.com.au>
23388
23389 * emacs-lisp/advice.el (ad-read-advised-function):
23390 Use `function-called-at-point' as the default, if it has
23391 advice and passes PREDICATE.
23392
23393 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
23394
23395 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
23396 byte-compile-lambda if it's actually a lambda.
23397
23398 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
23399 Fix function quoting. Use backquote better.
23400
23401 2011-05-22 Yuanle Song <sylecn@gmail.com>
23402
23403 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
23404 matching (Bug#8516).
23405
23406 2011-05-22 Jari Aalto <jari.aalto@cante.net>
23407
23408 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
23409 different face (Bug#8178).
23410
23411 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
23412
23413 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
23414 defface (Bug#8144).
23415
23416 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
23417
23418 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
23419 funcall as well (bug#8712). Warn when performing those conversions.
23420 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
23421
23422 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
23423
23424 2011-05-22 Glenn Morris <rgm@gnu.org>
23425
23426 * files.el (hack-local-variables-prop-line): Small simplifications.
23427 (hack-local-variables, hack-local-variables-prop-line):
23428 If MODE-ONLY, return the mode, rather than just `t'.
23429
23430 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
23431
23432 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
23433
23434 2011-05-21 Glenn Morris <rgm@gnu.org>
23435
23436 * files.el (hack-local-variables-prop-line, hack-local-variables):
23437 If only interested in the mode, don't bother doing the other stuff.
23438
23439 * image-mode.el (image-after-revert-hook):
23440 Redraw all frames on which the image is visible. (Bug#8567)
23441
23442 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
23443
23444 * wid-edit.el (widget-checklist-match-inline):
23445 Fix 2011-04-19 change. (Bug#8649)
23446
23447 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
23448
23449 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
23450 Also allow singlespace after single-letter capitals followed by a dot.
23451
23452 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
23453 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
23454
23455 2011-05-20 Nix <nix@esperi.org.uk>
23456
23457 * files.el (basic-save-buffer-2):
23458 Fix handling of break-hardlink-on-save with non-existent files.
23459
23460 2011-05-19 Deniz Dogan <deniz@dogan.se>
23461
23462 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
23463 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
23464
23465 2011-05-19 Glenn Morris <rgm@gnu.org>
23466
23467 * progmodes/f90.el (f90-type-def-re):
23468 Handle "type, bind(c)". (Bug#8691)
23469
23470 * emacs-lisp/autoload.el (batch-update-autoloads):
23471 Set autoload-excludes by parsing loadup.el rather than Makefiles.
23472
23473 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
23474
23475 * net/tramp.el (tramp-process-actions): Set "first-password-request"
23476 property for the correct connection in case of multihops.
23477
23478 2011-05-18 Glenn Morris <rgm@gnu.org>
23479
23480 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
23481 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
23482
23483 Rationalize calendar handling of day and month abbrev-arrays.
23484 * calendar/calendar.el (calendar-customized-p): New function.
23485 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
23486 (calendar-day-name-array, calendar-month-name-array): Doc fix.
23487 Add :set function.
23488 (calendar-abbrev-length, calendar-day-abbrev-array)
23489 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
23490 (calendar-day-abbrev-array, calendar-month-abbrev-array):
23491 Elements may no longer be nil.
23492 (calendar-day-name, calendar-month-name):
23493 Update for changed nature of abbrev arrays.
23494 * calendar/diary-lib.el (diary-name-pattern):
23495 Update for changed nature of abbrev arrays.
23496 (diary-mark-entries-1): Update calendar-make-alist calls.
23497 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
23498 * calendar/cal-html.el (cal-html-day-abbrev-array):
23499 Simply inherit from calendar-day-abbrev-array.
23500
23501 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
23502
23503 * progmodes/grep.el (grep-mode): Disable default
23504 compilation-directory-matcher setting (bug#8684).
23505
23506 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
23507
23508 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
23509 instead of "head" and "tail". There were problems with SunOS 5.9,
23510 and it performs better.
23511
23512 2011-05-17 Glenn Morris <rgm@gnu.org>
23513
23514 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
23515
23516 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
23517 Replace obsolete function.
23518
23519 * shell.el (pcomplete-parse-arguments-function): Declare.
23520
23521 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
23522 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
23523 (appt-check): Doc fixes.
23524 (appt-disp-window-function, appt-delete-window-function):
23525 Remove needless special case in custom :type.
23526 (appt-display-count): Default to 0, not nil.
23527 (appt-check): Reset appt-display-count to 0, not nil.
23528
23529 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
23530
23531 * progmodes/python.el (python-font-lock-keywords):
23532 Add the Python 3.X keyword "nonlocal" (bug#8639).
23533
23534 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
23535
23536 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
23537
23538 2011-05-16 Kevin Ryde <user42@zip.com.au>
23539
23540 * info-look.el (makefile-automake-mode): New setups, looking in
23541 automake manual, then makefile-mode.
23542 (makefile-mode): Remove automake manual, have it just in
23543 makefile-automake-mode since there's various things different or
23544 not relevant to plain make.
23545 (makefile-mode): Remove "other-modes" non-existent automake-mode,
23546 believe a hypothetical automake-mode would go to makefile-mode,
23547 not the other way around.
23548
23549 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
23550
23551 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
23552 hunk-end tags (Bug#8672).
23553
23554 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
23555 vc-annotate-show-diff-revision-at-line (Bug#8671).
23556
23557 2011-05-14 Glenn Morris <rgm@gnu.org>
23558
23559 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
23560 in the middle of an existing one with multiple authors. (Bug#8645)
23561 (change-log-font-lock-keywords): Also handle multiple author lines
23562 with leading tabs. (Bug#8644)
23563
23564 * calendar/appt.el (appt-check): Rename some local variables.
23565 Some simplification/reordering.
23566
23567 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
23568 (feedmail-sendmail-f-doesnt-sell-me-out)
23569 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
23570 (feedmail-debug-sit-for, feedmail-queue-express-hook)
23571 (feedmail-queue-runner-message-sender): Set :version.
23572 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
23573 (bbdb-dwim-net-address, vm-mail): Declare.
23574 (feedmail-binmail-gnulinuxish-template):
23575 Rename from feedmail-binmail-linuxish-template.
23576 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
23577 Use insert-buffer-substring.
23578
23579 2011-05-14 Bill Carpenter <bill@carpenter.org>
23580
23581 * mail/feedmail.el (feedmail-patch-level): Increase.
23582 (feedmail-debug): New custom group.
23583 (feedmail-confirm-outgoing-timeout)
23584 (feedmail-sendmail-f-doesnt-sell-me-out)
23585 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
23586 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
23587 (feedmail-sender-line, feedmail-from-line)
23588 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
23589 (feedmail-spray-this-address)
23590 (feedmail-spray-address-fiddle-plex-list)
23591 (feedmail-queue-use-send-time-for-date)
23592 (feedmail-queue-use-send-time-for-message-id)
23593 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
23594 (feedmail-buffer-eating-function):
23595 Doc fixes.
23596 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
23597 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
23598 (feedmail-message-action-scroll-down): New functions.
23599 (feedmail-queue-directory, feedmail-queue-draft-directory):
23600 Use expand-file-name.
23601 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
23602 Remove C-v help entry.
23603 (feedmail-queue-buffer-file-name): New variable.
23604 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
23605 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
23606 (feedmail-message-action-send-strong, feedmail-message-action-edit)
23607 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
23608 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
23609 (feedmail-message-action-toggle-spray)
23610 (feedmail-run-the-queue-no-prompts)
23611 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
23612 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
23613 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
23614 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
23615 (feedmail-envelope-deducer, feedmail-fiddle-from)
23616 (feedmail-fiddle-sender, feedmail-default-date-generator)
23617 (feedmail-fiddle-date, feedmail-fiddle-message-id)
23618 (feedmail-fiddle-spray-address)
23619 (feedmail-fiddle-list-of-spray-fiddle-plexes)
23620 (feedmail-fiddle-list-of-fiddle-plexes)
23621 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
23622 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
23623 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
23624 Change default. Doc fix.
23625 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
23626 (feedmail-binmail-linuxish-template): New constant.
23627 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
23628 Respect feedmail-sendmail-f-doesnt-sell-me-out.
23629 (feedmail-send-it): Add debug call.
23630 Use feedmail-queue-buffer-file-name, and
23631 feedmail-send-it-immediately-wrapper.
23632 (feedmail-message-action-send): Add debug call.
23633 Use feedmail-send-it-immediately-wrapper.
23634 (feedmail-queue-express-to-queue): Add debug call.
23635 Run feedmail-queue-express-hook.
23636 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
23637 (feedmail-message-action-help-blat):
23638 Rename from feedmail-queue-send-edit-prompt-help-first.
23639 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
23640 Check line-endings. Handle errors better.
23641 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
23642 Doc fix. Add debug call.
23643 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
23644 Use feedmail-queue-send-edit-prompt-inner.
23645 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
23646 (feedmail-queue-send-edit-prompt-inner): New function, extracted
23647 from feedmail-queue-send-edit-prompt.
23648 (feedmail-queue-send-edit-prompt-help)
23649 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
23650 (feedmail-tidy-up-slug): Add debug call.
23651 Respect feedmail-queue-slug-suspect-regexp.
23652 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
23653 (feedmail-dump-message-to-queue): Add debug call.
23654 Expand queue-directory.
23655 (feedmail-dump-message-to-queue): Change message slightly.
23656 Use feedmail-say-chatter.
23657 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
23658 (feedmail-send-it-immediately-wrapper): New function.
23659 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
23660 Insert empty string rather than newline. Handle full-frame case.
23661 Use catch/throw. Use feedmail-say-chatter.
23662 (feedmail-fiddle-from): Try mail-host-address.
23663 (feedmail-default-message-id-generator): Doc fix.
23664 Bind system-time-locale. Handle missing end.
23665 (feedmail-fiddle-x-mailer): Add debug call.
23666 Handle feedmail-x-mailer-line being nil.
23667 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
23668 Add debug call. Use buffer-substring-no-properties.
23669 (feedmail-say-debug, feedmail-say-chatter): New functions.
23670 (feedmail-find-eoh): Give an explicit error.
23671
23672 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
23673
23674 * net/newst-treeview.el (newsticker-treeview-face): Change default
23675 family from helvetica to sans.
23676 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
23677 etc/images/newsticker.
23678
23679 * net/newst-reader.el (newsticker-feed-face): Change default
23680 family from helvetica to sans.
23681
23682 * net/newst-plainview.el (newsticker-new-item-face)
23683 (newsticker-old-item-face, newsticker-immortal-item-face)
23684 (newsticker-obsolete-item-face, newsticker-date-face)
23685 (newsticker-statistics-face): Change default family from
23686 helvetica to sans.
23687 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
23688 etc/images/newsticker.
23689
23690 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
23691 (newsticker--process-auto-mark-filter-match): Tell user about
23692 auto-marking.
23693
23694 2011-05-13 Didier Verna <didier@xemacs.org>
23695
23696 Common Lisp indentation improvements on defmethod and lambda-lists.
23697 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
23698 TODO entries.
23699 (lisp-lambda-list-keyword-parameter-indentation)
23700 (lisp-lambda-list-keyword-parameter-alignment)
23701 (lisp-lambda-list-keyword-alignment): New customizable user options.
23702 (lisp-indent-defun-method): Improve docstring.
23703 (extended-loop-p): Fix comment.
23704 (lisp-indent-lambda-list-keywords-regexp): New variable.
23705 (lisp-indent-lambda-list): New function.
23706 (lisp-indent-259): Use it.
23707 (lisp-indent-defmethod): Support for more than one
23708 method qualifier and properly indent methods lambda-lists.
23709 (defgeneric): Provide a missing common-lisp-indent-function property.
23710
23711 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
23712
23713 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
23714 bounds for the empty string (bug#8667).
23715
23716 2011-05-13 Glenn Morris <rgm@gnu.org>
23717
23718 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
23719
23720 * mail/sendmail.el (sendmail-program): Try executable-find first.
23721 (sendmail-send-it): `sendmail-program' cannot be unbound.
23722
23723 * calendar/appt.el (appt-make-list): Simplify.
23724 (appt-time-msg-list): Doc fix.
23725 (appt-check): Change mode-line message at the time of the appointment.
23726
23727 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
23728
23729 * progmodes/ld-script.el (ld-script-keywords)
23730 (ld-script-builtins): Update keywords list.
23731
23732 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
23733
23734 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
23735
23736 * shell.el (shell-completion-vars): New function.
23737 (shell-mode):
23738 * simple.el (read-shell-command): Use it.
23739 (blink-matching-open): No need for " [...]" in minibuffer-message.
23740
23741 2011-05-12 Glenn Morris <rgm@gnu.org>
23742
23743 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
23744 (appt-check): Simplify.
23745
23746 2011-05-12 Eli Zaretskii <eliz@gnu.org>
23747
23748 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
23749 literal "/dev/null".
23750
23751 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
23752
23753 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
23754 Fix typo.
23755
23756 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
23757
23758 * progmodes/which-func.el (which-function):
23759 Use add-log-current-defun instead of add-log-current-defun-function,
23760 which might not be defined (Bug#8260).
23761
23762 2011-05-12 Glenn Morris <rgm@gnu.org>
23763
23764 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
23765 Let byte-compile-initial-macro-environment always take precedence.
23766
23767 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
23768
23769 * net/rcirc.el: Add support for SSL/TLS connections.
23770 (rcirc-server-alist): New field `encryption'.
23771 (rcirc): Check `encryption' settings.
23772 (rcirc-connect): New arg `encryption'. Use open-network-stream.
23773 Merge make-local-variable into `set'.
23774 (rcirc--connection-open-p): New function.
23775 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
23776 the process is not a network process (e.g. running gnutls-cli).
23777 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
23778 Make rcirc-(en|de)code-coding-system local here.
23779 (rcirc-mode): Merge make-local-variable into `set'.
23780 (rcirc-parent-buffer): Make permanent buffer-local.
23781 (rcirc-multiline-minor-mode): Don't do it here.
23782 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
23783 there's no server buffer.
23784
23785 2011-05-11 Glenn Morris <rgm@gnu.org>
23786
23787 * newcomment.el (comment-kill): Prefix "unused" local.
23788
23789 * term/w32console.el (get-screen-color): Declare.
23790
23791 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
23792 Handle symbol elements of byte-compile-initial-macro-environment.
23793
23794 2011-05-10 Leo Liu <sdl.web@gmail.com>
23795
23796 * bookmark.el (bookmark-bmenu-mode-map):
23797 Bind bookmark-bmenu-search to `/'.
23798
23799 * mail/footnote.el: Convert to utf-8 encoding.
23800 (footnote-unicode-string, footnote-unicode-regexp): New variable.
23801 (Footnote-unicode): New function.
23802 (footnote-style-alist): Add unicode style to the list.
23803 (footnote-style): Doc fix.
23804
23805 2011-05-10 Jim Meyering <meyering@redhat.com>
23806
23807 Fix doubled-word typos.
23808 * international/quail.el (quail-insert-kbd-layout): and and -> and
23809 * kermit.el: and and -> and
23810 * net/ldap.el (ldap-search-internal): to to -> to
23811 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
23812 * progmodes/js.el (js-mode): and and -> and
23813 * textmodes/artist.el (artist-move-to-xy): at at -> at
23814 (artist-draw-region-trim-line-endings): if if -> if
23815 And Safetyc -> Safety.
23816 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
23817
23818 2011-05-10 Glenn Morris <rgm@gnu.org>
23819 Stefan Monnier <monnier@iro.umontreal.ca>
23820
23821 * files.el (hack-one-local-variable-eval-safep):
23822 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
23823
23824 2011-05-10 Glenn Morris <rgm@gnu.org>
23825
23826 * calendar/diary-lib.el (diary-list-entries-hook)
23827 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
23828 (diary-nongregorian-marking-hook, diary-list-entries)
23829 (diary-include-other-diary-files, diary-mark-entries)
23830 (diary-mark-included-diary-files): Doc fixes.
23831
23832 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
23833
23834 * misc.el: Require tabulated-list.el during compilation.
23835
23836 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
23837
23838 * progmodes/compile.el (compilation-start):
23839 Run compilation-filter-hook for the async case too.
23840 (compilation-filter-hook): Doc fix.
23841
23842 2011-05-09 Deniz Dogan <deniz@dogan.se>
23843
23844 * wdired.el: Remove outdated installation comment. Fix usage
23845 comment.
23846
23847 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
23848
23849 * misc.el: Implement new command `list-dynamic-libraries'.
23850 (list-dynamic-libraries--loaded-only-p): New variable.
23851 (list-dynamic-libraries--refresh): New function.
23852 (list-dynamic-libraries): New command.
23853
23854 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
23855
23856 * progmodes/compile.el (compilation-error-regexp-alist-alist):
23857 Fix the ant regexp to handle end-line and end-column info from jikes.
23858 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
23859 higher priority to avoid clobbering by gnu.
23860
23861 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
23862
23863 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
23864 if the face has existing theme settings (Bug#8454).
23865
23866 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
23867
23868 * progmodes/perl-mode.el (perl-imenu-generic-expression):
23869 Only match variables declared via `my' or `our' (Bug#8261).
23870
23871 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
23872 special file names `.' and `..' (Bug#8259).
23873
23874 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
23875
23876 * progmodes/grep.el (grep-mode-font-lock-keywords):
23877 Remove buffer-changing entries.
23878 (grep-filter): New function.
23879 (grep-mode): Add it to compilation-filter-hook.
23880
23881 * progmodes/compile.el (compilation-filter-hook)
23882 (compilation-filter-start): New defvars.
23883 (compilation-filter): Call compilation-filter-hook prior to
23884 updating the process mark.
23885
23886 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
23887
23888 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
23889
23890 2011-05-07 Eli Zaretskii <eliz@gnu.org>
23891
23892 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
23893 mailclient-send-it even if window-system is nil. (Bug#8595)
23894
23895 * term/w32console.el (terminal-init-w32console):
23896 Call get-screen-color and use its output to set the frame
23897 background-mode. (Bug#8597)
23898
23899 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
23900
23901 Make bytecomp.el understand that defmethod defines funs (bug#8631).
23902 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
23903 New functions.
23904 (defgeneric, eieio--defmethod): Use them.
23905 (eieio-defgeneric): Remove.
23906 (defmethod): Call defgeneric in a way visible to the byte-compiler.
23907
23908 2011-05-07 Glenn Morris <rgm@gnu.org>
23909
23910 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
23911 Use let rather than let*.
23912 (timeclock-find-discrep): Remove unused local.
23913
23914 * calendar/diary-lib.el (diary-comment-start): Doc fix.
23915
23916 * calendar/appt.el (appt-time-msg-list): Doc fix.
23917
23918 2011-05-06 Noah Friedman <friedman@splode.com>
23919
23920 * apropos.el (apropos-print-doc): Only use
23921 emacs-lisp-docstring-fill-column when it is bound to an integer,
23922 per that variable's documentation.
23923
23924 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
23925
23926 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
23927 and warnings are not silently discarded (e.g. use -d instead of -P).
23928
23929 2011-05-06 Glenn Morris <rgm@gnu.org>
23930
23931 * calendar/appt.el (appt-message-warning-time): Doc fix.
23932 (appt-warning-time-regexp): New option.
23933 (appt-make-list): Respect appt-message-warning-time.
23934
23935 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
23936 New options.
23937 (diary-add-to-list): Strip comments from the displayed string.
23938 (diary-mode): Set comment-start and comment-end.
23939
23940 * vc/diff-mode.el (smerge-refine-subst): Declare.
23941 (diff-refine-hunk): Don't require smerge-mode when compiling.
23942
23943 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
23944
23945 * simple.el (list-processes): Return nil as the docstring says.
23946
23947 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
23948
23949 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
23950 to "".
23951 (ange-ftp-write-region, ange-ftp-insert-file-contents)
23952 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
23953 determining of binary transfer. (Bug#7383)
23954
23955 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
23956
23957 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
23958 Fix port computation bug. (Bug#8618)
23959
23960 2011-05-05 Glenn Morris <rgm@gnu.org>
23961
23962 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
23963
23964 * simple.el (shell-dynamic-complete-functions)
23965 (comint-dynamic-complete-functions): Declare.
23966
23967 * net/network-stream.el (gnutls-negotiate):
23968 * simple.el (tabulated-list-print): Fix declarations.
23969
23970 * progmodes/gud.el (syntax-symbol, syntax-point):
23971 Remove unnecessary and incorrect declarations.
23972
23973 * emacs-lisp/check-declare.el (check-declare-scan):
23974 Handle byte-compile-initial-macro-environment in bytecomp.el.
23975
23976 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
23977
23978 Fix earlier half-done eieio-defmethod change (bug#8338).
23979 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
23980 Streamline and change calling convention.
23981 (defmethod): Adjust accordingly and simplify.
23982 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
23983 new eieio--defmethod.
23984 (slot-boundp): Minor CSE simplification.
23985
23986 2011-05-05 Milan Zamazal <pdm@zamazal.org>
23987
23988 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
23989 (glasses-make-readable): Use glasses-separate-capital-groups.
23990
23991 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
23992
23993 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
23994 (warning-series): Doc fix.
23995 (display-warning): Don't try to create the buffer if we just found it.
23996
23997 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
23998
23999 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
24000 (autoload-find-generated-file): New function.
24001 (generate-file-autoloads): Bind generated-autoload-file to
24002 buffer-file-name.
24003 (update-file-autoloads, update-directory-autoloads):
24004 Use autoload-find-generated-file. If called interactively, prompt for
24005 output file (Bug#7989).
24006 (batch-update-autoloads): Doc fix.
24007
24008 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
24009
24010 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
24011
24012 2011-05-04 Glenn Morris <rgm@gnu.org>
24013
24014 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
24015 function, so it follows changes in calendar-date-style.
24016 (diary-fancy-date-matcher): New function.
24017 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
24018 (diary-fancy-font-lock-fontify-region-function):
24019 Use diary-fancy-date-pattern as a function.
24020
24021 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
24022 non-numbers for `year' etc pseudo-variables. (Bug#8583)
24023
24024 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
24025
24026 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
24027 instead of positional arguments. Allow :keylist and :crlfiles
24028 arguments.
24029 (open-gnutls-stream): Call it.
24030
24031 * net/network-stream.el (network-stream-open-starttls): Adjust to
24032 call `gnutls-negotiate' with :process and :hostname arguments.
24033
24034 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
24035
24036 * minibuffer.el (completion--message): New function.
24037 (completion--do-completion, minibuffer-complete)
24038 (minibuffer-force-complete, minibuffer-complete-word): Use it.
24039 (completion--do-completion): Don't ignore completion-auto-help when in
24040 icomplete-mode.
24041
24042 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
24043 internal encoding (e.g. tibetan zero is not whitespace).
24044 (global-whitespace-mode): Prefer save-current-buffer.
24045 (whitespace-trailing-regexp): Remove useless save-match-data.
24046 (whitespace-empty-at-bob-regexp): Minor simplification.
24047
24048 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
24049
24050 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
24051
24052 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
24053
24054 * textmodes/ispell.el (ispell-add-per-file-word-list):
24055 Use `concat' to create string for insertion.
24056
24057 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
24058
24059 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
24060 Avoid open-line which runs post-self-insert-hook.
24061 (bibtex-fill-entry): Remove unused `end' var.
24062
24063 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
24064
24065 * textmodes/ispell.el (ispell-add-per-file-word-list):
24066 Protect against `nil' value of `comment-start' (Bug#8579).
24067
24068 2011-05-03 Leo Liu <sdl.web@gmail.com>
24069
24070 * isearch.el (isearch-yank-pop): New command.
24071 (isearch-mode-map): Bind it to `M-y'.
24072 (isearch-forward): Mention it.
24073
24074 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
24075
24076 * simple.el (minibuffer-complete-shell-command): Remove.
24077 (minibuffer-local-shell-command-map): Use completion-at-point.
24078 (read-shell-command): Setup completion vars here instead.
24079 (read-expression-map): Bind TAB to symbol completion.
24080
24081 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
24082 error directly rather via storing it into `results'.
24083
24084 2011-05-02 Leo Liu <sdl.web@gmail.com>
24085
24086 * vc/diff.el: Fix description.
24087
24088 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
24089
24090 * server.el (server-eval-at): New function.
24091
24092 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
24093
24094 * net/network-stream.el (open-network-stream): Take a :nowait
24095 parameter and pass it on to `make-network-process'.
24096 (network-stream-open-plain): Ditto.
24097
24098 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
24099
24100 * faces.el (face-spec-set-match-display): Don't match toolkit
24101 options on terminal frames.
24102
24103 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
24104
24105 * progmodes/pascal.el: Use lexical binding.
24106 (pascal-mode-map): Remove author preferences.
24107
24108 * pcomplete.el (pcomplete-std-complete): Don't abuse
24109 completion-at-point.
24110
24111 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
24112
24113 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
24114 removing code that has been dead since 1991 or so.
24115
24116 * startup.el (command-line): When warning about "_emacs", use a
24117 delayed warning to allow the user to filter it out.
24118
24119 2011-04-28 Deniz Dogan <deniz@dogan.se>
24120
24121 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
24122 user has not joined.
24123
24124 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
24125
24126 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
24127 aren't any completions at point.
24128
24129 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
24130
24131 * subr.el (display-delayed-warnings): New function.
24132 (delayed-warnings-hook): New variable.
24133
24134 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
24135
24136 * minibuffer.el (completion-at-point, completion-help-at-point):
24137 Don't presume that a given completion-at-point-function will always
24138 use the same calling convention.
24139
24140 * pcomplete.el (pcomplete-completions-at-point):
24141 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
24142 pcomplete-seen is non-nil.
24143 (pcomplete-comint-setup): Also recognize the new comint/shell
24144 completion functions.
24145 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
24146 pcomplete-seen is non-nil.
24147
24148 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
24149
24150 * calendar/icalendar.el (diary-lib): Add require statement.
24151 (icalendar--create-uid): Read out a uid from a text-property on
24152 the first character in the entry. This allows for code to add its
24153 own uid to the entry.
24154 (icalendar--convert-float-to-ical): Add export of
24155 `diary-float'-entries save for those with the optional DAY
24156 argument.
24157
24158 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
24159
24160 * subr.el (shell-quote-argument): Use alternate escaping strategy
24161 when we spot a variable reference in a string.
24162
24163 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
24164
24165 * cus-start.el (all): Define customization for debug-on-event.
24166
24167 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
24168
24169 * subr.el (shell-quote-argument): Escape correctly under Windows.
24170
24171 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
24172
24173 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
24174
24175 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
24176
24177 * net/tramp.el (tramp-process-actions): Add POS argument.
24178 Delete region between POS and (pos).
24179
24180 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
24181 Use `nil' position in `tramp-process-actions' call.
24182 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
24183
24184 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
24185 position in `tramp-process-actions' call.
24186
24187 * net/trampver.el: Update release number.
24188
24189 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
24190
24191 * custom.el (defcustom): Obey lexical-binding.
24192
24193 Fix octave-inf completion problems reported by Alexander Klimov.
24194 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
24195 Inherit from octave-mode-syntax-table.
24196 (inferior-octave-mode): Set info-lookup-mode.
24197 (inferior-octave-completion-at-point): New function.
24198 (inferior-octave-complete): Use it and completion-in-region.
24199 (inferior-octave-dynamic-complete-functions): Use it as well, and use
24200 comint-filename-completion.
24201 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
24202 symbol elements which shouldn't be word elements.
24203 (octave-font-lock-keywords, octave-beginning-of-defun)
24204 (octave-function-header-regexp): Adjust regexps accordingly.
24205 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
24206
24207 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
24208
24209 * net/gnutls.el (gnutls-errorp): Declare before first use.
24210
24211 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
24212
24213 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
24214 verify-error, and verify-hostname-error parameters. Check whether
24215 default trustfile exists before going to use it. Add missing
24216 argument to gnutls-message-maybe call. Return value.
24217 Reported by Claudio Bley <claudio.bley@gmail.com>.
24218 (open-gnutls-stream): Add usage example.
24219
24220 * net/network-stream.el (network-stream-open-starttls): Give host
24221 parameter to `gnutls-negotiate'.
24222 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
24223 * subr.el (shell-quote-argument): Escape correctly under Windows.
24224
24225 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
24226
24227 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
24228 Use correct match group (bug#8438).
24229
24230 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
24231
24232 * emacs-lisp/package.el (package-built-in-p): Fix typo.
24233 (package-menu--generate): New arg specifying packages to show.
24234 (package-menu-refresh, package-menu-execute, list-packages):
24235 Callers changed.
24236 (package-show-package-list): New function, replacing deleted
24237 package--list-packages (renamed because it is non-internal).
24238
24239 * finder.el (finder-list-matches): Use package-show-package-list
24240 instead of deleted package--list-packages.
24241
24242 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
24243 Based on a previous implementation by Juanma Barranquero (Bug#8366).
24244 (vc-annotate-mode-map): Bind it to RET.
24245
24246 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
24247
24248 * progmodes/etags.el (next-file): Don't use set-buffer to change
24249 buffers (Bug#8478).
24250
24251 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
24252
24253 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
24254
24255 * apropos.el (apropos-label-face): Avoid variable-pitch face.
24256 (apropos-accumulator): Doc fix.
24257 (apropos-function, apropos-macro, apropos-command)
24258 (apropos-variable, apropos-face, apropos-group, apropos-widget)
24259 (apropos-plist): Add face property.
24260 (apropos-symbols-internal): Fix indentation.
24261 (apropos-print): Simplify help, and recognize apropos-multi-type.
24262 (apropos-print-doc): Use button-type-get to extract the button's
24263 face property. Fill docstring (Bug#8352).
24264
24265 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
24266
24267 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
24268
24269 * play/mpuz.el (mpuz-silent): Doc fix.
24270 (mpuz-mode-map): Use mapc.
24271 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
24272 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
24273 Fix typos in docstrings.
24274
24275 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
24276 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
24277
24278 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
24279
24280 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
24281
24282 * minibuffer.el (completion--do-completion): Avoid the "Next char
24283 not unique" prompt if icomplete-mode is enabled (Bug#5849).
24284
24285 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
24286 mouse-2 into unread-command-events, it is interpreted correctly.
24287
24288 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
24289 (image-toggle-display): Doc fix.
24290
24291 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
24292
24293 * textmodes/page.el (what-page): Use line-number-at-pos to
24294 calculate line number (Bug#6825).
24295
24296 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
24297
24298 * eshell/esh-mode.el (find-tag-interactive): Declare function.
24299 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
24300 Pass argument NO-DEFAULT to `find-tag-interactive'.
24301
24302 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
24303
24304 Lexical-binding cleanup.
24305
24306 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
24307 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
24308 * progmodes/ada-prj.el (ada-prj-initialize-values)
24309 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
24310 (ada-prj-show-value):
24311 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
24312 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
24313 (antlr-invalidate-context-cache, antlr-options-menu-filter)
24314 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
24315 * progmodes/bug-reference.el (bug-reference-push-button):
24316 * progmodes/fortran.el (fortran-line-length):
24317 * progmodes/glasses.el (glasses-change):
24318 * progmodes/octave-mod.el (octave-fill-paragraph):
24319 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
24320 (python-pdbtrack-grub-for-buffer, python-sentinel):
24321 * progmodes/sql.el (sql-save-connection):
24322 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
24323 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
24324 Mark unused parameters.
24325
24326 * progmodes/compile.el (compilation--flush-directory-cache)
24327 (compilation--flush-parse, compile-internal): Mark unused parameters.
24328 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
24329 (compilation-next-error-function): Remove unused variable `timestamp'.
24330
24331 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
24332 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
24333
24334 * progmodes/dcl-mode.el (dcl-end-of-command):
24335 Remove unused variable `start'.
24336 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
24337 (dcl-option-value-basic, dcl-option-value-offset)
24338 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
24339 Mark unused parameters.
24340 (dcl-save-local-variable): Remove unused variable `val'.
24341 (mode): Declare.
24342
24343 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
24344 Mark unused parameters.
24345 (delphi-ignore-changes): Move before first use.
24346 (delphi-charset-token-at): Remove unused variable `start'.
24347 (delphi-else-start): Remove unused variable `if-count'.
24348 (delphi-comment-block-start, delphi-comment-block-end):
24349 Remove unused variable `kind'.
24350 (delphi-indent-line): Remove unused variable `new-point'.
24351
24352 * progmodes/ebrowse.el (ebrowse-files-list)
24353 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
24354 Mark unused parameters. Don't quote `lambda'.
24355 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
24356 Don't quote `lambda'.
24357 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
24358 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
24359 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
24360 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
24361 Use `ignore-errors'.
24362 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
24363 (ebrowse-view/find-file-and-search-pattern)
24364 (ebrowse-view/find-member-declaration/definition):
24365 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
24366 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
24367 Rename parameter PREFIX-ARG to PREFIX.
24368 (ebrowse-tags-read-name): Remove unused variables `start' and
24369 `member-info'.
24370 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
24371 to `tags-file'.
24372
24373 * progmodes/etags.el (local-find-tag-hook): Declare.
24374 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
24375 Mark unused parameters.
24376
24377 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
24378 (executable-interpret): Mark unused parameter.
24379
24380 * progmodes/flymake.el (flymake-process-sentinel)
24381 (flymake-after-change-function)
24382 (flymake-create-temp-with-folder-structure)
24383 (flymake-get-include-dirs-dot): Mark unused parameters.
24384 (flymake-safe-delete-directory): Remove unused variable `err'.
24385
24386 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
24387 (speedbar-timer-fn, speedbar-line-text)
24388 (speedbar-change-expand-button-char, speedbar-delete-subblock)
24389 (speedbar-center-buffer-smartly): Declare functions.
24390 (gdb-find-watch-expression): Remove unused variable `array'.
24391 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
24392 (gdb-starting): Mark unused parameters.
24393 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
24394 (gdb-table-string): Remove unused variable `res'.
24395 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
24396 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
24397 (gdb-display-buffer): Remove unused variable `cur-size'.
24398
24399 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
24400 allow lexical-binding compilation.
24401 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
24402 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
24403 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
24404 Mark unused parameters.
24405 (gud-gdb-marker-filter): Remove unused variable `match'.
24406 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
24407 lambda expressions and funcall them, instead of using `fset'.
24408
24409 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
24410 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
24411
24412 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
24413 variable `header-beg'; use `let'.
24414
24415 * progmodes/icon.el (indent-icon-exp): Remove unused variables
24416 `restart', `last-sexp' and `at-do'.
24417
24418 * progmodes/js.el (js--debug): Mark unused parameter.
24419 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
24420 (js--splice-into-items): Remove unused variable `item'.
24421 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
24422
24423 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
24424 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
24425 (makefile-complete): Remove unused variable `try'.
24426 (makefile-fill-paragraph, makefile-match-function-end):
24427 Mark unused parameters.
24428
24429 * progmodes/octave-inf.el (inferior-octave-complete):
24430 Remove unused variable `proc'.
24431 (inferior-octave-output-digest): Mark unused parameter.
24432
24433 * progmodes/perl-mode.el (perl-calculate-indent):
24434 Remove unused variable `err'.
24435
24436 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
24437 (prolog-indent-line): Mark unused parameters.
24438 (prolog-indent-line): Remove unused variable `beg'.
24439
24440 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
24441 (reporter-dont-compact-list): Declare.
24442
24443 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
24444 Remove unused variable `char'.
24445 (sh-debug): Mark unused parameter.
24446 (sh-get-indent-info): Remove unused variable `start'.
24447 (sh-calculate-indent): Remove unused variable `var'.
24448
24449 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
24450 (simula-electric-keyword): Remove unused variable `null'.
24451 (simula-search-backward, simula-search-forward): Remove unused
24452 variables `begin' and `end'.
24453
24454 * progmodes/vera-mode.el (vera-guess-basic-syntax):
24455 Remove unused variable `pos'.
24456 (vera-electric-tab, vera-comment-uncomment-region):
24457 Mark unused parameters.
24458 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
24459
24460 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
24461
24462 * emacs-lisp/package.el (package--builtins, package-alist)
24463 (package-load-descriptor, package-built-in-p, package-activate)
24464 (define-package, package-installed-p)
24465 (package-compute-transaction, package-buffer-info)
24466 (package--push): Doc fix. Distinguish more clearly between
24467 version strings and version lists.
24468
24469 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
24470
24471 Lexical-binding cleanup.
24472
24473 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
24474 (5x5-make-mutate-best):
24475 * play/fortune.el (fortune-in-buffer):
24476 * play/gomoku.el (gomoku-init-display):
24477 * play/solitaire.el (solitaire, solitaire-do-check):
24478 * play/tetris.el (tetris-default-update-speed-function):
24479 Mark unused parameters.
24480
24481 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
24482 (bubbles--shift): Remove unused variable `char-org'.
24483 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
24484 (bubbles--show-images): Remove unused variable `char'.
24485
24486 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
24487 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
24488 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
24489 (decipher-analyze-buffer): Use ?\s.
24490 (decipher-make-checkpoint): Remove unused variable `mapping'.
24491
24492 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
24493
24494 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
24495 Remove unused variable `result'; use `let'.
24496
24497 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
24498 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
24499 (gametree-children-shown-p, gametree-compute-reduced-score):
24500 Use `ignore-errors'.
24501
24502 * play/handwrite.el (ps-lpr-switches): Declare.
24503 (handwrite): Remove unused variables `pmin' and `lastp'.
24504
24505 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
24506
24507 * play/landmark.el (landmark-init-display)
24508 (landmark-update-naught-weights): Mark unused parameters.
24509 (landmark-y): Remove unused variable `noise'. Simplify.
24510 (landmark-human-plays): Remove unused variable `score'.
24511
24512 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
24513 (mpuz-try-proposal): Remove unused variable `game'.
24514
24515 * play/zone.el (life-patterns): Declare.
24516
24517 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
24518
24519 * vc/vc.el (ediff-vc-internal): Declare function.
24520
24521 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
24522
24523 * shell.el: Use lexical-binding and std completion UI.
24524 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
24525 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
24526 comint-preoutput-filter-functions rather than on
24527 comint-output-filter-functions.
24528 (shell-command-completion, shell--command-completion-data)
24529 (shell-filename-completion, shell-environment-variable-completion)
24530 (shell-c-a-p-replace-by-expanded-directory): New functions.
24531 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
24532 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
24533 (shell-dynamic-complete-environment-variable): Use them.
24534 (shell-dynamic-complete-as-environment-variable)
24535 (shell-dynamic-complete-as-command): Remove.
24536 (shell-match-partial-variable): Match past point.
24537 * comint.el: Clean up use of completion-at-point-functions.
24538 (comint-completion-at-point): New function.
24539 (comint-mode): Use it completion-at-point-functions.
24540 (comint-dynamic-complete): Make it obsolete.
24541 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
24542 (comint-c-a-p-replace-by-expanded-history): New function.
24543 (comint-dynamic-complete-functions)
24544 (comint-replace-by-expanded-history): Use it.
24545 * minibuffer.el (completion-table-with-terminator): Allow dynamic
24546 termination strings. Try harder to avoid second try-completion.
24547 (completion-in-region-mode-map): Disable bindings that don't work yet.
24548
24549 * comint.el: Use lexical-binding. Require CL.
24550 (comint-dynamic-complete-functions): Use comint-filename-completion.
24551 (comint-completion-addsuffix): Tweak custom type.
24552 (comint-filename-completion, comint--common-suffix)
24553 (comint--common-quoted-suffix, comint--table-subvert)
24554 (comint--complete-file-name-data): New functions.
24555 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
24556 (comint-dynamic-list-filename-completions): Use them.
24557 (comint-dynamic-simple-complete): Make obsolete.
24558
24559 * minibuffer.el (completion-in-region-mode):
24560 Keep completion-in-region-mode--predicate global.
24561 (completion-in-region--postch):
24562 Assume completion-in-region-mode--predicate is not null.
24563
24564 * progmodes/flymake.el (flymake-start-syntax-check-process):
24565 Obey `dir'. Simplify.
24566
24567 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
24568 we're in VC after all.
24569
24570 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
24571
24572 * vc/vc.el (vc-diff-build-argument-list-internal)
24573 (vc-version-ediff, vc-ediff): New commands.
24574 (vc-version-diff): Use vc-diff-build-argument-list-internal.
24575
24576 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
24577
24578 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
24579 add sanity check.
24580
24581 * obsolete/erc-hecomplete.el: Make obsolete.
24582 * obsolete/: Standardize obsolescence info in the header.
24583
24584 2011-04-20 Glenn Morris <rgm@gnu.org>
24585
24586 * calendar/solar.el (solar-horizontal-coordinates):
24587 Use the longitude argument rather than `calendar-longitude'.
24588 (solar-date-next-longitude): Remove unused locals.
24589
24590 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
24591
24592 * whitespace.el: New version 13.2.1.
24593
24594 2011-04-20 felix <EmacsWiki> (tiny change)
24595
24596 * whitespace.el (global-whitespace-mode): Keep highlight when
24597 switching between major modes on a file.
24598
24599 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
24600
24601 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
24602 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
24603 multi-line comments as well.
24604
24605 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
24606
24607 Lexical-binding cleanup.
24608
24609 * arc-mode.el (archive-mode-revert):
24610 * cmuscheme.el (scheme-interactively-start-process):
24611 * custom.el (custom-initialize-delay):
24612 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
24613 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
24614 * emacs-lock.el (emacs-lock-clear-sentinel):
24615 * ezimage.el (defezimage):
24616 * follow.el (follow-avoid-tail-recenter):
24617 * fringe.el (set-fringe-mode-1):
24618 * generic-x.el (bat-generic-mode-compile):
24619 * help-mode.el (help-info-variable, help-do-xref)
24620 (help-mode-revert-buffer):
24621 * help.el (view-emacs-todo):
24622 * iswitchb.el (iswitchb-completion-help):
24623 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
24624 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
24625 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
24626 * locate.el (locate-update):
24627 * longlines.el (longlines-encode-region)
24628 (longlines-after-change-function):
24629 * outline.el (outline-isearch-open-invisible):
24630 * ps-def.el (declare-function, charset-dimension, char-width)
24631 (encode-char):
24632 * ps-mule.el (ps-mule-plot-string):
24633 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
24634 (recentf-edit-list-select, recentf-edit-list-validate)
24635 (recentf-open-files-action):
24636 * rect.el (delete-whitespace-rectangle-line)
24637 (rectangle-number-line-callback):
24638 * register.el (window-configuration-to-register)
24639 (frame-configuration-to-register):
24640 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
24641 * select.el (xselect-convert-to-string, xselect-convert-to-length)
24642 (xselect-convert-to-targets, xselect-convert-to-delete)
24643 (xselect-convert-to-filename, xselect-convert-to-charpos)
24644 (xselect-convert-to-lineno, xselect-convert-to-colno)
24645 (xselect-convert-to-os, xselect-convert-to-host)
24646 (xselect-convert-to-user, xselect-convert-to-class)
24647 (xselect-convert-to-name, xselect-convert-to-integer)
24648 (xselect-convert-to-atom, xselect-convert-to-identity):
24649 * subr.el (declare, ignore, process-kill-without-query)
24650 (text-clone-maintain):
24651 * terminal.el (te-get-char, te-tic-sentinel):
24652 * tool-bar.el (tool-bar-make-keymap):
24653 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
24654 * type-break.el (type-break-mode, type-break-noninteractive-query):
24655 * view.el (View-back-to-mark):
24656 * wid-browse.el (widget-browse-action, widget-browse-widget)
24657 (widget-browse-widgets, widget-browse-sexp):
24658 * widget.el (define-widget-keywords):
24659 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
24660 Mark unused parameters.
24661
24662 * align.el (align-adjust-col-for-rule): Mark unused parameter.
24663 (align-areas): Remove unused variable `look'.
24664 (align-region): Remove unused variables `real-end' and `pos-list'.
24665
24666 * apropos.el (apropos-score-doc): Remove unused variable `i'.
24667
24668 * bindings.el (mode-line-modified, mode-line-remote):
24669 Mark unused parameters.
24670 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
24671
24672 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
24673 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
24674
24675 * comint.el (comint-history-isearch-pop-state)
24676 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
24677 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
24678 (comint-substitute-in-file-name): Doc fix.
24679
24680 * completion.el (cmpl-statistics-block): Mark unused parameter.
24681 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
24682 (save-completions-to-file, load-completions-from-file):
24683 Remove unused local variable `e'.
24684
24685 * composite.el (compose-chars): Remove unused variable `len'.
24686 (lgstring-insert-glyph): Remove unused variable `g'.
24687 (compose-glyph-string): Remove unused variables `ascent',
24688 `descent', `lbearing' and `rbearing'.
24689 (compose-glyph-string-relative): Remove unused variables
24690 `lbearing', `rbearing' and `wadjust'.
24691 (compose-gstring-for-graphic): Remove unused variables `header',
24692 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
24693 (compose-gstring-for-terminal): Remove unused variables `header'
24694 and `nchars'. Use `let', not `let*'.
24695
24696 * cus-edit.el (Custom-set, Custom-save, custom-reset)
24697 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
24698 (Custom-buffer-done, custom-buffer-create-internal)
24699 (custom-browse-visibility-action, custom-browse-group-tag-action)
24700 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
24701 (widget-magic-mouse-down-action, custom-toggle-parent)
24702 (custom-add-parent-links, custom-toggle-hide-variable)
24703 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
24704 (custom-toggle-hide-face, face, hook, custom-group-link-action)
24705 (custom-face-menu-create, custom-variable-menu-create, get)
24706 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
24707 (custom-reset-standard-save-and-update): Remove unused variable `value'.
24708 (customize-apropos): Remove unused variable `tests'.
24709 (custom-group-value-create): Remove unused variable `hidden-p'.
24710 (sort-fold-case): Declare.
24711
24712 * cus-theme.el (custom-reset-standard-faces-list)
24713 (custom-reset-standard-variables-list): Declare.
24714 (customize-create-theme, custom-theme-revert, custom-theme-write)
24715 (custom-theme-choose-mode, customize-themes, custom-theme-save):
24716 Mark unused parameters.
24717
24718 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
24719
24720 * delim-col.el (delimit-columns-max): Move defvar before first use.
24721
24722 * descr-text.el (describe-char-categories): Don't quote `lambda'.
24723 (describe-char): Don't quote `lambda'. Mark unused parameter.
24724
24725 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
24726 (auto-insert): Declare.
24727 (desktop-restore-file-buffer): Rename desktop-* parameters;
24728 mark unused ones.
24729 (desktop-create-buffer): Rename desktop-* parameters and bind them.
24730 (desktop-buffer): Rename desktop-* parameters.
24731
24732 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
24733 (dframe-reposition-frame-xemacs, dframe-help-echo)
24734 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
24735 Mark unused parameters.
24736
24737 * dired-aux.el (backup-extract-version-start, overwrite-query)
24738 (overwrite-backup-query, rename-regexp-query)
24739 (rename-non-directory-query): Declare.
24740 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
24741 (dired-add-entry): Remove unused variable `orig-file-name'.
24742 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
24743 Use parameter PRESERVE-TIME instead of accessing dynamic variable
24744 `dired-copy-preserve-time' directly.
24745 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
24746 (dired-insert-subdir-newpos): Rename unused variable `pos'.
24747
24748 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
24749 (dired-virtual-revert, dired-make-relative-symlink):
24750 Mark unused parameters.
24751 (manual-program): Declare.
24752 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
24753 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
24754 wrapped in `with-no-warnings' to avoid replacing one warning by another.
24755
24756 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
24757
24758 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
24759
24760 * echistory.el (electric-history-in-progress, Helper-return-blurb):
24761 Declare.
24762
24763 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
24764
24765 * electric.el (Electric-command-loop): Rename parameter
24766 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
24767
24768 * expand.el (expand-in-literal): Remove unused variable `here'.
24769
24770 * facemenu.el (facemenu-add-new-color):
24771 Remove unused variable `docstring'.
24772
24773 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
24774 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
24775 (face-attr-construct): Mark unused parameter. Doc fix.
24776 (read-color): Remove unused variable `hex-string'.
24777
24778 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
24779 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
24780 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
24781 (display-buffer-other-frame): Remove unused variable `old-window'.
24782 (kill-buffer-hook): Declare.
24783 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
24784 Mark unused parameters.
24785 (after-find-file): Pass 1 to `auto-save-mode', not t.
24786
24787 * files-x.el (auto-insert): Declare.
24788 (modify-file-local-variable-prop-line): Remove unused variable `val'.
24789
24790 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
24791 variable `buf'. Mark unused parameter.
24792 (find-lisp-insert-directory): Mark unused parameter.
24793
24794 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
24795 (format-encode-region): Remove unused variables `cur-buf' and `result'.
24796 (format-common-tail): Remove, unused.
24797 (format-deannotate-region): Remove unused variable `loc'.
24798 (format-annotate-region): Remove unused variable `p'.
24799 (format-annotate-single-property-change): Remove unused variables
24800 `default' and `tail'.
24801
24802 * forms.el (read-file-filter): Declare.
24803 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
24804
24805 * frame.el (frame-creation-function-alist): Mark unused parameter.
24806 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
24807
24808 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
24809 Remove unused parameters.
24810 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
24811 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
24812
24813 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
24814 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
24815 (hfy-prepare-tag-map): Mark unused parameters.
24816 (htmlfontify-buffer): Use `called-interactively-p'.
24817
24818 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
24819 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
24820 (ibuffer-do-occur): Mark unused parameters.
24821 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
24822 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
24823
24824 * ibuffer.el: Don't quote `lambda'.
24825 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
24826 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
24827 Mark unused parameters.
24828
24829 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
24830 (ido-completing-read): Mark unused parameters.
24831 (ido-copy-current-word): Mark unused parameters;
24832 remove unused variable `name'.
24833 (ido-sort-merged-list): Remove unused parameter `dirs'.
24834
24835 * ielm.el (ielm-input-sender): Mark unused parameter.
24836 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
24837 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
24838 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
24839 `ielm-string' as a dynamic variable accessible from the IELM prompt.
24840 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
24841
24842 * image-dired.el (image-dired-display-thumbs): Remove unused
24843 variables `curr-file' and `count'.
24844 (image-dired-remove-tag): Remove unused variable `start'.
24845 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
24846 variable `curr-file'
24847 (image-dired-rotate-original): Remove unused variable `temp-file'.
24848 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
24849 Remove unused variable `file'.
24850 (image-dired-gallery-generate): Remove unused variable `curr'.
24851 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
24852
24853 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
24854
24855 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
24856
24857 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
24858
24859 * isearch.el (minibuffer-history-symbol): Declare.
24860 (isearch-edit-string): Remove unused variable `err'.
24861 (isearch-message-prefix, isearch-message-suffix):
24862 Mark unused parameters.
24863
24864 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
24865
24866 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
24867
24868 * makesum.el (double-column): Remove unused variable `cnt'.
24869
24870 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
24871 (ido-ignore-item-temp-list): Declare.
24872
24873 * mouse-drag.el (mouse-drag-throw): Remove unused variables
24874 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
24875 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
24876 (mouse-drag-drag): Remove unused variables `mouse-delta' and
24877 `mouse-col-delta'.
24878
24879 * mouse-sel.el (mouse-extend-internal):
24880 Remove unused variable `orig-window-frame'.
24881
24882 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
24883 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
24884 Move declarations before first use.
24885 (pcomplete-opt): Mark unused parameters; doc fix.
24886
24887 * proced.el (proced-revert): Mark unused parameter.
24888 (proced-send-signal): Remove unused variable `err'.
24889
24890 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
24891 Rename parameter PREFIX-ARG to ARG.
24892 (ps-basic-plot-string, ps-basic-plot-whitespace):
24893 Mark unused parameters.
24894
24895 * replace.el (replace-count): Define.
24896 (occur-revert-function): Mark unused parameters.
24897 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
24898 (isearch-case-fold-search, isearch-string): Declare.
24899 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
24900 bind `case-fold-search'. Remove unused variables `beg' and `end',
24901 and simplify.
24902 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
24903 COUNT and bind `replace-count'.
24904 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
24905 to COUNT.
24906
24907 * savehist.el (print-readably, print-string-length): Declare.
24908
24909 * shadowfile.el (shadow-expand-cluster-in-file-name):
24910 Remove unused variable `cluster'.
24911 (shadow-copy-file): Remove unused variable `i'.
24912 (shadow-noquery, shadow-clusters, shadow-site-cluster)
24913 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
24914 (shadow-define-literal-group, shadow-define-regexp-group)
24915 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
24916
24917 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
24918 (shell): Use `called-interactively-p'.
24919 (shell-directory-tracker): Remove unused variable `chdir-failure'.
24920
24921 * simple.el (compilation-context-lines, comint-file-name-quote-list)
24922 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
24923 (delete-backward-char): Remove unused variable `ocol'.
24924 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
24925 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
24926 (event-apply-hyper-modifier, event-apply-shift-modifier)
24927 (event-apply-control-modifier, event-apply-meta-modifier):
24928 Mark unused parameters.
24929 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
24930 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
24931
24932 * speedbar.el (speedbar-ignored-directory-expressions)
24933 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
24934 (speedbar-find-file, speedbar-dir-follow)
24935 (speedbar-directory-buttons-follow, speedbar-tag-find)
24936 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
24937 (speedbar-buffers-line-directory, speedbar-buffer-click):
24938 Mark unused parameters.
24939 (speedbar-tag-file): Remove unused variable `mode'.
24940 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
24941
24942 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
24943
24944 * talk.el (talk): Remove unused variable `display'.
24945
24946 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
24947 (tar-write-region-annotate): Mark unused parameter.
24948
24949 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
24950 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
24951 Declare them, wrapped in `with-no-warnings' to avoid replacing one
24952 warning by another.
24953
24954 * time-stamp.el (time-stamp-string-preprocess):
24955 Remove unused variable `require-padding'.
24956
24957 * tree-widget.el (widget-glyph-enable): Declare.
24958 (tree-widget-action): Mark unused parameter.
24959
24960 * w32-fns.el (x-get-selection): Mark unused parameter.
24961 (autoload-make-program, generated-autoload-file): Declare.
24962
24963 * wdired.el (wdired-revert): Mark unused parameters.
24964 (wdired-xcase-word): Remove unused variable `err'.
24965
24966 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
24967 (whitespace-help-scroll): Remove unused variable `data-help'.
24968
24969 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
24970 (widget-image-insert, widget-after-change, default)
24971 (widget-default-format-handler, widget-default-notify)
24972 (widget-default-prompt-value, widget-info-link-action)
24973 (widget-url-link-action, widget-function-link-action)
24974 (widget-variable-link-action, widget-file-link-action)
24975 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
24976 (widget-field-prompt-internal, widget-field-action, widget-field-match)
24977 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
24978 (widget-insert-button-action, widget-delete-button-action, visibility)
24979 (widget-documentation-link-action, widget-documentation-string-action)
24980 (widget-const-prompt-value, widget-regexp-match, symbol)
24981 (widget-coding-system-prompt-value)
24982 (widget-key-sequence-value-to-external, sexp)
24983 (widget-sexp-value-to-internal, character, vector, cons)
24984 (widget-choice-prompt-value, widget-boolean-prompt-value)
24985 (widget-color--choose-action): Mark unused parameters.
24986 (widget-item-match-inline, widget-choice-match-inline)
24987 (widget-checklist-match, widget-checklist-match-inline)
24988 (widget-group-match): Rename parameter VALUES to VALS.
24989 (widget-field-value-set): Remove unused variable `size'.
24990 (widget-color-action): Remove unused variables `value' and `start'.
24991
24992 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
24993 variable `dir'. Doc fix.
24994 (windmove-find-other-window): Don't pass it.
24995
24996 * window.el (count-windows): Mark unused parameter.
24997 (bw-adjust-window): Remove unused variable `err'.
24998
24999 * woman.el (woman-file-name): Remove unused variable `default'.
25000 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
25001 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
25002 (global-font-lock-mode): Declare.
25003 (woman-decode-region): Mark unused parameter.
25004 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
25005
25006 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
25007 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
25008 (x-dnd-handle-moz-url): Remove unused variable `title'.
25009 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
25010
25011 * xml.el (xml-parse-tag, xml-parse-attlist):
25012 Remove unused variable `pos'.
25013
25014 2011-04-19 Glenn Morris <rgm@gnu.org>
25015
25016 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
25017 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
25018 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
25019 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
25020 * calendar/cal-html.el (cal-html-insert-minical):
25021 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
25022 (calendar-mark-date-pattern):
25023 Prefix "unused" locals.
25024
25025 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
25026 optional argument `style'.
25027
25028 * calendar/appt.el (appt-make-list):
25029 * calendar/cal-china.el (calendar-chinese-date-string):
25030 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
25031 (diary-hebrew-yahrzeit):
25032 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
25033 * calendar/calendar.el (calendar-generate-window):
25034 * calendar/time-date.el (time-to-days):
25035 Remove unused local variables.
25036
25037 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
25038
25039 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
25040 glyphless-char-display table.
25041 (tabulated-list-glyphless-char-display): New var.
25042
25043 2011-04-18 Sam Steingold <sds@gnu.org>
25044
25045 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
25046 to acknowledgments.
25047
25048 2011-04-17 Glenn Morris <rgm@gnu.org>
25049
25050 * calendar/diary-lib.el (diary-sexp-entry):
25051 * calendar/holidays.el (holiday-sexp):
25052 Set debug-on-error rather than the removed stack-trace-on-error.
25053
25054 2011-04-16 Glenn Morris <rgm@gnu.org>
25055
25056 * progmodes/f90.el: Use lexical-binding.
25057 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
25058
25059 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
25060
25061 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
25062 (mail-mode): Setup mailalias completion here instead.
25063 * mail/mailalias.el: Use lexical-binding.
25064 (pattern, mailalias-done): Declare dynamic.
25065 (mail-completion-at-point-function): New function, from mail-complete.
25066 (mail-complete): Use it.
25067 (mail-completion-expand): New function.
25068 (mail-get-names): Use it.
25069 (mail-directory, mail-directory-process, mail-directory-stream):
25070 Don't use `pattern' for lexically bound arg.
25071
25072 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
25073
25074 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
25075 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
25076 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
25077
25078 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
25079 (byte-save-window-excursion, byte-temp-output-buffer-setup)
25080 (byte-interactive-p): Define them again, for use when inlining
25081 old code.
25082
25083 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
25084
25085 * loadup.el: Use `string-to-number', not `string-to-int'.
25086
25087 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
25088
25089 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
25090 gud-gdb-complete-command.
25091 (gud-gdb-completions): New function, from gud-gdb-complete-command.
25092 (gud-gdb-completion-at-point): New function.
25093 (gud-gdb-completions): Remove.
25094
25095 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
25096
25097 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
25098 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
25099 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
25100 whether `executable-find' is bound.
25101
25102 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
25103
25104 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
25105
25106 * minibuffer.el (completion-in-region-mode-predicate)
25107 (completion-in-region-mode--predicate): New vars.
25108 (completion-in-region, completion-in-region--postch)
25109 (completion-in-region-mode): Use them.
25110 (completion--capf-wrapper): Also return the hook function.
25111 (completion-at-point, completion-help-at-point):
25112 Adjust and provide a predicate.
25113
25114 Preserve arg names for advice of subr and lexical functions (bug#8457).
25115 * help-fns.el (help-function-arglist): Consolidate the subr and
25116 new-byte-code cases. Add argument `preserve-names' to extract names
25117 from the docstring when needed.
25118 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
25119 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
25120 (ad-arglist): Use help-function-arglist's new arg.
25121 (ad-definition-type): Use cond.
25122
25123 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
25124
25125 * autorevert.el (auto-revert-handler):
25126 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
25127 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
25128 Don't quote lambda.
25129
25130 * image-mode.el (image-transform-set-scale):
25131 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
25132
25133 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
25134
25135 * net/network-stream.el (network-stream-open-starttls): Only do
25136 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
25137 Upgrades via gnutls-cli are too slow to be done opportunistically.
25138
25139 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
25140
25141 * dframe.el (dframe-current-frame): Remove spurious quote.
25142
25143 2011-04-12 Glenn Morris <rgm@gnu.org>
25144
25145 * calendar/cal-tex.el (cal-tex-end-document):
25146 Try to automatically use latin1 input if needed.
25147
25148 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
25149 Don't try to cons a mark onto an empty element.
25150
25151 2011-04-11 Leo Liu <sdl.web@gmail.com>
25152
25153 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
25154 buffers.
25155 (ido-kill-buffer-at-head): Support killing virtual buffers.
25156
25157 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
25158
25159 * minibuffer.el (completion-show-inline-help): New var.
25160 (completion--do-completion, minibuffer-complete)
25161 (minibuffer-force-complete, minibuffer-complete-word):
25162 Inhibit minibuffer messages if completion-show-inline-help is nil.
25163
25164 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
25165 to avoid interference from inline help (Bug#5849).
25166
25167 2011-04-10 Leo Liu <sdl.web@gmail.com>
25168
25169 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
25170 Fix typo.
25171
25172 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
25173
25174 * image-mode.el (image-toggle-display-image): Signal an error if
25175 not in Image mode.
25176 (image-transform-mode, image-transform-resize)
25177 (image-transform-set-rotation): Doc fix.
25178 (image-transform-set-resize): Delete.
25179 (image-transform-set-scale, image-transform-fit-to-height)
25180 (image-transform-fit-to-width): Handle image-toggle-display-image
25181 and image-transform-resize directly.
25182
25183 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
25184
25185 * doc-view.el (doc-view-fit-width-to-window)
25186 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
25187 New functions for fitting the shown image to the Emacs window size.
25188 (doc-view-mode-map): Add bindings for the new functions.
25189
25190 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
25191
25192 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
25193 Fix typo in docstring.
25194
25195 2011-04-08 Eli Zaretskii <eliz@gnu.org>
25196
25197 * files.el (file-size-human-readable): Produce one digit after
25198 decimal, like "ls -lh" does.
25199
25200 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
25201 the file size representation.
25202
25203 * simple.el (list-processes): If async subprocesses are not
25204 available, error out with a clear error message.
25205
25206 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
25207
25208 * help.el (help-form-show): New function, to be called from C.
25209 Put help-form output in a buffer named differently than *Help*.
25210
25211 2011-04-08 Eli Zaretskii <eliz@gnu.org>
25212
25213 * files.el (file-size-human-readable): New function.
25214
25215 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
25216 computing the representation inline. Don't require `cl'.
25217
25218 2011-04-08 Glenn Morris <rgm@gnu.org>
25219
25220 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
25221
25222 * net/browse-url.el (browse-url-firefox):
25223 Test system-type, not system-configuration.
25224
25225 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
25226 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
25227 Use log-edit-empty-buffer-p. (Bug#7598)
25228
25229 * net/rlogin.el (rlogin-process-connection-type): Simplify.
25230 (rlogin-mode-map): Initialize in the defvar.
25231 (rlogin): Use ignore-errors.
25232
25233 * replace.el (occur-mode-map): Some fixes for menu items.
25234
25235 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
25236
25237 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
25238
25239 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
25240
25241 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
25242 issuing unused warnings.
25243
25244 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
25245 macro directly.
25246
25247 * simple.el: Lisp reimplement of list-processes. Based on an
25248 earlier reimplementation by Leo Liu, but using tabulated-list.el.
25249 (process-menu-mode): New major mode.
25250 (list-processes--refresh, list-processes):
25251 (process-menu-visit-buffer): New functions.
25252
25253 * files.el (save-buffers-kill-emacs): Don't assume any return
25254 value of list-processes, which is undocumented anyway.
25255
25256 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
25257
25258 * emacs-lisp/tabulated-list.el: New file.
25259
25260 * emacs-lisp/package.el: Use Tabulated List mode.
25261 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
25262 (package-menu-mode): Derive from tabulated-list-mode. Set up the
25263 table format using Tabulated List mode variables.
25264 (package--push): New macro, replacing package-list-maybe-add.
25265 (package-menu--generate): Use package--push. Renamed from
25266 package--generate-package-list.
25267 (package-menu-refresh, list-packages): Use it.
25268 (package-menu--print-info): Rename from package-print-package.
25269 Return insertion data instead of inserting it directly.
25270 (package-menu-describe-package, package-menu-execute):
25271 Use tabulated-list-get-id.
25272 (package-menu-mark-delete, package-menu-mark-install)
25273 (package-menu-mark-unmark, package-menu-backup-unmark)
25274 (package-menu-mark-obsolete-for-deletion):
25275 Use tabulated-list-put-tag.
25276 (package--list-packages, package-menu-revert)
25277 (package-menu-get-package, package-menu-get-version)
25278 (package-menu-sort-by-column): Functions deleted.
25279 (package-menu-package-list, package-menu-sort-key): Vars deleted.
25280 (package-menu--status-predicate, package-menu--version-predicate)
25281 (package-menu--name-predicate)
25282 (package-menu--description-predicate): Handle arguments in the
25283 Tabulated List format.
25284 (package-list-packages-no-fetch): Call list-packages.
25285
25286 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
25287
25288 * files.el (after-find-file-from-revert-buffer): Remove variable.
25289 (after-find-file): Don't bind it.
25290 (revert-buffer-in-progress-p): New variable.
25291 (revert-buffer): Bind it.
25292 Pass nil for `after-find-file-from-revert-buffer'.
25293
25294 * saveplace.el (save-place-find-file-hook): Use new variable
25295 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
25296
25297 2011-04-06 Glenn Morris <rgm@gnu.org>
25298
25299 * Makefile.in (AUTOGEN_VCS): New variable.
25300 (autoloads): Use $AUTOGEN_VCS.
25301
25302 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
25303 * calendar/calendar.el (calendar-mode-map):
25304 Check for toolkit scroll bars. (Bug#8305)
25305
25306 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
25307
25308 * minibuffer.el (completion-in-region--postch)
25309 (completion-in-region-mode): Remove unnecessary messages.
25310
25311 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
25312
25313 * font-lock.el (font-lock-refresh-defaults):
25314 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
25315 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
25316
25317 * info.el (Info-directory-list, Info-read-node-name-2)
25318 (Info-split-parameter-string): Doc fixes.
25319 (Info-virtual-nodes): Reflow docstring.
25320 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
25321 (Info-apropos-toc-nodes, info-finder, Info-get-token)
25322 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
25323 Fix typos in docstrings.
25324 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
25325 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
25326 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
25327 (Info-restore-desktop-buffer): Mark unused parameters.
25328 (Info-directory-find-file, Info-directory-find-node)
25329 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
25330 (Info-virtual-index-find-node, Info-apropos-find-file)
25331 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
25332 Mark unused parameters; fix typos in docstrings.
25333 (Info-virtual-index): Remove unused local variable `nodename'.
25334
25335 2011-04-05 Deniz Dogan <deniz@dogan.se>
25336
25337 * net/rcirc.el: Update my e-mail address.
25338 (rcirc-mode-map): Remove M-o binding.
25339
25340 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
25341
25342 * startup.el (command-line): Save the cursor's theme-face
25343 directly, instead of using face-override-spec.
25344
25345 * custom.el (load-theme): Minor optimization in assigning faces.
25346
25347 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
25348
25349 * help-fns.el (describe-variable): Complete all variables having
25350 documentation, including keywords.
25351 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
25352
25353 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
25354
25355 Convert to lexical-binding.
25356
25357 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
25358 (bs--get-marked-string, bs--get-modified-string)
25359 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
25360 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
25361 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
25362
25363 * ehelp.el (electric-help-execute-extended)
25364 (electric-help-ctrl-x-prefix):
25365 * hexl.el (hexl-revert-buffer-function):
25366 * linum.el (linum-after-change, linum-after-scroll):
25367 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
25368
25369 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
25370
25371 2011-04-04 Daiki Ueno <ueno@unixuser.org>
25372
25373 * epa-dired.el:
25374 * epa-mail.el:
25375 * epa-hook.el:
25376 * epa-file.el:
25377 * epa.el:
25378 * epg.el: Use lexical binding.
25379
25380 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
25381
25382 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
25383
25384 * textmodes/flyspell.el (flyspell-word): Recognize default
25385 dictionary case for flyspell-mark-duplications-exceptions.
25386 Use regexp matching for languages.
25387 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
25388 default dictionary (Bug#7926).
25389
25390 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
25391
25392 * emacs-lisp/package.el (package--with-work-buffer):
25393 Recognize https URLs.
25394
25395 * net/network-stream.el: Move from gnus/proto-stream.el.
25396 Change prefix to network-stream throughout.
25397 (open-protocol-stream): Merge into open-network-stream, leaving
25398 open-protocol-stream as an alias. Handle nil BUFFER args.
25399
25400 * subr.el (open-network-stream): Move to net/network-stream.el.
25401
25402 2011-04-02 Glenn Morris <rgm@gnu.org>
25403
25404 * find-dired.el (find-exec-terminator): New option.
25405 (find-ls-option): Test for -ls support.
25406 (find-ls-subdir-switches): Test for -b in find-ls-option.
25407 (find-dired, find-grep-dired): Doc fixes.
25408 (find-dired): Use find-exec-terminator.
25409
25410 * find-dired.el (find-ls-option, find-ls-subdir-switches)
25411 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
25412 (find-name-arg): Remove purecopy.
25413
25414 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
25415 (grep-compute-defaults): Check for `-exec COMMAND +' support.
25416 Set grep-find-use-xargs, grep-find-command, and grep-find-template
25417 accordingly. Don't add the null-device if not needed.
25418
25419 * files.el (save-some-buffers): Doc fix.
25420
25421 2011-04-02 Eli Zaretskii <eliz@gnu.org>
25422
25423 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
25424
25425 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
25426
25427 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
25428 Use `dolist' rather than `mapcar'.
25429
25430 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
25431
25432 Add lexical binding.
25433
25434 * subr.el (apply-partially): Use new closures rather than CL.
25435 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
25436 (dolist, dotimes): Use slightly different expansion for lexical code.
25437 (functionp): Move to C.
25438 (letrec): New macro.
25439 (with-wrapper-hook): Use it and apply-partially instead of CL.
25440 (eval-after-load): Preserve lexical-binding.
25441 (save-window-excursion, with-output-to-temp-buffer): Turn them
25442 into macros.
25443
25444 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
25445
25446 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
25447 than the arglist.
25448 (help-add-fundoc-usage): Don't add `Not documented'.
25449 (help-function-arglist): Handle closures, subroutines, and new
25450 byte-code-functions.
25451 (help-make-usage): Remove leading underscores.
25452 (describe-function-1): Handle closures.
25453 (describe-variable): Use special-variable-p for completion.
25454
25455 * files.el (lexical-binding): Declare safe.
25456
25457 * emacs-lisp/pcase.el: Don't use destructuring-bind.
25458 (pcase--memoize): Rename from pcase-memoize. Change weakness.
25459 (pcase): Add `let' pattern.
25460 Change memoization so it actually works.
25461 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
25462 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
25463 <let>: New case.
25464
25465 * emacs-lisp/macroexp.el: Use lexical binding.
25466 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
25467 Don't convert ' to #' without checking that it's indeed quoting
25468 a lambda.
25469
25470 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
25471 Use eval-sexp-add-defvars.
25472 (eval-sexp-add-defvars): New fun.
25473
25474 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
25475
25476 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
25477 Don't autoload.
25478 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
25479 than the internal `byte-compile-lambda'.
25480 (defmethod): Don't hide code under quotes.
25481 (eieio-defmethod): New `code' argument.
25482
25483 * emacs-lisp/eieio-comp.el: Remove.
25484
25485 * emacs-lisp/edebug.el (edebug-eval-defun)
25486 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
25487 (edebug-toggle): Avoid `eval'.
25488
25489 * emacs-lisp/disass.el (disassemble-internal): Handle new
25490 `closure' objects.
25491 (disassemble-1): Handle new byte codes.
25492
25493 * emacs-lisp/cl.el (pushnew): Silence warning.
25494
25495 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
25496 (cl-byte-compile-throw): Remove.
25497 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
25498
25499 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
25500 closures.
25501
25502 * emacs-lisp/cconv.el: New file.
25503
25504 * emacs-lisp/bytecomp.el: Use lexical binding instead of
25505 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
25506 (byte-compile-initial-macro-environment):
25507 Handle declare-function here.
25508 (byte-compile--lexical-environment): New var.
25509 (byte-stack-ref, byte-stack-set, byte-discardN)
25510 (byte-discardN-preserve-tos): New lap codes.
25511 (byte-interactive-p): Don't use any more.
25512 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
25513 New macros.
25514 (byte-compile-lapcode): Use them and handle new lap codes.
25515 (byte-compile-obsolete): Remove.
25516 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
25517 (byte-compile-arglist-warn): Check late def of inlinable funs.
25518 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
25519 since they should have been expanded by now.
25520 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
25521 (byte-compile-from-buffer): Remove unused second arg.
25522 (byte-compile-preprocess): New function.
25523 (byte-compile-toplevel-file-form): New function to distinguish
25524 file-form calls from outside from file-form calls from hunk-handlers.
25525 (byte-compile-file-form): Simplify.
25526 (byte-compile-file-form-defsubst): Remove.
25527 (byte-compile-file-form-defmumble): Simplify now that
25528 byte-compile-lambda always returns a byte-code-function.
25529 (byte-compile): Preprocess.
25530 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
25531 Remove, not used any more.
25532 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
25533 (byte-compile-make-args-desc): New funs.
25534 (byte-compile-lambda): Handle lexical functions. Always return
25535 a byte-code-function.
25536 (byte-compile-reserved-constants): New var, to make up room for
25537 closed-over variables.
25538 (byte-compile-constants-vector): Obey it.
25539 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
25540 (byte-compile-macroexpand-declare-function): New function.
25541 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
25542 byte-code-functions.
25543 (byte-compile-form): Check obsolescence here.
25544 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
25545 (byte-compile-variable-ref): Remove.
25546 (byte-compile-dynamic-variable-op): New fun.
25547 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
25548 (byte-compile-variable-set): New funs.
25549 (byte-compile-discard): Add 2 args.
25550 (byte-compile-stack-ref, byte-compile-stack-set)
25551 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
25552 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
25553 macroexpand-all instead.
25554 (byte-compile-quote-form): Remove.
25555 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
25556 (byte-compile-bind, byte-compile-unbind): New funs.
25557 (byte-compile-let): Handle let* and lexical binding.
25558 (byte-compile-let*): Remove.
25559 (byte-compile-catch, byte-compile-unwind-protect)
25560 (byte-compile-track-mouse, byte-compile-condition-case):
25561 Handle a new :fun-body form, used for lexical scoping.
25562 (byte-compile-save-window-excursion)
25563 (byte-compile-with-output-to-temp-buffer): Remove.
25564 (byte-compile-defun): Simplify.
25565 (byte-compile-stack-adjustment): New fun.
25566 (byte-compile-out): Use it.
25567 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
25568
25569 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
25570 handler any more.
25571
25572 * emacs-lisp/byte-opt.el: Use lexical binding.
25573 (byte-inline-lapcode): Remove (to bytecomp).
25574 (byte-compile-inline-expand): Pay attention to inlining to/from
25575 lexically bound code.
25576 (byte-compile-unfold-lambda): Don't handle byte-code-functions
25577 any more.
25578 (byte-optimize-form-code-walker): Don't handle save-window-excursion
25579 any more and don't call compiler-macros.
25580 (byte-compile-splice-in-already-compiled-code): Remove.
25581 (byte-code): Don't inline any more.
25582 (disassemble-offset): Receive `bytes' as argument rather than via
25583 dynamic scoping.
25584 (byte-compile-tag-number): Declare before first use.
25585 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
25586 `return' even if make-spliceable.
25587 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
25588 obsolete interactive-p.
25589 (byte-optimize-lapcode): Optimize new lap-codes.
25590 Don't trip up on new form of `byte-constant' lap code.
25591
25592 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
25593
25594 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
25595
25596 * custom.el (custom-initialize-default, custom-declare-variable):
25597 Use `defvar'.
25598
25599 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
25600 New variables.
25601 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
25602 (COMPILE_FIRST): Add macroexp and cconv.
25603 * makefile.w32-in: Mirror changes in Makefile.in.
25604
25605 * vc/cvs-status.el:
25606 * vc/diff-mode.el:
25607 * vc/log-edit.el:
25608 * vc/log-view.el:
25609 * vc/smerge-mode.el:
25610 * textmodes/bibtex-style.el:
25611 * textmodes/css-mode.el:
25612 * startup.el:
25613 * uniquify.el:
25614 * minibuffer.el:
25615 * newcomment.el:
25616 * reveal.el:
25617 * server.el:
25618 * mpc.el:
25619 * emacs-lisp/smie.el:
25620 * doc-view.el:
25621 * dired.el:
25622 * abbrev.el: Use lexical binding.
25623
25624 2011-04-01 Eli Zaretskii <eliz@gnu.org>
25625
25626 * info.el (info-display-manual): New function.
25627
25628 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
25629
25630 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
25631
25632 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
25633
25634 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
25635 an entry for that server in rcirc-authinfo. (Bug#8385)
25636
25637 2011-03-31 Glenn Morris <rgm@gnu.org>
25638
25639 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
25640
25641 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
25642
25643 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
25644
25645 * progmodes/python.el (python-default-interpreter)
25646 (python-python-command-args, python-jython-command-args)
25647 (python-which-shell, python-which-args, python-which-bufname)
25648 (python-file-queue, python-comint-output-filter-function)
25649 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
25650 variables and functions.
25651
25652 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
25653
25654 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
25655 (completion-in-region-mode): New minor mode.
25656 (completion-in-region): Use it.
25657 (completion-in-region--data, completion-in-region-mode-map): New vars.
25658 (completion-in-region--postch): New function.
25659 (completion--capf-misbehave-funs, completion--capf-safe-funs):
25660 New vars.
25661 (completion--capf-wrapper): New function.
25662 (completion-at-point): Use it to track well-behavedness of
25663 hook functions.
25664 (completion-help-at-point): New command.
25665
25666 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
25667
25668 * vc/add-log.el (add-change-log-entry): Don't use whitespace
25669 syntax class to search for whitespace on a single line
25670 (Message-ID: <4D938140.4030905@redhat.com>).
25671
25672 2011-03-30 Leo Liu <sdl.web@gmail.com>
25673
25674 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
25675 New commands.
25676 (edit-abbrevs-map): Bind them here.
25677 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
25678
25679 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
25680
25681 * allout.el (allout-hide-by-annotation, allout-flag-region):
25682 Reduce possibility of overlay leakage by making them volatile.
25683
25684 * allout-widgets.el (allout-widgets-tally): Define as nil so the
25685 hash is not shared between buffers. Mode initialization is
25686 responsible for giving it a useful starting value.
25687 (allout-item-span): Reduce possibility of overlay leakage by
25688 making them volatile.
25689 (allout-widgets-count-buttons-in-region): Add diagnostic function
25690 for tracking down button overlay leaks.
25691
25692 2011-03-29 Leo Liu <sdl.web@gmail.com>
25693
25694 * ido.el (ido-read-internal): Use the default history var
25695 minibuffer-history if no HISTORY is specified.
25696
25697 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
25698
25699 * net/imap.el (imap-shell-open, imap-process-connection-type):
25700 Use imap-process-connection-type for 'shell' streams as well as
25701 Kerberos, SSL, other subprocesses.
25702
25703 2011-03-28 Leo Liu <sdl.web@gmail.com>
25704
25705 * abbrev.el (abbrev-table-empty-p): New function.
25706 (prepare-abbrev-list-buffer): Place empty abbrev tables after
25707 nonempty ones. (Bug#5937)
25708
25709 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
25710
25711 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
25712
25713 2011-03-27 Leo Liu <sdl.web@gmail.com>
25714
25715 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
25716 for foreground and background colors.
25717 (ansi-color-make-color-map): Adapt.
25718
25719 2011-03-25 Leo Liu <sdl.web@gmail.com>
25720
25721 * midnight.el (midnight-time-float): Remove. Note it calculates
25722 the microsecond component incorrectly and seconds-to-time does the
25723 same job.
25724 Remove redundant (require 'timer).
25725
25726 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
25727 (ido-completions): Remove unused arguments. (Bug#8329)
25728
25729 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
25730
25731 * minibuffer.el (completion--flush-all-sorted-completions):
25732 Remove itself from hook.
25733 (completion-at-point): Let the functions perform the completion
25734 immediately and return nil or t.
25735 * comint.el (comint-dynamic-complete-functions): Now identical to
25736 completion-at-point-functions.
25737 (comint-dynamic-list-input-ring): Remove unused var `index'.
25738 (comint--match-partial-filename, comint--unquote&expand-filename):
25739 New funs, split from comint-match-partial-filename.
25740 (comint-dynamic-complete): Use completion-at-point.
25741 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
25742
25743 2011-03-24 Drew Adams <drew.adams@oracle.com>
25744
25745 * thingatpt.el: Support `defun'.
25746
25747 2011-03-23 Leo Liu <sdl.web@gmail.com>
25748
25749 * abbrevlist.el: Move to obsolete/abbrevlist.el.
25750
25751 * help-mode.el (help-mode-finish): Tweak regexp.
25752
25753 2011-03-23 Glenn Morris <rgm@gnu.org>
25754
25755 * eshell/esh-opt.el (eshell-eval-using-options):
25756 Do not bind unused local variable `eshell-option-stub'.
25757
25758 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
25759
25760 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
25761
25762 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
25763 keymap variable in `with-no-warnings' to avoid a warning when the
25764 keymap has been already `defconst'ed.
25765
25766 2011-03-22 Leo Liu <sdl.web@gmail.com>
25767
25768 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
25769 encode all chars in abbrevs; otherwise use emacs-mule or
25770 utf-8-emacs. (Bug#8308)
25771
25772 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
25773
25774 * simple.el (backward-delete-char-untabify):
25775 Avoid warning about using `delete-backward-char'.
25776
25777 * image.el (image-type-file-name-regexps): Make it variable.
25778 `imagemagick-register-types' modifies it, and the user may want
25779 to add new extensions for known image types.
25780 (imagemagick-register-types): Throw error if not using ImageMagick.
25781
25782 2011-03-22 Leo Liu <sdl.web@gmail.com>
25783
25784 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
25785 located before rcirc-prompt-end-marker.
25786 (rcirc-complete): Error if point is not after rcirc prompt.
25787 Handle the case when table is nil.
25788 (rcirc-user-authenticated): Define to fix compiler warning.
25789
25790 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
25791
25792 * custom.el (custom--inhibit-theme-enable): Make it affect only
25793 custom-theme-set-variables and custom-theme-set-faces.
25794 (provide-theme): Ignore custom--inhibit-theme-enable.
25795 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
25796 (custom-enabling-themes): Delete variable.
25797 (enable-theme): Accept only loaded themes as arguments.
25798 Ignore the special custom-enabled-themes variable.
25799 (custom-enabled-themes): Forbid themes from setting this.
25800 Eliminate use of custom-enabling-themes.
25801 (custom-push-theme): Quote "changed" custom var entry.
25802
25803 2011-03-21 Leo Liu <sdl.web@gmail.com>
25804
25805 * ido.el (ido-read-internal): Add ido-selected to history instead
25806 of user input.
25807
25808 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
25809
25810 * subr.el (deferred-action-list, deferred-action-function):
25811 Mark obsolete.
25812
25813 2011-03-21 Leo Liu <sdl.web@gmail.com>
25814
25815 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
25816 change on 2011-02-13 (bug#8309).
25817
25818 * minibuffer.el (read-file-name-function): Change default value.
25819 (read-file-name--defaults): Rename from read-file-name-defaults.
25820 (read-file-name-default): Rename from read-file-name.
25821 (read-file-name): Call read-file-name-function.
25822
25823 2011-03-21 Glenn Morris <rgm@gnu.org>
25824
25825 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
25826 Doc fixes.
25827
25828 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
25829
25830 * cus-theme.el: Add missing provide statement.
25831 (customize-create-theme): Extract theme value correctly.
25832 (custom-theme-visit-theme): Autoload.
25833 (customize-create-theme): Prompt before inserting default faces.
25834
25835 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
25836
25837 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
25838 units and musical notes.
25839
25840 2011-03-20 Leo Liu <sdl.web@gmail.com>
25841
25842 * ido.el (ido-read-internal): Use completing-read-default.
25843 (ido-completing-read): Fix compatibility with completing-read.
25844
25845 2011-03-20 Christian Ohler <ohler@gnu.org>
25846
25847 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
25848 (ert-delete-all-tests): Use `called-interactively-p' rather than
25849 `interactive-p'.
25850 (ert--make-xrefs-region): Respect END.
25851
25852 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
25853
25854 * dired-aux.el (dired-create-directory): Signal an error if the
25855 directory already exists (Bug#8246).
25856
25857 * facemenu.el (list-colors-display): Call list-faces-display
25858 inside with-help-window.
25859 (list-colors-print): Use display property to align the final
25860 column, instead of checking window-width.
25861
25862 2011-03-19 Eli Zaretskii <eliz@gnu.org>
25863
25864 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
25865 windows-nt systems.
25866 (emerge-protect-metachars): Quote correctly for ms-dos and
25867 windows-nt systems.
25868
25869 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
25870
25871 * info.el (info-initialize): Replace all uses of `:' with
25872 path-separator for compatibility with non-Unix systems.
25873 Cache quoting of path-separator. (Bug#8258)
25874
25875 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
25876
25877 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
25878 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
25879 (mouse-avoidance-mode): Fix typos in docstrings.
25880
25881 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
25882
25883 * startup.el (package-subdirectory-regexp): Move from package.el.
25884 Omit \\` and \\', and let callers add them.
25885
25886 * emacs-lisp/package.el (package-strip-version)
25887 (package-load-all-descriptors): Add \\` and \\' to
25888 package-subdirectory-regexp before using it.
25889 (package-untar-buffer): New arg DIR; ensure that file untars only
25890 into this expected directory. Remove superfluous delete-region.
25891 (package-unpack): Caller changed.
25892 (package-tar-file-info): Use package-subdirectory-regexp.
25893
25894 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
25895
25896 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
25897 diff-mode-shared-map (bug#8284).
25898 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
25899
25900 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
25901
25902 * calendar/time-date.el (format-seconds): Use assoc instead of
25903 assoc-string, since assoc-string doesn't exist in XEmacs.
25904
25905 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
25906
25907 * custom.el (custom-known-themes): Reflow docstring.
25908 (custom-theme-load-path): Fix typo in docstring.
25909 (load-theme): Fix typo in error message.
25910 (custom-available-themes, custom-variable-theme-value):
25911 Use `let', not `let*'.
25912
25913 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
25914
25915 * calc/README: Mention inclusion of musical notes.
25916
25917 * calc/calc-units.el (calc-lu-quant): Rename from
25918 `calc-logunits-quantity'.
25919 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
25920 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
25921 (calc-db): Rename from `calc-dblevel'.
25922 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
25923 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
25924 (calc-np): Rename from `calc-nplevel'.
25925 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
25926 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
25927 (calc-lu-plus): Rename from `calc-logunits-add'.
25928 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
25929 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
25930 (calc-lu-minus): Rename from `calc-logunits-sub'.
25931 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
25932 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
25933 (calc-lu-times): Rename from `calc-logunits-mul'.
25934 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
25935 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
25936 (calc-lu-divide): Rename from `calc-logunits-div'.
25937 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
25938 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
25939
25940 * calc/calc-ext.el (calc-init-extensions): Update the names of the
25941 functions being autoloaded.
25942
25943 * calc/calc.el (calc-lu-power-reference): Rename from
25944 `calc-logunits-power-reference'.
25945 (calc-lu-field-reference): Rename from
25946 `calc-logunits-field-reference'.
25947
25948 * calc/calc-help.el (calc-l-prefix-help):
25949 Mention musical note functions.
25950
25951 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
25952
25953 * minibuffer.el (completion-all-sorted-completions):
25954 Use :completion-cycle-penalty text property if present.
25955
25956 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
25957
25958 * allout.el (allout-yank-processing): Adjust for new rebulleting
25959 regime so bullet being yanked is used without prompting the user
25960 for a choice.
25961
25962 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
25963
25964 * startup.el (command-line): Warn the user that _emacs is deprecated.
25965
25966 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
25967
25968 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
25969 (delphi-verbose, delphi-comment-face, delphi-string-face)
25970 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
25971 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
25972 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
25973 (delphi-new-comment-line, delphi-font-lock-defaults)
25974 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
25975 Fix typos in docstrings.
25976
25977 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
25978
25979 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
25980 Invert the roles of character and string values for INSTEAD, so a
25981 string is used for the more common case of a defaulting prompt.
25982
25983 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
25984
25985 * progmodes/ruby-mode.el (ruby-backward-sexp):
25986 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
25987 * play/gamegrid.el (gamegrid-make-face):
25988 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
25989 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
25990 * notifications.el (notifications-notify):
25991 * net/xesam.el (xesam-search-engines):
25992 * net/quickurl.el (quickurl-list-insert):
25993 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
25994
25995 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
25996
25997 * startup.el (command-line): Update package subdirectory regexp.
25998
25999 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
26000
26001 * allout.el (allout-abbreviate-flattened-numbering)
26002 (allout-mode-deactivate-hook): Fix up obsolescence "date".
26003
26004 * subr.el (read-char-choice): Only show the cursor after the prompt,
26005 not after the answer.
26006
26007 2011-03-15 Kevin Ryde <user42@zip.com.au>
26008
26009 * help-fns.el (variable-at-point): Skip leading quotes, if any
26010 (bug#8253).
26011
26012 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
26013
26014 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
26015 warning message.
26016
26017 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
26018
26019 * shell.el (shell): When called interactively, offer to change the
26020 shell file name on remote hosts.
26021
26022 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
26023
26024 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
26025 integration for LDAP parameters. The host, base, user or binddn,
26026 and secret tokens can be specified in a netrc file, for instance.
26027 This is optional because an `auth-source' parameter must be
26028 specified in the search attributes.
26029
26030 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
26031
26032 * help.el (describe-mode): Link to the mode's definition (bug#8185).
26033
26034 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
26035
26036 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
26037 into declaration. Remove redundant and harmful binding.
26038
26039 2011-03-12 Eli Zaretskii <eliz@gnu.org>
26040
26041 * files.el (file-ownership-preserved-p): Pass `integer' as an
26042 explicit 2nd argument to `file-attributes'. If the file's owner
26043 is the Administrators group on Windows, and the current user is
26044 Administrator, consider that a match.
26045
26046 * server.el (server-ensure-safe-dir): Consider server directory
26047 safe on MS-Windows if its owner is the Administrators group while
26048 the current Emacs user is Administrator. Use `=' to compare
26049 numerical UIDs, since they could be integers or floats.
26050
26051 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
26052
26053 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
26054
26055 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
26056
26057 Sync with Tramp 2.2.1.
26058
26059 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
26060
26061 * net/trampver.el: Update release number.
26062
26063 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
26064
26065 * progmodes/compile.el (compilation--previous-directory): Fix up
26066 various nil/dead-marker mismatches (bug#8014).
26067 (compilation-directory-properties, compilation-error-properties):
26068 Don't call it at a position past the one we're about to change.
26069
26070 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
26071 Disable obsolescence warnings in the file that declares it.
26072
26073 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
26074
26075 * allout-widgets.el (allout-widgets-tally):
26076 Initialize allout-widgets-tally as a hash table rather than nil to
26077 prevent mode-line redisplay warnings. Also, clarify the module
26078 description and fix a comment typo.
26079
26080 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
26081
26082 * help-fns.el (describe-variable): Don't complete keywords.
26083 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
26084
26085 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
26086
26087 * emacs-lisp/package.el (package-version-join): Impose a standard
26088 string representation for pre/alpha/beta version lists.
26089 (package-unpack-single): Standardize the directory name by passing
26090 it through package-version-join.
26091 (package-strip-rcs-id): Accept any version string that does not
26092 signal an error in version-to-list.
26093
26094 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
26095
26096 * simple.el (delete-trailing-whitespace): Return nil for the
26097 benefit of `write-file-functions'.
26098
26099 2011-03-10 Glenn Morris <rgm@gnu.org>
26100
26101 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
26102
26103 * vc/vc-git.el (vc-git-program): New option.
26104 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
26105 (vc-git--call): Use it.
26106
26107 * eshell/esh-util.el (eshell-condition-case): Doc fix.
26108
26109 * cus-edit.el (Custom-newline): If no button at point, look
26110 for a subgroup button at start-of-line. (Bug#2298)
26111
26112 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
26113
26114 2011-03-10 Julien Danjou <julien@danjou.info>
26115
26116 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
26117 `cursor-type' is nil.
26118
26119 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
26120
26121 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
26122
26123 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
26124
26125 * allout.el: Change so yank of distinctive-bullet items
26126 preserves the existing header prefix, rebulleting it if necessary,
26127 rather than replacing it. This is necessary for proper operation
26128 of cooperative addons like allout-widgets.
26129 (allout-make-topic-prefix, allout-rebullet-heading):
26130 Change SOLICIT arg to INSTEAD, and interpret additionally a string
26131 value as alternate bullet to be used, instead of prompting the user
26132 for a bullet character.
26133
26134 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
26135
26136 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
26137 Do not use `tramp-file-name-port', because this returns also
26138 `tramp-default-port'.
26139
26140 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
26141
26142 * net/rcirc.el (rcirc-handler-001): Remove useless
26143 with-rcirc-process-buffer.
26144 (rcirc-check-auth-status): Swap arguments to string-match.
26145
26146 2011-03-09 Glenn Morris <rgm@gnu.org>
26147
26148 * shell.el (shell-mode):
26149 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
26150
26151 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
26152 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
26153
26154 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
26155
26156 * emacs-lisp/package.el (package-refresh-contents)
26157 (package-menu-execute): Use condition-case-no-debug.
26158
26159 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
26160
26161 * simple.el (shell-command-to-string): Use `process-file'.
26162
26163 * emacs-lisp/package.el (package-tar-file-info): Handle also
26164 remote files.
26165
26166 * emacs-lisp/package-x.el (package-upload-buffer-internal):
26167 Use `equal' for upload base check.
26168
26169 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
26170
26171 * textmodes/texinfo.el (texinfo-environments):
26172 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
26173
26174 2011-03-08 Glenn Morris <rgm@gnu.org>
26175
26176 * cus-start.el (cursor-in-non-selected-windows):
26177 Fix :set quoting oddness. (Bug#8192)
26178
26179 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
26180 in some setf expressions. (Bug#2159)
26181
26182 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
26183
26184 * custom.el (custom-available-themes): Return themes in
26185 alphabetical order.
26186
26187 See ChangeLog.15 for earlier changes.
26188
26189 ;; Local Variables:
26190 ;; coding: utf-8
26191 ;; End:
26192
26193 Copyright (C) 2011-2013 Free Software Foundation, Inc.
26194
26195 This file is part of GNU Emacs.
26196
26197 GNU Emacs is free software: you can redistribute it and/or modify
26198 it under the terms of the GNU General Public License as published by
26199 the Free Software Foundation, either version 3 of the License, or
26200 (at your option) any later version.
26201
26202 GNU Emacs is distributed in the hope that it will be useful,
26203 but WITHOUT ANY WARRANTY; without even the implied warranty of
26204 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
26205 GNU General Public License for more details.
26206
26207 You should have received a copy of the GNU General Public License
26208 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.