* lisp/jit-lock.el: Fix signals in jit-lock-force-redisplay.
[bpt/emacs.git] / lisp / ChangeLog
1 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * jit-lock.el: Fix signals in jit-lock-force-redisplay.
4 Use lexical-binding.
5 (jit-lock-force-redisplay): Use markers, check buffer's continued
6 existence and beware narrowed buffers.
7 (jit-lock-fontify-now): Adjust call accordingly.
8
9 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
10
11 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
12 to avoid misleading the user.
13
14 2013-04-22 Leo Liu <sdl.web@gmail.com>
15
16 * info-look.el: Prefer latex2e.info. (Bug#14240)
17
18 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
19
20 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
21
22 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
23 * net/tramp.el (tramp-call-process): ... here
24 (tramp-set-completion-function, tramp-parse-putty):
25 * net/tramp-adb.el (tramp-adb-execute-adb-command):
26 * net/tramp-gvfs.el (tramp-gvfs-send-command):
27 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
28 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
29 (tramp-call-local-coding-command): Use `tramp-call-process'
30 instead of `tramp-compat-call-process'.
31
32 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
33 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
34 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
35 (tramp-find-inline-compress):Improve traces.
36 (tramp-maybe-send-script): Check for Perl binary.
37 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
38
39 2013-04-22 Daiki Ueno <ueno@gnu.org>
40
41 * epg.el (epg-context-pinentry-mode): New function.
42 (epg-context-set-pinentry-mode): New function.
43 (epg--start): Pass --pinentry-mode option to gpg command.
44
45 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
46
47 * comint.el: (comint-dynamic-complete-functions, comint-mode-map):
48 `comint-dynamic-complete' is obsolete since 24.1, replaced by
49 `completion-at-point'. (Bug#13774)
50
51 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
52 default key binding for `describe-distribution' has been moved to
53 `C-h C-o'. (Bug#13970)
54
55 2013-04-21 Glenn Morris <rgm@gnu.org>
56
57 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
58 Add doc strings.
59 (vc-print-log): Clarify interactive prompt.
60
61 2013-04-20 Glenn Morris <rgm@gnu.org>
62
63 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
64 No longer include timestamp etc information.
65
66 2013-04-20 Roland Winkler <winkler@gnu.org>
67
68 * faces.el (read-face-name): Bug fix, return just one face if arg
69 multiple is nil. (Bug#14209)
70
71 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
72
73 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
74 (remove-function): Autoload.
75
76 * comint.el (comint-redirect-original-filter-function): Remove.
77 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
78 * vc/vc-cvs.el (vc-cvs-annotate-process-filter,vc-cvs-annotate-command):
79 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
80 * progmodes/prolog.el (prolog-consult-compile):
81 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
82 Use add/remove-function instead.
83 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
84 (gud-tooltip-process-output, gud-tooltip-tips):
85 Use add/remove-function instead.
86 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
87 (scheme-interaction-mode, exit-scheme-interaction-mode):
88 Use add/remove-function instead.
89
90 * vc/vc-dispatcher.el: Use lexical-binding.
91 (vc--process-sentinel): Rename from vc-process-sentinel.
92 Change last arg to be the code to run. Don't use vc-previous-sentinel
93 and vc-sentinel-commands any more.
94 (vc-exec-after): Allow code to be a function. Use add/remove-function.
95 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
96
97 2013-04-19 Masatake YAMATO <yamato@redhat.com>
98
99 * progmodes/sh-script.el (sh-imenu-generic-expression):
100 Handle function names with a single character. (Bug#14111)
101
102 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
103
104 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
105 for subroutines defined in an eval (bug#14182).
106
107 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
108
109 * bookmark.el (bookmark-completing-read): Improve handling of empty
110 string (bug#14176).
111
112 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
113
114 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
115
116 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
117
118 New faster Imenu implementation (bug#14058).
119 * progmodes/python.el:
120 (python-imenu-prev-index-position):
121 (python-imenu-format-item-label-function)
122 (python-imenu-format-parent-item-label-function)
123 (python-imenu-format-parent-item-jump-label-function):
124 New vars.
125 (python-imenu-format-item-label)
126 (python-imenu-format-parent-item-label)
127 (python-imenu-format-parent-item-jump-label)
128 (python-imenu--put-parent, python-imenu--build-tree)
129 (python-imenu-create-index, python-imenu-create-flat-index)
130 (python-util-popn): New functions.
131 (python-mode): Set imenu-create-index-function to
132 python-imenu-create-index.
133
134 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
135
136 * winner.el (winner-active-region): Use region-active-p, activate-mark
137 and deactivate-mark (bug#14225).
138
139 * simple.el (deactivate-mark): Don't inline it.
140
141 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
142
143 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
144
145 2013-04-18 Tassilo Horn <tsdh@gnu.org>
146
147 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
148 file extensions from the archive-mode entry in order to prefer
149 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
150
151 2013-04-18 Leo Liu <sdl.web@gmail.com>
152
153 * bindings.el (help-event-list): Add ?\?.
154
155 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
156
157 * subr.el (with-wrapper-hook): Declare obsolete.
158 * simple.el (filter-buffer-substring-function): New hook.
159 (filter-buffer-substring): Use it.
160 (filter-buffer-substring-functions): Mark obsolete.
161 * minibuffer.el (completion-in-region-function): New hook.
162 (completion-in-region): Use it.
163 (completion-in-region-functions): Mark obsolete.
164 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
165 * abbrev.el (abbrev-expand-function): New hook.
166 (expand-abbrev): Use it.
167 (abbrev-expand-functions): Mark obsolete.
168 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
169 and :filter-return.
170
171 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
172
173 * progmodes/python.el (python-nav--syntactically): Fix cornercases
174 and do not care about match data.
175
176 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
177
178 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
179 completion tables when completing error conditions and
180 `declare' arguments.
181 (lisp-complete-symbol, field-complete): Mark as obsolete.
182 (check-parens): Unmatched parens are user errors.
183 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
184
185 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
186
187 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
188 command changed buffer (ie. `flyspell-pre-buffer' is not current
189 buffer), which prevents making decisions based on invalid value of
190 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
191 cause an error when `flyspell-pre-point' was nil after switching
192 buffers.
193 (flyspell-post-command-hook): No longer needs to change buffers when
194 checking pre-word. While at it remove unnecessary progn.
195
196 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
197
198 * textmodes/ispell.el (ispell-add-per-file-word-list):
199 Fix `flyspell-correct-word-before-point' error when accepting
200 words and `coment-padding' is an integer by using
201 `comment-normalize-vars' (Bug #14214).
202
203 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
204
205 New defun movement commands.
206 * progmodes/python.el (python-nav--syntactically)
207 (python-nav--forward-defun, python-nav-backward-defun)
208 (python-nav-forward-defun): New functions.
209
210 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
211
212 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
213 (python-syntax-context): Use named compiler-macro for backwards
214 compatibility with Emacs 24.x.
215
216 2013-04-17 Leo Liu <sdl.web@gmail.com>
217
218 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
219 octave-hide-process-buffer.
220
221 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
222
223 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
224 (bug#14216).
225
226 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
227
228 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
229 Fix adjustment of offset when receiving incomplete responses from GDB
230 (bug#14129).
231
232 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
233
234 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
235 python-mode-abbrev-table.
236 (python-skeleton-define): Adjust accordingly.
237 (python-mode-abbrev-table): New table that inherits from it so that
238 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
239
240 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
241 (abbrev-symbol): Use it.
242 (abbrev--before-point): Use it since we already handle inheritance.
243
244 2013-04-16 Leo Liu <sdl.web@gmail.com>
245
246 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
247 binding to info-lookup-symbol.
248
249 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
250
251 * minibuffer.el (completion--twq-all):
252 * term/ns-win.el (ns-initialize-window-system):
253 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
254
255 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
256
257 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
258 global bindings.
259
260 * doc-view.el (doc-view-start-process): Handle url-handler directories.
261
262 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
263
264 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
265 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
266 to nil.
267 (ruby-end-of-defun): Remove the unused arg, change the docstring
268 to reflect that this function is only used as the value of
269 `end-of-defun-function'.
270 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
271 to reflect an earlier change that beginning/end-of-defun functions
272 jump between methods in a class definition, as well as top-level
273 functions.
274
275 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
276
277 * minibuffer.el (minibuffer-complete): Don't just scroll
278 a *Completions* that's been iconified.
279 (minibuffer-force-complete): Make sure repetitions do cycle when going
280 through completion-in-region -> minibuffer-complete.
281
282 2013-04-15 Alan Mackenzie <acm@muc.de>
283
284 Correct the placement of c-cpp-delimiters when there're #s not at
285 col 0.
286
287 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
288 place a submatch around the #.
289 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
290 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
291 on the #, not BOL.
292
293 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
294
295 * emacs-lisp/nadvice.el: Properly test names when adding advice.
296 (advice--member-p): New arg `name'.
297 (advice--add-function, advice-member-p): Use it (bug#14202).
298
299 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
300
301 Reformulate java imenu-generic-expression.
302 The old expression contained ill formed regexps.
303
304 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
305 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
306 (cc-imenu-java-method-arg-regexp): New defconsts.
307 (cc-imenu-java-build-type-args-regex): New defun.
308 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
309 handling of spaces in the regexp.
310
311 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
312
313 * textmodes/ispell.el (ispell-command-loop): Remove
314 flyspell highlight of a word when ispell accepts it (bug #14178).
315
316 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
317
318 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
319 uses code from the previous `ange-ftp-run-real-handler'.
320 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
321 only in case that function exist. This is needed for proper
322 unloading of Tramp.
323
324 2013-04-15 Tassilo Horn <tsdh@gnu.org>
325
326 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
327
328 * textmodes/reftex.el (reftex-compile-variables): Use it.
329
330 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
331
332 * files.el (normal-mode): Only use default major-mode if no other mode
333 was specified.
334
335 * emacs-lisp/trace.el (trace-values): New function.
336
337 * files.el: Allow : in local variables (bug#14089).
338 (hack-local-variable-regexp): New var.
339 (hack-local-variables-prop-line, hack-local-variables): Use it.
340
341 2013-04-13 Roland Winkler <winkler@gnu.org>
342
343 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
344 data before it gets modified by bibtex-beginning-of-entry.
345
346 2013-04-13 Roland Winkler <winkler@gnu.org>
347
348 * textmodes/bibtex.el (bibtex-url): Doc fix.
349
350 2013-04-13 Roland Winkler <winkler@gnu.org>
351
352 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
353 does not visit a BibTeX file, exclude it from the list of buffers
354 returned by bibtex-initialize.
355
356 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
357
358 * window.el (split-window): Remove interactive form, since as a
359 command this function is a special case of split-window-below.
360 Correct doc string.
361
362 2013-04-12 Roland Winkler <winkler@gnu.org>
363
364 * faces.el (read-face-name): Do not override value of arg default.
365 Allow single faces and strings as default values. Remove those
366 elements from return value that are not faces.
367 (describe-face): Simplify.
368 (face-at-point): New optional args thing and multiple so that this
369 function can provide the same functionality previously provided by
370 read-face-name.
371 (make-face-bold, make-face-unbold, make-face-italic)
372 (make-face-unitalic, make-face-bold-italic, invert-face)
373 (modify-face, read-face-and-attribute): Use face-at-point.
374
375 * cus-edit.el (customize-face, customize-face-other-window)
376 * cus-theme.el (custom-theme-add-face)
377 * face-remap.el (buffer-face-set)
378 * facemenu.el (facemenu-set-face): Use face-at-point.
379
380 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
381
382 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
383
384 2013-04-10 Tassilo Horn <tsdh@gnu.org>
385
386 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
387 off leading { and trailing } from field values.
388
389 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
390
391 * emacs-lisp/timer.el (timer--check): New function.
392 (timer--time, timer-set-function, timer-event-handler): Use it.
393 (timer-set-idle-time): Simplify.
394 (timer--activate): CSE.
395 (timer-event-handler): Give more info in error message.
396 (internal-timer-start-idle): New function, moved from C.
397
398 * mpc.el (mpc-proc): Add `restart' argument.
399 (mpc-proc-cmd): Use it.
400 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
401 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
402 less often.
403
404 2013-04-10 Masatake YAMATO <yamato@redhat.com>
405
406 * progmodes/sh-script.el: Implement `sh-mode' own
407 `add-log-current-defun-function' (bug#14112).
408 (sh-current-defun-name): New function.
409 (sh-mode): Use the function.
410
411 2013-04-09 Bastien Guerry <bzg@gnu.org>
412
413 * simple.el (choose-completion-string): Fix docstring (bug#14163).
414
415 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
416
417 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
418
419 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
420 timer (bug#14156).
421
422 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
423
424 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
425 declaration.
426
427 2013-04-07 Leo Liu <sdl.web@gmail.com>
428
429 * pcmpl-x.el: New file.
430
431 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
432
433 Do not set x-display-name until X connection is established.
434 This is needed to prevent from weird situation described at
435 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
436 * frame.el (make-frame): Set x-display-name after call to
437 window system initialization function, not before.
438 * term/x-win.el (x-initialize-window-system): Add optional
439 display argument and use it.
440 * term/w32-win.el (w32-initialize-window-system):
441 * term/ns-win.el (ns-initialize-window-system):
442 * term/pc-win.el (msdos-initialize-window-system):
443 Add compatible optional display argument.
444
445 2013-04-06 Eli Zaretskii <eliz@gnu.org>
446
447 * files.el (normal-backup-enable-predicate): On MS-Windows and
448 MS-DOS compare truenames of temporary-file-directory and of the
449 file, so that 8+3 aliases (usually found in $TEMP on Windows)
450 don't fail comparison by compare-strings. Also, compare file
451 names case-insensitively on MS-Windows and MS-DOS.
452
453 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
454
455 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
456 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
457
458 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
459
460 * whitespace.el (whitespace-color-on, whitespace-color-off):
461 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
462
463 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
464
465 * ispell.el (ispell-set-spellchecker-params):
466 Really set `ispell-args' for all equivs.
467
468 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
469
470 * ido.el (ido-completions): Use extra elements of ido-decorations
471 (bug#14143).
472 (ido-decorations): Update docstring.
473
474 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
475
476 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
477 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
478 nil during initialization, in order not to miss changes since the
479 file was opened. (Bug#14140)
480
481 2013-04-05 Leo Liu <sdl.web@gmail.com>
482
483 * kmacro.el (kmacro-call-macro): Fix bug#14135.
484
485 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
486
487 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
488
489 2013-04-04 Glenn Morris <rgm@gnu.org>
490
491 * electric.el (electric-pair-inhibit-predicate): Add :version.
492
493 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
494
495 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
496 when a package is required several times (bug#14082).
497
498 2013-04-04 Roland Winkler <winkler@gnu.org>
499
500 * faces.el (read-face-name): Behave as promised by the docstring.
501 Assume that arg default is a list of faces.
502 (describe-face): Call read-face-name with list of default faces.
503
504 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
505
506 * bookmark.el: Fix deletion of bookmarks (bug#13972).
507 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
508 (bookmark-bmenu-execute-deletions): Only skip first line if it's
509 the header.
510 (bookmark-exit-hook-internal): Save even if list is empty.
511
512 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
513
514 * emacs-lisp/package.el (package-pinned-packages): New var.
515 (package--add-to-archive-contents): Obey it (bug#14118).
516
517 2013-04-03 Alan Mackenzie <acm@muc.de>
518
519 Handle `parse-partial-sexp' landing inside a comment opener
520 (Bug#13244). Also adapt to the new values of element 7 of a parse
521 state.
522
523 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
524 parameter `not-in-delimiter'. Handle being inside comment opener.
525 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
526 character in case we're typing a '*' after a '/'.
527 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
528 instead by passing the parameter to c-state-pp-to-literal.
529
530 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
531 for elt. 7 of a parse state.
532
533 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
534
535 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
536 * international/latin1-disp.el, international/mule-util.el:
537 * language/cyril-util.el, language/european.el, language/ind-util.el:
538 * language/lao-util.el, language/thai.el, language/tibet-util.el:
539 * language/tibetan.el, language/viet-util.el:
540 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
541
542 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
543
544 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
545 (electric-pair-post-self-insert-function): Use it.
546 (electric-pair-default-inhibit): New function, extracted from
547 electric-pair-post-self-insert-function.
548
549 2013-03-31 Roland Winkler <winkler@gnu.org>
550
551 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
552
553 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
554
555 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
556
557 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
558
559 Un-indent after "pass" and "return" statements (Bug#13888)
560 * progmodes/python.el (python-indent-block-enders): New var.
561 (python-indent-calculate-indentation): Use it.
562
563 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
564
565 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
566 defun. Defining it as defalias could introduce too eager
567 byte-compiler optimization. (Bug#14030)
568
569 2013-03-30 Chong Yidong <cyd@gnu.org>
570
571 * iswitchb.el (iswitchb-read-buffer): Fix typo.
572
573 2013-03-30 Leo Liu <sdl.web@gmail.com>
574
575 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
576 (kmacro-execute-from-register): Pass the keyboard macro to
577 kmacro-call-macro or repeating won't work correctly.
578
579 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
580
581 * progmodes/subword.el: Back to using `forward-symbol'.
582
583 * subr.el (forward-whitespace, forward-symbol)
584 (forward-same-syntax): Move from thingatpt.el.
585
586 2013-03-29 Leo Liu <sdl.web@gmail.com>
587
588 * kmacro.el (kmacro-to-register): New command.
589 (kmacro-execute-from-register): New function.
590 (kmacro-keymap): Bind to 'x'. (Bug#14071)
591
592 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
593
594 * mpc.el: Use defvar-local and setq-local.
595 (mpc--proc-connect): Connection failures are not bugs.
596 (mpc-mode-map): `follow-link' only applies to the buffer's content.
597 (mpc-volume-map): Bind to the up-events.
598
599 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
600
601 * progmodes/subword.el (superword-mode): Use `forward-sexp'
602 instead of `forward-symbol'.
603
604 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
605
606 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
607 (edebug--recursive-edit): Use it.
608 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
609 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
610
611 2013-03-28 Leo Liu <sdl.web@gmail.com>
612
613 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
614
615 2013-03-27 Eli Zaretskii <eliz@gnu.org>
616
617 * facemenu.el (list-colors-callback): New defvar.
618 (list-colors-redisplay): New function.
619 (list-colors-display): Install list-colors-redisplay as the
620 revert-buffer-function. (Bug#14063)
621
622 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
623
624 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
625 and suffixes don't overlap (bug#14061).
626
627 * case-table.el: Use lexical-binding.
628 (case-table-get-table): New function.
629 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
630
631 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
632
633 * progmodes/subword.el: Add `superword-mode' to do word motion
634 over symbol_words (parallels and leverages `subword-mode' which
635 does word motion inside MixedCaseWords).
636
637 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
638
639 * eshell/em-unix.el: Move su and sudo to...
640 * eshell/em-tramp.el: ...Eshell tramp module.
641
642 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
643
644 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
645 Change return value to be a sexp. Delay `get-buffer' to after
646 restoring the desktop (bug#13951).
647
648 2013-03-26 Leo Liu <sdl.web@gmail.com>
649
650 * register.el: Move semantic tag handling back to
651 cedet/semantic/senator.el. (Bug#14052)
652
653 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
654
655 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
656 into the prompt either (bug#13963).
657
658 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
659
660 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
661 part of "(error-foo)".
662
663 2013-03-24 Juri Linkov <juri@jurta.org>
664
665 * replace.el (list-matching-lines-prefix-face): New defcustom.
666 (occur-1): Pass `list-matching-lines-prefix-face' to the function
667 `occur-engine' if `face-differs-from-default-p' returns t.
668 (occur-engine): Add `,' inside backquote construct to evaluate
669 `prefix-face'. Propertize the prefix with the `prefix-face' face.
670 Pass `prefix-face' to the functions `occur-context-lines' and
671 `occur-engine-add-prefix'.
672 (occur-engine-add-prefix, occur-context-lines): Add optional arg
673 `prefix-face' and propertize the prefix with `prefix-face'.
674 (Bug#14017)
675
676 2013-03-24 Leo Liu <sdl.web@gmail.com>
677
678 * nxml/rng-valid.el (rng-validate-while-idle)
679 (rng-validate-quick-while-idle): Guard against deleted buffer.
680 (Bug#13999)
681
682 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
683 is the last entry in kill-buffer-hook.
684
685 * files.el (kill-buffer-hook): Doc fix.
686
687 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
688
689 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
690 Make it safe-local.
691
692 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
693
694 2013-03-23 Leo Liu <sdl.web@gmail.com>
695
696 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
697 Remove.
698
699 * nxml/rng-valid.el (rng-validate-mode)
700 (rng-after-change-function, rng-do-some-validation):
701 * nxml/rng-maint.el (rng-validate-buffer):
702 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
703 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
704 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
705 (nxml-extend-after-change-region): Use with-silent-modifications.
706
707 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
708 timer-idle-list.
709
710 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
711 (rng-next-error-1, rng-previous-error-1): Do not let-bind
712 timer-idle-list. (Bug#13999)
713
714 2013-03-23 Juri Linkov <juri@jurta.org>
715
716 * info.el (info-index-match): New face.
717 (Info-index, Info-apropos-matches): Add a nested subgroup to the
718 main pattern and add text properties with the new face to matches
719 in index entries relative to the beginning of the index entry.
720 (Bug#14015)
721
722 2013-03-21 Eric Ludlam <zappo@gnu.org>
723
724 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
725 Inhibit read only while inserting objects.
726
727 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
728
729 * progmodes/cfengine.el: Update docs to mention
730 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
731 symbol motion. Remove "_" from the word syntax.
732
733 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
734
735 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
736 syntax for both `cfengine2-mode' and `cfengine3-mode'.
737
738 2013-03-20 Juri Linkov <juri@jurta.org>
739
740 * info.el (Info-next-reference-or-link)
741 (Info-prev-reference-or-link): New functions.
742 (Info-next-reference, Info-prev-reference): Use them.
743 (Info-try-follow-nearest-node): Handle footnote navigation.
744 (Info-fontify-node): Fontify footnotes. (Bug#13989)
745
746 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
747
748 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
749 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
750
751 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
752
753 Suppress unnecessary non-ASCII chatter during build process.
754 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
755 (batch-skkdic-convert): Suppress most of the chatter.
756 It's not needed so much now that machines are faster,
757 and its non-ASCII component was confusing; see Dmitry Gutov in
758 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
759
760 2013-03-20 Leo Liu <sdl.web@gmail.com>
761
762 * ido.el (ido-chop): Fix bug#10994.
763
764 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
765
766 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
767 Remove vars.
768 (whitespace-color-on, whitespace-color-off):
769 Use `font-lock-fontify-buffer' (Bug#13817).
770
771 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
772
773 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
774 remapping in mode-line.
775 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
776
777 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
778
779 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
780 value for `whitespace-line' face (Bug#13875).
781 (whitespace-font-lock-keywords): Change description.
782 (whitespace-color-on): Don't save `font-lock-keywords' value, save
783 the constructed keywords instead.
784 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
785
786 2013-03-19 Leo Liu <sdl.web@gmail.com>
787
788 * progmodes/compile.el (compilation-display-error): New command.
789 (compilation-mode-map, compilation-minor-mode-map): Bind it to
790 C-o. (Bug#13992)
791
792 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
793
794 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
795
796 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
797
798 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
799
800 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
801
802 * net/tramp-compat.el (tramp-compat-user-error): New defun.
803
804 * net/tramp-adb.el (tramp-adb-handle-shell-command):
805 * net/tramp-gvfs.el (top):
806 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
807 (tramp-handle-shell-command): Use it.
808 (tramp-dissect-file-name): Raise an error when hostname is a
809 method name, and neither method nor user is specified.
810
811 * net/trampver.el: Update release number.
812
813 2013-03-18 Leo Liu <sdl.web@gmail.com>
814
815 Make sure eldoc can be turned off properly.
816 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
817 eldoc-mode.
818 (eldoc-display-message-p): Revert last change.
819 (eldoc-display-message-no-interference-p)
820 (eldoc-print-current-symbol-info): Tweak.
821
822 2013-03-18 Tassilo Horn <tsdh@gnu.org>
823
824 * doc-view.el (doc-view-new-window-function): Check the new window
825 overlay's display property instead the char property of the
826 buffer's first char. Use `with-selected-window' instead of
827 `save-window-excursion' with `select-window'.
828 (doc-view-document->bitmap): Check the current doc-view overlay's
829 display property instead the char property of the buffer's first char.
830
831 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
832
833 Automate the build of ja-dic.el (Bug#13984).
834 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
835 from the input, rather than assume that it's been done for us by the
836 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
837 the current date into a ja-dic.el comment, as that complicates
838 regression testing.
839
840 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
841
842 * whitespace.el: Fix double evaluation.
843 (whitespace-space, whitespace-hspace, whitespace-tab)
844 (whitespace-newline, whitespace-trailing, whitespace-line)
845 (whitespace-space-before-tab, whitespace-indentation)
846 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
847 obsolete defvars.
848 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
849 (whitespace-color-on): Use a single font-lock-add-keywords call.
850 Fix double-evaluation of face variables.
851
852 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
853
854 * net/tramp-adb.el (tramp-adb-parse-device-names):
855 Use `start-process' instead of `call-process'. Otherwise, the
856 function might be blocked under MS Windows. (Bug#13299)
857
858 2013-03-17 Leo Liu <sdl.web@gmail.com>
859
860 Extend eldoc to display info in the mode-line. (Bug#13978)
861 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
862 (eldoc-mode-line-string): New variable.
863 (eldoc-minibuffer-message): New function.
864 (eldoc-message-function): New variable.
865 (eldoc-message): Use it.
866 (eldoc-display-message-p)
867 (eldoc-display-message-no-interference-p):
868 Support eldoc-post-insert-mode.
869
870 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
871 (eval-expression): Run it.
872
873 2013-03-17 Roland Winkler <winkler@gnu.org>
874
875 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
876 strings in the list of return values.
877
878 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
879
880 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
881 radix before checking for HMS forms.
882
883 2013-03-16 Leo Liu <sdl.web@gmail.com>
884
885 * progmodes/scheme.el: Add indentation and font-locking for λ.
886 (Bug#13975)
887
888 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
889
890 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
891 token before point (bug#13942).
892
893 2013-03-16 Leo Liu <sdl.web@gmail.com>
894
895 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
896
897 2013-03-16 Eli Zaretskii <eliz@gnu.org>
898
899 * startup.el (command-line-normalize-file-name): Fix handling of
900 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
901 <xfq.free@gmail.com> in
902 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
903
904 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
905
906 Sync with Tramp 2.2.7.
907
908 * net/trampver.el: Update release number.
909
910 2013-03-14 Tassilo Horn <tsdh@gnu.org>
911
912 * doc-view.el Fix bug#13887.
913 (doc-view-insert-image): Don't modify overlay associated to
914 non-live windows, and implement horizontal centering of image in
915 case it's smaller than the window.
916 (doc-view-new-window-function): Force redisplay of new windows on
917 doc-view buffers.
918
919 2013-03-13 Karl Fogel <kfogel@red-bean.com>
920
921 * saveplace.el (save-place-alist-to-file): Don't sort
922 `save-place-alist', just pretty-print it (bug#13882).
923
924 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
925
926 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Check,
927 whether `default-file-name-coding-system' is bound. It isn't in
928 XEmacs.
929
930 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
931
932 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
933 backquotes for `obsolete' (bug#13929).
934
935 * international/mule.el (find-auto-coding): Include file name in
936 obsolescence warning (bug#13922).
937
938 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
939
940 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
941 for CFEngine 3-specific indentation.
942 (cfengine3-indent-line): Use it. Fix up category regex.
943 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
944
945 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
946
947 * type-break.el (type-break-file-name):
948 * textmodes/remember.el (remember-data-file):
949 * strokes.el (strokes-file):
950 * shadowfile.el (shadow-initialize):
951 * saveplace.el (save-place-file):
952 * ps-bdf.el (bdf-cache-file):
953 * progmodes/idlwave.el (idlwave-config-directory):
954 * net/quickurl.el (quickurl-url-file):
955 * international/kkc.el (kkc-init-file-name):
956 * ido.el (ido-save-directory-list-file):
957 * emulation/viper.el (viper-custom-file-name):
958 * emulation/vip.el (vip-startup-file):
959 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
960 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
961
962 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
963
964 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
965 * language/thai-word.el: Switch to UTF-8.
966
967 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
968
969 * recentf.el (recentf-save-file): Use locate-user-emacs-file (bug#13870).
970
971 2013-03-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
972
973 * net/net-utils.el (net-utils-remove-ctrl-m-filter):
974 Use with-current-buffer and don't move point.
975 (net-utils-run-simple): Remove useless code.
976 (net-utils-remove-ctl-m): Remove unused custom.
977
978 2013-03-11 Per Starbäck <starback@stp.lingfil.uu.se>
979
980 * international/characters.el (glyphless-set-char-table-range): New fun.
981 (update-glyphless-char-display): Use it (bug#13744).
982
983 2013-03-11 Teodor Zlatanov <tzz@lifelogs.com>
984
985 * progmodes/cfengine.el: Update for CFEngine 3.4.2 and higher:
986 namespaces in the syntax, indent closer for hanging brace
987 correctly, allow single-quote delimited 'strings', and make
988 `cfengine3-mode' the default.
989
990 2013-03-11 Jean-Philippe Gravel <jpgravel@gmail.com>
991
992 * progmodes/gdb-mi.el: Speed up initialization (bug#10580).
993 Use lexical-binding. Fix up docstring according to conventions.
994 (gdbmi-debug-mode): New var.
995 (gdbmi-start-with, gdbmi-same-start, gdbmi-is-number, gdbmi-bnf-init)
996 (gdbmi-bnf-output, gdbmi-bnf-skip-unrecognized, gdbmi-bnf-gdb-prompt)
997 (gdbmi-bnf-result-record, gdbmi-bnf-out-of-band-record)
998 (gdbmi-bnf-async-record, gdbmi-bnf-stream-record)
999 (gdbmi-bnf-console-stream-output, gdbmi-bnf-target-stream-output)
1000 (gdbmi-bnf-log-stream-output, gdbmi-bnf-result-and-async-record-impl)
1001 (gdbmi-bnf-incomplete-record-result): New functions.
1002 (gdb-car<): Remove function.
1003 (gdbmi-record-list): Remove variable.
1004 (gdbmi-bnf-state, gdbmi-bnf-offset): New vars.
1005 (gdbmi-bnf-result-state-configs): New const.
1006 (gud-gdbmi-marker-filter): Rewrite.
1007 (gdb-ignored-notification, gdb-thread-created, gdb-thread-exited)
1008 (gdb-thread-selected, gdb-running, gdb-starting, gdb-stopped):
1009 Add `token' argument.
1010 (gdb-done, gdb-error): New functions.
1011 (gdb-done-or-error): Add `is-complete' argument. Change arg order.
1012
1013 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
1014
1015 * term/xterm.el (xterm--report-background-handler): Don't burp
1016 upon timeout.
1017 (xterm--version-handler): Extract from terminal-init-xterm.
1018 (xterm--query): Don't mishandle timeout. Remove debugging messages.
1019 Allow multiple handlers.
1020 (terminal-init-xterm): Handle OSX's Terminal.app's incorrect answer.
1021
1022 * term/xterm.el: Don't discard input (bug#6758). Use lexical-binding.
1023 (xterm--report-background-handler, xterm--query): New functions.
1024 (terminal-init-xterm): Use them.
1025
1026 2013-03-11 Michael R. Mauger <michael@mauger.com>
1027
1028 * progmodes/sql.el Version 3.2
1029 Please note that my address changed to <michael@mauger.com>;
1030 the <mmaug@yahoo.com> address remains active.
1031 (sql-connection-alist): Updates documentation to fix bug#13715.
1032 (sql-connect): Handle missing `sql-connection-alist' correctly.
1033 (sql-mode-oracle-font-lock-keywords): Add missing keywords.
1034 (sql-magic-go, sql-magic-semicolon): Mark with `delete-selection'
1035 property.
1036 (sql-default-value): New function.
1037 (sql-get-login-ext, sql-get-login): Fixes bug where buffer-local
1038 values were not used.
1039 (sql-rename-buffer): Make sure alternate buffer name has no text
1040 properties.
1041 (sql-input-sender, sql-execute-feature): Fetch variable with
1042 `buffer-local-value' rather than `with-current-buffer'.
1043 (sql-*): Use #' function syntax consistently.
1044 (sql-*): Use message/error/user-error consistently.
1045
1046 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
1047
1048 * xt-mouse.el (xterm-mouse-event-read): Remove.
1049 (xterm-mouse--read-event-sequence-1000)
1050 (xterm-mouse--read-event-sequence-1006): Use read-event instead.
1051
1052 2013-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
1053
1054 * term/xterm.el (xterm-function-map): Support format used with
1055 formatOtherKeys=1 (bug#13839).
1056
1057 * emacs-lisp/byte-run.el (dont-compile): Declare obsolete.
1058 (with-no-warnings): Use `declare'.
1059
1060 * whitespace.el (whitespace-enable-predicate): New variable.
1061 (whitespace-enable-predicate): Use it.
1062
1063 * comint.el (comint-send-input, comint-snapshot-last-prompt)
1064 (comint-output-filter, comint-update-fence):
1065 Use with-silent-modifications.
1066
1067 2013-03-10 Jambunathan K <kjambunathan@gmail.com>
1068
1069 * replace.el (occur-read-regexp-defaults-function): New var.
1070 (occur-read-regexp-defaults): New defun.
1071 (occur-read-primary-args): Propagate above change (bug#13892).
1072
1073 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
1074
1075 * mouse.el (mouse-drag-track): Remove left-over debugging code.
1076
1077 2013-03-09 Michael Albinus <michael.albinus@gmx.de>
1078
1079 Major rewrite due to changed D-Bus interface of GVFS 1.14.
1080
1081 * net/tramp-gvfs.el (top): Extend check for gvfs availability.
1082 (tramp-gvfs-methods-mounttracker, tramp-gvfs-listmounts)
1083 (tramp-gvfs-mountlocation, tramp-gvfs-mountlocation-signature):
1084 New defconst.
1085 (tramp-gvfs-file-name-handler-alist) [directory-files]
1086 [directory-files-and-attributes, file-exists-p, file-modes]:
1087 Use Tramp default handler.
1088 [file-acl, file-selinux-context, process-file, set-file-acl]:
1089 [set-file-modes, set-file-selinux-context, shell-command]:
1090 [start-file-process]: Remove handler.
1091 [verify-visited-file-modtime]: New handler.
1092 (tramp-gvfs-dbus-string-to-byte-array)
1093 (tramp-gvfs-dbus-byte-array-to-string): New defuns. Replace all
1094 calls of `dbus-string-to-byte-array' and
1095 `tramp-gvfs-dbus-byte-array-to-string'.
1096 (tramp-gvfs-handle-copy-file)
1097 (tramp-gvfs-handle-delete-directory)
1098 (tramp-gvfs-handle-delete-file, tramp-gvfs-handle-file-attributes)
1099 (tramp-gvfs-handle-file-directory-p)
1100 (tramp-gvfs-handle-file-executable-p)
1101 (tramp-gvfs-handle-file-name-all-completions)
1102 (tramp-gvfs-handle-file-readable-p)
1103 (tramp-gvfs-handle-file-writable-p)
1104 (tramp-gvfs-handle-insert-directory)
1105 (tramp-gvfs-handle-insert-file-contents)
1106 (tramp-gvfs-handle-make-directory, tramp-gvfs-handle-rename-file)
1107 (tramp-gvfs-handle-set-visited-file-modtime)
1108 (tramp-gvfs-handle-write-region): Rewrite.
1109 (tramp-gvfs-handle-file-acl)
1110 (tramp-gvfs-handle-file-selinux-context)
1111 (tramp-gvfs-handle-process-file, tramp-gvfs-handle-set-file-acl)
1112 (tramp-gvfs-handle-set-file-modes)
1113 (tramp-gvfs-handle-set-file-selinux-context)
1114 (tramp-gvfs-handle-shell-command)
1115 (tramp-gvfs-handle-start-file-process)
1116 (tramp-gvfs-handle-verify-visited-file-modtime): Remove defuns.
1117 (tramp-gvfs-url-file-name): Do not use `file-truename', we work
1118 over the symlinks. Fix user handling.
1119 (top, tramp-gvfs-handler-mounted-unmounted): Handle different names
1120 of the D-Bus signals.
1121 (tramp-gvfs-connection-mounted-p): Handle different names of the
1122 D-Bus methods.
1123 (tramp-gvfs-mount-spec-entry): New defun.
1124 (tramp-gvfs-mount-spec): Use it.
1125 (tramp-gvfs-maybe-open-connection): Check, that in case of "smb"
1126 there is a share name. Handle different names of the D-Bus
1127 signals and methods. Set connection properties needed for
1128 `tramp-check-cached-permissions'.
1129 (tramp-gvfs-send-command): Apply `tramp-gvfs-maybe-open-connection'.
1130 Return t or nil.
1131
1132 * net/tramp.el (tramp-backtrace): Move up.
1133 (tramp-error): Dump a backtrace into the debug buffer when
1134 `tramp-verbose > 9.
1135 (tramp-file-mode-type-map, tramp-file-mode-from-int)
1136 (tramp-file-mode-permissions, tramp-get-local-uid)
1137 (tramp-get-local-gid, tramp-check-cached-permissions): Move from
1138 tramp-sh.el.
1139
1140 * net/tramp-sh.el (tramp-file-mode-type-map)
1141 (tramp-check-cached-permissions, tramp-file-mode-from-int)
1142 (tramp-file-mode-permissions, tramp-get-local-uid)
1143 (tramp-get-local-gid): Move to tramp.el.
1144
1145 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
1146
1147 Separate mouse-1-click-follows-link from mouse-drag-region.
1148 * mouse.el (mouse--down-1-maybe-follows-link): New function.
1149 (key-translation-map): Use it to implement mouse-1-click-follows-link.
1150 (mouse-drag-line, mouse-drag-track):
1151 Remove mouse-1-click-follows-link code.
1152 (mouse--remap-link-click-p): Remove.
1153
1154 2013-03-08 Jambunathan K <kjambunathan@gmail.com>
1155
1156 * hi-lock.el (hi-lock-read-regexp-defaults-function): New var.
1157 (hi-lock-read-regexp-defaults): New defun.
1158 (hi-lock-line-face-buffer, hi-lock-face-buffer)
1159 (hi-lock-face-phrase-buffer): Propagate above change.
1160 Update docstring (bug#13892).
1161
1162 * subr.el (find-tag-default-as-regexp): New defun.
1163 * replace.el (read-regexp): Propagate above change.
1164
1165 2013-03-08 Jay Belanger <jay.p.belanger@gmail.com>
1166
1167 * calc/calc-units.el (calc-convert-units): Fix the way that default
1168 new units are stored.
1169
1170 2013-03-07 Matthias Meulien <orontee@gmail.com>
1171
1172 * bookmark.el: Define a face to highlight bookmark names in
1173 bookmark menu buffers, where the default is a bold face similarly
1174 to buffer names in buffer menu buffers.
1175 (bookmark-menu-bookmark): New face to highlight bookmark names.
1176 (bookmark-insert-location): Remove duplicated text property to
1177 conform to buffer list (see `list-buffers').
1178 (bookmark-bmenu-list, bookmark-bmenu-hide-filenames): Apply face
1179 `bookmark-menu-bookmark' to bookmark names.
1180
1181 2013-03-07 Matthias Meulien <orontee@gmail.com>
1182 Karl Fogel <kfogel@red-bean.com>
1183
1184 * bookmark.el: Display the bookmark list header similarly to the
1185 buffer list header (see `list-buffers'), where the default is now
1186 an immovable/immutable header line.
1187 (bookmark-bmenu-use-header-line): New variable.
1188 (bookmark-bmenu-inline-header-height): New name for
1189 `bookmark-bmenu-header-height', to avoid confusion with the code
1190 for the new immovable header. All references changed.
1191 (bookmark-bmenu-set-header): New function.
1192 (bookmark-bmenu-list, bookmark-bmenu-toggle-filenames):
1193 Conditionalize header construction accordingly.
1194 (bookmark-bmenu-ensure-position): Conditionalize the skipping of
1195 the inline header height.
1196 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
1197 Conditionalize the skipping of the inline header height.
1198
1199 2013-03-07 Dmitry Gutov <dgutov@yandex.ru>
1200
1201 * progmodes/js.el (js--multi-line-declaration-indentation):
1202 Merge from js2-mode (https://github.com/mooz/js2-mode/issues/89).
1203
1204 2013-03-06 Dmitry Gutov <dgutov@yandex.ru>
1205
1206 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1207 Only propertize regexp when not inside a string (Bug#13885).
1208
1209 2013-03-06 Alan Mackenzie <acm@muc.de>
1210
1211 Correct the position of point in some line-up functions.
1212 * progmodes/cc-align.el (c-lineup-whitesmith-in-block)
1213 (c-lineup-assignments, c-lineup-gcc-asm-reg ): take position of
1214 point at column 0 rather than at a random place in the line.
1215
1216 2013-03-05 Michael Albinus <michael.albinus@gmx.de>
1217
1218 * net/tramp-compat.el (tramp-compat-delete-directory):
1219 Implement TRASH argument.
1220
1221 2013-03-05 Dmitry Gutov <dgutov@yandex.ru>
1222
1223 Keep pre-existing highlighting in completion candidates (Bug#13250).
1224 * minibuffer.el (completions-first-difference): State that the
1225 face is "added" in the docstring.
1226 (completions-common-part): Same. And don't inherit from default.
1227 (completion-hilit-commonality): Prepend 'completions-common-part
1228 and 'completion-first-difference faces to the 'face property,
1229 instead of replacing the value(s).
1230 (completion--insert-strings): Same with 'completions-annotations face.
1231 (completion-hilit-commonality): Use 'face instead of
1232 'font-lock-face, because it gets priority if the completion
1233 strings already have 'face set.
1234
1235 2013-03-04 Alan Mackenzie <acm@muc.de>
1236
1237 Replace `last-command-event' by `last-command-char' in XEmacs.
1238 * progmodes/cc-defs.el (c-last-command-char): New macro.
1239 * progmodes/cc-align.el (c-semi&comma-inside-parenlist)
1240 (c-semi&comma-no-newlines-before-nonblanks)
1241 (c-semi&comma-no-newlines-for-oneline-inliners): Use the new macro
1242 in place of `last-command-event'.
1243 * progmodes/cc-cmds.el (c-electric-pound, c-electric-brace)
1244 (c-electric-slash, c-electric-semi&comma, c-electric-lt-gt)
1245 (c-electric-paren, c-electric-continued-statement): Use the new
1246 macro in place of `last-command-event'.
1247
1248 2013-03-04 Glenn Morris <rgm@gnu.org>
1249
1250 * files.el (inhibit-local-variables-regexps):
1251 Add .diff and .patch. (Bug#13862)
1252
1253 2013-03-03 Michael Albinus <michael.albinus@gmx.de>
1254
1255 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Cache,
1256 whether the "su" command is available on the device.
1257
1258 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
1259
1260 * net/tramp-adb.el (tramp-adb-prompt): Extend regexp.
1261 (tramp-adb-handle-process-file): Remove superfluous setting.
1262 (tramp-adb-command-exit-status): Handle case that COMMAND is nil.
1263 (tramp-adb-barf-unless-okay): Use `tramp-adb-command-exit-status'.
1264 (tramp-adb-maybe-open-connection): Apply "su" if user is defined.
1265
1266 2013-03-01 Stefan Monnier <monnier@iro.umontreal.ca>
1267
1268 * textmodes/ispell.el: Fix nitpicks and byte-compiler warnings.
1269 (ispell-print-if-debug): Build `format' in. Avoid end-of-buffer.
1270 (ispell-parse-hunspell-affix-file): Avoid beginning-of-buffer.
1271 Use dict-key rather than dict-name for the error message.
1272
1273 2013-03-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1274
1275 * net/net-utils.el (net-utils-run-simple): Don't display-buffer
1276 when reverting (bug#13831).
1277
1278 2013-03-01 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1279
1280 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
1281 Always expand affix-file before storing to protect against changed
1282 `default-directory'.
1283 (ispell-print-if-debug): Make sure message is printed at the end
1284 of the debug buffer.
1285
1286 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
1287
1288 * net/tramp.el (tramp-obsolete-methods): New defconst.
1289 (tramp-warned-obsolete-methods): New defvar.
1290 (tramp-find-method): Check for obsolete methods. Map them to a
1291 replacement method if appropriate.
1292
1293 * net/tramp-sh.el (tramp-methods) [scp1, scp2, ssh1, ssh2, plink1]:
1294 Remove methods.
1295 (top): Remove completion functions for "scp1", "scp2", "ssh1",
1296 "ssh2" and "plink1".
1297
1298 2013-02-28 Dale Sedivec <dale@codefu.org>
1299
1300 * textmodes/sgml-mode.el (sgml-syntax-propertize-function):
1301 Return valid syntax-table property value when converting
1302 quotes within text from string syntax to punctuation syntax (bug#13844).
1303
1304 2013-02-28 Juri Linkov <juri@jurta.org>
1305
1306 * dired-aux.el (dired-diff): If file at point is a backup file,
1307 use its original as the default value, and reverse the order
1308 of arguments to the `diff' call. Doc fix. (Bug#13772)
1309
1310 2013-02-28 Michael Albinus <michael.albinus@gmx.de>
1311
1312 * net/tramp-adb.el (tramp-adb-sdk-dir): Remove. Replaced by ...
1313 (tramp-adb-program): New defcustom. Remove function. Adapt calls.
1314
1315 2013-02-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1316
1317 Initial support for hunspell dictionaries auto-detection (Bug#13639)
1318
1319 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
1320 Ask hunspell about available and default dictionaries.
1321 (ispell-parse-hunspell-affix-file): Extract relevant info from
1322 hunspell affix file.
1323 (ispell-hunspell-fill-dictionary-entry): Fill non-initialized
1324 `ispell-dictionary-alist' entry for given dictionary after info
1325 provided by `ispell-parse-hunspell-affix-file'.
1326 (ispell-hunspell-dict-paths-alist): New defvar to contain an alist
1327 of parsed hunspell dicts and associated affix files.
1328 (ispell-hunspell-dictionary-alist): New defvar to contain an alist
1329 of parsed hunspell dicts and associated parameters.
1330 (ispell-set-spellchecker-params):
1331 Call `ispell-find-hunspell-dictionaries' if hunspell and not
1332 previously done.
1333 (ispell-start-process):
1334 Call `ispell-hunspell-fill-dictionary-entry' for current
1335 dictionary if it is not initialized.
1336
1337 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
1338
1339 * imenu.el: Comment nitpicks.
1340
1341 2013-02-28 Sam Steingold <sds@gnu.org>
1342
1343 * vc/diff-mode.el (diff-hunk-file-names): Handle filenames with spaces.
1344 See <http://stackoverflow.com/questions/14720205>.
1345
1346 2013-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1347
1348 * net/net-utils.el (net-utils--revert-function): New fun (bug#13831).
1349 (net-utils-mode): Use it.
1350 (net-utils--revert-cmd): New var.
1351 (net-utils-run-simple): Set it, and remove bogus interactive spec.
1352 (traceroute): Use net-utils-run-simple.
1353
1354 2013-02-28 Glenn Morris <rgm@gnu.org>
1355
1356 * textmodes/paragraphs.el (mark-paragraph): Doc fix.
1357
1358 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
1359
1360 * doc-view.el: Preserve h&v scroll across C-c C-c C-c C-c.
1361 (doc-view-fallback-mode): Remove overlays here.
1362 (doc-view-toggle-display): Instead of here. Don't throw away
1363 image-mode-winprops-alist.
1364 (doc-view-goto-page): Don't mess with hscroll.
1365
1366 2013-02-27 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1367
1368 * font-lock.el (lisp-font-lock-keywords-2): Fix highlighting of
1369 &optional (bug#13819).
1370
1371 2013-02-27 Michael Albinus <michael.albinus@gmx.de>
1372
1373 * net/tramp-adb.el (tramp-adb-parse-device-names)
1374 (tramp-adb-maybe-open-connection): Add timeouts. (Bug#13299)
1375
1376 2013-02-26 Michael Albinus <michael.albinus@gmx.de>
1377
1378 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
1379 Add "2>/dev/null" to the ls command, in case "en_US.utf8" is not
1380 defined. POSIX environments fall back to the "C" locale then and
1381 emit a warning, which shall be suppressed.
1382
1383 2013-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
1384
1385 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): Tweak logic.
1386 (easy-mmode-set-keymap-parents): Use make-composed-keymap.
1387
1388 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
1389
1390 * emacs-lisp/bytecomp.el (byte-compile-file): Use let.
1391
1392 2013-02-25 Juri Linkov <juri@jurta.org>
1393
1394 * replace.el (read-regexp): Let-bind `default' to the first
1395 element of `defaults' if it's a list, otherwise it should be
1396 a string or nil. Let-bind `suggestions' to `defaults' if it's
1397 a list, otherwise make a list with the string value. Doc fix.
1398 (Bug#13805)
1399
1400 2013-02-25 Eli Zaretskii <eliz@gnu.org>
1401
1402 * emacs-lisp/bytecomp.el (byte-recompile-directory): Reject files
1403 that match "\`\.#", to avoid compiling lock files, even if they
1404 are readable (as they are on MS-Windows).
1405
1406 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
1407
1408 * files.el (basic-save-buffer): Remove redundant directory-creation.
1409
1410 2013-02-24 Jay Belanger <jay.p.belanger@gmail.com>
1411
1412 * calc/calc-ext.el (math-to-radians-2, math-from-radians-2):
1413 Add option to force `pi' to remain symbolic.
1414 * calc/calcalg2.el (calcFunc-sin, calcFunc-cos, calcFunc-tan)
1415 (calcFunc-cot, calcFunc-csc, calcFunc-sec, calcFunc-arcsin)
1416 (calcFunc-arccos, calcFunc-arctan): Use symbolic `pi' in the
1417 derivatives, when necessary.
1418
1419 2013-02-23 Peter Kleiweg <p.c.j.kleiweg@rug.nl>
1420
1421 * progmodes/ps-mode.el (ps-mode-version): Bump to 1.1i.
1422 (ps-mode-octal-region): Use string-make-unibyte.
1423
1424 2013-02-23 Glenn Morris <rgm@gnu.org>
1425
1426 * emulation/viper-cmd.el (viper-submit-report):
1427 * progmodes/ps-mode.el (ps-mode-maintainer-address):
1428 * progmodes/vera-mode.el (vera-mode-help-address):
1429 * textmodes/artist.el (artist-maintainer-address):
1430 * textmodes/reftex.el (reftex-report-bug):
1431 * vc/ediff-util.el (ediff-submit-report):
1432 Add bug-gnu-emacs to bug report address.
1433
1434 * progmodes/simula.el (simula-mode-menu, simula-mode-map):
1435 Remove bug report entries.
1436 (simula-mode-help-address, simula-submit-bug-report): Make obsolete.
1437
1438 * emacs-lisp/bytecomp.el (byte-compile-level): New.
1439 (byte-compile-file, byte-compile-from-buffer):
1440 Use separate input/output buffers for each level of recursive
1441 byte-compile-file calls. (Bug#13787)
1442
1443 2013-02-23 Michael Albinus <michael.albinus@gmx.de>
1444
1445 * net/tramp.el (tramp-methods): Fix docstring.
1446 (tramp-ssh-controlmaster-options): Rename it from
1447 `tramp-ssh-controlmaster-template'. Return a string.
1448 (tramp-default-method): Adapt check for
1449 `tramp-ssh-controlmaster-options'.
1450
1451 * net/tramp-sh.el (tramp-methods):
1452 Replace `tramp-ssh-controlmaster-template' by "%c".
1453 (tramp-do-copy-or-rename-file-out-of-band)
1454 (tramp-maybe-open-connection): Use it in format spec. Ensure,
1455 that it is applied for the first hop only.
1456
1457 2013-02-22 Juri Linkov <juri@jurta.org>
1458
1459 * isearch.el (isearch-lazy-highlight-new-loop):
1460 Set `isearch-lazy-highlight-start' and `isearch-lazy-highlight-end'
1461 to `isearch-other-end' if it is not nil. (Bug#13402)
1462
1463 * replace.el (replace-highlight): Let-bind `isearch-other-end'
1464 to `match-beg'.
1465
1466 * textmodes/ispell.el (ispell-highlight-spelling-error-overlay):
1467 Let-bind `isearch-other-end' to `start', `isearch-forward' to t
1468 and `isearch-error' to nil.
1469
1470 2013-03-16 Fabián Ezequiel Gallina <fgallina@cuca>
1471
1472 * progmodes/python.el (python-info-current-defun):
1473 Enhance match-data cluttering prevention.
1474
1475 2013-02-22 Michael Albinus <michael.albinus@gmx.de>
1476
1477 * net/tramp.el (tramp-tramp-file-p): Fix docstring.
1478
1479 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
1480 Handle multibyte file names.
1481
1482 2013-02-22 Glenn Morris <rgm@gnu.org>
1483
1484 * textmodes/sgml-mode.el (sgml-xml-mode): Move before use.
1485 (sgml-transformation-function): Give it a :set function.
1486 (sgml-tag): Doc fix.
1487
1488 * cmuscheme.el (scheme-buffer):
1489 * progmodes/inf-lisp.el (inferior-lisp-buffer):
1490 * progmodes/tcl.el (inferior-tcl-buffer):
1491 * textmodes/tex-mode.el (tex-command): Doc fixes.
1492
1493 * image-mode.el (image-mode): Add mouse bindings for mode-line-process.
1494
1495 * htmlfontify.el (hfy-default-header): Encode title string. (Bug#7457)
1496
1497 2013-02-21 Bastien Guerry <bzg@gnu.org>
1498
1499 * cmuscheme.el (scheme-buffer): Fix docstring. (Bug#13778)
1500
1501 2013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
1502
1503 * progmodes/python.el (python-info-current-defun):
1504 Enhance match-data cluttering prevention.
1505
1506 2013-02-21 Glenn Morris <rgm@gnu.org>
1507
1508 * net/tramp.el (tramp-get-debug-buffer): Ensure outline.el is not
1509 loaded while outline-regexp is let bound. (Bug#9584)
1510
1511 2013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
1512
1513 * progmodes/python.el (python-info-current-defun): Fix failed
1514 defun name retrieval because of unwanted match-data cluttering.
1515
1516 2013-02-21 Michael Albinus <michael.albinus@gmx.de>
1517
1518 * net/tramp.el (tramp-ssh-controlmaster-template): Make it a
1519 defconst. Apply independent check for ControlPersist.
1520
1521 * net/tramp-sh.el (tramp-sh-handle-set-file-times): Set $UTC only
1522 temporarily, via "env".
1523
1524 2013-02-21 Glenn Morris <rgm@gnu.org>
1525
1526 * info.el (Info-enable-edit): Remove.
1527 (Info-edit): Disable it rather than using Info-enable.
1528 (Info-edit-mode-hook, Info-edit-map, Info-edit-mode, Info-edit)
1529 (Info-cease-edit): Make editing of Info files obsolete.
1530
1531 * informat.el (Info-tagify):
1532 Handle buffers not visiting files. (Bug#13763)
1533
1534 2013-02-21 Juanma Barranquero <lekktu@gmail.com>
1535
1536 * calc/calc-graph.el (calc-graph-show-dumb): Fix typo.
1537
1538 2013-02-21 Glenn Morris <rgm@gnu.org>
1539
1540 * files.el (basic-save-buffer): Move check for existing parent
1541 directory after hooks. (Bug#13773)
1542
1543 2013-02-20 Stefan Monnier <monnier@iro.umontreal.ca>
1544
1545 * simple.el (command-execute): Move from C. Add obsolete check.
1546 (extended-command-history): Move from C.
1547
1548 2013-02-20 Ulrich Müller <ulm@gentoo.org>
1549
1550 * jka-cmpr-hook.el (jka-compr-compression-info-list)
1551 (jka-compr-mode-alist-additions): Handle .txz suffix for
1552 XZ-compressed tar archives (bug#13770).
1553
1554 2013-02-20 Bastien Guerry <bzg@gnu.org>
1555
1556 * outline.el (outline-regexp, outline-heading-end-regexp):
1557 Make variables, not options (bug#13731).
1558
1559 2013-02-20 Glenn Morris <rgm@gnu.org>
1560
1561 * image.el (image-current-frame): Change from variable to function.
1562 (image-show-frame): Rename from image-nth-frame. Update callers.
1563 * image-mode.el (image-multi-frame): New variable.
1564 (image-mode-map, image-mode, image-goto-frame):
1565 Use image-multi-frame rather than image-current-frame.
1566 (image-mode, image-goto-frame): Use image-current-frame as
1567 function rather than as variable.
1568
1569 * emacs-lisp/cl-lib.el (cl-floatp-safe): Make it an alias for floatp.
1570 * emacs-lisp/cl-macs.el (cl--make-type-test)
1571 (cl--compiler-macro-assoc): Use floatp rather than cl-floatp-safe.
1572
1573 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
1574
1575 * net/tramp-cache.el (tramp-get-hash-table): New defun.
1576 (tramp-get-file-property, tramp-set-file-property)
1577 (tramp-get-connection-property, tramp-set-connection-property): Use it.
1578 (tramp-flush-file-property, tramp-flush-directory-property):
1579 Rename argument to KEY.
1580 (tramp-flush-connection-property): Simplify a little bit.
1581 (tramp-connection-property-p): New defun.
1582 (top): Reapply saved values only if there isn't a corresponding
1583 entry in `tramp-connection-properties'.
1584
1585 2013-02-19 Fabián Ezequiel Gallina <fgallina@cuca>
1586
1587 * progmodes/python.el (python-indent-context):
1588 Fix python-info-line-ends-backslash-p call.
1589 (python-info-line-ends-backslash-p)
1590 (python-info-beginning-of-backslash): Respect line-number argument.
1591 (python-info-current-line-comment-p):
1592 Fix behavior when not at beginning-of-line.
1593 (python-util-position): Remove function.
1594 (python-util-goto-line): New function.
1595
1596 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
1597
1598 * eshell/em-unix.el (eshell/su): Require tramp.
1599 (eshell/sudo): Require tramp. Remove now unnecessary check.
1600
1601 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Let-bind
1602 `tramp-current-connection' in order to avoid an error when several
1603 commands are invoked in a short time in eshell and friends.
1604
1605 2013-02-19 Stefan Monnier <monnier@iro.umontreal.ca>
1606
1607 Cleanup some of EIEIO's namespace.
1608 * emacs-lisp/eieio.el (eieio--define-field-accessors): New macro.
1609 Use it to define all the class-* and object-* field accessors (renamed
1610 to eieio--class-* and eieio--object-*). Update all uses.
1611 (eieio--class-num-slots, eieio--object-num-slots): Rename from
1612 class-num-slots and object-num-slots.
1613 (eieio--check-type): New macro.
1614 (eieio-defclass, eieio-oref, eieio-oref-default, same-class-p)
1615 (object-of-class-p, child-of-class-p, object-slots, class-slot-initarg)
1616 (eieio-oset, eieio-oset-default, object-assoc, object-assoc-list)
1617 (object-assoc-list-safe): Use it.
1618 (eieio-defclass): Tighten regexp.
1619 (eieio--defmethod): Use `memq'. Signal an error for unknown method kind.
1620 Remove unreachable code.
1621 (object-class-fast): Declare obsolete.
1622 (eieio-class-name, eieio-object-name, eieio-object-set-name-string)
1623 (eieio-object-class, eieio-object-class-name, eieio-class-parents)
1624 (eieio-class-children, eieio-class-precedence-list, eieio-class-parent):
1625 Rename from class-name, object-name, object-set-name-string,
1626 object-class, object-class-name, class-parents, class-children,
1627 class-precedence-list, class-parent; with obsolete alias.
1628 (class-of, class-direct-superclasses, class-direct-subclasses):
1629 Declare obsolete.
1630 (eieio-defmethod): Use `memq'; remove unreachable code.
1631 * emacs-lisp/eieio-base.el (eieio-persistent-read):
1632 * emacs-lisp/eieio-opt.el (eieio-class-button, eieio-describe-generic)
1633 (eieio-browse-tree, eieio-browse): Use eieio--check-type.
1634
1635 2013-02-18 Aidan Gauland <aidalgol@no8wireless.co.nz>
1636
1637 * eshell/em-cmpl.el: Correct "context-related help" keybinding in
1638 commentary.
1639
1640 2013-02-18 Michael Heerdegen <michael_heerdegen@web.de>
1641
1642 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument):
1643 Use font-lock-keyword-face for macros and special forms (bug#8345).
1644
1645 2013-02-17 Didier Verna <didier@didierverna.net>
1646
1647 * net/network-stream.el (network-stream-open-starttls):
1648 Check that response to the starttls-command is non-nil. (Bug#13706)
1649
1650 2013-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
1651
1652 * font-lock.el (lisp-font-lock-keywords-1, lisp-font-lock-keywords-2):
1653 Don't assume all identifier chars have syntax word.
1654 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
1655 Remove bar-not-symbol. Adjust callers.
1656 (lisp-mode-variables): Don't set a font-lock-syntax-table.
1657
1658 2013-02-17 Leo Liu <sdl.web@gmail.com>
1659
1660 * net/rcirc.el (rcirc-keepalive): Fix invalid timer error.
1661
1662 2013-02-17 Glenn Morris <rgm@gnu.org>
1663
1664 * menu-bar.el (menu-bar-tools-menu): Fix case of EDE entry.
1665
1666 * image-mode.el (image-mode-map): Add image-dired menu entry.
1667
1668 * image-dired.el (tumme): Make this alias obsolete.
1669
1670 2013-02-16 Glenn Morris <rgm@gnu.org>
1671
1672 * image.el (image-animated-types): Remove.
1673 (image-multi-frame-p): Rename from image-animated-p, and generalize.
1674 (image-animated-p): Make obsolete alias.
1675 (image-animate, image-nth-frame, image-animate-timeout):
1676 Use image-multi-frame-p.
1677 (image-animate-timeout): If no delay, use image-default-frame-delay.
1678 * image-mode.el (image-mode, image-toggle-animation):
1679 Use image-multi-frame-p. (Bug#763, bug#10739)
1680 (image-mode): Adjust startup message for a multi-frame image.
1681
1682 * image-mode.el (image-mode-map): Give it a menu.
1683
1684 2013-02-16 Michael Albinus <michael.albinus@gmx.de>
1685
1686 * net/tramp-cache.el (tramp-connection-properties): New customer
1687 option.
1688 (tramp-get-connection-property): Use it.
1689
1690 * net/tramp-compat.el (top): Require 'trampver.
1691
1692 * net/tramp-sh.el (tramp-remote-process-environment):
1693 Set tramp-autoload cookie.
1694
1695 2013-02-16 Kevin Ryde <user42@zip.com.au>
1696
1697 * info-look.el (info-lookup-select-mode): If major-mode has no
1698 info-lookup-alist entry then search up derived-mode-parent (bug#8660).
1699
1700 2013-02-16 Jambunathan K <kjambunathan@gmail.com>
1701
1702 * replace.el (read-regexp): Tighten the regexp that matches tag.
1703 When tag is retrieved with `find-tag-default', use regexp that
1704 matches tag at point. Also update docstring (Bug#13687).
1705
1706 2013-02-16 Eli Zaretskii <eliz@gnu.org>
1707
1708 * autorevert.el (auto-revert-notify-add-watch): With 'w32notify',
1709 add watch for the file, not its parent directory, since w32notify
1710 sets up the watch for the directory internally. (Bug#13725)
1711
1712 2013-02-16 Glenn Morris <rgm@gnu.org>
1713
1714 * image.el (image-default-frame-delay): New variable.
1715 (image-animated-p): Use image-default-frame-delay.
1716 (image-minimum-frame-delay): New constant.
1717 (image-animate-timeout): Use image-minimum-frame-delay.
1718
1719 * image.el (image-nth-frame): New, split from image-animate-timeout.
1720 (image-animate-timeout): Use image-nth-frame.
1721 * image-mode.el (image-goto-frame, image-next-frame)
1722 (image-previous-frame): New commands.
1723 (image-mode-map): Add new frame commands.
1724
1725 2013-02-16 Jonas Bernoulli <jonas@bernoul.li>
1726
1727 * emacs-lisp/tabulated-list.el (tabulated-list-print-col):
1728 If col-desc already has help-echo, use it. (Bug#13563)
1729
1730 2013-02-16 Glenn Morris <rgm@gnu.org>
1731
1732 * image.el (image-current-frame): New variable.
1733 (image-animate-timeout): Set image-current-frame.
1734 * image-mode.el (image-mode): For animated images,
1735 display a frame counter via mode-line-process.
1736
1737 * font-lock.el (lisp-font-lock-keywords-1): Add defvar-local.
1738
1739 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
1740
1741 * simple.el (eval-expression): Let `exp' set the mark (bug#13724).
1742
1743 2013-02-15 Alan Mackenzie <acm@muc.de>
1744
1745 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): When a
1746 global minor mode has been enabled, call the minor mode function
1747 for a new buffer once only, after the major mode hook, whilst
1748 allowing that hook explicitly to disable the minor mode.
1749 (MODE-disable-in-buffer): New (generated) function.
1750 (disable-MODE): New (generated) buffer local variable.
1751
1752 2013-02-15 Jambunathan K <kjambunathan@gmail.com>
1753
1754 * iswitchb.el (iswitchb-read-buffer): Bind `C-.' and `C-,' to
1755 `iswitchb-next-match' and `iswitchb-prev-match' resply.
1756 * ido.el (ido-init-completion-maps): Bind `C-.' and `C-,' to
1757 `ido-next-match' and `ido-prev-match' resply.
1758 * icomplete.el (icomplete-minibuffer-map): Unbind `C-s' and `C-r'.
1759 Bind `C-.' and `C-,' to `icomplete-forward-completions' and
1760 `icomplete-backward-completions' (Bug#13708).
1761
1762 2013-02-15 Glenn Morris <rgm@gnu.org>
1763
1764 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
1765
1766 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
1767
1768 * net/goto-addr.el (goto-address-fontify): Add start and end args.
1769 (goto-address-fontify-region): Use them instead of narrowing, so
1770 syntax-ppss has access to the whole buffer.
1771
1772 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
1773
1774 * progmodes/python.el: Explain how to restore "cc-mode"-like
1775 forward-sexp movement in header documentation (Bug#13642).
1776 (python-nav--forward-sexp): Behave like emacs-lisp-mode in
1777 comments and strings (GH bug 114).
1778
1779 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
1780
1781 * progmodes/python.el (python-info-current-defun): Fix current
1782 defun detection (Bug#13618).
1783
1784 2013-02-15 Chong Yidong <cyd@gnu.org>
1785
1786 * xml.el (xml-parse-string): Fix typo in handling of bad character
1787 references.
1788
1789 2013-02-15 Glenn Morris <rgm@gnu.org>
1790
1791 * play/fortune.el (fortune-compile): Simplify and fix previous change.
1792
1793 2013-02-14 Michael Albinus <michael.albinus@gmx.de>
1794
1795 * net/tramp.el (tramp-debug-message):
1796 Add `tramp-condition-case-unless-debug'.
1797 (tramp-debug-on-error): New defvar.
1798 (tramp-condition-case-unless-debug): New defun.
1799 (tramp-file-name-handler): Use it.
1800
1801 2013-02-14 Juri Linkov <juri@jurta.org>
1802
1803 * info.el (Info-isearch-filter): Treat non-nil values of
1804 `search-invisible' including its default value `open'
1805 like the value `t' to match hidden text. (Bug#13402)
1806
1807 2013-02-14 Glenn Morris <rgm@gnu.org>
1808
1809 * help-fns.el (find-lisp-object-file-name): Give special treatment
1810 to all ~/.foo.elc files, not just ~/.emacs. (Bug#9007)
1811
1812 2013-02-14 David Biesack <sasdjb@d72933.na.sas.com> (tiny change)
1813
1814 * net/quickurl.el (quickurl-save-urls):
1815 Ensure quickurl-urls is not truncated on printing. (Bug#9276)
1816
1817 2013-02-14 Dmitry Gutov <dgutov@yandex.ru>
1818
1819 * progmodes/ruby-mode.el (ruby-parse-partial): Don't increase
1820 depth for unfinished percent literal. Not using it in the caller.
1821 (ruby-move-to-block): Jump over multiline literals of all types,
1822 ignoring code-looking contents inside them.
1823 (ruby-add-log-current-method): Improve performance at the expense
1824 of accuracy. `ruby-block-contains-point' is relatively slow, so
1825 only use it for method and singleton class blocks.
1826
1827 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
1828
1829 Use ControlMaster where applicable. (Bug#13677)
1830
1831 * net/tramp.el (tramp-ssh-controlmaster-template): New defvar,
1832 replacing `tramp-detect-ssh-controlmaster'.
1833 (tramp-default-method): Use it.
1834
1835 * net/tramp-sh.el (tramp-methods) [scp, scp1, scp2, scpx, sftp]:
1836 [rsync, ssh, ssh1, ssh2, sshx]: Add ControlPath and ControlMaster
1837 arguments.
1838 [scpc, rsyncc]: Remove methods.
1839 (top): Remove completion functions for "scpc", "rsyncc", "ssh1_old"
1840 and "ssh2_old".
1841 (tramp-do-copy-or-rename-file-out-of-band): Change trace level.
1842 (tramp-maybe-open-connection): Reuse tmpfile for ControlPath.
1843
1844 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
1845
1846 * emacs-lisp/package.el (package--initialized): Move before first use.
1847
1848 2013-02-13 Jambunathan K <kjambunathan@gmail.com>
1849
1850 * icomplete.el (icomplete-hide-common-prefix): New user option.
1851 (icomplete-first-match): New face.
1852 (icomplete-completions): Correct handling of "complete but not
1853 unique" (Bug#12638).
1854
1855 2013-02-13 YE Qianchuan <stool.ye@gmail.com> (tiny change)
1856
1857 * descr-text.el (describe-char): Display the script (bug#13698).
1858
1859 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
1860
1861 * tmm.el: Use lexical-binding and current-active-maps.
1862 (tmm-menubar): Use map-keymap and pcase.
1863 (tmm--completion-table): New function.
1864 (tmm-prompt): Use it to fix the menu order.
1865 (tmm-get-keybind): Use current-active-maps.
1866
1867 2013-02-12 Christopher Schmidt <christopher@ch.ristopher.com>
1868
1869 Add dired-hide-details-mode. (Bug#6799)
1870
1871 * locate.el (locate-mode): Set parent mode property to dired-mode.
1872
1873 * find-dired.el (find-dired): Call dired-insert-set-properties on
1874 initial information line. Set process mark on end of buffer.
1875 (find-dired-sentinel):
1876 Call dired-insert-set-properties on summary.
1877
1878 * dired.el (dired-hide-details-hide-symlink-targets)
1879 (dired-hide-details-hide-information-lines): New options.
1880 (dired-insert-directory):
1881 Set properties after final treatment of output.
1882 (dired-insert-set-properties):
1883 Set dired-hide-details-* properties.
1884 (dired-mode-map): Bind dired-hide-details-mode.
1885 (dired-mode): Set buffer-invisibility-spec to a list.
1886 (dired-next-line): Skip hidden lines.
1887 (dired-previous-line): Use dired-next-line.
1888 (dired-hide-details-mode): New minor mode.
1889 (dired-hide-details-update-invisibility-spec): New function.
1890
1891 2013-02-13 Glenn Morris <rgm@gnu.org>
1892
1893 * play/yow.el: Move to obsolete/. (Bug#9384)
1894
1895 2013-02-13 Juri Linkov <juri@jurta.org>
1896
1897 * vc/ediff-util.el (ediff-recenter): Use `select-frame-set-input-focus'
1898 to select `ediff-control-frame' and set input focus correctly on Xfce.
1899 (Bug#12218)
1900
1901 2013-02-13 Juri Linkov <juri@jurta.org>
1902
1903 * image-mode.el (image-mode-map):
1904 * doc-view.el (doc-view-mode-map):
1905 * vc/ediff-util.el (ediff-setup-keymap):
1906 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
1907
1908 2013-02-13 Dmitry Gutov <dgutov@yandex.ru>
1909
1910 * progmodes/ruby-mode.el (ruby-move-to-block): Improve
1911 performance. Instead of recalculating indentation fully for each
1912 line, sum up indentation depth based only on visited lines.
1913 (ruby-parse-partial): Increase the depth after "do" even when END
1914 is right after it.
1915 (ruby-parse-partial): When END is in the middle of a percent
1916 literal, increase the depth if the delimiter chars belong to the
1917 paren syntax class.
1918
1919 2013-02-13 Kirill A. Korinskiy <catap@catap.ru>
1920
1921 * play/fortune.el (fortune-compile): Also make the compiled file
1922 if it does not exist at all, not just if it is old. (Bug#5338)
1923
1924 2013-02-13 Glenn Morris <rgm@gnu.org>
1925
1926 * emacs-lisp/package.el (package-menu-execute): Doc fix.
1927
1928 2013-02-13 Yves Baumes <ybaumes@gmail.com> (tiny change)
1929
1930 * lisp/emacs-lisp/package.el (package-menu-execute):
1931 Add optional noquery argument. (Bug#13625)
1932
1933 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
1934
1935 * net/ange-ftp.el (ange-ftp-make-directory): Don't raise an error,
1936 if DIR exists and PARENTS is non-nil.
1937
1938 2013-02-13 Juanma Barranquero <lekktu@gmail.com>
1939
1940 * progmodes/js.el (js--multi-line-declaration-indentation):
1941 Silence byte-compiler warning.
1942
1943 2013-02-12 Michael Albinus <michael.albinus@gmx.de>
1944
1945 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Rewrite.
1946
1947 * net/tramp-compat.el (top): Declare `remote-file-name-inhibit-cache'
1948 only if it doesn't exist.
1949
1950 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1951 Set process marker.
1952
1953 2013-02-12 Tassilo Horn <tsdh@gnu.org>
1954
1955 * doc-view.el (doc-view-odf->pdf-converter-soffice): Use separate
1956 UserInstallation when calling soffice to work around LibreOffice
1957 bug 37531.
1958
1959 2013-02-12 Glenn Morris <rgm@gnu.org>
1960
1961 * files.el (basic-save-buffer):
1962 Offer to create a non-existing directory. (Bug#3016)
1963
1964 * calc/calc-graph.el (calc-graph-show-dumb):
1965 * calendar/calendar.el (calendar-mode-map):
1966 * cus-edit.el (custom-mode-map):
1967 * ehelp.el (electric-help-map):
1968 * emulation/vip.el (vip-mode-map):
1969 * epa.el (epa-key-list-mode-map):
1970 * info.el (Info-mode-map):
1971 * mail/rmail.el (rmail-mode-map):
1972 * mail/rmailsum.el (rmail-summary-mode-map):
1973 * man.el (Man-mode-map):
1974 * net/newst-plainview.el (newsticker-mode-map):
1975 * progmodes/cpp.el (cpp-edit-mode-map):
1976 * progmodes/grep.el (grep-mode-map):
1977 * progmodes/idlw-help.el (idlwave-help-mode-map):
1978 * simple.el (special-mode-map):
1979 * startup.el (splash-screen-keymap):
1980 * view.el (view-mode-map):
1981 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
1982
1983 2013-02-11 Elias Pipping <pipping@lavabit.com>
1984
1985 * doc-view.el (doc-view-current-cache-dir): Beware % escapes
1986 (bug#13679).
1987
1988 2013-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
1989
1990 * cus-start.el (all): Remove inhibit-local-menu-bar-menus.
1991
1992 2013-02-11 Glenn Morris <rgm@gnu.org>
1993
1994 * vc/diff.el (diff-use-labels): New variable.
1995 (diff-no-select): Use --label rather than -L, and first
1996 check that it is supported. (Bug#11067)
1997
1998 * files.el (enable-dir-local-variables): New variable.
1999 (hack-dir-local-variables): Respect enable-dir-local-variables.
2000 * tutorial.el (help-with-tutorial):
2001 Ignore directory-local variables. (Bug#11127)
2002
2003 * vc/vc-svn.el (vc-svn-command): Move --non-interactive from here...
2004 (vc-svn-global-switches): ... to here. (Bug#13513)
2005
2006 2013-02-10 Christopher Schmidt <christopher@ch.ristopher.com>
2007
2008 * minibuf-eldef.el (minibuffer-default--in-prompt-regexps):
2009 Handle "foo (bar, default: xxx): " prompts.
2010
2011 2013-02-10 Chong Yidong <cyd@gnu.org>
2012
2013 * files.el (basic-save-buffer-1): Do not set
2014 buffer-file-coding-system-explicit (Bug#4533).
2015
2016 * mail/emacsbug.el (report-emacs-bug): Change binding of
2017 report-emacs-bug-insert-to-mailer to C-c M-i (Bug#13510).
2018
2019 2013-02-09 Jay Belanger <jay.p.belanger@gmail.com>
2020
2021 * calc/calc.el (calc-allow-units-as-numbers): New variable.
2022 * calc/calc-units.el (calc-convert-units): Use new variable.
2023
2024 2013-02-09 Eli Zaretskii <eliz@gnu.org>
2025
2026 * subr.el (buffer-file-type, default-buffer-file-type): Remove.
2027
2028 * net/ange-ftp.el (ange-ftp-insert-file-contents): Don't reference
2029 buffer-file-type.
2030
2031 * mail/feedmail.el (feedmail-force-binary-write): Doc fix.
2032 (feedmail-run-the-queue, feedmail-dump-message-to-queue)
2033 (feedmail-send-it-immediately): Don't bind buffer-file-type, bind
2034 coding-system-for-write instead.
2035
2036 * jka-compr.el (jka-compr-write-region): Don't bind
2037 buffer-file-type.
2038
2039 * emacs-lisp/bytecomp.el (byte-compile-file): Don't bind
2040 buffer-file-type.
2041
2042 * files.el (file-name-buffer-file-type-alist): Remove defvar.
2043 (insert-file-contents-literally): Remove reference to
2044 file-name-buffer-file-type-alist.
2045
2046 * dos-w32.el (file-name-buffer-file-type-alist): Deprecate and
2047 make-obsolete.
2048 (find-buffer-file-type-match, find-buffer-file-type): Remove.
2049 (find-buffer-file-type-coding-system): Remove references to
2050 find-buffer-file-type-match, find-buffer-file-type, and
2051 buffer-file-type.
2052 Don't put find-buffer-file-type-coding-system into
2053 file-coding-system-alist.
2054 (find-file-binary, find-file-text): Bind coding-system-for-read
2055 instead of file-name-buffer-file-type-alist.
2056
2057 2013-02-09 Jambunathan K <kjambunathan@gmail.com>
2058
2059 * doc-view.el: Use (and prefer) soffice as default ODF->PDF
2060 converter (Bug#13622).
2061 (doc-view-unoconv-program): Make obsolete alias.
2062 (doc-view-odf->pdf-converter-program): New variable.
2063 (doc-view-odf->pdf-converter-function): New variable.
2064 (doc-view-mode-p): Use it.
2065 (doc-view-odf->pdf-converter-unoconv):
2066 Rename from `doc-view-odf->pdf-converter-unoconv'.
2067 (doc-view-odf->pdf-converter-soffice): New function.
2068 (doc-view-convert-current-doc):
2069 Use `doc-view-odf->pdf-converter-function'.
2070
2071 2013-02-09 Chong Yidong <cyd@gnu.org>
2072
2073 * minibuffer.el (minibuffer-inactive-mode-map): Bind mouse-1 to
2074 view-echo-area-messages (Bug#13340).
2075
2076 * help.el (view-echo-area-messages): Use display-buffer.
2077
2078 * dired-x.el (dired-do-run-mail): Prompt for confirmation
2079 (Bug#13561).
2080
2081 2013-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
2082
2083 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
2084 Eval body right away, now that we do eager macroexpansion (bug#13605).
2085
2086 * simple.el (end-of-buffer): Don't touch unrelated windows (bug#13466).
2087 (fundamental-mode): Use run-mode-hooks.
2088
2089 * eshell/esh-proc.el (eshell/kill): Fix last change.
2090 * eshell/em-ls.el (eshell-ls-dir): Fix use of CL in last change.
2091
2092 2013-02-08 Aidan Gauland <aidalgol@no8wireless.co.nz>
2093
2094 * eshell/esh-proc.el (eshell/kill): Rewrite.
2095
2096 * eshell/em-ls.el (show-almost-all): Declare.
2097 (eshell-do-ls): Add support for -A argument.
2098
2099 2013-02-08 Jambunathan K <kjambunathan@gmail.com>
2100
2101 * icomplete.el (icomplete-forward-completions)
2102 (icomplete-backward-completions): Handle corner case (bug#13602).
2103
2104 2013-02-07 Michael Albinus <michael.albinus@gmx.de>
2105
2106 * vc/vc-hooks.el (vc-find-file-hook): `buffer-file-truename' can
2107 be nil. Handle this. (Bug#13636)
2108
2109 2013-02-07 Richard Stallman <rms@gnu.org>
2110
2111 * mail/rmail.el (rmail-variables): Specify `no-conversion' for
2112 `save-buffer-coding-system'.
2113
2114 2013-02-07 Alan Mackenzie <acm@muc.de>
2115
2116 Fix bug in state cache mechanism. Remove 'BOD "strategy". Refactor.
2117 * progmodes/cc-engine.el (c-get-fallback-scan-pos): Remove.
2118 (c-parse-state-get-strategy): Don't return 'BOD any more.
2119 (c-append-lower-brace-pair-to-state-cache):
2120 Extra parameter HERE instead of narrowing.
2121 Widen to top of buffer before searching backwards for a brace pair.
2122 (c-state-push-any-brace-pair): Add HERE parameter to function call.
2123 (c-append-to-state-cache): Extra parameter HERE in place of narrowing.
2124 Narrow to parameter HERE, in place of being called narrowed.
2125 (c-remove-stale-state-cache): Extra parameter HERE in place of
2126 narrowing. Check there's an open brace in the cache before
2127 searching for its match.
2128 (c-invalidate-state-cache-1): Add HERE parameter to function call.
2129 (c-parse-state-1): Don't narrow here for 'forward strategy,
2130 instead passing extra parameter HERE to several functions.
2131 Remove 'BOD strategy.
2132
2133 2013-02-06 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
2134
2135 * emacs-lisp/package.el (describe-package-1): Tell what archive is
2136 used to install the package.
2137
2138 2013-02-06 Glenn Morris <rgm@gnu.org>
2139
2140 * vc/vc-hooks.el (vc-find-file-hook): Don't ask about following links
2141 if we can't get user input. (Bug#6567)
2142
2143 * startup.el (command-line): If simple.el is missing,
2144 test and warn about for some possible causes.
2145
2146 2013-02-05 Jan Djärv <jan.h.d@swipnet.se>
2147
2148 * cus-start.el (all): Add ns-use-native-fullscreen.
2149
2150 2013-02-05 Glenn Morris <rgm@gnu.org>
2151
2152 * profiler.el (profiler-report-mode-map): Add a restart menu entry.
2153
2154 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
2155 Fix directory creation in fallback case.
2156
2157 2013-02-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2158
2159 * vc/vc.el (vc-next-action): Fix inf-loop (bug#13610).
2160 (vc-update-change-log): Use dolist.
2161
2162 2013-02-04 Chong Yidong <cyd@gnu.org>
2163
2164 * thingatpt.el: Rewrite the URL detection routines, absorbing some
2165 code from ffap.el.
2166 (thing-at-point-beginning-of-url-regexp): New var.
2167 (thing-at-point-uri-schemes): Update list of URI schemes.
2168 (thing-at-point-url-regexp): Variable deleted.
2169 (thing-at-point-markedup-url-regexp): Disallow newlines.
2170 (thing-at-point-newsgroup-regexp)
2171 (thing-at-point-newsgroup-heads)
2172 (thing-at-point-default-mail-uri-scheme): New variables.
2173 (thing-at-point-bounds-of-url-at-point): Rewrite. Use ffap's
2174 method to find the possible bounds of the URI at point.
2175 New optional argument to find ill-formed URIs.
2176 (thing-at-point-url-at-point): Rewrite. New arguments for finding
2177 ill-formed URIs. Use thing-at-point-bounds-of-url-at-point, and
2178 the scheme-adding heuristics from ffap-url-at-point.
2179 (thing-at-point--bounds-of-well-formed-url): New function.
2180 Do parens matching to decide whether to include parens in the URI
2181 (Bug#9153).
2182
2183 * ffap.el: Require thingatpt.
2184 (ffap-url-at-point): Delegate URI detection to thing-at-point.
2185 All URI-valid characters are now recognized (Bug#5673).
2186 (ffap-string-at-point): Use use-region-p.
2187 (ffap-url-regexp): Extra character is handled by thing-at-point.
2188 (ffap-string-at-point-mode-alist): Allow parentheses.
2189 (ffap-newsgroup-regexp, ffap-newsgroup-heads, ffap-newsgroup-p):
2190 Convert to aliases; code moved to thingatpt.el.
2191 (ffap-gnus-hook): Use setq-local.
2192
2193 2013-02-04 Glenn Morris <rgm@gnu.org>
2194
2195 * emacs-lisp/ert.el (ert--explain-format-atom):
2196 Don't try to print non-characters as characters. (Bug#13543)
2197
2198 2013-02-03 Michael Albinus <michael.albinus@gmx.de>
2199
2200 * net/tramp.el (tramp-debug-message): Extend function exclude list.
2201 (tramp-backtrace): New defun.
2202 (tramp-handle-insert-file-contents): Use `visit' when inserting
2203 the local copy.
2204
2205 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime):
2206 Use `remote-file-name-inhibit-cache'.
2207
2208 2013-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
2209
2210 * progmodes/cperl-mode.el (cperl-mode): Avoid byte-compile warning
2211 (bug#13614).
2212
2213 * subr.el (internal--called-interactively-p--get-frame): Avoid filling
2214 current-load-list (bug#13366).
2215
2216 2013-02-02 Christopher Schmidt <christopher@ch.ristopher.com>
2217
2218 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2219 Identify g++ template instantiation trace. (Bug#12287)
2220 (compilation-mode-hook, compilation-start-hook)
2221 (compilation-window-height): Simplify docstrings. (Bug#13379)
2222
2223 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
2224
2225 * mouse.el (mouse-drag-track): Always deactivate the mark before
2226 running the final event's command since that command is in charge of
2227 activating the mark if needed (bug#13523).
2228
2229 2013-02-02 Juri Linkov <juri@jurta.org>
2230
2231 * replace.el (perform-replace): Move let-bindings of isearch-*
2232 variables deeper to the loop that searches for the next match.
2233 Add bindings for `isearch-nonincremental' and `isearch-adjusted'.
2234 Use `isearch-search-fun-default' instead of `isearch-search-fun'.
2235 (Bug#13579)
2236
2237 * isearch.el (isearch-search-fun-default): Check for null
2238 first element of isearch-cmds as a precaution when it's used
2239 with inactive isearch.
2240
2241 2013-02-02 Andrew W. Nosenko <andrew.w.nosenko@gmail.com> (tiny change)
2242
2243 * net/tramp.el (tramp-check-for-regexp): Avoid "Args out of range"
2244 error when buffer in question is narrowed so position 1 is out of
2245 visible part.
2246
2247 2013-02-02 Glenn Morris <rgm@gnu.org>
2248
2249 * textmodes/remember.el (remember-clipboard): Doc fix.
2250
2251 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
2252
2253 * progmodes/make-mode.el (makefile-fill-paragraph): Reset syntax-table
2254 properties (bug#13179).
2255
2256 2013-02-02 Juri Linkov <juri@jurta.org>
2257
2258 * progmodes/grep.el (grep-regexp-alist): Use variable grep-match-face
2259 instead of hard-coded default face `match'. (Bug#9438)
2260
2261 2012-02-01 Christopher Schmidt <christopher@ch.ristopher.com>
2262
2263 * vc/vc-arch.el (vc-arch-registered):
2264 * vc/vc-bzr.el (vc-bzr-registered):
2265 * vc/vc-cvs.el (vc-cvs-registered):
2266 * vc/vc-git.el (vc-git-registered):
2267 * vc/vc-hg.el (vc-hg-registered):
2268 * vc/vc-mtn.el (vc-mtn-registered):
2269 * vc/vc-svn.el (vc-svn-registered): Suppress load messages.
2270 (Bug#13139)
2271
2272 * info.el (Info-next-reference, Info-prev-reference): Add numeric
2273 prefix argument. (Bug#11656)
2274
2275 2013-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
2276
2277 * help-fns.el (help-split-fundoc): Don't insert byte-compiled body.
2278
2279 2013-02-01 Glenn Morris <rgm@gnu.org>
2280
2281 * vc/vc-hooks.el (vc-menu-map): Disable vc-rollback menu item
2282 if the backend is known not to support it.
2283
2284 * imenu.el (imenu-default-create-index-function):
2285 Tweak infinite loop test to check for forward motion as well as none.
2286
2287 2013-02-01 Alex Harsanyi <AlexHarsanyi@gmail.com>
2288
2289 * net/soap-client.el (soap-invoke): Encode the string for
2290 `url-request-data' as UTF-8.
2291 Fixes <http://code.google.com/p/emacs-soap-client/issues/detail?id=16>.
2292
2293 2013-02-01 Glenn Morris <rgm@gnu.org>
2294
2295 * calc/calc-help.el (calc-view-news): Use view-emacs-news.
2296
2297 * calc/README, calc/README.prev: Rename/merge to etc/CALC-NEWS.
2298
2299 2013-01-31 Michael Albinus <michael.albinus@gmx.de>
2300
2301 * net/tramp.el (tramp-tramp-file-p): Comment check for
2302 `string-as-unibyte'. The function does not exist on XEmacs, and
2303 likely we need another approach.
2304
2305 * net/tramp-sh.el (tramp-compute-multi-hops): Check, whether
2306 `tramp-gw-*' variables are bound.
2307
2308 2013-01-31 Glenn Morris <rgm@gnu.org>
2309
2310 * files.el (basic-save-buffer-2): Choose coding system for
2311 writing the file before backing it up, to reduce delay between
2312 backing up and writing the new version. (Bug#13522)
2313
2314 2013-01-31 Michal Nazarewicz <mina86@mina86.com>
2315
2316 * simple.el (cycle-spacing): New command.
2317 (just-one-space): Use it.
2318
2319 2013-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
2320
2321 * progmodes/opascal.el: Rename from delphi.el. Use lexical-binding.
2322 (opascal-newline-always-indents): Remove custom.
2323 (opascal-tab, opascal-newline): Remove commands.
2324 (opascal-new-comment-line): Insert "\n" instead of calling newline.
2325 (opascal-mode-map): Keep default bindings for RET and TAB and DEL.
2326 (opascal-save-match-data): Remove, use save-match-data instead.
2327 (opascal-save-state): Use with-silent-modifications.
2328
2329 * progmodes/pascal.el (pascal-mode-syntax-table): Accept //..\n comments
2330 (bug#13585).
2331
2332 2013-01-30 Juri Linkov <juri@jurta.org>
2333
2334 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
2335 Use fullboth as an alias for fullscreen. Suggested by Jan Djärv in
2336 <http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00203.html>.
2337
2338 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
2339
2340 * progmodes/make-mode.el (makefile-backslash-region): Don't compute
2341 column if we're just deleting the backslashes.
2342 (makefile-fill-paragraph): Use eolp.
2343
2344 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
2345
2346 * autorevert.el (auto-revert-use-notify): Fix docstring.
2347
2348 2013-01-30 Leo Liu <sdl.web@gmail.com>
2349
2350 * imenu.el (imenu--truncate-items): Fix subalist checking (bug#13576).
2351
2352 2013-01-30 Glenn Morris <rgm@gnu.org>
2353
2354 * mouse.el (mouse-drag-line): Avoid pushing same event onto
2355 unread-command-events twice in some cases. This tries to implement
2356 the 2012-07-26 changes in a different way. (Bug#13560)
2357
2358 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
2359
2360 * progmodes/python.el
2361 (python-pdbtrack-comint-output-filter-function): Enhancements on
2362 stacktrace detection. (thanks @gnovak)
2363
2364 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
2365
2366 * jit-lock.el (jit-lock-stealth-chunk-start): Don't widen (bug#13542).
2367 (jit-lock-mode, jit-lock-functions, jit-lock-context-unfontify-pos):
2368 Use defvar-local.
2369 (jit-lock-register): Use setq-local.
2370
2371 2013-01-30 Jay Belanger <jay.p.belanger@gmail.com>
2372
2373 * calc-units.el (math-default-units-table): Remove initial value.
2374 (calc-convert-units): Treat expressions where all the units cancel as
2375 if they didn't have units.
2376
2377 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
2378
2379 * net/tramp.el (tramp-process-connection-type): Fix docstring.
2380 (tramp-completion-reread-directory-timeout): Fix type.
2381 (tramp-connection-min-time-diff): New defcustom.
2382
2383 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
2384
2385 2013-01-30 Glenn Morris <rgm@gnu.org>
2386
2387 * imenu.el (imenu-default-create-index-function):
2388 Put back a version of the infinite loop test removed 2013-01-23.
2389
2390 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
2391
2392 * progmodes/python.el (python-shell-parse-command):
2393 Find python-shell-interpreter with modified environment.
2394
2395 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
2396
2397 * emacs-lisp/cl.el (cl-set-getf): Add compatibility alias.
2398
2399 2013-01-29 Alan Mackenzie <acm@muc.de>
2400
2401 Amend to fontify /regexp/s in actions correctly.
2402 * cc-awk.el (c-awk-harmless-char-re, c-awk-harmless-string*-re):
2403 (c-awk-harmless-string*-here-re): Braces, parens and semicolons
2404 are no longer included.
2405 (c-awk-harmless-line-char-re, c-awk-harmless-line-string*-re):
2406 What used to be these variables without "-line" in the name.
2407 (c-awk-neutral-re): { is no longer neutral. Escaped newlines now are.
2408 (c-awk-non-arith-op-bra-re): Now also matches {.
2409 (c-awk-pre-exp-alphanum-kwd-re): New regexp to match "print",
2410 "return", and "case".
2411 (c-awk-kwd-regexp-sign-re): New, to match "print", etc., followed
2412 by /.
2413 (c-awk-syntax-tablify-/): Check special cases "print /re/", etc.
2414 (c-awk-set-syntax-table-properties): Extend FSM to handle {,},(,),;.
2415
2416 2013-01-29 Michael Albinus <michael.albinus@gmx.de>
2417
2418 * autorevert.el (auto-revert-use-notify):
2419 Use `custom-initialize-default' for initialization. (Bug#13583)
2420
2421 * net/ange-ftp.el (ange-ftp-skip-msgs): Add another message.
2422
2423 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2424 Catch `suppress'. Otherwise, `tramp-run-real-handler' might be called
2425 in `tramp-file-name-handler'.
2426 (tramp-gw-tunnel-method, tramp-gw-socks-method): Declare for
2427 compatibility.
2428 (tramp-compute-multi-hops): Check, whether
2429 `tramp-gw-tunnel-method' and `tramp-gw-socks-method' are non-nil.
2430
2431 2013-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
2432
2433 * hi-lock.el (hi-lock-unface-buffer): Don't assume `face' is a symbol
2434 (bug#13297).
2435
2436 2013-01-27 Dmitry Gutov <dgutov@yandex.ru>
2437
2438 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove some
2439 checks made superfluous by the \_< operator.
2440 * progmodes/ruby-mode.el (ruby-move-to-block): Work with (maybe
2441 temporarily) broken indentation.
2442 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2443 Highlight nested constants, too. \_< broke that.
2444
2445 2013-01-27 Nobuyoshi Nakada <nobu@ruby-lang.org>
2446
2447 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Use "\\_<"
2448 instead of "\\b".
2449
2450 2013-01-27 Michael Albinus <michael.albinus@gmx.de>
2451
2452 * autorevert.el (auto-revert-handler): Notifications which result
2453 from a saved file shall not be taken into account. (Bug#13557)
2454
2455 2013-01-26 Andreas Schwab <schwab@linux-m68k.org>
2456
2457 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Add optional
2458 parameter BAR-NOT-SYMBOL to control syntax of | for font-lock.
2459 (lisp-mode): Pass t for it. (Bug#13556)
2460
2461 2013-01-25 Alan Mackenzie <acm@muc.de>
2462
2463 AWK Mode: Fix indentation bug at top level. Bug #12274.
2464
2465 * progmodes/cc-engine.el (c-guess-basic-syntax): Move CASE 5P to
2466 just before CASE 5D.
2467
2468 2013-01-25 Dmitry Antipov <dmantipov@yandex.ru>
2469
2470 * net/socks.el (socks-nslookup-host): Use string-to-number.
2471
2472 2013-01-25 Michael Albinus <michael.albinus@gmx.de>
2473
2474 * autorevert.el (auto-revert-remote-files)
2475 (auto-revert-notify-exclude-dir-regexp): New defcustoms.
2476 (auto-revert-notify-enabled, auto-revert-use-notify)
2477 (auto-revert-notify-watch-descriptor-hash-list)
2478 (auto-revert-notify-modified-p, auto-revert-notify-event-p)
2479 (auto-revert-notify-event-descriptor)
2480 (auto-revert-notify-event-action)
2481 (auto-revert-notify-event-file-name): Doc fix.
2482 (global-auto-revert-mode): Reorder checks.
2483 (auto-revert-notify-rm-watch): Respect changed values of
2484 `auto-revert-notify-watch-descriptor-hash-list'.
2485 (auto-revert-notify-add-watch): Check for
2486 `auto-revert-notify-exclude-dir-regexp'. Adapt filters for
2487 `inotify-add-watch'. Watch `default-directory' instead of
2488 `buffer-file-name'. `auto-revert-notify-watch-descriptor-hash-list'
2489 has a changed meaning now. (Bug#13540)
2490 (auto-revert-notify-handler): Change implementation wrt events
2491 returning from a directory.
2492 (auto-revert-handler): Reorder implementation for checks of remote
2493 files.
2494 (auto-revert-buffers): Fix parentheses error.
2495
2496 2013-01-25 Fabián Ezequiel Gallina <fgallina@cuca>
2497
2498 * progmodes/python.el: Enhancements to header documentation about
2499 skeletons. (Bug#5716)
2500
2501 * imenu.el (imenu-default-create-index-function): Remove useless
2502 infinite loop check. (Bug#13438)
2503
2504 2013-01-25 Alan Mackenzie <acm@muc.de>
2505
2506 Fix a bug in the state cache mechanism. Refactor this a bit.
2507
2508 * progmodes/cc-engine.el (c-parse-state-get-strategy): Remove the
2509 `cache-pos' element from the return value.
2510 (c-append-lower-brace-pair-to-state-cache): "Narrow" to end of
2511 buffer to enable proper searching from beyond HERE. Amend the
2512 test for detecting the sought brace pair. Amend the value written
2513 to the "brace desert cache" when the brace isn't found.
2514 (c-remove-stale-state-cache): Rename `good-pos' to `start-point',
2515 and several other variables analogously.
2516 (c-remove-stale-state-cache-backwards): Change `cache-pos' from a
2517 parameter to a locally calculated variable.
2518 (c-parse-state-1): Change the calling conventions to the two
2519 defuns involving `cache-pos'.
2520
2521 2013-01-25 Chong Yidong <cyd@gnu.org>
2522
2523 * xml.el (xml-entity-or-char-ref-re): Fix regexp.
2524
2525 2013-01-24 Aaron Ecay <aaronecay@gmail.com> (tiny change)
2526
2527 * paren.el (show-paren-function): Make sure to set 'priority and
2528 'face only if the overlay does exist.
2529
2530 2013-01-24 Michael Albinus <michael.albinus@gmx.de>
2531
2532 * net/tramp.el (tramp-tramp-file-p): Check, whether NAME is unibyte.
2533
2534 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Do not suppress
2535 basic attributes.
2536 (tramp-sh-handle-set-file-acl): Improve error checking.
2537
2538 2013-01-24 Dmitry Antipov <dmantipov@yandex.ru>
2539
2540 * doc-view.el (doc-view-display): Force mode line update until all
2541 document is converted. Suggested by Stefan Monnier (Bug#13164).
2542
2543 2013-01-23 Bastien Guerry <bzg@gnu.org>
2544
2545 * paren.el (show-paren-function): Make sure an overlay exists
2546 before trying to delete it. Also use `pos' as a position only
2547 when it is an integer.
2548
2549 2013-01-23 Dmitry Antipov <dmantipov@yandex.ru>
2550
2551 * play/gametree.el (gametree-break-line-here): Use point-marker.
2552
2553 2013-01-22 Michael Albinus <michael.albinus@gmx.de>
2554
2555 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
2556 Mark descriptive parts with `display' property.
2557
2558 2013-01-21 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2559
2560 * textmodes/ispell.el (ispell-hunspell-dictionary-equivs-alist):
2561 New variable to map standard dict names to hunspell ones.
2562 (ispell-set-spellchecker-params): Make sure specific dict names
2563 are used for standard dicts with hunspell.
2564
2565 2013-01-21 Tassilo Horn <tsdh@gnu.org>
2566
2567 * textmodes/reftex-cite.el (reftex-format-citation): Add format
2568 chars for note (%N) and url (%U).
2569 * textmodes/reftex-vars.el (reftex-cite-format): Document them.
2570
2571 2013-01-21 Juri Linkov <juri@jurta.org>
2572
2573 * frame.el: Bind `f10' in `esc-map' to `toggle-frame-maximized'
2574 in addition to existing separate binding `meta f10' in `global-map'.
2575 (Bug#13484)
2576
2577 2013-01-21 Michael Albinus <michael.albinus@gmx.de>
2578
2579 Improve XEmacs compatibility.
2580
2581 * net/tramp.el (tramp-replace-environment-variables): Make it a defun.
2582
2583 * net/tramp-adb.el (top): Require `time-date'.
2584 (tramp-adb-ls-output-time-less-p): Use `tramp-time-less-p'.
2585 (tramp-adb-handle-copy-file, tramp-adb-handle-rename-file):
2586 Use `tramp-file-name-handler'.
2587 (tramp-adb-maybe-open-connection):
2588 Use `tramp-compat-set-process-query-on-exit-flag'.
2589
2590 * net/tramp-sh.el (tramp-sh-handle-file-acl):
2591 Use `tramp-compat-funcall'.
2592
2593 * net/tramp-smb.el (tramp-smb-handle-file-acl): Use `looking-at' and
2594 `tramp-compat-funcall'.
2595
2596 2013-01-21 Jürgen Hötzel <juergen@archlinux.org>
2597
2598 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Complete
2599 reimplementation using "adb shell command ..." instead of running
2600 remote shell interactively.
2601
2602 2013-01-20 Glenn Morris <rgm@gnu.org>
2603
2604 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
2605 Add native profiler menu entries.
2606
2607 * profiler.el (profiler-running-p): New function.
2608 (profiler-cpu-profile): Use profiler-running-p.
2609 (profiler-report-mode-map): Add some more menu entries.
2610
2611 2013-01-19 Glenn Morris <rgm@gnu.org>
2612
2613 * mail/unrmail.el (unrmail): Do not mangle the mbox From line;
2614 fixes 2012-12-07 change. (Bug#13499)
2615
2616 2013-01-19 Leo Liu <sdl.web@gmail.com>
2617
2618 * dired.el (dired-get-marked-files): Prune erroneous values due to
2619 last change. (Bug#13152)
2620
2621 2013-01-19 Glenn Morris <rgm@gnu.org>
2622
2623 * progmodes/etags.el (tags-table-check-computed-list):
2624 Preserve point in tags buffer. (Bug#13412)
2625
2626 * emacs-lisp/lisp-mode.el (lisp-indent-function): Doc fix.
2627
2628 2013-01-19 Christian Wittern <cwittern@gmail.com> (tiny change)
2629 Chong Yidong <cyd@gnu.org>
2630
2631 * image-mode.el (image-next-file, image-previous-file):
2632 New commands (Bug#8453).
2633 (image-mode-map): Bind them to n and p.
2634 (image-mode--images-in-directory): New helper function.
2635
2636 2013-01-19 Chong Yidong <cyd@gnu.org>
2637
2638 * image-mode.el (image-mode-fit-frame): Add a frame argument.
2639 Suggested by Drew Adams (Bug#7730). Handle window decorations;
2640 save and restore the old window configuration.
2641
2642 2013-01-18 Leo Liu <sdl.web@gmail.com>
2643
2644 * progmodes/js.el: Tweak autoload cookie for alias.
2645
2646 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
2647
2648 * autorevert.el (auto-revert-notify-watch-descriptor): Make it
2649 buffer local, again. This was lost with the fix on 2013-01-12.
2650
2651 2013-01-17 Jürgen Hötzel <juergen@archlinux.org>
2652
2653 * eshell/esh-util.el (eshell-path-env): Make it buffer local, in
2654 order to support several eshell buffers in parallel.
2655
2656 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
2657
2658 * autorevert.el (auto-revert-use-notify): In the :set function, do
2659 not modify `kill-buffer-hook'.
2660 (auto-revert-notify-rm-watch):
2661 Remove `auto-revert-notify-rm-watch' from `kill-buffer-hook'.
2662 (auto-revert-notify-add-watch): Do not call
2663 `auto-revert-notify-rm-watch', but add it to a buffer local
2664 `kill-buffer-hook'.
2665
2666 2013-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
2667
2668 * emacs-lisp/trace.el (trace--read-args): Use a closure and an honest
2669 call to `eval' rather than a backquoted lambda.
2670
2671 2013-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
2672
2673 * emacs-lisp/nadvice.el (advice--tweak): Make it possible for `tweak'
2674 to return an explicit nil.
2675 (advice--remove-function): Change accordingly.
2676
2677 * emacs-lisp/advice.el (ad-preactivate-advice): Adjust the cleanup to
2678 the use of nadvice.el.
2679
2680 * progmodes/which-func.el (which-function): Silence imenu errors
2681 (bug#13433).
2682
2683 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
2684
2685 * progmodes/sql.el (sql-imenu-generic-expression):
2686 (sql-mode-font-lock-object-name): Match schema qualified names.
2687 (sql-connect): Use string keys.
2688 (sql-product-interactive): Wait for interpreter prompt.
2689 (sql-comint-oracle): Set process coding based on NLS_LANG.
2690
2691 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
2692
2693 * progmodes/sql.el (sql-output-to-send): Remove, unused.
2694 (sql-interactive-remove-continuation-prompt):
2695 (sql-send-magic-terminator, sql-interactive-mode): Remove references.
2696
2697 2013-01-14 Leo Liu <sdl.web@gmail.com>
2698
2699 * calendar/calendar.el (calendar-redraw): Sync window-point and point.
2700 (Bug#13420)
2701
2702 2013-01-14 Glenn Morris <rgm@gnu.org>
2703
2704 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2705 Fix interpretation of gnu line.col1-col2 format. (Bug#13335)
2706
2707 2013-01-13 Fabián Ezequiel Gallina <fgallina@cuca>
2708
2709 * progmodes/python.el (python-nav-end-of-statement):
2710 Fix cornercase when handling multiline strings.
2711
2712 2013-01-13 Richard Stallman <rms@gnu.org>
2713
2714 * mail/sendmail.el (mail-position-on-field): Add doc string.
2715
2716 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
2717 Get current message boundaries and pass them to
2718 message-forward-make-body-mime. Minor style changes.
2719
2720 2013-01-13 Eli Zaretskii <eliz@gnu.org>
2721
2722 * cus-start.el (all): Avoid warnings about
2723 scroll-bar-adjust-thumb-portion on platforms where it is not defined.
2724
2725 2013-01-11 Jan Djärv <jan.h.d@swipnet.se>
2726
2727 * cus-start.el (all): Add scroll-bar-adjust-thumb-portion.
2728
2729 2013-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
2730
2731 * jit-lock.el (jit-lock-debug-mode): New minor mode.
2732 (jit-lock--debug-fontifying): New var.
2733 (jit-lock--debug-fontify): New function.
2734 * subr.el (condition-case-unless-debug): Don't prevent catching the
2735 error, just let the debbugger run.
2736 * emacs-lisp/timer.el (timer-event-handler): Don't prevent debugging
2737 timer code and don't drop errors silently.
2738
2739 2013-01-12 Michael Albinus <michael.albinus@gmx.de>
2740
2741 * autorevert.el (auto-revert-notify-watch-descriptor): Give it
2742 `permanent-local' property.
2743 (auto-revert-notify-handler): Use `file-equal-p'.
2744
2745 2013-01-12 Eli Zaretskii <eliz@gnu.org>
2746
2747 * autorevert.el (auto-revert-notify-handler): Fix filtering of
2748 file notification by ACTION. For filtering by file name, compare
2749 only the non-directory part of the file name.
2750
2751 2013-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
2752
2753 * autorevert.el: Use cl-lib instead of cl.
2754
2755 * vc/vc-bzr.el (vc-bzr--sanitize-header): New function (bug#13307).
2756 (vc-bzr-checkin): Use it.
2757 * vc/log-edit.el (log-edit-extract-headers): Don't presume FUNCTION
2758 will preserve match-data.
2759
2760 2013-01-11 Felix H. Dahlke <fhd@ubercode.de>
2761
2762 * progmodes/js.el: Fix multiline declarations's indentation (bug#8576).
2763 (js--declaration-keyword-re): New var.
2764 (js--multi-line-declaration-indentation): New function.
2765 (js--proper-indentation): Use it.
2766
2767 2013-01-11 Aaron S. Hawley <Aaron.Hawley@vtinfo.com>
2768
2769 * calc/calc.el (calc-highlight-selections-with-faces)
2770 (calc-dispatch):
2771 * comint.el (comint-history-isearch-message):
2772 * emacs-lisp/edebug.el (edebug-read, edebug-eval-defun):
2773 * ffap.el (ffap-string-at-point-region, ffap-next)
2774 (ffap-string-at-point, ffap-string-around)
2775 (ffap-copy-string-as-kill, ffap-highlight-overlay)
2776 (ffap-literally):
2777 * font-lock.el (font-lock-keywords-alist)
2778 (font-lock-removed-keywords-alist):
2779 * help-mode.el (help-xref-symbol-regexp):
2780 * info.el (Info-find-emacs-command-nodes):
2781 * international/mule.el (add-to-coding-system-list):
2782 * isearch.el (isearch-message-function, isearch-fail-pos):
2783 * misearch.el (multi-isearch-next-buffer-function):
2784 * newcomment.el (comment-box):
2785 * printing.el (pr-txt-printer-alist, pr-ps-printer-alist)
2786 (pr-setting-database):
2787 * progmodes/cc-fonts.el (c-font-lock-keywords-3)
2788 (c++-font-lock-keywords-3, objc-font-lock-keywords-3)
2789 (java-font-lock-keywords-3, idl-font-lock-keywords-3)
2790 (pike-font-lock-keywords-3):
2791 * progmodes/compile.el (compile):
2792 * progmodes/etags.el (tags-table-files)
2793 (tags-table-files-function, tags-included-tables-function):
2794 * progmodes/gdb-mi.el (gdb, gdb-setup-windows)
2795 (gdb-restore-windows):
2796 * ps-print.el (ps-even-or-odd-pages, ps-spool-buffer-with-faces)
2797 (ps-n-up-filling-database):
2798 * server.el (server-buffer, server-log):
2799 * simple.el (newline, delete-backward-char, delete-forward-char)
2800 (minibuffer-history-isearch-message, kill-line, track-eol)
2801 (temporary-goal-column):
2802 * textmodes/flyspell.el (flyspell-mark-duplications-flag)
2803 (flyspell-default-deplacement-commands):
2804 * textmodes/ispell.el (ispell-accept-output):
2805 * textmodes/sgml-mode.el (html-tag-help):
2806 * vc/compare-w.el (compare-ignore-whitespace)
2807 (compare-ignore-case, compare-windows-dehighlight):
2808 * vc/diff.el (diff):
2809 * whitespace.el (whitespace-point)
2810 (whitespace-font-lock-refontify, whitespace-bob-marker)
2811 (whitespace-eob-marker): Fix ambiguous doc string cross-reference(s).
2812
2813 2013-01-11 Michael Albinus <michael.albinus@gmx.de>
2814
2815 * autorevert.el (top): Require 'cl in order to pacify byte compiler.
2816 (auto-revert-notify-rm-watch): Ignore errors.
2817 (auto-revert-notify-add-watch): Ignore errors. Use '(modify) for
2818 inotify, and '(size last-write-time) for w32notify.
2819 Set buffer-local `auto-revert-use-notify' to nil when adding a file
2820 watch fails - this is a fallback to the file modification check.
2821 (auto-revert-notify-event-p, auto-revert-notify-event-descriptor)
2822 (auto-revert-notify-event-action)
2823 (auto-revert-notify-event-file-name): New defuns.
2824 (auto-revert-notify-handler): Use them. Implement first
2825 plausibility checks.
2826 (auto-revert-handler): Handle also `auto-revert-tail-mode'.
2827
2828 2013-01-11 Julien Danjou <julien@danjou.info>
2829
2830 * color.el (color-rgb-to-hsv): Fix conversion computing in case min and
2831 max are almost equal. Also return the correct value for V which is
2832 already between 0 and 1.
2833
2834 2013-01-11 Dmitry Antipov <dmantipov@yandex.ru>
2835
2836 * emacs-lisp/ert.el (ert-run-test): Use point-max-marker.
2837
2838 2013-01-11 Eli Zaretskii <eliz@gnu.org>
2839
2840 * autorevert.el (auto-revert-notify-rm-watch)
2841 (auto-revert-notify-add-watch): Fix typos in w32notify function
2842 names.
2843
2844 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
2845
2846 * autorevert.el (auto-revert-notify-enabled): Move up.
2847 (auto-revert-use-notify): New defcustom.
2848 (auto-revert-mode, global-auto-revert-mode)
2849 (auto-revert-notify-add-watch, auto-revert-handler)
2850 (auto-revert-buffers): Use `auto-revert-use-notify' instead of
2851 `auto-revert-notify-enabled'.
2852
2853 2013-01-10 Elias Pipping <pipping@exherbo.org>
2854
2855 * files.el (auto-mode-alist): Use doc-view for djvu files (bug#13164).
2856 * doc-view.el (doc-view-document->bitmap):
2857 Use doc-view-single-page-converter-function instead of
2858 single-page-converter arg; adjust callers.
2859
2860 2013-01-10 Feng Li <fengli@gmail.com> (tiny change)
2861
2862 * progmodes/which-func.el (which-function): Understand Semantic's use
2863 of overlays in imenu--index-alist.
2864
2865 2013-01-10 Wolfgang Jenkner <wjenkner@inode.at>
2866
2867 * man.el: Handle different "man -k" behaviors (bug#13160). Use utf-8.
2868 (Man-man-k-use-anchor): New var.
2869 (Man-parse-man-k): New function.
2870 (Man-completion-table): Use it.
2871 (man): Flush the completion cache between uses.
2872
2873 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
2874
2875 * autorevert.el: Add file watch support.
2876 (auto-revert-notify-enabled): New defconst.
2877 (auto-revert-notify-watch-descriptor-hash-list)
2878 (auto-revert-notify-watch-descriptor)
2879 (auto-revert-notify-modified-p): New defvars.
2880 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
2881 (auto-revert-notify-handler): New defuns.
2882 (auto-revert-mode, global-auto-revert-mode): Remove file watches
2883 when mode is disabled.
2884 (auto-revert-handler): Check for `auto-revert-notify-modified-p'.
2885 (auto-revert-buffers): Add file watches for active buffers.
2886
2887 2013-01-10 Dmitry Antipov <dmantipov@yandex.ru>
2888
2889 * cus-start.el (toplevel): Only allow float values for
2890 scroll-up-aggressively and scroll-down-aggressively.
2891 Allow any number for line-spacing.
2892
2893 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
2894
2895 * doc-view.el (doc-view-pdfdraw-program): Allow "pdfdraw" name.
2896 (doc-view-pdf->png-converter-function): Use mupdf if available.
2897 (doc-view-djvu->png-converter-function)
2898 (doc-view-ps->png-converter-function): Remove.
2899 (doc-view--image-file-pattern): Replace doc-view--image-file-extension.
2900 (doc-view-goto-page, doc-view-convert-current-doc, doc-view-display)
2901 (doc-view-already-converted-p): Adjust accordingly.
2902 (doc-view-mode-p): Simplify.
2903 (doc-view-enlarge): Use setq-local.
2904 (doc-view-pdf->png-converter-ghostscript)
2905 (doc-view-djvu->png-converter-ddjvu)
2906 (doc-view-pdf->png-converter-mupdf): Rework to call
2907 doc-view-start-process directly.
2908 (doc-view-pdf/ps->png): Simplify accordingly.
2909 (doc-view-pdf->png-1, doc-view-djvu->png-1): Remove.
2910 (doc-view-document->bitmap): Rename from doc-view-document->png.
2911 (doc-view-convert-current-doc): Merge pdf and djvu cases.
2912 (doc-view-set-slice-from-bounding-box): Fix completion table.
2913 (doc-view-mode): Use add-hook for after-revert-hook.
2914
2915 2013-01-10 Glenn Morris <rgm@gnu.org>
2916
2917 * emacs-lisp/authors.el (authors-ignored-files)
2918 (authors-valid-file-names, authors-renamed-files-alist):
2919 Add some more entries.
2920
2921 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
2922
2923 * image-mode.el (image-mode-winprops): Don't throw away the fallback
2924 `t' pseudo-window entry.
2925
2926 2013-01-10 Alan Mackenzie <acm@muc.de>
2927
2928 Fix bugs in the c-parse-state mechanism. Reuse some markers
2929 instead of continually generating new ones.
2930
2931 * progmodes/cc-engine.el (c-state-old-cpp-beg-marker)
2932 (c-state-old-cpp-end-marker): New variables.
2933 (c-append-lower-brace-pair-to-state-cache): Start a backward
2934 search for "}" definitively outside CPP constructs.
2935 (c-remove-stale-state-cache): Inform the caller of a need to
2936 search back for a brace pair in certain circumstances.
2937 (c-state-maybe-marker): New macro.
2938 (c-parse-state): Reuse markers when appropriate.
2939
2940 2013-01-10 Glenn Morris <rgm@gnu.org>
2941
2942 * simple.el (execute-extended-command): Doc fix.
2943 Bind prefix-arg around read-extended-command, for prompt. (Bug#13395)
2944
2945 2013-01-10 Chong Yidong <cyd@gnu.org>
2946
2947 * faces.el (read-face-name): Doc fix.
2948
2949 2013-01-10 Roland Winkler <winkler@gnu.org>
2950
2951 * emacs-lisp/crm.el: Allow any regexp for separators.
2952 (crm-default-separator): All spaces around the default comma separator.
2953 (crm--completion-command): New macro.
2954 (crm-completion-help, crm-complete, crm-complete-word): Use it.
2955 (crm-complete-and-exit): Handle non-single-char separators.
2956
2957 2013-01-09 Elias Pipping <pipping@lavabit.com>
2958
2959 * doc-view.el: Add support for DjVu (bug#13164).
2960 (doc-view-djvu->png-converter-function): New config var.
2961 (doc-view-single-page-converter-function, doc-view--image-type)
2962 (doc-view--image-file-extension): New vars.
2963 (doc-view-mode): Initialize them.
2964 (doc-view-goto-page): Use them.
2965 (doc-view-mode-p): Add support for ddjvu.
2966 (doc-view-djvu->png-converter-ddjvu, doc-view-djvu->png-1)
2967 (doc-view-set-up-single-converter): New funs.
2968 (doc-view-pdf/ps->png): Extend for djvu.
2969 (doc-view-document->png): Rename from doc-view-pdf->png.
2970 (doc-view-convert-current-doc): Handle djvu.
2971 (doc-view-insert-image, doc-view-display)
2972 (doc-view-already-converted-p): Don't hardcode png.
2973 (doc-view-set-doc-type): Recognize djvu docs.
2974
2975 2013-01-09 Elias Pipping <pipping@lavabit.com>
2976
2977 * doc-view.el: Add support for mupdf converter (bug#13164).
2978 (doc-view-pdfdraw-program, doc-view-pdf->png-converter-function)
2979 (doc-view-ps->png-converter-function): New config vars.
2980 (doc-view-pdf->png-converter-ghostscript)
2981 (doc-view-ps->png-converter-ghostscript)
2982 (doc-view-pdf->png-converter-mupdf): New functions.
2983 (doc-view-pdf/ps->png, doc-view-pdf->png-1): Use them.
2984
2985 2013-01-09 Jürgen Hötzel <juergen@archlinux.org>
2986
2987 * net/tramp.el (tramp-eshell-directory-change): Check remote-path
2988 first in session cache: When `tramp-own-remote-path' is in
2989 `tramp-remote-path', the remote path is only set in the session
2990 cache.
2991
2992 2013-01-09 Glenn Morris <rgm@gnu.org>
2993
2994 * emacs-lisp/trace.el (trace-function-foreground)
2995 (trace-function-background): Doc fix.
2996
2997 2013-01-09 Juri Linkov <juri@jurta.org>
2998
2999 * international/mule-cmds.el (read-char-by-name): Move let-binding
3000 of completion-ignore-case around completing-read to fix regression
3001 exhibited by the test case `C-x 8 RET *acc TAB' and caused by
3002 `string-match-p' using the nil value of `case-fold-search' and
3003 `completion-ignore-case' in `completion-pcm--all-completions'.
3004 (Bug#12615).
3005
3006 2013-01-09 Glenn Morris <rgm@gnu.org>
3007
3008 * progmodes/compile.el (compilation-parse-errors):
3009 Fix typo. (Bug#13369)
3010
3011 2013-01-09 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
3012
3013 * comint.el (comint-send-input): Check size of buffer before
3014 waiting for process output, in case already accepted. (Bug#13290)
3015
3016 2013-01-09 Paul Eggert <eggert@cs.ucla.edu>
3017
3018 Spelling fixes.
3019 * net/tramp-adb.el (tramp-adb-get-toolbox):
3020 Fix misspelling of 'unknown'.
3021
3022 2013-01-08 Juri Linkov <juri@jurta.org>
3023
3024 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
3025 * progmodes/flymake.el (flymake-errline, flymake-warnline):
3026 Use underline style wave on terminals that support it. (Bug#13000)
3027
3028 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
3029
3030 * emacs-lisp/pcase.el (pcase--split-equal): Also take advantage if
3031 the predicate returns nil.
3032
3033 * simple.el: Use lexical-binding.
3034 (primitive-undo): Use pcase.
3035 (minibuffer-history-isearch-push-state): Use a closure.
3036
3037 2013-01-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3038
3039 * simple.el (primitive-undo): Move from undo.c.
3040
3041 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
3042
3043 * vc/pcvs.el (cvs-cleanup-collection): Extend meaning of `rm-handled'.
3044 (cvs-mode-remove-handled): Use it (bug#13380).
3045
3046 * emacs-lisp/nadvice.el (advice--tweak): New function.
3047 (advice--remove-function, advice--subst-main): Use it.
3048
3049 * emacs-lisp/advice.el: Update commentary.
3050
3051 2013-01-08 Michael Albinus <michael.albinus@gmx.de>
3052
3053 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3054 Remove spurious entry.
3055
3056 2013-01-08 Glenn Morris <rgm@gnu.org>
3057
3058 * net/tramp.el (tramp-default-host-alist): Add :version.
3059
3060 2013-01-08 Juri Linkov <juri@jurta.org>
3061
3062 * info.el (Info-read-node-name-2): Don't duplicate suffixes for
3063 single completion. (Bug#12456)
3064 (info--manual-names): Expand node completions into an explicit list
3065 before appending it to another list. Filter out internal buffers
3066 with the leading space in the buffer name. (Bug#10771)
3067
3068 2013-01-08 Juri Linkov <juri@jurta.org>
3069
3070 * info.el (Info-read-node-name-1): Allow empty node name in (FILENAME)
3071 that defaults to the Top node.
3072 (Info-goto-node, Info-read-node-name): Doc fix to mention that
3073 the short format (FILENAME) goes to the Top node.
3074 (Info-build-node-completions): Rename arg `file' to `filename'.
3075 (Bug#13365)
3076
3077 2013-01-07 Bastien Guerry <bzg@gnu.org>
3078
3079 * menu-bar.el (menu-bar-search-documentation-menu):
3080 Use `apropos-user-option' and fix the help message.
3081
3082 2013-01-07 Bastien Guerry <bzg@gnu.org>
3083
3084 * apropos.el (apropos-do-all): Update docstring.
3085 (apropos-user-option-button): New face.
3086 (apropos-user-option): Rename from `apropos-variable' and update
3087 docstring.
3088 (apropos-variable): Rewrite, now show all variables by default.
3089 (apropos-print): Mention "User option" instead of "Variable" when
3090 printing doc for user options. (Bug#13276)
3091
3092 2013-01-07 Jürgen Hötzel <juergen@archlinux.org>
3093
3094 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
3095 Handle filename correctly, when parsing "source -> target" symlink
3096 output.
3097 (tramp-adb-handle-set-file-times): New defun.
3098
3099 2013-01-07 Stefan Monnier <monnier@iro.umontreal.ca>
3100
3101 * emacs-lisp/advice.el (ad-activate-advised-definition): Refresh the
3102 advice list when the interactive-spec of ad-Advice-* changes.
3103
3104 2013-01-07 Katsumi Yamaoka <yamaoka@jpl.org>
3105
3106 * wid-edit.el (widget-default-get): Work for inlined elements.
3107 (Bug#12670)
3108
3109 2013-01-07 Michael Albinus <michael.albinus@gmx.de>
3110
3111 * net/tramp.el (tramp-default-host-alist): New defcustom.
3112 (tramp-find-host): Use it.
3113 (tramp-eshell-directory-change): Move from tramp-sh.el. Add to
3114 `eshell-directory-change-hook'.
3115
3116 * net/tramp-adb.el (top): Add adb specific entry in
3117 `tramp-default-host-alist'.
3118 (tramp-adb-file-name-host): Remove function.
3119 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
3120 Use `tramp-file-name-host' instead of `tramp-adb-file-name-host'.
3121
3122 * net/tramp-sh.el: Move eshell integration code to tramp.el.
3123
3124 2013-01-06 Jürgen Hötzel <juergen@archlinux.org>
3125
3126 * net/tramp-adb.el (tramp-methods): Add `tramp-tmpdir' entry.
3127
3128 2013-01-06 Michael Albinus <michael.albinus@gmx.de>
3129
3130 * net/tramp-adb.el (tramp-adb-ls-toolbox-regexp): The file size can
3131 consist of more than one digit.
3132 (tramp-adb-file-name-handler-alist):
3133 Use `tramp-handle-file-exists-p' consistently.
3134 (tramp-adb-file-name-handler): Don't tweak `tramp-default-host'.
3135 (tramp-adb-handle-file-exists-p): Remove function.
3136 (tramp-adb-file-name-host): New defun.
3137 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
3138 Use it.
3139 (tramp-adb-maybe-open-connection): Set "remote-path" property.
3140
3141 2013-01-06 Chong Yidong <cyd@gnu.org>
3142
3143 * vc/vc.el (vc-next-action): Detect buffer modifications
3144 conflicting with locking VCS operation (Bug#11490).
3145
3146 * vc/vc-hooks.el (vc-after-save): DTRT for locking VCSes.
3147
3148 2013-01-05 Michael Albinus <michael.albinus@gmx.de>
3149
3150 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
3151 (tramp-adb-handle-directory-files-and-attributes): Fix typos.
3152
3153 2013-01-05 Jürgen Hötzel <juergen@archlinux.org>
3154
3155 * net/tramp-adb.el (tramp-adb-handle-file-attributes): More robust
3156 parsing of ls output using regular expression (handle filenames
3157 with spaces). Use virtual device number.
3158 (tramp-do-parse-file-attributes-with-ls): New defun (Code
3159 cleanup).
3160
3161 2013-01-04 Daiki Ueno <ueno@gnu.org>
3162
3163 * epg.el: Silence byte-compiler warnings.
3164 (epg--start): Use delete-char instead of delete-backward-char.
3165 (epg-wait-for-completion): Pass FRAME arg to redraw-frame.
3166
3167 2013-01-04 Daiki Ueno <ueno@gnu.org>
3168
3169 * epg.el (epg--start): Don't call "tty" program on W32 platforms.
3170 Suggested by Eli Zaretskii <eliz@gnu.org>.
3171
3172 2013-01-04 Michael Albinus <michael.albinus@gmx.de>
3173
3174 * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
3175 non-negative integers. Otherwise, the default values are used.
3176 (tramp-convert-file-attributes): Convert uid and gid to integers.
3177
3178 2013-01-04 Glenn Morris <rgm@gnu.org>
3179
3180 * term.el (term-handle-colors-array): Ensure face attributes
3181 are fully specified, not nil. (Bug#13337)
3182
3183 * term.el (term-default-fg-color, term-default-bg-color):
3184 Fix custom type.
3185
3186 * progmodes/etags.el (tags-compression-info-list): Doc fix.
3187 (tag-find-file-of-tag-noselect): Check auto-compression-mode
3188 rather than 'jka-compr being loaded. (Bug#13338)
3189
3190 2013-01-04 Wesley Dawson <whd@lavabit.com> (tiny change)
3191
3192 * icomplete.el (icomplete-completions):
3193 Honor icomplete-prospects-height once more following
3194 2012-11-29 changes. (Bug#13224)
3195
3196 2013-01-04 Stefan Monnier <monnier@iro.umontreal.ca>
3197
3198 * subr.el (internal--called-interactively-p--get-frame): Find aliases
3199 of called-interactively-p as well (bug#13237).
3200
3201 * view.el (view--enable, view--disable): Rename from view-mode-enable
3202 and view-mode-disable and assume it's called from view-mode.
3203 (view-mode-enable, view-mode-disable): Redefine as obsolete
3204 compatibility layer above view-mode.
3205 (view-mode-enter): Call `view-mode'.
3206
3207 * files.el (after-find-file): Call `view-mode'.
3208
3209 * doc-view.el (doc-view-scale-internally): New var.
3210 (doc-view-enlarge, doc-view-insert-image): Obey it.
3211
3212 2013-01-03 Daiki Ueno <ueno@gnu.org>
3213
3214 * epg.el (epg--start): Ignore errors when /dev/fd/0 does not
3215 exist. (Bug#13344)
3216
3217 2013-01-03 Glenn Morris <rgm@gnu.org>
3218
3219 * mail/rmail.el (rmail-set-header-1): Ignore case.
3220 Handle multi-line headers. (Bug#13330)
3221
3222 * progmodes/make-mode.el (makefile-fill-paragraph): Add doc.
3223 Handle paragraph starting at beginning of buffer.
3224
3225 * subr.el (eval-after-load): Don't purecopy the form, so that it
3226 can be nconc'd later on; reverts 2009-11-11 change. (Bug#13331)
3227
3228 * emacs-lisp/byte-run.el (defun): Place cl declarations
3229 after any interactive spec. (Bug#13265)
3230
3231 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
3232
3233 * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
3234 defun. Don't check for DECL if DOCSTRING isn't a string.
3235 (defun): Likewise.
3236
3237 2013-01-02 Glenn Morris <rgm@gnu.org>
3238
3239 * eshell/em-cmpl.el (eshell-pcomplete):
3240 More thoroughly imitate pcomplete. (Bug#13293)
3241
3242 * files.el (parse-colon-path): Doc fix. (Bug#12351)
3243 Return nil for empty path elements. (Bug#13296)
3244
3245 2013-01-02 Fabián Ezequiel Gallina <fgallina@cuca>
3246
3247 * progmodes/python.el (python-nav-end-of-statement): Rewrite in
3248 order to improve efficiency (Based on Daniel Colascione's
3249 <dancol@dancol.org> patch). (Bug#13182)
3250
3251 2013-01-02 Glenn Morris <rgm@gnu.org>
3252
3253 * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
3254
3255 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
3256
3257 * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
3258 neither DOCSTRING nor DECL was given. (Bug#13316)
3259
3260 2013-01-02 Michael Albinus <michael.albinus@gmx.de>
3261
3262 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Add argument to
3263 `error' call.
3264 (tramp-do-copy-or-rename-file): Ignore errors when calling
3265 `set-file-extended-attributes'.
3266
3267 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
3268 Add handler for `file-acl'.
3269 (tramp-smb-handle-file-acl): New defun.
3270
3271 2013-01-02 Jay Belanger <jay.p.belanger@gmail.com>
3272
3273 * calc/README: Mention ISO 8601 week-numbering dates.
3274
3275 2013-01-01 Martin Rudalics <rudalics@gmx.at>
3276
3277 * view.el (view-mode-enable): New argument run-view-mode-hook.
3278 Run view-mode-hook only when it's non-nil (Bug#13315).
3279 (view-mode-enter): Call view-mode-enable with run-view-mode-hook
3280 argument t.
3281
3282 2012-12-31 Jürgen Hötzel <juergen@archlinux.org>
3283
3284 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Handle errors
3285 (No device connected, invalid device name). (Bug #13299)
3286
3287 2012-12-31 Martin Rudalics <rudalics@gmx.at>
3288
3289 * window.el (window-resizable--p): Rename to window-resizable-p.
3290 (window-resize-no-error): New function.
3291
3292 * mail/rmail.el (rmail-maybe-display-summary): Restore behavior
3293 broken in fix from 2012-12-28.
3294
3295 2012-12-31 Stefan Monnier <monnier@iro.umontreal.ca>
3296
3297 * subr.el (special-form-p): Don't signal errors on undef aliases.
3298
3299 2012-12-31 Jay Belanger <jay.p.belanger@gmail.com>
3300
3301 * calc/calc-forms.el (math-parse-date): Try using
3302 `math-parse-iso-date' when it looks like it might be needed.
3303 Allow times of 24:00.
3304 (math-parse-date-validate, math-parse-iso-date-validate): Allow times
3305 of 24:00.
3306
3307 2012-12-30 Glenn Morris <rgm@gnu.org>
3308
3309 * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
3310 Remove unnecessary/buggy autoloads (missing interactive). (Bug#13294)
3311 (rmail-summary-displayed, rmail-summary): Declare.
3312 (mairix-rmail-display): Just require rmail.
3313
3314 2012-12-30 Chong Yidong <cyd@gnu.org>
3315
3316 * emacs-lisp/package.el (package-untar-buffer): Improve integrity
3317 check for the tarball contents.
3318
3319 2012-12-30 Matt Fidler <matt.fidler@alcon.com> (tiny change)
3320
3321 * emacs-lisp/package.el (package-untar-buffer): Handle problematic
3322 tarfile content listings (Bug#13136).
3323
3324 2012-12-30 Mark Lillibridge <mark.lillibridge@hp.com>
3325
3326 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
3327 Insert the undecoded text of the message being forwarded. (Bug#9521)
3328
3329 2012-12-30 Michael Albinus <michael.albinus@gmx.de>
3330
3331 * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
3332 integers, if they are real numbers. (Bug#13282)
3333
3334 * net/tramp-sh.el (tramp-sh-handle-set-file-selinux-context):
3335 Return `t' on success.
3336
3337 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
3338 Add handler for `set-file-selinux-context'.
3339
3340 2012-12-29 Michael Albinus <michael.albinus@gmx.de>
3341
3342 * net/tramp-sh.el (tramp-sh-handle-file-acl): Suppress basic attributes.
3343 (tramp-sh-handle-set-file-acl): Return `t' on success.
3344
3345 2012-12-29 Eli Zaretskii <eliz@gnu.org>
3346
3347 * files.el (backup-buffer-copy, basic-save-buffer-2):
3348 If set-file-extended-attributes fails, fall back on set-file-modes
3349 instead of signaling an error. (Bug#13298)
3350 (basic-save-buffer): Likewise.
3351
3352 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
3353
3354 * progmodes/python.el: Support other commands triggering
3355 python-indent-line so indentation cycling continues to work.
3356 (python-indent-trigger-commands): New defcustom.
3357 (python-indent-line): Use it.
3358
3359 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
3360
3361 * progmodes/python.el (python-shell-send-region): Add blank lines
3362 for non sent code so backtraces remain correct.
3363
3364 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
3365
3366 * progmodes/python.el: Remove cl dependency.
3367 (python-syntax-count-quotes): Replace incf call.
3368 (python-fill-string): Replace setf call.
3369
3370 2012-12-29 Damien Cassou <damien.cassou@gmail.com>
3371
3372 * info.el (info-other-window): New arg, for consistency with info.
3373
3374 2012-12-28 Martin Rudalics <rudalics@gmx.at>
3375
3376 * mail/rmail.el (rmail-maybe-display-summary):
3377 Rewrite (Bug#13066).
3378
3379 2012-12-28 Andreas Schwab <schwab@linux-m68k.org>
3380
3381 * epg.el (epg--start): Modify process-environment locally.
3382
3383 2012-12-28 Daiki Ueno <ueno@gnu.org>
3384
3385 * epg.el: Support pinentry-curses.
3386 Suggested by Werner Koch in
3387 <http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00755.html>.
3388 (epg-agent-file, epg-agent-mtime): New variable.
3389 (epg--start): Record the modified time of gpg-agent socket file,
3390 to restore Emacs frame after pinentry-curses termination.
3391 (epg-wait-for-completion): Restore Emacs frame here.
3392
3393 2012-12-27 Juri Linkov <juri@jurta.org>
3394
3395 * info.el (Info-file-completions): New variable.
3396 (Info-read-node-name-1): Complete node names in the Info file
3397 when a file name is given. Call `Info-build-node-completions'
3398 with a file name.
3399 (Info-build-node-completions): Add new arg `file'. When it is
3400 non-nil, visit it in a temporary buffer and cache its completions in
3401 `Info-current-file-completions'. Move most of the function body to
3402 `Info-build-node-completions-1'.
3403 (Info-build-node-completions-1): New function with the body from
3404 `Info-build-node-completions'. (Bug#12456)
3405
3406 2012-12-27 Juri Linkov <juri@jurta.org>
3407
3408 * frame.el (frame-maximization-style): Remove user option.
3409 (cycle-frame-maximized): Remove function.
3410 (toggle-frame-maximized): Rewrite and bind to M-<f10>.
3411 (toggle-frame-fullscreen): New command bound to <f11> instead of
3412 `toggle-frame-maximized'.
3413 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html
3414
3415 2012-12-27 Michael Albinus <michael.albinus@gmx.de>
3416
3417 * net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.
3418
3419 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3420 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3421 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
3422 for `file-accessible-directory-p'. (Bug#13275)
3423
3424 2012-12-27 Sam Steingold <sds@gnu.org>
3425
3426 * progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
3427 continuations, see <http://stackoverflow.com/questions/3582436>.
3428
3429 2012-12-27 Dmitry Gutov <dgutov@yandex.ru>
3430
3431 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
3432 "module" and "def" to have indentation before them.
3433 Regression from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).
3434
3435 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
3436
3437 2012-12-27 Alan Mackenzie <acm@muc.de>
3438
3439 Speed up fontification where there's large brace blocks.
3440 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
3441 to a call of c-beginning-of-decl-1.
3442
3443 2012-12-27 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
3444
3445 * comint.el (comint-adjust-window-point): New function.
3446 (comint-postoutput-scroll-to-bottom):
3447 Call comint-adjust-window-point (Bug#13248).
3448
3449 2012-12-26 Dmitry Gutov <dgutov@yandex.ru>
3450
3451 * progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
3452 Rakefile regexp.
3453 (auto-mode-alist): Associate .gemspec files with ruby-mode
3454 (https://bugs.ruby-lang.org/issues/5453).
3455
3456 2012-12-26 Jürgen Hötzel <juergen@archlinux.org>
3457
3458 * net/tramp-adb.el (tramp-adb-get-ls-command): New defun.
3459 Suppress coloring, if possible (required for BusyBox based systems like
3460 CyanogenMod).
3461 (tramp-adb-handle-file-attributes)
3462 (tramp-adb-handle-insert-directory)
3463 (tramp-adb-handle-file-name-all-completions): Use it.
3464 (tramp-adb-get-toolbox): New defun. Check for remote shell
3465 implementation (BusyBox or Toolbox).
3466
3467 2012-12-24 Constantin Kulikov <zxnotdead@gmail.com> (tiny change)
3468
3469 * startup.el (initial-buffer-choice): Allow function as value
3470 (Bug#13251).
3471 (command-line-1): Handle case where initial-buffer-choice
3472 specifies a function.
3473 * server.el (server-execute): Handle case where
3474 initial-buffer-choice specifies a function.
3475
3476 2012-12-24 Lars Ingebrigtsen <larsi@gnus.org>
3477
3478 * mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
3479 its own function.
3480 (smtpmail-try-auth-methods): Forget the user name/password if the
3481 login is unsuccessful (bug#12424).
3482
3483 2012-12-22 Michael Albinus <michael.albinus@gmx.de>
3484
3485 * notifications.el (notifications-notify): Protect body with
3486 `with-demoted-errors'.
3487
3488 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3489 Check properties of remote device. Restart connection, if there is a
3490 change.
3491
3492 2012-12-21 Chong Yidong <cyd@gnu.org>
3493
3494 * sort.el (sort-subr): Doc fix (Bug#13056).
3495
3496 2012-12-21 Bastien Guerry <bzg@gnu.org>
3497
3498 * progmodes/etags.el (tags-search): Fix typo. Bug #13232.
3499
3500 2012-12-21 Michael Albinus <michael.albinus@gmx.de>
3501
3502 * simple.el (process-file): Overwrite stderr file, if exists.
3503
3504 2012-12-21 Daiki Ueno <ueno@gnu.org>
3505
3506 * epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
3507 (epg-error): Set `error-message' property.
3508
3509 2012-12-21 Chong Yidong <cyd@gnu.org>
3510
3511 * international/mule-cmds.el (read-char-by-name): Signal an error
3512 if the user does not supply a valid character (Bug#13177).
3513
3514 * simple.el (transpose-subr-1): Preserve marker positions by
3515 changing the insertion sequence (Bug#13122).
3516
3517 2012-12-21 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
3518
3519 * simple.el (kill-region): Deactivate mark even for empty regions
3520 (Bug#13169).
3521
3522 2012-12-21 Chong Yidong <cyd@gnu.org>
3523
3524 * help-fns.el (describe-variable): Make sure we get the right
3525 buffer name (Bug#13105). Suggested by Kelly Dean.
3526
3527 2012-12-20 Michael R. Mauger <mmaug@yahoo.com>
3528
3529 * comint.el (comint-redirect-previous-input-string): New variable.
3530 (comint-redirect-setup, comint-redirect-cleanup)
3531 (comint-redirect-preoutput-filter): Use it. Fixes redirection bug.
3532 (comint-redirect-preoutput-filter): Fix verbose message.
3533
3534 2012-12-20 Michael Albinus <michael.albinus@gmx.de>
3535
3536 * progmodes/grep.el (rgrep): Escape command line. Sometimes, it
3537 is too long for Tramp. See discussion in
3538 <http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.
3539
3540 * progmodes/compile.el (compilation-start): Remove line escape
3541 template.
3542
3543 2012-12-20 Dmitry Antipov <dmantipov@yandex.ru>
3544
3545 * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
3546 Adjust comment.
3547
3548 2012-12-19 Jonas Bernoulli <jonas@bernoul.li>
3549
3550 * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
3551 following non-comment text (bug#13207).
3552 (lm-header-multiline): Continuation lines need to be indented more than
3553 the first line.
3554 (lm-homepage): New function.
3555 (lm-with-file): Don't be confused if narrowing is in effect.
3556
3557 2012-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
3558
3559 * vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
3560 very beginning of a hunk (e.g. killing the first line).
3561
3562 2012-12-19 Michael Albinus <michael.albinus@gmx.de>
3563
3564 * net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
3565 and text properties from returned ACL string.
3566 (tramp-sh-handle-set-file-acl): Do not use additional parentheses
3567 for "setfacl" command.
3568
3569 2012-12-18 Michael Albinus <michael.albinus@gmx.de>
3570
3571 * net/tramp.el (tramp-error-with-buffer): Give a hint to use
3572 `tramp-cleanup-this-connection', when the process has died.
3573 (Bug#13151)
3574
3575 2012-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
3576
3577 * icomplete.el (icomplete-completions): Also use … to truncate prefix.
3578
3579 2012-12-17 Kevin Ryde <user42@zip.com.au>
3580
3581 * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
3582
3583 2012-12-17 Michael Albinus <michael.albinus@gmx.de>
3584
3585 Add support for preserving ACL entries of files.
3586
3587 * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
3588 `set-file-acl' handlers.
3589
3590 * net/tramp-adb.el (tramp-adb-handle-copy-file):
3591 Handle PRESERVE-EXTENDED-ATTRIBUTES.
3592
3593 * net/tramp-compat.el (tramp-compat-copy-file):
3594 Handle PRESERVE-EXTENDED-ATTRIBUTES.
3595
3596 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3597 Add `file-acl' and `set-file-acl' handlers.
3598 (tramp-gvfs-handle-copy-file):
3599 Handle PRESERVE-EXTENDED-ATTRIBUTES.
3600 (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
3601 New defuns.
3602
3603 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3604 Add `file-acl' and `set-file-acl' handlers.
3605 (tramp-remote-acl-p, tramp-sh-handle-file-acl)
3606 (tramp-sh-handle-set-file-acl): New defuns.
3607 (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
3608 Handle PRESERVE-EXTENDED-ATTRIBUTES.
3609
3610 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
3611 Add `file-acl' and `set-file-acl' handlers.
3612 (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
3613
3614 2012-12-17 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
3615
3616 * help-macro.el (make-help-screen): Instead of switch-to-buffer
3617 use pop-to-buffer with NORECORD argument t. As buffer name, use
3618 *Metahelp* with a leading space (Bug#13190).
3619
3620 2012-12-16 Romain Francoise <romain@orebokech.com>
3621
3622 * files.el (file-extended-attributes)
3623 (set-file-extended-attributes): New functions.
3624 (backup-buffer): Use them to handle both SELinux context and ACL
3625 entries.
3626 (backup-buffer-copy): Work with an alist of extended attributes,
3627 rather than an SELinux context.
3628 (basic-save-buffer-2): Ditto.
3629
3630 2012-12-16 Timo Myyrä <timo.myyra@gmail.com>
3631
3632 * battery.el (battery-bsd-apm): New function.
3633
3634 2012-12-16 Jay Belanger <jay.p.belanger@gmail.com>
3635
3636 * calc/calc.el (calc-standard-date-formats): Adjust one of the
3637 standard date formats.
3638
3639 2012-12-15 Juri Linkov <juri@jurta.org>
3640
3641 * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
3642 `isearch-insert-char-by-name'.
3643 (with-isearch-suspended): New defmacro with body mostly from
3644 `isearch-edit-string' except the part that sets
3645 `isearch-new-string' and `isearch-new-message'.
3646 (isearch-edit-string): Use new macro `with-isearch-suspended' with
3647 body that sets `isearch-new-string' and `isearch-new-message'.
3648 (isearch-insert-char-by-name): New command.
3649 * international/mule-cmds.el (read-char-by-name): Let-bind
3650 `enable-recursive-minibuffers' to t.
3651 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
3652
3653 2012-12-15 Juri Linkov <juri@jurta.org>
3654
3655 * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
3656 (Bug#13175)
3657
3658 2012-12-15 Christopher Schmidt <christopher@ch.ristopher.com>
3659
3660 * dired-x.el (dired-guess-shell-command): Put colon at the end of
3661 the prompt. (Bug#13045)
3662
3663 2012-12-14 Glenn Morris <rgm@gnu.org>
3664
3665 * emacs-lisp/macroexp.el (macroexp--warn-and-return):
3666 Try to include filename in non-bytecomp warning. (Bug#13132)
3667
3668 2012-12-14 Paul Eggert <eggert@cs.ucla.edu>
3669
3670 Fix permissions bugs with setgid directories etc. (Bug#13125)
3671 * files.el (backup-buffer): Don't rely on 9th output of
3672 file-attributes, as it's now a placeholder. Instead, use the new
3673 optional arg of file-ownership-preserved-p.
3674 (file-ownership-preserved-p): New optional arg GROUP.
3675 Fix mishandling of setuid directories that would cause this
3676 function to return t when it should have returned nil.
3677 Document what happens if the file does not exist, and when
3678 it's not known whether the ownership will be preserved.
3679 * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
3680 Likewise.
3681 (tramp-get-local-gid): Use group-gid for integer, as that's
3682 faster and more reliable.
3683
3684 2012-12-14 Julien Danjou <julien@danjou.info>
3685
3686 * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
3687 Update keywords list, data type and PL/pgSQL.
3688
3689 2012-12-14 Dave Abrahams <dave@boostpro.com>
3690
3691 * vc/ediff-util.el (ediff-buffer-type): New function.
3692 (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
3693 rather than taking it as as argument.
3694 (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
3695
3696 2012-12-14 Ryan Crum <ryan.crum@eleostech.com>
3697
3698 * json.el: Add pretty-print option (bug#12634).
3699 (json-encoding-separator, json-encoding-default-indentation)
3700 (json--encoding-current-indentation, json-encoding-pretty-print)
3701 (json-encoding-lisp-style-closings): New vars.
3702 (json--with-indentation): New macro.
3703 (json-encode-hash-table, json-encode-alist, json-encode-plist)
3704 (json-encode-array): Use it to obey json-encoding-pretty-print.
3705 (json-pretty-print-buffer, json-pretty-print): New commands.
3706
3707 2012-12-14 Dmitry Gutov <dgutov@yandex.ru>
3708
3709 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
3710 Extract `ruby-syntax-propertize-expansions'.
3711 (ruby-syntax-propertize-expansions): Only change syntax on
3712 certain string delimiters, to punctuation. This way the common
3713 functions like forward-word and thing-at-point still work.
3714 (ruby-match-expression-expansion): Improve readability.
3715 (ruby-block-contains-point): New function.
3716 (ruby-add-log-current-method): Handle several edge cases.
3717
3718 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
3719
3720 * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
3721 unload-feature finishes even when aborting an ongoing edebug session.
3722 Also, do not worry about edebug-mode, unload-feature takes care of it.
3723
3724 2012-12-13 Andreas Schwab <schwab@suse.de>
3725
3726 * net/tls.el (tls-program): Update customize type.
3727
3728 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
3729
3730 * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
3731 (edebug-setup-hook, cl-read-load-hooks): Use it.
3732 (edebug-unload-function): New function. (Bug#13163)
3733
3734 2012-12-13 Michael Albinus <michael.albinus@gmx.de>
3735
3736 * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
3737 Otherwise, there could be errors in autoloading. (Bug#13151)
3738
3739 2012-12-13 Jürgen Hötzel <juergen@archlinux.org>
3740
3741 * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
3742 sequences.
3743
3744 2012-12-13 Alan Mackenzie <acm@muc.de>
3745
3746 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
3747 * progmodes/cc-engine.el (c-backward-comments): Add code to work
3748 around `forward-comment' not recognizing ^M as whitespace.
3749
3750 2012-12-13 Fabián Ezequiel Gallina <fgallina@cuca>
3751
3752 * progmodes/python.el (python-skeleton-class)
3753 (python-skeleton-def): Do not add space after defun name.
3754
3755 2012-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
3756
3757 * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
3758 (cl--symbol-function): Remove (now that funbound is like nil).
3759
3760 2012-12-12 Glenn Morris <rgm@gnu.org>
3761
3762 * button.el (button--area-button-p): Fix typo.
3763
3764 2012-12-12 Sam Steingold <sds@gnu.org>
3765
3766 * frame.el (frame-maximization-style): New user option.
3767 (toggle-frame-maximized): Toggle frame maximization according to
3768 `frame-maximization-style', bound to <f11>.
3769 (cycle-frame-maximized): Cycle between all maximization styles and
3770 non-maximized frame, bound to shift-<f11>.
3771
3772 2012-12-12 David Cadé <codename68@gmail.com>
3773
3774 * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
3775
3776 2012-12-12 Jonas Bernoulli <jonas@bernoul.li>
3777
3778 * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
3779 (eieio-override-prin1): Don't quote kewords and booleans.
3780 (object-write) <eieio-default-superclass>: Don't put closing parens
3781 on new line, avoid needless empty lines, align values that are objects
3782 with the slot keyword (instead of beginning on the same line).
3783 (eieio-list-prin1): Align value with slot keyword; increase
3784 eieio-print-depth before printing members of the list.
3785
3786 2012-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
3787
3788 * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
3789 a display text-property.
3790 (report-emacs-bug-hook): Don't bother deleting it any more.
3791
3792 * hilit-chg.el (highlight-save-buffer-state): Delete.
3793 Use with-silent-modifications instead.
3794 (hilit-chg-set-face-on-change): Only fixup the text that's modified.
3795
3796 * button.el: Handle buttons in display text-properties.
3797 (button--area-button-p, button--area-button-string):
3798 Use (STRING . STRING-POS) representation instead of just STRING.
3799
3800 2012-12-11 Eli Zaretskii <eliz@gnu.org>
3801
3802 * makefile.w32-in (compile4-SH): Fix a typo that caused term
3803 subdirectory be skipped.
3804
3805 2012-12-11 Glenn Morris <rgm@gnu.org>
3806
3807 * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
3808
3809 * progmodes/f90.el (f90-line-continued, f90-indent-region):
3810 Treat preprocessor lines embedded in continuations like comments.
3811 (f90-indent-line): Special-case preprocessor lines. (Bug#13138)
3812
3813 2012-12-11 Jay Belanger <jay.p.belanger@gmail.com>
3814
3815 * calc/calc.el (calc-standard-date-formats): Add more date
3816 formats.
3817 * calc/calc-forms.el (math-parse-iso-date): New function.
3818 (math-parse-date): Use `math-parse-iso-date' when appropriate.
3819 (math-parse-iso-date-validate): Add extra error checking.
3820 (calc-date-notation): Add ability to access new date formats.
3821
3822 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
3823
3824 * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
3825 font-lock as well as when there's no text-property.
3826
3827 2012-12-10 Jambunathan K <kjambunathan@gmail.com>
3828
3829 * hi-lock.el: Refine the choice of default face.
3830 (hi-lock-keyword->face): New function. Use it wherever we used
3831 cadadadr instead.
3832 (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
3833 (hi-lock--last-face): Remove var.
3834 (hi-lock--unused-faces): New var to replace it.
3835 (hi-lock-read-face-name): Use/maintain it.
3836 (hi-lock-unface-buffer): Maintain it. Fix error for the C-u case.
3837 (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
3838 if it has another face.
3839
3840 2012-12-10 Eli Zaretskii <eliz@gnu.org>
3841
3842 * subr.el (w32notify-handle-event): New function.
3843 (inotify-handle-event): Doc fix.
3844
3845 2012-12-10 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3846
3847 * subr.el (inotify-event-p, inotify-handle-event): New functions.
3848
3849 2012-12-10 Dani Moncayo <dmoncayo@gmail.com>
3850
3851 * simple.el (just-one-space): Doc fix.
3852
3853 2012-12-10 Eli Zaretskii <eliz@gnu.org>
3854
3855 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
3856
3857 2012-12-10 Le Wang <l26wang@gmail.com>
3858
3859 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
3860 narrowed buffer (bug#12361).
3861
3862 2012-12-10 Juanma Barranquero <lekktu@gmail.com>
3863
3864 * vc/vc-hooks.el (vc-state): Doc fix.
3865
3866 2012-12-10 Glenn Morris <rgm@gnu.org>
3867
3868 * mail/rmail.el (rmail-maybe-display-summary):
3869 Preserve buffer, in case select-window changes it. (Bug#13066)
3870
3871 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
3872
3873 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
3874 cl-load-hook where they belong.
3875
3876 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
3877
3878 * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
3879
3880 2012-12-09 Eli Zaretskii <eliz@gnu.org>
3881
3882 Parallelize byte compilation on MS-Windows.
3883 * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
3884 (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
3885 (WINS_BASIC): Define as concatenation of the above.
3886 (compile): Subdivide into 4 separate and independent jobs that can
3887 be run in parallel.
3888 (compile0-CMD, compile0-SH): New targets for compiling
3889 COMPILE_FIRST files, which are prerequisites for the rest of the
3890 byte-compilation.
3891 (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
3892 New targets for parallel compilation with cmd.exe.
3893 (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
3894 compiling under a Unixy shell.
3895
3896 2012-12-09 Chong Yidong <cyd@gnu.org>
3897
3898 * simple.el (set-mark-default-inactive): Delete this
3899 accidentally-introduced option.
3900 (set-mark-command, exchange-point-and-mark): Remove calls.
3901
3902 2012-12-09 Glenn Morris <rgm@gnu.org>
3903
3904 * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
3905 Respect a defcustom's :set function, if appropriate. (Bug#109)
3906 (eval-defun): Doc fix.
3907
3908 2012-12-08 Juri Linkov <juri@jurta.org>
3909
3910 * info.el (Info-copy-current-node-name, Info-breadcrumbs)
3911 (Info-fontify-node, Info-bookmark-make-record): Remove the
3912 file extension from Info-current-file (Bug#13016).
3913
3914 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
3915
3916 * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
3917 point, still provide some default.
3918 (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
3919 names, since we don't use it right now. Actually return the list.
3920 (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
3921
3922 2012-12-07 Chong Yidong <cyd@gnu.org>
3923
3924 * novice.el (disabled-command-function): Remove a spurious help
3925 xref (Bug#13043). Suggested by Kelly Dean.
3926
3927 * subr.el (text-clone-maintain): Fix clone overlay deletion when a
3928 syntax is specified (Bug#13025).
3929
3930 * info.el (Info-set-mode-line): Remove the file extension from
3931 Info-current-file if there is one (Bug#13016).
3932
3933 2012-12-07 Glenn Morris <rgm@gnu.org>
3934
3935 * mail/rmail.el (rmail-mime-decoded): New permanent local.
3936 (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
3937 * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
3938 and rmail-mime-decoded. (Bug#9841)
3939
3940 * mail/unrmail.el (unrmail-mbox-format): New option. (Bug#6574)
3941 (batch-unrmail, unrmail): Doc fixes.
3942 (unrmail): Respect unrmail-mbox-format.
3943 * mail/rmail.el (rmail-mbox-format): New option.
3944 (rmail-show-message-1): Respect rmail-mbox-format.
3945
3946 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
3947
3948 * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
3949
3950 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3951
3952 Further cleanup of the "cl-" namespace. Fit CL in 80 columns.
3953 * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
3954 (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
3955 (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
3956 (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
3957 (cl-progv): Don't rely on dynamic scoping to find the body.
3958 * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
3959 (cl--proclaims-deferred): Rename from the "cl-" prefix.
3960 (cl-declaim): Use backquotes.
3961 * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
3962 Use "cl--" prefix for the object's tag.
3963
3964 * ses.el: Use advice-add/remove.
3965 (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
3966 (copy-region-as-kill, yank): Use advice-add.
3967 (ses-unload-function): Use advice-remove.
3968
3969 2012-12-06 Jonas Bernoulli <jonas@bernoul.li>
3970
3971 * button.el: Make them work in header-lines (bug#12817).
3972 (button-map): Add bindings for header-line and mode-line use.
3973 (button-get, button-put, button-label): `button' may now be a string.
3974 (button-activate): Don't make it a defsubst.
3975 (button--area-button-p, button--area-button-string): New functions.
3976 (make-text-button): Fix the return value when `beg' was a string.
3977 (push-button): Handle the mode-line case.
3978
3979 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3980
3981 * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
3982 (sql-signum): Remove. Use `cl-signum' instead.
3983 (sql-read-passwd): Remove; use read-passwd instread.
3984 (sql-get-login-ext): Use read-string.
3985 (sql-get-login): Use dolist and pcase.
3986 (sql--completion-table): Rename from sql-try-completion.
3987 Use complete-with-action.
3988 (sql-mode): Don't change abbrev-all-caps globally.
3989 (sql-connect): Don't rely on dynamic scoping for `new-name'.
3990 (sql-postgres-completion-object): Initialize vars in their `let'.
3991 (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
3992 (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
3993 (sql-comint-interbase): Use a single append, without setq.
3994 (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
3995
3996 * hi-lock.el: Rework the default face and the serialize regexp code.
3997 (hi-lock--auto-select-face-defaults): Remove.
3998 (hi-lock-string-serialize-serial): Remove.
3999 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
4000 make weak.
4001 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
4002 equal string.
4003 (hi-lock-set-pattern): Adjust accordingly.
4004 (hi-lock--regexps-at-point): Simplify accordingly.
4005 (hi-lock--auto-select-face-defaults): Remove.
4006 (hi-lock--last-face): New var to replace it.
4007 (hi-lock-read-face-name): Rewrite (bug#11095).
4008 (hi-lock-unface-buffer): Arrange for the face to be the next default.
4009
4010 2012-12-06 Michael Albinus <michael.albinus@gmx.de>
4011
4012 * net/tramp.el (tramp-replace-environment-variables):
4013 Hide compiler warning.
4014 (tramp-file-name-for-operation): Remove `executable-find',
4015 `start-process', `call-process' and `call-process-region'.
4016
4017 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
4018
4019 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
4020 compatibility.
4021
4022 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
4023
4024 2012-12-06 Chong Yidong <cyd@gnu.org>
4025
4026 * ffap.el (ffap-replace-file-component): Fix typo.
4027
4028 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
4029
4030 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
4031 fix open-paren-like token test (bug#12785).
4032
4033 2012-12-06 Glenn Morris <rgm@gnu.org>
4034
4035 * mail/rmailsum.el (rmail-new-summary): Tweak for
4036 rmail-maybe-display-summary changing buffer. (Bug#13066)
4037
4038 2012-12-06 Juri Linkov <juri@jurta.org>
4039
4040 * info.el (Info-fontify-node): Don't hide the last newline.
4041 (Bug#12272)
4042
4043 2012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
4044
4045 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
4046 so as to enable message-read-from-minibuffer to expand mail aliases.
4047
4048 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
4049
4050 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
4051 the `intangible' property.
4052 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
4053
4054 2012-12-05 Deniz Dogan <deniz@dogan.se>
4055
4056 * net/rcirc.el (rcirc-urls): Update documentation.
4057 (rcirc-condition-filter): New function.
4058 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
4059 and exclude consecutive duplicate URLs (Bug#6082).
4060
4061 2012-12-05 Michael Albinus <michael.albinus@gmx.de>
4062
4063 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
4064 Check return code of copy command.
4065
4066 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
4067 Use group `tramp'. Add version.
4068
4069 2012-12-05 Chong Yidong <cyd@gnu.org>
4070
4071 * ffap.el (ffap-url-regexp): Don't require matching at front of
4072 string (Bug#4952).
4073 (ffap-url-p): If only a substring matches, return that.
4074 (ffap-url-at-point): Use the return value of ffap-url-p.
4075 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
4076 (find-file-at-point, dired-at-point, dired-at-point-prompter)
4077 (ffap-guess-file-name-at-point): Likewise.
4078 (ffap-replace-file-component): Fix typo.
4079
4080 * info.el (info-display-manual): Add existing Info buffers, whose
4081 files may not be in Info-directory-list, to the completion.
4082 (info--manual-names): New helper function.
4083
4084 2012-12-05 Glenn Morris <rgm@gnu.org>
4085
4086 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
4087 New functions, for detecting and resolving conflicts. (Bug#10709)
4088
4089 2012-12-04 Jambunathan K <kjambunathan@gmail.com>
4090
4091 * hi-lock.el (hi-lock-auto-select-face): New user variable.
4092 (hi-lock-auto-select-face-defaults): New buffer local variable.
4093 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
4094 (hi-lock-unface-buffer): Prompt user with useful defaults.
4095 With prefix arg, unhighlight all hi-lock patterns in buffer.
4096
4097 2012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
4098
4099 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
4100
4101 2012-12-04 Michael Albinus <michael.albinus@gmx.de>
4102
4103 * Makefile.in (TRAMP_SRC):
4104 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
4105
4106 2012-12-04 Juergen Hoetzel <juergen@archlinux.org>
4107
4108 * net/tramp-adb.el: New package.
4109
4110 2012-12-04 Chong Yidong <cyd@gnu.org>
4111
4112 * terminal.el: Move to obsolete/.
4113
4114 * longlines.el: Move to obsolete/.
4115
4116 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
4117 Remove code referring to longlines mode.
4118
4119 2012-12-03 Juri Linkov <juri@jurta.org>
4120
4121 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
4122
4123 2012-12-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4124
4125 * textmodes/ispell.el (ispell-init-process)
4126 (ispell-start-process, ispell-internal-change-dictionary):
4127 Make sure personal dictionary name is expanded after initial
4128 `default-directory' value. Use expanded strings for
4129 keep/restart checks and for value (Bug#13019).
4130
4131 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
4132
4133 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
4134
4135 2012-12-03 Leo Liu <sdl.web@gmail.com>
4136
4137 * files.el (dir-locals-read-from-file): Check file non-empty
4138 before reading. (Bug#13038)
4139
4140 2012-12-03 Glenn Morris <rgm@gnu.org>
4141
4142 * jka-cmpr-hook.el (jka-compr-get-compression-info):
4143 Remove any version extension before checking filename. (Bug#13006)
4144 (jka-compr-compression-info-list): Belated :version bump.
4145
4146 2012-12-03 Chong Yidong <cyd@gnu.org>
4147
4148 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
4149
4150 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
4151 (buffer-menu): Doc fix (Bug#12294).
4152
4153 2012-12-03 Roland Winkler <winkler@gnu.org>
4154
4155 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
4156 of diary-show-all-entries in the diary buffer (Bug#12994).
4157
4158 2012-12-03 Michael Albinus <michael.albinus@gmx.de>
4159
4160 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
4161 "<STDIN>". This is binary safe.
4162
4163 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
4164
4165 * calc/calc-forms.el (math-absolute-from-iso-dt)
4166 (math-date-to-iso-dt, math-parse-iso-date-validate)
4167 (math-iso-dt-to-date): New functions.
4168 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
4169 (math-fd-isoweekday): New variables.
4170 (calc-date-notation, math-parse-standard-date, math-format-date)
4171 (math-format-date-part): Add support for more formatting codes.
4172
4173 2012-12-02 Dmitry Gutov <dgutov@yandex.ru>
4174
4175 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
4176 current buffer's file name when called interactively (Bug#12488).
4177
4178 2012-12-02 Juri Linkov <juri@jurta.org>
4179
4180 * info.el (info-display-manual): Don't clobber an existing Info
4181 buffer (Bug#10770). Add completion (Bug#10771).
4182
4183 2012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
4184
4185 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
4186 before using it for comparison (Bug#5297).
4187
4188 2012-12-01 Jari Aalto <jari.aalto@cante.net>
4189
4190 * textmodes/css-mode.el (css-current-defun-name): New function.
4191 (css-mode): Use it.
4192
4193 * textmodes/sgml-mode.el (html-current-defun-name): New function.
4194 (html-mode): Use it.
4195
4196 2012-12-01 Chong Yidong <cyd@gnu.org>
4197
4198 Modularize add-log-current-defun (Bug#2224).
4199 Suggested by Jari Aalto.
4200
4201 * vc/add-log.el (add-log-current-defun-function): Doc fix.
4202 (add-log-current-defun): Move mode-specific code to other files.
4203 (add-log-lisp-like-modes, add-log-c-like-modes)
4204 (add-log-tex-like-modes): Variables deleted.
4205
4206 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
4207 (lisp-mode-variables): Use it.
4208
4209 * progmodes/cc-mode.el (c-common-init):
4210 * progmodes/cperl-mode.el (cperl-mode): Set a value for
4211 add-log-current-defun-function.
4212
4213 * progmodes/m4-mode.el (m4-current-defun-name): New function.
4214 (m4-mode): Use it.
4215
4216 * progmodes/perl-mode.el (perl-current-defun-name): New.
4217 (perl-mode): Use it.
4218
4219 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
4220 Use lisp-current-defun-name.
4221
4222 * textmodes/tex-mode.el (tex-current-defun-name): New.
4223 (tex-common-initialization): Use it.
4224
4225 * textmodes/texinfo.el (texinfo-current-defun-name): New.
4226 (texinfo-mode): Use it.
4227
4228 2012-12-01 Chong Yidong <cyd@gnu.org>
4229
4230 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
4231 * progmodes/autoconf.el (autoconf-mode):
4232 * progmodes/js.el (js-mode):
4233 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
4234 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
4235 * progmodes/perl-mode.el (perl-mode):
4236 * progmodes/sh-script.el (sh-mode, sh-set-shell):
4237 * textmodes/css-mode.el (css-mode):
4238 * textmodes/sgml-mode.el (html-mode, sgml-mode)
4239 (sgml-tags-invisible, sgml-guess-indent):
4240 * textmodes/tex-mode.el (tex-common-initialization)
4241 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
4242 (doctex-mode, plain-tex-mode, latex-mode):
4243 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
4244
4245 2012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
4246
4247 * vc/vc-hg.el (vc-hg-next-revision):
4248 Ensure use of default "tip" output format. (Bug#6968)
4249
4250 2012-12-01 Kim F. Storm <storm@cua.dk>
4251
4252 * startup.el (fancy-startup-tail): Add a clickable link
4253 (Bug#2176).
4254
4255 2012-12-01 Chong Yidong <cyd@gnu.org>
4256
4257 * startup.el (fancy-startup-tail): Improve the message about
4258 auto-save files (Bug#2176).
4259
4260 * files.el (recover-session): Improve the descriptive message, and
4261 use substitute-command-keys.
4262
4263 2012-12-01 Glenn Morris <rgm@gnu.org>
4264
4265 * ido.el (ido-file-internal):
4266 Handle other-window, other-frame for dired. (Bug#13036)
4267
4268 2012-11-30 Glenn Morris <rgm@gnu.org>
4269
4270 * icomplete.el (icomplete-separator): Fix :version.
4271
4272 2012-11-30 Chong Yidong <cyd@gnu.org>
4273
4274 * shell.el (shell): For C-u M-x shell, use an inactive shell
4275 buffer as the default (Bug#1975).
4276 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
4277 (shell-mode): Use them to reapply ansi colorization if Shell mode
4278 is re-enabled.
4279
4280 2012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
4281
4282 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
4283
4284 2012-11-30 Samuel Bronson <naesten@gmail.com>
4285
4286 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
4287 flag to xargs, for compatibility with BSD xargs (Bug#11703).
4288
4289 2012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
4290
4291 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
4292 by move-to-column (Bug#3234).
4293
4294 2012-11-30 Chong Yidong <cyd@gnu.org>
4295
4296 * longlines.el (longlines-wrap-line, longlines-encode-region):
4297 Preserve text properties (Bug#1425).
4298
4299 2012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
4300
4301 * vc/vc.el (vc-register): Allow registering a file which is
4302 already registered with a different backend (Bug#10589).
4303
4304 2012-11-29 Jambunathan K <kjambunathan@gmail.com>
4305 Stefan Monnier <monnier@iro.umontreal.ca>
4306
4307 * icomplete.el: Change separator; add ido-style commands.
4308 (icomplete-show-key-bindings): Remove custom var.
4309 (icomplete-get-keys): Remove function.
4310 (icomplete-forward-completions, icomplete-backward-completions):
4311 New commands.
4312 (icomplete-minibuffer-map): New var.
4313 (icomplete-minibuffer-setup): Use it.
4314 (icomplete-exhibit): Don't delay if the list of completions is known.
4315 (icomplete-separator): New custom.
4316 (icomplete-completions): Use it.
4317 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
4318 (minibuffer-force-complete-and-exit): New command.
4319 (minibuffer--complete-and-exit): New function extracted from
4320 minibuffer-complete-and-exit.
4321 (minibuffer-complete-and-exit): Use it.
4322
4323 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
4324 error message when the file doesn't exist (bug#12974).
4325
4326 2012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
4327
4328 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
4329
4330 2012-11-29 Glenn Morris <rgm@gnu.org>
4331
4332 * files.el (hack-dir-local-variables): Warn if try to set
4333 coding via dir-locals, since it doesn't work. (Bug#7169)
4334
4335 Add desktop support for restoring vc-dir buffers. (Bug#10606)
4336 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
4337 Set buffer-local value of desktop-save-buffer.
4338 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
4339 New functions.
4340 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
4341 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
4342
4343 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
4344 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
4345 Doc fix.
4346 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
4347 Doc fixes.
4348
4349 2012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
4350
4351 * calc/calc-forms.el (calc-date-notation): Fix regexp
4352 used to find time codes. Fix symbol for seconds.
4353
4354 2012-11-27 Glenn Morris <rgm@gnu.org>
4355
4356 * emacs-lisp/derived.el (derived-mode-make-docstring):
4357 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
4358
4359 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
4360
4361 * textmodes/table.el (table-insert): Don't use `symbol-name' on
4362 lexically scoped variables (bug#13005).
4363
4364 2012-11-27 Glenn Morris <rgm@gnu.org>
4365
4366 * vc/vc-hooks.el (vc-mistrust-permissions):
4367 Default to t, to avoid data-loss. (Bug#11490)
4368
4369 2012-11-27 Fabián Ezequiel Gallina <fgallina@cuca>
4370
4371 * progmodes/python.el (python-indent-guess-indent-offset):
4372 If indentation is guessed make python-indent-offset buffer-local.
4373
4374 Fix Imenu regression.
4375 * progmodes/python.el (python-nav-beginning-of-defun):
4376 Fix forward movement when statement(s) separates point from defun.
4377 (python-imenu-prev-index-position): New function.
4378
4379 2012-11-27 Eli Zaretskii <eliz@gnu.org>
4380
4381 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
4382
4383 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
4384 Don't set buffer-file-type. Return nil. (Bug#12989)
4385
4386 2012-11-27 Glenn Morris <rgm@gnu.org>
4387
4388 * hippie-exp.el (hippie-expand-try-functions-list):
4389 Re-autoload it. (Bug#12982)
4390
4391 2012-11-27 Eli Zaretskii <eliz@gnu.org>
4392
4393 * descr-text.el (describe-char-padded-string):
4394 Call internal-char-font only on GUI frames. (Bug#11964)
4395
4396 2012-11-27 Andreas Schwab <schwab@linux-m68k.org>
4397
4398 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
4399 and obsoletion message.
4400
4401 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
4402
4403 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
4404 the constructs to keep outside of the `cl-block' (bug#12977).
4405
4406 2012-11-27 Chong Yidong <cyd@gnu.org>
4407
4408 * mouse.el (mouse-drag-line): Even if the line is not draggable,
4409 keep reading until we get the up-event anyway, in order to process
4410 the up-event for mouse-1-click-follows-link (Bug#12971).
4411
4412 2012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
4413
4414 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
4415 base function is not yet defined (bug#12965).
4416 (ad-activate-advised-definition): Use ad-compile-function.
4417 (ad-activate): Use cond.
4418
4419 2012-11-25 Leo Liu <sdl.web@gmail.com>
4420
4421 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
4422 (Bug#12979)
4423
4424 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
4425
4426 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
4427 reftex-section-info-function in order to be compatible with
4428 Texinfo integration.
4429
4430 * textmodes/reftex.el (reftex-section-pre-regexp)
4431 (reftex-section-post-regexp, reftex-section-info-function):
4432 New variable.
4433 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
4434 reftex-section-post-regexp, and reftex-section-info-function in order
4435 to be compatible with Texinfo integration.
4436
4437 * textmodes/reftex-toc.el (reftex-toc-promote-action):
4438 use reftex-section-pre-regexp variable in order to be compatible with
4439 Texinfo integration.
4440
4441 2012-11-25 Chong Yidong <cyd@gnu.org>
4442
4443 * faces.el: Make face-spec-set more analogous to setq.
4444 (face-spec-set): Change the third arg to specify whether this
4445 function is being called via defface, customize, or a third party.
4446 Set the appropriate symbol properties. Clear the override spec if
4447 setting via Custom. Initialize face if necessary. (Bug#4988)
4448 (face-spec-recalc): Allow theme faces to completely replace the
4449 defface spec, in the same way as custom faces (Bug#8454).
4450
4451 * cus-face.el (custom-declare-face): Move face initialization to
4452 face-spec-set.
4453 (custom-theme-set-faces): Don't initialize the face name here, as
4454 that is now done in face-spec-set.
4455
4456 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
4457 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
4458 Simplify by using the new arg to face-spec-set.
4459
4460 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
4461 reset face-override-spec too, and use custom-declare-face.
4462
4463 2012-11-24 Jan Djärv <jan.h.d@swipnet.se>
4464
4465 * term/ns-win.el (ns-initialize-window-system): Move creation of
4466 fontsets here (Bug#11964).
4467
4468 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
4469
4470 * ses.el (ses-rename-cell): Correct bug on mode-line update after
4471 cell renaming.
4472
4473 2012-11-24 Chong Yidong <cyd@gnu.org>
4474
4475 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
4476 obsolete.
4477
4478 * custom.el (custom-theme-set-variables): Use a topological sort
4479 for ordering by custom dependencies (Bug#12952).
4480 (custom--sort-vars, custom--sort-vars-1): New functions.
4481
4482 2012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
4483
4484 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
4485 lexical-binding (bug#12938).
4486
4487 2012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
4488
4489 * image-mode.el (image-transform-check-size): Use assertions only
4490 for images of type imagemagick.
4491
4492 Otherwise no error, image-transform-fit-to-{width,height} is
4493 silently ignored, as before. Doc fix.
4494
4495 2012-11-24 Chong Yidong <cyd@gnu.org>
4496
4497 * faces.el (color-defined-p): Doc fix (Bug#12853).
4498
4499 2012-11-24 Juri Linkov <juri@jurta.org>
4500
4501 * dired.el (dired-mark): Add optional arg `interactive'.
4502 Check for `use-region-p' if `interactive' is non-nil.
4503 (dired-unmark, dired-flag-file-deletion): Add optional arg
4504 `interactive'. Call `dired-mark' with the arg `interactive'.
4505 (Bug#10624)
4506
4507 * wdired.el: Revert 2012-10-17 change partly and replace it with
4508 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
4509 (wdired-finish-edit): Add marks for new file names to
4510 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
4511 after `revert-buffer'.
4512 (wdired-do-renames): Remove calls to `dired-remove-file',
4513 `dired-add-file', `dired-add-entry'. (Bug#11795)
4514
4515 2012-11-24 Alan Mackenzie <acm@muc.de>
4516
4517 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
4518
4519 Fix bugs in the state cache. Enhance a debugging mechanism.
4520 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
4521 "brace at column zero" strategy for C++.
4522 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
4523 (c-parse-state-point): New variable.
4524 (c-record-parse-state-state): Record old parse state with
4525 `copy-tree'. Record previous value of point.
4526 (c-debug-parse-state-double-cons): New debugging function.
4527 (c-debug-parse-state): Call the above new function.
4528 (c-toggle-parse-state-debug): Output a confirmatory message.
4529
4530 * progmodes/cc-mode.el (c-before-change, c-after-change):
4531 Call c-invalidate-state-cache from `c-before-change' instead of
4532 `c-after-change'.
4533
4534 2012-11-23 Chong Yidong <cyd@gnu.org>
4535
4536 * find-cmd.el (find-constituents): Add executable, ipath,
4537 readable, samefile, writable, daystart, regextype (Bug#12856).
4538
4539 2012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
4540
4541 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
4542
4543 2012-11-22 Paul Eggert <eggert@cs.ucla.edu>
4544
4545 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
4546 definition. This fixes a bootstrap failure.
4547 (calc-gregorian-switch): In menu, put dates before regions.
4548 This is easier to follow, lines up better in the menu, and lets us
4549 coalesce regions that switch at the same time. Give country
4550 names, not "Vatican", as that's better for non-expert users.
4551 Use names that are stable between the date of switch and now, e.g.,
4552 Bohemia and Moravia (which existed then and now) and not
4553 Czechoslovakia (which didn't exist then and doesn't exist now).
4554 What is now the U.S. mostly did not switch at the same time as
4555 Britain, so omit the U.S. Correct spelling of "Britain".
4556 Catholic Switzerland was too much of a mess, so omit it.
4557
4558 2012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
4559
4560 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
4561 after the variable is changed.
4562
4563 2012-11-21 Daniel Colascione <dancol@dancol.org>
4564
4565 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
4566 in SQL declarations for font-lock.
4567 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
4568
4569 2012-11-21 Glenn Morris <rgm@gnu.org>
4570
4571 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
4572 (face-italic-p): Add optional argument "inherit".
4573
4574 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
4575 Remove -p suffix from names, for consistency with other set-face-*.
4576 (set-face-inverse-video): Fix interactive spec.
4577 * play/gamegrid.el (gamegrid-make-mono-tty-face):
4578 * textmodes/table.el (table--update-cell-face):
4579 Use set-face-inverse-video rather than now obsolete alias.
4580
4581 2012-11-21 Eli Zaretskii <eliz@gnu.org>
4582
4583 * simple.el (line-move): Don't call line-move-partial if
4584 scroll-conservatively is in effect. (Bug#12927)
4585
4586 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4587
4588 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
4589 Fallback on completion-at-point rather than
4590 pcomplete-expand-and-complete, and only if pcomplete actually failed.
4591 (eshell-cmpl-initialize): Setup completion-at-point.
4592
4593 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
4594
4595 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
4596
4597 2012-11-21 Michael Albinus <michael.albinus@gmx.de>
4598
4599 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
4600 are remote, check out-of-band property for both.
4601
4602 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4603
4604 * window.el (switch-to-buffer): Re-add the warning that was lost in the
4605 code rewrite.
4606
4607 2012-11-21 Paul Eggert <eggert@cs.ucla.edu>
4608
4609 More minor time fixes.
4610 * calendar/time-date.el: Commentary fix.
4611 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
4612 too much other code depends on (0 0) time stamps.
4613 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
4614 Add a couple of FIXME comments.
4615
4616 Minor cleanup for times as lists of four integers.
4617 * files.el (dir-locals-directory-cache):
4618 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
4619 Doc fixes.
4620 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
4621 * ps-bdf.el (bdf-file-newer-than-time):
4622 Process four-integers time stamps, not two. Doc fixes.
4623
4624 2012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
4625
4626 * uniquify.el (uniquify-managed): Use defvar-local.
4627 (rename-buffer, create-file-buffer): Advise with advice-add.
4628 (uniquify-unload-function): Unadvise accordingly.
4629
4630 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
4631 (trace-buffer): Don't purecopy.
4632 (trace-entry-message, trace-exit-message): Add `context' arg.
4633 (trace--timer): New var.
4634 (trace-make-advice): Adjust for use in nadvice.
4635 Add `context' argument. Delay `display-buffer' via a timer.
4636 (trace-function-internal): Use advice-add.
4637 (trace--read-args): New function.
4638 (trace-function-foreground, trace-function-background): Use it.
4639 (trace-function): Rename to trace-function-foreground and redefine as
4640 an alias to that new name.
4641 (untrace-function, untrace-all): Adjust to the use of nadvice.
4642
4643 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
4644
4645 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
4646
4647 * subr.el (called-interactively-p-functions): New var.
4648 (internal--called-interactively-p--get-frame): New macro.
4649 (called-interactively-p, interactive-p): Rewrite in Lisp.
4650 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
4651 (called-interactively-p-functions): Use it.
4652 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
4653 (called-interactively-p-functions): Use it.
4654 * allout.el (allout-called-interactively-p): Don't assume
4655 called-interactively-p is a subr.
4656
4657 2012-11-20 Glenn Morris <rgm@gnu.org>
4658
4659 * profiler.el (profiler-report-mode-map): Add a menu.
4660 No need to bind `q' because we derive from special-mode.
4661 (profiler-report-find-entry): Handle calls from the menu-bar.
4662
4663 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
4664
4665 * emacs-lisp/byte-run.el (defun-declarations-alist):
4666 Allow a compiler-macro to be a lambda expression.
4667
4668 * progmodes/python.el: Use cl-lib. Move var declarations outside of
4669 eval-when-compile.
4670 (python-syntax-context): Add compiler-macro.
4671 (python-font-lock-keywords): Simplify with De Morgan.
4672
4673 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
4674
4675 * files.el (load-file): Require match in minibuffer selection, as was
4676 the case in Emacs-20 before we changed the spec to allow .elc files
4677 (bug#12935).
4678
4679 * json.el: Don't require cl since we don't use it.
4680 * color.el: Don't require cl.
4681 (color-complement): `caddr' -> `nth 2'.
4682
4683 * calendar/time-date.el (time-to-seconds): De-obsolete.
4684
4685 2012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
4686
4687 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
4688 year numbers.
4689 (math-date-to-julian-dt): Adjust the initial approximation for the
4690 year to deal with the new definition of the DATE.
4691
4692 2012-11-19 Daniel Colascione <dancol@dancol.org>
4693
4694 * term/w32-win.el (cygwin-convert-path-from-windows):
4695 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
4696
4697 2012-11-18 Chong Yidong <cyd@gnu.org>
4698
4699 * filecache.el (file-cache--read-list): New function.
4700 (file-cache-add-directory-list, file-cache-add-file-list)
4701 (file-cache-delete-file-list, file-cache-delete-directory-list):
4702 Use it to read a list of files or directories (Bug#12846).
4703 (file-cache-add-file, file-cache-add-directory)
4704 (file-cache-delete-file-list, file-cache-delete-file-regexp)
4705 (file-cache-delete-directory): Print an message.
4706
4707 2012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
4708
4709 * calc/calc-forms.el (math-date-to-dt): Use integer date when
4710 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
4711
4712 2012-11-18 Glenn Morris <rgm@gnu.org>
4713
4714 * image.el (insert-image, insert-sliced-image): Doc fix.
4715
4716 2012-11-18 Chong Yidong <cyd@gnu.org>
4717
4718 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
4719 (Bug#12810).
4720
4721 2012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
4722
4723 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
4724 response when the target file is in a subdirectory (Bug#12757).
4725
4726 2012-11-18 Chong Yidong <cyd@gnu.org>
4727
4728 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
4729
4730 2012-11-18 Glenn Morris <rgm@gnu.org>
4731
4732 * emacs-lisp/cl-lib.el (face-underline-p):
4733 Use set-face-underline rather than the alias set-face-underline-p.
4734
4735 * window.el (with-temp-buffer-window): Doc fix.
4736 * subr.el (with-output-to-temp-buffer):
4737 Add doc xref to with-temp-buffer-window.
4738
4739 2012-11-18 Juanma Barranquero <lekktu@gmail.com>
4740
4741 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
4742 * calc/calc.el (math-format-date-cache): Declare.
4743
4744 2012-11-17 Paul Eggert <eggert@cs.ucla.edu>
4745
4746 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
4747 It also uses January 1, 1 AD as its day number 1.
4748 * calc/calc-forms.el (math-julian-date-beginning)
4749 (math-julian-date-beginning-int): Implement this.
4750
4751 2012-11-17 Juanma Barranquero <lekktu@gmail.com>
4752
4753 * descr-text.el (quail-find-key):
4754 * dired.el (desktop-file-name):
4755 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
4756 * generic-x.el (comint-mode, comint-exec):
4757 * image-dired.el (widget-forward):
4758 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
4759 (speedbar-change-expand-button-char)
4760 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
4761 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
4762 * printing.el (easy-menu-add-item, easy-menu-remove-item)
4763 (widget-field-action, widget-value-set):
4764 * speedbar.el (imenu--make-index-alist):
4765 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
4766 (ring-length, ring-insert):
4767 * vcursor.el (compare-windows-skip-whitespace):
4768 * woman.el (dired-get-filename):
4769 Declare functions.
4770
4771 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
4772
4773 2012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
4774
4775 * calc/calc.el (calc-gregorian-switch): New variable.
4776
4777 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
4778 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
4779 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
4780 (math-leap-year-p): Add option to distinguish between Julian
4781 and Gregorian calendars.
4782 (math-day-number): Use `math-day-in-year' to do the computations.
4783 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
4784 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
4785 to do the computations.
4786 (math-date-to-dt): Use `math-date-to-julian-dt' and
4787 `math-date-to-gregorian-dt' to do the computations.
4788 (calcFunc-weekday, math-format-date-part): Use the new version of
4789 the DATE to determine the weekday.
4790 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
4791 when necessary.
4792
4793 2012-11-17 Eli Zaretskii <eliz@gnu.org>
4794
4795 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
4796 Cygwin; otherwise use 'file:'. (Bug#12914)
4797 (cygwin-convert-path-from-windows): Declare, to avoid
4798 byte-compiler warnings.
4799
4800 2012-11-17 Andreas Politz <politza@fh-trier.de>
4801
4802 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
4803 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
4804 prefix and negative numeric prefix args (Bug#12795).
4805
4806 2012-11-17 Stephen Berman <stephen.berman@gmx.net>
4807
4808 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
4809 Don't signal an error with a score that is too low to add to the
4810 list of top scores. (Bug#12779)
4811
4812 2012-11-17 Chong Yidong <cyd@gnu.org>
4813
4814 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
4815
4816 * filecache.el (file-cache-add-file): Handle relative file name in
4817 the argument (Bug#12694).
4818
4819 2012-11-16 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
4820
4821 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
4822
4823 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
4824
4825 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
4826
4827 * emacs-lisp/cl-lib.el: Set more meaningful version number.
4828
4829 2012-11-16 Martin Rudalics <rudalics@gmx.at>
4830
4831 * window.el (enlarge-window, shrink-window): Don't mention return
4832 value in doc-string (Bug#12896).
4833 (window--display-buffer): Don't resize frames - it won't work
4834 with all window managers and defeat pop-up-frame-alist.
4835 (display-buffer-alist): In doc-string explain that CONDITION can
4836 be a function and which arguments are passed to it (Bug#12854).
4837 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
4838 expressions (Bug#12854).
4839 (display-buffer): Pass ACTION argument to
4840 display-buffer-assq-regexp.
4841
4842 2012-11-16 Glenn Morris <rgm@gnu.org>
4843
4844 * window.el (fit-frame-to-buffer-bottom-margin)
4845 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
4846
4847 * faces.el (face-underline-p): Use face-attribute-specified-or.
4848
4849 2012-11-16 Juanma Barranquero <lekktu@gmail.com>
4850
4851 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
4852
4853 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
4854
4855 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
4856
4857 2012-11-16 Glenn Morris <rgm@gnu.org>
4858
4859 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
4860 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
4861
4862 * faces.el (face-underline-p): Doc fix. Handle :underline being
4863 things other than `t' (a string, a list).
4864 (face-inverse-video-p): Doc fix.
4865 (set-face-underline): Rename it back from set-face-underline-p.
4866 Doc fix. Allow interactive input of values other than t.
4867 (read-face-attribute): Apply formatting to :underline,
4868 since like :box and :stipple it can take list values.
4869
4870 * term.el (ansi-term): Don't let C-x escape-char binding
4871 clobber the more standard C-c binding. (Bug#12842)
4872
4873 * subr.el (set-temporary-overlay-map): Doc fix.
4874
4875 2012-11-16 Martin Rudalics <rudalics@gmx.at>
4876
4877 * window.el (record-window-buffer)
4878 (display-buffer-record-window): When copying the markers to
4879 window-point preserve window-point-insertion-type. (Bug#12588)
4880
4881 2012-11-16 Glenn Morris <rgm@gnu.org>
4882
4883 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
4884 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
4885 Use new names for hooks rather than obsolete aliases.
4886
4887 2012-11-15 Daniel Colascione <dancol@dancol.org>
4888
4889 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
4890 prefix instead of "file:" so that when FILE-NAME begins with "//",
4891 as it does when the target file is on a network share, url-handler
4892 isn't confused.
4893
4894 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
4895
4896 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
4897 a preactivated advice from an old advice.el; they're not compatible!
4898
4899 2012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
4900
4901 * emacs-lisp/nadvice.el (advice--make-interactive-form):
4902 Fix string-spec case.
4903
4904 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
4905
4906 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
4907
4908 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
4909 (advice--buffer-local-function-sample): New var.
4910 (advice--set-buffer-local, advice--buffer-local): New functions.
4911 (add-function, remove-function): Use them.
4912
4913 2012-11-15 Drew Adams <drew.adams@oracle.com>
4914
4915 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
4916
4917 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
4918
4919 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
4920 potential binding of print-gensym to t, and prettify (back)quotes in
4921 case they appear in args's default values (bug#12884).
4922
4923 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4924
4925 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
4926 (advice-eval-interactive-spec): New function.
4927 (advice--make-interactive-form): Support around advice (bug#12844).
4928
4929 2012-11-14 Dmitry Gutov <dgutov@yandex.ru>
4930
4931 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
4932 more strict. Add docstring.
4933 (ruby-expression-expansion-re): Extract from
4934 `ruby-match-expression-expansion'.
4935 (ruby-syntax-propertize-function): After everything else, search
4936 for expansions in string literals, mark their insides as
4937 whitespace syntax and save match data for font-lock.
4938 (ruby-font-lock-keywords): Use the 2nd group from expression
4939 expansion matches.
4940 (ruby-match-expression-expansion): Use the match data saved to the
4941 text property in ruby-syntax-propertize-function.
4942
4943 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4944
4945 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
4946 (bug#12879).
4947
4948 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
4949
4950 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
4951 start/end keyword a bit harder. Works with different values of N.
4952 Add more comments.
4953 (ruby-end-of-block): Update accordingly.
4954
4955 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
4956
4957 * woman.el (woman-file-name): Don't mess with unread-command-events
4958 (bug#12861).
4959
4960 * emacs-lisp/advice.el: Layer on top of nadvice.el.
4961 Remove out of date self-require hack.
4962 (ad-do-advised-functions): Use simple `dolist'.
4963 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
4964 (ad-advice-definition): Redefine as functions.
4965 (ad-advice-classes): Move before first use.
4966 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
4967 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
4968 (ad--defalias-fset): Remove functions.
4969 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
4970 (ad-get-orig-definition): Rewrite.
4971 (ad-make-advised-definition-docstring): Change base docstring.
4972 (ad-real-orig-definition): Rewrite.
4973 (ad-map-arglists): Change name of called function.
4974 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
4975 (ad-make-advised-definition): Simplify.
4976 (ad-assemble-advised-definition): Tweak for new calling context.
4977 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
4978 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
4979 function and call ad-activate if needed.
4980 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
4981 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
4982 (ad-compile-function): Compile ad-Advice-*.
4983 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
4984 (ad-start-advice, ad-stop-advice): Remove.
4985
4986 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
4987
4988 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
4989 period before class method names, not after. Remove handling of
4990 one impossible case. Add comments.
4991
4992 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
4993
4994 * emacs-lisp/advice.el: Remove support for freezing.
4995 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
4996 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
4997 Remove support for `freeze'.
4998
4999 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
5000 override the default.
5001 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
5002 cl--dotimes/dolist.
5003 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
5004 `cl' is loaded.
5005
5006 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
5007 from add-advice.
5008 (advice--strip-macro): New function.
5009 (advice--defalias-fset): Use them to handle macros.
5010 (advice-add): Use them.
5011 (advice-member-p): Correctly handle macros.
5012
5013 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
5014
5015 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5016 Never font-lock the beginning of singleton class as heredoc.
5017
5018 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
5019
5020 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
5021
5022 2012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
5023
5024 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
5025 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
5026 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
5027
5028 2012-11-13 Fabián Ezequiel Gallina <fgallina@cuca>
5029
5030 Fix end-of-defun misbehavior.
5031 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
5032 python-beginning-of-defun-function. Handle nested defuns
5033 correctly.
5034 (python-nav-end-of-defun): Rename from
5035 python-end-of-defun-function. Ensure forward movement.
5036 (python-info-current-defun): Reimplement to work as intended
5037 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
5038 parent defuns as soon as possible.
5039
5040 2012-11-13 Glenn Morris <rgm@gnu.org>
5041
5042 * progmodes/flymake.el (flymake-error-bitmap)
5043 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
5044 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
5045
5046 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
5047
5048 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
5049 backward, always stop at indentation. Reverts the change from
5050 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
5051
5052 2012-11-13 Glenn Morris <rgm@gnu.org>
5053
5054 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
5055 Add ibuffer-filter-by-derived-mode.
5056
5057 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
5058 the same name shadowing each other.
5059
5060 * window.el (with-temp-buffer-window): Doc tweak.
5061
5062 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
5063
5064 * help.el (temp-buffer-max-height):
5065 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
5066 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
5067
5068 2012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
5069
5070 * emacs-lisp/nadvice.el: New package.
5071 * subr.el (special-form-p): New function.
5072 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
5073 (elp-all-instrumented-list): Remove var.
5074 (elp-not-profilable): Remove elp-wrapper.
5075 (elp-profilable-p): Use autoloadp and special-form-p.
5076 (elp--advice-name): New const.
5077 (elp-instrument-function): Use advice-add.
5078 (elp--instrumented-p): New predicate.
5079 (elp-restore-function): Use advice-remove.
5080 (elp-restore-all, elp-reset-all): Use mapatoms.
5081 (elp-set-master): Use elp--instrumented-p.
5082 (elp--make-wrapper): Rename from elp-wrapper, return a function
5083 suitable for advice-add. Use cl-inf.
5084 (elp-results): Use mapatoms+elp--instrumented-p.
5085 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
5086 (debug-function-list): Remove var.
5087 (debug): Rename arg, and then let-bind it explicitly inside.
5088 (debugger-setup-buffer): Rename arg.
5089 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
5090 (debugger-frame-number): Adjust to new debug-on-entry setup.
5091 (debug--implement-debug-on-entry): Rename from
5092 implement-debug-on-entry, add argument.
5093 (debugger-special-form-p): Remove, use special-form-p instead.
5094 (debug-on-entry): Use advice-add.
5095 (debug--function-list): New function.
5096 (cancel-debug-on-entry): Use it, along with advice-remove.
5097 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
5098 (debugger-list-functions): Use debug--function-list instead of
5099 debug-function-list.
5100 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
5101 (ad-special-form-p): Remove, use special-form-p instead.
5102 (ad-set-advice-info): Use add-function and remove-function.
5103 (ad--defalias-fset): Adjust accordingly.
5104
5105 2012-11-10 Glenn Morris <rgm@gnu.org>
5106
5107 * mail/emacsbug.el (report-emacs-bug-tracker-url)
5108 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
5109 (report-emacs-bug-create-existing-bugs-buffer)
5110 (report-emacs-bug-parse-query-results)
5111 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
5112
5113 * term.el (term-default-fg-color, term-default-bg-color):
5114 Make obsolete, rather than just saying "deprecated" in the doc.
5115
5116 * term.el (term): Rename from `term-face'.
5117 (term-current-face, ansi-term-color-vector)
5118 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
5119 Update all users.
5120
5121 2012-11-10 Jan Djärv <jan.h.d@swipnet.se>
5122
5123 * server.el (server-create-window-system-frame): Handle Nextstep
5124 specially (Bug#12780).
5125
5126 2012-11-10 Glenn Morris <rgm@gnu.org>
5127
5128 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
5129 Unautoload, and make obsolete. (Bug#7449)
5130
5131 2012-11-10 Chong Yidong <cyd@gnu.org>
5132
5133 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
5134 rename from diff-remove-trailing-whitespace (Bug#12831).
5135
5136 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
5137
5138 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
5139 miscompilation of trace.el.
5140
5141 2012-11-10 Glenn Morris <rgm@gnu.org>
5142
5143 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
5144
5145 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
5146
5147 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
5148 (bug#12812).
5149
5150 2012-11-10 Chong Yidong <cyd@gnu.org>
5151
5152 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
5153 a defcustom with an appropriate :set function.
5154 (minibuffer-default--in-prompt-regexps): New function.
5155
5156 2012-11-10 Glenn Morris <rgm@gnu.org>
5157
5158 * emacs-lisp/cl.el (define-setf-expander, defsetf)
5159 (define-modify-macro): Doc fixes.
5160
5161 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
5162 (gv-define-simple-setter): Update doc of `fix-return'.
5163
5164 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
5165
5166 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
5167 twice when `fix-return' is set (bug#12813).
5168
5169 * emacs-lisp/cl.el (defsetf): Pass the third arg to
5170 gv-define-simple-setter (bug#12812).
5171
5172 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
5173 (bug#12756).
5174
5175 2012-11-10 Glenn Morris <rgm@gnu.org>
5176
5177 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
5178
5179 * emacs-lisp/cl-extra.el (cl-prettyexpand):
5180 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
5181 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
5182 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
5183
5184 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
5185
5186 2012-11-10 Leo Liu <sdl.web@gmail.com>
5187
5188 * ido.el (ido-set-matches-1): Improve flex matching performance by
5189 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
5190
5191 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
5192
5193 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
5194 (ad--defalias-fset): New function.
5195 (ad-safe-fset): Remove.
5196 (ad-make-freeze-definition): Use cl-letf*.
5197
5198 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
5199
5200 * subr.el (dolist): Don't bind VAR in RESULT.
5201
5202 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
5203 (fset, documentation): Don't save real def since we don't advise.
5204 (ad-do-advised-functions): Remove problematic `result-form'.
5205 (ad-safe-fset): `ad-real-fset' => `fset'.
5206 (ad-read-advised-function): Don't assume that ad-do-advised-functions
5207 uses CL's dolist internally.
5208 (ad-arglist): Remove unused arg `name'.
5209 (ad-docstring, ad-make-advised-docstring):
5210 `ad-real-documentation' => `documentation'.
5211 (warning-suppress-types): Declare.
5212 (ad-set-arguments): Simple CSE.
5213 (ad-recover-normality): Sanity check.
5214
5215 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
5216 (funcall '(lambda ..) ..) into ((lambda ..) ..).
5217
5218 2012-11-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
5219
5220 * ses.el: symbol to coordinate mapping is made by symbol property
5221 `ses-cell'. This means that the same mapping is done for all SES
5222 sheets. That is good enough for cells with standard A1 names, but
5223 not for named cell. So a hash map is added for the latter.
5224 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
5225 (ses-sym-rowcol): Use hashmap for named cell.
5226 (ses-is-cell-sym-p): New defun.
5227 (ses-decode-cell-symbol): New defun.
5228 (ses-create-cell-variable): Add cell to hashmap when name is not
5229 A1-like.
5230 (ses-rename-cell): Check that cell new name is not already in
5231 spreadsheet with the use of ses-is-cell-sym-p
5232 (ses-rename-cell): Use hash map for named cells, but accept also
5233 renaming back to A1-like.
5234
5235 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
5236
5237 * emacs-lisp/advice.el: Use new dynamic docstrings.
5238 (ad-make-advised-definition-docstring, ad-advised-definition-p):
5239 Use dynamic-docstring-function instead of ad-advice-info.
5240 (ad--make-advised-docstring): New function extracted from
5241 ad-make-advised-docstring.
5242 (ad-make-advised-docstring): Use it.
5243 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
5244 from sql-help.
5245 (sql-help): Use it with dynamic-docstring-function.
5246
5247 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
5248
5249 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5250
5251 * files.el (hack-one-local-variable--obsolete): New function.
5252 (hack-one-local-variable): Use it for obsolete settings.
5253
5254 * subr.el (locate-user-emacs-file): If both old and new name exist, use
5255 the new name.
5256
5257 * progmodes/js.el (js--filling-paragraph): New var.
5258 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
5259 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
5260 less sneaky.
5261
5262 2012-11-08 Julien Danjou <julien@danjou.info>
5263
5264 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
5265 `auto-mode-alist' (Bug#12835).
5266
5267 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5268
5269 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
5270 (perl--prettify-symbols-alist): New const.
5271 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
5272 New functions.
5273 (perl-font-lock-keywords-2): Use them.
5274 (perl-electric-noindent-p): New function.
5275 (perl-mode): Use it to set up electric-indent-mode.
5276 (perl-electric-terminator, perl-indent-command): Mark obsolete.
5277 (perl-mode-map): Remove bindings for them.
5278 (perl-imenu-generic-expression, perl-outline-level):
5279 Match functions&packages in column>0.
5280
5281 * env.el (env--substitute-vars-regexp): New const.
5282 (substitute-env-vars): Use it. Add `only-defined' arg.
5283 * net/tramp.el (tramp-replace-environment-variables): Use it.
5284
5285 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
5286 Byte-compile *before* eval in eval-and-compile.
5287 (byte-compile-log-warning): Remove redundant inhibit-read-only.
5288 (byte-compile-file-form-autoload): Don't hide actual definition.
5289 (byte-compile-maybe-guarded): Accept `functionp' as well.
5290
5291 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
5292
5293 2012-11-07 Michael Albinus <michael.albinus@gmx.de>
5294
5295 * notifications.el (notifications-get-server-information-method):
5296 New defconst.
5297 (notifications-get-capabilities): Fix docstring.
5298 (notifications-get-server-information): New defun.
5299
5300 2012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5301
5302 * textmodes/ispell.el (ispell-region): Standard re-indent for better
5303 readability.
5304
5305 * textmodes/ispell.el: Experimental support for support debugging.
5306 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
5307 buffer for ispell.
5308 (ispell-print-if-debug): New function to print stuff to
5309 `ispell-debug-buffer' if debugging is enabled.
5310 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
5311 show some debugging info.
5312 (ispell-buffer-with-debug): New function that creates a debugging
5313 buffer and calls `ispell-buffer' with debugging enabled.
5314
5315 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
5316 comment in autoconf mode. (Bug#12768)
5317
5318 2012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
5319
5320 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
5321 frame-first-window, frame-root-window, frame-selected-window,
5322 minibuffer-selected-window, minibuffer-window,
5323 window-absolute-pixel-edges, window-at, window-body-height,
5324 window-body-width, window-display-table, window-combination-limit,
5325 window-frame, window-fringes, window-inside-absolute-pixel-edges,
5326 window-inside-edges, window-inside-pixel-edges, window-left-child,
5327 window-left-column, window-margins, window-next-buffers,
5328 window-next-sibling, window-new-normal, window-new-total,
5329 window-normal-size, window-parameter, window-parameters, window-parent,
5330 window-pixel-edges, window-point, window-prev-buffers,
5331 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
5332 window-start, window-text-height, window-top-child, window-top-line,
5333 window-total-height, window-total-width and window-use-time to the list
5334 of functions without side-effects.
5335 (toplevel): Add window-valid-p to the list of error-free functions
5336 without side-effects.
5337
5338 2012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5339
5340 * textmodes/ispell.el (ispell-program-name):
5341 Update spellchecker parameters when customized.
5342
5343 2012-11-04 Glenn Morris <rgm@gnu.org>
5344
5345 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
5346
5347 2012-11-04 Chong Yidong <cyd@gnu.org>
5348
5349 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
5350 same-window-* variables.
5351
5352 2012-11-04 Juri Linkov <juri@jurta.org>
5353
5354 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
5355 (isearch-describe-key, isearch-describe-mode): Use a display
5356 action instead of binding same-window-* variables (Bug#10040).
5357
5358 2012-11-03 Glenn Morris <rgm@gnu.org>
5359
5360 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
5361 Rename handler properties back from cl-- to cl-. (Bug#12788)
5362
5363 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
5364
5365 2012-11-03 Eli Zaretskii <eliz@gnu.org>
5366
5367 * term/pc-win.el: Don't load term/internal from here.
5368
5369 * loadup.el: Load term/internal from here.
5370
5371 2012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
5372
5373 * progmodes/python.el (inferior-python-mode): Fix hang in
5374 jit-lock (Bug#12645).
5375
5376 2012-11-03 Martin Rudalics <rudalics@gmx.at>
5377
5378 * window.el (switch-to-visible-buffer)
5379 (switch-to-buffer-preserve-window-point): Fix doc-strings.
5380
5381 2012-11-03 Glenn Morris <rgm@gnu.org>
5382
5383 * emacs-lisp/cl-lib.el (cl--random-time):
5384 Rename from cl-random-time. (Bug#12773)
5385 (cl--gensym-counter, cl--random-state): Update callers.
5386 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
5387
5388 2012-11-03 Chong Yidong <cyd@gnu.org>
5389
5390 * cus-start.el: Make cursor-type customizable (Bug#11633).
5391
5392 2012-11-02 Glenn Morris <rgm@gnu.org>
5393
5394 * filecache.el: No need to load find-lisp when compiling.
5395 (find-lisp-find-files): Autoload it.
5396 (file-cache-add-directory-recursively): Don't require find-lisp.
5397
5398 * image.el (image-type-from-file-name): Trivial simplification.
5399
5400 * emacs-lisp/bytecomp.el (byte-compile-eval):
5401 Decouple "noruntime" and "cl-functions" warnings.
5402
5403 2012-11-01 Stephen Berman <stephen.berman@gmx.net>
5404
5405 * play/gomoku.el (gomoku-display-statistics): Update mode line
5406 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
5407
5408 2012-10-31 Martin Rudalics <rudalics@gmx.at>
5409
5410 * window.el (quit-restore-window): If the window has been
5411 created on an existing frame and ended up as the sole window on
5412 that frame, do not delete it (Bug#12764).
5413
5414 2012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
5415
5416 * progmodes/sh-script.el (sh--inside-noncommand-expression):
5417 Rename from sh--inside-arithmetic-expression, handle more cases
5418 (bug#11263).
5419
5420 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
5421 (sh-font-lock-open-heredoc): Use it (bug#12770).
5422
5423 2012-10-30 Glenn Morris <rgm@gnu.org>
5424
5425 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
5426
5427 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
5428
5429 2012-10-29 Chong Yidong <cyd@gnu.org>
5430
5431 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
5432 function key is stored in a keyboard macro (Bug#4894).
5433
5434 * thingatpt.el (number-at-point): Apply a thing-at-point property.
5435
5436 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5437
5438 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
5439 header comments".
5440 (diff-unified->context, diff-context->unified)
5441 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
5442
5443 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
5444
5445 * files.el (find-alternate-file): Only ask one question (bug#12487).
5446
5447 2012-10-29 Chong Yidong <cyd@gnu.org>
5448
5449 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
5450 Suggested by Dan Nicolaescu (Bug#6326).
5451
5452 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
5453
5454 * startup.el (fancy-about-screen): Don't message (Bug#12680).
5455
5456 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
5457
5458 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
5459
5460 * face-remap.el (face-remap-add-relative): Handle the case where a
5461 face-remapping-alist entry is a cons cell (Bug#12762).
5462
5463 2012-10-29 Kevin Ryde <user42@zip.com.au>
5464
5465 * woman.el (woman-parse-numeric-value): Handle picas correctly
5466 (Bug#12639).
5467
5468 2012-10-29 Glenn Morris <rgm@gnu.org>
5469
5470 * emacs-lisp/cl.el (defsetf): Doc fix.
5471
5472 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5473
5474 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
5475 syntax to the matching opener, if any (bug#12547).
5476 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
5477 matching open as a "case-(".
5478 (sh-smie-rc-grammar): Add a corresponding rule for it.
5479
5480 2012-10-28 Daniel Hackney <dan@haxney.org>
5481
5482 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
5483 "PKGNAME-autoloads.el" in case we created it.
5484
5485 2012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5486
5487 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
5488 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
5489 (completion--twq-all): Disable too-strict assertions.
5490
5491 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
5492
5493 2012-10-27 Eli Zaretskii <eliz@gnu.org>
5494
5495 * profiler.el (profiler-report-make-entry-part): Fix help-echo
5496 text to match the real keybindings.
5497
5498 2012-10-27 Juri Linkov <juri@jurta.org>
5499
5500 * wdired.el (wdired-keep-marker-rename): New defcustom.
5501 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
5502 (Bug#11795)
5503
5504 * dired.el (dired-keep-marker-rename): Add reference to
5505 `wdired-keep-marker-rename' in the docstring.
5506 Add default character value ?R to display initially in
5507 Customization UI instead of ?@.
5508
5509 2012-10-27 Martin Rudalics <rudalics@gmx.at>
5510
5511 * window.el (display-buffer): In doc-string describe
5512 window-height and window-width alist entries.
5513
5514 * time.el (display-time-world): Restore fit-window-to-buffer
5515 behavior.
5516
5517 2012-10-27 Chong Yidong <cyd@gnu.org>
5518
5519 * subr.el (insert-buffer-substring-as-yank): Doc fix.
5520
5521 2012-10-26 Jambunathan K <kjambunathan@gmail.com>
5522
5523 * minibuffer.el (completion-category-overrides): New completion
5524 category `bookmark' (bug#11131).
5525
5526 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
5527
5528 * emacs-lisp/advice.el (ad-assemble-advised-definition):
5529 Silence bogus compiler warnings for ad-do-it.
5530
5531 * bookmark.el (bookmark-completing-read): Set the completion category
5532 to `bookmark' (bug#11131).
5533
5534 2012-10-26 Bastien <bzg@altern.org>
5535 Stefan Monnier <monnier@iro.umontreal.ca>
5536
5537 * face-remap.el: Use lexical-binding.
5538 (text-scale-adjust): Improve docstring. Use itself for the temporary
5539 overlay-map bindings, so as to repeat the "Use..." message each time.
5540
5541 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
5542
5543 * emacs-lisp/macroexp.el (macroexp--expand-all):
5544 Obey byte-compile-warning-enabled-p (bug#12486).
5545
5546 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
5547 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
5548
5549 2012-10-26 Martin Rudalics <rudalics@gmx.at>
5550
5551 * mouse.el (mouse-drag-line): Move last form into preceding when
5552 clause (Bug#12731).
5553
5554 * help.el (resize-temp-buffer-window): Fix doc-string.
5555
5556 2012-10-25 David Engster <deng@randomsample.de>
5557
5558 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
5559 Remove. This feature is already integrated in imenu.
5560
5561 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
5562 always loaded. Require `speedbar' unconditionally.
5563
5564 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
5565
5566 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
5567
5568 * minibuffer.el (minibuffer-force-complete): Fix thinko.
5569
5570 * net/ldap.el (ldap-search-internal): The official ldif format starts
5571 with a "version: 1" header (bug#12724).
5572
5573 * emacs-lisp/package.el (package-installed-p): Warn if not ready
5574 (bug#12721).
5575
5576 2012-10-25 Glenn Morris <rgm@gnu.org>
5577
5578 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
5579
5580 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5581
5582 * minibuffer.el (minibuffer-force-complete): Use one more marker
5583 for the temporary-overlay-map command (bug#12619).
5584
5585 2012-10-24 Chong Yidong <cyd@gnu.org>
5586
5587 * time.el (display-time-world-mode): Derive from special-mode.
5588 (display-time-world): Use display-buffer (Bug#12708).
5589 (display-time-world-mode-map): Variable deleted.
5590 (display-time-world-display): Wrap the final delete-char inside
5591 inhibit-read-only.
5592
5593 2012-10-24 Chong Yidong <cyd@gnu.org>
5594
5595 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
5596 Doc fix.
5597
5598 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
5599
5600 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5601
5602 * minibuffer.el (completion--all-sorted-completions-location): New var.
5603 (completion--cache-all-sorted-completions)
5604 (completion--flush-all-sorted-completions): Use it.
5605 (completion-in-region, completion-in-region--postch)
5606 (completion-at-point, completion-help-at-point): Use markers in
5607 completion-in-region--data (bug#12619).
5608
5609 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5610
5611 * progmodes/compile.el (compilation-start): Try to handle common
5612 quoting of `cd' argument (bug#12640).
5613
5614 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
5615 (bug#12671).
5616
5617 2012-10-23 Glenn Morris <rgm@gnu.org>
5618
5619 * progmodes/gud.el (gud-menu-map):
5620 Check gdb-active-process is bound. (Bug#12358)
5621
5622 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5623
5624 * repeat.el (repeat): Set real-this-command (bug#12232).
5625
5626 * htmlfontify.el (hfy-post-html-hook):
5627 * filesets.el (filesets-cache-fill-content-hook):
5628 * arc-mode.el (archive-extract-hook):
5629 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
5630 * net/rcirc.el (rcirc-sentinel-functions)
5631 (rcirc-receive-message-functions, rcirc-activity-functions)
5632 (rcirc-print-functions):
5633 * net/dbus.el (dbus-event-error-functions):
5634 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
5635 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
5636 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
5637 * term/sun.el (sun-raw-prefix-hooks):
5638 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
5639
5640 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
5641
5642 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5643 Set `tramp-chunksize' to 1. This improves the performance.
5644 (tramp-smb-wait-for-output): Add timeout to
5645 `tramp-accept-process-output' calls.
5646
5647 2012-10-23 Chong Yidong <cyd@gnu.org>
5648
5649 * faces.el (font-list-limit): Define as an obsolete variable.
5650
5651 * startup.el (command-line):
5652 * cus-start.el: Don't refer to font-list-limit.
5653
5654 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
5655
5656 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5657
5658 * subr.el (internal-temp-output-buffer-show): Rename from
5659 temp-output-buffer-show, since previously compiled files expect this name.
5660
5661 2012-10-23 Glenn Morris <rgm@gnu.org>
5662
5663 * image.el (image-type-from-file-name): If multiple types match,
5664 return the first one that is supported. (Bug#9045)
5665
5666 2012-10-22 Glenn Morris <rgm@gnu.org>
5667
5668 * image.el (imagemagick-enabled-types): Doc fix.
5669
5670 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
5671
5672 * progmodes/which-func.el (which-func-current): The hash-table may have
5673 an explicit nil (bug#12338).
5674
5675 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
5676
5677 * electric.el (electric-pair-delete-selection-self-insert-function):
5678 Rename to electric-pair-will-use-region, return a boolean.
5679 (electric-pair-mode): Adjust accordingly. Don't require delsel.
5680
5681 * delsel.el (delete-selection-helper): Use a function instead of a hook.
5682 (delete-selection-pre-hook): Use use-region-p.
5683 (delete-selection-self-insert-function): Remove.
5684 (self-insert-command): Obey self-insert-uses-region-functions.
5685 (self-insert-iso): Revert to previous setting, since we don't actually
5686 know what that command does.
5687 (delete-selection-self-insert-hooks): Remove.
5688
5689 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
5690
5691 * delsel.el (delete-selection-helper): New function, extracted from
5692 delete-selection-pre-hook.
5693 (delete-selection-pre-hook): Use it.
5694 (delete-selection-self-insert-function): New function.
5695 (delete-selection-self-insert-hooks): New hook.
5696 (self-insert-command, self-insert-iso): Use it.
5697 * electric.el (electric-pair-syntax): New function, extracted from
5698 electric-pair-post-self-insert-function.
5699 (electric-pair-post-self-insert-function): Use it.
5700 (electric-pair-delete-selection-self-insert-function): New function.
5701 (electric-pair-mode): Require delsel and setup
5702 delete-selection-self-insert-hooks (bug#11520).
5703
5704 2012-10-20 Chong Yidong <cyd@gnu.org>
5705
5706 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
5707 no changes to show (Bug#12586).
5708
5709 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
5710 list explicitly (Bug#12571).
5711
5712 2012-10-20 Arne Jørgensen <arne@arnested.dk>
5713
5714 * progmodes/flymake.el (flymake-create-temp-inplace):
5715 Use file-truename.
5716
5717 2012-10-20 Eli Zaretskii <eliz@gnu.org>
5718
5719 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
5720
5721 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
5722
5723 * calc/calc-units.el (math-extract-units): Properly extract powers
5724 of units.
5725
5726 2012-10-20 Daniel Colascione <dancol@dancol.org>
5727
5728 * frame.el (make-frame): Set x-display-name as we used to in order
5729 to unbreak creating an X11 frame from an Emacs daemon started
5730 without a display.
5731
5732 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5733
5734 * minibuffer.el (minibuffer-force-complete): Make the next completion use
5735 the same completion-field (bug#12221).
5736
5737 2012-10-19 Martin Rudalics <rudalics@gmx.at>
5738
5739 * emacs-lisp/debug.el (debug): Record height of debugger window
5740 also when debugger will be back (Bug#8789).
5741
5742 2012-10-18 Chong Yidong <cyd@gnu.org>
5743
5744 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
5745 Convert to defcustom.
5746 (gdb-get-source-file): Don't bind pop-up-windows.
5747
5748 * progmodes/gud.el (gud-display-line): Don't specially re-use
5749 other frames for the gdb-mi case (Bug#12648).
5750
5751 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
5752
5753 * emacs-lisp/advice.el: Clean up commentary a bit.
5754 (ad-do-advised-functions, ad-with-originals): Use `declare'.
5755 (byte-code-function-p): Never redefine.
5756
5757 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
5758
5759 2012-10-18 Glenn Morris <rgm@gnu.org>
5760
5761 * dired.el (dired-sort-toggle): Some ls implementations only allow
5762 a single option string. (Bug#12666)
5763
5764 * minibuffer.el (completion-cycle-threshold): Doc fix.
5765
5766 2012-10-17 Kenichi Handa <handa@gnu.org>
5767
5768 * international/mule.el (set-keyboard-coding-system):
5769 Recover input meta mode when the new coding system doesn not use 8-bit.
5770 Supply TERMINAL arg to set-input-meta-mode.
5771
5772 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
5773
5774 * wdired.el (wdired-old-marks): New variable.
5775 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
5776 (wdired-do-renames): Move point with renamed file and don't lose
5777 mark status (Bug#11795).
5778
5779 2012-10-16 Juri Linkov <juri@jurta.org>
5780
5781 * replace.el (query-replace-help): Mention multi-buffer replacement
5782 keys in the Help message. (Bug#12655)
5783
5784 2012-10-15 Chong Yidong <cyd@gnu.org>
5785
5786 * emacs-lisp/byte-run.el (defsubst): Doc fix.
5787
5788 2012-10-14 Eli Zaretskii <eliz@gnu.org>
5789
5790 * window.el (display-buffer): Doc fix.
5791
5792 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5793 Adjust the msft regexp to the output of Studio 2010, and move msft
5794 before edg-1. See the discussion on emacs-devel,
5795 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
5796 for the details.
5797
5798 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
5799
5800 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
5801 (oset): Move uses of object-class-fast macro after its definition.
5802
5803 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
5804
5805 2012-10-13 Chong Yidong <cyd@gnu.org>
5806
5807 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
5808 enabled, re-enable it (Bug#11963).
5809
5810 2012-10-13 Martin Rudalics <rudalics@gmx.at>
5811
5812 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
5813 non-nil, restore window configuration (Bug#12623).
5814
5815 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
5816
5817 * help-fns.el (describe-variable, describe-function-1):
5818 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
5819
5820 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
5821
5822 2012-10-12 Glenn Morris <rgm@gnu.org>
5823
5824 * mail/rmailsum.el (rmail-header-summary):
5825 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
5826
5827 2012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
5828
5829 * progmodes/python.el (python-mode-map):
5830 Replace subtitute-key-definition with proper command remapping.
5831 (python-nav--up-list): Fix behavior for blocks on the same level.
5832
5833 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5834
5835 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
5836
5837 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
5838 changes to the format of load-history.
5839
5840 * international/mule-cmds.el (read-char-by-name): Move let-binding of
5841 completion-ignore-case in case that var is buffer-local (bug#12615).
5842
5843 2012-10-11 Kenichi Handa <handa@gnu.org>
5844
5845 * international/eucjp-ms.el: Re-generated.
5846
5847 2012-10-10 Kenichi Handa <handa@gnu.org>
5848
5849 * select.el (xselect--encode-string): If a coding is specified for
5850 selection, and that is compatible with COMPOUND_TEXT, use it.
5851
5852 2012-10-10 Martin Rudalics <rudalics@gmx.at>
5853
5854 * window.el (switch-to-buffer-preserve-window-point): New option.
5855 (switch-to-buffer):
5856 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
5857
5858 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
5859
5860 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
5861 Don't document nil as a useful value (bug#12583).
5862
5863 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
5864
5865 * net/tramp.el (tramp-debug-message):
5866 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
5867 (with-tramp-progress-reporter): Rename from
5868 `tramp-with-progress-reporter'.
5869 (with-tramp-file-property, with-tramp-connection-property):
5870 Move from tramp-cache.el, rename from `with-file-property' and
5871 `with-connection-property', respectively.
5872
5873 * net/tramp-cache.el: Remove `with-file-property' and
5874 `with-connection-property'.
5875
5876 * net/tramp.el:
5877 * net/tramp-gvfs.el:
5878 * net/tramp-sh.el:
5879 * net/tramp-smb.el: Adapt callees.
5880
5881 * net/trampver.el: Update release number.
5882
5883 2012-10-09 Glenn Morris <rgm@gnu.org>
5884
5885 * w32-fns.el (set-message-beep):
5886 * term/w32-win.el (set-message-beep): Update declarations.
5887
5888 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
5889
5890 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
5891 (mode-line-widen, mode-line-input-method-map)
5892 (mode-line-coding-system-map, mode-line-remote)
5893 (mode-line-unbury-buffer, mode-line-bury-buffer)
5894 (mode-line-next-buffer, mode-line-previous-buffer):
5895 Replace save-selected-window+select-window => with-selected-window.
5896
5897 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
5898 * progmodes/cc-vars.el (bq-process): Remove, unused.
5899
5900 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
5901
5902 2012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
5903
5904 Implemented `backward-up-list'-like navigation.
5905 * progmodes/python.el (python-nav-up-list)
5906 (python-nav-backward-up-list): New functions.
5907 (python-mode-map): Define substitute key for backward-up-list to
5908 python-nav-backward-up-list.
5909
5910 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
5911
5912 * progmodes/python.el (python-fill-paragraph): Rename from
5913 python-fill-paragraph-function. Fixed fill-paragraph for
5914 decorators (Bug#12605).
5915
5916 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
5917
5918 * progmodes/python.el (python-shell-output-filter): Handle extra
5919 carriage return in OSX (Bug#12409).
5920
5921 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
5922
5923 Fix shell handling of unbalanced quotes and parens in output.
5924 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
5925 (python-syntax-propertize-function): Use it.
5926 (python-shell-output-syntax-table): New var.
5927 (inferior-python-mode): Prevent unbalanced parens/quotes from
5928 previous output mess with current input context.
5929
5930 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
5931
5932 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
5933 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
5934
5935 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
5936
5937 * ffap.el (ffap-replace-file-component): Support Tramp file name
5938 syntax, not only ange-ftp's one.
5939
5940 2012-10-08 Glenn Morris <rgm@gnu.org>
5941
5942 * cus-start.el (message-log-max): Set :version.
5943
5944 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
5945
5946 2012-10-08 Martin Rudalics <rudalics@gmx.at>
5947
5948 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
5949 the minibuffer window (Bug#10851).
5950
5951 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
5952
5953 Enhancements on forward-sexp movement.
5954 * progmodes/python.el (python-nav-beginning-of-statement)
5955 (python-nav-end-of-statement): Return point-marker.
5956 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
5957 (python-info-current-symbol)
5958 (python-info-statement-starts-block-p): Rename from
5959 python-info-beginning-of-block-p.
5960 (python-info-statement-ends-block-p): Rename from
5961 python-info-end-of-block-p.
5962 (python-info-beginning-of-statement-p)
5963 (python-info-end-of-statement-p)
5964 (python-info-beginning-of-block-p, python-info-end-of-block-p):
5965 New functions.
5966
5967 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
5968
5969 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
5970 frame-selected-windows.
5971
5972 2012-10-08 Daniel Colascione <dancol@dancol.org>
5973
5974 * battery.el (battery-status-function): Check for
5975 w32-battery-status itself, not system-time windows-nt.
5976
5977 * frame.el: Require cl-lib.
5978 (display-format-alist): New variable mapping frame types to
5979 functions that initialize them.
5980 (window-system-for-display): New function: interprets
5981 display-format-alist.
5982 (make-frame-on-display): Remove existing display-selection logic
5983 and just forward to make-frame, which will now DTRT.
5984 (make-frame): Restructure to use window-system-for-display to
5985 figure out how to create a frame on a given display.
5986 (display-mouse-p): Look for frame-type w32, not a particular
5987 system-type.
5988
5989 * loadup.el: Load w32 lisp code when we have the w32 feature.
5990
5991 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
5992 system-type windows-nt.
5993
5994 * server.el (server-create-window-system-frame): Look for window
5995 type.
5996 (server-proces-filter): Only force a window system when windows-nt
5997 _and_ w32. Explain why.
5998
5999 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
6000 of window systems we configure for the mode.
6001
6002 * startup.el (command-line): Mark window system is initialized
6003 after we've done it.
6004
6005 * common-win.el (x-select-text): Look for w32, not windows-nt.
6006
6007 * ns-win.el: Require cl-lib. Add ourselves to
6008 display-format-alist.
6009 (ns-initialize-window-system): Assert we're not initialized twice.
6010
6011 * w32-win.el: Enable lexical binding; require cl-lib; add
6012 ourselves to display-format-alist.
6013 (w32-handle-dropped-file): Convert incoming dropped files from
6014 Windows paths to Cygwin ones before passing them on to the rest of
6015 Emacs.
6016 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
6017 (w32-initialize-window-system): Assert we're not initialized twice.
6018
6019 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
6020 (x-initialize-window-system): Assert we're not initialized twice.
6021
6022 * w32-common-fns.el: New File.
6023 (w32-version, w32-using-nt, w32-get-clipboard-data)
6024 (w32-set-clipboard-data, x-set-selection, x-get-selection)
6025 (w32-charset-info-alist, x-last-selected, text)
6026 (x-get-selection-value, x-selection-value): Move here.
6027
6028 * w32-fns.el: Require w32-common-fns.
6029 (w32-version, w32-using-nt, w32-get-clipboard-data)
6030 (w32-set-clipboard-data, x-set-selection, x-get-selection)
6031 (w32-charset-info-alist, x-last-selected, text)
6032 (x-get-selection-value, x-selection-value): Move to
6033 w32-common-fns.
6034
6035 * w32-vars.el:
6036 (w32-allow-system-shell, w32-system-shells): Define only in
6037 non-cygwin case.
6038
6039 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
6040
6041 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
6042 (read-passwd): Remove a few more potential sources of leaks.
6043
6044 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
6045
6046 * progmodes/python.el (inferior-python-mode)
6047 (python-shell-make-comint): Fix initialization of local
6048 variables copied from parent buffer.
6049
6050 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
6051
6052 * term/ns-win.el (ns-read-file-name): Update declaration to match
6053 nsfns.m.
6054 (ns-respond-to-change-font): Change fontsize separately so we are sure
6055 it is set when font is acted upon.
6056
6057 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
6058
6059 Enhancements to indentation.
6060 * progmodes/python.el (python-indent-context): Give priority to
6061 inside-string context. Make comments indentation markers.
6062 (python-indent-region): Do not mess with strings, unless it's the
6063 enclosing set of quotes.
6064
6065 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
6066
6067 * window.el (internal--before-save-selected-window)
6068 (internal--after-save-selected-window): New functions extracted from
6069 save-selected-window. Make sure we return the `alist' we construct.
6070 (save-selected-window): Use them.
6071
6072 * textmodes/tex-mode.el (tex-recenter-output-buffer):
6073 Use with-selected-window.
6074
6075 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
6076 forms that define macros (bug#12593).
6077
6078 2012-10-07 Kenichi Handa <handa@gnu.org>
6079
6080 * international/mule-conf.el (compound-text-with-extensions):
6081 Add :mime-charset property as x-ctext.
6082
6083 2012-10-07 Stefan Merten <smerten@oekonux.de>
6084
6085 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
6086 (rst-indent-literal-normal, rst-indent-literal-minimized)
6087 (rst-indent-comment): Correct :version tag.
6088 (rst-official-cvs-rev): Correct version string.
6089
6090 2012-10-07 Glenn Morris <rgm@gnu.org>
6091
6092 * mail/rmailmm.el (rmail-mime-process-multipart):
6093 Do not confuse a multipart message with an epilogue
6094 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
6095
6096 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
6097
6098 Fix shell output retrieval and comint-prompt-regexp init.
6099 * progmodes/python.el (inferior-python-mode):
6100 (python-shell-make-comint): Fix initialization of
6101 comint-prompt-regexp from copied file local variables.
6102 (python-shell-fetched-lines): Remove var.
6103 (python-shell-output-filter-in-progress): Rename from
6104 python-shell-fetch-lines-in-progress.
6105 (python-shell-output-filter-buffer): Rename from
6106 python-shell-fetch-lines-string.
6107 (python-shell-fetch-lines-filter): Delete function.
6108 (python-shell-output-filter): New function.
6109 (python-shell-send-string-no-output): Use them.
6110
6111 2012-10-07 Glenn Morris <rgm@gnu.org>
6112
6113 * hi-lock.el (hi-lock-process-phrase):
6114 Try to make it less fragile. (Bug#7161)
6115
6116 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
6117
6118 2012-10-06 Glenn Morris <rgm@gnu.org>
6119
6120 * ehelp.el (electric-help-mode): Use help-mode rather than
6121 non-existent mode `help'.
6122 (electric-help-map): Use button-buffer-map. (Bug#10917)
6123
6124 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
6125 (reftex-create-bibtex-footer): Fix custom types.
6126
6127 * progmodes/sh-script.el (sh-indent-after-continuation):
6128 Add explicit :group.
6129
6130 * textmodes/rst.el (rst-preferred-decorations)
6131 (rst-shift-basic-offset): Clarify obsolescence versions.
6132
6133 * profiler.el (profiler): Add missing group :version tag.
6134 * avoid.el (mouse-avoidance-banish-position):
6135 * proced.el (proced-renice-command):
6136 * calc/calc.el (calc-ensure-consistent-units):
6137 * calendar/icalendar.el (icalendar-import-format-uid):
6138 * net/tramp.el (tramp-save-ad-hoc-proxies):
6139 * progmodes/bug-reference.el (bug-reference-bug-regexp):
6140 * progmodes/flymake.el (flymake-error-bitmap)
6141 (flymake-warning-bitmap, flymake-fringe-indicator-position):
6142 * progmodes/sh-script.el (sh-indent-after-continuation):
6143 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
6144 (verilog-before-save-font-hook, verilog-after-save-font-hook):
6145 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
6146 (vhdl-array-index-record-field-in-sensitivity-list)
6147 (vhdl-indent-comment-like-next-code-line):
6148 * textmodes/reftex-vars.el (reftex-ref-style-alist)
6149 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
6150 (reftex-cite-key-separator, reftex-create-bibtex-header)
6151 (reftex-create-bibtex-footer):
6152 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
6153 (rst-indent-literal-normal, rst-indent-literal-minimized)
6154 (rst-indent-comment): Add missing custom :version tags.
6155
6156 * calendar/timeclock.el (timeclock-modeline-display):
6157 Add missing obsolete alias for renamed user option.
6158
6159 * strokes.el (strokes-modeline-string):
6160 * emulation/crisp.el (crisp-mode-modeline-string):
6161 * eshell/esh-mode.el (eshell-status-in-modeline):
6162 Aliases to defcustoms must come before the defcustom.
6163
6164 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
6165 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
6166 (cal-tex-cursor-week-monday): Doc fixes.
6167 (cal-tex-cursor-week2-summary): Doc fix.
6168 Rename from cal-tex-cursor-week-at-a-glance.
6169
6170 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
6171 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
6172
6173 * calendar/calendar.el (calendar-mode-map):
6174 Add cal-tex-cursor-week2-summary.
6175
6176 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
6177
6178 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
6179
6180 * subr.el (read-passwd-map): New var.
6181 (read-passwd): Use `read-string' again.
6182 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
6183
6184 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
6185
6186 * register.el (append-to-register, prepend-to-register):
6187 Deactivate mark, as does `copy-to-register' (bug#12389).
6188
6189 2012-10-06 Chong Yidong <cyd@gnu.org>
6190
6191 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
6192
6193 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
6194
6195 * international/characters.el: Fix simple mistake ((car chars) ->
6196 elt), delete duplicated code.
6197
6198 2012-10-06 Glenn Morris <rgm@gnu.org>
6199
6200 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
6201
6202 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
6203
6204 * color.el (color-hsl-to-rgb): Fix incorrect results for
6205 small and large hue values. (Bug#12559)
6206
6207 2012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
6208
6209 Enhancements to docstring formatting when filling paragraphs.
6210 * progmodes/python.el (python-fill-docstring-style): Rename from
6211 python-fill-string-style. Added new style.
6212 (python-fill-string): Use new style. Better checks for
6213 docstrings.
6214
6215 2012-10-05 Glenn Morris <rgm@gnu.org>
6216
6217 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
6218
6219 * color.el (color-name-to-rgb, color-rgb-to-hex)
6220 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
6221 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
6222 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
6223 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
6224
6225 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
6226
6227 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
6228
6229 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
6230 to get the correct size across symlinks.
6231
6232 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
6233
6234 2012-10-04 Juri Linkov <juri@jurta.org>
6235
6236 * replace.el (query-replace-interactive): Declare obsolete.
6237 (query-replace-read-from): Add the last incremental search string
6238 to the list of default values accessible via M-n.
6239 (map-query-replace-regexp): Use `read-regexp'.
6240 (query-replace, query-replace-regexp, query-replace-regexp-eval)
6241 (map-query-replace-regexp, replace-string, replace-regexp):
6242 Fix docstrings to replace mentions of `query-replace-interactive'
6243 with alternatives. (Bug#12526)
6244
6245 2012-10-04 Juri Linkov <juri@jurta.org>
6246
6247 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
6248 (dired-pop-to-buffer): Declare obsolete.
6249 (dired-mark-pop-up): Doc fix.
6250
6251 2012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
6252
6253 Allow user to set docstring style for fill-paragraph.
6254 * progmodes/python.el
6255 (python-fill-comment-function, python-fill-string-function)
6256 (python-fill-decorator-function, python-fill-paren-function):
6257 Remove :safe for defcustoms.
6258 (python-fill-string-style): New defcustom
6259 (python-fill-paragraph-function): Enhance context detection.
6260 (python-fill-string): Honor python-fill-string-style settings.
6261
6262 2012-10-04 Martin Rudalics <rudalics@gmx.at>
6263
6264 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
6265 after setting its buffer (Bug#10805).
6266
6267 2012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
6268
6269 Fix cornercase for string syntax.
6270 * progmodes/python.el (python-syntax-propertize-function):
6271 Simplify and enhance the regexp for unescaped quotes. Now it also
6272 matches quotes in weird situations like the single quote in
6273 "something\"'".
6274 (python-syntax-stringify): Simplify num-quotes detecting code.
6275
6276 2012-10-03 Glenn Morris <rgm@gnu.org>
6277
6278 * help-macro.el (three-step-help):
6279 Revert 2012-09-29 change. (Bug#12567)
6280
6281 2012-10-03 Martin Rudalics <rudalics@gmx.at>
6282
6283 * menu-bar.el (kill-this-buffer): Don't do anything when
6284 `menu-frame' is not alive or visible (Bug#8184).
6285
6286 * emacs-lisp/debug.el (debug): When quitting the debugger window
6287 restore current buffer (Bug#12502).
6288
6289 2012-10-02 Chong Yidong <cyd@gnu.org>
6290
6291 * progmodes/hideif.el (hif-lookup, hif-defined):
6292 Handle semantic-c-takeover-hideif.
6293
6294 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
6295
6296 Change sampling interval units from ms to ns.
6297 * profiler.el (profiler-sampling-interval): Change units
6298 from ms to ns, multiplying the default by 1000000 so that
6299 it remains 1 ms.
6300 (profiler-report-cpu-line-format): Give enough room for
6301 the maximum counters on 64-bit hosts.
6302 (profiler-report-render-calltree-1): Call them "CPU samples",
6303 not "Time (ms)", since they are not milliseconds now (and
6304 never really were).
6305
6306 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
6307
6308 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
6309 Fix querying BBDB for entries without a last name (Bug#11580).
6310
6311 2012-10-02 Chong Yidong <cyd@gnu.org>
6312
6313 * emacs-lisp/eieio.el: Restore Version header.
6314
6315 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
6316
6317 * vc/diff-mode.el (diff--auto-refine-data): New var.
6318 (diff-hunk): Use it to delay refinement.
6319 (diff-mode): Remove overlays when we turn off font-lock.
6320
6321 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
6322 (table-initialize-table-fixed-width-mode)
6323 (table-set-table-fixed-width-mode): Remove functions.
6324 (table-command-list): Move initialization into declaration.
6325 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
6326 (table-with-cache-buffer): Use `declare'.
6327 (table-span-cell): Simplify via CSE.
6328 (table-fixed-width-mode): Use define-minor-mode.
6329 (table-call-interactively, table-funcall, table-apply): Remove.
6330 (table-function): New function, to replace them.
6331
6332 * bookmark.el (bookmark-search-pattern): Remove var.
6333 (bookmark-read-search-input): Remove function.
6334 (bookmark-bmenu-search): Reimplement using a minibuffer.
6335
6336 * faces.el (modeline): Remove obsolete face name.
6337
6338 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
6339 and give a non-nil default value.
6340 (add-change-log-entry): Simplify accordingly.
6341
6342 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
6343
6344 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
6345 (vc-git-log-edit-toggle-amend): New function.
6346 (vc-git-log-edit-toggle-signoff): New function.
6347 (vc-git-log-edit-mode): New major mode.
6348 (vc-git-log-edit-mode-map): Keymap for it.
6349 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
6350
6351 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
6352 header names.
6353 (log-edit-toggle-header): New function.
6354 (log-edit-extract-headers): Accept function values in HEADERS alist.
6355
6356 2012-10-01 David Engster <deng@randomsample.de>
6357
6358 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
6359 from symbol property and change message to be more consistent with
6360 Emacs proper.
6361 (eieio-describe-generic): Add filename for each implementation.
6362 Fix indices for generic and normal methods.
6363 (eieio-method-def, eieio-class-def): New buttons.
6364 (eieio-help-find-method-definition)
6365 (eieio-help-find-class-definition): New functions.
6366 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
6367 class, constructor and method definitions.
6368
6369 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
6370 information in symbol property.
6371 (scoped-class): Remove.
6372 (eieio-slot-name-index, call-next-method): Check if it is bound.
6373
6374 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
6375
6376 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
6377 (eieio-custom-mode): New major mode.
6378 (eieio-customize-object): Use it.
6379
6380 2012-10-01 Eric Ludlam <zappo@gnu.org>
6381
6382 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
6383 specifying the expected class, and whether subclassing is allowed.
6384 (eieio-persistent-convert-list-to-object):
6385 (eieio-persistent-validate/fix-slot-value)
6386 (eieio-persistent-slot-type-is-class-p): New functions.
6387 (eieio-named::slot-missing): Doc fix.
6388
6389 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
6390 Stop using unused publd variable.
6391
6392 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
6393 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
6394 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
6395 (eieio-speedbar-handle-click): Do not specify a class for the
6396 method. Fixes method invocation order problems with EDE.
6397
6398 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
6399
6400 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
6401 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
6402
6403 2012-10-01 Karl Fogel <kfogel@red-bean.com>
6404
6405 * bookmark.el (bookmark-version-control): Give tags in the
6406 :type choices (Bug#12309), and improve doc string.
6407 (bookmark-write-file): Bind `print-circle' to `t' to allow
6408 circular custom bookmark types. (Bug#12503)
6409
6410 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
6411
6412 Revert the FOLLOW-SYMLINKS change for file-attributes.
6413 * files.el (remote-file-name-inhibit-cache, after-find-file):
6414 * time.el (display-time-file-nonempty-p): Undo last change.
6415
6416 * profiler.el (profiler-sampling-interval): Change default back to 1.
6417 See Stefan Monnier in
6418 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
6419
6420 2012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
6421
6422 Shell output catching a la gud-gdb.
6423 * progmodes/python.el (python-shell-fetch-lines-in-progress)
6424 (python-shell-fetch-lines-string, python-shell-fetched-lines):
6425 New Vars.
6426 (python-shell-fetch-lines-filter): New function.
6427 (python-shell-send-string-no-output): Use them.
6428
6429 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
6430
6431 * profiler.el (profiler-sampling-interval): Rename from
6432 profiler-sample-interval.
6433 (profiler-sampling-interval): Default to 10.
6434 (profiler-find-profile): New command (was profiler-find-log).
6435 (profiler-find-profile-other-window): New command.
6436 (profiler-find-profile-other-frame): New command.
6437 (profiler-profile): Introduce API-level data structure.
6438
6439 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
6440
6441 file-attributes has a new optional arg FOLLOW-SYMLINKS.
6442 * files.el (remote-file-name-inhibit-cache):
6443 * time.el (display-time-file-nonempty-p): Use it.
6444 * files.el (after-find-file): Don't chase links before calling
6445 file-exists-p, as file-exists-p already does the right thing.
6446
6447 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
6448
6449 Merge from standalone RefTeX repository.
6450
6451 The following ChangeLog entries are shortened versions of the
6452 original ones with file paths adapted. A not so strongly edited
6453 version of the original ChangeLog can be found in the commit log.
6454
6455 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
6456 (reftex-arg-cite): Use `reftex-cite-key-separator'.
6457 Correctly handle new value type returned by `reftex-citation'.
6458
6459 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
6460 that entries with whitespace at various places are found.
6461 Doc fix. Include entries that are cross-referenced from cited entries.
6462 Include @String definitions in the resulting bib file. Add header
6463 and footer defined in `reftex-create-bibtex-header' and
6464 `reftex-create-bibtex-footer'.
6465 (reftex-do-citation): Make it possible again to insert
6466 non-existent entries. Save match data when asking for optional
6467 arguments. Return all keys, not just the first one.
6468 (reftex-all-used-citation-keys): Fix regexp to correctly extract
6469 all citations in the same line.
6470 (reftex-parse-bibtex-entry): Accept additional optional argument
6471 `raw' and keep quotes or braces if it is non-nil. Match fields
6472 containing hyphens besides word constituents.
6473 (reftex-get-string-refs): New function.
6474 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
6475 and ask if it should be reread in case it did.
6476 (reftex-pop-to-bibtex-entry)
6477 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
6478 entries with spaces or tabs in front of arguments.
6479 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
6480 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
6481 Match entries containing numbers and symbol constituents.
6482 (reftex-do-citation, reftex-figure-out-cite-format):
6483 Use `reftex-cite-key-separator'.
6484
6485 * textmodes/reftex-dcr.el: Move provide statement to end of file.
6486 (reftex-mouse-view-crossref): Explain why point is set.
6487
6488 * textmodes/reftex-global.el: Whitespace changes.
6489
6490 * textmodes/reftex-index.el: Move provide statement to end of
6491 file.
6492 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
6493 (reftex-index-visit-phrases-buffer): Set marker when visiting
6494 buffer. This allows for returning from the phrases file to the
6495 file one was just editing instead of the file where the last
6496 phrases was added from.
6497 (reftex-index-phrases-syntax-table): New variable. Give ?\"
6498 punctuation syntax as it usually is not used as string quote in
6499 TeX-related modes and may occur unmatched. The change also
6500 prevents fontification of quoted content.
6501 (reftex-index-phrases-mode): Use it.
6502
6503 * textmodes/reftex-parse.el (reftex-parse-from-file):
6504 Move backward one char if a `\' was matched after a section macro.
6505 (reftex-parse-from-file): Use beginning of match instead of end as
6506 bound.
6507
6508 * textmodes/reftex-ref.el: Adapt creation of
6509 `reftex-<package>-<macro>' functions to new structure of
6510 `reftex-ref-style-alist'.
6511 (reftex-reference): Use `reftex-ref-style-list' function.
6512 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
6513 reference macro if `reftex-ref-macro-prompt' is non-nil.
6514 (reftex-reference): Pass refstyle to `reftex-format-special'.
6515 Determine reference macro by looking at
6516 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
6517 Use only one special format function.
6518 (reftex-varioref-vref, reftex-fancyref-fref)
6519 (reftex-fancyref-Fref): Remove definitions. The functions are now
6520 generated from `reftex-ref-style-alist'.
6521 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
6522 Remove.
6523 (reftex-format-special): New function.
6524
6525 * textmodes/reftex-sel.el
6526 (reftex-select-cycle-ref-style-internal): Adapt to new structure
6527 of `reftex-ref-style-alist'. Remove code for testing macro type.
6528 (reftex-select-toggle-varioref)
6529 (reftex-select-toggle-fancyref): Remove.
6530 (reftex-select-cycle-ref-style-internal)
6531 (reftex-select-cycle-ref-style-forward)
6532 (reftex-select-cycle-ref-style-backward): New functions.
6533 (reftex-select-label-map): Use `v' and `V' for general cycling
6534 through reference styles. Add `p' for switching between number
6535 and page reference types.
6536
6537 * textmodes/reftex-toc.el (reftex-re-enlarge):
6538 Call `enlarge-window' only if there is something to do because in Emacs
6539 the horizontal version throws an error even if the parameter is 0.
6540
6541 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
6542 (reftex-plug-into-AUCTeX): Doc fix.
6543 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
6544 string. Adapt to new name.
6545 (reftex-ref-style-alist): Change structure so that it is not
6546 possible to use multiple different package names within a style.
6547 Remove the symbols for symbols for macro type distinction.
6548 Add characters for macro selection.
6549 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
6550 (reftex-create-bibtex-footer): New variables.
6551 (reftex-format-ref-function): Mention third argument of special
6552 format function.
6553 (reftex-ref-style-alist, reftex-ref-style-default-list):
6554 New variables.
6555 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
6556 to new implementation. Mark as obsolete. Add compatibility code
6557 for honoring the variable values in case they are set.
6558 (reftex-cite-format-builtin, reftex-bibliography-commands):
6559 Add support for ConTeXt.
6560 (reftex-format-ref-function, reftex-format-cite-function):
6561 Fix custom type.
6562 (reftex-cite-key-separator): New variable.
6563
6564 * textmodes/reftex.el (reftex-syntax-table-for-bib)
6565 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
6566 `reftex-syntax-table' because parens have to retain their paren
6567 syntax in order for parsing of BibTeX entries like @book(...) to
6568 work.
6569 (reftex-in-comment): Do not error out if `comment-start-skip' is
6570 not set. Deal correctly with escaped comment characters.
6571 (reftex-tie-multifile-symbols): Add doc string.
6572 Initialize `reftex-ref-style-list'.
6573 (reftex-untie-multifile-symbols): Add doc string.
6574 (reftex-add-index-macros): Doc fix.
6575 (reftex-ref-style-activate, reftex-ref-style-toggle)
6576 (reftex-ref-style-list): New functions.
6577 (reftex-mode-menu): Use them. Adapt to new structure of
6578 `reftex-ref-style-alist'.
6579 (reftex-select-with-char): Kill the RefTeX Select buffer when
6580 done.
6581 (reftex-remove-if): New function.
6582 (reftex-erase-all-selection-and-index-buffers)
6583 (reftex-mode-menu): Reference styles are now computed from
6584 `reftex-ref-style-alist'. Fix typo.
6585 (reftex-report-bug): New function.
6586 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
6587 algorithms with O(n log n). Introduce optional argument SORT (not
6588 yet used).
6589
6590 2012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
6591
6592 Enhancements for triple-quote string syntax.
6593 * progmodes/python.el (python-syntax-propertize-function):
6594 Match both quote cases in one regexp.
6595 (python-syntax-stringify): Handle matches properly.
6596
6597 2012-09-30 Juri Linkov <juri@jurta.org>
6598
6599 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
6600 to nil around the call to `insert' to prevent
6601 directory time modification by lock_file. (Bug#2295)
6602 * tar-mode.el (tar-summarize-buffer): Idem.
6603
6604 2012-09-30 Juri Linkov <juri@jurta.org>
6605
6606 * facemenu.el (list-colors-sort): Add option "Luminance".
6607 (list-colors-sort-key): Implement it.
6608
6609 * vc/diff-mode.el (diff-refine-removed):
6610 * vc/ediff-init.el (ediff-fine-diff-A):
6611 * vc/smerge-mode.el (smerge-refined-removed):
6612 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
6613
6614 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
6615
6616 * term/ns-win.el (x-file-dialog): New function.
6617
6618 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
6619
6620 * ido.el (ido-max-directory-size): Default to nil; the current
6621 default is small for POSIX systems, and impractical on Windows 7
6622 now that lstat returns directory sizes for NTFS.
6623
6624 2012-09-30 Martin Rudalics <rudalics@gmx.at>
6625
6626 In buffer display functions handle window-height/window-width
6627 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
6628 * window.el (window--display-buffer): New argument ALIST.
6629 Obey window-height and window-width alist entries.
6630 (window--try-to-split-window): New argument ALIST.
6631 Bind window-combination-limit to t when the window's size shall be
6632 changed and window-combination-limit equals `window-size'.
6633 (display-buffer-in-atom-window)
6634 (display-buffer-in-major-side-window)
6635 (display-buffer-in-side-window, display-buffer-same-window)
6636 (display-buffer-reuse-window, display-buffer-pop-up-frame)
6637 (display-buffer-pop-up-window, display-buffer-below-selected)
6638 (display-buffer-at-bottom, display-buffer-in-previous-window)
6639 (display-buffer-use-some-window): Adjust all callers of
6640 window--display-buffer and window--try-to-split-window.
6641 (fit-frame-to-buffer): New option.
6642 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
6643 is non-nil.
6644 (display-buffer-in-major-side-window): Evaluate window-height /
6645 window-width alist entries.
6646
6647 * help.el (temp-buffer-resize-frames)
6648 (temp-buffer-resize-regexps): Remove options.
6649 (temp-buffer-resize-mode): Adjust doc-string.
6650 (resize-temp-buffer-window): Don't consult
6651 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
6652 temp-buffer-resize-frames.
6653
6654 * dired.el (dired-mark-pop-up):
6655 Call display-buffer-below-selected with a fit-window-to-buffer alist
6656 entry.
6657
6658 2012-09-30 Chong Yidong <cyd@gnu.org>
6659
6660 * server.el (server-host): Document the security implications.
6661 (server-auth-key): Doc fix.
6662
6663 * startup.el (initial-buffer-choice): Doc fix.
6664
6665 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
6666
6667 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
6668 restriction change.
6669
6670 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
6671
6672 * help-fns.el (help-fns--obsolete): Fix last change.
6673
6674 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
6675
6676 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
6677 (minor-mode-map-alist): Remove redundant code.
6678
6679 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
6680 visited in a buffer.
6681 (cvs-insert-visited-file): New function.
6682 (find-file-hook): Use it.
6683
6684 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
6685
6686 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
6687 chose face.
6688 (log-edit-empty-buffer-p): Don't require a space after a header.
6689
6690 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
6691
6692 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
6693
6694 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
6695 a proper minor-mode.
6696
6697 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
6698
6699 2012-09-29 Glenn Morris <rgm@gnu.org>
6700
6701 * winner.el (winner-mode): Remove variable (let define-minor-mode
6702 handle it).
6703 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
6704 Doc fixes.
6705 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
6706 (winner-mode): Use define-minor-mode.
6707
6708 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
6709 the full definition in loaddefs, rather than duplicating it.
6710
6711 * help-macro.el (three-step-help): No need to autoload defcustom.
6712
6713 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
6714 (inferior-lisp-program, inferior-lisp-load-command)
6715 (inferior-lisp-prompt, inferior-lisp-mode-hook):
6716 No need to autoload defcustoms.
6717
6718 * hippie-exp.el (hippie-expand-try-functions-list)
6719 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
6720 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
6721 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
6722 (hippie-expand-only-buffers): No need to autoload defcustoms.
6723 * progmodes/vhdl-mode.el (vhdl-line-expand):
6724 Explicitly load hippie-exp, so it does not get autoloaded
6725 while hippie-expand-try-functions-list is let-bound.
6726
6727 2012-09-28 Glenn Morris <rgm@gnu.org>
6728
6729 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
6730
6731 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
6732 Only "cl.el" counts as cl these days.
6733
6734 2012-09-28 Juri Linkov <juri@jurta.org>
6735
6736 Display archive errors in the echo area instead of inserting
6737 to the file buffer.
6738
6739 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
6740 to STDERR-TEST that can be a regexp matching a successful output.
6741 Create a temporary file and redirect stderr to it. Search for
6742 STDERR-TEST in the stderr output and display it in the echo area
6743 if no match is found.
6744 (archive-extract-by-file): New function like
6745 `archive-extract-by-stdout' but extracting archives to files
6746 and looking for successful matches in stdout. Function body is
6747 mostly copied from `archive-rar-extract'.
6748 (archive-rar-extract): Use `archive-extract-by-file'.
6749 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
6750
6751 2012-09-28 Leo Liu <sdl.web@gmail.com>
6752
6753 * pcomplete.el (pcomplete-show-completions):
6754 Use minibuffer-message to make pcomplete usable in minibuffer.
6755
6756 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
6757
6758 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
6759
6760 * type-break.el: Use lexical-binding.
6761 (type-break-mode): Use define-minor-mode.
6762
6763 * emacs-lisp/pcase.el (pcase--mark-used): New.
6764 (pcase--u1): Use it (bug#12512).
6765
6766 * custom.el (load-theme): Set buffer-file-name so the load is recorded
6767 in load-history with the right file name.
6768
6769 2012-09-28 Tassilo Horn <tsdh@gnu.org>
6770
6771 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
6772 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
6773 (doc-view-get-bounding-box): Make bounding box slicing work for
6774 ODF and DVI documents.
6775
6776 2012-09-28 Glenn Morris <rgm@gnu.org>
6777
6778 * type-break.el (type-break-mode, type-break-interval)
6779 (type-break-good-rest-interval, type-break-keystroke-threshold):
6780 No need to autoload.
6781 (type-break-good-rest-interval, type-break-keystroke-threshold):
6782 Add :set-after.
6783
6784 2012-09-28 Chong Yidong <cyd@gnu.org>
6785
6786 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
6787 Add :version tag.
6788
6789 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
6790
6791 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
6792
6793 2012-09-27 Glenn Morris <rgm@gnu.org>
6794
6795 * faces.el (x-display-name): Declare (for without-x builds).
6796
6797 * linum.el (linum-format): Don't autoload it. Improve :type.
6798
6799 * progmodes/tcl.el: Don't require outline when compiling.
6800 (outline-regexp, outline-level): Declare.
6801 * textmodes/sgml-mode.el: Don't require outline when compiling.
6802 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
6803
6804 * term.el (term-ansi-reset):
6805 Try setting term-ansi-face-already-done to nil. (Bug#11785)
6806
6807 * vc/vc.el (vc-next-action): Only gripe about committing read-only
6808 files for RCS and SCCS. (Bug#9781)
6809
6810 2012-09-27 Chong Yidong <cyd@gnu.org>
6811
6812 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
6813 change; value should be t.
6814
6815 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
6816
6817 * image-mode.el: Use lexical-binding.
6818 (image-mode-winprops): Use t to stand for the window of
6819 a buffer that's not displayed.
6820 * doc-view.el (doc-view-new-window-function): Handle the new
6821 t in winprops.
6822 (doc-view-enlarge): Make it a real nop if the size is not changed.
6823 (doc-view-display): Handle the case where the buffer is not (yet?)
6824 displayed in any window.
6825 (doc-view-saved-settings): New var.
6826 (doc-view-mode): Use it.
6827 (doc-view-fallback-mode): Set it.
6828
6829 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
6830 Set lexical-binding.
6831 (minibuffer-eldef-shorten-default): New var.
6832 (minibuffer-default-in-prompt-regexps): Use it for new default.
6833 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
6834
6835 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
6836
6837 * international/uni-bidi.el:
6838 * international/uni-category.el:
6839 * international/uni-name.el:
6840 * international/uni-numeric.el: Regenerate.
6841
6842 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
6843 Stefan Monnier <monnier@iro.umontreal.ca>
6844
6845 * profiler.el: New file.
6846
6847 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
6848
6849 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
6850 (testcover-reinstrument): Simplify with CSE.
6851
6852 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
6853
6854 * window.el (temp-buffer-window-setup): Fix typo in docstring.
6855
6856 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
6857
6858 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
6859 (verilog-auto-input, verilog-auto-insert-lisp)
6860 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
6861 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
6862 (verilog-auto-unused, verilog-auto-wire)
6863 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
6864 newline. Reported by Andrew Jones.
6865 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
6866 Reported by Brad Dobbie.
6867 (verilog-batch-delete-trailing-whitespace):
6868 Create verilog-batch-delete-trailing-whitespace.
6869 Reported by Brad Dobbie.
6870 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
6871 parameters from another module. Reported by Dan Katz.
6872 (verilog-auto, verilog-auto-assign-modport)
6873 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
6874 AUTOINOUTMODPORT for UVM interface module shell generation.
6875 Reported by Brad Dobbie.
6876 (verilog-auto-inst-interfaced-ports): Make default nil, as more
6877 standard behavior.
6878 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
6879 Reported by Matt Martin.
6880
6881 2012-09-25 Martin Rudalics <rudalics@gmx.at>
6882
6883 * window.el (window--resize-child-windows): When resizing child
6884 windows proportionally, process them in reverse order to
6885 preserve the "when splitting a window the new one gets the odd
6886 line" behavior.
6887 (window--resize-root-window-vertically): When resizing the
6888 minibuffer window try to affect only windows at the bottom of the
6889 frame. (Bug#12419)
6890
6891 2012-09-25 Chong Yidong <cyd@gnu.org>
6892
6893 * subr.el (declare): Doc fix.
6894
6895 * help-fns.el (help-fns--obsolete): Handle macros properly.
6896
6897 2012-09-25 Chong Yidong <cyd@gnu.org>
6898
6899 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
6900 this function obsolete.
6901
6902 * calendar/cal-x.el (calendar-two-frame-setup)
6903 (calendar-only-one-frame-setup, calendar-one-frame-setup):
6904 * calendar/calendar.el (american-calendar, european-calendar)
6905 (calendar-for-loop):
6906 * comint.el (comint-dynamic-simple-complete)
6907 (comint-dynamic-complete-as-filename, comint-unquote-filename):
6908 * desktop.el (desktop-load-default):
6909 * dired-x.el (dired-omit-here-always)
6910 (dired-hack-local-variables, dired-default-directory):
6911 * emacs-lisp/derived.el (derived-mode-class):
6912 * emacs-lisp/timer.el (timer-set-time-with-usecs):
6913 * emacs-lock.el (toggle-emacs-lock):
6914 * epa.el (epa-display-verify-result):
6915 * epg.el (epg-sign-keys, epg-start-sign-keys)
6916 (epg-passphrase-callback-function):
6917 * eshell/esh-util.el (eshell-for):
6918 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
6919 (eshell-add-to-window-buffer-names):
6920 * files.el (locate-file-completion):
6921 * imenu.el (imenu-example--create-c-index)
6922 (imenu-example--create-lisp-index)
6923 (imenu-example--lisp-extract-index-name)
6924 (imenu-example--name-and-position):
6925 * international/mule-cmds.el (princ-list):
6926 * international/mule-diag.el (decode-codepage-char):
6927 * international/mule-util.el (detect-coding-with-priority):
6928 * iswitchb.el (iswitchb-read-buffer):
6929 * mail/mailalias.el (mail-complete):
6930 * mail/sendmail.el (mail-sent-via):
6931 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
6932 (mouse-major-mode-menu):
6933 * password-cache.el (password-read-and-add):
6934 * pcomplete.el (pcomplete-parse-comint-arguments):
6935 * progmodes/sh-script.el (sh-maybe-here-document):
6936 * replace.el (query-replace-regexp-eval):
6937 * savehist.el (savehist-load):
6938 * simple.el (choose-completion-delete-max-match):
6939 * term.el (term-dynamic-simple-complete):
6940 * vc/ediff-init.el (ediff-check-version):
6941 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
6942 * vc/vc.el (vc-diff-switches-list):
6943 * view.el (view-return-to-alist-update): Likewise.
6944
6945 * subr.el (eval-next-after-load, makehash, insert-string)
6946 (assoc-ignore-representation, assoc-ignore-case): Use declare to
6947 mark obsolete.
6948 (mode-line-inverse-video): Variable deleted.
6949
6950 * international/mule-util.el (string-to-sequence): Remove.
6951
6952 * calendar/calendar.el (calendar-version):
6953 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
6954 (icalendar-convert-diary-to-ical):
6955 * cus-edit.el (custom-mode):
6956 * ansi-color.el (ansi-color-unfontify-region):
6957 * international/latin1-disp.el (latin1-char-displayable-p):
6958 * progmodes/cwarn.el (turn-on-cwarn-mode):
6959 * progmodes/which-func.el (which-func-update-1):
6960 Use define-obsolete-function-alias.
6961
6962 * net/newst-backend.el (newsticker-cache-filename):
6963 * net/newst-treeview.el (newsticker-groups-filename):
6964 Fix incorrect obsolescence declaration.
6965
6966 * allout.el (allout-passphrase-hint-string): Likewise.
6967 (allout-init): Use a declare form to mark obsolete.
6968
6969 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
6970 this applies to functions.
6971
6972 * iswitchb.el (iswitchb-read-buffer): Move code of
6973 iswitchb-define-mode-map here, and delete that obsolete function.
6974
6975 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
6976 font-lock-reference-face.
6977
6978 2012-09-25 Glenn Morris <rgm@gnu.org>
6979
6980 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
6981 Doc fixes.
6982
6983 * eshell/em-term.el (eshell-term-name):
6984 Default to term-term-name. (Bug#12485)
6985
6986 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
6987
6988 * progmodes/python.el (python-shell-send-buffer): Better handling
6989 of "if __name__ == '__main__':" conditionals when sending the buffer.
6990
6991 2012-09-24 Glenn Morris <rgm@gnu.org>
6992
6993 * eshell/esh-cmd.el (eshell-find-alias-function):
6994 Tighten up file-name regexp. (Bug#12499)
6995
6996 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
6997
6998 Enhancements for triple-quote string syntax.
6999 * progmodes/python.el (python-quote-syntax): Remove.
7000 (python-syntax-propertize-function): New value.
7001 (python-syntax-count-quotes, python-syntax-stringify):
7002 New functions.
7003
7004 2012-09-24 Chong Yidong <cyd@gnu.org>
7005
7006 * mail/supercite.el (sc-version): Remove obsolete function.
7007 (sc-describe): Don't mark as obsolete, since it is bound.
7008 (sc-submit-bug-report): Remove.
7009
7010 * vc/log-edit.el (cvs-changelog-full-paragraphs)
7011 (cvs-commit-buffer-require-final-newline): Remove.
7012 (log-edit-require-final-newline)
7013 (log-edit-changelog-full-paragraphs): Default to t.
7014
7015 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
7016 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
7017 * vc/vc.el (vc-checkout-carefully): Likewise.
7018
7019 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
7020 (emerge-version): Remove.
7021
7022 * progmodes/compile.el (compile-internal): Remove.
7023 (compilation-parse-errors-function): Fix typo.
7024
7025 * international/mule.el (set-char-table-default): Remove.
7026 (set-coding-priority, make-coding-system, generic-char-p)
7027 (charset-list, charset-bytes, charset-id): Use declare to mark
7028 functions as obsolete.
7029
7030 * vc/pcvs-defs.el (cvs-buffer-name-alist)
7031 (cvs-invert-ignore-marks): Remove references to obsolete vars.
7032 * vc/vc-hooks.el (vc-default-registered): Don't use
7033 vc-master-templates.
7034
7035 * font-lock.el (font-lock-reference-face):
7036 Use define-obsolete-variable-alias.
7037
7038 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
7039 * calendar/calendar.el (calendar-font-lock-keywords):
7040 * calendar/diary-lib.el (diary-font-lock-keywords)
7041 (diary-fancy-font-lock-keywords):
7042 * textmodes/reftex-sel.el (reftex-insert-docstruct):
7043 * textmodes/reftex-index.el (reftex-insert-index):
7044 * textmodes/reftex-cite.el (reftex-format-bib-entry):
7045 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7046 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
7047 * progmodes/prolog.el (prolog-font-lock-keywords):
7048 * progmodes/idlwave.el (idlwave-idl-keywords):
7049 * progmodes/ada-mode.el (ada-font-lock-keywords):
7050 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
7051
7052 2012-09-24 Glenn Morris <rgm@gnu.org>
7053
7054 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
7055
7056 2012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
7057
7058 * progmodes/python.el (python-indent-line): More consistent cursor
7059 movement behavior.
7060
7061 2012-09-23 Stefan Merten <smerten@oekonux.de>
7062
7063 * textmodes/rst.el: Fix compiler warning.
7064
7065 2012-09-23 Roland Winkler <winkler@gnu.org>
7066
7067 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
7068 Transcribe also LaTeX hyphenation.
7069 (bibtex-reformat): Bug fix. Do not quote twice the elements of
7070 bibtex-reformat-previous-options.
7071
7072 2012-09-23 Roland Winkler <winkler@gnu.org>
7073
7074 * proced.el (proced-renice-command): New variable.
7075 (proced-marked-processes): New function.
7076 (proced-with-processes-buffer): New macro.
7077 (proced-send-signal): Use them.
7078 (proced-renice): New command bound to r.
7079
7080 2012-09-23 Roland Winkler <winkler@gnu.org>
7081
7082 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
7083 ibuffer-saved-filter-groups has one element, shortcut the call of
7084 completing-read. (Bug#12331)
7085
7086 2012-09-23 Chong Yidong <cyd@gnu.org>
7087
7088 * bindings.el (mode-line-toggle-read-only):
7089 * bs.el (bs-toggle-readonly):
7090 * buff-menu.el (Buffer-menu-toggle-read-only):
7091 * dired.el (dired-toggle-read-only):
7092 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
7093
7094 2012-09-23 Chong Yidong <cyd@gnu.org>
7095
7096 * image.el (image-type-available-p): Adapt to init-image-library
7097 argument changes.
7098
7099 2012-09-22 Juri Linkov <juri@jurta.org>
7100
7101 * dired.el (dired-mode-map): Add [remap read-only-mode] for
7102 `dired-toggle-read-only'. (Bug#12462)
7103
7104 2012-09-22 Martin Rudalics <rudalics@gmx.at>
7105
7106 * subr.el (temp-output-buffer-show): New function.
7107 (with-output-to-temp-buffer): Call temp-output-buffer-show
7108 instead of internal-temp-output-buffer-show.
7109
7110 2012-09-22 Chong Yidong <cyd@gnu.org>
7111
7112 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
7113 (Bug#12462).
7114
7115 * repeat.el (repeat): Doc fix (Bug#12348).
7116
7117 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
7118 (Bug#10909).
7119
7120 * simple.el (shell-command-on-region): Doc fix.
7121 (read-only-mode): Doc fix.
7122
7123 2012-09-22 Eli Zaretskii <eliz@gnu.org>
7124
7125 * emacs-lisp/timer.el (run-with-idle-timer)
7126 (timer-activate-when-idle): Warn against reinvoking an idle timer
7127 from within its own timer action. (Bug#12447)
7128
7129 2012-09-22 Martin Rudalics <rudalics@gmx.at>
7130
7131 * cus-start.el (window-combination-limit): Add new optional
7132 values.
7133 * window.el (temp-buffer-window-show)
7134 (window--try-to-split-window): Handle new values of
7135 window-combination-limit (Bug#1806).
7136 (split-window): Test window-combination-limit for t instead of
7137 non-nil.
7138 (display-buffer-at-bottom): New buffer display action function.
7139 * help.el (temp-buffer-resize-regexps): New option.
7140 (temp-buffer-resize-mode): Rewrite doc-string.
7141 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
7142 Don't resize reused window. Suggested by Glenn Morris.
7143
7144 2012-09-22 Stefan Merten <smerten@oekonux.de>
7145
7146 * textmodes/rst.el: Revamp section title faces.
7147 (rst-official-version)
7148 (rst-package-emacs-version-alist): Sync with official version
7149 V1.4.0.
7150 (rst-faces-defaults, rst-set-level-default)
7151 (rst-level-face-max, rst-level-face-base-color)
7152 (rst-level-face-base-light, rst-level-face-format-light)
7153 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
7154 (rst-adornment-faces-alist): Match new setup.
7155 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
7156 (rst-level-5, rst-level-6): New faces.
7157
7158 2012-09-22 Chong Yidong <cyd@gnu.org>
7159
7160 * simple.el (undo): Handle indirect buffers (Bug#8207).
7161
7162 2012-09-21 Leo Liu <sdl.web@gmail.com>
7163
7164 IDO: Disable match re-ordering for buffer switching.
7165 * ido.el (ido-buffer-disable-smart-matches): New variable.
7166 (ido-set-matches-1): Use it. (Bug#2042)
7167
7168 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
7169
7170 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
7171 Fix 2011-05-17 change. (Bug#12418)
7172
7173 2012-09-21 Leo Liu <sdl.web@gmail.com>
7174
7175 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
7176
7177 2012-09-21 Glenn Morris <rgm@gnu.org>
7178
7179 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
7180 Be more robust about locating simple.el.
7181
7182 2012-09-21 Glenn Morris <rgm@gnu.org>
7183
7184 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
7185
7186 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
7187
7188 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
7189
7190 2012-09-20 Juri Linkov <juri@jurta.org>
7191
7192 * replace.el (query-replace-read-from): Use `read-regexp' instead
7193 of `read-from-minibuffer' when `regexp-flag' is non-nil.
7194 (occur-read-primary-args): Use `read-regexp' instead of
7195 `read-string'.
7196 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
7197 `read-from-minibuffer'.
7198 * isearch.el (isearch-occur): Use `read-regexp' instead of
7199 `read-string'.
7200 * dired.el (dired-read-regexp): Use `read-regexp' instead of
7201 `read-from-minibuffer'.
7202 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
7203 of `read-string'. (Bug#7567)
7204
7205 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
7206 and allow accepting a list of strings prepended to a list of
7207 standard default values. Doc fix. (Bug#12321)
7208
7209 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
7210
7211 * replace.el (read-regexp): Don't add ": " when PROMPT already
7212 ends with a colon and space. (Bug#12321)
7213
7214 2012-09-20 Tassilo Horn <tsdh@gnu.org>
7215
7216 * doc-view.el (doc-view-display): Better fix for the cl-assertion
7217 error.
7218
7219 2012-09-20 Stefan Merten <smerten@oekonux.de>
7220
7221 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
7222 Fixes feature request bug#11711.
7223 (rst-mode): Create `imenu-create-index-function'.
7224 (rst-get-stripped-line): Delete after refactoring.
7225 (rst-section-tree, rst-section-tree-rec)
7226 (rst-section-tree-point): Refactor and document properly.
7227 (rst-imenu-find-adornments-for-position)
7228 (rst-imenu-convert-cell, rst-imenu-create-index):
7229 New function.
7230
7231 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
7232
7233 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
7234 (macroexp--expand-all): Use it.
7235 (macroexp--funcall-and-return): Remove by folding it into its sole
7236 caller (macroexp--warn-and-return).
7237 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
7238 Use macroexp--obsolete-warning.
7239
7240 * calc/calc.el: Fix last change by removing the whole chunk, since it
7241 was only needed back when Calc was not bundled.
7242
7243 2012-09-20 Martin Rudalics <rudalics@gmx.at>
7244
7245 * emacs-lisp/debug.el (debug): Restore assignment to
7246 debugger-old-buffer removed on 2012-09-08.
7247
7248 2012-09-20 Juri Linkov <juri@jurta.org>
7249
7250 * dired-aux.el (dired-diff): Remove (require 'diff) since
7251 `diff-latest-backup-file' is now autoloaded.
7252
7253 2012-09-20 Chong Yidong <cyd@gnu.org>
7254
7255 * vc/diff.el (diff-latest-backup-file): Autoload.
7256
7257 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
7258
7259 * calc/calc.el: Remove redundant autoload shape check.
7260 (sel-mode): Don't defvar.
7261 (calc-get-stack-element): Add `sel-mode' arg instead.
7262 (calc-top, calc-top-list): Pass it this additional argument.
7263 * calc/calc-store.el (calc-store-map):
7264 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
7265 (calc-map-equation, calc-outer-product, calc-inner-product):
7266 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
7267
7268 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
7269
7270 2012-09-19 Juri Linkov <juri@jurta.org>
7271
7272 * dired-aux.el (dired-diff): Add (require 'diff) because
7273 `diff-latest-backup-file' is not autoloaded.
7274 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
7275 of `dired-get-filename' to t to not report error when there is
7276 no default file on the current line.
7277
7278 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7279
7280 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
7281 macroexp--eval-if-compile.
7282 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
7283 (macroexp--expand-all): Use them (bug#12371).
7284
7285 * doc-view.el (doc-view-guess-paper-size)
7286 (doc-view-scale-bounding-box): Fix unbound `caddr'.
7287
7288 2012-09-19 Tassilo Horn <tsdh@gnu.org>
7289
7290 New feature: set optimal slice from BoundingBox information.
7291 * doc-view.el (doc-view-mode-map): Add keybinding.
7292 (doc-view-menu): Add menu entry.
7293 (doc-view-set-slice): Adapt docstring.
7294 (doc-view-get-bounding-box, doc-view-guess-paper-size)
7295 (doc-view-scale-bounding-box)
7296 (doc-view-set-slice-from-bounding-box): New functions.
7297 (doc-view-paper-sizes): New defvar.
7298
7299 2012-09-19 Glenn Morris <rgm@gnu.org>
7300
7301 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
7302 (byte-compile-log-warning): Autoload. (Bug#12371)
7303
7304 * calendar/calendar.el (calendar-american-month-header)
7305 (calendar-european-month-header, calendar-iso-month-header)
7306 (calendar-month-header): New options.
7307 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
7308 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
7309
7310 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
7311
7312 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
7313
7314 2012-09-18 Juri Linkov <juri@jurta.org>
7315
7316 * dired-aux.el (dired-diff): Restore original functionality of
7317 getting the default value, but keep new feature of using the
7318 latest existing backup file (`diff-latest-backup-file').
7319
7320 2012-09-18 Juri Linkov <juri@jurta.org>
7321
7322 * dired.el (dired-mark): If the region is active in Transient Mark
7323 mode, mark all files in the active region. Doc fix.
7324 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
7325 Doc fix. (Bug#10624)
7326
7327 2012-09-18 Juri Linkov <juri@jurta.org>
7328
7329 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
7330 attributes for M-n are pulled from the file at point.
7331 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
7332 Suggested by Drew Adams. (Bug#10624)
7333
7334 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
7335
7336 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
7337 whitespace after "end".
7338 (ruby-do-end-to-brace): Collapse block to one line if it fits
7339 within fill-column.
7340
7341 2012-09-18 Martin Rudalics <rudalics@gmx.at>
7342
7343 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
7344 value.
7345 (debug): Don't remove debugger window when debugger is expected
7346 to be back.
7347
7348 2012-09-18 Chong Yidong <cyd@gnu.org>
7349
7350 * custom.el (defface): Doc fix.
7351
7352 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
7353
7354 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
7355
7356 * progmodes/compile.el (compilation-start): Use compilation-always-kill
7357 to initialize query-on-exit; then test that instead (bug#12288).
7358
7359 2012-09-17 Stefan Merten <smerten@oekonux.de>
7360
7361 * textmodes/rst.el: Add support for `testcover'.
7362 (rst-defcustom-testcover, rst-testcover-add-compose)
7363 (rst-testcover-add-1value): New functions.
7364 (rst-portable-mark-active-p): Replace by `use-region-p'.
7365 (rst-update-section, rst-classify-adornment)
7366 (rst-find-title-line): Mark `1value' forms.
7367 (rst-classify-adornment): Remove superfluous form.
7368 (rst-update-section, rst-get-adornments-around)
7369 (rst-adornment-complete-p, rst-get-next-adornment)
7370 (rst-adjust, rst-promote-region)
7371 (rst-display-adornments-hierarchy, rst-straighten-adornments)
7372 (rst-find-pfx-in-region, rst-section-tree-rec)
7373 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
7374 (rst-toc-node, rst-toc, rst-forward-section)
7375 (rst-iterate-leftmost-paragraphs)
7376 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
7377 (rst-bullet-list-region)
7378 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
7379 (rst-compile-find-conf, rst-compile)
7380 (rst-repeat-last-character): Fix style.
7381
7382 2012-09-17 Chong Yidong <cyd@gnu.org>
7383
7384 * comint.el (comint--complete-file-name-data): Don't add a space
7385 if the status is `sole'; that adds a gratuitous space in the
7386 completion-cycling case (Bug#12092).
7387
7388 * pcomplete.el (pcomplete-completions-at-point): Likewise.
7389
7390 2012-09-17 Richard Stallman <rms@gnu.org>
7391
7392 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
7393 only in the mime-shown mode, not in raw mode.
7394 (rmail-mime): Toggle off mime by displaying the message without
7395 mime processing. (Bug#12305)
7396
7397 * mail/rmail.el (rmail-retry-failure):
7398 Turn off mime processing first. (Bug#12037)
7399
7400 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
7401
7402 2012-09-17 Chong Yidong <cyd@gnu.org>
7403
7404 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
7405 (shell-dynamic-complete-functions): Convert to defcustom.
7406 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
7407
7408 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
7409 * comint.el (comint-prompt-read-only):
7410 * custom.el (defcustom):
7411 * hi-lock.el (hi-lock-mode):
7412 * ibuffer.el (ibuffer-formats):
7413 * ielm.el (ielm-prompt-read-only):
7414 * novice.el (disable-command):
7415 * saveplace.el (toggle-save-place):
7416 * speedbar.el (speedbar-supported-extension-expressions):
7417 * startup.el (auto-save-list-file-prefix, init-file-user)
7418 (after-init-hook, inhibit-startup-echo-area-message):
7419 * strokes.el (strokes-help):
7420 * time-stamp.el (time-stamp):
7421 * calendar/calendar.el (calendar, diary-file):
7422 * calendar/diary-lib.el (diary-mail-entries, diary)
7423 (diary-list-entries-hook):
7424 * calendar/holidays.el (holidays, calendar-holidays):
7425 * calendar/lunar.el (lunar-phases):
7426 * calendar/solar.el (sunrise-sunset):
7427 * emulation/edt.el (edt-load-keys):
7428 * emulation/viper.el (viper-mode):
7429 * eshell/em-alias.el (eshell-command-aliases-list):
7430 * eshell/esh-util.el (eshell-convert-numeric-arguments):
7431 * international/ogonek.el (ogonek-information):
7432 * net/tramp-cmds.el (tramp-bug):
7433 * net/quickurl.el (quickurl-reread-hook-postfix):
7434 * play/decipher.el (decipher-font-lock-keywords):
7435 * progmodes/cc-styles.el (c-set-style):
7436 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
7437 * progmodes/inf-lisp.el (inferior-lisp-prompt):
7438 * progmodes/octave-mod.el (octave-mode):
7439 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
7440 * progmodes/verilog-mode.el (verilog-read-defines):
7441 * textmodes/two-column.el (2C-mode): Likewise.
7442
7443 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
7444
7445 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
7446 that holds many addresses.
7447
7448 2012-09-16 Chong Yidong <cyd@gnu.org>
7449
7450 * align.el (align-areas): Call the indication function with
7451 positions instead of markers for arguments (Bug#12343).
7452
7453 * files.el (parse-colon-path): Use split-string (Bug#12351).
7454
7455 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
7456 (display-buffer-function): Mark as obsolete.
7457
7458 * progmodes/compile.el (compilation-parse-errors): Accept list
7459 values similar to font-lock-keywords (Bug#12136).
7460 Suggested by Oleksandr Manzyuk.
7461 (compilation-error-regexp-alist): Doc fix.
7462
7463 2012-09-15 Glenn Morris <rgm@gnu.org>
7464
7465 * version.el (emacs-bzr-version-bzr): New function.
7466 (emacs-bzr-get-version): Add optional EXTERNAL argument.
7467
7468 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
7469 checkouts, check the parent dirstate matches the branch.
7470 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
7471 empty string.
7472
7473 * version.el (emacs-bzr-version): Doc fix.
7474 (emacs-bzr-version-dirstate): New function.
7475 (emacs-bzr-get-version): For lightweight checkouts, if the parent
7476 is local try and check that it matches the branch. If not, just
7477 use dirstate information. (Bug#12441)
7478
7479 2012-09-14 Juri Linkov <juri@jurta.org>
7480
7481 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
7482 (Bug#12399)
7483
7484 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
7485
7486 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
7487
7488 * emacs-lisp/edebug.el: Miscellaneous cleanup.
7489 Remove obsolete byte-compiler hack that tried to silence some warnings.
7490 (edebug-submit-bug-report): Remove.
7491 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
7492 Remove aliases, use the un-prefixed name instead.
7493 (edebug-pop-to-buffer): Consider other frames.
7494 (edebug-original-read):: Make it more obvious that it's always defined.
7495 (edebug--make-form-data-entry, edebug--form-data-name)
7496 (edebug--form-data-begin, edebug--form-data-end): Rename from the
7497 single-dashed name, and implement with cl-defstruct.
7498 (edebug-set-form-data-entry): Use the standard accessors.
7499 (edebug-make-top-form-data-entry): Use push.
7500 (edebug-no-match): Drop useless `funcall'.
7501 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
7502 to functions.
7503 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
7504 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
7505 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
7506 (easy-menu-define, with-custom-print): Remove redundant specs.
7507 (edebug-outside-overriding-local-map)
7508 (edebug-outside-overriding-terminal-local-map): Remove, unused.
7509 (edebug--display): Bind unread-command-events directly to nil rather
7510 than binding it to unread-command-events and later setting it to nil.
7511 (edebug--display): Kill edebug-eval-buffer here...
7512 (edebug--recursive-edit): ...rather than here.
7513 Bind standard-output and standard-input.
7514 (edebug-eval): Check cl-macroexpand-all is fboundp.
7515 (edebug-temp-display-freq-count): Fix last change.
7516
7517 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
7518 * subr.el (noreturn, 1value): Add `debug' spec.
7519 * emacs-lisp/advice.el: Require cl-lib.
7520 (ad-copy-tree): Remove, use copy-tree instead.
7521 (ad-dolist): Remove use dolist or cl-dolist instead.
7522 (ad-do-return): Remove, use cl-return instead.
7523 (defadvice): Add `debug' spec.
7524
7525 2012-09-13 Juri Linkov <juri@jurta.org>
7526
7527 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
7528 (Bug#12399)
7529
7530 2012-09-13 Glenn Morris <rgm@gnu.org>
7531
7532 * calc/calc.el (math-compose-expr):
7533 * calc/calc-ext.el (math-compose-expr):
7534 * progmodes/cc-defs.el (cl-macroexpand-all):
7535 * progmodes/cc-langs.el (delete-duplicates, mapcan)
7536 (cl-macroexpand-all): Update declarations.
7537
7538 * vc/vc.el: No need to require ediff.
7539 (ediff-load-version-control): Declare.
7540 (ediff-vc-internal): Fix declaration.
7541 (vc-version-ediff): Require ediff.
7542
7543 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
7544
7545 Use a more backwards-compatible timer format (Bug#12430).
7546 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
7547 being right after USECS, as that better supports old code that
7548 inadvisedly looked directly at the timer vector.
7549
7550 2012-09-13 Kenichi Handa <handa@gnu.org>
7551
7552 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
7553 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
7554 `coding-priority' property of these language environment.
7555
7556 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
7557
7558 Fix glitches caused by addition of psec to timers (Bug#12430).
7559 * image.el (image-animate-timer):
7560 * time.el (display-time-world-timer):
7561 Use timer--function and timer--args rather than raw access to
7562 timer vector.
7563
7564 2012-09-13 Glenn Morris <rgm@gnu.org>
7565
7566 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
7567 If not compiling a file, try using load-file-name.
7568
7569 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
7570
7571 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
7572 Fix last change.
7573 (edebug-update-eval-list): Use `push'.
7574
7575 * emacs-lisp/edebug.el: Use lexical-binding.
7576 Remove the "edebug-" prefix from non-dynamically-scoped variables.
7577 Mark unused args with underscore.
7578 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
7579 (edebug-form-data): Use defvar-local.
7580 (edebug-make-before-and-after-form, edebug-make-after-form):
7581 Use backquote.
7582 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
7583 Not dynamically scoped any more.
7584 (edebug--enter-trace): Add arguments `function' and `args'.
7585 Rename from edebug-enter-trace.
7586 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
7587 (edebug--update-coverage): Add `after-index' and `value' args.
7588 Rename from edebug-update-coverage.
7589 (edebug-slow-after): Call it accordingly.
7590 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
7591 edebug-recursive-edit.
7592 (edebug--display): Call it accordingly. Add args `value',
7593 `offset-index', and `arg-mode'. Rename from edebug-display.
7594 (edebug-debugger, edebug): Call it accordingly.
7595 (edebug-eval-display-list): Use dolist.
7596
7597 2012-09-12 Juri Linkov <juri@jurta.org>
7598
7599 * info.el (Info-search): Don't check for isearch-mode and
7600 isearch-regexp before let-binding search-spaces-regexp to
7601 Info-search-whitespace-regexp.
7602 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
7603 search-whitespace-regexp if isearch-lax-whitespace or
7604 isearch-regexp-lax-whitespace is non-nil.
7605 (Info-mode): Don't set local variable search-whitespace-regexp.
7606 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
7607
7608 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7609
7610 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
7611 (debugger-env-macro): Remove support for unread-command-char.
7612
7613 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
7614 the temporary map re-appearing on emulation-mode-map-alists.
7615
7616 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
7617 since 22.1.
7618
7619 * ehelp.el (with-electric-help): Accept functions in
7620 electric-help-form-to-execute.
7621 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
7622 And replace unread-command-char -> unread-command-events.
7623
7624 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
7625
7626 Sync with Tramp 2.2.6.
7627
7628 * net/tramp.el (tramp-accept-process-output): Don't use
7629 JUST-THIS-ONE in the XEmacs case.
7630
7631 * net/trampver.el: Update release number.
7632
7633 2012-09-12 Martin Rudalics <rudalics@gmx.at>
7634
7635 * emacs-lisp/debug.el (debugger-previous-window-height):
7636 New variable.
7637 (debug): When debugger-jumping-flag is non-nil try to restore
7638 height of debugger window. (Bug#8789)
7639
7640 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7641
7642 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
7643 overriding-local-map and pre/post-command-hook here.
7644 (edebug-recursive-edit): Do it here instead (bug#12345).
7645 (edebug-outside-unread-command-char): Remove all uses of
7646 unread-command-char.
7647
7648 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
7649 inhibit-debugger is bound instead.
7650
7651 2012-09-11 Bastien Guerry <bzg@gnu.org>
7652
7653 * subr.el (set-temporary-overlay-map): Add a docstring.
7654 (Bug#12346)
7655
7656 2012-09-11 Bastien Guerry <bzg@gnu.org>
7657
7658 * minibuffer.el (completion-table-subvert): Fix docstring.
7659 (Bug#12347)
7660
7661 2012-09-11 Bastien Guerry <bzg@gnu.org>
7662
7663 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
7664
7665 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
7666
7667 * progmodes/sql.el: Version 3.1
7668 (sql-db2-escape-newlines): New variable.
7669 (sql-escape-newlines-filter): Use it.
7670
7671 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
7672
7673 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
7674
7675 2012-09-10 Dan Nicolaescu <dann@gnu.org>
7676
7677 * vc/diff-mode.el (diff-mode-menu):
7678 Bind diff-remove-trailing-whitespace.
7679
7680 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
7681
7682 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
7683 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
7684 (emacs-lisp-byte-code-mode): New functions.
7685 (eval-sexp-add-defvars): Don't skip defvars in column >0.
7686 (eval-defun-2): Remove bogus interactive spec.
7687 (lisp-indent-line): Remove redundant whole-exp code, now done in
7688 indent-according-to-mode.
7689 (save-match-data): Remove redundant indent data.
7690
7691 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
7692 Use `declare'.
7693
7694 2012-09-09 Juri Linkov <juri@jurta.org>
7695
7696 * replace.el (replace-regexp-lax-whitespace): New defcustom.
7697 (replace-lax-whitespace, query-replace-regexp)
7698 (query-replace-regexp-eval, replace-regexp): Doc fix.
7699 (perform-replace, replace-highlight): Let-bind
7700 isearch-lax-whitespace to replace-lax-whitespace and
7701 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
7702
7703 * isearch.el (isearch-query-replace): Let-bind
7704 replace-lax-whitespace to isearch-lax-whitespace and
7705 replace-regexp-lax-whitespace to
7706 isearch-regexp-lax-whitespace. (Bug#10885)
7707
7708 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
7709
7710 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
7711
7712 2012-09-09 Alan Mackenzie <acm@muc.de>
7713
7714 * progmodes/cc-engine.el (c-state-cache-init):
7715 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
7716 (c-record-parse-state-state):
7717 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
7718
7719 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
7720
7721 * register.el (register-separator): Rename from
7722 separator-register. All uses changed. Doc fix.
7723 (register): Fix version.
7724
7725 2012-09-09 Chong Yidong <cyd@gnu.org>
7726
7727 * replace.el (query-replace-map): Bind four new symbols for
7728 requesting window scrolling.
7729
7730 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
7731 query-replace-map (Bug#8948).
7732
7733 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
7734
7735 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
7736 since they are now in query-replace-map.
7737
7738 * window.el (scroll-other-window-down): Make the arg optional.
7739
7740 2012-09-09 Chong Yidong <cyd@gnu.org>
7741
7742 * files.el (hack-local-variables-confirm): Use quit-window to kill
7743 the *Local Variables* buffer.
7744
7745 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
7746
7747 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
7748 not just expect to be at its beginning. Adjust callees.
7749 Succeed when do-end block has no space before the pipe character.
7750 (ruby-brace-to-do-end): When the original block is one-liner,
7751 convert to multiline. Reindent the result.
7752
7753 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
7754
7755 * register.el (register): New group.
7756 (separator-register): New user option.
7757 (increment-register): Route it to `append-to-register', if
7758 register contains text. Implication is that `C-x r +' can now be
7759 used for appending to a text register (bug#12217).
7760 (append-to-register, prepend-to-register): Add separator based on
7761 `separator-register'.
7762
7763 2012-09-08 Alan Mackenzie <acm@muc.de>
7764
7765 AWK Mode: make auto-newline work when there's "==" in the pattern.
7766 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
7767 correctly.
7768 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
7769 Test more rigorously for "=" token.
7770
7771 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
7772
7773 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
7774 Only fail when reached LIMIT.
7775
7776 2012-09-08 Chong Yidong <cyd@gnu.org>
7777
7778 * dired.el (dired-mode-map): Don't bind M-=.
7779
7780 * dired-aux.el (dired-diff): Use backup file as default.
7781
7782 2012-09-08 Drew Adams <drew.adams@oracle.com>
7783
7784 * subr.el (add-to-history): Fix delete usage (Bug#12314).
7785
7786 2012-09-08 Chong Yidong <cyd@gnu.org>
7787
7788 * subr.el (syntax-after, syntax-class): Doc fix.
7789
7790 2012-09-08 Martin Rudalics <rudalics@gmx.at>
7791
7792 * window.el (display-buffer-in-previous-window): New buffer
7793 display action function.
7794
7795 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
7796 (debugger-previous-window): New variable.
7797 (debug): Rewrite using display-buffer-in-previous-window,
7798 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
7799
7800 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
7801
7802 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
7803
7804 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
7805
7806 * progmodes/python.el (python-shell-send-string):
7807 When default-directory is remote, create temp file on remote
7808 filesystem.
7809 (python-shell-send-file): When file is remote, pass local view of
7810 file paths to remote Python interpreter. (Bug#12340)
7811
7812 2012-09-07 Chong Yidong <cyd@gnu.org>
7813
7814 * window.el (switch-to-buffer): Doc fix (Bug#12181).
7815
7816 * files.el (after-find-file): Don't fail on a read-only buffer if
7817 require-final-newline is `visit' or `visit-save' (Bug#11156).
7818
7819 * subr.el (read-char-choice): Allow quitting via ESC ESC.
7820
7821 * userlock.el (ask-user-about-supersession-threat):
7822 Use read-char-choice (Bug#12093).
7823
7824 2012-09-07 Chong Yidong <cyd@gnu.org>
7825
7826 * subr.el (buffer-narrowed-p): New function.
7827
7828 * ses.el (ses-widen):
7829 * simple.el (count-words--buffer-message):
7830 * net/browse-url.el (browse-url-of-buffer): Use it.
7831
7832 * simple.el (count-words-region): Don't signal an error if there
7833 is a non-nil prefix arg and the mark is not set.
7834
7835 * help.el (describe-key-briefly): Allow the message to be seen
7836 when invoked from the minibuffer (Bug#7014).
7837
7838 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
7839
7840 * progmodes/ruby-mode.el (ruby-end-of-defun)
7841 (ruby-beginning-of-defun): Simplify, allow indentation before
7842 block beginning and end keywords.
7843 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
7844 (ruby-end-of-defun): Expect that the point is at the beginning of
7845 the defun.
7846
7847 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7848
7849 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
7850 (bug#12367).
7851 (cl--make-usage-args): Strip _ from argument names.
7852
7853 2012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7854
7855 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
7856 obsolete alias speedbar-key-map.
7857 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
7858 (vhdl-index-menu-init): Don't use obsolete variable
7859 font-lock-maximum-size.
7860
7861 2012-09-06 Chong Yidong <cyd@gnu.org>
7862
7863 * frame.el (window-system-version): Mark as obsolete.
7864
7865 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
7866 of obsolete variable speedbar-key-map.
7867
7868 2012-09-06 Juri Linkov <juri@jurta.org>
7869
7870 * replace.el (replace-lax-whitespace): New defcustom.
7871 (query-replace, query-replace-regexp, query-replace-regexp-eval)
7872 (replace-string, replace-regexp): Mention it in docstrings.
7873 (perform-replace, replace-highlight): Let-bind
7874 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
7875 to the values of replace-lax-whitespace and regexp-flag.
7876 Don't let-bind search-whitespace-regexp. (Bug#10885)
7877
7878 * isearch.el (isearch-query-replace): Let-bind
7879 replace-lax-whitespace instead of let-binding
7880 replace-search-function and replace-re-search-function.
7881 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
7882 and isearch-regexp-lax-whitespace to lazy-highlight variables.
7883 (isearch-toggle-symbol): Set isearch-regexp to nil
7884 in isearch-word mode (like in isearch-toggle-word).
7885
7886 2012-09-06 Juri Linkov <juri@jurta.org>
7887
7888 * replace.el (replace-search-function)
7889 (replace-re-search-function): Set default values to nil.
7890 (perform-replace): Let-bind isearch-related variables based on
7891 replace-related values, call `isearch-search-fun' and let-bind
7892 the result to `search-function'. Remove code that sets
7893 `search-function' and `search-string' separately for
7894 `delimited-flag'.
7895 (replace-highlight): Add new argument `delimited-flag' and
7896 rename other arguments to the names used in `perform-replace'.
7897 Let-bind `isearch-word' to the argument `delimited-flag'.
7898 (Bug#10885, bug#10887)
7899
7900 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
7901
7902 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
7903 ruby-beginning-of-indent, simplify, allow all keywords to have
7904 indentation before them.
7905 (ruby-beginning-of-indent): Adjust for above. Search until the
7906 found point is not inside a string or comment.
7907 (ruby-font-lock-keywords): Allow symbols to start with "@"
7908 character, give them higher priority than variables.
7909 (ruby-syntax-propertize-function)
7910 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
7911 matchers. Expression expansions are not comments when inside a
7912 string, and there comment syntax status is irrelevant.
7913 (ruby-match-expression-expansion): New function. Check that
7914 expression expansion is inside a string, and it's not escaped.
7915 (ruby-font-lock-keywords): Use it.
7916
7917 2012-09-05 Martin Rudalics <rudalics@gmx.at>
7918
7919 * help.el (temp-buffer-max-height): New default value.
7920 (temp-buffer-resize-frames): New option.
7921 (resize-temp-buffer-window): Optionally resize frame.
7922
7923 * window.el (fit-frame-to-buffer-bottom-margin): New option.
7924 (fit-frame-to-buffer): New function.
7925
7926 2012-09-05 Glenn Morris <rgm@gnu.org>
7927
7928 * emulation/cua-rect.el (cua--init-rectangles):
7929 * textmodes/picture.el (picture-mode-map):
7930 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
7931 like forward-char and backward-char. (Bug#12317)
7932
7933 2012-09-05 Leo Liu <sdl.web@gmail.com>
7934
7935 * progmodes/flymake.el (flymake-warning-re): New variable.
7936 (flymake-parse-line): Use it.
7937
7938 2012-09-05 Glenn Morris <rgm@gnu.org>
7939
7940 * calendar/holidays.el (holiday-christian-holidays):
7941 Rename an entry. (Bug#12289)
7942
7943 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
7944
7945 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
7946 (bug#12222).
7947
7948 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
7949
7950 * loadup.el: Load macroexp. Remove hack.
7951 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
7952 (macroexp--expand-all): Use it to get better warnings.
7953 (macroexp--backtrace, macroexp--trim-backtrace-frame)
7954 (internal-macroexpand-for-load): New functions.
7955 (macroexp--pending-eager-loads): New var.
7956 (emacs-startup-hook): New hack to replace one in loadup.el.
7957 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
7958 (cl--compiler-macro-cXXr): Move to top, before they can be used.
7959 (cl-psetf): Simplify.
7960 (cl-defstruct): Add indent rule.
7961
7962 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
7963
7964 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
7965 over `user-mail-address' for the SMTP MAIL FROM envelope.
7966 (smtpmail-via-smtp): Ditto.
7967
7968 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
7969
7970 * progmodes/ruby-mode.el: Clean up keybindings.
7971 (ruby-mode-map): Don't bind ruby-electric-brace,
7972 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
7973 backward-kill-word, reindent-then-newline-and-indent.
7974 (ruby-mark-defun): Remove.
7975 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
7976 (ruby-mode): Set local beginning-of-defun-function and
7977 end-of-defun-function values.
7978
7979 2012-09-03 Martin Rudalics <rudalics@gmx.at>
7980
7981 * window.el (temp-buffer-window-setup-hook)
7982 (temp-buffer-window-show-hook): New hooks.
7983 (temp-buffer-window-setup, temp-buffer-window-show)
7984 (with-temp-buffer-window): New functions.
7985 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
7986 (special-display-popup-frame): Make sure the window used shows BUFFER.
7987
7988 * help.el (temp-buffer-resize-mode): Fix doc-string.
7989 (resize-temp-buffer-window): New optional argument WINDOW.
7990
7991 * files.el (recover-file, save-buffers-kill-emacs):
7992 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
7993
7994 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
7995
7996 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
7997 remote definition of `default-directory', ensure we can connect.
7998
7999 2012-09-02 Juri Linkov <juri@jurta.org>
8000
8001 Toggle whitespace matching mode with M-s SPC.
8002 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
8003
8004 * isearch.el (search-whitespace-regexp): Doc fix.
8005 Remove cons cell customization.
8006 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
8007 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
8008 New variables.
8009 (isearch-forward, isearch-forward-regexp): Doc fix.
8010 (isearch-toggle-lax-whitespace): New command.
8011 (search-forward-lax-whitespace, search-backward-lax-whitespace)
8012 (re-search-forward-lax-whitespace)
8013 (re-search-backward-lax-whitespace): New functions.
8014 (isearch-whitespace-regexp): Remove function.
8015 (isearch-query-replace): Let-bind replace-search-function and
8016 replace-re-search-function.
8017 (isearch-occur): Let-bind search-spaces-regexp according to the
8018 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
8019 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
8020 condition for C-q SPC.
8021 (isearch-search-fun-default): Use new functions mentioned above.
8022 (isearch-search-forward, isearch-search-backward): Remove functions.
8023 (isearch-search): Don't let-bind search-spaces-regexp.
8024 (isearch-lazy-highlight-space-regexp): Remove variable.
8025 (isearch-lazy-highlight-lax-whitespace)
8026 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
8027 (isearch-lazy-highlight-new-loop): Use them.
8028 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
8029
8030 2012-09-02 Chong Yidong <cyd@gnu.org>
8031
8032 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
8033
8034 2012-09-02 Glenn Morris <rgm@gnu.org>
8035
8036 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
8037
8038 2012-09-01 Glenn Morris <rgm@gnu.org>
8039
8040 * term.el: Tidy up menu definitions.
8041 (term-mode-map): Use easymenu for In/Out, Complete menus.
8042 (term-pager-break-map): Initialize in the defvar.
8043 (term-terminal-menu, term-signals-menu): Define with easymenu.
8044 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
8045 (term-pager-menu): New, extracted from term-process-pager.
8046 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
8047 (term-update-mode-line): Propertize line/char and page items.
8048 (term-process-pager): Move keymap initialization elsewhere.
8049
8050 2012-09-01 Martin Rudalics <rudalics@gmx.at>
8051
8052 * window.el (switch-to-prev-buffer): Handle additional values of
8053 BURY-OR-KILL argument. Don't switch in minibuffer window.
8054 (switch-to-next-buffer): Don't switch in minibuffer window.
8055 (quit-restore-window): New function based on quit-window.
8056 Handle additional values of former KILL argument.
8057 (quit-window): Call quit-restore-window with appropriate
8058 interpretation of KILL argument.
8059 (display-buffer-below-selected): New buffer display action
8060 function.
8061
8062 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
8063
8064 * minibuffer.el (completion-at-point-functions): Complete docstring
8065 (bug#12254).
8066
8067 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
8068
8069 Better seed support for (random).
8070 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
8071 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
8072 * play/mpuz.el, play/tetris.el, play/zone.el:
8073 * calc/calc-comb.el (math-init-random-base):
8074 * play/blackbox.el (bb-init-board):
8075 * play/life.el (life):
8076 * server.el (server-use-tcp):
8077 * type-break.el (type-break):
8078 Remove unnecessary call to (random t).
8079 * net/sasl.el (sasl-unique-id-function):
8080 Change (random t) to (random), now that the latter is more random.
8081 * play/life.el (life-initialized): Remove no-longer-needed var.
8082
8083 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
8084
8085 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
8086 Consider frame's buffer predicate when choosing the buffer.
8087 (Bug#12081)
8088
8089 2012-08-30 Richard Stallman <rms@gnu.org>
8090
8091 * simple.el (special-mode-map): Delete binding for `z'.
8092
8093 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
8094
8095 * progmodes/compile.el (compilation-always-kill): Doc fix.
8096
8097 2012-08-30 Chong Yidong <cyd@gnu.org>
8098
8099 * window.el (display-buffer-reuse-frames): Make the obsolescence
8100 message more informative.
8101
8102 2012-08-30 Glenn Morris <rgm@gnu.org>
8103
8104 * paren.el (show-paren-delay):
8105 Add a :set function. Doc fix. (Bug#12297)
8106
8107 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
8108
8109 * progmodes/compile.el (compilation-always-kill): New var.
8110 (compilation-start): Use it.
8111
8112 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
8113
8114 * simple.el (read-only-mode): Move from files.el for bootstrapping.
8115 * files.el (read-only-mode): Move to simple.el.
8116
8117 * files.el (read-only-mode): New minor mode.
8118 (toggle-read-only): Use it and mark obsolete.
8119 (find-file--read-only):
8120 * vc/vc.el (vc-next-action, vc-checkout):
8121 * vc/vc-cvs.el (vc-cvs-checkout):
8122 * obsolete/vc-mcvs.el (vc-mcvs-update):
8123 * ffap.el (ffap--toggle-read-only): Update callers.
8124
8125 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
8126
8127 * eshell/esh-ext.el (eshell-external-command): Do not examine
8128 remote shell scripts.
8129 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
8130
8131 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
8132 "/usr/local/sbin".
8133
8134 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
8135
8136 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
8137
8138 2012-08-28 Leo Liu <sdl.web@gmail.com>
8139
8140 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
8141 completion-at-point. (Bug#12220)
8142
8143 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
8144
8145 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
8146
8147 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
8148
8149 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
8150 be buffer-local; add delete-trailing-whitespace (bug#12259).
8151
8152 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
8153
8154 * progmodes/hideif.el (hif-compress-define-list):
8155 Fix typo. (Bug#11951)
8156
8157 2012-08-28 Dan Nicolaescu <dann@gnu.org>
8158
8159 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
8160 buffer local setting.
8161
8162 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
8163 rcirc-encode-coding-system.
8164
8165 2012-08-28 Leo Liu <sdl.web@gmail.com>
8166
8167 * net/rcirc.el (rcirc-split-message): New function.
8168 (rcirc-send-message): Use it. (Bug#12051)
8169
8170 2012-08-28 Juri Linkov <juri@jurta.org>
8171
8172 * info.el (Info-fontify-node): Hide empty lines at the end of
8173 the node. (Bug#12272)
8174
8175 2012-08-27 Drew Adams <drew.adams@oracle.com>
8176
8177 * dired.el (dired-pop-to-buffer): Make window start at beginning
8178 of buffer (Bug#12281).
8179
8180 2012-08-26 Chong Yidong <cyd@gnu.org>
8181
8182 * window.el (special-display-regexps, special-display-frame-alist)
8183 (special-display-buffer-names, special-display-function)
8184 (display-buffer-reuse-frames): Mark as obsolete.
8185
8186 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
8187
8188 * help.el (help-print-return-message): Don't treat
8189 display-buffer-reuse-frames specially.
8190
8191 2012-08-26 Chong Yidong <cyd@gnu.org>
8192
8193 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
8194 New variable, replacing gdb-frame-parameters.
8195 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
8196 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
8197 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
8198 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
8199 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
8200 the functions directly with gdb-display-buffer-other-frame-action.
8201 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
8202 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
8203 (gdb-display-stack-buffer, gdb-display-locals-buffer)
8204 (gdb-display-registers-buffer): Define directly.
8205 (def-gdb-display-buffer): Macro deleted.
8206 (gdb-display-buffer): Remove second and third args, callers don't
8207 use them. Defer to the default display-buffer behavior, apart
8208 from making windows dedicated.
8209 (gdb-setup-windows): Don't call display-buffer unnecessarily.
8210
8211 * progmodes/gud.el (gud-display-line): Just use display-buffer.
8212
8213 * window.el (display-buffer-pop-up-frame): Handle a
8214 pop-up-frame-parameters alist entry.
8215 (display-buffer): Document it.
8216
8217 2012-08-26 Chong Yidong <cyd@gnu.org>
8218
8219 * isearch.el (search-whitespace-regexp): Make string and nil
8220 values apply to both ordinary and regexp search. Allow a cons
8221 cell value to distinguish between the two.
8222 (isearch-whitespace-regexp, isearch-search-forward)
8223 (isearch-search-backward): New functions.
8224 (isearch-occur, isearch-search-fun-default, isearch-search)
8225 (isearch-lazy-highlight-new-loop): Use them.
8226 (isearch-forward, isearch-forward-regexp): Doc fix.
8227
8228 2012-08-26 Chong Yidong <cyd@gnu.org>
8229
8230 * faces.el (help-argument-name): Always inherit from italic
8231 (Bug#12213).
8232
8233 2012-08-25 Martin Rudalics <rudalics@gmx.at>
8234
8235 * window.el (window--even-window-heights): Even heights when
8236 WINDOW and the selected window form a vertical combination.
8237 (display-buffer-use-some-window): Provide that window used gets
8238 sized back by quit-window. (Bug#11880) and (Bug#12091)
8239
8240 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
8241
8242 Fix file time stamp problem with bzr and CVS (Bug#12001).
8243 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
8244 in the file's time stamp, since the version control system loses
8245 that information.
8246
8247 2012-08-22 Juri Linkov <juri@jurta.org>
8248
8249 * info.el (Info-fontify-node): Hide the suffix of the
8250 Info file name in the header line. (Bug#12187)
8251
8252 2012-08-22 Glenn Morris <rgm@gnu.org>
8253
8254 * calendar/cal-tex.el (cal-tex-weekly-common):
8255 Restore leading blank page.
8256
8257 2012-08-22 Le Wang <l26wang@gmail.com>
8258
8259 * misc.el (forward-to-word, backward-to-word): Activate or extend
8260 the region under `shift-select-mode'. (Bug#12231)
8261
8262 2012-08-22 Bastien Guerry <bzg@gnu.org>
8263
8264 * progmodes/executable.el (executable-prefix): Set to "#!" instead
8265 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
8266 gives details on why the space is never needed.
8267
8268 2012-08-22 Martin Rudalics <rudalics@gmx.at>
8269
8270 * window.el (walk-window-tree, window-with-parameter):
8271 New optional argument MINIBUF to control whether these functions
8272 should run on the minibuffer window.
8273 (window-at-side-list): Don't operate on minibuffer window.
8274 (window-in-direction): Simplify and rewrite doc-string.
8275 (window--size-ignore): Rename to window--size-ignore-p.
8276 Update callers.
8277 (display-buffer-in-atom-window, window--major-non-side-window)
8278 (window--major-side-window, display-buffer-in-major-side-window)
8279 (delete-side-window, display-buffer-in-side-window):
8280 New functions.
8281 (window--side-check, window-deletable-p, delete-window)
8282 (delete-other-windows, split-window): Handle side windows and
8283 atomic windows appropriately.
8284 (window--display-buffer): Call display-buffer-record-window also
8285 when the window buffer did not change.
8286
8287 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
8288
8289 * help-fns.el (help-fns--key-bindings):
8290 Abbreviate non-symbol remap targets. (Bug#12174)
8291
8292 2012-08-22 Martin Rudalics <rudalics@gmx.at>
8293
8294 * dired.el (dired-mark-remembered): Don't clobber point.
8295 (Bug#11795)
8296
8297 2012-08-22 Glenn Morris <rgm@gnu.org>
8298
8299 * progmodes/bug-reference.el (bug-reference): New custom group.
8300 (bug-reference-bug-regexp): Make it a defcustom.
8301
8302 2012-08-22 Daiki Ueno <ueno@unixuser.org>
8303
8304 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
8305 (js-paren-indent-offset, js-square-indent-offset)
8306 (js-curly-indent-offset): Add :safe (Bug#12257).
8307
8308 2012-08-22 Edward O'Connor <hober0@gmail.com>
8309
8310 * json.el (json-key-format): Add error properties.
8311 (json-encode-key): New function.
8312 (json-encode-hash-table, json-encode-alist, json-encode-plist):
8313 Use json-encode-key.
8314
8315 2012-08-22 Glenn Morris <rgm@gnu.org>
8316
8317 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
8318 (cal-tex-leftday, cal-tex-rightday): Remove functions.
8319 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
8320 Update for above change.
8321
8322 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
8323
8324 * cus-face.el (custom-face-attributes): Fix customize type for the
8325 :underline attribute. (Bug#11805)
8326
8327 2012-08-21 Martin Rudalics <rudalics@gmx.at>
8328
8329 * window.el (window-point-1, set-window-point-1): Remove.
8330 (window-in-direction, record-window-buffer)
8331 (set-window-buffer-start-and-point, split-window-below)
8332 (window--state-get-1, display-buffer-record-window):
8333 Replace calls to window-point-1 and set-window-point-1 by calls to
8334 window-point and set-window-point respectively.
8335
8336 2012-08-21 Glenn Morris <rgm@gnu.org>
8337
8338 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
8339 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
8340 Use it.
8341
8342 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
8343 (cal-tex-shortday): New function.
8344 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
8345 (cal-tex-cursor-filofax-daily): Use the above.
8346
8347 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
8348 New functions.
8349 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
8350 (cal-tex-cursor-filofax-week): Use them.
8351
8352 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
8353 New constants.
8354 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
8355 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
8356
8357 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
8358 (cal-tex-end-document): Don't rely on buffer name.
8359
8360 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
8361 Use cal-tex-vspace.
8362 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
8363 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
8364 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
8365 Use cal-tex-arg.
8366
8367 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
8368 (cal-tex-cursor-week, cal-tex-cursor-week2)
8369 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
8370 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
8371 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
8372 (cal-tex-insert-preamble, cal-tex-b-document)
8373 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
8374 Improve cal-tex-cmd usage.
8375
8376 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
8377 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
8378 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
8379 (cal-tex-weekly-paper): New function.
8380 (cal-tex-cursor-week, cal-tex-cursor-week2)
8381 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
8382 (cal-tex-cursor-day): Use it.
8383
8384 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
8385 (cal-tex-cursor-filofax-week): Remove leading blank page.
8386
8387 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
8388 Add autoload cookie. For now at least, don't use color, since
8389 no other cal-tex function does.
8390
8391 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
8392 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
8393 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
8394
8395 2012-08-21 Juri Linkov <juri@jurta.org>
8396
8397 * info.el (Info-file-attributes): New variable.
8398 (info-insert-file-contents): Add file attributes to
8399 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
8400 `Info-toc-nodes' when previous modtime of the Info file is less
8401 than new modtime.
8402 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
8403 of info.el. (Bug#12230)
8404
8405 2012-08-20 Glenn Morris <rgm@gnu.org>
8406
8407 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
8408 * calendar/holidays.el (calendar-holiday-list):
8409 Report errors with display-warning rather than beep'n'sleep.
8410
8411 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
8412
8413 * net/tramp.el (tramp-accept-process-output): Accept only output
8414 from PROC. Otherwise, process filters and sentinels might be
8415 confused. (Bug#12145)
8416
8417 2012-08-20 Chong Yidong <cyd@gnu.org>
8418
8419 * descr-text.el (describe-text-properties-1): Use overlays-in to
8420 report on empty overlays (Bug#3322).
8421
8422 2012-08-20 Glenn Morris <rgm@gnu.org>
8423
8424 * mail/rmailout.el (rmail-output-read-file-name):
8425 Trap and report errors in rmail-output-file-alist elements.
8426
8427 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
8428 since most non-font-lock faces are not also variables).
8429
8430 2012-08-20 Edward Reingold <reingold@iit.edu>
8431
8432 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
8433 New function. (Bug12160)
8434
8435 2012-08-19 Glenn Morris <rgm@gnu.org>
8436
8437 * mail/rmailout.el (rmail-output-read-file-name):
8438 Fix previous change (when the alist is nil or does not match).
8439
8440 2012-08-19 Chong Yidong <cyd@gnu.org>
8441
8442 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
8443 (Bug#12228).
8444
8445 2012-08-18 Chong Yidong <cyd@gnu.org>
8446
8447 * simple.el (yank-handled-properties): New defcustom.
8448 (yank-excluded-properties): Add font-lock-face and category.
8449 (yank): Doc fix.
8450
8451 * subr.el (remove-yank-excluded-properties):
8452 Obey yank-handled-properties. The special handling of font-lock-face
8453 and category is now done this way, instead of being hard-coded.
8454 (insert-for-yank-1): Remove font-lock-face handling.
8455 (yank-handle-font-lock-face-property)
8456 (yank-handle-category-property): New function.
8457
8458 2012-08-17 Glenn Morris <rgm@gnu.org>
8459
8460 * mail/rmailout.el (rmail-output-read-file-name):
8461 Check rmail-output-file-alist against the full message body
8462 in the correct rmail buffer. (Bug#12214)
8463
8464 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
8465
8466 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
8467 Eliminate superfluous prompt. (Bug#12203)
8468
8469 2012-08-17 Chong Yidong <cyd@gnu.org>
8470
8471 * mouse.el (mouse-appearance-menu): If x-select-font returns a
8472 font spec, set the font directly (Bug#3228).
8473
8474 2012-08-17 Martin Rudalics <rudalics@gmx.at>
8475
8476 * window.el (delete-window): Fix last fix.
8477
8478 2012-08-16 Martin Rudalics <rudalics@gmx.at>
8479
8480 * window.el (window-valid-p): Move to window.c.
8481 (window-child, window-child-count, window-last-child)
8482 (window-normalize-window, window-combined-p)
8483 (window-combinations, window-atom-root, window-min-size)
8484 (window-sizable, window-sizable-p, window-size-fixed-p)
8485 (window-min-delta, window-max-delta, window--resizable)
8486 (window--resizable-p, window-resizable, window-total-size)
8487 (window-full-height-p, window-full-width-p, window-body-size)
8488 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
8489 (minimize-window, window-deletable-p, delete-window)
8490 (delete-other-windows, set-window-buffer-start-and-point)
8491 (next-buffer, previous-buffer, split-window, balance-windows-2)
8492 (set-window-text-height, window-buffer-height)
8493 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
8494 (truncated-partial-width-window-p): Minor code adjustments.
8495 In doc-strings state whether the argument window has to denote a
8496 live, valid or any window.
8497
8498 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
8499
8500 * progmodes/subword.el (subword-forward-function)
8501 (subword-backward-function, subword-forward-regexp)
8502 (subword-backward-regexp): New variables.
8503 (subword-forward, subword-forward-internal, subword-backward-internal):
8504 Use new variables, eg so that different "word" definitions
8505 can be easily used. (Bug#11411)
8506
8507 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
8508
8509 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
8510 for composite selectors.
8511 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
8512 operation just because we can't find a previous revision.
8513
8514 2012-08-15 Chong Yidong <cyd@gnu.org>
8515
8516 * frame.el (set-frame-font): Accept font objects.
8517
8518 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
8519
8520 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
8521
8522 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
8523
8524 * man.el (Man-overstrike-face, Man-underline-face)
8525 (Man-reverse-face): Remove variables.
8526 (Man-overstrike, Man-underline, Man-reverse): New faces.
8527 (Man-fontify-manpage): Use them instead of the variables.
8528 (Man-cleanup-manpage): Comment change.
8529 (Man-ansi-color-map): New variable.
8530 (Man-fontify-manpage): Use it.
8531 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
8532
8533 Implement ANSI SGR parameters 22-27 (bug#12146).
8534 * ansi-color.el (ansi-colors): Doc fix.
8535 (ansi-color-context, ansi-color-context-region): Doc fix.
8536 (ansi-color--find-face): New function.
8537 (ansi-color-apply, ansi-color-apply-on-region): Use it.
8538 Rename the local variable `face' to `codes' since it is now a list of
8539 ansi codes. Doc fix.
8540 (ansi-color-get-face): Remove.
8541 (ansi-color-parse-sequence): New function, derived from
8542 ansi-color-get-face.
8543 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
8544 codes 22-27.
8545
8546 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
8547
8548 * subr.el (read-passwd): Allow use from a minibuffer.
8549
8550 2012-08-14 Eli Zaretskii <eliz@gnu.org>
8551
8552 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
8553 inside comments and strings as identifiers.
8554
8555 * progmodes/gud.el (gud-tooltip-print-command): Quote the
8556 expression to evaluate. This allows to evaluate expressions with
8557 embedded whitespace.
8558 (gud-tooltip-tips): Add a blank before the newline in the
8559 message-box text, for the benefit of message-box emulation on
8560 MS-Windows.
8561
8562 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
8563 messages from GDB, pop them up in a tooltip to give feedback to
8564 user.
8565 (gdb-tooltip-print-1): Quote the expression to evaluate.
8566 This allows to evaluate expressions with embedded whitespace.
8567 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
8568 if the TTY name is nil or empty (which happens when communicating
8569 with the inferior via pipes, e.g. on MS-Windows).
8570 (gdb-internals): If GDB sends a "&\n" empty debugging message,
8571 don't send that to the GUD buffer.
8572
8573 2012-08-14 Glenn Morris <rgm@gnu.org>
8574
8575 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
8576 Optimize away setq-default with no args, as for setq. (Bug#12195)
8577
8578 2012-08-14 Chong Yidong <cyd@gnu.org>
8579
8580 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
8581
8582 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
8583 (Bug#12085).
8584
8585 2012-08-14 Glenn Morris <rgm@gnu.org>
8586
8587 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
8588
8589 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
8590
8591 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
8592 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
8593 Use cached shell name.
8594
8595 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
8596
8597 * progmodes/python.el (python-shell-send-string):
8598 (python-shell-send-setup-code): Do not use `format' with `message'.
8599
8600 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
8601
8602 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
8603 (ruby-percent-literal-beg-re): New constant.
8604 (ruby-syntax-general-delimiters-goto-beg): Rename to
8605 `ruby-syntax-enclosing-percent-literal', improve literal type check.
8606 (ruby-syntax-propertize-general-delimiters): Rename to
8607 `ruby-syntax-propertize-percent-literal', it's a shorter and more
8608 popular term. Adjust comments everywhere.
8609 (ruby-syntax-propertize-percent-literal): Only propertize when not
8610 inside a simple string or comment. When the literal is unclosed,
8611 leave the text after it unpropertized.
8612 (ruby-syntax-methods-before-regexp): New constant.
8613 (ruby-syntax-propertize-function): Use it to recognize regexps.
8614 Don't look at the text after regexp, just use the whitelist.
8615
8616 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
8617
8618 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
8619 non-nil always load the compiled file if it exists. (Bug#12197)
8620
8621 2012-08-14 Chong Yidong <cyd@gnu.org>
8622
8623 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
8624 (hi-lock-set-pattern): When deciding whether to use font lock or
8625 overlays, look at font-lock-mode instead of font-lock-fontified
8626 (Bug#12168).
8627 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
8628 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
8629
8630 2012-08-14 Daiki Ueno <ueno@unixuser.org>
8631
8632 * subr.el (internal--after-with-selected-window): Fix typo
8633 (Bug#12193).
8634
8635 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
8636
8637 Use `completion-table-dynamic' for completion functions.
8638 * progmodes/python.el
8639 (python-shell-completion--do-completion-at-point)
8640 (python-shell-completion--get-completions):
8641 Remove functions.
8642 (python-shell-completion-complete-at-point): New function.
8643 (python-completion-complete-at-point): Use it.
8644
8645 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
8646
8647 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
8648 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
8649
8650 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
8651
8652 * subr.el (function-get): Refine `autoload' arg so it can also
8653 autoload functions for gv.el (bug#12191).
8654 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
8655 autoloads macros.
8656
8657 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
8658 Prefer pcase-let over destructuring-bind.
8659 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
8660 Also, remove whitespace as we go, rather than after accumulating the
8661 various places.
8662
8663 * subr.el (internal--before-with-selected-window)
8664 (internal--after-with-selected-window): Fix typo seleted->selected.
8665 (with-selected-window): Adjust callers.
8666 Reported by Dmitry Gutov <dgutov@yandex.ru>.
8667
8668 2012-08-13 Bastien Guerry <bzg@gnu.org>
8669
8670 * window.el (special-display-popup-frame): Minor docstring
8671 enhancement. (Bug#12172)
8672
8673 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
8674
8675 * tar-mode.el (tar-header-data-end): Only ignore size for files of
8676 type 1-6.
8677 (tar-header-block-summarize, tar-get-descriptor): Handle pax
8678 extended headers.
8679
8680 * files.el (hack-local-variables-filter): Remove useless eval.
8681
8682 2012-08-13 Martin Rudalics <rudalics@gmx.at>
8683
8684 * subr.el (with-selected-window): Fix last change.
8685
8686 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
8687
8688 * subr.el (internal--before-with-seleted-window)
8689 (internal--after-with-seleted-window): New functions.
8690 (with-selected-window): Use them, to replace dependency on
8691 tty-top-frame.
8692
8693 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
8694
8695 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
8696 binding for `newline'.
8697 (ruby-move-to-block): When moving backward, stop at block opening,
8698 not indentation.
8699 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
8700 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
8701 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
8702 `ruby-toggle-block'.
8703
8704 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
8705
8706 * ibuffer.el (ibuffer-do-toggle-read-only):
8707 * dired.el (dired-toggle-read-only):
8708 * buff-menu.el (Buffer-menu-toggle-read-only):
8709 * bindings.el (mode-line-toggle-read-only):
8710 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
8711
8712 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
8713
8714 * descr-text.el (describe-char): Put the overlays over the
8715 "displayed as" character.
8716
8717 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
8718
8719 * calc/calc-units.el (math-default-units-table): Give an
8720 initial value.
8721 (math-put-default-units): Add options to put composite units and
8722 unit systems in the default units table.
8723 (calc-convert-units): Send composite units to
8724 `math-put-default-units' when appropriate.
8725
8726 2012-08-11 Glenn Morris <rgm@gnu.org>
8727
8728 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
8729
8730 * tutorial.el (help-with-tutorial):
8731 * emacs-lisp/copyright.el (copyright-update-directory):
8732 * emacs-lisp/autoload.el (autoload-find-generated-file)
8733 (autoload-find-file): Disable local eval: (for insurance).
8734
8735 * files.el (hack-local-variables-filter): If an eval: form is not
8736 known to be safe, and enable-local-variables is :safe, then ignore
8737 the form totally, as is done for non-eval forms. (Bug#12155)
8738 This is CVE-2012-3479.
8739
8740 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
8741
8742 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
8743 (rx-form): Simplify.
8744
8745 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
8746
8747 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
8748 ?, _, and : are symbol constituents, ! is not (but kinda should be).
8749 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
8750 (ruby-syntax-propertize-function): Adjust for changes in
8751 `ruby-syntax-propertize-heredoc'.
8752
8753 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
8754
8755 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
8756 binding (use `M-;' instead).
8757 (ruby-singleton-class-p): New function.
8758 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
8759
8760 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
8761
8762 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
8763
8764 2012-08-10 Chong Yidong <cyd@gnu.org>
8765
8766 * progmodes/python.el (python-shell-get-process-name): Don't mess
8767 with same-window-buffer-names.
8768
8769 * eshell/eshell.el (eshell-add-to-window-buffer-names)
8770 (eshell-remove-from-window-buffer-names): Make obsolete.
8771 (eshell-buffer-name, eshell-unload-hook): Don't use them.
8772 (eshell): Just use pop-to-buffer-same-window instead.
8773
8774 2012-08-10 Chong Yidong <cyd@gnu.org>
8775
8776 * bindings.el: Bind M-= back to count-words-region.
8777
8778 * simple.el (count-words-region): Accept a prefix arg for acting
8779 on the entire buffer.
8780 (count-words--buffer-message): New helper function.
8781
8782 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
8783
8784 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
8785 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
8786 (event-start, event-end): Use posn-at-point to return a more
8787 informative posn.
8788 (posnp): New function.
8789 * mouse.el (popup-menu-normalize-position): Use it.
8790
8791 2012-08-10 Masatake YAMATO <yamato@redhat.com>
8792
8793 * mouse.el (popup-menu-normalize-position): New function.
8794 (popup-menu): Use `popup-menu-normalize-position' to normalize
8795 the form for POSITION argument.
8796
8797 * term/x-win.el (x-menu-bar-open):
8798 Use the value returend from (posn-at-point) as position
8799 passed to `popup-menu'.
8800
8801 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
8802
8803 * calc/calccomp.el (math-compose-expr): Add extra argument
8804 indicating that parentheses should be put around products in
8805 denominators. Give multiplication precedence over division during
8806 composition.
8807
8808 2012-08-09 Chong Yidong <cyd@gnu.org>
8809
8810 * man.el (Man-switches, Man-sed-command, Man-awk-command)
8811 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
8812 (Man-untabify-command, manual-program): Convert to defcustom
8813 (Bug#10429).
8814
8815 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
8816
8817 * descr-text.el (describe-char): Don't insert extra newlines
8818 (Bug#10127).
8819
8820 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
8821 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
8822
8823 * align.el (align-region): Delete temporary markers (Bug#10047).
8824 Plus some code cleanups.
8825
8826 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
8827
8828 * progmodes/python.el (python-pdbtrack-tracked-buffer)
8829 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
8830 (python-shell-internal-last-output): Use make-local-variable
8831 instead of make-variable-buffer-local.
8832
8833 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
8834
8835 * progmodes/python.el: Enhancements to forward-sexp.
8836 (python-nav-forward-sexp): Rename from
8837 python-nav-forward-sexp-function.
8838 (python-nav--forward-sexp, python-nav--backward-sexp):
8839 New functions.
8840
8841 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
8842
8843 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
8844 modes and simplification modes.
8845
8846 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
8847
8848 * delsel.el (delete-selection-pre-hook): Don't propagate the
8849 file-supersession signals (bug#12161).
8850
8851 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8852
8853 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
8854 (cl-map-extents): Add compatibility aliases (bug#12135).
8855
8856 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
8857
8858 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
8859 tests by `ignore-error'.
8860 (tramp-find-shell): Open also a new shell, when cache is already
8861 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
8862
8863 2012-08-08 Juri Linkov <juri@jurta.org>
8864
8865 * bookmark.el: Add `defaults' property to the bookmark record.
8866 (bookmark-current-buffer): Doc fix.
8867 (bookmark-make-record): Add `defaults' property with default values
8868 to the bookmark record.
8869 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
8870 with `bookmark-insert-current-bookmark'.
8871 (bookmark-set): Get `defaults' property from the bookmark record
8872 and use it in `read-from-minibuffer'.
8873 (bookmark-insert-current-bookmark): Remove function.
8874
8875 * info.el (Info-bookmark-make-record): Add `defaults' property
8876 with values of canonical Info node name, the current Info file
8877 name and the current Info node name. (Bug#12107)
8878
8879 2012-08-08 Juri Linkov <juri@jurta.org>
8880
8881 * files.el (basic-save-buffer): Use `buffer-name' as the default
8882 of `read-file-name' when buffer is not visiting a file (bug#12128).
8883
8884 2012-08-08 Juri Linkov <juri@jurta.org>
8885
8886 * info.el (Info-isearch-search): Doc fix.
8887 (Info-search): Change search-failed message from "initial node" to
8888 "end of node" (bug#12078).
8889 (Info-isearch-search): Change `isearch-string-state' to
8890 `isearch--state-string'.
8891
8892 2012-08-08 Glenn Morris <rgm@gnu.org>
8893
8894 * language/persian.el: Remove file.
8895 * language/misc-lang.el: Move unique part of persian.el here.
8896 * loadup.el: Remove language/persian.
8897
8898 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
8899
8900 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
8901
8902 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
8903
8904 * progmodes/python.el: Fix defsubst warning.
8905 (python-syntax-context) Rename from python-info-ppss-context.
8906 (python-syntax-context-type): Rename from
8907 python-info-ppss-context-type.
8908 (python-syntax-comment-or-string-p): Rename from
8909 python-info-ppss-comment-or-string-p.
8910
8911 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
8912
8913 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
8914
8915 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
8916
8917 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
8918 a defcustom that is quoted with backquote.
8919
8920 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
8921 Fix handling of interactive spec when the body uses return.
8922 (math-do-arg-check, math-define-function-body): Use backquote forms.
8923 * calc/calc-ext.el (math-defcache): Likewise.
8924 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
8925 * allout.el (allout-new-exposure): Likewise.
8926 * calc/calcalg2.el (math-tracing-integral): Likewise.
8927 * info.el (Info-last-menu-item): Likewise.
8928 * emulation/vip.el (vip-loop): Likewise.
8929 * textmodes/artist.el (artist-funcall): Likewise.
8930 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
8931 Construct menu-item directly.
8932
8933 * progmodes/autoconf.el (font-lock-syntactic-keywords):
8934 Don't declare.
8935
8936 2012-08-07 Chong Yidong <cyd@gnu.org>
8937
8938 * simple.el (deactivate-mark): Preserve text properties when
8939 saving the primary selection (Bug#8384).
8940
8941 2012-08-07 Kevin Ryde <user42@zip.com.au>
8942
8943 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
8944 (woman-parse-numeric-value): On a bad .IP line, issue a warning
8945 and continue processing (Bug#12110).
8946
8947 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
8948
8949 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
8950 syntax-propertize-function (bug#10095).
8951
8952 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
8953
8954 * help-fns.el (help-fns--key-bindings, help-fns--signature)
8955 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
8956 describe-function-1.
8957 (describe-function-1): Use them. Move compiler macro after sig.
8958 (help-fns--compiler-macro): Use function-get. Assume we're already in
8959 standard-output. Adjust layout to new call order.
8960
8961 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
8962 re-binding a symbol that has a symbol-macro (bug#12119).
8963
8964 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
8965
8966 * language/persian.el: New file. (Bug#11812)
8967 * loadup.el: Add language/persian.el.
8968
8969 2012-08-06 Chong Yidong <cyd@gnu.org>
8970
8971 * window.el (window--maybe-raise-frame): New function.
8972 (window--display-buffer): Split off from here.
8973 (display-buffer-reuse-window, display-buffer-pop-up-frame)
8974 (display-buffer-pop-up-window, display-buffer-use-some-window):
8975 Obey an inhibit-switch-frame action alist entry.
8976 (display-buffer): Update doc.
8977
8978 * replace.el (occur-after-change-function): Avoid losing focus by
8979 using the inhibit-switch-frame display parameter (Bug#12139).
8980
8981 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
8982
8983 Make internal shell process buffer names start with space.
8984 * progmodes/python.el (python-shell-make-comint): Add optional
8985 argument INTERNAL.
8986 (run-python-internal): Use it.
8987 (python-shell-internal-get-or-create-process): Check for new
8988 internal buffer names.
8989
8990 2012-08-06 Glenn Morris <rgm@gnu.org>
8991
8992 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
8993 Do less getting and setting of environment variables.
8994
8995 2012-08-05 Chong Yidong <cyd@gnu.org>
8996
8997 * proced.el (proced): Add substitution string to docstring to
8998 trigger autoloading of the proced library on C-h f (Bug#1768).
8999
9000 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
9001 Don't show defvars which have no second argument (Bug#8638).
9002
9003 * imenu.el (imenu-generic-expression): Move documentation here
9004 from imenu--generic-function.
9005 (imenu--generic-function): Refer to imenu-generic-expression.
9006
9007 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
9008
9009 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
9010 indentation declaration.
9011 (viper-loop): Add indentation declaration (Bug#7025).
9012
9013 2012-08-05 Chong Yidong <cyd@gnu.org>
9014
9015 * help-fns.el (describe-variable): Add hyperlink for
9016 directory-local variables files. Improve buffer-local and
9017 permanent-local reporting; suggested by MON KEY (Bug#6644).
9018
9019 * help-mode.el (help-dir-local-var-def): New button type.
9020
9021 * files.el (kill-buffer-hook): Provide a defvar.
9022
9023 2012-08-05 Glenn Morris <rgm@gnu.org>
9024
9025 * eshell/esh-ext.el (eshell/addpath):
9026 Also update eshell-path-env. (Bug#12013)
9027
9028 2012-08-05 Chong Yidong <cyd@gnu.org>
9029
9030 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
9031
9032 * fringe.el (fringe-styles): Add docstring.
9033 (fringe--check-mode): New function.
9034 (set-fringe-mode, set-fringe-style): Use it.
9035 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
9036
9037 * files.el (set-auto-mode): Fix invalid setq call.
9038
9039 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
9040
9041 * isearch.el: Misc simplification; use defstruct.
9042 (isearch-mode-map): Dense maps now work like sparse ones.
9043 (isearch--state): New defstruct.
9044 (isearch-string-state, isearch-message-state, isearch-point-state)
9045 (isearch-success-state, isearch-forward-state)
9046 (isearch-other-end-state, isearch-word-state, isearch-error-state)
9047 (isearch-wrapped-state, isearch-barrier-state)
9048 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
9049 replaced by defstruct's accessors.
9050 (isearch--set-state): Rename from isearch-top-state and change
9051 calling convention.
9052 (isearch-push-state): Use new isearch--get-state.
9053 (isearch-toggle-word): Disable regexp when enabling word.
9054 (isearch-message-prefix): Remove unused arg _c-q-hack.
9055 (isearch-message-suffix): Remove unused arg _ellipsis.
9056
9057 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
9058
9059 * simple.el (list-processes--refresh): For a server use :host or
9060 :local as the address.
9061 (list-processes): Doc fix.
9062
9063 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
9064
9065 * lisp/mpc.el: Support password in host argument.
9066 (mpc--proc-connect): Parse and use new password element.
9067 Set mpc-proc variable instead of returning process.
9068 (mpc-proc): Adjust accordingly.
9069
9070 2012-08-03 Eli Zaretskii <eliz@gnu.org>
9071
9072 * whitespace.el (whitespace-display-mappings): Use Unicode
9073 codepoints, instead of emacs-mule codepoints. See
9074 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
9075 for the details.
9076
9077 * files.el (file-truename): Don't skip symlink-chasing part on
9078 windows-nt. Incorporate the resolution of 8+3 short aliases on
9079 Windows into the loop that recursively chases symlinks.
9080 Compare directory and its parent case-insensitively on MS-Windows and
9081 MS-DOS.
9082
9083 2012-08-03 Chong Yidong <cyd@gnu.org>
9084
9085 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
9086
9087 * sort.el (sort-regexp-fields): Doc fix.
9088
9089 2012-08-03 Tassilo Horn <tsdh@gnu.org>
9090
9091 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
9092 labels regex position point at the expected place.
9093
9094 2012-08-03 MON KEY <monkey@sandpframing.com>
9095
9096 * net/imap.el (imap-interactive-login, imap-authenticate)
9097 (imap-mailbox-lsub, imap-mailbox-list)
9098 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
9099 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
9100 (imap-parse-response): Doc fix.
9101
9102 2012-08-03 João Távora <joaotavora@gmail.com>
9103
9104 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
9105 if sexp scanning does not move point (Bug#5734).
9106
9107 2012-08-02 Tassilo Horn <tsdh@gnu.org>
9108
9109 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
9110 Add listings, minted, and ctable packages.
9111 (reftex-label-alist-builtin): Move listings, minted, and ctable
9112 entries before LaTeX.
9113 (reftex-label-alist): Docfix.
9114
9115 2012-08-02 Bastien Guerry <bzg@gnu.org>
9116
9117 * replace.el (occur): Fix docstring (bug#12122).
9118
9119 2012-08-02 Glenn Morris <rgm@gnu.org>
9120
9121 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
9122
9123 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
9124
9125 Obsolete alias inactivate-current-input-method-function (Bug#10150).
9126 * international/mule-cmds.el: Create
9127 inactivate-current-input-method-function as an obsolete alias for
9128 deactivate-current-input-method-function. See Katsumi Yamaoka in
9129 <http://bugs.gnu.org/10150#46>.
9130
9131 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
9132
9133 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
9134 of nested `if's.
9135
9136 2012-08-01 Glenn Morris <rgm@gnu.org>
9137
9138 * progmodes/autoconf.el (autoconf-definition-regexp):
9139 Add AH_TEMPLATE, adjust submatch numbering.
9140 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
9141 (autoconf-current-defun-function): Update for above change.
9142 (autoconf-current-defun-function): First skip to end of current word.
9143
9144 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
9145
9146 * calendar/cal-html.el (cal-html-insert-agenda-days):
9147 Fix typo. (Bug#12018)
9148
9149 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
9150
9151 Shell processes: enhancements to startup and CEDET compatibility.
9152 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
9153 (python-shell-make-comint): accept-process-output at startup.
9154 (run-python-internal): Set inferior-python-mode-hook to nil.
9155 (python-shell-internal-get-or-create-process): call sit-for.
9156 (python-preoutput-result): Add obsolete alias.
9157 (python-shell-internal-send-string): Use it.
9158 (python-shell-send-setup-code): Remove call to
9159 accept-process-output.
9160
9161 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
9162
9163 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
9164 (Bug#12108)
9165
9166 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
9167
9168 * calc-mode.el (calc-basic-simplification-mode): Rename from
9169 `calc-limited-simplification-mode'.
9170 (calc-alg-simplification-mode): New function.
9171 (calc-set-simplify-mode): Adjust message.
9172
9173 * calc.el (calc-set-mode-line): Adjust mode line display for
9174 basic simplification mode.
9175
9176 * calc-help.el (calc-m-prefix-help): Update help message.
9177
9178 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
9179 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
9180
9181 2012-07-31 Bastien Guerry <bzg@gnu.org>
9182
9183 * man.el (man): Fix comment. (bug#12101)
9184
9185 2012-07-31 Martin Rudalics <rudalics@gmx.at>
9186
9187 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
9188 Don't return a non-nil value when no suitable buffer was found.
9189
9190 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
9191
9192 * progmodes/python.el (run-python-internal): Disable font lock for
9193 internal shells.
9194
9195 2012-07-30 Stefan Merten <smerten@oekonux.de>
9196
9197 * textmodes/rst.el: Silence `checkdoc-ispell'.
9198 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
9199 (rst-official-version, rst-official-cvs-rev)
9200 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
9201 (rst-mode-map): New key binding.
9202
9203 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
9204
9205 Update .PHONY listings in makefiles.
9206 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
9207 autoloads, update-subdirs, updates, bzr-update, update-authors,
9208 compile-onefile, compile-calc, backup-compiled-files,
9209 compile-after-backup, compile-one-process, mh-autoloads,
9210 bootstrap-clean, distclean, maintainer-clean.
9211
9212 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
9213
9214 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
9215 (calc-set-mode-line): Don't display "AlgSimp ".
9216
9217 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
9218 (calc-lim-simplify-mode): New function.
9219 (calc-set-simplify-mode): Default to 'alg.
9220 (calc-default-simplify-mode): Make algebraic simplifications
9221 the default.
9222
9223 * calc/calc-ext.el (calc-init-extensions): Remove binding for
9224 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
9225
9226 * calc/calc-help.el (calc-m-prefix-help): Change messages to
9227 indicate new simplification modes.
9228
9229 * calc/README: Mention new default simplification mode.
9230
9231 * calc/calc.el (math-normalize-error): New variable.
9232 (math-normalize): Set `math-normalize-error' to t
9233 when there's an error.
9234
9235 * calc/calc-alg.el (math-simplify): Don't simplify when
9236 `math-normalize' returns an error.
9237
9238 2012-07-29 Eli Zaretskii <eliz@gnu.org>
9239
9240 * international/mule-cmds.el (set-locale-environment): Revert last
9241 change, since display-graphic-p returns nil when this function is
9242 called during startup. Instead...
9243
9244 * term/w32console.el (terminal-init-w32console): ...setup the
9245 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
9246
9247 2012-07-29 Juri Linkov <juri@jurta.org>
9248
9249 * simple.el (goto-line): Don't display default line number in the
9250 prompt because it should be displayed by `read-number' (bug#9952).
9251 Add the current line number to the defaults of `goto-line' to
9252 allow its easier modification by users with `M-n' (bug#9201).
9253
9254 * subr.el (read-number): Support multiple default values like in
9255 other minibuffer reading functions. Replace `read' with
9256 `string-to-number' for consistency with `number-to-string'.
9257
9258 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
9259
9260 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
9261 * emulation/viper-init.el (viper-deactivate-input-method-action):
9262 Rename from viper-inactivate-input-method-action.
9263 (viper-deactivate-input-method):
9264 Rename from viper-inactivate-input-method.
9265 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
9266 * international/mule-cmds.el (deactivate-input-method):
9267 Rename from inactivate-input-method.
9268 Also run input-method-deactivate-hook.
9269 (deactivate-current-input-method-function):
9270 Rename from inactivate-current-input-method-function.
9271 (input-method-deactivate-hook): New hook.
9272 (input-method-inactivate-hook): Mark obsolete.
9273 (inactivate-input-method): Mark obsolete.
9274
9275 * international/quail.el (quail-activate):
9276 Also run quail-deactivate-hook.
9277 (quail-deactivate): Rename from quail-inactivate.
9278 * international/robin.el (robin-activate):
9279 Also run robin-deactivate-hook.
9280 (robin-deactivate): Rename from robin-inactivate.
9281
9282 2012-07-29 Chong Yidong <cyd@gnu.org>
9283
9284 * simple.el (indicate-copied-region): New function.
9285 (kill-ring-save): Split off from here.
9286
9287 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
9288 (kill-rectangle): Set deactivate-mark to t on read-only error.
9289
9290 * register.el (copy-to-register, copy-rectangle-to-register):
9291 Deactivate the mark, and use indicate-copied-region (Bug#10056).
9292 (append-to-register, prepend-to-register): Call indicate-copied-region.
9293
9294 2012-07-29 Juri Linkov <juri@jurta.org>
9295
9296 * simple.el (async-shell-command-buffer): New defcustom.
9297 (shell-command): Use it. (Bug#4719)
9298
9299 2012-07-28 Eli Zaretskii <eliz@gnu.org>
9300
9301 * international/mule-cmds.el (set-locale-environment): In a
9302 console session on MS-Windows, set up keyboard and terminal
9303 encoding from the OEM codepage, not the ANSI codepage.
9304 (Bug#12055)
9305
9306 2012-07-28 Chong Yidong <cyd@gnu.org>
9307
9308 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
9309 gdb-get-location.
9310
9311 2012-07-28 Leo Liu <sdl.web@gmail.com>
9312
9313 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
9314 the alist (bug#12029).
9315
9316 2012-07-28 Eli Zaretskii <eliz@gnu.org>
9317
9318 * makefile.w32-in (custom-deps, finder-data, updates, compile)
9319 (compile-always, compile-first)
9320 ($(lisp)/calendar/cal-loaddefs.el)
9321 ($(lisp)/calendar/diary-loaddefs.el)
9322 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
9323 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
9324 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
9325 instead of on update-subdirs.
9326 (bootstrap-clean): Delete $(lisp)/subdirs.el.
9327
9328 2012-07-28 Chong Yidong <cyd@gnu.org>
9329
9330 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
9331 directory if vc-deduce-backend returns nil (Bug#7350).
9332
9333 * simple.el (delete-trailing-lines): New option.
9334 (delete-trailing-whitespace): Obey it (Bug#11879).
9335
9336 2012-07-28 David Engster <deng@randomsample.de>
9337
9338 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
9339 Explanation of new 'symbol-qnames feature in doc-strings.
9340 (xml-maybe-do-ns): Return expanded names as plain symbols if
9341 'symbol-qnames was provided in XML-NS argument (Bug#11916).
9342 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
9343
9344 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
9345
9346 Consistent completion in inferior python with emacs -nw.
9347 * progmodes/python.el (inferior-python-mode): replace "<tab>"
9348 binding in inferior-python-mode-map with "\t".
9349 (python-shell-completion-complete-at-point)
9350 (python-completion-complete-at-point): Remove interactive spec.
9351
9352 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
9353
9354 * calc/calccomp.el (math-compose-expr): Undo previous change.
9355
9356 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
9357
9358 * progmodes/python.el (python-mode-map): Add keybinding for
9359 run-python.
9360 (python-shell-make-comint): Fix pop-to-buffer call.
9361 (run-python): Autoload. New arg SHOW.
9362 (python-shell-get-or-create-process): Do not pop python process
9363 buffer.
9364
9365 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
9366
9367 * notifications.el (notifications-on-action-signal)
9368 (notifications-on-closed-signal): Use also the bus address for the map.
9369 (notifications-notify, notifications-close-notification)
9370 (notifications-get-capabilities): Add optional argument BUS.
9371
9372 2012-07-27 Tassilo Horn <tsdh@gnu.org>
9373
9374 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
9375 Add support for the lstlisting and minted environments, and for the
9376 ctable macro.
9377 * textmodes/reftex.el (reftex-compile-variables): Also recognize
9378 labels written in keyvals syntax.
9379
9380 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
9381
9382 * calc/calccomp.el (math-compose-expr): Use parentheses when
9383 there is a product in the denominator of a fraction.
9384
9385 2012-07-26 Eli Zaretskii <eliz@gnu.org>
9386
9387 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
9388 ($(lisp)/calendar/diary-loaddefs.el)
9389 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
9390 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
9391 Fixes failures in parallel bootstrap because subdirs.el is being
9392 rewritten while the autoload files are built at the same time,
9393 which needs to load subdirs.el.
9394
9395 2012-07-26 Martin Rudalics <rudalics@gmx.at>
9396
9397 * mouse.el (popup-menu): Fix doc-string and re-indent code.
9398 (mouse-drag-line): Don't exit tracking when a switch-frame or
9399 switch-window event occurs (Bug#12006).
9400
9401 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
9402
9403 * mouse.el (popup-menu): Fix last change.
9404
9405 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
9406
9407 Autoload from Lisp with more care. Follow aliases when looking for
9408 function properties.
9409 * subr.el (autoloadp): New function.
9410 (symbol-file): Use it.
9411 (function-get): New function.
9412 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
9413 autoload-do-load.
9414 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
9415 (lisp-indent-function):
9416 * emacs-lisp/gv.el (gv-get):
9417 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
9418 * emacs-lisp/byte-opt.el (byte-optimize-form):
9419 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
9420 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
9421 Use function-get.
9422 * emacs-lisp/cl.el: Don't propagate function properties any more.
9423
9424 * speedbar.el (speedbar-add-localized-speedbar-support):
9425 * emacs-lisp/disass.el (disassemble-internal):
9426 * desktop.el (desktop-load-file):
9427 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
9428 (describe-function-1):
9429 * emacs-lisp/find-func.el (find-function-noselect):
9430 * emacs-lisp/elp.el (elp-instrument-function):
9431 * emacs-lisp/advice.el (ad-has-proper-definition):
9432 * apropos.el (apropos-safe-documentation, apropos-macrop):
9433 * emacs-lisp/debug.el (debug-on-entry):
9434 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
9435 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
9436 * calc/calc.el (name): Use autoloadp & autoload-do-load.
9437
9438 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
9439
9440 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
9441 function, not an obsolete variable (Bug#12046).
9442
9443 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
9444
9445 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
9446
9447 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
9448
9449 * emacs-lisp/pp.el (pp-display-expression): Select old selected
9450 window only if it is still live (Bug#12034).
9451
9452 2012-07-25 Martin Rudalics <rudalics@gmx.at>
9453
9454 * subr.el (redirect-frame-focus): Add advertised calling
9455 convention (Bug#12030).
9456
9457 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
9458
9459 Prefer typical American spelling for "acknowledgment".
9460 * vc/add-log.el (change-log-acknowledgment): Rename from
9461 change-log-acknowledgement, with an alias for the old name.
9462
9463 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
9464
9465 * calc-alg.el (math-simplify-divide): Don't cross multiply
9466 in an equation when the lhs is a variable.
9467
9468 2012-07-24 Julien Danjou <julien@danjou.info>
9469
9470 * net/netrc.el (netrc-find-service-number, netrc-store-data):
9471 Remove, unused.
9472
9473 2012-07-23 Eli Zaretskii <eliz@gnu.org>
9474
9475 * startup.el (command-line): Don't display an empty user name in
9476 the error message about non-existent home directory, when
9477 init-file-user was set to an empty string. See
9478 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
9479 for the details and context.
9480
9481 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
9482
9483 * ses.el (ses-cell-formula-aset): New macro.
9484 (ses-cell-references-aset): New macro.
9485 (ses-cell-p): New function.
9486 (ses-rename-cell): Do no longer rely on complex operations like
9487 ses-cell-set-formula or ses-set-cell to change the cell and handle
9488 the undo at the same time, but rather use lower level new macros
9489 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
9490 the undo directly. Refresh the mode line.
9491
9492 2012-07-21 Leo Liu <sdl.web@gmail.com>
9493
9494 * progmodes/cc-cmds.el (c-defun-name):
9495 Use match-string-no-properties instead for consistency.
9496
9497 2012-07-20 Leo Liu <sdl.web@gmail.com>
9498
9499 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
9500 (Bug#7879)
9501
9502 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
9503
9504 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
9505
9506 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
9507 * progmodes/bug-reference.el, misearch.el: Provide themselves
9508 (bug#11915).
9509
9510 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
9511 of narrowed buffer (bug#11966).
9512
9513 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
9514
9515 * ses.el (ses-rename-cell): Set new name also in reference list of
9516 cells of which the renamed cell depends.
9517
9518 2012-07-20 Masatake YAMATO <yamato@redhat.com>
9519
9520 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
9521 to check whether menu-bar is shown or not. If not shown,
9522 show the menu-bar as a popup menu instead of using tmm.
9523 * mouse.el (popup-menu): Accept `point' as `position' argument.
9524
9525 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
9526
9527 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
9528 up inside string symbol literal (bug#11923).
9529
9530 2012-07-20 Eli Zaretskii <eliz@gnu.org>
9531
9532 * startup.el (fancy-startup-text): Read the whole tutorial, not
9533 just its first 256 bytes. Prevents gibberish in display of the
9534 tutorial title.
9535
9536 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
9537
9538 Drop idle buffer compaction due to an absence of the
9539 proved efficiency.
9540 * compact.el: Remove.
9541
9542 2012-07-19 Sam Steingold <sds@gnu.org>
9543
9544 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
9545 vc-bzr-pull & vc-bzr-merge-branch.
9546 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
9547 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
9548 for consistency with compilation-error-regexp-alist.
9549 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
9550 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
9551 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
9552 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
9553
9554 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
9555
9556 * emacs-lisp/chart.el: Use lexical-binding.
9557 (chart-emacs-storage): Don't hardcode the list of entries.
9558
9559 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
9560
9561 Next round of tweaks caused by Fgarbage_collect changes.
9562 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
9563
9564 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
9565
9566 Compact buffers when idle.
9567 * compact.el: New file.
9568
9569 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
9570
9571 * subr.el (eventp): Presume that if it looks vaguely like an event,
9572 it's an event (bug#10190).
9573
9574 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
9575
9576 Enhancements to ppss related code (thanks Stefan).
9577 * progmodes/python.el (python-indent-context)
9578 (python-indent-calculate-indentation, python-indent-dedent-line)
9579 (python-indent-electric-colon, python-nav-forward-block)
9580 (python-mode-abbrev-table)
9581 (python-info-assignment-continuation-line-p): Simplify checks
9582 for ppss context.
9583 (python-info-continuation-line-p): Cleanup.
9584 (python-info-ppss-context): Do not catch 'quote.
9585 (python-info-ppss-context-type)
9586 (python-info-ppss-comment-or-string-p): Simplify.
9587
9588 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
9589
9590 * progmodes/python.el: Enhancements to eldoc support.
9591 (python-info-current-symbol): New function.
9592 (python-eldoc-at-point): Use python-info-current-symbol.
9593 (python-info-current-defun): Fix cornercase on first defun scan.
9594 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
9595 and signal error when no inferior python process is available.
9596
9597 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
9598
9599 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
9600 assume it's always t.
9601 (vc-git-registered): Remove caching, the function is only called
9602 once.
9603 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
9604
9605 2012-07-18 Chong Yidong <cyd@gnu.org>
9606
9607 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
9608
9609 * simple.el (count-words): Report on narrowing (Bug#9959).
9610
9611 * bindings.el: Bind M-= to count-words.
9612
9613 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
9614
9615 2012-07-18 Masatake YAMATO <yamato@redhat.com>
9616
9617 * progmodes/sh-script.el (sh-imenu-generic-expression):
9618 Capture a function with `function' keyword and without parentheses
9619 like "function FOO" (bug#11856).
9620
9621 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
9622
9623 * window.el (split-window-sensibly): Make WINDOW argument
9624 optional.
9625
9626 2012-07-18 Chong Yidong <cyd@gnu.org>
9627
9628 * subr.el (keyboard-translate): Doc fix (Bug#7261).
9629
9630 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
9631 and make C-x 8 RET exit isearch (Bug#11439).
9632
9633 * international/iso-transl.el: Move isearch-mode-map key
9634 definitions to isearch.el.
9635
9636 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
9637
9638 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
9639 (eieio-defclass): Use gv-define-setter when possible.
9640
9641 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
9642
9643 Reflect recent changes in Fgarbage_collect.
9644 * emacs-lisp/chart.el (chart-emacs-storage): Change to
9645 reflect new format of data returned by Fgarbage_collect.
9646
9647 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
9648
9649 New utility functions + python-info-ppss-context fix (Bug#11910).
9650 * progmodes/python.el (python-info-beginning-of-block-statement-p)
9651 (python-info-ppss-comment-or-string-p): New functions.
9652 (python-info-ppss-context): Small fix for string check.
9653
9654 2012-07-17 Juri Linkov <juri@jurta.org>
9655
9656 * dired-aux.el (dired-do-async-shell-command): Doc fix.
9657 (dired-do-async-shell-command): Don't add `*' at the end of the
9658 command (Bug#11815).
9659 (dired-do-shell-command): Doc fix.
9660 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
9661 Join the individual commands using either "&" or ";" as the
9662 separator depending on the values of these trailing characters.
9663 At the end re-add the trailing "&". (Bug#10598)
9664
9665 * simple.el (async-shell-command): Sync the interactive spec with
9666 `shell-command'. Doc fix.
9667 (shell-command): Doc fix.
9668
9669 2012-07-17 Juri Linkov <juri@jurta.org>
9670
9671 * descr-text.el (describe-char): Fix format args. (Bug#10129)
9672
9673 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
9674
9675 Final renames and doc fixes for movement commands (bug#11899).
9676 * progmodes/python.el (python-nav-beginning-of-statement):
9677 Rename from python-nav-statement-start.
9678 (python-nav-end-of-statement): Rename from
9679 python-nav-statement-end.
9680 (python-nav-beginning-of-block): Rename from
9681 python-nav-block-start.
9682 (python-nav-end-of-block): Rename from python-nav-block-end.
9683
9684 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
9685
9686 * progmodes/python.el (python-shell-send-string-no-output):
9687 Allow accept-process-output to quit, keeping shell process ready for
9688 future interactions (Bug#11868).
9689
9690 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
9691
9692 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
9693
9694 * emacs-lisp/elint.el (elint-find-args-in-code):
9695 Use help-function-arglist, so as to handle lexical byte-code.
9696
9697 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
9698 change (bug#11826).
9699
9700 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
9701
9702 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
9703 Avoid spuriously marking the buffer as modified because of c-is-sws.
9704
9705 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
9706 as not-a-comment (bug#11946).
9707
9708 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
9709 for uninterned vars.
9710
9711 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
9712 Use read-event since we don't really want to read chars but bytes.
9713
9714 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
9715 $$..$$ but also $..$ using regexps (bug#11953).
9716 Use tex-verbatim for \url and \path.
9717 (tex-font-lock-keywords): Define as defconst like the others.
9718 (tex-common-initialization): Don't use font-lock-syntax-table any more.
9719
9720 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
9721
9722 * international/mule-cmds.el (ucs-insert): Make it an obsolete
9723 alias for insert-char.
9724
9725 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
9726
9727 * progmodes/python.el: Simplified imenu implementation.
9728 (python-nav-jump-to-defun): Remove command.
9729 (python-mode-map): Use `imenu' instead.
9730 (python-nav-list-defun-positions-cache)
9731 (python-imenu-include-defun-type, python-imenu-make-tree)
9732 (python-imenu-subtree-root-label, python-imenu-index-alist):
9733 Remove vars.
9734 (python-nav-list-defun-positions, python-nav-read-defun)
9735 (python-imenu-tree-assoc, python-imenu-make-element-tree)
9736 (python-imenu-make-tree, python-imenu-create-index):
9737 Remove functions.
9738 (python-mode): Update to interact with imenu by setting
9739 `imenu-extract-index-name-function' only.
9740
9741 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
9742
9743 * progmodes/python.el: Enhancements to navigation commands.
9744 (python-nav-backward-sentence)
9745 (python-nav-forward-sentence): Remove.
9746 (python-nav-backward-statement, python-nav-forward-statement)
9747 (python-nav-statement-start, python-nav-statement-end)
9748 (python-nav-backward-block, python-nav-forward-block)
9749 (python-nav-block-start, python-nav-block-end)
9750 (python-nav-forward-sexp-function)
9751 (python-info-current-line-comment-p)
9752 (python-info-current-line-empty-p): New functions.
9753 (python-indent-context): Use `python-nav-statement-start'.
9754
9755 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
9756
9757 * eshell/em-ls.el (eshell/ls): Use `apply'.
9758
9759 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
9760 multi-hops, instead of Tramp internals.
9761
9762 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
9763
9764 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
9765 when F1 and F2 are located on different hosts.
9766
9767 2012-07-14 Chong Yidong <cyd@gnu.org>
9768
9769 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
9770 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
9771 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
9772 (xterm-mouse--read-event-sequence-1000)
9773 (xterm-mouse--read-event-sequence-1006): New functions. For old
9774 mouse protocol, handle M-mouse-X events correctly.
9775 (xterm-mouse-event): New arg specifying mouse protocol.
9776 (turn-on-xterm-mouse-tracking-on-terminal)
9777 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
9778 sequence to toggle extended coordinates on newer XTerms.
9779 This appears to be harmless on terminals which do not support this.
9780
9781 2012-07-14 Leo Liu <sdl.web@gmail.com>
9782
9783 Add fringe bitmap indicators for flymake. (Bug#11253)
9784 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
9785 (flymake-make-overlay): New arg BITMAP.
9786 (flymake-error-bitmap, flymake-warning-bitmap)
9787 (flymake-fringe-indicator-position): New user variables.
9788
9789 * fringe.el: New bitmap exclamation-mark.
9790
9791 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
9792
9793 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
9794 also (Bug#7879).
9795
9796 2012-07-14 Chong Yidong <cyd@gnu.org>
9797
9798 * electric.el (electric-pair-post-self-insert-function): Fix pair
9799 insertion in empty-region case (Bug#11520).
9800
9801 2012-07-14 Chong Yidong <cyd@gnu.org>
9802
9803 * bindings.el: Consolidate ctl-x-r-map bindings.
9804 Bind copy-rectangle-as-kill to C-x r w.
9805
9806 * rect.el, register.el: Move bindings to bindings.el.
9807
9808 2012-07-14 Reuben Thomas <rrt@sc3d.org>
9809
9810 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
9811
9812 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
9813
9814 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
9815
9816 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
9817
9818 * bindings.el (top): Use `mapc' instead of `mapcar'.
9819
9820 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
9821
9822 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
9823
9824 * progmodes/sql.el (sql-comint): Suppress the check for program on
9825 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
9826 (Bug#11908)
9827
9828 2012-07-13 Chong Yidong <cyd@gnu.org>
9829
9830 * bindings.el: Assign a non-nil permanent-local property to
9831 per-buffer variables which lack a default value (Bug#11930).
9832
9833 * help-fns.el (describe-variable): In the "automatically becomes
9834 local" notice, take note of permanent-local variables.
9835
9836 2012-07-13 Chong Yidong <cyd@gnu.org>
9837
9838 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
9839 to allow printing the message when called from Lisp.
9840
9841 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
9842 Remove toggle-read-only.
9843
9844 * bs.el (bs-toggle-readonly):
9845 * buff-menu.el (Buffer-menu-toggle-read-only):
9846 Remove with-no-warnings around toggle-read-only.
9847
9848 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
9849 Remove with-no-warnings around toggle-read-only.
9850 (ffap-read-only, ffap-read-only-other-window)
9851 (ffap-read-only-other-frame): Callers changed.
9852
9853 * help-mode.el: Don't require view package.
9854 (help-mode-finish): Set buffer-read-only instead of calling
9855 toggle-read-only.
9856
9857 * bindings.el (mode-line-toggle-read-only):
9858 * dired.el (dired-toggle-read-only):
9859 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
9860 with non-nil second arg.
9861
9862 * emacs-lisp/eieio-custom.el (eieio-customize-object):
9863 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
9864 directly.
9865
9866 2012-07-12 Eli Zaretskii <eliz@gnu.org>
9867
9868 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
9869 not incf.
9870
9871 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
9872
9873 More CL cleanups and reduction of use of cl.el.
9874 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
9875 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
9876 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
9877 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
9878 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
9879 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
9880 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
9881 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
9882 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
9883 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
9884 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
9885 * eshell/em-cmpl.el, eshell/em-banner.el:
9886 * calendar/parse-time.el: Use cl-lib.
9887 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
9888 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
9889 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
9890 * term/ns-win.el, term.el, shell.el, ps-samp.el:
9891 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
9892 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
9893 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
9894 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
9895 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
9896 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
9897 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
9898 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
9899 `lambda' rather than with `quote'.
9900 (eshell-do-opt): Adjust accordingly.
9901 (eshell-process-option): Simplify.
9902 * eshell/esh-var.el:
9903 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
9904 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
9905 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
9906 to `pcase--dontcare'.
9907 * emacs-lisp/cl.el (labels): Mark obsolete.
9908 (cl--letf, letf): Move to cl-lib.
9909 (cl--letf*, letf*): Remove.
9910 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
9911 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
9912 (cl-progv): Rewrite.
9913 (cl--letf, cl-letf): Move from cl.el.
9914 (cl-letf*): New macro.
9915 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
9916
9917 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
9918
9919 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
9920
9921 2012-07-11 Chong Yidong <cyd@gnu.org>
9922
9923 * vc/log-edit.el (log-edit-vc-backend): New variable.
9924 (log-edit): Doc fix.
9925
9926 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
9927 argument of log-edit to set up all local variables.
9928 (vc-start-logentry): New optional arg specifying VC backend.
9929
9930 * vc/vc.el (vc-checkin): Use it.
9931 (vc-deduce-fileset): Handle Log Edit buffers.
9932 (vc-diff): Make first argument optional too.
9933
9934 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
9935
9936 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
9937
9938 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
9939 command, just in case. The function is not needed anymore.
9940 (eshell-external-command): Do not call `eshell-remote-command'.
9941
9942 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
9943
9944 Reduce use of (require 'cl).
9945 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
9946 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
9947 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
9948 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
9949 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
9950 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
9951 * battery.el, avoid.el, abbrev.el: Use cl-lib.
9952 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
9953 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
9954 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
9955 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
9956 * calculator.el, autorevert.el, apropos.el: Don't require CL.
9957 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
9958 (byte-compile-unfold-bcf, byte-compile-check-variable):
9959 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
9960 (byte-compile-nilconstp):
9961 * emacs-lisp/autoload.el (make-autoload): Use pcase.
9962 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
9963
9964 * emacs-lisp/gv.el (cond): Make it a valid place.
9965 (if): Simplify slightly.
9966
9967 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
9968 (pcase--self-quoting-p): New function.
9969 (pcase--u1): Use it.
9970
9971 2012-07-10 Glenn Morris <rgm@gnu.org>
9972
9973 * emacs-lisp/authors.el (authors-fixed-entries):
9974 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
9975
9976 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
9977
9978 Rename configure.in to configure.ac (Bug#11603).
9979 * emacs-lisp/authors.el (authors-canonical-file-name):
9980 * progmodes/autoconf.el (autoconf-mode):
9981 Prefer configure.ac to configure.in.
9982
9983 2012-07-08 Chong Yidong <cyd@gnu.org>
9984
9985 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
9986 Implement the mouse-1-click-follows-link handling properly.
9987
9988 * info.el (Info-link-keymap): Use follow-link mechanism for
9989 header-line links (Bug#374).
9990
9991 * simple.el (deactivate-mark): Do not set the primary selection
9992 if another program has acquired it (Bug#11772).
9993
9994 2012-07-07 Kevin Ryde <user42@zip.com.au>
9995
9996 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
9997 (woman-decode-region): Replace escaped-escapes without destroying
9998 bold or underline (Bug#11552).
9999 (woman2-process-escapes): Handle nofill regions (Bug#11591).
10000
10001 2012-07-07 Chong Yidong <cyd@gnu.org>
10002
10003 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
10004 (interprogram-cut-function, interprogram-paste-function):
10005 Mention that we typically mean the clipboard.
10006
10007 2012-07-06 Glenn Morris <rgm@gnu.org>
10008
10009 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
10010
10011 * files.el (toggle-read-only): Restrict message to interactive use.
10012
10013 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
10014
10015 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
10016
10017 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
10018
10019 2012-07-06 Glenn Morris <rgm@gnu.org>
10020
10021 * Makefile.in (compile-one-process): Rename from "recompile".
10022
10023 * Makefile.in (bzr-update): "compile" is the same as "recompile
10024 autoloads", but parallelizable, so use that instead.
10025
10026 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
10027
10028 * window.el (quit-window): Always restore window height when
10029 it's saved in quit-restore parameter (Bug#11810).
10030
10031 2012-07-06 Glenn Morris <rgm@gnu.org>
10032
10033 * simple.el (kill-whole-line): Doc tweak.
10034
10035 2012-07-06 Eli Zaretskii <eliz@gnu.org>
10036
10037 * files.el (file-relative-name): Compare file names
10038 case-insensitively if on MS-Windows or MS-DOS, or if
10039 read-file-name-completion-ignore-case is non-nil. Don't use
10040 case-fold-search for this purpose. (Bug#11827)
10041
10042 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
10043
10044 * calendar/cal-dst.el (calendar-current-time-zone):
10045 Return calendar-current-time-zone-cache if non-nil.
10046
10047 2012-07-17 Masatake YAMATO <yamato@redhat.com>
10048 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
10049
10050 * calendar/cal-dst.el (calendar-current-time-zone):
10051 Return calendar-current-time-zone-cache if non-nil.
10052
10053 2012-07-06 Glenn Morris <rgm@gnu.org>
10054
10055 * Makefile.in (cvs-update): Remove old alias.
10056
10057 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
10058
10059 Sync with Tramp 2.2.6-pre.
10060
10061 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
10062 compatible declaration.
10063
10064 * net/tramp-cmds.el (tramp-append-tramp-buffers):
10065 Protect `list-load-path-shadows' call.
10066
10067 * net/tramp-compat.el (top): Require packages, which aren't
10068 autoloaded anymore for XEmacs. Protect call of
10069 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
10070 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
10071 it hurts at least for SXEmacs.
10072 (tramp-compat-temporary-file-directory): In XEmacs, there is no
10073 standard-value for `temporary-file-directory'.
10074
10075 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
10076 Redirect stderr to /dev/null.
10077 (tramp-sh-handle-write-region): uid and gid can be floats.
10078 Reported by Russell Sim <russell.sim@gmail.com>.
10079 (tramp-sh-handle-vc-registered): Hide errors.
10080 (tramp-vc-file-name-handler): Use dummy results for `process-file'
10081 and `start-file-process'.
10082 (tramp-maybe-open-connection): Check also whether `non-essential'
10083 is bound.
10084
10085 2012-07-04 Chong Yidong <cyd@gnu.org>
10086
10087 * xml.el (xml--parse-buffer): Use xml-syntax-table.
10088 (xml-parse-tag): Likewise, and avoid changing entity tables.
10089 (xml-syntax-table): Define from scratch, making sure not to give
10090 x2000 and other Unicode spaces whitespace syntax, since those are
10091 not spaces in XML.
10092 (xml-parse-fragment): Delete unused function.
10093 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
10094 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
10095 (xml-entity-ref, xml-pe-reference-re)
10096 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
10097 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
10098 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
10099 (xml-entity-value-re): Use syntax references in regexps where
10100 possible; no need to define inside a let-binding.
10101 (xml-parse-dtd): Use xml-pe-reference-re.
10102 (xml-entity-or-char-ref-re): New defconst.
10103 (xml-parse-string, xml-substitute-special): Use it.
10104
10105 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
10106
10107 * files.el (locate-dominating-file): Allow `name' to be a predicate.
10108 (find-file--read-only): New function.
10109 (find-file-read-only, find-file-read-only-other-window)
10110 (find-file-read-only-other-frame): Use it.
10111 (insert-file-contents-literally): Don't `fset'.
10112 (get-free-disk-space): Use locate-dominating-file.
10113
10114 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
10115 function is already compiled.
10116
10117 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
10118
10119 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
10120
10121 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
10122 files on the same host.
10123
10124 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
10125
10126 * help-fns.el (describe-function-1): Only call
10127 help-fns--autoloaded-p when we have a file name. (Bug#11848)
10128
10129 2012-07-03 Chong Yidong <cyd@gnu.org>
10130
10131 * xml.el: Protect parser against XML bombs.
10132 (xml-entity-expansion-limit): New variable.
10133 (xml-parse-string, xml-substitute-special): Use it.
10134 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
10135
10136 2012-07-03 Glenn Morris <rgm@gnu.org>
10137
10138 * progmodes/bug-reference.el (bug-reference-bug-regexp):
10139 Allow linking to specific messages in debbugs reports (eg 123#5).
10140
10141 2012-07-02 Chong Yidong <cyd@gnu.org>
10142
10143 * xml.el: Fix entity and character reference expansion, allowing
10144 them to expand into markup as per XML spec.
10145 (xml-default-ns): New variable.
10146 (xml-entity-alist): Use XML spec definitions for lt and amp.
10147 (xml-parse-region): Make first two arguments optional.
10148 Discard text properties.
10149 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
10150 All callers changed.
10151 (xml-parse-tag): Call xml-parse-tag-1. For backward
10152 compatibility, this function should not modify buffer contents.
10153 (xml-parse-tag-1): Fix opening-tag regexp.
10154 (xml-parse-string): Rewrite, handling entity and character
10155 references properly.
10156 (xml--entity-replacement-text): Signal an error if a parameter
10157 entity is undefined.
10158
10159 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
10160
10161 * comint.el (comint-output-filter): Filter out repeated prompts.
10162
10163 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
10164 and file-name-absolute-p.
10165 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
10166 internal calls.
10167
10168 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
10169
10170 Spelling fixes.
10171 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
10172 Rename from byte-compile--refiy-function. All uses changed.
10173
10174 2012-07-01 Chong Yidong <cyd@gnu.org>
10175
10176 * xml.el (xml--parse-buffer): New function. Move most of
10177 xml-parse-region here.
10178 (xml-parse-region): Copy region into a temporary buffer, since
10179 parameter entity substitution requires changing buffer contents.
10180 Use xml--parse-buffer.
10181 (xml-parse-file): Use xml--parse-buffer.
10182 (xml-parse-dtd): Make parameter entity substitution work right.
10183 Use proper regexps for ELEMENT declarations (Bug#7172).
10184
10185 2012-06-30 Glenn Morris <rgm@gnu.org>
10186
10187 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
10188
10189 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
10190 Remove outdated and unnecessary dbus declarations.
10191
10192 2012-06-30 Eli Zaretskii <eliz@gnu.org>
10193
10194 * emacs-lisp/timer.el (timer-until): Subtract results of
10195 float-time, instead of taking float-time of the result of
10196 time-subtract, since float-time signals an error for negative time
10197 arguments.
10198
10199 2012-06-30 Chong Yidong <cyd@gnu.org>
10200
10201 * xml.el (xml-*-re): Convert defvars into defconsts, and
10202 eval-and-compile them so eval-and-compile works on derivatives.
10203 (xml--entity-replacement-text): Use eval-and-comple.
10204
10205 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
10206
10207 * vc/vc-git.el (vc-git-registered): Use cache property
10208 `git-registered'.
10209 (vc-git-mode-line-string): Call `vc-working-revision' instead of
10210 `vc-git-working-revision' in order to benefit from the cache.
10211 (vc-git-root): Use cache property `git-root'. (Bug#11757)
10212
10213 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
10214
10215 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
10216 removed (likely outside Emacs). (Bug#11757)
10217
10218 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
10219
10220 * emacs-lisp/cl-lib.el: Require macroexp.
10221
10222 2012-06-30 Chong Yidong <cyd@gnu.org>
10223
10224 * xml.el: Implement XML parameter entities.
10225 (xml-parameter-entity-alist): New variable.
10226 (xml-parse-region, xml-parse-fragment): Preserve previous values
10227 of xml-entity-alist and xml-parameter-entity-alist, so that
10228 repeated calls on different documents do not change them.
10229 (xml-parse-tag): Fix doctype regexp.
10230 (xml--entity-replacement-text): New function.
10231 (xml-parse-dtd): Use it. Don't handle system entities; doing that
10232 properly requires url retrieval which is unimplemented.
10233 (xml-escape-string): Doc fix.
10234
10235 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
10236
10237 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
10238
10239 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
10240
10241 * fringe.el (fringe-mode): Doc fix.
10242
10243 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
10244
10245 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
10246 is non-nil.
10247 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
10248 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
10249
10250 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
10251
10252 * calendar/cal-dst.el (calendar-current-time-zone):
10253 Return calendar-current-time-zone-cache if non-nil.
10254
10255 2012-06-29 Masatake YAMATO <yamato@redhat.com>
10256
10257 * progmodes/which-func.el (which-func-format):
10258 Add mouse-face. (Bug#11698)
10259
10260 2012-06-29 Leo Liu <sdl.web@gmail.com>
10261
10262 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
10263
10264 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
10265
10266 * minibuffer.el (minibuffer-confirm-exit-commands):
10267 Add completion-at-point (bug#11725).
10268
10269 2012-06-29 Glenn Morris <rgm@gnu.org>
10270
10271 * progmodes/f90.el (f90-font-lock-keywords-2):
10272 Add some preprocessor elements. (Bug#10499)
10273
10274 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
10275
10276 * progmodes/cperl-mode.el (cperl-update-syntaxification):
10277 Use syntax-propertize (bug#11739).
10278
10279 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
10280
10281 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
10282
10283 2012-06-28 Julien Danjou <julien@danjou.info>
10284
10285 * term.el (term-handle-colors-array): Use a set of new faces to
10286 color the terminal. Also uses :inverse-video property.
10287 (term-default-fg-color): Set to nil by default, deprecate in favor
10288 of `term-face'.
10289 (term-default-bg-color): Set to nil by default, deprecate in favor
10290 of `term-face'.
10291 (term-current-face): Use `term-face' by default.
10292 (term-bold-attribute): Variable deleted.
10293
10294 2012-06-28 Glenn Morris <rgm@gnu.org>
10295
10296 * simple.el (completion-list-mode-finish):
10297 Don't use toggle-read-only. (Since completion-list-mode has
10298 a special mode-class, it wasn't doing anything extra anyway.)
10299
10300 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
10301
10302 Make inlining of other-mode interpreted functions work (bug#11799).
10303 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
10304 (byte-compile): Use it to fix compilation of lexical-binding closures.
10305 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
10306 function, if needed.
10307
10308 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
10309
10310 * help-mode.el (help-make-xrefs): Don't just withstand
10311 cyclic-variable-indirection but any error in documentation-property.
10312
10313 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
10314 memory use.
10315 * bindings.el (bindings--define-key): New function.
10316 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
10317 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
10318 * bindings.el: Use it to purecopy define-key bindings.
10319
10320 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
10321
10322 * emacs-lisp/cl.el (flet): Mark obsolete.
10323 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
10324 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
10325 * progmodes/js.el (js-c-fill-paragraph):
10326 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
10327 (ebrowse-switch-member-buffer-to-derived-class):
10328 * play/5x5.el (5x5-solver): Use cl-flet.
10329
10330 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
10331 (cl--symbol-function): New macro.
10332 (cl--letf, cl--letf*): Use it.
10333
10334 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
10335 Strip "toggle-" if any.
10336
10337 2012-06-27 Glenn Morris <rgm@gnu.org>
10338
10339 * info.el (Info-default-directory-list): Move here from paths.el.
10340 * paths.el: Remove file, which is now empty.
10341 * loadup.el: No longer load "paths".
10342
10343 * custom.el (custom-initialize-delay): Doc fix.
10344
10345 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
10346 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
10347 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
10348 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
10349 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
10350 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
10351 * eshell/eshell.el (eshell-defgroup): Remove alias.
10352
10353 2012-06-27 Chong Yidong <cyd@gnu.org>
10354
10355 * help.el (help-enable-auto-load): New variable.
10356
10357 * help-fns.el (help-fns--autoloaded-p): New function.
10358 (describe-function-1): Refer to a function as "autoloaded" if it
10359 was autoloaded at any time in the past. Perform autoloading if
10360 help-enable-auto-load is non-nil.
10361
10362 2012-06-26 Eli Zaretskii <eliz@gnu.org>
10363
10364 * makefile.w32-in (compile, compile-always): Depend on
10365 update-subdirs, not on subdirs.el. Otherwise, several different
10366 sub-targets of 'bootstrap' running in parallel could
10367 simultaneously write to subdirs.el, producing a garbled file.
10368
10369 2012-06-26 Sam Steingold <sds@gnu.org>
10370
10371 * files.el (file-name-base): New convenience function.
10372 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
10373 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
10374 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
10375 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
10376 * textmodes/ispell.el, textmodes/reftex-ref.el:
10377 * textmodes/tex-mode.el: Use it.
10378 Did not touch cedet and org because they are maintained elsewhere.
10379
10380 2012-06-26 Martin Rudalics <rudalics@gmx.at>
10381
10382 * calendar/calendar.el (calendar-exit): Don't try to delete or
10383 iconify last frame. See:
10384 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
10385
10386 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
10387
10388 * server.el (server-process-filter): Remember dir in the
10389 process's `server-client-directory' properties.
10390
10391 2012-06-24 Chong Yidong <cyd@gnu.org>
10392
10393 * xml.el (xml-parse-tag): Correctly handle comment embedded in
10394 non-tag text.
10395
10396 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
10397
10398 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
10399
10400 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
10401
10402 * help-fns.el (describe-variable): Don't croak when doc is not found.
10403 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
10404 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
10405 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
10406 * emacs-lisp/smie.el (smie-next-sexp): CSE.
10407 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
10408 ((lambda ..) ..).
10409 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
10410
10411 2012-06-23 Chong Yidong <cyd@gnu.org>
10412
10413 * info.el (Info-mouse-follow-link): Accept symbol values of
10414 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
10415 (Info-fontify-node): Use Info-link-keymap for all navigation
10416 buttons, with link-args property to perform the desired action.
10417 (Info-link-keymap): Doc fix.
10418 (Info-next-link-keymap, Info-prev-link-keymap)
10419 (Info-up-link-keymap): Delete now-unused keymaps.
10420
10421 2012-06-23 Chong Yidong <cyd@gnu.org>
10422
10423 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
10424
10425 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
10426 system abbrevs.
10427
10428 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
10429
10430 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
10431
10432 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
10433 (bug#11719).
10434
10435 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
10436 the requote function doesn't work properly (bug#11714).
10437
10438 2012-06-23 Glenn Morris <rgm@gnu.org>
10439
10440 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
10441
10442 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
10443
10444 Further GV/CL cleanups.
10445 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
10446 gv-expander.
10447 (gv--defun-declaration): New function.
10448 (defun-declarations-alist): Use it.
10449 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
10450 (gv-place): Autoload.
10451 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
10452 original definition of dotimes and dolist.
10453 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
10454 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
10455 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
10456 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
10457 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
10458 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
10459 to the function's definition.
10460 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
10461 * window.el:
10462 * files.el:
10463 * faces.el:
10464 * env.el: Don't use CL.
10465
10466 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
10467
10468 Support higher-resolution time stamps (Bug#9000).
10469
10470 * calendar/time-date.el (with-decoded-time-value): New arg
10471 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
10472 (encode-time-value): New optional arg PICO. New type 3.
10473 (time-to-seconds) [!float-time]: Support the new picoseconds
10474 component if it's used.
10475 (seconds-to-time, time-subtract, time-add):
10476 Support ps-resolution time stamps as well.
10477
10478 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
10479 (timerp): Timer vectors now have length 9, not 8.
10480 (timer--time): Support new-style (4-part) time stamps.
10481 (timer-next-integral-multiple-of-time): Time stamps now have
10482 picosecond resolution, so take a bit more care about rounding.
10483 (timer-relative-time, timer-inc-time): New optional arg psecs.
10484 (timer-set-time-with-usecs): Set psecs to 0.
10485 (timer--activate): Check psecs component, too.
10486
10487 * proced.el (proced-time-lessp): Support ps-resolution stamps.
10488
10489 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
10490
10491 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
10492 Move the non-essential binding to the post/pre-command-hook where it is
10493 more obviously correct.
10494
10495 * subr.el (read-passwd): Don't use a history at all.
10496 * savehist.el (savehist-save): Remove password saved accidentally
10497 because of the above bug.
10498
10499 2012-06-22 Bastien Guerry <bzg@gnu.org>
10500
10501 * files.el (toggle-read-only): Display a message telling whether
10502 the buffer is read-only or not (bug#11726).
10503
10504 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
10505
10506 * emacs-lisp/gv.el: New file.
10507 * subr.el (push, pop): Extend to generalized variables.
10508 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
10509 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
10510 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
10511 gv-define-simple-setter, and gv-define-expander.
10512 Remove setf-methods defined in gv. Rename cl-setf -> setf.
10513 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
10514 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
10515 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
10516 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
10517 gv-letplace.
10518 (cl-defstruct): Don't define setf-method any more.
10519 * emacs-lisp/cl.el (flet): Don't autoload.
10520 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
10521 (define-setf-expander, defsetf, define-modify-macro)
10522 (cl-struct-setf-expander): Move from cl-lib.el.
10523 * emacs-lisp/syntax.el:
10524 * emacs-lisp/ewoc.el:
10525 * emacs-lisp/smie.el:
10526 * emacs-lisp/cconv.el:
10527 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
10528 (timer--time): Use gv-define-simple-setter.
10529 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
10530 to avoid coding-system problems in subr.el. Adjust all users.
10531 (macroexp--maxsize, macroexp-small-p): New functions.
10532 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
10533 * scroll-bar.el (scroll-bar-mode):
10534 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
10535 (normal-erase-is-backspace-mode): Don't use the `eq' place.
10536 * winner.el (winner-configuration, winner-make-point-alist)
10537 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
10538 * files.el (locate-file-completion-table): Avoid list*.
10539
10540 2012-06-22 Chong Yidong <cyd@gnu.org>
10541
10542 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
10543 (dired-create-files): Doc fix (Bug#11329).
10544 (dired-do-copy): Doc fix (Bug#11334).
10545 (dired-mark-read-string): Doc fix (Bug#11553).
10546
10547 * dired.el (dired-recursive-copies, dired-recursive-deletes):
10548 Doc fix (Bug#11326).
10549 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
10550 (dired-dwim-target): Doc fix.
10551
10552 * wdired.el (wdired-mode): Doc fix.
10553
10554 2012-06-22 Glenn Morris <rgm@gnu.org>
10555
10556 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
10557 (pcmpl-rpm-cache-stamp-file): New constant.
10558 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
10559 (pcmpl-rpm-packages): Optionally cache list of packages.
10560
10561 * pcmpl-rpm.el (pcmpl-rpm): New group.
10562 (pcmpl-rpm-query-options): New option.
10563 (pcmpl-rpm-packages): No need to inline it.
10564 Use pcmpl-rpm-query-options.
10565
10566 * calendar/calendar.el (calendar-in-read-only-buffer):
10567 Avoid some needless mode changes.
10568
10569 2012-06-21 Chong Yidong <cyd@gnu.org>
10570
10571 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
10572 (desktop-path): Remove . from the default value (Bug#10977).
10573 (desktop-read): Use user-emacs-directory if desktop-path is nil.
10574
10575 2012-06-20 Chong Yidong <cyd@gnu.org>
10576
10577 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
10578
10579 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
10580
10581 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
10582 (bug#11201).
10583
10584 2012-06-20 Chong Yidong <cyd@gnu.org>
10585
10586 * term.el (term-window-width): Handle the case of a missing right
10587 fringe (Bug#8837).
10588 (term-check-size): Use window-text-height (Bug#5445).
10589 (term-mode): Use define-derived-mode. Minor cleanups.
10590 Set font-lock-defaults (Bug#7692).
10591 (term-move-columns, term-insert-char, term-emulate-terminal)
10592 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
10593
10594 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
10595
10596 * net/ange-ftp.el (ange-ftp-get-passwd):
10597 Bind `enable-recursive-minibuffers'.
10598 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
10599
10600 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
10601
10602 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
10603
10604 2012-06-19 Glenn Morris <rgm@gnu.org>
10605
10606 * progmodes/python.el (python-mode): Derive from prog-mode.
10607
10608 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
10609
10610 * emulation/edt.el (edt-default-menu-bar-update-buffers)
10611 (edt-user-menu-bar-update-buffers): New functions.
10612 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
10613
10614 2012-06-19 Chong Yidong <cyd@gnu.org>
10615
10616 * subr.el (with-selected-window): Preserve the selected window's
10617 terminal's top-frame (Bug#4702).
10618
10619 * window.el (save-selected-window): Likewise.
10620
10621 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10622
10623 * progmodes/python.el (python-rx-constituents): Move backquote.
10624 (python-skeleton-define, python-define-auxiliary-skeleton):
10625 Use `declare'.
10626
10627 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
10628
10629 * minibuffer.el (read-file-name-default): Revert the patch from
10630 2012-06-17.
10631
10632 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10633
10634 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
10635 (pcase--u1, pcase--q1): Don't use apply-partially.
10636
10637 2012-06-18 Glenn Morris <rgm@gnu.org>
10638
10639 * progmodes/python.el (python-proc, python-buffer)
10640 (python-send-receive, python-send-string): Fix obsolete versions.
10641
10642 2012-06-18 Martin Rudalics <rudalics@gmx.at>
10643
10644 * window.el (special-display-p): Completely remove stringp
10645 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
10646
10647 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
10648
10649 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
10650
10651 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
10652
10653 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
10654 * net/tramp-sh.el (tramp-maybe-open-connection):
10655 Throw if `non-essential' is non-nil.
10656
10657 2012-06-17 Martin Rudalics <rudalics@gmx.at>
10658
10659 * window.el (special-display-p): Signal an error if BUFFER-NAME
10660 is not a string (Bug#11713).
10661
10662 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
10663
10664 * progmodes/python.el (python-info-beginning-of-backslash):
10665 Rename from python-info-beginning-of-backlash, as a spelling fix.
10666
10667 2012-06-17 Chong Yidong <cyd@gnu.org>
10668
10669 * term.el (term-emulate-terminal): If term-check-size is called,
10670 move point to the process mark without resetting point (Bug#4635).
10671
10672 2012-06-17 Glenn Morris <rgm@gnu.org>
10673
10674 * international/mule-cmds.el (mule-menu-keymap)
10675 (set-language-environment, set-locale-environment): Doc tweaks.
10676
10677 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
10678
10679 * cus-face.el (custom-face-attributes): Add wave-style underline
10680 attribute.
10681 * faces.el (set-face-attribute): Update docstring to describe
10682 wave-style underline attribute.
10683
10684 2012-06-16 Chong Yidong <cyd@gnu.org>
10685
10686 * term/xterm.el (terminal-init-xterm): Discard input before
10687 querying background mode (Bug#10959).
10688
10689 2012-06-16 Stefan Merten <smerten@oekonux.de>
10690
10691 * textmodes/rst.el: Added and corrected some comments.
10692 (rst-re-alist-def): Improve symbol syntax.
10693 (rst-mode-syntax-table): Correct syntax entries.
10694 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
10695 (rst-official-version, rst-official-cvs-rev): Update version
10696 information.
10697
10698 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
10699
10700 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
10701 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
10702
10703 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
10704
10705 * progmodes/python.el: New python.el merge.
10706 (python-guess-indent): Obsolete var.
10707 (python-indent-guess-indent-offset): New defcustom.
10708 (python-indent): Obsolete var.
10709 (python-indent-offset): New defcustom.
10710 (python-python-command, python-jython-command): Delete var.
10711 (python-shell-interpreter): New defcustom.
10712 (python-pdbtrack-do-tracking-p): Delete var.
10713 (python-pdbtrack-activate): New defcustom.
10714 (python-use-skeletons): Obsolete var.
10715 (python-skeleton-autoinsert): New defcustom.
10716 (inferior-python-filter-regexp, python-continuation-offset)
10717 (python-honour-comment-indentation, python-indent-string-contents)
10718 (python-jython-packages, python-mode-hook)
10719 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
10720 (python-shell-prompt-alist)
10721 (python-source-modes): Delete defcustoms.
10722 (python-check-buffer-name, python-eldoc-setup-code)
10723 (python-eldoc-string-code, python-ffap-setup-code)
10724 (python-ffap-string-code, python-fill-comment-function)
10725 (python-fill-decorator-function, python-fill-paren-function)
10726 (python-fill-string-function, python-imenu-include-defun-type)
10727 (python-imenu-make-tree, python-imenu-subtree-root-label)
10728 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
10729 (python-shell-compilation-regexp-alist)
10730 (python-shell-completion-module-string-code)
10731 (python-shell-completion-pdb-string-code)
10732 (python-shell-completion-setup-code)
10733 (python-shell-completion-string-code)
10734 (python-shell-enable-font-lock, python-shell-exec-path)
10735 (python-shell-extra-pythonpaths)
10736 (python-shell-internal-buffer-name, python-shell-interpreter-args)
10737 (python-shell-process-environment)
10738 (python-shell-prompt-block-regexp)
10739 (python-shell-prompt-output-regexp)
10740 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
10741 (python-shell-send-setup-max-wait, python-shell-setup-codes)
10742 (python-shell-virtualenv-path): New defcustoms.
10743 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
10744 (inferior-python-mode-syntax-table, python--prompt-regexp)
10745 (python-buffer, python-command python-python-command)
10746 (python-default-template, python-imports, python-indent-index)
10747 (python-indent-list, python-indent-list-length)
10748 (python-mode-running, python-pdbtrack-is-tracking-p)
10749 (python-preoutput-continuation, python-preoutput-leftover)
10750 (python-preoutput-result, python-preoutput-skip-next-prompt)
10751 (python-prev-dir/file, python-recursing)
10752 (python-saved-check-command, python-version-checked)
10753 (python-which-func-length-limit)
10754 (view-return-to-alist): Delete vars.
10755 (python-check-custom-command, python-dotty-syntax-table)
10756 (python-imenu-index-alist, python-indent-current-level)
10757 (python-indent-dedenters, python-indent-levels)
10758 (python-nav-beginning-of-defun-regexp)
10759 (python-nav-list-defun-positions-cache)
10760 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
10761 (python-shell-internal-buffer)
10762 (python-skeleton-available): New vars.
10763 (def-python-skeleton): Delete macro.
10764 (python-skeleton-define): New macro.
10765 (python-define-auxiliary-skeleton, python-rx): New macros.
10766 (python-insert-class): Delete command.
10767 (python-skeleton-class): New command.
10768 (python-insert-def): Delete command.
10769 (python-skeleton-def): New command.
10770 (python-insert-for): Delete command.
10771 (python-skeleton-for): New command.
10772 (python-insert-if): Delete command.
10773 (python-skeleton-if): New command.
10774 (python-insert-try/except, python-insert-try/finally): Delete commands.
10775 (python-skeleton-try): New command.
10776 (python-insert-while): Delete command.
10777 (python-skeleton-while): New command.
10778 (python-backspace): Delete command.
10779 (python-indent-dedent-line-backspace): New command.
10780 (python-electric-colon): Delete command.
10781 (python-indent-electric-colon): New command.
10782 (python-guess-indent): Delete command.
10783 (python-indent-guess-indent-offset): New command.
10784 (python-shift-left): Delete command.
10785 (python-indent-shift-left): New command.
10786 (python-shift-right): Delete command.
10787 (python-indent-shift-right): New command.
10788 (python-find-function): Delete command.
10789 (python-nav-jump-to-defun): New command.
10790 (python-next-statement): Delete command.
10791 (python-nav-forward-sentence): New command.
10792 (python-previous-statement): Delete command.
10793 (python-nav-backward-sentence): New command.
10794 (python-fill-paragraph): Delete command.
10795 (python-fill-paragraph-function): New command.
10796 (python-send-buffer): Delete command.
10797 (python-shell-send-buffer): New command.
10798 (python-send-defun): Delete command.
10799 (python-shell-send-defun): New command.
10800 (python-send-region, python-send-region-and-go): Delete commands.
10801 (python-shell-send-region)
10802 (python-shell-switch-to-shell): New commands.
10803 (python-send-string): Delete command.
10804 (python-shell-send-string): New command.
10805 (python-switch-to-python): Delete command.
10806 (python-shell-switch-to-shell): New command.
10807 (python-describe-symbol): Delete command.
10808 (python-eldoc-at-point): New command.
10809 (python--set-prompt-regexp, python-args-to-list)
10810 (python-after-info-look, python-check-version)
10811 (python-check-comint-prompt, python-find-imports)
10812 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
10813 (python-unload-function, python-expand-template)
10814 (python-maybe-jython, python-preoutput-filter)
10815 (python-pdbtrack-get-source-buffer)
10816 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
10817 (python-pdbtrack-toggle-stack-tracking)
10818 (python-pdbtrack-track-stack-file, python-initial-text)
10819 (python-first-word, python-comment-line-p, python-send-command)
10820 (python-setup-brm, python-sentinel, python-set-proc)
10821 (python-skip-out, python-input-filter, python-outdent-p)
10822 (python-outline-level, python-backslash-continuation-line-p)
10823 (python-end-of-block, python-end-of-statement, python-mark-block)
10824 (python-beginning-of-block, python-beginning-of-statement)
10825 (python-blank-line-p, python-beginning-of-string)
10826 (python-open-block-statement-p): Delete functions.
10827 (python-indent-line, python-indent-line-1): Delete functions.
10828 (python-indent-line): New function.
10829 (python-indentation-levels): Delete function.
10830 (python-indent-calculate-levels): New function.
10831 (python-proc): Delete function.
10832 (python-shell-get-process): New function.
10833 (python-send-receive): Delete function.
10834 (python-shell-send-string-no-output): New function.
10835 (python-module-path): Delete function.
10836 (python-ffap-module-path): New function.
10837 (python-completion-at-point)
10838 (python-symbol-completions): Delete functions.
10839 (python-completion-complete-at-point): New function.
10840 (python-load-file): Delete function.
10841 (python-shell-send-file): New function.
10842 (python-calculate-indentation): Delete function.
10843 (python-indent-calculate-indentation): New function.
10844 (python-skip-comments/blanks): Delete function.
10845 (python-util-forward-comment): New function.
10846 (python-continuation-line-p): Delete function.
10847 (python-info-continuation-line-p): New function.
10848 (python-which-func, python-current-defun): Delete function.
10849 (python-info-current-defun): New function.
10850 (python-beginning-of-defun): Delete function.
10851 (python-nav-beginning-of-defun): New function.
10852 (python-close-block-statement-p)
10853 (python-block-end-p): Delete function.
10854 (python-info-closing-block): New function.
10855 (python-comint-output-filter-function)
10856 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
10857 (python-fill-comment, python-fill-decorator, python-fill-paren)
10858 (python-fill-string, python-imenu-make-element-tree)
10859 (python-imenu-make-tree, python-imenu-tree-assoc)
10860 (python-indent-context, python-indent-dedent-line)
10861 (python-indent-line-function)
10862 (python-indent-post-self-insert-function)
10863 (python-indent-toggle-levels)
10864 (python-info-assignment-continuation-line-p)
10865 (python-info-beginning-of-backlash)
10866 (python-info-block-continuation-line-p)
10867 (python-info-closing-block-message)
10868 (python-info-line-ends-backslash-p)
10869 (python-info-looking-at-beginning-of-defun)
10870 (python-info-ppss-context, python-info-ppss-context-type)
10871 (python-nav-list-defun-positions, python-nav-read-defun)
10872 (python-nav-sentence-end, python-nav-sentence-start)
10873 (python-pdbtrack-comint-output-filter-function)
10874 (python-pdbtrack-set-tracked-buffer)
10875 (python-shell-calculate-exec-path)
10876 (python-shell-calculate-process-environment)
10877 (python-shell-completion--do-completion-at-point)
10878 (python-shell-completion--get-completions)
10879 (python-shell-completion-complete-at-point)
10880 (python-shell-completion-complete-or-indent)
10881 (python-shell-get-or-create-process)
10882 (python-shell-get-process-name)
10883 (python-shell-internal-get-or-create-process)
10884 (python-shell-internal-get-process-name)
10885 (python-shell-internal-send-string, python-shell-make-comint)
10886 (python-shell-parse-command, python-shell-send-setup-code)
10887 (python-skeleton-add-menu-items)
10888 (python-util-clone-local-variables, python-util-position)
10889 (run-python-internal, python-indentation-levels)
10890 (python-nav-beginning-of-defun)
10891 (python-completion-complete-at-point): New functions.
10892 (run-python): Change arguments. New API requirements.
10893
10894 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
10895
10896 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
10897 (bug#11649).
10898
10899 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
10900 (macroexp--expand-all): Use it.
10901
10902 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
10903 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
10904 Use `cl-function' instead.
10905
10906 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
10907
10908 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
10909 Suggested by Stefan Monnier while discussing bug#11657.
10910
10911 2012-06-14 Sam Steingold <sds@gnu.org>
10912
10913 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
10914
10915 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
10916
10917 * play/doctor.el (doctor-doc): Remove parameter and use
10918 doctor-sent instead of sent.
10919 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
10920
10921 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10922
10923 * files.el: Require cl-lib.
10924 (file-name-non-special): Replace case -> cl-case.
10925
10926 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
10927
10928 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
10929 mapping from #' to function*.
10930
10931 2012-06-13 Chong Yidong <cyd@gnu.org>
10932
10933 * mouse.el (mouse-drag-track): Do not set the mark if the user
10934 releases the mouse without selecting anything (Bug#11588).
10935
10936 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10937
10938 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
10939 as well (bug#11646).
10940
10941 * loadup.el: Count byte-code functions as well.
10942
10943 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
10944 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
10945
10946 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
10947 (bug#11649). Add cl-defun and cl-defmacro.
10948
10949 2012-06-13 Drew Adams <drew.adams@oracle.com>
10950
10951 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
10952 Fix last change.
10953
10954 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
10955
10956 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
10957 Otherwise, it blocks in batch mode.
10958
10959 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
10960
10961 * help-mode.el (bookmark-make-record-default): Declare.
10962
10963 2012-06-13 Chong Yidong <cyd@gnu.org>
10964
10965 * emacs-lisp/package.el (list-packages): Compute a list of
10966 packages that are newly-available since the last list-packages
10967 invocation.
10968 (package-menu--new-package-list): New var.
10969 (package-menu--generate, package-menu--print-info)
10970 (package-menu--status-predicate, package-menu-mark-install):
10971 Handle new status label "new".
10972
10973 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
10974
10975 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
10976 conversion to backquotes.
10977
10978 2012-06-12 Chong Yidong <cyd@gnu.org>
10979
10980 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
10981 Rename from gud-inhibit-global-bindings.
10982
10983 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
10984
10985 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
10986 hook from nxml-glyph-set-hook.
10987
10988 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
10989 declaration.
10990
10991 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
10992
10993 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
10994 Convert to defcustom.
10995
10996 2012-06-12 Drew Adams <drew.adams@oracle.com>
10997
10998 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
10999 New functions.
11000 (help-mode): Use them.
11001
11002 2012-06-11 Glenn Morris <rgm@gnu.org>
11003
11004 * progmodes/fortran.el (fortran-font-lock-keywords-3):
11005 Use preprocessor face for directives.
11006 (fortran-directive-re): Doc fix.
11007
11008 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
11009
11010 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
11011 conversion to backquotes (bug#11652).
11012
11013 Fix compiler-expansion of CL's cXXr functions (bug#11673).
11014 * emacs-lisp/cl-lib.el (cl--defalias): New function.
11015 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
11016 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
11017 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
11018 (cl-ninth, cl-tenth): Mark them as inlinable.
11019 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
11020 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
11021 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
11022 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
11023 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
11024 (cl-list*, cl-adjoin): Don't put an autoload manually.
11025 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
11026 (cl--compiler-macro-list*): Add autoload cookie.
11027 (cl--compiler-macro-cXXr): New function.
11028
11029 * help-fns.el (help-fns--compiler-macro): New function extracted from
11030 describe-function-1; follow aliases and use `compiler-macro' property.
11031 (describe-function-1): Use it.
11032
11033 2012-06-11 Chong Yidong <cyd@gnu.org>
11034
11035 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
11036 is uninstalled, if imagemagick is installed.
11037
11038 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
11039
11040 * emacs-lisp/cl-lib.el: Use lexical-binding.
11041 (cl-map-extents, cl-maclisp-member): Remove.
11042 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
11043 (cl--set-substring, cl--block-wrapper, cl--block-throw)
11044 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
11045 * emacs-lisp/cl-extra.el: Use lexical-binding.
11046 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
11047 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
11048 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
11049 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
11050 * emacs-lisp/cl-seq.el: Use lexical-binding.
11051 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
11052 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
11053 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
11054 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
11055 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
11056 CL's internals.
11057
11058 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
11059
11060 Sync with Tramp 2.2.6-pre.
11061
11062 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
11063 `print-length' and `print-level' to nil, in order to avoid
11064 truncation. Reported by Christopher Schmidt
11065 <christopher@ristopher.com>.
11066
11067 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
11068
11069 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
11070 New defmacro.
11071 (tramp-compat-copy-directory): Add optional argument
11072 COPY-CONTENTS. It is not handled yet.
11073
11074 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
11075 (tramp-ftp-file-name-p): Simplify.
11076
11077 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
11078 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
11079 connection vector.
11080
11081 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
11082 (tramp-methods): Do not use `tramp-password-end-of-line'.
11083 (tramp-completion-function-alist-putty): Handle UNIX case.
11084 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
11085 (tramp-do-file-attributes-with-stat)
11086 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
11087 gid as real numbers. They could run out of integer range on cygwin.
11088 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
11089 (tramp-sh-handle-expand-file-name): Handle hops.
11090 (tramp-open-connection-setup-interactive-shell):
11091 Use `tramp-cleanup'. Move check for busyboxes ...
11092 (tramp-find-shell): ... here. Simplify implementation.
11093 Set "remote-shell" property also for alternative shells.
11094 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
11095 If failing, a regular file would be written otherwise.
11096 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
11097 (tramp-find-inline-encoding): Cache the coding commands in the
11098 process cache. Apply test command on the remote side, if defined.
11099 (tramp-find-inline-compress): Cache the compress commands in the
11100 process cache.
11101 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
11102 when requested. Handle hops.
11103 (tramp-current-connection): New defvar.
11104 (tramp-maybe-open-connection): Use `tramp-cleanup'.
11105 Throw `suppress', if there was a failed connection shortly before.
11106 Handle user interrupt. (Bug#10187)
11107 (tramp-get-inline-compress, tramp-get-inline-coding):
11108 Read connection properties from the process cache.
11109
11110 * net/tramp-smb.el (tramp-smb-server-version)
11111 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
11112 New defconsts.
11113 (tramp-smb-prompt): Extend for powershell prompt.
11114 (tramp-smb-file-name-handler-alist): Add handlers for
11115 `process-file', `shell-command' and `start-file-process'.
11116 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
11117 (tramp-smb-winexe-shell-command-switch): New defcustoms.
11118 (tramp-smb-file-name-p): Simplify.
11119 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
11120 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
11121 (tramp-smb-shell-quote-argument): New defuns.
11122 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
11123 Implement using "tar". By this, time-stamps are preserved.
11124 (tramp-smb-handle-copy-file): Handle also the case of directories.
11125 (tramp-smb-do-file-attributes-with-stat)
11126 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
11127 Use `tramp-get-connection-buffer').
11128 (tramp-smb-handle-rename-file): Use "rename", when source and
11129 target are on the same share.
11130 (tramp-smb-maybe-open-connection): Handle wrong passwords.
11131 Use `tramp-smb-server-version'.
11132 (tramp-smb-wait-for-output): Remove prompt.
11133
11134 * net/tramp.el (top): Require 'cl.
11135 (tramp-methods, tramp-rsh-end-of-line):
11136 Remove `tramp-password-end-of-line' from docstring.
11137 (tramp-save-ad-hoc-proxies): New defcustom.
11138 (tramp-completion-function-alist): Adapt docstring.
11139 (tramp-default-password-end-of-line): Remove defcustom.
11140 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
11141 (tramp-user-regexp, tramp-file-name-regexp-unified)
11142 (tramp-file-name-regexp-url): Extend regexp by hop separator.
11143 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
11144 (tramp-remote-file-name-spec-regexp): New defconst.
11145 (tramp-file-name-structure): Extend structure for hops.
11146 (tramp-get-method-parameter): Move up.
11147 (tramp-file-name-p, tramp-dissect-file-name)
11148 (with-parsed-tramp-file-name): Handle hops.
11149 (tramp-file-name-hop): New defun.
11150 (tramp-make-tramp-file-name): New optional arg HOP.
11151 (tramp-message-show-progress-reporter-message): New defvar.
11152 (tramp-with-progress-reporter): Use it. We cannot use
11153 `tramp-message-show-message' here, because this suppresses also
11154 error buffers.
11155 (tramp-error-with-buffer): Suppress buffer view, if
11156 `tramp-message-show-message' is nil.
11157 Use `tramp-get-connection-buffer'.
11158 (tramp-cleanup): New defun.
11159 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
11160 (tramp-file-name-handler): If `debug-on-error' is set, propagate
11161 an error unchanged.
11162 (tramp-completion-handle-file-name-all-completions): Handle hops.
11163 Fix an error when called from ido.
11164 (tramp-completion-dissect-file-name): Use better local variable
11165 name. Add hop to the vector.
11166 (tramp-handle-insert-file-contents): Use progress-reporter for the
11167 whole scenario.
11168 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
11169 to `t'.
11170 (tramp-check-for-regexp): Simplify search.
11171 (tramp-enter-password): Remove it. Move implementation ...
11172 (tramp-action-password): ... here.
11173 (tramp-mode-string-to-int, tramp-local-host-p)
11174 (tramp-make-tramp-temp-file, tramp-read-passwd)
11175 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
11176 Set tramp-autoload cookie.
11177
11178 * net/trampver.el: Update release number.
11179
11180 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11181 Michael Albinus <michael.albinus@gmx.de>
11182
11183 * net/tramp.el (tramp-set-completion-function): Fix docstring.
11184 (tramp-parse-group, tramp-parse-file)
11185 (tramp-parse-shostkeys-sknownhosts): New defuns.
11186 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
11187 (tramp-parse-shosts-group, tramp-parse-sconfig)
11188 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
11189 (tramp-parse-sknownhosts, tramp-parse-hosts)
11190 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
11191 Use them.
11192 (tramp-parse-passwd-group, tramp-parse-netrc-group)
11193 (tramp-parse-putty-group): Don't narrow.
11194 (tramp-parse-putty): Make a loop.
11195 (tramp-file-name-handler): Catch the `suppress' signal.
11196
11197 2012-06-11 Chong Yidong <cyd@gnu.org>
11198
11199 * image.el (imagemagick-register-types): Put the ImageMagick entry
11200 at the end of image-type-file-name-regexps.
11201
11202 2012-06-11 Johan Bockgård <bojohan@gnu.org>
11203
11204 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
11205 (pcase, pcase-let*, pcase-dolist): Use them.
11206
11207 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
11208
11209 * emacs-lisp/pcase.el (pcase--let*): New function.
11210 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
11211 (pcase--expand): Use macroexp-let².
11212
11213 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
11214
11215 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
11216 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
11217 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
11218 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
11219 * emacs-lisp/derived.el: Use pcase instead of `cl'.
11220 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
11221
11222 2012-06-10 Glenn Morris <rgm@gnu.org>
11223
11224 * mail/rmail.el (rmail-yank-current-message): Leave point at
11225 correct position. (Bug#11660)
11226
11227 2012-06-10 Chong Yidong <cyd@gnu.org>
11228
11229 * allout-widgets.el: Fix code header.
11230
11231 2012-06-10 Chong Yidong <cyd@gnu.org>
11232
11233 * cus-edit.el (customize-changed-options-previous-release):
11234 Bump to 24.1.
11235
11236 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
11237
11238 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
11239
11240 2012-06-09 Chong Yidong <cyd@gnu.org>
11241
11242 * ebuff-menu.el (electric-buffer-list): Preserve header line.
11243
11244 2012-06-09 Martin Rudalics <rudalics@gmx.at>
11245
11246 * window.el (special-display-popup-frame): Don't use
11247 window--display-buffer (Bug#11651).
11248
11249 2012-06-09 Eli Zaretskii <eliz@gnu.org>
11250
11251 Fix parallel builds: make sure loaddefs.el is not being written
11252 while Lisp files are compiled.
11253 (compile): Don't depend on 'mh-autoloads'.
11254 (compile-CMD, compile-SH): Depend on 'autoloads'.
11255 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
11256
11257 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
11258
11259 2012-06-09 Chong Yidong <cyd@gnu.org>
11260
11261 * face-remap.el (face-remap-add-relative, face-remap-set-base)
11262 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
11263 Doc fixes (Bug#11225).
11264
11265 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
11266
11267 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
11268 a function if there's a clear indication that it has a compiler-macro.
11269 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
11270 (macro-declarations-alist): Add arglist to declaration functions.
11271 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
11272 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
11273 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
11274 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
11275 Also add autoload to find the compiler macro.
11276 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
11277 (cl--compiler-macro-member, cl--compiler-macro-assoc)
11278 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
11279 (cl--compiler-macro-get): New functions, replacing calls to
11280 cl-define-compiler-macro.
11281 (cl-typep) [compiler-macro]: Use macroexp-let².
11282
11283 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
11284
11285 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
11286 string properly, fixes Bug#11473.
11287
11288 2012-06-08 Chong Yidong <cyd@gnu.org>
11289
11290 * faces.el (set-face-attribute): Doc fix.
11291 (modify-face): Don't use :bold and :italic.
11292 (error, warning, success): Tweak definitions.
11293
11294 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
11295 (custom-modified, custom-set, custom-changed, custom-themed)
11296 (custom-saved, custom-button, custom-button-mouse)
11297 (custom-button-pressed, custom-state, custom-comment-tag)
11298 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
11299 (custom-group-subtitle): Use new-style face specs.
11300 (custom-invalid-face, custom-rogue-face, custom-modified-face)
11301 (custom-set-face, custom-changed-face, custom-saved-face)
11302 (custom-button-face, custom-button-pressed-face)
11303 (custom-documentation-face, custom-state-face)
11304 (custom-comment-face, custom-comment-tag-face)
11305 (custom-variable-tag-face, custom-variable-button-face)
11306 (custom-face-tag-face, custom-group-tag-face-1)
11307 (custom-group-tag-face): Remove obsolete face alias.
11308
11309 * epa.el (epa-validity-high, epa-validity-medium)
11310 (epa-validity-low, epa-mark, epa-field-name, epa-string)
11311 (epa-field-name, epa-field-body):
11312 * font-lock.el (font-lock-comment-face, font-lock-string-face)
11313 (font-lock-keyword-face, font-lock-builtin-face)
11314 (font-lock-function-name-face, font-lock-variable-name-face)
11315 (font-lock-type-face, font-lock-constant-face):
11316 * ido.el (ido-first-match, ido-only-match, ido-subdir)
11317 (ido-virtual, ido-indicator, ido-incomplete-regexp):
11318 * speedbar.el (speedbar-button-face, speedbar-file-face)
11319 (speedbar-directory-face, speedbar-tag-face)
11320 (speedbar-selected-face, speedbar-highlight-face)
11321 (speedbar-separator-face):
11322 * whitespace.el (whitespace-newline, whitespace-space)
11323 (whitespace-hspace, whitespace-tab, whitespace-trailing)
11324 (whitespace-line, whitespace-space-before-tab)
11325 (whitespace-space-after-tab, whitespace-indentation)
11326 (whitespace-empty):
11327 * emulation/cua-base.el (cua-global-mark):
11328 * eshell/em-prompt.el (eshell-prompt):
11329 * net/newst-plainview.el (newsticker-new-item-face)
11330 (newsticker-old-item-face, newsticker-immortal-item-face)
11331 (newsticker-obsolete-item-face, newsticker-date-face)
11332 (newsticker-statistics-face, newsticker-default-face):
11333 * net/newst-reader.el (newsticker-feed-face)
11334 (newsticker-extra-face, newsticker-enclosure-face):
11335 * net/newst-treeview.el (newsticker-treeview-face)
11336 (newsticker-treeview-new-face, newsticker-treeview-old-face)
11337 (newsticker-treeview-immortal-face)
11338 (newsticker-treeview-obsolete-face)
11339 (newsticker-treeview-selection-face):
11340 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
11341 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
11342 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
11343 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
11344 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
11345 (nxml-outline-active-indicator, nxml-outline-ellipsis):
11346 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
11347 (mpuz-text):
11348 * progmodes/vera-mode.el (vera-font-lock-number)
11349 (vera-font-lock-function, vera-font-lock-interface):
11350 * textmodes/table.el (table-cell): Use new-style face specs, and
11351 don't use the old :bold and :italic attributes.
11352
11353 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
11354 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
11355 (ebrowse-member-class, ebrowse-progress): Likewise.
11356 (ebrowse-tree-mark-face, ebrowse-root-class-face)
11357 (ebrowse-file-name-face, ebrowse-default-face)
11358 (ebrowse-member-attribute-face, ebrowse-member-class-face)
11359 (ebrowse-progress-face): Remove obsolete faces.
11360
11361 * progmodes/flymake.el (flymake-errline, flymake-warnline):
11362 Inherit from error and warning faces respectively.
11363
11364 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
11365 Likewise.
11366 (flyspell-incorrect-face, flyspell-duplicate-face):
11367 Remove obsolete aliases.
11368
11369 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
11370
11371 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
11372 Avoid infloop.
11373
11374 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
11375
11376 * startup.el (argv, argi): Make lexically scoped.
11377 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
11378 * emacs-lisp/cl-macs.el: Use lexical-binding.
11379 Rename cl-bind-* to cl--bind-*.
11380 * files.el: Don't require `cl' since it doesn't use it.
11381 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
11382
11383 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
11384
11385 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
11386 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
11387 instead of calling external sort utility.
11388 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
11389
11390 2012-06-08 Eli Zaretskii <eliz@gnu.org>
11391
11392 * descr-text.el (describe-char): Mention how to insert the
11393 character, if the current input method doesn't support it.
11394 See the discussion in this thread for the details:
11395 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
11396
11397 2012-06-08 Sam Steingold <sds@gnu.org>
11398
11399 * bindings.el (global-map): Bind XF86Forward to next-buffer and
11400 XF86Back to previous-buffer.
11401 (minibuffer-local-map): Bind them to next-history-element and
11402 previous-history-element respectively.
11403 * help-mode.el (help-mode-map): Bind them to help-go-forward and
11404 help-go-back respectively.
11405 * info.el (Info-mode-map): Bind them to Info-history-forward and
11406 Info-history-back respectively.
11407 These are the keys next to Up on the ThinkPad keyboard.
11408
11409 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
11410
11411 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
11412 * emacs-lisp/cl-macs.el: Provide itself.
11413 (cl--labels-convert-cache): New var.
11414 (cl--labels-convert): New function.
11415 (cl-flet, cl-labels): New implementation with new semantics, relying on
11416 lexical-binding.
11417 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
11418 (cl-closure-vars, cl--function-convert-cache)
11419 (cl--function-convert): Move from cl-macs.el.
11420 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
11421 rename by removing the "cl-" prefix.
11422 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
11423
11424 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
11425
11426 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
11427 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
11428 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
11429 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
11430 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
11431 (cl-hash-table-count): Add old compatibility aliases.
11432
11433 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
11434 Use macroexpand-all-environment instead.
11435 (cl--old-macroexpand): New var.
11436 (cl--sm-macroexpand): New function.
11437 (cl-symbol-macrolet): Use it during macro expansion.
11438 (cl--function-convert-cache): New var.
11439 (cl--function-convert): New function, extracted from
11440 cl-macroexpand-all.
11441 (cl-lexical-let): Use it.
11442
11443 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
11444 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
11445 (cl-member): Remove old alias.
11446
11447 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
11448 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
11449 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
11450 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
11451 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
11452 (cl-macroexpand-cmacs): Remove var.
11453 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
11454 Use macroexpand-all instead.
11455
11456 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
11457
11458 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
11459 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
11460 (macroexp-copyable-p): New functions and macros.
11461 * emacs-lisp/edebug.el (edebug-unwrap):
11462 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
11463 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
11464 (pcase--let*): Remove.
11465 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
11466 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
11467 macroexp-const-p instead.
11468 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
11469
11470 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
11471 instead of "cl-" for internal definitions. Use macroexp-const-p.
11472 (cl-old-bc-file-form): Remove var.
11473 (cl-const-exprs-p): Remove fun.
11474 (cl-labels, cl-macrolet): Use backquote.
11475 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
11476 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
11477 (cl-define-setf-expander): Rename from cl-define-setf-method.
11478 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
11479
11480 * international/mule-cmds.el: Don't require CL.
11481 (view-hello-file): Don't use `letf'.
11482
11483 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
11484
11485 * tmm.el (tmm-prompt): Use string-prefix-p.
11486 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
11487 (tmm-add-prompt): Use minibuffer-completion-help.
11488 (tmm-delete-map): Remove.
11489
11490 * subr.el (kbd): Make it its own function.
11491
11492 2012-06-07 Stefan Merten <smerten@oekonux.de>
11493
11494 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
11495 Silence compiler warnings. Fix versions.
11496 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
11497 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
11498 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
11499 (rst-package-emacs-version-alist): Correct Emacs version to
11500 represent major merge with upstream.
11501 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
11502
11503 2012-06-06 Glenn Morris <rgm@gnu.org>
11504
11505 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
11506 Only print environment variables if set.
11507
11508 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
11509
11510 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
11511 (macroexp--cons): Rename from maybe-cons.
11512 (macroexp--accumulate): Rename from macroexp-accumulate.
11513 (macroexp--all-forms): Rename from macroexpand-all-forms.
11514 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
11515 (macroexp--expand-all): Rename from macroexpand-all-1.
11516
11517 2012-06-06 Sam Steingold <sds@gnu.org>
11518
11519 * calendar/calendar.el (calendar-in-read-only-buffer):
11520 Call `special-mode' to enable the standard read-only keybindings.
11521
11522 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
11523
11524 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
11525 with "loading" messages (bug#11635).
11526
11527 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
11528
11529 * files.el (enable-remote-dir-locals): New option.
11530 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
11531
11532 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
11533 Ensure, that the temp directory is local.
11534
11535 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
11536 `temporary-file-directory'.
11537
11538 * progmodes/python.el (python-send-region): Ensure, that the
11539 temporary file is created also in the remote case.
11540
11541 2012-06-06 Glenn Morris <rgm@gnu.org>
11542
11543 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
11544 (vc-rcs-update-changelog): Use it.
11545
11546 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
11547
11548 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
11549 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
11550 (vc-sccs-diff): Replace use of the external vcdiff script.
11551
11552 2012-06-05 Glenn Morris <rgm@gnu.org>
11553
11554 * ledit.el: Move to obsolete/.
11555
11556 2012-06-05 Sam Steingold <sds@gnu.org>
11557
11558 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
11559 patch (Bug#11140).
11560
11561 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11562
11563 * emacs-lisp/cust-print.el: Move to obsolete.
11564
11565 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
11566 compiler-macro expansion.
11567
11568 Add native compiler-macro support.
11569 * emacs-lisp/macroexp.el (macroexpand-all-1):
11570 Support compiler-macros directly. Properly follow aliases and apply
11571 the compiler macros more thoroughly.
11572 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
11573 macroexpand now properly follows aliases.
11574 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
11575 (cl-compiler-macroexpand): Use new prop.
11576 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
11577
11578 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
11579
11580 2012-06-05 Martin Rudalics <rudalics@gmx.at>
11581
11582 * window.el (get-lru-window, get-mru-window, get-largest-window):
11583 New argument NOT-SELECTED to avoid picking the selected window.
11584 (window--display-buffer-1, window--display-buffer-2): Replace by
11585 new function window--display-buffer
11586 (display-buffer-same-window, display-buffer-reuse-window)
11587 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
11588 Use window--display-buffer.
11589 (display-buffer-use-some-window): Remove temporary dedication
11590 hack by calling get-lru-window and get-largest-window with
11591 NOT-SELECTED argument non-nil. Call window--display-buffer.
11592
11593 2012-06-05 Glenn Morris <rgm@gnu.org>
11594
11595 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
11596 Replace external vcdiff script.
11597
11598 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
11599
11600 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
11601
11602 2012-06-04 Chong Yidong <cyd@gnu.org>
11603
11604 * image.el (imagemagick-types-inhibit): Revert last change.
11605 Add INFO and M.
11606 (imagemagick-enabled-types): Remove CIN and EPS*.
11607
11608 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
11609
11610 * emacs-lisp/cl-lib.el: Rename from cl.el.
11611 * emacs-lisp/cl.el: New compatibility file.
11612 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
11613 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
11614 to obey the "cl-" prefix.
11615 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
11616
11617 2012-06-03 Glenn Morris <rgm@gnu.org>
11618
11619 * emacs-lisp/authors.el (authors-aliases): Addition.
11620
11621 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
11622 Fix :version.
11623
11624 2012-06-03 Stefan Merten <smerten@oekonux.de>
11625
11626 * textmodes/rst.el: Add comments.
11627 (rst-transition, rst-adornment): New faces.
11628 (rst-adornment-faces-alist): Make default safe to reevaluate.
11629 Fixes
11630 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
11631 Improve customization tags.
11632 (rst-define-level-faces): Clarify meaning.
11633
11634 2012-06-03 Chong Yidong <cyd@gnu.org>
11635
11636 * progmodes/compile.el (compilation-mode-line-fail)
11637 (compilation-mode-line-run, compilation-mode-line-exit):
11638 New faces.
11639 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
11640
11641 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
11642
11643 * progmodes/which-func.el (which-func-update-ediff-windows):
11644 New function. Use it in ediff-select-hook (Bug#11478).
11645
11646 2012-06-03 Chong Yidong <cyd@gnu.org>
11647
11648 * bindings.el: Remove explicit help text from format-mode-line.
11649 It is now supplied by mode-line-default-help-echo.
11650 (mode-line-front-space, mode-line-end-spaces)
11651 (mode-line-misc-info): New variables.
11652 (mode-line-modes, mode-line-position): Move the default value to
11653 the variable definition.
11654 (mode-line-default-help-echo): New defcustom.
11655 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
11656 (mode-line-modified-help-echo): New functions.
11657 (mode-line-mule-info, mode-line-modified): Use them.
11658 (mode-line-eol-desc, propertized-buffer-identification):
11659 Consistency fixes for help text.
11660 (mode-line-coding-system-map): Allow using mouse-3 to invoke
11661 set-buffer-file-coding-system (Bug#289).
11662 (mode-line-mule-info-help-echo): Update help text.
11663
11664 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
11665
11666 * simple.el (execute-extended-command): Set real-this-command
11667 (bug#11506).
11668
11669 2012-06-02 Chong Yidong <cyd@gnu.org>
11670
11671 Remove incorrect uses of "modeline" in comments, docstrings, and
11672 function/variable names (Bug#10329).
11673
11674 * cus-edit.el (mode-line):
11675 * dframe.el (dframe-mouse-hscroll):
11676 * emacs-lisp/re-builder.el:
11677 * emacs-lisp/easy-mmode.el (define-minor-mode):
11678 * frame.el (set-frame-name):
11679 * help.el (lookup-minor-mode-from-indicator):
11680 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
11681 * progmodes/cc-cmds.el (c-toggle-auto-newline)
11682 (c-toggle-hungry-state):
11683 * progmodes/antlr-mode.el (antlr-language-alist):
11684 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
11685 * progmodes/vhdl-mode.el (vhdl-mode):
11686 * progmodes/which-func.el (which-func, which-func-cleanup-function):
11687 * term/ns-win.el (ns-face-at-pos):
11688 * term/sup-mouse.el (sup-mouse-report):
11689 * textmodes/flyspell.el (flyspell-mode-line-string):
11690 * textmodes/ispell.el (ispell-highlight-face):
11691 * textmodes/reftex-global.el:
11692 * vc/vc-arch.el (vc-arch-mode-line-string):
11693 * vc/vc-cvs.el (vc-cvs-mode-line-string):
11694 * vc/vc-git.el (vc-git-mode-line-string):
11695 * vc/vc-hooks.el (vc-display-status)
11696 (vc-default-mode-line-string):
11697 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
11698
11699 * ansi-color.el (ansi-color-faces-vector): Change default faces.
11700
11701 * dired.el (dired-sort-set-mode-line): Rename from
11702 dired-sort-set-modeline. All callers changed.
11703
11704 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
11705 eshell-status-in-modeline.
11706
11707 * foldout.el (foldout-mode-line-string): Rename from
11708 foldout-modeline-string. All callers changed.
11709 (foldout-update-mode-line): Rename from foldout-update-modeline.
11710
11711 * subr.el (redraw-modeline): Make into obsolete alias.
11712
11713 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
11714 timeclock-modeline-display. Make old name an alias.
11715 (timeclock-update-mode-line): Likewise. All callers changed.
11716 (timeclock-mode-line-display): No need to check before using
11717 add-hook.
11718 (timeclock-relative, timeclock-day-over-hook)
11719 (timeclock-use-elapsed, timeclock-mode-string)
11720 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
11721
11722 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
11723 crisp-mode-modeline-string.
11724
11725 * play/solitaire.el (solitaire-build-mode-line): Rename from
11726 solitaire-build-modeline. All callers changed.
11727
11728 * play/zone.el (zone-hiding-mode-line): Rename from
11729 zone-hiding-modeline. All callers changed.
11730 (zone): Remove unusued `modeline-hidden-level' property.
11731
11732 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
11733 xscheme-modeline-initialize. All callers changed.
11734
11735 * strokes.el (strokes-lighter): Rename from
11736 strokes-modeline-string.
11737
11738 * textmodes/sgml-mode.el (html-face-tag-alist)
11739 (html-tag-face-alist): Use mode-line face instead of obsolete
11740 alias modeline.
11741
11742 2012-06-02 Stefan Merten <smerten@oekonux.de>
11743
11744 * textmodes/rst.el: Always require `cl'.
11745 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
11746
11747 2012-06-02 Chong Yidong <cyd@gnu.org>
11748
11749 * image.el (imagemagick-enabled-types): Rename from
11750 imagemagick-types-enable. Add many more types.
11751 (imagemagick-types-inhibit): Change default to nil.
11752 (imagemagick-filter-types): Caller changed.
11753
11754 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
11755
11756 * emacs-lisp/cl-macs.el: Use backquotes.
11757 (cl-transform-function-property): Use eval-and-compile rather than
11758 abusing `require'.
11759 (defstruct): Use declare-function instead of with-no-warnings.
11760
11761 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
11762 (byte-compile-output-docform): Re-add the print-circle bindings.
11763 (byte-compile-fix-header): Use #$ just because it's shorter.
11764 (byte-compile-output-file-form): Remove defun/defmacro.
11765
11766 2012-06-01 Martin Rudalics <rudalics@gmx.at>
11767
11768 * simple.el (choose-completion): Remove now obsolete binding for
11769 owindow.
11770
11771 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
11772
11773 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
11774 in order to avoid "Stack overflow in regexp matcher".
11775
11776 2012-05-31 Glenn Morris <rgm@gnu.org>
11777
11778 * image.el: For clarity, call imagemagick-register-types at
11779 top-level, rather than relying on a custom :initialize.
11780 (imagemagick-types-enable): New option. (Bug#11557)
11781 (imagemagick-filter-types): New function. (Bug#7406)
11782 (imagemagick-register-types): Use imagemagick-filter-types.
11783 If disabling support, remove elements altogether rather
11784 than using an impossible regexp.
11785 (imagemagick-types-inhibit): Give it the default init function.
11786
11787 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11788
11789 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
11790 Handle arbitrary file name lengths (Bug#11585).
11791
11792 2012-05-31 Martin Rudalics <rudalics@gmx.at>
11793
11794 * desktop.el (desktop-read): Clear previous and next buffers for
11795 all windows and bury *Messages* buffer (bug#11556).
11796
11797 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11798
11799 Add `declare' for `defun'. Align `defmacro's with it.
11800 * emacs-lisp/easy-mmode.el (define-minor-mode)
11801 (define-globalized-minor-mode): Don't autoload the var definitions.
11802 * emacs-lisp/byte-run.el: Use lexical-binding.
11803 (defun-declarations-alist, macro-declarations-alist): New vars.
11804 (defmacro, defun): Use them.
11805 (make-obsolete, define-obsolete-function-alias)
11806 (make-obsolete-variable, define-obsolete-variable-alias):
11807 Use `declare'.
11808 (macro-declaration-function): Mark obsolete.
11809 * emacs-lisp/autoload.el: Use lexical-binding.
11810 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
11811
11812 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11813
11814 * textmodes/ispell.el (ispell-with-no-warnings):
11815 Define as a macro.
11816 (ispell-kill-ispell, ispell-change-dictionary):
11817 Use `called-interactively-p' for Emacs instead of obsolete
11818 `interactive-p'.
11819
11820 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11821
11822 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
11823 (macro-declaration-function): Move var from C code.
11824 (macro-declaration-function): Define function with defalias.
11825 * emacs-lisp/macroexp.el (macroexpand-all-1):
11826 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
11827 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
11828 defun/defmacro any more.
11829 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
11830 Provide fallback for unknown arglist.
11831 (byte-compile-arglist-warn): Change calling convention.
11832 (byte-compile-output-file-form): Move print-vars binding.
11833 (byte-compile-output-docform): Simplify accordingly.
11834 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
11835 (byte-compile-defmacro-declaration): Remove.
11836 (byte-compile-file-form-defmumble): Generalize to defalias.
11837 (byte-compile-output-as-comment): Return byte-positions.
11838 Simplify callers accordingly.
11839 (byte-compile-lambda): Use `assert'.
11840 (byte-compile-defun, byte-compile-defmacro): Remove.
11841 (byte-compile-file-form-defalias):
11842 Use byte-compile-file-form-defmumble.
11843 (byte-compile-defalias-warn): Remove.
11844
11845 2012-05-29 Stefan Merten <smerten@oekonux.de>
11846
11847 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
11848 possible. Fix authors. Improve comments. Improve loading of `cl'.
11849
11850 (rst-mode-abbrev-table): Merge definition.
11851 (rst-mode): Make sure `font-lock-defaults' is buffer local.
11852 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
11853
11854 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
11855
11856 * calendar/icalendar.el
11857 (icalendar-export-region): Export UID properly.
11858
11859 2012-05-29 Leo Liu <sdl.web@gmail.com>
11860 * calendar/icalendar.el (icalendar-import-format):
11861 Add `icalendar-import-format-uid' (Bug#11525).
11862 (icalendar-import-format-uid): New.
11863 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
11864 Export UID.
11865
11866 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
11867
11868 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
11869 different alternative patterns.
11870 (pcase-codegen): Be more careful to preserve identity.
11871 (pcase--u1): Don't forget to mark vars as used.
11872
11873 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
11874 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
11875 (byte-compile-from-buffer): ...rather than here.
11876
11877 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
11878 functions from byte-compile-function-environment.
11879
11880 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
11881
11882 * window.el (window-deletable-p): Avoid deleting the root window
11883 of a frame with an active minibuffer.
11884
11885 2012-05-29 Martin Rudalics <rudalics@gmx.at>
11886
11887 * simple.el (choose-completion): Use quit-window (Bug#11567).
11888
11889 2012-05-29 Chong Yidong <cyd@gnu.org>
11890
11891 * whitespace.el (whitespace-cleanup): Fix usage of
11892 whitespace-empty-at-bob-regexp (Bug#11492).
11893
11894 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11895
11896 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
11897 revert (Bug#11488).
11898
11899 2012-05-29 Juri Linkov <juri@jurta.org>
11900
11901 * isearch.el (isearch-mode-map): Bind `M-s _' to
11902 `isearch-toggle-symbol'. Bind `M-s c' to
11903 `isearch-toggle-case-fold'.
11904 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
11905 (isearch-forward): Add `M-s _' to the docstring.
11906 (isearch-forward-symbol, isearch-toggle-case-fold)
11907 (isearch-symbol-regexp): New functions. (Bug#11381)
11908
11909 2012-05-29 Juri Linkov <juri@jurta.org>
11910
11911 * isearch.el (isearch-word): Add docstring. (Bug#11381)
11912 (isearch-occur, isearch-search-and-update): If `isearch-word' is
11913 a function, call it to get the regexp.
11914 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
11915 property `isearch-message-prefix' instead of the string "word ".
11916 (isearch-search-fun-default): For the case of `isearch-word',
11917 return a lambda that calls re-search-forward/re-search-backward
11918 with a regexp returned by `word-search-regexp' or by the function
11919 in `isearch-word'.
11920
11921 2012-05-29 Juri Linkov <juri@jurta.org>
11922
11923 * isearch.el (isearch-search-fun-default): New function.
11924 (isearch-search-fun): Move default part to the new function
11925 `isearch-search-fun-default'.
11926 (isearch-search-fun-function): Set the default value to
11927 `isearch-search-fun-default'. (Bug#11381)
11928
11929 * comint.el (comint-history-isearch-end):
11930 Use `isearch-search-fun-default'.
11931 (comint-history-isearch-search): Use `isearch-search-fun-default'
11932 and remove spacial case for `isearch-word'.
11933 (comint-history-isearch-wrap): Remove spacial case for
11934 `isearch-word'.
11935
11936 * hexl.el (hexl-isearch-search-function):
11937 Use `isearch-search-fun-default'.
11938
11939 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
11940 Use `word-search-regexp' for `isearch-word'.
11941
11942 * misearch.el (multi-isearch-search-fun):
11943 Use `isearch-search-fun-default'.
11944
11945 * simple.el (minibuffer-history-isearch-search):
11946 Use `isearch-search-fun-default' and remove spacial case for
11947 `isearch-word'.
11948 (minibuffer-history-isearch-wrap): Remove spacial case for
11949 `isearch-word'.
11950
11951 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
11952 Remove spacial case for `isearch-word'.
11953 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
11954
11955 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11956
11957 Decrease XEmacs incompatibilities.
11958 * textmodes/flyspell.el (flyspell-check-pre-word-p):
11959 Use `string-match'.
11960 (flyspell-delete-region-overlays): Use alternative definition for
11961 XEmacs.
11962 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
11963 (flyspell-word): Use `process-kill-without-query' if XEmacs.
11964 (flyspell-mode-on): Use `interactive-p' if XEmacs.
11965 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
11966 `define-obsolete-face-alias' under XEmacs, but old method.
11967
11968 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
11969 `with-no-warnings' definition or Emacs alias.
11970 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
11971 (ispell-word): Do not use `region-p' if XEmacs.
11972
11973 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11974
11975 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
11976 Check for `ispell-dictionary-base-alist' instead of full
11977 `ispell-dictionary-alist'.
11978 (ispell-init-process): Show spellchecker when starting new Ispell
11979 process.
11980
11981 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
11982
11983 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
11984 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
11985
11986 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
11987
11988 * version.el (motif-version-string, gtk-version-string)
11989 (ns-version-string): Declare.
11990
11991 2012-05-27 Juri Linkov <juri@jurta.org>
11992
11993 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
11994 after the `eval-defun-1' specialcaseing
11995 like in `edebug-eval-defun' (bug#10181).
11996
11997 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
11998 like in `eval-defun-1'.
11999
12000 2012-05-27 Eli Zaretskii <eliz@gnu.org>
12001
12002 * mail/sendmail.el (mail-yank-region):
12003 Recognize rmail-yank-current-message in addition to insert-buffer.
12004 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
12005 a *mail* buffer created through rmail-start-mail with sendmail as
12006 mail-user-agent.
12007
12008 2012-05-27 Chong Yidong <cyd@gnu.org>
12009
12010 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
12011 Default to 256 (Bug#11267).
12012
12013 * help.el (describe-mode): Doc fix.
12014
12015 2012-05-26 Glenn Morris <rgm@gnu.org>
12016
12017 * w32-fns.el (w32-init-info): Remove.
12018 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
12019
12020 * info.el (info-initialize): For self-contained NS builds, put the
12021 included info/ directory at the front. (Bug#2791)
12022
12023 * paths.el (Info-default-directory-list): Make it a defcustom,
12024 mainly so that we can use custom-initialize-delay.
12025
12026 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
12027
12028 * subr.el (buffer-has-markers-at): Mark obsolete.
12029
12030 * subr.el (lambda): Use declare.
12031
12032 * emacs-lisp/lisp-mode.el (lambda):
12033 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
12034
12035 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
12036
12037 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
12038
12039 2012-05-26 Glenn Morris <rgm@gnu.org>
12040
12041 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
12042
12043 2012-05-25 Glenn Morris <rgm@gnu.org>
12044
12045 * paths.el: Remove no-byte-compile.
12046 * loadup.el: No need to load paths.el uncompiled.
12047
12048 * image.el (imagemagick-types-inhibit): Doc fix.
12049
12050 * version.el: Remove no-byte-compile and associated formatting.
12051 * loadup.el: No need to load version.el uncompiled. AFAICS, this
12052 is ancient code from when there was an "inc-vers.el".
12053
12054 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
12055
12056 * progmodes/gdb-mi.el: Minor style changes.
12057 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
12058 Turn into minor modes.
12059 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
12060 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
12061 (gdb-shell): Remove unneeded let-binding.
12062 (gdb-get-many-fields): Eliminate O(n²) behavior.
12063
12064 2012-05-25 Eli Zaretskii <eliz@gnu.org>
12065
12066 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
12067 platforms that don't link in fontset.c.
12068
12069 2012-05-25 Juri Linkov <juri@jurta.org>
12070
12071 Use the same diff color scheme as in modern VCSes (bug#10181).
12072
12073 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
12074 to avoid confusion with `diff-added' that now uses green colors.
12075 (diff-removed): Use shades of red.
12076 (diff-added): Use shades of green.
12077 (diff-changed): Leave just the yellow color.
12078 (diff-use-changed-face): New variable.
12079 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
12080 how to highlight context diff changes.
12081 (diff-refine-change): Use shades of yellow.
12082 (diff-refine-removed): New face that uses shades of red.
12083 (diff-refine-added): New face that uses shades of green.
12084 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
12085 `diff-refine-removed' in the call to `smerge-refine-subst'
12086 depending on the value of `diff-use-changed-face'.
12087
12088 * vc/smerge-mode.el (smerge-mine): Use shades of red.
12089 (smerge-other): Use shades of green.
12090 (smerge-base): Use shades of yellow.
12091 (smerge-refined-change): Empty face.
12092 (smerge-refined-removed): New face that uses shades of red.
12093 (smerge-refined-added): New face that uses shades of green.
12094 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
12095 args `props-r' and `props-a', and use them. Doc fix.
12096 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
12097 on its value use different faces `smerge-refined-change',
12098 `smerge-refined-removed', `smerge-refined-added' in the call to
12099 `smerge-refine-subst'.
12100
12101 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
12102 Add face condition `min-colors 88' with shades of red.
12103 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
12104 `min-colors 88' with shades of green.
12105 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
12106 `min-colors 88' with shades of yellow.
12107
12108 2012-05-24 Glenn Morris <rgm@gnu.org>
12109
12110 * paths.el (prune-directory-list, remote-shell-program): Move to...
12111 * files.el (prune-directory-list, remote-shell-program): ...here.
12112 For the latter, delay initialization, prefer ssh, just search PATH.
12113
12114 * paths.el (term-file-prefix): Move to faces.el (the only user).
12115 * faces.el (term-file-prefix): Move here, make it a defcustom.
12116
12117 * paths.el (news-directory, news-path, news-inews-program):
12118 Move to gnus/nnspool.el.
12119
12120 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
12121
12122 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
12123 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
12124 Make the latter a defcustom, with a delayed initialization.
12125
12126 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
12127 These were deleted from Gnus itself late 2010.
12128
12129 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
12130
12131 * progmodes/which-func.el (which-func-ff-hook):
12132 Check against user-error, not error.
12133
12134 * emacs-lisp/edebug.el (top): Do not load or set up loading of
12135 cl-specs.el, which no longer exists.
12136
12137 2012-05-22 Glenn Morris <rgm@gnu.org>
12138
12139 * info.el (info-emacs-bug): New command.
12140 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
12141 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
12142
12143 2012-05-21 Glenn Morris <rgm@gnu.org>
12144
12145 * makefile.w32-in (update-subdirs-SH):
12146 * Makefile.in (update-subdirs): Update for moved update-subdirs.
12147
12148 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
12149
12150 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
12151
12152 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12153 Simplify Maven regexp, and make sure the file can't start with a space
12154 (bug#11517).
12155
12156 2012-05-21 Glenn Morris <rgm@gnu.org>
12157
12158 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
12159 Scrap superfluous subshells.
12160
12161 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
12162
12163 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
12164 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
12165
12166 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
12167
12168 * calc/calc.el (calc-ensure-consistent-units): New variable.
12169
12170 * calc/calc-units.el (math-consistent-units-p)
12171 (math-check-unit-consistency): New functions.
12172 (calc-quick-units, calc-convert-units):
12173 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
12174 is non-nil.
12175 (calc-extract-units): Fix typo.
12176
12177 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
12178
12179 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
12180
12181 * textmodes/flyspell.el: Commenting style, plus code simplifications.
12182 (flyspell-default-deplacement-commands): Don't spell check after
12183 repeated window/frame switches (e.g. triggered by mouse-movement).
12184 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
12185 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
12186 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
12187 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
12188 Remove unused vars.
12189 (flyspell-get-casechars, flyspell-get-not-casechars):
12190 Simplify; Don't bother removing a ] just to add it back.
12191 * textmodes/ispell.el (ispell-program-name): Use executable-find.
12192
12193 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12194
12195 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
12196 New functions.
12197 (math-function-table): Add support for more C functions.
12198
12199 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12200
12201 * textmodes/flyspell.el (flyspell-check-pre-word-p)
12202 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
12203 Protect delay handling for otherchars against empty otherchars.
12204
12205 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
12206
12207 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
12208 their respective macro declarations.
12209 * skeleton.el (define-skeleton):
12210 * progmodes/compile.el (define-compilation-mode):
12211 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
12212 (define-ibuffer-filter):
12213 * emacs-lisp/generic.el (define-generic-mode):
12214 * emacs-lisp/easy-mmode.el (define-minor-mode)
12215 (define-globalized-minor-mode):
12216 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
12217 * emacs-lisp/byte-run.el (defsubst):
12218 * custom.el (deftheme): Add doc-string metadata.
12219
12220 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12221
12222 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
12223
12224 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12225
12226 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
12227
12228 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
12229 * emacs-lisp/cl-macs.el: Idem.
12230 * emacs-lisp/cl-specs.el: Remove.
12231
12232 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12233
12234 Minor renaming of internal CL functions and variables.
12235 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
12236 (cl--position): Rename from cl-position.
12237 (cl--delete-duplicates): Rename from cl-delete-duplicates.
12238 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
12239 (cl--random-state): Rename from *random-state*.
12240
12241 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12242
12243 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
12244 parens around the arg list (bug#11499).
12245
12246 2012-05-17 Juri Linkov <juri@jurta.org>
12247
12248 * isearch.el (word-search-regexp, word-search-backward)
12249 (word-search-forward, word-search-backward-lax)
12250 (word-search-forward-lax): Move functions from search.c
12251 (bug#10145, bug#11381).
12252
12253 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12254
12255 * textmodes/flyspell.el (flyspell-check-pre-word-p)
12256 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
12257 Delay for otherchars as for normal word components.
12258
12259 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
12260
12261 * minibuffer.el (completion--sifn-requote): Fix last change.
12262 (minibuffer-local-must-match-filename-map):
12263 Move define-obsolete-variable-alias before its var.
12264
12265 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
12266
12267 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
12268
12269 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
12270 behavior.
12271 (completion--string-equal-p): New function.
12272 (completion--twq-all): Use it to get better assertion failure data.
12273
12274 Only handle ".." and '..' quoting in shell-mode (bug#11466).
12275 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
12276 (shell--requote-argument): New functions.
12277 (shell-completion-vars): Use them.
12278 (shell--parse-pcomplete-arguments): Rename from
12279 shell-parse-pcomplete-arguments.
12280 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
12281 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
12282 Obey comint-file-name-quote-list.
12283
12284 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
12285 (smie-indent-keyword): Use it.
12286
12287 2012-05-14 Stefan Merten <smerten@oekonux.de>
12288
12289 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
12290
12291 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
12292
12293 * net/rlogin.el (rlogin-mode-map): Fix last change.
12294
12295 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
12296
12297 * mail/smtpmail.el (smtpmail-send-command): Send the command and
12298 the following \r\n using a single `process-send-string', since the
12299 Lotus SMTP server refuses to accept any commands if they are sent
12300 with two `process-send-string's (Bug#11444).
12301
12302 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
12303
12304 * shell.el (shell-parse-pcomplete-arguments):
12305 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
12306
12307 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
12308
12309 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
12310 (image-transform-scale, image-transform-right-angle-fudge): New vars.
12311 (image-transform-width, image-transform-fit-width): New functions.
12312 (image-transform-properties): Use them.
12313 (image-transform-check-size): New function.
12314 (image-toggle-display-image): Use it (for testing).
12315 (image-transform-set-rotation): Reduce angle mod 360.
12316 Delete obsolete comment.
12317
12318 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
12319
12320 * image-mode.el: Fix scaling (bug#11399).
12321 (image-transform-resize): Doc fix.
12322 (image-transform-properties): Default scale is 1 and height should
12323 be an integer.
12324
12325 2012-05-13 Johan Bockgård <bojohan@gnu.org>
12326
12327 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
12328 than hard-coding `car', to fix misbehavior when moving forward.
12329
12330 2012-05-13 Chong Yidong <cyd@gnu.org>
12331
12332 * emacs-lisp/tabulated-list.el (tabulated-list-format)
12333 (tabulated-list-entries, tabulated-list-padding)
12334 (tabulated-list-sort-key): Make permanent-local.
12335
12336 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
12337 (electric-buffer-list): Put electric buffer menu
12338 command descriptions in this docstring, instead of the docstring
12339 of electric-buffer-menu-mode. Code cleanups.
12340 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
12341 Electric-buffer-menu-mode.
12342 (electric-buffer-update-highlight): Minor code cleanup.
12343
12344 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
12345
12346 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
12347 (Bug#11447)
12348
12349 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
12350
12351 Move define-obsolete-variable-alias before the var's definition.
12352 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
12353 * tooltip.el (tooltip-hook):
12354 * textmodes/reftex-toc.el (reftex-toc-map):
12355 * textmodes/reftex-sel.el (reftex-select-label-map)
12356 (reftex-select-bib-map):
12357 * textmodes/reftex-index.el (reftex-index-map)
12358 (reftex-index-phrases-map):
12359 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
12360 * progmodes/meta-mode.el (meta-mode-map):
12361 * novice.el (disabled-command-hook):
12362 * loadhist.el (unload-hook-features-list):
12363 * frame.el (blink-cursor):
12364 * files.el (find-file-not-found-hooks, write-file-hooks)
12365 (write-contents-hooks):
12366 * emulation/tpu-edt.el (GOLD-map):
12367 * emacs-lock.el (emacs-lock-from-exiting):
12368 * emacs-lisp/generic.el (generic-font-lock-defaults):
12369 * emacs-lisp/chart.el (chart-map):
12370 * dos-fns.el (register-name-alist):
12371 * dired-x.el (dired-omit-files-p):
12372 * desktop.el (desktop-enable):
12373 * cus-edit.el (custom-mode-hook):
12374 * buff-menu.el (buffer-menu-mode-hook):
12375 * bookmark.el (bookmark-read-annotation-text-func)
12376 (bookmark-exit-hooks):
12377 * allout.el (allout-mode-deactivate-hook)
12378 (allout-exposure-change-hook, allout-structure-added-hook)
12379 (allout-structure-deleted-hook, allout-structure-shifted-hook):
12380 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
12381 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
12382 comes before the corresponding variable's definition.
12383
12384 2012-05-12 Chong Yidong <cyd@gnu.org>
12385
12386 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
12387 (Buffer-menu-mouse-select): Restore function (Bug#11459).
12388 (Buffer-menu-mode-map): Bind it.
12389 (Buffer-menu--pretty-name): Add a mouse-face property.
12390
12391 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
12392
12393 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
12394 (prolog-upper-case-string, prolog-lower-case-string)
12395 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
12396 (prolog-use-smie, prolog-smie-grammar): New vars.
12397 (prolog-smie-forward-token, prolog-smie-backward-token)
12398 (prolog-smie-rules): New funs.
12399 (prolog-comment-indent): Remove.
12400 (prolog-mode-variables): Use default comment indentation instead.
12401 Setup SMIE.
12402 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
12403 (prolog-mode): Don't call them any more.
12404 (prolog-electric-colon, prolog-electric-dash)
12405 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
12406
12407 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
12408
12409 * minibuffer.el (completion--twq-all): Again, allow case differences.
12410
12411 * term.el: Move keymap initialization code to be more idiomatic.
12412 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
12413 (term-terminal-menu): Move initialization into declaration.
12414 (term-escape-char): Let the user set it in her .emacs.
12415
12416 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
12417 Provide SMIE-based indentation (not enabled by default yet).
12418 (sh-mode-map): Don't bind electric keys.
12419 Use electric-pair-mode instead of skeleton-pair.
12420 (sh-assignment-regexp): Fit within 80 columns.
12421 (sh-indent-supported): Specify actual shell name instead of boolean.
12422 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
12423 (sh-maybe-here-document): Use it. Make obsolete.
12424 (sh-electric-here-document-mode) New minor mode.
12425 (sh-mode): Use it. Don't set sh-indent-supported-here here.
12426 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
12427 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
12428 (sh-smie-rc-grammar, sh-use-smie): New vars.
12429 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
12430 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
12431 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
12432 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
12433 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
12434 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
12435 (sh-set-shell): Use smie-setup if requested.
12436
12437 * term.el (term-set-escape-char): Properly set term-escape-char.
12438 See http://stackoverflow.com/questions/10524656.
12439
12440 2012-05-10 Chong Yidong <cyd@gnu.org>
12441
12442 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
12443 Use url-generic-parse-url, and handle host names and Windows
12444 filenames properly.
12445 (ffap-url-unwrap-remote): Use url-generic-parse-url.
12446 (ffap-url-unwrap-remote): Accept list values, specifying a list of
12447 URL schemes to work on.
12448 (ffap--toggle-read-only): New function.
12449 (ffap-read-only, ffap-read-only-other-window)
12450 (ffap-read-only-other-frame): Use it.
12451 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
12452 necessary for ffap-url-unwrap-remote.
12453
12454 2012-05-10 Dave Abrahams <dave@boostpro.com>
12455
12456 * cus-start.el (create-lockfiles): Add it.
12457
12458 2012-05-09 Chong Yidong <cyd@gnu.org>
12459
12460 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
12461 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
12462
12463 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
12464
12465 * shell.el (shell-completion-vars): Fix last change (bug#11348).
12466
12467 2012-05-09 Chong Yidong <cyd@gnu.org>
12468
12469 * ansi-color.el (ansi-color-process-output): Check for validity of
12470 comint-last-output-start before using it. This avoids a bad
12471 interaction with gdb-mi's input/output buffer.
12472
12473 2012-05-09 Glenn Morris <rgm@gnu.org>
12474
12475 * files.el (dir-locals-read-from-file):
12476 Mention dir-locals in any error message.
12477
12478 2012-05-09 Chong Yidong <cyd@gnu.org>
12479
12480 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
12481 package (Bug#11410).
12482
12483 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
12484 variables into description.
12485
12486 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
12487
12488 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
12489 shell-delimiter-argument-list (bug#11348).
12490 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
12491
12492 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
12493
12494 * textmodes/rst.el: Silence byte-compiler warnings.
12495 (rst-re-alist, rst-reset-section-caches): Move around.
12496 (rst-re): Use `characterp', not `char-valid-p'.
12497 (font-lock-beg, font-lock-end): Declare.
12498
12499 * progmodes/idlw-shell.el (specs): Remove reference to deleted
12500 variable `idlwave-shell-activate-alt-keybindings' and simplify.
12501
12502 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
12503
12504 2012-05-08 Glenn Morris <rgm@gnu.org>
12505
12506 * files.el (auto-mode-alist): Treat ".make" like ".mk".
12507
12508 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12509
12510 * vc/log-edit.el: Add GNU coding standards highlighting.
12511 (log-edit-font-lock-gnu-style)
12512 (log-edit-font-lock-gnu-keywords): New vars.
12513 (log-edit-font-lock-keywords): New fun.
12514 (log-edit-mode): Don't fold case in font-lock.
12515 (log-edit-font-lock-keywords): Do not assume case-folding.
12516
12517 * imenu.el: Misc cleanup. Make docstrings out of comments.
12518 Use lexical-binding.
12519 (imenu--index-alist, imenu--last-menubar-index-alist)
12520 (imenu-menubar-modified-tick): Use defvar-local.
12521 (imenu--split-menu): Remove unused var.
12522 (imenu--cleanup-seen): Declare as global.
12523 (imenu--cleanup): Use dolist.
12524
12525 * subr.el (defvar-local): Add debug spec and doc-string position.
12526
12527 2012-05-08 Glenn Morris <rgm@gnu.org>
12528
12529 * language/burmese.el, language/cham.el, language/czech.el:
12530 * language/english.el, language/georgian.el, language/greek.el:
12531 * language/japanese.el, language/khmer.el, language/korean.el:
12532 * language/lao.el, language/misc-lang.el, language/romanian.el:
12533 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
12534 * language/thai.el, language/utf-8-lang.el:
12535 Remove no-byte-compile setting.
12536
12537 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
12538
12539 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
12540
12541 * progmodes/make-mode.el (makefile-browse):
12542 Remove unnecessary interactive. (Bug#11324)
12543
12544 2012-05-07 Glenn Morris <rgm@gnu.org>
12545
12546 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
12547
12548 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
12549
12550 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
12551
12552 * loadup.el: Preload newcomment.el.
12553 * newcomment.el: Move autoload-only code to toplevel.
12554
12555 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
12556 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
12557 Handle new :right-align column property.
12558 (tabulated-list-print-col): Idem, plus use `display' text-property to
12559 try and preserve alignment for variable pitch fonts.
12560
12561 2012-05-07 Chong Yidong <cyd@gnu.org>
12562
12563 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
12564 (tabulated-list-use-header-line): New var.
12565 (tabulated-list-init-header): Use it.
12566 (tabulated-list-print-fake-header): New function.
12567 (tabulated-list-print): Use it.
12568 (tabulated-list-sort-button-map): Add non-header-line commands.
12569 (tabulated-list-init-header): Add column name property to basic
12570 labels as well.
12571 (tabulated-list-col-sort): Handle non-header-line button case.
12572 (tabulated-list--sort-by-column-name): Fix a corner case.
12573
12574 * buff-menu.el (list-buffers--refresh):
12575 Handle Buffer-menu-use-header-line.
12576
12577 2012-05-06 Chong Yidong <cyd@gnu.org>
12578
12579 * buff-menu.el: Convert to Tabulated List mode.
12580 (Buffer-menu-buffer+size-width): Make obsolete.
12581 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
12582 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
12583 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
12584 documentation into docstring of buffer-menu.
12585 (Buffer-menu-toggle-files-only): Add an informative message.
12586 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
12587 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
12588 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
12589 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
12590 (Buffer-menu-execute, Buffer-menu-select)
12591 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
12592 (Buffer-menu-bury): Use Tabulated List machinery.
12593 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
12594 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
12595 Delete.
12596 (list-buffers--refresh): New function.
12597 (list-buffers-noselect): Use it.
12598 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
12599 (Buffer-menu--pretty-file-name): New helper functions.
12600
12601 * loadup.el: Preload tabulated-list.
12602
12603 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
12604 tabulated-list-sort-column.
12605 (tabulated-list-init-header): Add the initial aligning space even
12606 if tabulated-list-padding is zero.
12607
12608 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
12609
12610 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
12611 whose cdr is not a cons cell correctly (bug#11038).
12612
12613 2012-05-06 Chong Yidong <cyd@gnu.org>
12614
12615 * emacs-lisp/tabulated-list.el (tabulated-list-format):
12616 Accept additional plist in column descriptors.
12617 (tabulated-list-init-header): Obey it.
12618 (tabulated-list-get-entry): New function.
12619 (tabulated-list-put-tag): Use it. Use string-width instead of
12620 length.
12621 (tabulated-list--column-number): New function.
12622 (tabulated-list-print): Use it.
12623 (tabulated-list-print-col): New function.
12624 Set `tabulated-list-column-name' property on each column's text.
12625 (tabulated-list-print-entry): Use it.
12626 (tabulated-list-delete-entry, tabulated-list-set-col):
12627 New functions.
12628 (tabulated-list-sort-column): New command (Bug#11337).
12629
12630 * buff-menu.el (list-buffers): Move C-x C-b binding from
12631 buff-menu.el to bindings.el.
12632
12633 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
12634 :advertised-binding feature.
12635
12636 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
12637
12638 * progmodes/compile.el (compilation-internal-error-properties):
12639 Calculate start position correctly when end-col is set but
12640 end-line is not (Bug#11382).
12641
12642 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
12643
12644 * man.el (Man-unindent): Use text-property-default-nonsticky to
12645 prevent untabify from inheriting face properties (Bug#11408).
12646
12647 2012-05-05 Stefan Merten <smerten@oekonux.de>
12648
12649 * textmodes/rst.el: Major merge with upstream development up to
12650 Docutils SVN r7399 / rst.el V1.2.1.
12651
12652 Clarify maintainership and authors.
12653
12654 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
12655 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
12656 (rst-official-version, rst-official-cvs-rev, rst-version)
12657 (rst-package-emacs-version-alist): New functions and variables
12658 for version information.
12659
12660 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
12661 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
12662 (rst-mode-syntax-table, rst-mode): New and corrected functions
12663 and variables representing reStructuredText features.
12664
12665 (rst-re): New function for reStructuredText regexes. Use in
12666 many places.
12667
12668 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
12669 (rst-mode-map): Rebind keys.
12670
12671 (rst-mode-lazy, rst-font-lock-keywords)
12672 (rst-font-lock-extend-region)
12673 (rst-font-lock-extend-region-internal)
12674 (rst-font-lock-extend-region-extend)
12675 (rst-font-lock-find-unindented-line-limit)
12676 (rst-font-lock-find-unindented-line-match)
12677 (rst-adornment-level, rst-font-lock-adornment-level)
12678 (rst-font-lock-adornment-match)
12679 (rst-font-lock-handle-adornment-pre-match-form)
12680 (rst-font-lock-handle-adornment-matcher): Major revision of
12681 font-locking. Integrate with other code. Use `jit-lock-mode'.
12682
12683 (rst-preferred-adornments, rst-adjust-hook)
12684 (rst-new-adornment-down, rst-preferred-bullets)
12685 (rst-preferred-bullets, rst-indent, rst-indent-width)
12686 (rst-indent-field, rst-indent-literal-normal)
12687 (rst-indent-literal-minimized, rst-indent-comment): Change,
12688 extend and improve customization.
12689
12690 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
12691 (rst-normalize-cursor-position, rst-get-decoration)
12692 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
12693 (rst-rstrip, rst-toc-insert-find-delete-contents)
12694 (rst-shift-fill-region, rst-compute-bullet-tabs)
12695 (rst-debug-print-tabs, rst-debug-mark-found)
12696 (rst-shift-region-guts, rst-shift-region-right)
12697 (rst-shift-region-left, rst-use-char-classes)
12698 (rst-font-lock-keywords-function)
12699 (rst-font-lock-indentation-point)
12700 (rst-font-lock-find-unindented-line-begin)
12701 (rst-font-lock-find-unindented-line-end)
12702 (rst-font-lock-find-unindented-line)
12703 (rst-font-lock-adornment-point, rst-font-lock-level)
12704 (rst-adornment-level-alist): Remove functions and variables.
12705
12706 (rst-compare-adornments, rst-get-adornment-match)
12707 (rst-suggest-new-adornment, rst-get-adornments-around)
12708 (rst-adornment-complete-p, rst-get-next-adornment)
12709 (rst-adjust-adornment, rst-display-adornments-hierarchy)
12710 (rst-straighten-adornments): Standardize function names to
12711 use "adornment" instead of "decoration". Correct callers.
12712 Similar standardizing in many places.
12713
12714 (rst-update-section, rst-adjust, rst-promote-region)
12715 (rst-enumerate-region, rst-bullet-list-region)
12716 (rst-repeat-last-character): Correct use of `interactive'.
12717
12718 (rst-classify-adornment, rst-find-all-adornments)
12719 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
12720 (rst-find-leftmost-column, rst-repeat-last-character):
12721 Refactor functions.
12722
12723 (rst-find-title-line, rst-reset-section-caches)
12724 (rst-get-adornments-around, rst-adjust-adornment-work)
12725 (rst-arabic-to-roman, rst-roman-to-arabic)
12726 (rst-insert-list-pos, rst-insert-list-new-item)
12727 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
12728 New functions.
12729
12730 (rst-all-sections, rst-section-hierarchy)
12731 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
12732 New variables.
12733
12734 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
12735 configuration instead of only buffer. Change where necessary.
12736
12737 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
12738 (rst-shift-region, rst-adaptive-fill): New functions for
12739 indentation and filling.
12740
12741 (rst-comment-line-break, rst-comment-indent)
12742 (rst-comment-insert-comment, rst-comment-region)
12743 (rst-uncomment-region): New functions for handling comments.
12744
12745 (rst-compile): Quote shell arguments.
12746
12747 (rst-compile-pdf-preview, rst-compile-slides-preview):
12748 Delete temporary files after use.
12749
12750 2012-05-05 Glenn Morris <rgm@gnu.org>
12751
12752 * calendar/cal-html.el: Optionally include holidays in the output.
12753 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
12754 (cal-html-holidays): New option.
12755 (cal-html-css-default): Add holiday entry.
12756 (holiday-in-range): Autoload it.
12757 (cal-html-htmlify-entry): Add optional class argument.
12758 (cal-html-htmlify-list): Add optional holidays argument.
12759 (cal-html-insert-agenda-days): Include holidays in the output.
12760 (cal-html-one-month): Maybe include holidays.
12761
12762 * calendar/holidays.el (holiday-in-range):
12763 Move here from cal-tex-list-holidays.
12764 * calendar/cal-tex.el (cal-tex-list-holidays):
12765 Make it an obsolete alias for holiday-in-range. Update all callers.
12766
12767 2012-05-05 Chong Yidong <cyd@gnu.org>
12768
12769 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
12770 Nextstep.
12771
12772 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
12773
12774 * files.el (file-auto-mode-skip): New var.
12775 (set-auto-mode-1): Use it.
12776
12777 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
12778
12779 * repeat.el: Use lexical-binding.
12780 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
12781 (repeat-undo-count): Remove.
12782 (repeat):
12783 * progmodes/octave-mod.el (octave-abbrev-start):
12784 * progmodes/f90.el (f90-abbrev-start):
12785 * face-remap.el (text-scale-adjust):
12786 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
12787
12788 * emacs-lisp/pcase.el (pcase--let*): New function.
12789 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
12790 a bit more.
12791 (pcase--split-pred): Be more clever about ruling out overlap between
12792 a predicate and some constant pattern.
12793 (pcase--q1): Use `null' instead of (eq foo nil).
12794
12795 * subr.el (setq-local, defvar-local): New macros.
12796 (kbd): Redefine as an alias.
12797 (with-selected-window): Leave unrelated frames alone.
12798 (set-temporary-overlay-map): New function.
12799
12800 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
12801
12802 * subr.el (user-error): New function.
12803 * window.el (switch-to-buffer):
12804 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
12805 (smerge-match-conflict):
12806 * simple.el (previous-matching-history-element)
12807 (next-matching-history-element, goto-history-element, undo-more)
12808 (undo-start):
12809 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
12810 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
12811 (next-file, tags-loop-scan, list-tags, complete-tag):
12812 * progmodes/compile.el (compilation-loop):
12813 * mouse.el (mouse-minibuffer-check):
12814 * man.el (Man-bgproc-sentinel, Man-goto-page):
12815 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
12816 (Info-history-forward, Info-follow-reference, Info-menu)
12817 (Info-extract-menu-item, Info-extract-menu-counting)
12818 (Info-forward-node, Info-backward-node, Info-next-menu-item)
12819 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
12820 (Info-next-reference, Info-prev-reference, Info-index)
12821 (Info-index-next, Info-follow-nearest-node)
12822 (Info-copy-current-node-name):
12823 * imenu.el (imenu--make-index-alist)
12824 (imenu-default-create-index-function, imenu-add-to-menubar):
12825 * files.el (basic-save-buffer, recover-file):
12826 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
12827 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
12828 (checkdoc-message-text, checkdoc-defun):
12829 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
12830 * cus-edit.el (customize-changed-options, customize-rogue)
12831 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
12832 (custom-variable-mark-to-reset-standard)
12833 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
12834 (custom-file):
12835 * completion.el (check-completion-length):
12836 * comint.el (comint-search-arg)
12837 (comint-previous-matching-input-string-position)
12838 (comint-previous-matching-input)
12839 (comint-replace-by-expanded-history-before-point, comint-send-input)
12840 (comint-copy-old-input, comint-backward-matching-input)
12841 (comint-goto-process-mark, comint-set-process-mark):
12842 * calendar/calendar.el (calendar-cursor-to-date): Use it.
12843 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
12844
12845 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
12846
12847 * dabbrev.el (dabbrev--ignore-case-p): New function.
12848 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
12849 Use it.
12850
12851 * files.el (automount-dir-prefix): Mark as obsolete.
12852
12853 2012-05-04 Glenn Morris <rgm@gnu.org>
12854
12855 * patcomp.el, play/bruce.el: Move to obsolete/.
12856
12857 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
12858
12859 Fix minor Y10k bugs.
12860 * arc-mode.el (archive-unixdate):
12861 * autoinsert.el (auto-insert-alist):
12862 * calc/calc-forms.el (math-this-year):
12863 * emacs-lisp/copyright.el (copyright-current-year)
12864 (copyright-update-year, copyright):
12865 * tar-mode.el (tar-clip-time-string):
12866 * time.el (display-time-update):
12867 Don't assume years have 4 digits.
12868
12869 2012-05-04 Chong Yidong <cyd@gnu.org>
12870
12871 * dos-w32.el (file-name-buffer-file-type-alist)
12872 (direct-print-region-use-command-dot-com):
12873 * ffap.el (ffap-menu-regexp):
12874 * find-file.el (ff-special-constructs):
12875 * follow.el (follow-debug):
12876 * forms.el (forms--debug):
12877 * iswitchb.el (iswitchb-all-frames):
12878 * ido.el (ido-all-frames):
12879 * emacs-lisp/timer.el (timer-max-repeats):
12880 * mail/feedmail.el (feedmail-mail-send-hook)
12881 (feedmail-mail-send-hook-queued):
12882 * mail/footnote.el (footnote-signature-separator):
12883 * mail/mailabbrev.el (mail-alias-separator-string)
12884 (mail-abbrev-mode-regexp):
12885 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
12886 * progmodes/idlwave.el (idlwave-libinfo-file)
12887 (idlwave-default-completion-case-is-down)
12888 (idlwave-library-routines): Convert defvars to defcustoms.
12889
12890 * mail/rmail.el (rmail-decode-mime-charset):
12891 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
12892 (idlwave-shell-fix-inserted-breaks)
12893 (idlwave-shell-activate-alt-keybindings)
12894 (idlwave-shell-use-breakpoint-glyph):
12895 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
12896
12897 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
12898
12899 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
12900
12901 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
12902
12903 * progmodes/verilog-mode.el (font-lock-keywords):
12904 Fix mis-highligting auto. Reported by Craig Barner.
12905 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
12906 defines from global name space. Reported by Dan Dever.
12907 (verilog-auto-reset, verilog-auto-reset-widths)
12908 (verilog-auto-tieoff): Support using unbased numbers for
12909 AUTORESET and AUTOTIEOFF.
12910 (verilog-submit-bug-report): Update variable list.
12911 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
12912 parenthesis from not matching. Reported by Michael Rytting.
12913 (verilog-auto-template-lint): Fix hash error when linting modules
12914 with no used templates.
12915 (verilog-warn, verilog-warn-error)
12916 (verilog-warn-fatal): When non-interactive report multiple
12917 warnings before exiting. Suggested by Brad Dobbie.
12918 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
12919 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
12920 to report unused template errors. Reported by Brad Dobbie.
12921 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
12922 nets, bug438. Reported by Vns Blore.
12923 (verilog-auto-inout-module, verilog-auto-reg)
12924 (verilog-read-decls, verilog-read-sub-decls-sig)
12925 (verilog-signals-edit-wire-reg, verilog-signals-with):
12926 Fix passing of Verilog data types in ANSI input/output ports
12927 such as "output logic" into the AUTOs. Special case "wire" and
12928 "reg" for backwards compatibility presuming Verilog 2001.
12929 (verilog-auto-ascii-enum): Add "auto enum" as alias.
12930 (verilog-preprocess): Fix replication of preprocess output.
12931 Reported by Brad Dobbie.
12932 (verilog-auto-inst-interfaced-ports):
12933 Create verilog-auto-inst-interfaced-ports, bug429.
12934 Reported by Julian Gorfajn.
12935 (verilog-after-save-font-hook)
12936 (verilog-before-save-font-hook): New variable.
12937 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
12938 (verilog-save-font-mods): Wrap disabling fontification, reported
12939 by David Rogoff.
12940 (verilog-do-indent, verilog-pretty-declarations-auto)
12941 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
12942 Reported by Pierre-David Pfister.
12943 (verilog-set-auto-endcomments): Fix endtask auto comments outside
12944 of class declarations, bug292. Reported by Kevin Heilman.
12945 (verilog-read-decls): Fix 'parameter type' not appearing in
12946 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
12947 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
12948 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
12949 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
12950 Reported by David Kravitz.
12951
12952 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
12953
12954 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
12955 assignment with tests in ifs and for loops.
12956 (verilog-extended-complete-re, verilog-complete-reg): Change so
12957 that DPI inport functions don't look like fuction declarations.
12958 (verilog-pretty-expr): Don't line up assignment
12959 operations to the test and increment in if and for loops
12960 (verilog-extended-complete-re, verilog-complete-reg): Change so
12961 that DPI inport functions don't look like fuction declarations.
12962
12963 2012-05-03 Kenichi Handa <handa@m17n.org>
12964
12965 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
12966 decoding, and show a warning message without signaling an error
12967 (Bug#11282).
12968
12969 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
12970
12971 * emacs-lisp/bytecomp.el
12972 (byte-compile-file-form-custom-declare-variable): Compile all elements,
12973 since cconv.el might have introduced :fun-body, internal-make-closure,
12974 and friends for bytecomp to handle (bug#11391).
12975 * custom.el (defcustom): Avoid ((λ ..) ..).
12976
12977 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
12978
12979 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
12980
12981 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
12982
12983 * notifications.el (dbus-debug):
12984 * term/linux.el (gpm-mouse-enable):
12985 * term/screen.el (xterm-register-default-colors): Declare.
12986
12987 2012-05-02 Chong Yidong <cyd@gnu.org>
12988
12989 * cus-start.el (gc-cons-percentage, exec-suffixes)
12990 (dos-display-scancodes, dos-hyper-key, dos-super-key)
12991 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
12992 (make-cursor-line-fully-visible, void-text-area-pointer)
12993 (font-list-limit): Add customization data.
12994
12995 * allout.el (allout-exposure-change-functions)
12996 (allout-structure-added-functions)
12997 (allout-structure-deleted-functions)
12998 (allout-structure-shifted-functions): Rename abnormal hooks from
12999 *-hook, and convert to defcustoms.
13000 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
13001 Convert to defcustoms.
13002 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
13003
13004 * allout-widgets.el: Hook callers changed.
13005
13006 2012-05-02 Eli Zaretskii <eliz@gnu.org>
13007
13008 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
13009 the yanked message in preference to the default value of
13010 buffer-file-coding-system.
13011
13012 2012-05-02 Martin Rudalics <rudalics@gmx.at>
13013
13014 * window.el (display-buffer--action-function-custom-type):
13015 Fix entry.
13016
13017 2012-05-02 Alan Mackenzie <acm@muc.de>
13018
13019 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
13020
13021 2012-05-01 Glenn Morris <rgm@gnu.org>
13022
13023 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
13024
13025 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
13026
13027 * cus-edit.el (custom-variable-documentation): Simplify with format.
13028
13029 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
13030 Stefan Monnier <monnier@iro.umontreal.ca>
13031
13032 * simple.el (suggest-key-bindings, execute-extended-command):
13033 Move from keyboard.c.
13034
13035 2012-05-01 Chong Yidong <cyd@gnu.org>
13036
13037 * follow.el: Eliminate advice.
13038 (set-process-filter, process-filter, sit-for): Advice deleted.
13039 (follow-mode-off-hook): Obsolete hook removed.
13040 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
13041 Vars deleted.
13042 (follow-auto): Use a :set function.
13043 (follow-mode): Rewritten. Don't advise process filters.
13044 (follow-switch-to-current-buffer-all, follow-scroll-up)
13045 (follow-scroll-down): Assume follow-mode is bound.
13046 (follow-comint-scroll-to-bottom)
13047 (follow-align-compilation-windows): New functions.
13048 (follow--window-sorter): New function.
13049 (follow-all-followers): Use it to explicitly sort windows by their
13050 positions; don't make assumptions about next-window order.
13051 (follow-windows-start-end, follow-delete-other-windows-and-split)
13052 (follow-calc-win-start): Doc fix.
13053 (follow-windows-aligned-p, follow-select-if-visible): Don't call
13054 vertical-motion unnecessarily.
13055 (follow-adjust-window): New function.
13056 (follow-post-command-hook): Use it.
13057 (follow-call-set-process-filter, follow-call-process-filter)
13058 (follow-intercept-process-output, follow-tidy-process-filter-alist)
13059 (follow-stop-intercept-process-output, follow-generic-filter):
13060 Functions deleted.
13061 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
13062 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
13063 New functions, replacing advice on scroll-bar-* commands.
13064 (follow-mwheel-scroll): New function (Bug#4112).
13065
13066 * comint.el (comint-adjust-point): New function.
13067 (comint-postoutput-scroll-to-bottom): Use it.
13068 Call follow-comint-scroll-to-bottom for Follow mode buffers.
13069
13070 2012-05-01 Glenn Morris <rgm@gnu.org>
13071
13072 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
13073 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
13074 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
13075 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
13076 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
13077 Remove no-byte-compile setting.
13078
13079 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
13080
13081 * minibuffer.el (completion-table-with-quoting): Fix compatibility
13082 all-completions code to not return a number in the last cdr.
13083
13084 2012-04-30 Leo Liu <sdl.web@gmail.com>
13085
13086 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
13087 read-only error.
13088
13089 2012-04-29 Chong Yidong <cyd@gnu.org>
13090
13091 * follow.el (follow-calc-win-end): Rewrite to handle partial
13092 screen lines correctly (Bug#8390).
13093 (follow-avoid-tail-recenter): Minor cleanup.
13094
13095 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
13096
13097 Avoid the obsolete `assoc' package.
13098 * speedbar.el (speedbar-refresh): Avoid adelete.
13099 (speedbar-file-lists): Simplify and avoid aput.
13100 * man.el (Man--sections, Man--refpages): New vars, replacing
13101 Man-sections-alist and Man-refpages-alist.
13102 (Man-build-section-alist, Man-build-references-alist):
13103 Use them; avoid aput.
13104 (Man--last-section, Man--last-refpage): New vars.
13105 (Man-follow-manual-reference): Use them.
13106 Use the `default' arg of completing-read.
13107 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
13108
13109 2012-04-27 Chong Yidong <cyd@gnu.org>
13110
13111 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
13112
13113 * startup.el (x-apply-session-resources): New function.
13114
13115 * term/ns-win.el (ns-initialize-window-system):
13116 * term/w32-win.el (w32-initialize-window-system):
13117 * term/x-win.el (x-initialize-window-system): Use it to properly
13118 set menu-bar-mode and other vars from X resources, even if the
13119 initial frame is not a window-system frame (Bug#2299).
13120
13121 * subr.el (read-key): Avoid running filter function when setting
13122 up temporary tool bar entries (Bug#9922).
13123
13124 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
13125
13126 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
13127 (Bug#11344)
13128
13129 2012-04-27 Chong Yidong <cyd@gnu.org>
13130
13131 * select.el (xselect--encode-string): New function, split from
13132 xselect-convert-to-string.
13133 (xselect-convert-to-string): Use it.
13134 (xselect-convert-to-filename, xselect-convert-to-os)
13135 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
13136 returned strings are properly encoded (Bug#11315).
13137
13138 2012-04-27 Chong Yidong <cyd@gnu.org>
13139
13140 * simple.el (delete-active-region): Move to killing custom group.
13141
13142 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
13143
13144 * progmodes/which-func.el (which-func-current): Quote %
13145 characters for mode-line processing.
13146
13147 2012-04-27 Chong Yidong <cyd@gnu.org>
13148
13149 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
13150 reaching eob (Bug#11286).
13151
13152 2012-04-27 Eli Zaretskii <eliz@gnu.org>
13153
13154 * progmodes/gdb-mi.el (gdb-control-level): New variable.
13155 (gdb): Make it buffer-local and init to zero.
13156 (gdb-control-commands-regexp): New variable.
13157 (gdb-send): Don't wrap in "-interpreter-exec console" if
13158 gdb-control-level is positive. Increment gdb-control-level
13159 whenever the command matches gdb-control-commands-regexp, and
13160 decrement it each time the command is "end". (Bug#11279)
13161
13162 2012-04-27 Martin Rudalics <rudalics@gmx.at>
13163
13164 * window.el (adjust-window-trailing-edge, enlarge-window)
13165 (shrink-window, window-resize):
13166 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
13167 windows (Bug#11276).
13168
13169 2012-04-27 Chong Yidong <cyd@gnu.org>
13170
13171 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
13172 fix "missing prefix" warning. All callers changed.
13173
13174 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
13175
13176 * emacs-lisp/assoc.el: Move to obsolete/.
13177
13178 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
13179
13180 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
13181
13182 * term/ns-win.el (ns-define-service):
13183 * progmodes/pascal.el (pascal-goto-defun):
13184 * progmodes/js.el (js--read-tab):
13185 * progmodes/etags.el (tags-lazy-completion-table):
13186 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
13187 * emacs-lisp/ewoc.el (ewoc--wrap):
13188 * emacs-lisp/assoc.el (aput, adelete, amake):
13189 * doc-view.el (doc-view-convert-current-doc):
13190 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
13191
13192 2012-04-26 Chong Yidong <cyd@gnu.org>
13193
13194 * image.el (image-type-from-buffer): Only return supported image
13195 type (Bug#9045).
13196
13197 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
13198 value, for symmetry with diff-end-of-hunk.
13199 (diff-split-hunk, diff-find-source-location)
13200 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
13201 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
13202 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
13203 compute the relevant hunk or file properly (Bug#6005).
13204 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
13205
13206 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
13207
13208 * vc/vc-mtn.el:
13209 * vc/vc-hg.el:
13210 * vc/vc-git.el:
13211 * vc/vc-dir.el:
13212 * vc/vc-cvs.el:
13213 * vc/vc-bzr.el:
13214 * vc/vc-arch.el:
13215 * vc/vc.el: Replace lexical-let by lexical-binding.
13216 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
13217 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
13218 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
13219
13220 2012-04-26 Chong Yidong <cyd@gnu.org>
13221
13222 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
13223 (diff-mode-shared-map): Bind it to / and [remap undo].
13224
13225 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
13226 (ediff-window-setup-function): Use it as the default, to set up
13227 windows based on whether the current frame is graphical (Bug#2138).
13228 (ediff-choose-window-setup-function-automatically): Make obsolete.
13229
13230 * vc/ediff-init.el: Always define ediff-pixel-width/height.
13231
13232 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
13233
13234 * ffap.el: Remove old code for obsolete package.
13235 (ffap-complete-as-file-p): Remove.
13236
13237 Use completion-table-with-quoting for comint and pcomplete.
13238 * comint.el (comint--unquote&requote-argument)
13239 (comint--unquote-argument, comint--requote-argument): New functions.
13240 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
13241 (comint-quote-filename): Use regexp-opt-charset.
13242 (comint--common-suffix, comint--common-quoted-suffix)
13243 (comint--table-subvert): Remove.
13244 (comint-unquote-function, comint-requote-function): New vars.
13245 (comint--complete-file-name-data): Use them with
13246 completion-table-with-quoting.
13247 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
13248 * pcomplete.el (pcomplete-arg-quote-list)
13249 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
13250 (pcomplete-unquote-argument-function): Default to non-nil.
13251 (pcomplete-unquote-argument): Simplify.
13252 (pcomplete--common-quoted-suffix): Remove.
13253 (pcomplete-requote-argument-function): New var.
13254 (pcomplete--common-suffix): New function.
13255 (pcomplete-completions-at-point): Use completion-table-with-quoting
13256 and completion-table-subvert.
13257
13258 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
13259 (minibuffer--double-dollars): Preserve properties.
13260 (completion--sifn-requote): New function.
13261 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
13262
13263 * minibuffer.el: Add support for completion of quoted/escaped data.
13264 (completion-table-with-quoting, completion-table-subvert): New funs.
13265 (completion--twq-try, completion--twq-all): New functions.
13266 (completion--nth-completion): New function.
13267 (completion-try-completion, completion-all-completions): Use it.
13268
13269 2012-04-25 Leo Liu <sdl.web@gmail.com>
13270
13271 * progmodes/python.el (python-pdbtrack-get-source-buffer):
13272 Use compilation-message if available to find real filename.
13273
13274 2012-04-25 Chong Yidong <cyd@gnu.org>
13275
13276 * vc/diff-mode.el (diff-setup-whitespace): New function.
13277 (diff-mode): Use it.
13278
13279 * vc/diff.el (diff-sentinel):
13280 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
13281 Whitespace mode variables based on diff style (Bug#8612).
13282
13283 2012-04-25 Leo Liu <sdl.web@gmail.com>
13284
13285 * progmodes/python.el (python-send-region): Add suffix .py to the
13286 temp file.
13287
13288 * files.el (auto-mode-alist): Use javascript-mode instead.
13289
13290 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
13291
13292 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
13293
13294 * net/soap-client.el (soap-resolve-references-for-sequence-type)
13295 (soap-resolve-references-for-array-type): Hack to prevent self
13296 references, see Bug#9.
13297 (soap-parse-envelope): Report the contents of the 'detail' node
13298 when receiving a fault reply.
13299 (soap-parse-envelope): Report the contents of the entire 'detail' node.
13300
13301 * net/soap-inspect.el (soap-sample-value-for-simple-type)
13302 (soap-inspect-simple-type): New function.
13303
13304 * net/soap-client.el (soap-simple-type): New struct.
13305 (soap-default-xsd-types, soap-default-soapenc-types)
13306 (soap-decode-basic-type, soap-encode-basic-type):
13307 support unsignedInt and double basic types.
13308 (soap-resolve-references-for-simple-type)
13309 (soap-parse-simple-type, soap-encode-simple-type): New function.
13310 (soap-parse-schema): Parse xsd:simpleType declarations.
13311
13312 * net/soap-client.el (soap-default-xsd-types)
13313 (soap-default-soapenc-types): Add integer, byte and anyURI types.
13314 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
13315 the local name of "soapenc:Array".
13316 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
13317 decoding integer, byte and anyURI xsd types.
13318
13319 2012-04-25 Chong Yidong <cyd@gnu.org>
13320
13321 * cus-edit.el (custom-buffer-create-internal): Update header text.
13322
13323 2012-04-25 Eli Zaretskii <eliz@gnu.org>
13324
13325 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
13326 settings on 'system-type', not on 'window-system'. On MS-Windows,
13327 set interactive-mode on in GDB.
13328
13329 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
13330
13331 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
13332 (ruby-syntax-propertize-regexp): Remove.
13333 (ruby-syntax-propertize-function): Split regexp into chunks.
13334 Match following code directly.
13335
13336 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
13337
13338 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
13339 (ruby-syntax-propertize-regexp): New function.
13340 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
13341 by a special keyword.
13342
13343 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
13344 (ruby-syntax-general-delimiters-goto-beg)
13345 (ruby-syntax-propertize-general-delimiters): New functions.
13346 (ruby-syntax-propertize-function): Use them to handle GDL.
13347 (ruby-font-lock-keywords): Move old handling of GDL...
13348 (ruby-font-lock-syntactic-keywords): .. to here.
13349 (ruby-calculate-indent): Adjust indentation for GDL.
13350
13351 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
13352
13353 * notifications.el (top): Remove unneeded declarations.
13354 (notifications-specification-version): Change to "1.2".
13355 (notifications-interface, notifications-notify-method)
13356 (notifications-close-notification-method): Fix docstring.
13357 (notifications-get-capabilities-method): New defconst.
13358 (notifications-notify): Add :action-items, :resident and
13359 :transient hints. Change "image_data" to "image-data" and
13360 "image_path" to "image-path".
13361 (notifications-get-capabilities): New defun.
13362
13363 2012-04-24 Leo Liu <sdl.web@gmail.com>
13364
13365 * progmodes/python.el: Move hideshow setup to the end.
13366
13367 2012-04-24 Martin Rudalics <rudalics@gmx.at>
13368
13369 * window.el (handle-select-window): Clear echo area since this is
13370 no more done by read_char (Bug#11304).
13371
13372 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
13373
13374 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
13375 and `/ M' to filter-derived-mode.
13376 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
13377 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
13378 (ibuffer-mark-by-mode): Use default rather than initial-input.
13379 (ibuffer-filter-by-derived-mode): Autoload and require-match.
13380
13381 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
13382
13383 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
13384 (ibuffer-filter-by-derived-mode): New filter.
13385 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
13386
13387 2012-04-23 Andreas Politz <politza@fh-trier.de>
13388
13389 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
13390
13391 2012-04-23 Chong Yidong <cyd@gnu.org>
13392
13393 * cus-edit.el (customize-apropos, customize-apropos-options):
13394 Disable matching of non-option variables (Bug#11176).
13395 (customize-option, customize-option-other-window)
13396 (customize-changed-options): Doc fix.
13397 (customize-apropos-options, customize-apropos-faces)
13398 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
13399
13400 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
13401 Fix word list splitting (Bug#11132).
13402 (apropos-symbol, apropos-keybinding, apropos-label)
13403 (apropos-property, apropos-function-button)
13404 (apropos-variable-button, apropos-misc-button): New faces.
13405 (apropos-symbol-face, apropos-keybinding-face)
13406 (apropos-label-face, apropos-property-face, apropos-match-face):
13407 Variables removed (Bug#8396).
13408 (apropos-library-button, apropos-format-plist, apropos-print)
13409 (apropos-print-doc, apropos-describe-plist): Callers changed.
13410
13411 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
13412
13413 * net/xesam.el (xesam-mode-map): Use let-bound map in
13414 initialization. (Bug#11292)
13415
13416 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13417
13418 Preserve ispell session localwords when switching back to
13419 original buffer.
13420
13421 * textmodes/ispell.el (ispell-buffer-session-localwords):
13422 New buffer-local variable to hold buffer session localwords.
13423 (ispell-kill-ispell): Add option 'clear to delete session
13424 localwords.
13425 (ispell-command-loop, ispell-change-dictionary)
13426 (ispell-buffer-local-words): Preserve session localwords when
13427 needed.
13428
13429 * textmodes/flyspell.el (flyspell-process-localwords)
13430 (flyspell-do-correct): Preserve session localwords when needed.
13431
13432 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13433
13434 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
13435 using obsolete `translation-table-for-input'.
13436 (ispell-word, ispell-process-line, ispell-complete-word):
13437 Use plain `insert' instead of removed `ispell-insert-word'.
13438
13439 2012-04-22 Chong Yidong <cyd@gnu.org>
13440
13441 * cus-edit.el (custom-variable-menu)
13442 (custom-variable-reset-saved, custom-face-menu)
13443 (custom-face-reset-saved): If there is no saved value, make the
13444 "reset-saved" operation bring back the default (Bug#9509).
13445 (custom-face-state): Properly detect themed faces.
13446
13447 * faces.el (face-spec-set): Stop supporting deprecated form of
13448 third arg.
13449
13450 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
13451
13452 Move functions from C to Lisp. Make non-blocking method calls
13453 the default. Implement further D-Bus standard interfaces.
13454
13455 * net/dbus.el (dbus-message-internal): Declare function.
13456 Remove unneeded function declarations.
13457 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
13458 (dbus-message-type-method-return, dbus-message-type-error)
13459 (dbus-message-type-signal): Declare variables. Remove local
13460 definitions.
13461 (dbus-interface-dbus, dbus-interface-peer)
13462 (dbus-interface-introspectable, dbus-interface-properties)
13463 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
13464 Adapt docstring.
13465 (dbus-interface-objectmanager): New defconst.
13466 (dbus-call-method, dbus-call-method-asynchronously)
13467 (dbus-send-signal, dbus-method-return-internal)
13468 (dbus-method-error-internal, dbus-register-service)
13469 (dbus-register-signal, dbus-register-method): New defuns, moved
13470 from dbusbind.c
13471 (dbus-call-method-handler, dbus-setenv)
13472 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
13473 New defuns.
13474 (dbus-call-method-non-blocking): Make it an obsolete function.
13475 (dbus-unregister-object, dbus-unregister-service)
13476 (dbus-handle-event, dbus-register-property)
13477 (dbus-property-handler): Obey the new structure of
13478 `bus-registered-objects'.
13479 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
13480 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
13481 Use `dbus-call-method'.
13482
13483 2012-04-22 Chong Yidong <cyd@gnu.org>
13484
13485 * cus-edit.el (custom-commands, custom-reset-menu)
13486 (Custom-reset-standard): Tweak labels.
13487 (custom-reset-button-menu): Change default to t.
13488 (custom-buffer-create-internal): For the custom-reset-button-menu
13489 case, put the revert button first.
13490 (custom-group-subtitle): New face.
13491 (custom-group-value-create): Align docstring to a specific column.
13492
13493 * wid-edit.el (widget-documentation-link-add): Don't handle
13494 indentation in this function.
13495 (widget-documentation-string-indent-to): New function.
13496 (widget-documentation-string-value-create): Use it.
13497
13498 * autorevert.el (auto-revert):
13499 * epg-config.el (epg):
13500 * ibuffer.el (ibuffer):
13501 * mpc.el (mpc):
13502 * ses.el (ses):
13503 * eshell/eshell.el (eshell):
13504 * net/ange-ftp.el (ange-ftp):
13505 * progmodes/ebnf2ps.el (postscript):
13506 * progmodes/flymake.el (flymake):
13507 * progmodes/prolog.el (prolog):
13508 * progmodes/verilog-mode.el (verilog-mode):
13509 * progmodes/which-func.el (which-func):
13510 * term/xterm.el (xterm):
13511 * textmodes/picture.el (picture):
13512 * textmodes/tildify.el (tildify):
13513 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
13514 customization buffers.
13515
13516 2012-04-22 Alan Mackenzie <acm@muc.de>
13517
13518 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
13519 Adding a ) can hide the resulting (..) from searches. Fix it.
13520 Bound the backward search to the position of the existing (.
13521
13522 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
13523
13524 * progmodes/verilog-mode.el (verilog-mode): Check whether
13525 which-func-modes is t before adding verilog-mode.
13526 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
13527
13528 2012-04-21 Leo Liu <sdl.web@gmail.com>
13529
13530 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
13531
13532 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
13533
13534 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
13535 filling of the last column of a table (Bug#5635).
13536 (woman-find-next-control-line): New arg, specifying an additional
13537 regexp component for the control line.
13538 (woman2-roff-buffer): Use it.
13539 (woman-break-table): New function.
13540 (woman2-TS): Use it.
13541
13542 2012-04-21 Chong Yidong <cyd@gnu.org>
13543
13544 * woman.el (woman-set-buffer-display-table, woman-decode-region)
13545 (woman-horizontal-escapes, woman-negative-vertical-space)
13546 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
13547 (WoMan-warn-ignored): Use ?\s instead of ?\ .
13548
13549 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13550
13551 * minibuffer.el (completion-file-name-table): Complete user names.
13552
13553 2012-04-20 Leo Liu <sdl.web@gmail.com>
13554
13555 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
13556 and pcase-let*.
13557
13558 2012-04-20 Chong Yidong <cyd@gnu.org>
13559
13560 * server.el (server-execute): Respect initial-buffer-choice if it
13561 is a string and there are no files to open (Bug#2825).
13562 (server-create-window-system-frame, server-create-tty-frame):
13563 Don't switch buffers here.
13564 (server-process-filter): Only try to open a window system frame if
13565 compiled with graphical support (Bug#8314).
13566
13567 2012-04-20 Dan Nicolaescu <dann@gnu.org>
13568
13569 * battery.el (battery-echo-area-format): Display remaining time
13570 for sysfs backend too (Bug#11269).
13571 (battery-linux-sysfs): Fix conditional for the charge.
13572
13573 2012-04-20 Chong Yidong <cyd@gnu.org>
13574
13575 * progmodes/gdb-mi.el (gdb): Revert previous change.
13576 (gdb-inferior-io--init-proc): New function.
13577 (gdb-init-1): Use it.
13578 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
13579 responsible for allocating a new pty and hooking it to gdb when
13580 the old pty gets an EIO due to process exit.
13581 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
13582 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
13583 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
13584
13585 2012-04-20 Eli Zaretskii <eliz@gnu.org>
13586
13587 * window.el (window-min-size, window-sizable, window-min-delta)
13588 (window-max-delta, window--resizable, window-resizable)
13589 (window-total-size, window-full-height-p, window-full-width-p)
13590 (window-in-direction, window--resize-mini-window, window-resize)
13591 (window--resize-child-windows-normal)
13592 (window--resize-child-windows, window--resize-siblings)
13593 (window--resize-this-window, adjust-window-trailing-edge)
13594 (enlarge-window, shrink-window): Doc fixes.
13595
13596 2012-04-20 Chong Yidong <cyd@gnu.org>
13597
13598 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
13599 New function to call delete-process on the gdb-inferior buffer's pty.
13600 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
13601 pty process (Bug#11273).
13602 (gdb-update): New arg to suppress talking to the gdb process.
13603 (gdb-done-or-error): Use it.
13604 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
13605 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
13606 sentinel not being called.
13607
13608 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
13609
13610 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
13611
13612 2012-04-20 Glenn Morris <rgm@gnu.org>
13613
13614 * net/network-stream.el (open-network-stream): Doc fix.
13615
13616 2012-04-20 Chong Yidong <cyd@gnu.org>
13617
13618 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
13619
13620 2012-04-20 Alan Mackenzie <acm@muc.de>
13621
13622 Ensure searching for keywords is case sensitive.
13623
13624 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
13625 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
13626 (c-defun-name, c-mark-function, c-cpp-define-name)
13627 (c-comment-indent, c-scan-conditionals, c-indent-defun)
13628 (c-context-line-break): Bind case-fold-search to nil.
13629
13630 * progmodes/cc-mode.el (c-font-lock-fontify-region):
13631 Bind case-fold-search to nil.
13632
13633 2012-04-20 Chong Yidong <cyd@gnu.org>
13634
13635 * mail/sendmail.el (mail-bury): Call return action with the right
13636 Rmail buffer (Bug#11242).
13637
13638 * server.el (server-process-filter): Handle corner case where both
13639 tty and nowait options are present (Bug#11102).
13640
13641 2012-04-20 Eli Zaretskii <eliz@gnu.org>
13642
13643 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
13644 (top level): Put into the executable the ident-style '$Id:' tag on
13645 windows-nt as well.
13646
13647 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
13648
13649 * electric.el (electric-indent-post-self-insert-function): Check that
13650 electric-indent-mode is enabled in current buffer.
13651
13652 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
13653
13654 * imenu.el (imenu-progress-message): Restore; it is "used" in
13655 erc/erc-imenu.el and net/snmp-mode.el.
13656
13657 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
13658
13659 * avoid.el (mouse-avoidance-mode): Mark unused arg.
13660 (mouse-avoidance-nudge-mouse): Remove unused binding.
13661
13662 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
13663
13664 * descr-text.el (describe-char):
13665 * progmodes/python.el (python-describe-symbol):
13666 Don't call `toggle-read-only', set `buffer-read-only'.
13667
13668 * imenu.el (imenu-default-goto-function): Mark unused args.
13669 (imenu-progress-message): Remove obsolete macro; all callers changed.
13670
13671 * subr.el (keymap-canonicalize): Remove unused binding.
13672 (read-passwd): Mark unused arg.
13673
13674 * tutorial.el (tutorial--display-changes): Remove unused binding.
13675 (tutorial--save-tutorial-to): Remove unused variable.
13676
13677 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
13678 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
13679 (package-generate-autoloads, package-menu--generate)
13680 (package-menu--find-upgrades): Remove unused bindings.
13681
13682 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
13683 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
13684 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
13685 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
13686 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
13687 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
13688 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
13689 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
13690 (cua-delete-char-rectangle): Mark unused args.
13691 (cua-align-rectangle): Remove unused binding.
13692
13693 * mail/rmail.el (compilation--message->loc)
13694 (epa--find-coding-system-for-mime-charset): Declare.
13695
13696 * net/dbus.el (dbus-register-service): Declare.
13697 (dbus-name-owner-changed-handler): Remove unused binding.
13698
13699 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
13700 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
13701 (nxml-scan-backward-within): Mark unused arg.
13702 (nxml-dynamic-markup-word): Remove unused binding.
13703
13704 * mouse.el (mouse-menu-major-mode-map):
13705 * emacs-lisp/authors.el (authors-scan-change-log)
13706 (authors-add-to-author-list):
13707 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
13708 * emacs-lisp/smie.el (smie-auto-fill):
13709 * mail/sendmail.el (mail-bury):
13710 * mail/unrmail.el (unrmail):
13711 * net/tls.el (open-tls-stream):
13712 * textmodes/picture.el (picture-mouse-set-point):
13713 Remove unused bindings.
13714
13715 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
13716
13717 * net/tramp.el (tramp-action-password): Let-bind
13718 `enable-recursive-minibuffers' to t.
13719
13720 2012-04-18 Sam Steingold <sds@gnu.org>
13721
13722 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
13723 instead of 'string to accommodate values like [f11].
13724 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
13725 * progmodes/gdb-mi.el: Likewise.
13726
13727 2012-04-18 Leo Liu <sdl.web@gmail.com>
13728
13729 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
13730 current buffer.
13731 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
13732 LOCAL is nil.
13733
13734 2012-04-18 Chong Yidong <cyd@gnu.org>
13735
13736 * simple.el (line-move): Use forward-line if in batch mode
13737 (Bug#11053).
13738
13739 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
13740
13741 * files.el (after-find-file): Do not try to add a final newline if
13742 the buffer is read-only (Bug#11156).
13743
13744 2012-04-17 Richard Stallman <rms@gnu.org>
13745
13746 * mail/rmail.el (rmail-start-mail):
13747 Pass (rmail-mail-return...) for the return-action.
13748 Pass (rmail-yank-current-message...) for the yank-action.
13749 (rmail-yank-current-message): New function.
13750 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
13751 (rmail-reply): Likewise.
13752 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
13753
13754 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
13755 buffer, not the last. Reject temp buffers. Use the rmail-mode
13756 buffer, not newbuf.
13757
13758 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
13759
13760 * server.el (server-ensure-safe-dir): Simplify.
13761
13762 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
13763
13764 * emacs-lisp/smie.el: Provide smarter auto-filling.
13765 (smie-auto-fill): New function.
13766 (smie-setup): Use it.
13767
13768 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
13769
13770 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
13771
13772 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
13773 (comment-indent): Use it.
13774
13775 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
13776
13777 * ses.el: The overall change is to add cell renaming, that is
13778 setting fancy names for cell symbols other than name matching
13779 "\\`[A-Z]+[0-9]+\\'" regexp .
13780 (ses-localvars): Add ses--renamed-cell-symb-list.
13781 (ses-create-cell-variable): New defun.
13782 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
13783 (ses-relocate-formula): Relocate formulas only for cells the
13784 symbols of which are not renamed, i.e. symbols whose names do not
13785 match regexp "\\`[A-Z]+[0-9]+\\'".
13786 (ses-relocate-all): Relocate values only for cells the symbols of
13787 which are not renamed.
13788 (ses-load): Create cells variables as the (ses-cell ...) are read,
13789 in order to check row col consistency with cell symbol name only
13790 for cells that are not renamed.
13791 (ses-replace-name-in-formula): New defun.
13792 (ses-rename-cell): New defun.
13793
13794 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
13795
13796 * progmodes/perl-mode.el (perl-indent-parens-as-block):
13797 New option (bug#11118).
13798 (perl-calculate-indent): Respect it.
13799
13800 2012-04-17 Glenn Morris <rgm@gnu.org>
13801
13802 * dired-aux.el (dired-mark-read-string): Doc fix.
13803
13804 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
13805
13806 * dired-aux.el (dired-mark-read-string): Offer optional completion.
13807 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
13808
13809 2012-04-17 Glenn Morris <rgm@gnu.org>
13810
13811 * mouse.el (mouse-drag-track):
13812 * speedbar.el (speedbar-frame-mode):
13813 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
13814
13815 2012-04-16 Leo Liu <sdl.web@gmail.com>
13816
13817 * progmodes/python.el: Trivial cleanup.
13818
13819 2012-04-16 Glenn Morris <rgm@gnu.org>
13820
13821 * vc/vc.el (vc-string-prefix-p):
13822 * vc/pcvs-util.el (cvs-string-prefix-p):
13823 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
13824 * mpc.el (mpc-string-prefix-p):
13825 Make all of these into obsolete aliases for string-prefix-p.
13826 Update callers.
13827 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
13828
13829 * textmodes/two-column.el: Move custom options to the start.
13830 (frame-width): Remove compat definition.
13831 (2C-associate-buffer, 2C-dissociate):
13832 Use with-current-buffer rather than save-excursion.
13833 (2C-dissociate): Force a mode-line update.
13834 (2C-autoscroll): Use ignore-errors.
13835
13836 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
13837 Autoload trivia.
13838
13839 * emacs-lisp/cl-extra.el (*random-state*):
13840 Remove unnecessary declaration.
13841
13842 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
13843
13844 * play/cookie1.el (cookie-snarf):
13845 Give an explicit error if input file cannot be read.
13846
13847 * play/yow.el (yow-file): Use expand-file-name rather than concat.
13848
13849 * progmodes/perl-mode.el (c-macro-expand):
13850 Remove unnecessary autoload (it is in loaddefs.el).
13851
13852 * textmodes/picture.el (picture-desired-column)
13853 (picture-update-desired-column): Convert comments to doc-strings.
13854 (picture-substitute): Remove function.
13855 (picture-mode-map): Initialize in the defvar.
13856
13857 * woman.el: Remove eval-after-load for tar-mode.
13858 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
13859 (woman-tar-extract-file): Autoload it.
13860
13861 * frame.el (automatic-hscrolling): Make this alias obsolete.
13862
13863 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13864
13865 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
13866 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
13867 (ispell-dictionary-base-alist): Revert to original XEmacs
13868 friendly version for default. [:alpha:] will be added in
13869 `ispell-set-spellchecker-params' if needed.
13870
13871 2012-04-16 Chong Yidong <cyd@gnu.org>
13872
13873 * image.el (imagemagick--file-regexp): New variable.
13874 (imagemagick-register-types): Use it.
13875 (imagemagick-types-inhibit): Add :set function. Allow new value
13876 of t to inhibit all types.
13877
13878 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
13879 so we can preload it.
13880
13881 * loadup.el (fboundp): Preload regexp-opt, needed by
13882 imagemagick-register-types.
13883
13884 2012-04-15 Chong Yidong <cyd@gnu.org>
13885
13886 * frame.el (scrolling): Remove nearly unused customization group.
13887
13888 * scroll-all.el (scroll-all-mode): Move to windows group.
13889
13890 2012-04-15 Chong Yidong <cyd@gnu.org>
13891
13892 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
13893
13894 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13895
13896 Avoid the use of ((lambda ...) ...) in lexical-binding code.
13897 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
13898
13899 2012-04-15 Glenn Morris <rgm@gnu.org>
13900
13901 * simple.el (process-file-side-effects): Doc fix.
13902
13903 2012-04-15 Glenn Morris <rgm@gnu.org>
13904
13905 * international/mule-cmds.el (set-language-environment): Doc fix.
13906
13907 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
13908
13909 * server.el (server-auth-key, server-generate-key): Doc fixes.
13910 (server-get-auth-key): Doc fix. Use `string-match-p'.
13911 (server-start): Reflow docstring.
13912
13913 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
13914
13915 * server.el (server-generate-key): `called-interactively-p'
13916 requires a parameter.
13917
13918 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
13919
13920 * server.el (server-auth-key): New variable.
13921 (server-generate-key, server-get-auth-key): New function.
13922 (server-start): Use the new variable and functions to allow
13923 setting a permanent server key (bug#9423).
13924
13925 2012-04-14 Leo Liu <sdl.web@gmail.com>
13926
13927 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
13928
13929 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
13930
13931 Spelling fixes.
13932 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
13933 Emacs uses American spelling.
13934
13935 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
13936
13937 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
13938 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
13939 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
13940 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
13941
13942 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
13943
13944 * progmodes/which-func.el (which-func-modes): Change default.
13945
13946 2012-04-14 Kim F. Storm <storm@cua.dk>
13947
13948 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
13949 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
13950
13951 2012-04-14 Chong Yidong <cyd@gnu.org>
13952
13953 * custom.el (custom-theme-set-variables): Doc fix.
13954
13955 2012-04-14 Glenn Morris <rgm@gnu.org>
13956
13957 * international/mule.el (set-auto-coding-for-load): Doc fix.
13958
13959 2012-04-14 Alan Mackenzie <acm@muc.de>
13960
13961 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
13962 imenu work again for Objective C Mode. Correct the *-index values,
13963 these having been disturbed by a previous change in 2011-08.
13964
13965 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
13966 Correct two search limits.
13967
13968 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
13969
13970 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
13971
13972 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
13973
13974 * international/characters.el: Fix sorting.
13975
13976 2012-04-14 Eli Zaretskii <eliz@gnu.org>
13977
13978 * international/characters.el: Add more missing Latin case pairs.
13979
13980 2012-04-14 Glenn Morris <rgm@gnu.org>
13981
13982 * files.el (dir-locals-set-class-variables): Doc fix.
13983
13984 2012-04-14 Eli Zaretskii <eliz@gnu.org>
13985
13986 * international/characters.el: Add set-case-syntax-pair call for
13987 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
13988 counterpart. (Bug#11209)
13989
13990 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
13991
13992 2012-04-14 Glenn Morris <rgm@gnu.org>
13993
13994 * calendar/holidays.el (calendar-check-holidays): Doc fix.
13995
13996 2012-04-14 Eli Zaretskii <eliz@gnu.org>
13997
13998 * textmodes/ispell.el (ispell-dictionary-base-alist):
13999 Add data for Hebrew.
14000
14001 2012-04-14 Chong Yidong <cyd@gnu.org>
14002
14003 * net/rcirc.el (rcirc-cmd-quit):
14004 Revert 2012-03-18 change (Bug#11192).
14005
14006 2012-04-14 Glenn Morris <rgm@gnu.org>
14007
14008 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
14009
14010 2012-04-14 Eli Zaretskii <eliz@gnu.org>
14011
14012 * minibuffer.el (completion-in-region-mode-map):
14013 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
14014
14015 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
14016
14017 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
14018
14019 2012-04-13 Masatake YAMATO <yamato@redhat.com>
14020
14021 * minibuffer.el (minibuffer-local-filename-syntax): New variable
14022 to allow `C-M-f' and `C-M-b' to move to the nearest path
14023 separator (bug#9511).
14024
14025 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
14026
14027 * avoid.el: Require cl when compiling. And also move the
14028 `provide' to the end.
14029
14030 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14031
14032 * avoid.el (mouse-avoidance-banish-position): New variable.
14033 (mouse-avoidance-banish-destination): Use it (bug#10165).
14034
14035 2012-04-13 Leo Liu <sdl.web@gmail.com>
14036
14037 * progmodes/which-func.el (which-func-modes): Add objc-mode.
14038
14039 2012-04-13 Ken Brown <kbrown@cornell.edu>
14040
14041 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
14042 this is no longer needed now that cygstart understands file:// URLs.
14043 (browse-url-filename-alist): For the same reason, don't modify
14044 file:// URLs on Cygwin.
14045
14046 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
14047
14048 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
14049 the region on shift if the binding is already shifted (bug#11221).
14050
14051 2012-04-12 Glenn Morris <rgm@gnu.org>
14052
14053 * mail/mailpost.el: Move to obsolete/.
14054
14055 2012-04-12 Drew Adams <drew.adams@oracle.com>
14056
14057 * imenu.el (imenu--generic-function): Ignore invisible definitions
14058 (bug#10123).
14059
14060 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
14061
14062 * hexl.el (hexl-bits): New variable.
14063 (hexl-options): Mention the variable in the doc string.
14064 (hexl-rulerise, hexl-line-displen): New functions.
14065 (hexl-mode): Mention the new variable.
14066 (hexl-mode, hexl-current-address, hexl-current-address):
14067 Use the displen.
14068 (hexl-ascii-start-column): New function.
14069 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
14070 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
14071
14072 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14073
14074 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
14075 '("-i" ENCODING), in 2 separate command-line arguments, to specify
14076 the encoding, as expected by hunspell.
14077
14078 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
14079
14080 * battery.el (battery--linux-sysfs-regexp): New const.
14081 (battery-status-function): Use it. Remove yeeloong special case.
14082 (battery-yeeloong-sysfs): Remove.
14083 (battery-echo-area-format): Remove yeeloong special case.
14084
14085 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
14086
14087 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
14088 Reported by Noah Friedman.
14089
14090 * subr.el (read-passwd): Use read-string.
14091
14092 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14093
14094 * vcursor.el (vcursor-move): Increase the priority of the overlay
14095 (bug#9663).
14096
14097 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
14098
14099 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
14100 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
14101
14102 2012-04-11 William Stevenson <yhvh2000@gmail.com>
14103
14104 * textmodes/artist.el (artist-mode): Convert artist-mode to use
14105 define-minor-mode (bug#10760).
14106
14107 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
14108
14109 * progmodes/grep.el (rgrep): Tweak the find command line so
14110 that directories matching `grep-find-ignored-files' won't be
14111 pruned (bug#10351).
14112
14113 2012-04-11 Chong Yidong <cyd@gnu.org>
14114
14115 * startup.el (command-line): Remove support for long-obsolete
14116 variable font-lock-face-attributes.
14117
14118 2012-04-11 Glenn Morris <rgm@gnu.org>
14119
14120 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
14121
14122 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
14123
14124 * window.el (window--state-get-1): Obey window-point-insertion-type.
14125
14126 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
14127
14128 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
14129 to previous function when point is on the first character of a
14130 function. Take care of that in `narrow-to-defun' (bug#6157).
14131
14132 2012-04-11 Glenn Morris <rgm@gnu.org>
14133
14134 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
14135 not just file-errors.
14136
14137 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
14138 (vc-bzr-sha1): Use internal sha1.
14139
14140 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
14141
14142 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
14143
14144 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
14145
14146 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
14147 that start in the middle of the line (bug#10496).
14148
14149 2012-04-10 Dan Nicolaescu <dann@gnu.org>
14150
14151 * battery.el (battery-linux-proc-acpi): Only one battery is
14152 discharged at a time, but that seems to confuse battery.el when
14153 computing `rate-type' for the battery not being discharged
14154 (bug#10332).
14155
14156 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
14157
14158 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
14159
14160 * international/quail.el: Use dolist and simplify.
14161 (quail-define-package, quail-update-keyboard-layout)
14162 (quail-define-rules): Use dolist.
14163 (quail-insert-kbd-layout, quail-get-translation): CSE.
14164
14165 * tmm.el: Use dolist, remove left over hook.
14166 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
14167 Use dolist.
14168 (calendar-load-hook): Don't mess with it.
14169
14170 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
14171 Use derived-mode-p. Run the diff asynchronously.
14172
14173 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
14174
14175 * obsolete/mouse-sel.el: Add an Obsolete-since header.
14176
14177 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
14178
14179 * misc.el: Display absolute path of loaded DLLs (bug#10424).
14180 (list-dynamic-libraries--loaded): New function.
14181 (list-dynamic-libraries--refresh): Use it.
14182
14183 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
14184
14185 * progmodes/python.el (python-fill-paragraph):
14186 Make python-fill-region in a multiline string work when font-lock is
14187 disabled (bug#7018).
14188
14189 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
14190
14191 * language/european.el (cp775): Add oem/legacy (en)coding on
14192 DOS/MS Windows for the Baltic languages. There are still plenty
14193 of texts written in this encoding/codepage (bug#6519).
14194
14195 2012-04-10 Glenn Morris <rgm@gnu.org>
14196
14197 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
14198 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
14199
14200 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
14201
14202 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
14203 next-line "n" and previous-line "p" in order to make recentf more
14204 consistent with ibuffer, dired or org-mode (bug#9387).
14205
14206 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
14207
14208 * image.el (put-image): Return the overlay created instead of the
14209 optional input string (bug#7834). Note that this may break code
14210 that is (for some reason or other) depending on `put-image'
14211 returning the string.
14212
14213 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
14214
14215 * simple.el (zap-to-char): Allow zapping using input methods
14216 (bug#1580).
14217
14218 * textmodes/fill.el (fill-region): Leave point and mark where they
14219 were before filling (bug#5399).
14220
14221 2012-04-09 Glenn Morris <rgm@gnu.org>
14222
14223 * version.el (emacs-bzr-get-version):
14224 Handle lightweight checkouts of local branches.
14225
14226 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
14227
14228 * international/characters.el: Recover lost case pairs. (Bug#11209)
14229
14230 2012-04-09 Chong Yidong <cyd@gnu.org>
14231
14232 * custom.el (custom-variable-p): Return nil for non-symbol
14233 arguments instead of signaling an error.
14234 (user-variable-p): Obsolete alias for custom-variable-p.
14235
14236 * apropos.el (apropos-variable):
14237 * files-x.el (read-file-local-variable):
14238 * simple.el (set-variable):
14239 * woman.el (woman-mini-help):
14240 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
14241
14242 2012-04-09 Glenn Morris <rgm@gnu.org>
14243
14244 * startup.el (normal-top-level): Don't look for leim-list.el
14245 in places where it will not be found. (Bug#910)
14246
14247 * international/mule-cmds.el (set-default-coding-systems):
14248 * files.el (normal-mode):
14249 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
14250 This function was removed with ucs-tables.el in 2008.
14251
14252 2012-04-08 Eli Zaretskii <eliz@gnu.org>
14253
14254 * textmodes/ispell.el (ispell-check-version): For hunspell, set
14255 ispell-encoding8-command to "-i", without a trailing space.
14256 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
14257 separate command-line arguments, to specify the encoding, since
14258 that's how hunspell expects it.
14259
14260 2012-04-08 Glenn Morris <rgm@gnu.org>
14261
14262 * loadup.el: Load bindings before cus-start.
14263 This reduces somewhat the number of "rogue" settings in emacs -Q.
14264
14265 2012-04-07 Glenn Morris <rgm@gnu.org>
14266
14267 * version.el (emacs-bzr-get-version): New function.
14268 (emacs-bzr-version): New variable.
14269 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
14270 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
14271
14272 2012-04-07 Eli Zaretskii <eliz@gnu.org>
14273
14274 * international/uni-bidi.el, international/uni-category.el:
14275 * international/uni-combining.el, international/uni-decimal.el:
14276 * international/uni-decomposition.el, international/uni-digit.el:
14277 * international/uni-lowercase.el, international/uni-mirrored.el:
14278 * international/uni-name.el, international/uni-numeric.el:
14279 * international/uni-titlecase.el, international/uni-uppercase.el:
14280 Update for Unicode 6.1.
14281
14282 2012-04-07 Eli Zaretskii <eliz@gnu.org>
14283
14284 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
14285
14286 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
14287
14288 * window.el (shrink-window): Mention the `window-min-height'
14289 variable in the doc string.
14290
14291 2012-04-05 Bastien Guerry <bzg@altern.org>
14292
14293 * color.el (color-lighten-name): Fix typo.
14294
14295 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
14296
14297 * server.el (server--on-display-p): New function.
14298 (server--on-display-p): Use it.
14299
14300 2012-04-04 Gábor Vida <vidagabor@gmail.com> (tiny change)
14301
14302 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
14303 (bug#11145).
14304
14305 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
14306
14307 * comint.el (comint--common-quoted-suffix): Check string boundary
14308 before comparing (bug#11158).
14309 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
14310
14311 2012-04-04 Chong Yidong <cyd@gnu.org>
14312
14313 * minibuffer.el (completion-extra-properties): Doc fix.
14314
14315 * subr.el (delayed-warnings-hook): Doc fix.
14316
14317 2012-04-04 Daiki Ueno <ueno@unixuser.org>
14318
14319 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
14320 selection (Bug#11159).
14321 (epa-insert-keys): Inform that the default public key will be
14322 exported if no key is selected.
14323
14324 2012-04-04 Richard Stallman <rms@gnu.org>
14325
14326 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
14327
14328 2012-04-03 Chong Yidong <cyd@gnu.org>
14329
14330 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
14331 mail-insert-file, not its obsolete alias mail-attach-file.
14332
14333 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
14334
14335 * notifications.el (notifications-notify): Fix docstring.
14336
14337 2012-04-02 Glenn Morris <rgm@gnu.org>
14338
14339 * emacs-lisp/authors.el (authors-aliases): Another addition.
14340
14341 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
14342
14343 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
14344 `tramp-compat-call-process' instead of `tramp-local-call-process'.
14345 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
14346
14347 2012-04-01 Chong Yidong <cyd@gnu.org>
14348
14349 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
14350 Handle root directory properly.
14351 (copy-directory): Caller changed.
14352
14353 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
14354 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
14355
14356 2012-03-31 Glenn Morris <rgm@gnu.org>
14357
14358 * term/xterm.el (xterm-extra-capabilities): Doc fix.
14359
14360 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
14361
14362 * calendar/calendar.el (calendar-window-list)
14363 (calendar-hide-window): Restore. (Bug#11140)
14364 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
14365
14366 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
14367
14368 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14369
14370 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
14371 Check if file is a symlink (Bug#10489).
14372
14373 * files.el (copy-directory): Likewise.
14374
14375 2012-03-30 Chong Yidong <cyd@gnu.org>
14376
14377 * image.el (imagemagick-types-inhibit)
14378 (imagemagick-register-types): Doc fix.
14379
14380 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14381
14382 * textmodes/ispell.el (ispell-get-extended-character-mode):
14383 Disable extended-char-mode for hunspell. hunspell does not support it
14384 and treats ~word as ordinary words in pipe mode.
14385
14386 2012-03-30 Glenn Morris <rgm@gnu.org>
14387
14388 * tutorial.el (help-with-tutorial): Ensure local variables don't
14389 happen to make the buffer read-only. (Bug#11127)
14390
14391 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
14392
14393 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
14394 (perl-calculate-indent): Return `noindent' in strings.
14395
14396 2012-03-28 Sam Steingold <sds@gnu.org>
14397
14398 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
14399 instead of the broken adhockery which does not prevent calendar
14400 buffers from being displayed at random after exit.
14401 (calendar-window-list, calendar-hide-window): Remove the broken
14402 adhockery.
14403
14404 2012-03-28 Glenn Morris <rgm@gnu.org>
14405
14406 * replace.el (query-replace-map): Doc fix.
14407
14408 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
14409
14410 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
14411 contents. (Bug#11109)
14412
14413 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
14414
14415 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
14416 (bug#11077).
14417 (avl-tree--check, avl-tree--check-node): New funs.
14418
14419 2012-03-27 Martin Rudalics <rudalics@gmx.at>
14420
14421 * window.el (switch-to-visible-buffer): New option.
14422 (switch-to-prev-buffer, switch-to-next-buffer):
14423 Observe switch-to-visible-buffer. Make sure that checking for a window
14424 showing a buffer already is done on the same frame.
14425
14426 2012-03-27 Glenn Morris <rgm@gnu.org>
14427
14428 * startup.el (mail-host-address): Doc fix.
14429
14430 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
14431
14432 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
14433 than 197 variables.
14434
14435 2012-03-26 Ami Fischman <ami@fischman.org>
14436
14437 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
14438
14439 2012-03-26 Glenn Morris <rgm@gnu.org>
14440
14441 * files.el (save-buffers-kill-emacs): Doc fix.
14442
14443 * startup.el (normal-top-level, command-line, command-line-1):
14444 Give them doc strings.
14445
14446 2012-03-25 Eli Zaretskii <eliz@gnu.org>
14447
14448 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
14449 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
14450
14451 2012-03-25 Chong Yidong <cyd@gnu.org>
14452
14453 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
14454 theme if it was previously enabled before (Bug#11031).
14455
14456 * cus-theme.el (custom-theme-write-faces): Retrieve current face
14457 spec with custom-face-get-current-spec if its :shown-value is not
14458 determined yet (Bug#9337).
14459 (customize-create-theme, custom-theme-revert): Doc fixes.
14460
14461 * button.el (button-at): Minor addition to docstring.
14462
14463 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
14464
14465 * vc/vc.el (vc-merge): Fix a prompt.
14466
14467 2012-03-24 Chong Yidong <cyd@gnu.org>
14468
14469 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
14470 point (Bug#9623).
14471
14472 * button.el (button-at): Minor addition to docstring.
14473
14474 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
14475
14476 * newcomment.el (comment-choose-indent): No space after BOL.
14477
14478 2012-03-22 Sam Steingold <sds@gnu.org>
14479
14480 * window.el (switch-to-prev-buffer): Revert last patch because the
14481 bug turned out to be an advertised feature (Elisp manual 28.14).
14482
14483 2012-03-22 Glenn Morris <rgm@gnu.org>
14484
14485 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
14486 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
14487
14488 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
14489
14490 * net/network-stream.el (network-stream-open-starttls): Make error
14491 message under Windows be less misleading.
14492
14493 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
14494
14495 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
14496 understands (bug#9942).
14497
14498 2012-03-22 Chong Yidong <cyd@gnu.org>
14499
14500 * simple.el (end-of-visible-line): Handle return value of
14501 next-single-property-change properly (Bug#9371).
14502
14503 2012-03-22 Kenichi Handa <handa@m17n.org>
14504
14505 * international/quail.el (quail-insert-kbd-layout): Fix previous
14506 change. To avoid unwanted bidi reordering, use
14507 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
14508
14509 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
14510
14511 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
14512 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
14513 (ruby-beginning-of-indent): Be more careful with the difference
14514 between word-boundary and symbol boundary.
14515 (ruby-mode-syntax-table): Make : a symbol constituent.
14516
14517 2012-03-21 Andreas Politz <politza@fh-trier.de>
14518
14519 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
14520
14521 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
14522
14523 * progmodes/etags.el (tags-completion-at-point-function):
14524 Improve last fix.
14525
14526 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
14527
14528 2012-03-21 Sam Steingold <sds@gnu.org>
14529
14530 * progmodes/etags.el (tags-completion-at-point-function):
14531 Avoid the error when point is inside the pattern.
14532
14533 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
14534
14535 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
14536 line (Bug#10855).
14537
14538 2012-03-21 Drew Adams <drew.adams@oracle.com>
14539
14540 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
14541
14542 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
14543
14544 * ido.el (ido-set-current-directory, ido-read-internal)
14545 (ido-choose-completion-string, ido-completion-help): Handle nil
14546 value of ido-completion-buffer (Bug#11008).
14547
14548 2012-03-21 Sam Steingold <sds@gnu.org>
14549
14550 * window.el (switch-to-prev-buffer): Do not switch to a visible
14551 window previous buffer, just like with the frame previous buffers.
14552
14553 2012-03-21 Chong Yidong <cyd@gnu.org>
14554
14555 * faces.el (make-face, make-empty-face, copy-face):
14556 * face-remap.el (face-remap-add-relative, face-remap-set-base):
14557 Doc fixes.
14558
14559 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
14560
14561 * wid-edit.el (widget-complete-field): Remove (bug#11051).
14562 (widget-complete): Remove broken use of it.
14563
14564 2012-03-20 Chong Yidong <cyd@gnu.org>
14565
14566 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
14567 Use string-width and truncate-string-width to handle arbitrary
14568 characters.
14569
14570 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
14571
14572 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
14573 to draw rectangles, not squares. (Regression introduced by revno
14574 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
14575
14576 2012-03-18 Chong Yidong <cyd@gnu.org>
14577
14578 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
14579 it is not yet defined (for temacs).
14580
14581 2012-03-18 Leo Liu <sdl.web@gmail.com>
14582
14583 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
14584 prefix.
14585
14586 2012-03-17 Eli Zaretskii <eliz@gnu.org>
14587
14588 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
14589 (ispell-choices-win-default-height, ispell-silently-savep)
14590 (ispell-dictionary-alist, ispell-encoding8-command)
14591 (ispell-check-version, ispell-aspell-find-dictionary)
14592 (ispell-valid-dictionary-list, ispell-words-keyword)
14593 (ispell-get-word, ispell-internal-change-dictionary)
14594 (ispell-region, ispell-skip-region-list)
14595 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
14596 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
14597 (ispell-message-text-end, ispell-message)
14598 (ispell-buffer-local-parsing): Doc fix.
14599
14600 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
14601
14602 * htmlfontify.el: Add support for code block fontification for ODT
14603 export (Bug #9914).
14604 (hfy-optimisations): Define new option
14605 `body-text-only'
14606 (hfy-fontify-buffer): Honor above setting.
14607 (hfy-begin-span, hfy-end-span): New routines factored out form
14608 `hfy-fontify-buffer'.
14609 (hfy-begin-span-handler, hfy-end-span-handler): New variables
14610 that permit insertion of custom tags.
14611 (hfy-fontify-buffer): Use above handlers.
14612 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
14613 (hfy-face-to-css): Re-defined to be a variable.
14614 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
14615 over multiple runs. This is made possible by having the caller let
14616 bind a special variable `hfy-user-sheet-assoc'.
14617 (htmlfontify-string): New defun.
14618 (hfy-compile-face-map): Make sure that the last char in the
14619 buffer is correctly fontified.
14620 (hfy-face-resolve-face): Whitespace only change.
14621
14622 2012-03-17 Eli Zaretskii <eliz@gnu.org>
14623
14624 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
14625 message more clear.
14626
14627 2012-03-16 Leo Liu <sdl.web@gmail.com>
14628
14629 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
14630
14631 2012-03-16 Alan Mackenzie <acm@muc.de>
14632
14633 Further optimize the handling of large macros.
14634
14635 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
14636 limit to a call of `c-literal-limits'.
14637 (c-determine-+ve-limit): New function.
14638 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
14639 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
14640 In CASE 5B, restrict a search limit to 500.
14641 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
14642
14643 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
14644 Restrict macro bounds to +-500 from after-change's BEG END.
14645
14646 2012-03-16 Leo Liu <sdl.web@gmail.com>
14647
14648 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
14649
14650 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
14651
14652 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
14653 `special-mode' setting of `buffer-read-only'. (Bug#11010)
14654
14655 2012-03-16 Glenn Morris <rgm@gnu.org>
14656
14657 * view.el (view-buffer, view-buffer-other-window)
14658 (view-buffer-other-frame): Doc fixes re special mode-class.
14659
14660 * subr.el (eval-after-load): If named feature is provided not from
14661 a file, run after-load forms. (Bug#10946)
14662
14663 * calendar/calendar.el (calendar-insert-at-column):
14664 Handle non-unit-width characters a bit better. (Bug#10978)
14665
14666 2012-03-15 Chong Yidong <cyd@gnu.org>
14667
14668 * emacs-lisp/ring.el (ring-extend): New function.
14669 (ring-insert+extend): Extend the ring correctly (Bug#11019).
14670
14671 * comint.el (comint-read-input-ring)
14672 (comint-add-to-input-history): Grow comint-input-ring lazily.
14673
14674 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
14675
14676 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
14677 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
14678
14679 * imenu.el: Fix multiple inheritance breakage (bug#9199).
14680 (imenu-add-to-menubar): Don't add a redundant index.
14681 (imenu-update-menubar): Handle a dynamically composed keymap.
14682
14683 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
14684
14685 * mail/sendmail.el (mail-encode-header):
14686 Bind rfc2047-encode-encoded-words to nil.
14687
14688 2012-03-13 Glenn Morris <rgm@gnu.org>
14689
14690 * calendar/calendar.el (calendar-string-spread):
14691 Handle non-unit-width characters a bit better. (Bug#10978)
14692
14693 2012-03-13 Leo Liu <sdl.web@gmail.com>
14694
14695 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
14696 directory and file as argument (Bug#10822).
14697
14698 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
14699
14700 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
14701 For dynamically generated code, follow $PC.
14702 (gdb-disassembly-handler-custom): Handle no function name case.
14703
14704 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
14705
14706 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
14707 * emulation/ws-mode.el (ws-query-replace):
14708 * sort.el (sort-regexp-fields):
14709 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
14710
14711 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14712
14713 * dabbrev.el: Fix cycle completion order (bug#10963).
14714 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
14715 (dabbrev-completion): Don't use an obarray; provide
14716 a cycle-sort-function.
14717
14718 2012-03-12 Leo Liu <sdl.web@gmail.com>
14719
14720 * simple.el (kill-new): Use equal-including-properties for comparison.
14721 (kill-do-not-save-duplicates): Doc fix.
14722
14723 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14724
14725 * dabbrev.el: Fix cycle completion (bug#10963).
14726 Use lexical binding and wrap to 80 columns.
14727 (dabbrev-completion): Delay computing the list of completions.
14728
14729 2012-03-12 Kenichi Handa <handa@m17n.org>
14730
14731 * international/quail.el (quail-insert-kbd-layout): Surround each
14732 row by LRO and PDF instead of inserting many LRMs. Pad the left
14733 and right of each non-spacing marks. Insert invisible space
14734 between lower and upper characters to prevent composition.
14735
14736 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14737
14738 * minibuffer.el (minibuffer-complete): Don't get confused when the
14739 function is run twice via different commands (bug#10958).
14740 (complete-with-action): Fix docstring.
14741
14742 2012-03-12 Chong Yidong <cyd@gnu.org>
14743
14744 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
14745 (nxml-completion-at-point-function): New function.
14746 (nxml-mode): Use it.
14747 (nxml-bind-meta-tab-to-complete-flag): Default to t.
14748
14749 * emacs-lisp/package.el (package-unpack, package-unpack-single):
14750 Load generated autoloads file before byte compiling (Bug#10970).
14751 (package--make-autoloads-and-compile): New helper fun.
14752
14753 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
14754
14755 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
14756
14757 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
14758
14759 * autorevert.el (auto-revert-handler): Ensure, that
14760 file-readable-p is applied only for local files or in
14761 auto-revert-tail-mode.
14762
14763 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
14764
14765 * server.el (server-eval-at): Handle non-tcp connections.
14766 Decode result string.
14767
14768 * server.el (server-msg-size): New constant.
14769 (server-reply-print): New function.
14770 (server-eval-and-print): Use it.
14771 (server-eval-at): Use server-quote-arg and server-unquote-arg.
14772 Handle -print-nonl.
14773
14774 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
14775
14776 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
14777 (Bug#10987).
14778
14779 2012-03-11 Chong Yidong <cyd@gnu.org>
14780
14781 * simple.el (goto-line): Doc fix (Bug#9938).
14782
14783 * subr.el (save-window-excursion): Doc fix (Bug#9979).
14784
14785 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
14786 when finished (Bug#10963).
14787
14788 2012-03-11 Martin Rudalics <rudalics@gmx.at>
14789
14790 * window.el (split-window-below): Fix bug in case where
14791 split-window-keep-point is nil (Bug#10971).
14792
14793 2012-03-11 Juri Linkov <juri@jurta.org>
14794
14795 * replace.el (replace-highlight): Set isearch-word to nil
14796 unconditionally. (Bug#10887)
14797
14798 2012-03-10 Eli Zaretskii <eliz@gnu.org>
14799
14800 * net/mairix.el (mairix-replace-invalid-chars): Rename from
14801 mairix-replace-illegal-chars; all callers changed. Don't remove
14802 ^, ~, and = characters: they are meaningful in mairix search specs.
14803 (mairix-widget-create-query): Add usage information about mairix
14804 search forms: negating words, searching for substrings, etc.
14805
14806 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
14807
14808 * international/fontset.el (font-encoding-alist): Add an entry for
14809 ksx1001 (Bug#5667).
14810
14811 2012-03-10 Richard Stallman <rms@gnu.org>
14812
14813 * mail/sendmail.el (mail-encode-header):
14814 Set rfc2047-encode-encoded-words.
14815
14816 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
14817
14818 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
14819 view buffer means not swapped.
14820 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
14821 (rmail-write-region-annotate): Error if real text has disappeared.
14822
14823 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
14824
14825 2012-03-10 Chong Yidong <cyd@gnu.org>
14826
14827 * emulation/cua-rect.el (cua--init-rectangles):
14828 * emulation/cua-base.el (cua--init-keymaps):
14829 Add delete-forward-char to remappings (Bug#9666).
14830
14831 2012-03-10 Martin Rudalics <rudalics@gmx.at>
14832
14833 * speedbar.el (speedbar-unhighlight-one-tag-line):
14834 Avoid unhighlighting due to frame switching (Bug#10275).
14835
14836 2012-03-10 Chong Yidong <cyd@gnu.org>
14837
14838 * minibuffer.el (completion-in-region, completion-help-at-point):
14839 Give the completion field overlay a high priority (Bug#6830).
14840
14841 * dired.el (dired-goto-file): Recognize absolute file name
14842 listings (Bug#7126).
14843 (dired-goto-file-1): New helper function.
14844 (dired-toggle-read-only): Inhibit warnings.
14845
14846 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
14847
14848 * net/dbus.el (dbus-property-handler): Return empty array if
14849 there are no properties.
14850
14851 2012-03-09 Leo Liu <sdl.web@gmail.com>
14852
14853 * savehist.el (savehist-printable): Stricter check for string
14854 value (Bug#10937).
14855
14856 2012-03-09 Eli Zaretskii <eliz@gnu.org>
14857
14858 * mail/smtpmail.el (smtpmail-send-it):
14859 Bind coding-system-for-write to *-unix, so that FCC files are kept in
14860 valid mbox format.
14861
14862 2012-03-09 Glenn Morris <rgm@gnu.org>
14863
14864 * files.el (dir-locals-find-file):
14865 Don't check result is regular, readable.
14866 (dir-locals-read-from-file): Demote errors.
14867
14868 2012-03-08 Eli Zaretskii <eliz@gnu.org>
14869
14870 * international/quail.el (quail-insert-kbd-layout):
14871 Insert invisible LRM characters before each character in a keyboard
14872 layout cell, to prevent their reordering by bidi display engine.
14873 For details, see the discussion in
14874 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
14875
14876 2012-03-08 Alan Mackenzie <acm@muc.de>
14877
14878 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
14879 the starting position; make it extend the marked region when
14880 invoked repeatedly - all under appropriate circumstances.
14881 Fixes bugs #5525, #10906.
14882
14883 2012-03-08 Glenn Morris <rgm@gnu.org>
14884
14885 * files.el (locate-dominating-file, dir-locals-find-file):
14886 Undo 2012-03-06 change.
14887
14888 2012-03-07 Eli Zaretskii <eliz@gnu.org>
14889
14890 * international/quail.el (quail-help):
14891 Force bidi-paragraph-direction be left-to-right. See discussion in
14892 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
14893 for the reason.
14894
14895 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
14896
14897 Avoid superfluous registering of signals. (Bug#10807)
14898
14899 * notifications.el (notifications-on-action-object)
14900 (notifications-on-close-object): New defvars.
14901 (notifications-on-action-signal, notifications-on-closed-signal):
14902 Unregister the signal if not needed any longer.
14903 (notifications-notify): Register `notifications-action-signal' or
14904 `notifications-closed-signal', if :on-action or :on-close has been
14905 passed as argument.
14906
14907 2012-03-07 Chong Yidong <cyd@gnu.org>
14908
14909 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
14910 non-X platforms.
14911
14912 2012-03-06 Glenn Morris <rgm@gnu.org>
14913
14914 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
14915 (x-disown-selection-internal, x-get-selection-internal):
14916 Doc fix (add arglist signatures). (Bug#10783)
14917
14918 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
14919
14920 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
14921 Handle breakpoints with no "type".
14922
14923 2012-03-06 Glenn Morris <rgm@gnu.org>
14924
14925 * files.el (locate-dominating-file): Add optional predicate argument.
14926 (dir-locals-find-file): Make use of above change.
14927
14928 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
14929
14930 * info.el (Info-insert-dir): Also try "dir.gz".
14931
14932 2012-03-06 Glenn Morris <rgm@gnu.org>
14933
14934 * files.el (dir-locals-find-file):
14935 Ignore non-readable or non-regular files. (Bug#10928)
14936
14937 * files.el (locate-dominating-file): Doc fix.
14938
14939 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
14940
14941 * calendar/calendar.el (calendar-set-mode-line):
14942 `getenv' returns a string. (Bug#10951)
14943
14944 2012-03-05 Leo Liu <sdl.web@gmail.com>
14945
14946 * simple.el (backward-delete-char-untabify): Constrain point to
14947 field (Bug#10939).
14948
14949 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
14950
14951 2012-03-05 Chong Yidong <cyd@gnu.org>
14952
14953 * simple.el (count-words): If called from Lisp, return the word
14954 count, for symmetry with `count-lines'. Arglist changed.
14955 (count-words--message): Args changed. Consolidate counting code
14956 from count-words and count-words-region.
14957 (count-words-region): Caller changed.
14958 (count-lines-region): Make it an obsolete alias.
14959
14960 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
14961
14962 * saveplace.el (save-place-to-alist)
14963 (save-place-ignore-files-regexp): Allow value nil to disable this
14964 feature.
14965
14966 2012-03-04 Chong Yidong <cyd@gnu.org>
14967
14968 * faces.el (face-spec-reset-face): For the default face, reset the
14969 attributes to default values (Bug#10748).
14970
14971 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
14972
14973 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
14974 previous patch: Check `message-send-mail-function', and not the
14975 default function (bug#10897).
14976
14977 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
14978
14979 * notifications.el (notifications-on-action-signal)
14980 (notifications-on-closed-signal): Check for unique service name of
14981 incoming event. Fix error in removing entry.
14982 (top): Register for signals with wildcard service name.
14983 (notifications-notify): Use daemon unique service name for map entries.
14984
14985 2012-03-04 Chong Yidong <cyd@gnu.org>
14986
14987 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
14988
14989 2012-03-04 Glenn Morris <rgm@gnu.org>
14990
14991 * abbrev.el (copy-abbrev-table, abbrev-table-p)
14992 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
14993 (expand-abbrev, define-abbrev-table): Doc fixes.
14994
14995 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14996
14997 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
14998 `message-default-send-mail-function' and not `send-mail-function'
14999 when doing the prompting for `sendmail-query-once' before sending
15000 in Message buffers (bug#10897).
15001
15002 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
15003 This is inconsistent with all the other stream functions, which leave
15004 the setting up to the higher levels (if so wanted) (bug#10931).
15005
15006 2012-03-02 Alan Mackenzie <acm@muc.de>
15007
15008 Depessimize the handling of very large macros.
15009
15010 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
15011 (c-macro-cache-syntactic): New variables to implement a one
15012 element macro cache.
15013 (c-invalidate-macro-cache): New function.
15014 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
15015 Adapt to use the new cache.
15016 (c-state-safe-place): Use better the cache of safe positions.
15017 (c-state-semi-nonlit-pos-cache)
15018 (c-state-semi-nonlit-pos-cache-limit):
15019 New variables for...
15020 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
15021 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
15022 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
15023 Use c-state-semi-safe-place.
15024
15025 * progmodes/cc-langs.el (c-get-state-before-change-functions):
15026 Add c-invalidate-macro-cache to the C, C++, Obj entries.
15027
15028 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
15029
15030 * jka-compr.el (jka-compr-call-process):
15031 Apply `file-accessible-directory-p' only when the default directory is
15032 not remote.
15033
15034 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
15035
15036 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
15037 access of FILE2, if FILE1 does not exist.
15038
15039 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
15040 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
15041
15042 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
15043 Add "PAGER=" to `process-environment'.
15044
15045 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
15046
15047 * progmodes/sql.el: Bug fix
15048 (sql-get-login-ext): Save login values in globals.
15049 (sql-get-login): Use new version of `sql-get-login-ext'.
15050 (sql-interactive-mode): Set global `sql-connection' to nil.
15051 (sql-connect): Set global values for connection.
15052 (sql-product-interactive): Save global values as buffer local.
15053
15054 2012-02-29 Leo Liu <sdl.web@gmail.com>
15055
15056 * abbrev.el (define-abbrevs): Reset sys to nil.
15057
15058 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15059
15060 * files.el (file-equal-p): Rename from `files-equal-p'.
15061 Return nil when one or both files don't exist.
15062 (file-subdir-of-p): Now only top directory must exists,
15063 return nil if it doesn't.
15064 (copy-directory): No need to test with `file-subdir-of-p' after
15065 creating dir.
15066 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
15067 to `file-equal-p'.
15068
15069 2012-02-28 Glenn Morris <rgm@gnu.org>
15070
15071 * shell.el (shell-mode):
15072 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
15073 * play/landmark.el (landmark-font-lock-face-O):
15074 * play/handwrite.el (handwrite):
15075 * play/gomoku.el (gomoku-O):
15076 * net/browse-url.el (browse-url-browser-display):
15077 * international/mule.el (define-charset):
15078 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
15079 * filesets.el (filesets-find-file-delay):
15080 * eshell/em-xtra.el (eshell-xtra):
15081 * eshell/em-unix.el (eshell-grep):
15082 * emulation/viper.el (viper-mode):
15083 * emacs-lisp/regexp-opt.el (regexp-opt-group):
15084 * emacs-lisp/easymenu.el (easy-menu-define):
15085 * calendar/timeclock.el (timeclock-use-display-time):
15086 * bs.el (bs-mode):
15087 * bookmark.el (bookmark-save-flag):
15088 Doc fix (standardize possessive apostrophe usage).
15089
15090 2012-02-27 Chong Yidong <cyd@gnu.org>
15091
15092 * emulation/viper-cmd.el (viper-intercept-ESC-key):
15093 Fix key-binding lookup for ESC key (Bug#9146).
15094
15095 * font-lock.el (font-lock-specified-p): Rename from
15096 font-lock-spec-present. Callers changed.
15097
15098 2012-02-27 Daniel Hackney <dan@haxney.org>
15099
15100 * emacs-lisp/package.el (package-compute-transaction):
15101 Handle holding a package version to t in package-load-list.
15102
15103 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
15104
15105 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
15106 (tramp-get-inode, tramp-get-device): Use cached values.
15107
15108 2012-02-26 Alan Mackenzie <acm@muc.de>
15109
15110 Check there is a font-lock specification before doing initial
15111 fontification.
15112
15113 * font-core.el (font-lock-mode): Move the conditional from
15114 :after-hook to font-lock-initial-fontify.
15115 (font-lock-default-function): Move the check for a specification
15116 to font-lock-spec-present.
15117
15118 * font-lock.el (font-lock-initial-fontify): Call ...
15119 (font-lock-spec-present): New function.
15120
15121 2012-02-26 Jim Blandy <jimb@red-bean.com>
15122
15123 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
15124 (gdb-send): Apply it to the operand of the '-interpreter-exec
15125 console' command, so that we can pass arguments with (say) quotes
15126 in them. Store exact string sent in gdb-debug-log (Bug#10765).
15127
15128 2012-02-26 Chong Yidong <cyd@gnu.org>
15129
15130 * help-fns.el (describe-function-1): Clarify description of
15131 remapping (Bug#10844).
15132
15133 * files.el (files-equal-p): Doc fix.
15134 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
15135 and quit the loop once a mismatch is found.
15136
15137 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
15138
15139 * bs.el (bs--show-with-configuration): Don't throw an error
15140 if the window cannot be split; otherwise, subsequent calls to
15141 bs-show fail, restoring a stale window config. (Bug#10882)
15142
15143 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
15144
15145 * term/ns-win.el (global-map): Bind ns-drag-file to
15146 ns-find-file (Bug#5855, Bug#10050).
15147
15148 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
15149
15150 * calendar/parse-time.el (parse-time-string): Allow extractor to
15151 return nil.
15152
15153 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
15154
15155 * net/tramp.el (tramp-file-name-for-operation):
15156 Add `files-equal-p' and `file-subdir-of-p'.
15157
15158 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
15159 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
15160 Add COPY-CONTENTS argument.
15161
15162 2012-02-25 Chong Yidong <cyd@gnu.org>
15163
15164 Add custom groups for VC backends, for consistency with vc-bzr.
15165
15166 * vc/vc-arch.el (vc-arch):
15167 * vc/vc-cvs.el (vc-cvs):
15168 * vc/vc-git.el (vc-git):
15169 * vc/vc-hg.el (vc-hg):
15170 * vc/vc-mtn.el (vc-mtn):
15171 * vc/vc-rcs.el (vc-rcs):
15172 * vc/vc-sccs.el (vc-sccs):
15173 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
15174 All relevant defcustoms reassigned.
15175
15176 2012-02-25 Chong Yidong <cyd@gnu.org>
15177
15178 * newcomment.el (comment-styles): Add autoload (Bug#10868).
15179
15180 * term/x-win.el (x-initialize-window-system): Reduce default for
15181 x-selection-timeout to 5 seconds (Bug#8869).
15182
15183 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15184
15185 * files.el (files-equal-p, file-subdir-of-p): New functions.
15186 (copy-directory): Error when trying to copy a directory on itself.
15187 Add missing copy-contents arg to tramp handler.
15188 * dired-aux.el (dired-copy-file-recursive): Same.
15189 (dired-create-files): Modify destination when source is equal to
15190 dest when copying files.
15191 Return also when dest is a subdir of source. (Bug#10489)
15192
15193 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
15194
15195 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
15196 (Bug#10874)
15197
15198 2012-02-23 Alan Mackenzie <acm@muc.de>
15199
15200 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
15201 parameter "after-hook:" to allow the expansion to run code after
15202 the execution of the mode hooks.
15203
15204 * font-lock.el (font-lock-initial-fontify): New function extracted
15205 from font-lock-mode-internal.
15206
15207 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
15208 :after-hook.
15209
15210 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
15211
15212 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
15213 (completion--cache-all-sorted-completions): New function.
15214 (completion-all-sorted-completions): Use it.
15215 (completion--do-completion, minibuffer-force-complete):
15216 Use it to re-instate the flush hook.
15217
15218 * icomplete.el (icomplete-completions): Replace last fix with a better
15219 one (bug#10850).
15220
15221 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
15222
15223 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
15224 when it might call us back infinitely (bug#10797).
15225
15226 2012-02-23 Glenn Morris <rgm@gnu.org>
15227
15228 * minibuffer.el (completion-category-overrides): Doc fix.
15229
15230 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
15231
15232 * minibuffer.el (completion-table-with-context): Fix inf-loop.
15233 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
15234
15235 2012-02-23 Glenn Morris <rgm@gnu.org>
15236
15237 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
15238 (authors-obsolete-files-regexps, authors-ignored-files)
15239 (authors-ambiguous-files, authors-renamed-files-alist):
15240 Add more entries.
15241
15242 2012-02-23 Juri Linkov <juri@jurta.org>
15243
15244 * isearch.el (isearch-occur): Sync interactive spec with occur's
15245 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
15246
15247 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
15248
15249 2012-02-22 Juri Linkov <juri@jurta.org>
15250
15251 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
15252 (ucs-insert): Doc fix. Check for hex digits in the string.
15253 Don't display `nil' in the error message. (Bug#10857)
15254
15255 2012-02-22 Alan Mackenzie <acm@muc.de>
15256
15257 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
15258
15259 2012-02-22 Glenn Morris <rgm@gnu.org>
15260
15261 * ffap.el (ffap-c-path):
15262 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
15263
15264 2012-02-22 Chong Yidong <cyd@gnu.org>
15265
15266 * custom.el (load-theme): Doc fix.
15267
15268 2012-02-22 Glenn Morris <rgm@gnu.org>
15269
15270 * dired-x.el (dired-guess-shell-alist-default):
15271 Remove escape sequences from nroff output. (Bug#172)
15272
15273 2012-02-21 Glenn Morris <rgm@gnu.org>
15274
15275 * vc/emerge.el (emerge-defvar-local):
15276 Set `permanent-local' property rather than unused `preserved'.
15277
15278 * textmodes/picture.el (picture-delete-char): New alias.
15279 (picture-mode-map): Use it. (Bug#10860)
15280 (picture-mode): Doc fix.
15281
15282 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
15283
15284 * newcomment.el (uncomment-region-default): Remove unused binding.
15285
15286 2012-02-21 Glenn Morris <rgm@gnu.org>
15287
15288 * textmodes/picture.el (picture-motion, picture-motion-reverse)
15289 (picture-self-insert, picture-tab-chars): Doc fix.
15290 (picture-mode-map): Fix C-a, C-e.
15291
15292 2012-02-20 Glenn Morris <rgm@gnu.org>
15293
15294 * emacs-lisp/authors.el (authors-aliases): Add another entry.
15295
15296 2012-02-20 Leo Liu <sdl.web@gmail.com>
15297
15298 * icomplete.el (icomplete-completions): Check FROM arg before
15299 passing to substring (Bug#10850).
15300
15301 2012-02-19 Chong Yidong <cyd@gnu.org>
15302
15303 * comint.el: Require ansi-color.
15304 (comint-output-filter-functions): Add ansi-color-process-output.
15305
15306 * ansi-color.el: Don't set comint-output-filter-functions; it is
15307 now in the initial value defined in comint.el.
15308 (ansi-color-apply-face-function): New variable.
15309 (ansi-color-apply-on-region): Use it.
15310 (ansi-color-apply-overlay-face): New function.
15311
15312 * shell.el (shell): No need to require ansi-color.
15313 (shell-mode): Use ansi-color-apply-face-function to highlight
15314 color escapes using font-lock-face property (Bug#10835).
15315
15316 2012-02-19 Chong Yidong <cyd@gnu.org>
15317
15318 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
15319 mode-line formats (Bug#10839).
15320
15321 2012-02-18 Glenn Morris <rgm@gnu.org>
15322
15323 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
15324
15325 * mail/undigest.el (unforward-rmail-message): Doc fix.
15326
15327 * saveplace.el (save-place-ignore-files-regexp): Add :version.
15328
15329 2012-02-18 Eli Zaretskii <eliz@gnu.org>
15330
15331 * international/characters.el (script-list): Sync with the latest
15332 Unicode Character Database.
15333
15334 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
15335
15336 * international/titdic-cnv.el: Remove duplicate coding tag.
15337 * language/cham.el: Likewise.
15338 * language/tai-viet.el: Likewise.
15339
15340 2012-02-18 Glenn Morris <rgm@gnu.org>
15341
15342 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
15343 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
15344 (calendar-bahai-all-holidays-flag, calendar-other-dates):
15345 * calendar/diary-lib.el (diary-abbreviated-year-flag):
15346 * calendar/holidays.el (holiday-bahai-holidays)
15347 (calendar-holidays, list-holidays):
15348 Use utf-8 Bahá'í in doc-strings, menus, etc.
15349
15350 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
15351
15352 * saveplace.el (save-place-ignore-files-regexp): New variable
15353 allowing for excluding files from saving their location of point.
15354 The default value matches the temporary commit message editing
15355 files from Git, SVN, Bazaar, and Mercurial.
15356 (save-place-to-alist): Use it.
15357
15358 2012-02-17 Lawrence Mitchell <wence@gmx.li>
15359 Stefan Monnier <monnier@iro.umontreal.ca>
15360
15361 * newcomment.el (uncomment-region-default): Don't leave extra space
15362 when an arg is provided (bug#8150).
15363
15364 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
15365
15366 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
15367
15368 2012-02-17 Glenn Morris <rgm@gnu.org>
15369
15370 * net/socks.el: Require network-stream. (Bug#10599)
15371
15372 2012-02-17 Kenichi Handa <handa@m17n.org>
15373
15374 * international/charprop.el:
15375 * international/uni-name.el:
15376 * international/uni-old-name.el:
15377 * international/uni-comment.el: Regenerate.
15378
15379 2012-02-16 Glenn Morris <rgm@gnu.org>
15380
15381 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
15382 Interactively in calendar buffer, give an error if not on a date.
15383
15384 2012-02-15 Glenn Morris <rgm@gnu.org>
15385
15386 * shell.el (shell-delimiter-argument-list):
15387 Revert 2011-02-17 change. (Bug#8027)
15388
15389 2012-02-15 Chong Yidong <cyd@gnu.org>
15390
15391 * minibuffer.el (completion-at-point-functions): Doc fix.
15392
15393 * custom.el (defcustom): Doc fix; note use of defvar.
15394
15395 2012-02-15 Glenn Morris <rgm@gnu.org>
15396
15397 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
15398 Doc fixes.
15399
15400 2012-02-14 Glenn Morris <rgm@gnu.org>
15401
15402 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
15403
15404 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
15405
15406 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
15407 way the ports list is computed.
15408 (smtpmail-query-smtp-server): Prompt the user for a port number if
15409 we can't connect to any of the standard ports (bug#10810).
15410
15411 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
15412
15413 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
15414
15415 2012-02-13 Glenn Morris <rgm@gnu.org>
15416
15417 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
15418
15419 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
15420
15421 * net/gnutls.el (gnutls-trustfiles): New variable.
15422 (gnutls-negotiate): Use it.
15423
15424 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
15425
15426 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
15427 does its stuff if Gnus is running.
15428
15429 2012-02-13 Alan Mackenzie <acm@muc.de>
15430
15431 Fix a loop in c-set-fl-decl-start.
15432
15433 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
15434 c-backward-syntactic-ws actually moves backwards.
15435
15436 2012-02-13 Leo Liu <sdl.web@gmail.com>
15437
15438 * net/rcirc.el (rcirc-markup-attributes): Move point to the
15439 beginning so that all \C-o chars are removed.
15440
15441 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
15442
15443 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
15444
15445 2012-02-12 Alan Mackenzie <acm@muc.de>
15446
15447 Fix infinite loop with long macros.
15448 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
15449
15450 2012-02-12 Chong Yidong <cyd@gnu.org>
15451
15452 * window.el (display-buffer): Doc fix (Bug#10785).
15453
15454 2012-02-12 Glenn Morris <rgm@gnu.org>
15455
15456 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
15457 (x-disown-selection-internal, x-get-selection-internal):
15458 Sync docs with the xselect.c versions.
15459
15460 * allout-widgets.el: Add missing license notice.
15461
15462 2012-02-11 Glenn Morris <rgm@gnu.org>
15463
15464 * select.el (x-get-selection-internal, x-own-selection-internal)
15465 (x-disown-selection-internal):
15466 * x-dnd.el (x-get-selection-internal): Update declarations.
15467
15468 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
15469
15470 * window.el (window-sides-slots):
15471 * tool-bar.el (tool-bar-position):
15472 * term/xterm.el (xterm-extra-capabilities):
15473 * ses.el (ses-self-reference-early-detection):
15474 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
15475 (verilog-auto-wire-type)
15476 (verilog-auto-delete-trailing-whitespace)
15477 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
15478 (verilog-auto-tieoff-declaration):
15479 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
15480 (sql-oracle-statement-starters, sql-oracle-scan-on):
15481 * progmodes/prolog.el (prolog-align-comments-flag)
15482 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
15483 (prolog-left-indent-regexp, prolog-paren-indent-p)
15484 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
15485 (prolog-types, prolog-mode-specificators)
15486 (prolog-determinism-specificators, prolog-directives)
15487 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
15488 (prolog-electric-dot-flag)
15489 (prolog-electric-dot-full-predicate-template)
15490 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
15491 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
15492 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
15493 (prolog-program-switches, prolog-prompt-regexp)
15494 (prolog-debug-on-string, prolog-debug-off-string)
15495 (prolog-trace-on-string, prolog-trace-off-string)
15496 (prolog-zip-on-string, prolog-zip-off-string)
15497 (prolog-use-standard-consult-compile-method-flag)
15498 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
15499 (prolog-imenu-max-lines, prolog-info-predicate-index)
15500 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
15501 (prolog-char-quote-workaround):
15502 * progmodes/cc-vars.el (c-defun-tactic):
15503 * net/tramp.el (tramp-encoding-command-interactive)
15504 (tramp-local-end-of-line):
15505 * net/soap-client.el (soap-client):
15506 * net/netrc.el (netrc-file):
15507 * net/gnutls.el (gnutls):
15508 * minibuffer.el (completion-category-overrides)
15509 (completion-cycle-threshold)
15510 (completion-pcm-complete-word-inserts-delimiters):
15511 * man.el (Man-name-local-regexp):
15512 * mail/feedmail.el (feedmail-display-full-frame):
15513 * international/characters.el (glyphless-char-display-control):
15514 * eshell/em-ls.el (eshell-ls-date-format):
15515 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
15516 (lisp-lambda-list-keyword-parameter-indentation)
15517 (lisp-lambda-list-keyword-parameter-alignment):
15518 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
15519 * dired-x.el (dired-omit-verbose):
15520 * cus-theme.el (custom-theme-allow-multiple-selections):
15521 * calc/calc.el (calc-highlight-selections-with-faces)
15522 (calc-lu-field-reference, calc-lu-power-reference)
15523 (calc-note-threshold):
15524 * battery.el (battery-mode-line-limit):
15525 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
15526 (archive-7z-update):
15527 * allout.el (allout-prefixed-keybindings)
15528 (allout-unprefixed-keybindings)
15529 (allout-inhibit-auto-fill-on-headline)
15530 (allout-flattened-numbering-abbreviation):
15531 * allout-widgets.el (allout-widgets-auto-activation)
15532 (allout-widgets-icons-dark-subdir)
15533 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
15534 (allout-widgets-theme-dark-background)
15535 (allout-widgets-theme-light-background)
15536 (allout-widgets-item-image-properties-emacs)
15537 (allout-widgets-item-image-properties-xemacs)
15538 (allout-widgets-run-unit-tests-on-load)
15539 (allout-widgets-time-decoration-activity)
15540 (allout-widgets-hook-error-post-time)
15541 (allout-widgets-track-decoration):
15542 Add missing :version tags to new defcustoms and defgroups.
15543
15544 * progmodes/sql.el (sql-ansi-statement-starters)
15545 (sql-oracle-statement-starters): Add custom type.
15546
15547 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
15548 (prolog-system-version): Give it a type.
15549
15550 2012-02-11 Eli Zaretskii <eliz@gnu.org>
15551
15552 * term/pc-win.el (x-select-text, x-selection-owner-p)
15553 (x-own-selection-internal, x-disown-selection-internal)
15554 (x-get-selection-internal): Sync doc strings and argument lists
15555 with xselect.c, common-win.el and x-win.el. (Bug#10783)
15556
15557 2012-02-11 Leo Liu <sdl.web@gmail.com>
15558
15559 * progmodes/python.el (python-end-of-statement): Fix infinite
15560 loop. (Bug#10788)
15561
15562 2012-02-10 Glenn Morris <rgm@gnu.org>
15563
15564 * international/mule-cmds.el (unify-8859-on-encoding-mode)
15565 (unify-8859-on-decoding-mode): Properly mark as obsolete.
15566
15567 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
15568
15569 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
15570 about SMTP before checking the From header.
15571
15572 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
15573 into own function for reuse by emacsbug.el.
15574
15575 2012-02-10 Leo Liu <sdl.web@gmail.com>
15576
15577 * subr.el (condition-case-unless-debug): Rename from
15578 condition-case-no-debug. All callers changed.
15579 (with-demoted-errors): Fix caller.
15580
15581 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
15582 * nxml/rng-valid.el (rng-do-some-validation):
15583 * emacs-lisp/package.el (package-refresh-contents)
15584 (package-menu-execute):
15585 * desktop.el (desktop-create-buffer):
15586 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
15587
15588 2012-02-10 Glenn Morris <rgm@gnu.org>
15589
15590 * textmodes/bibtex.el:
15591 Add missing :version tags for new/changed defcustoms.
15592
15593 * files.el (remote-file-name-inhibit-cache): Doc fixes.
15594
15595 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
15596
15597 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
15598 (smtpmail-via-smtp): Use it, or fall back on the From address.
15599 (smtpmail-send-it): Ditto.
15600
15601 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
15602
15603 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
15604 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
15605 (byte-compile-tmp-var): New const.
15606 (byte-compile-defvar): Use it to minimize .elc size.
15607 Just use `defvar' rather than simulate it (bug#10761).
15608
15609 2012-02-09 Glenn Morris <rgm@gnu.org>
15610
15611 * files.el (rename-uniquely): Doc fix. (Bug#3806)
15612
15613 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
15614 Add :version tags.
15615
15616 * progmodes/compile.el (compilation-error-screen-columns)
15617 (compilation-first-column, compilation-filter-start): Doc fixes.
15618
15619 * vc/log-view.el (log-view-toggle-entry-display):
15620 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
15621
15622 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
15623 (report-emacs-bug-can-use-xdg-email):
15624 (report-emacs-bug-insert-to-mailer): Doc fixes.
15625 (report-emacs-bug): Message fix.
15626
15627 * net/browse-url.el (browse-url-can-use-xdg-open)
15628 (browse-url-xdg-open): Doc fixes.
15629
15630 * electric.el (electric-indent-mode, electric-pair-mode)
15631 (electric-layout-rules, electric-layout-mode): Doc fixes.
15632 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
15633
15634 2012-02-08 Martin Rudalics <rudalics@gmx.at>
15635
15636 * server.el (server-unselect-display): Don't inadvertently kill
15637 the current buffer. (Bug#10729)
15638
15639 2012-02-08 Glenn Morris <rgm@gnu.org>
15640
15641 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
15642 (sql-list-table): Doc fixes.
15643
15644 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
15645 Comment out (does nothing).
15646
15647 * completion.el (dynamic-completion-mode):
15648 * dirtrack.el (dirtrack-debug-mode):
15649 * electric.el (electric-layout-mode):
15650 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
15651 * face-remap.el (text-scale-mode, buffer-face-mode):
15652 * iimage.el (iimage-mode):
15653 * image-mode.el (image-transform-mode):
15654 * minibuffer.el (completion-in-region-mode):
15655 * scroll-lock.el (scroll-lock-mode):
15656 * simple.el (next-error-follow-minor-mode):
15657 * tar-mode.el (tar-subfile-mode):
15658 * tooltip.el (tooltip-mode):
15659 * vcursor.el (vcursor-use-vcursor-map):
15660 * wid-browse.el (widget-minor-mode):
15661 * emulation/tpu-edt.el (tpu-edt-mode):
15662 * emulation/tpu-extras.el (tpu-cursor-free-mode):
15663 * international/iso-ascii.el (iso-ascii-mode):
15664 * language/thai-util.el (thai-word-mode):
15665 * mail/supercite.el (sc-minor-mode):
15666 * net/goto-addr.el (goto-address-mode):
15667 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
15668 * progmodes/cwarn.el (cwarn-mode):
15669 * progmodes/flymake.el (flymake-mode):
15670 * progmodes/glasses.el (glasses-mode):
15671 * progmodes/hideshow.el (hs-minor-mode):
15672 * progmodes/pascal.el (pascal-outline-mode):
15673 * textmodes/enriched.el (enriched-mode):
15674 * vc/smerge-mode.el (smerge-mode):
15675 Doc fixes (minor mode argument).
15676
15677 2012-02-07 Eli Zaretskii <eliz@gnu.org>
15678
15679 * ls-lisp.el (ls-lisp-sanitize): New function.
15680 (ls-lisp-insert-directory): Use it to fix or remove any elements
15681 in file-alist with missing attributes. (Bug#4673)
15682
15683 2012-02-07 Alan Mackenzie <acm@muc.de>
15684
15685 Fix spurious recognition of c-in-knr-argdecl.
15686
15687 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
15688 putative K&R region.
15689
15690 2012-02-07 Alan Mackenzie <acm@muc.de>
15691
15692 * progmodes/cc-engine.el (c-forward-objc-directive):
15693 Prevent looping in "#pragma mark @implementation".
15694
15695 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
15696
15697 * notifications.el (notifications-on-closed-signal): Make `reason'
15698 optional. (Bug#10744)
15699
15700 2012-02-07 Glenn Morris <rgm@gnu.org>
15701
15702 * emacs-lisp/easy-mmode.el (define-minor-mode):
15703 Doc fixes for the macro and the mode it defines.
15704
15705 * image.el (imagemagick-types-inhibit): Doc fix.
15706
15707 * cus-start.el (imagemagick-render-type): Add it.
15708
15709 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
15710
15711 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
15712 Set the default at load time, too, so that `font-lock-fontify-buffer'
15713 can be called without setting up the entire mode first. This fixes
15714 a bug in `mm-inline-text' with C MIME parts.
15715
15716 2012-02-06 Chong Yidong <cyd@gnu.org>
15717
15718 * simple.el (list-processes--refresh): Delete exited processes
15719 (Bug#8094).
15720
15721 * comint.el (comint-next-prompt): next-single-char-property-change
15722 and prev-single-char-property-change never return nil (Bug#8657).
15723
15724 * custom.el (defcustom): Doc fix (Bug#9711).
15725
15726 2012-02-05 Chong Yidong <cyd@gnu.org>
15727
15728 * cus-edit.el (custom-variable-reset-backup): Quote the value
15729 before storing it in the customized-value property (Bug#6712).
15730 (custom-display): Add a customization type tag.
15731 (custom-buffer-create-internal): Improve tooltip message.
15732
15733 * wid-edit.el (widget-field-value-get): New optional arg to
15734 suppress trailing whitespace truncation.
15735 (character): Use it (Bug#2689).
15736
15737 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
15738
15739 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
15740 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
15741
15742 2012-02-05 Chong Yidong <cyd@gnu.org>
15743
15744 * cus-edit.el (custom-variable-value-create): For mismatched
15745 types, show the current value (Bug#7600).
15746
15747 * custom.el (defcustom): Doc fix.
15748
15749 2012-02-05 Glenn Morris <rgm@gnu.org>
15750
15751 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
15752
15753 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
15754
15755 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
15756 (pp-buffer): Use `ignore-errors', `looking-at-p'.
15757 (pp-last-sexp): Use `looking-at-p'.
15758
15759 2012-02-04 Glenn Morris <rgm@gnu.org>
15760
15761 * files.el (revert-buffer):
15762 Doc fix (mention revert-buffer-in-progress-p).
15763
15764 * emacs-lisp/ert-x.el (ert-simulate-command):
15765 Check deferred-action-list (which is obsolete) is bound.
15766
15767 * subr.el (with-wrapper-hook): Doc fixes.
15768
15769 * simple.el (filter-buffer-substring-functions)
15770 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
15771
15772 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
15773
15774 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
15775 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
15776
15777 2012-02-04 Leo Liu <sdl.web@gmail.com>
15778
15779 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
15780
15781 2012-02-04 Glenn Morris <rgm@gnu.org>
15782
15783 * image.el (image-extension-data): Add obsolete alias.
15784
15785 * isearch.el (isearch-update): Doc fix.
15786
15787 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
15788
15789 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
15790
15791 2012-02-03 Glenn Morris <rgm@gnu.org>
15792
15793 * image.el (image-animated-p): Doc fix. Use image-animated-types.
15794 (image-animate-timeout): Doc fix.
15795
15796 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
15797
15798 2012-02-02 Glenn Morris <rgm@gnu.org>
15799
15800 * server.el (server-auth-dir): Doc fix.
15801 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
15802
15803 * subr.el (run-mode-hooks): Doc fix.
15804
15805 2012-02-02 Juri Linkov <juri@jurta.org>
15806
15807 * image-mode.el (image-toggle-display-image): Remove tautological
15808 `major-mode' from the `derived-mode-p' test.
15809
15810 2012-02-02 Kenichi Handa <handa@m17n.org>
15811
15812 * composite.el (compose-region): Cancel previous change.
15813
15814 2012-02-02 Kenichi Handa <handa@m17n.org>
15815
15816 * composite.el (compose-region, compose-string): Signal error for
15817 a null string component (Bug#6988).
15818
15819 2012-02-01 Chong Yidong <cyd@gnu.org>
15820
15821 * view.el (view-buffer-other-window, view-buffer-other-frame):
15822 Handle special modes like view-buffer (Bug#10650).
15823 (view-buffer): Simplify.
15824
15825 * frame.el (set-frame-font): Tweak meaning of third argument.
15826
15827 * dynamic-setting.el (font-setting-change-default-font):
15828 Use set-frame-font (Bug#9982).
15829
15830 2012-02-01 Glenn Morris <rgm@gnu.org>
15831
15832 * progmodes/compile.el (compilation-internal-error-properties):
15833 Respect compilation-first-column in the "*compilation*" buffer.
15834
15835 * emacs-lisp/easy-mmode.el (define-minor-mode):
15836 Relax :variable's test for a named function.
15837
15838 2012-01-31 Alan Mackenzie <acm@muc.de>
15839
15840 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
15841 off by one error.
15842
15843 2012-01-31 Chong Yidong <cyd@gnu.org>
15844
15845 * frame.el (set-frame-font): New arg ALL-FRAMES.
15846
15847 * menu-bar.el (menu-set-font): Use set-frame-font.
15848
15849 * faces.el (face-spec-reset-face): Don't apply unspecified
15850 attribute values to the default face.
15851
15852 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
15853
15854 * progmodes/cwarn.el (cwarn): Remove dead link.
15855 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
15856 Remove * from defcustom docstrings.
15857 (turn-on-cwarn-mode): Make obsolete.
15858 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
15859 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
15860
15861 2012-01-31 Glenn Morris <rgm@gnu.org>
15862
15863 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
15864 Fix :variable handling of mode a symbol not equal to modefun.
15865 Allow named functions to be used as the cdr of :variable.
15866
15867 2012-01-30 Glenn Morris <rgm@gnu.org>
15868
15869 * emacs-lisp/authors.el (authors-fixed-entries):
15870 Remove reference to deleted file rnewspost.el.
15871
15872 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
15873
15874 * window.el (window-with-parameter): Remove unused variable `windows'.
15875 (window--side-check): Remove unused variable `code'.
15876 (window--resize-siblings): Remove unused variable `first'.
15877 (adjust-window-trailing-edge): Remove unused variable `failed'.
15878 (window-deletable-p, window--delete): Remove unused variable `buffer'.
15879 Use `let', not `let*'.
15880 (balance-windows-2): Remove unused variable `found'.
15881 (window--state-put-2): Remove unused variable `splits'.
15882 (window-state-put): Remove unused variable `selected'.
15883 (same-window-p): Use `string-match-p'.
15884 (display-buffer-assq-regexp): Remove unused variable `value'.
15885 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
15886 Mark argument ALIST as ignored.
15887 (pop-to-buffer): Remove unused variable `old-window'.
15888
15889 2012-01-29 Eli Zaretskii <eliz@gnu.org>
15890
15891 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
15892 and .lzma compressed files.
15893
15894 2012-01-29 Chong Yidong <cyd@gnu.org>
15895
15896 * frame.el (window-system-default-frame-alist): Doc fix.
15897
15898 * dynamic-setting.el (font-setting-change-default-font): Don't
15899 change the default face if SET-FONT argument is non-nil (Bug#9982).
15900
15901 2012-01-29 Samuel Bronson <naesten@gmail.com>
15902
15903 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
15904
15905 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
15906
15907 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
15908 breakpoints in files outside current directory (Bug#6098).
15909
15910 2012-01-29 Chong Yidong <cyd@gnu.org>
15911
15912 * progmodes/python.el: Require ansi-color at top-level.
15913
15914 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
15915 Define and use in Emacs Lisp mode (Bug#9360).
15916 (lisp-mode-abbrev-table): Add doc.
15917 (lisp-mode-variables): Don't set local-abbrev-table.
15918 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
15919
15920 2012-01-28 Roland Winkler <winkler@gnu.org>
15921
15922 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
15923
15924 2012-01-28 Roland Winkler <winkler@gnu.org>
15925
15926 * textmodes/bibtex.el (bibtex-entry-alist): New function.
15927 (bibtex-set-dialect): Use it. Either set global values of
15928 dialect-dependent variables or bind these variables buffer-locally
15929 (Bug#10254).
15930 (bibtex-mode): Call bibtex-set-dialect via
15931 hack-local-variables-hook.
15932 (bibtex-dialect): Update docstring.
15933 Add safe-local-variable predicate.
15934 (bibtex-entry-alist, bibtex-field-alist): Initialize via
15935 bibtex-set-dialect.
15936 (bibtex-mode-map): Define menu for each dialect.
15937 (bibtex-entry): Fix docstring.
15938
15939 2012-01-28 Chong Yidong <cyd@gnu.org>
15940
15941 * eshell/esh-arg.el (eshell-quote-argument): New function.
15942
15943 * eshell/esh-ext.el (eshell-invoke-batch-file):
15944 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
15945 first arg to eshell-parse-command (Bug#10523).
15946
15947 2012-01-28 Drew Adams <drew.adams@oracle.com>
15948
15949 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
15950 `default-directory' is non-nil.
15951
15952 2012-01-28 Eli Zaretskii <eliz@gnu.org>
15953
15954 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
15955 line that displays system-configuration-options. (Bug#9924)
15956
15957 2012-01-28 Drew Adams <drew.adams@oracle.com>
15958
15959 * descr-text.el (describe-char): Show information about POS, in
15960 addition to information about the character at POS. Improve and
15961 update the doc string. Change "code point" to "code point in
15962 charset", to avoid confusion with the character's Unicode code
15963 point shown above that. (Bug#10129)
15964
15965 2012-01-28 Eli Zaretskii <eliz@gnu.org>
15966
15967 * descr-text.el (describe-char): Show the raw character, not only
15968 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
15969 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
15970 for the reasons.
15971
15972 2012-01-28 Phil Hagelberg <phil@hagelb.org>
15973
15974 * emacs-lisp/package.el (package-install):
15975 Run package-refresh-contents if there is no archive yet (Bug#9798).
15976
15977 2012-01-28 Chong Yidong <cyd@gnu.org>
15978
15979 * emacs-lisp/package.el (package-maybe-load-descriptor):
15980 New function, split from package-maybe-load-descriptor.
15981 (package-maybe-load-descriptor): Use it.
15982 (package-download-transaction): Fully load required packages
15983 inside the loop, so that `require' calls work (Bug#10593).
15984 (package-install): No need to call package-initialize now.
15985
15986 2012-01-28 Chong Yidong <cyd@gnu.org>
15987
15988 * simple.el (deactivate-mark): Doc fix (Bug#8614).
15989
15990 * tooltip.el (tooltip-mode): Doc fix.
15991 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
15992
15993 * frame.el (set-cursor-color): Doc fix (Bug#352).
15994
15995 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
15996 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
15997
15998 * cus-edit.el (custom-buffer-create-internal): Fix search button
15999 action (Bug#10542).
16000 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
16001
16002 2012-01-27 Eduard Wiebe <usenet@pusto.de>
16003
16004 * dired.el (dired-mark-files-regexp):
16005 Include any subdirectory components. (Bug#10445)
16006
16007 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
16008
16009 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
16010 Handle [host]:port syntax. (Bug#10533)
16011
16012 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
16013
16014 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
16015
16016 2012-01-26 Glenn Morris <rgm@gnu.org>
16017
16018 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
16019 * term.el (term-raw-escape-map): Use Control-X-prefix.
16020 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
16021
16022 2012-01-25 Martin Rudalics <rudalics@gmx.at>
16023
16024 * window.el (window-state-get, window--state-get-1): Don't deal
16025 with fixed-sizeness of windows. Simplify code.
16026
16027 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
16028
16029 * window.el (window--state-get-1, window--state-put-2):
16030 Don't save and restore the mark.
16031
16032 2012-01-25 Chong Yidong <cyd@gnu.org>
16033
16034 * custom.el (custom-variable-p): Doc fix.
16035
16036 2012-01-25 Glenn Morris <rgm@gnu.org>
16037
16038 * dired.el (dired-goto-file): Handle some of the more common
16039 characters that `ls -b' escapes. (Bug#10596)
16040
16041 * progmodes/compile.el (compilation-next-error-function):
16042 Respect compilation-first-column in the "*compilation*" buffer.
16043 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
16044
16045 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
16046
16047 2012-01-24 Glenn Morris <rgm@gnu.org>
16048
16049 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
16050
16051 2012-01-24 Julien Danjou <julien@danjou.info>
16052
16053 * color.el (color-rgb-to-hsl): Fix value computing.
16054 (color-hue-to-rgb): New function.
16055 (color-hsl-to-rgb): New function.
16056 (color-clamp, color-saturate-hsl, color-saturate-name)
16057 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
16058 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
16059
16060 2012-01-24 Glenn Morris <rgm@gnu.org>
16061
16062 * vc/vc-rcs.el (vc-rcs-create-tag):
16063 * vc/vc-sccs.el (vc-sccs-create-tag):
16064 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
16065
16066 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
16067
16068 * eshell/esh-util.el (eshell-read-hosts-file):
16069 Skip comment lines. (Bug#10549)
16070
16071 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
16072
16073 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
16074
16075 * subr.el (display-delayed-warnings): Doc fix.
16076 (collapse-delayed-warnings): New function to collapse identical
16077 adjacent warnings.
16078 (delayed-warnings-hook): Add it.
16079
16080 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
16081
16082 * net/tramp.el (tramp-action-login): Set connection property "login-as".
16083
16084 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
16085 (tramp-default-user-alist): Don't add "pscp".
16086 (tramp-do-copy-or-rename-file-out-of-band): Use connection
16087 property "login-as", if set. (Bug#10530)
16088
16089 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
16090
16091 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
16092 "plink1" and "psftp". (Bug#10530)
16093
16094 2012-01-21 Kenichi Handa <handa@m17n.org>
16095
16096 * international/mule-cmds.el (prefer-coding-system): Show a
16097 warning message if the default value of file-name-coding-system
16098 was not changed.
16099
16100 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
16101
16102 * windmove.el (windmove-reference-loc):
16103 Fix windmove-reference-loc miscalculation.
16104
16105 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
16106
16107 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
16108 default unit.
16109
16110 2012-01-21 Glenn Morris <rgm@gnu.org>
16111
16112 * international/mule.el (auto-coding-alist): Add .tbz.
16113
16114 * files.el (local-enable-local-variables): Doc fix.
16115 (inhibit-local-variables-regexps): Rename from
16116 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
16117 Doc fix. Add some extensions from auto-coding-alist.
16118 (inhibit-local-variables-suffixes):
16119 Rename from inhibit-first-line-modes-suffixes. Doc fix.
16120 (inhibit-local-variables-p):
16121 New function, extracted from set-auto-mode-1.
16122 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
16123 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
16124 (hack-local-variables): Doc fix. Make the mode-only case
16125 respect enable-local-variables and friends.
16126 Respect inhibit-local-variables-regexps for file-locals, but
16127 not for directory-locals.
16128 (set-visited-file-name):
16129 Take account of inhibit-local-variables-regexps.
16130 Whether it applies may change as the file name is changed.
16131 * jka-cmpr-hook.el (jka-compr-install):
16132 * jka-compr.el (jka-compr-uninstall):
16133 Update for inhibit-first-line-modes-suffixes name change.
16134
16135 2012-01-20 Martin Rudalics <rudalics@gmx.at>
16136
16137 * help-macro.el (make-help-screen): Temporarily restore original
16138 binding for minor-mode-map-alist (Bug#10454).
16139
16140 2012-01-19 Julien Danjou <julien@danjou.info>
16141
16142 * color.el (color-name-to-rgb): Use the white color to find the max
16143 color component value and return correctly computed values.
16144 (color-name-to-rgb): Add missing float conversion for max value.
16145
16146 2012-01-19 Martin Rudalics <rudalics@gmx.at>
16147
16148 * window.el (window--state-get-1, window-state-get): Do not use
16149 special state value for window-persistent-parameters.
16150 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
16151 (window--state-put-2): Reset all window parameters to nil before
16152 assigning values of persistent parameters.
16153
16154 2012-01-18 Alan Mackenzie <acm@muc.de>
16155
16156 Eliminate sluggishness and hangs in fontification of "semicolon
16157 deserts".
16158
16159 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
16160 Change value 10000 -> 3000.
16161 (c-state-safe-place): Reformulate so it doesn't stack up an
16162 infinite number of wrong entries in c-state-nonlit-pos-cache.
16163 (c-determine-limit-get-base, c-determine-limit): New functions to
16164 determine backward search limits disregarding literals.
16165 (c-find-decl-spots): Amend commenting.
16166 (c-cheap-inside-bracelist-p): New function which detects "={".
16167
16168 * progmodes/cc-fonts.el
16169 (c-make-font-lock-BO-decl-search-function): Give a limit to a
16170 backward search.
16171 (c-font-lock-declarations): Fix an occurrence of point being
16172 undefined. Check additionally for point being in a bracelist or
16173 near a macro invocation without a semicolon so as to avoid a
16174 fruitless time consuming search for a declarator. Give a more
16175 precise search limit for declarators using the new
16176 c-determine-limit.
16177
16178 2012-01-18 Glenn Morris <rgm@gnu.org>
16179
16180 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
16181 (set-auto-mode): Doc fixes.
16182
16183 2012-01-17 Glenn Morris <rgm@gnu.org>
16184
16185 * isearch.el (search-nonincremental-instead): Fix doc typo.
16186
16187 * dired.el (dired-insert-directory): Handle newlines in directory name.
16188 (dired-build-subdir-alist): Unescape newlines in directory name.
16189
16190 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
16191
16192 * net/tramp.el (tramp-local-end-of-line): New defcustom.
16193 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
16194 (tramp-action-terminal): Use it. (Bug#10530)
16195
16196 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
16197
16198 * minibuffer.el (completion--replace): Strip properties (bug#10062).
16199
16200 2012-01-16 Martin Rudalics <rudalics@gmx.at>
16201
16202 * window.el (window-state-ignored-parameters): Remove variable.
16203 (window--state-get-1): Rename argument MARKERS to IGNORE.
16204 Handle persistent window parameters. Make copy of clone-of
16205 parameter only if requested. (Bug#10348)
16206 (window--state-put-2): Install a window parameter only if it has
16207 a non-nil value or an existing parameter shall be overwritten.
16208
16209 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
16210
16211 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
16212
16213 2012-01-14 Eli Zaretskii <eliz@gnu.org>
16214
16215 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
16216 don't pass the (nil) value of `upnode' to string-match.
16217
16218 2012-01-14 Chong Yidong <cyd@gnu.org>
16219
16220 * startup.el (command-line): Fix X resource class for cursorColor.
16221 Fix values recognized by the cursorBlink resource.
16222
16223 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
16224
16225 * epg.el (epg--make-temp-file): Avoid permission race condition
16226 when running on old Emacs versions (bug#10403).
16227
16228 2012-01-14 Glenn Morris <rgm@gnu.org>
16229
16230 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
16231
16232 2012-01-13 Alan Mackenzie <acm@muc.de>
16233
16234 Fix filling for when filladapt mode is enabled.
16235
16236 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
16237 c-mask-paragraph, pass in `fill-paragraph' rather than
16238 `fill-region-as-paragraph'. (This is a reversion of a previous
16239 change.)
16240 * progmodes/cc-mode.el (c-basic-common-init):
16241 Make fill-paragraph-handle-comment buffer local and set it to nil.
16242
16243 2012-01-13 Glenn Morris <rgm@gnu.org>
16244
16245 * dired.el (dired-switches-escape-p): New function.
16246 (dired-insert-directory): Use dired-switches-escape-p.
16247 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
16248
16249 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
16250
16251 2012-01-12 Glenn Morris <rgm@gnu.org>
16252
16253 * mail/sendmail.el (mail-mode): Update paragraph-separate for
16254 changes in adaptive-fill-regexp. (Bug#10276)
16255
16256 2012-01-11 Alan Mackenzie <acm@muc.de>
16257
16258 Fix Emacs bug #10463 - put `widen's around the critical spots.
16259
16260 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
16261 widen around each invocation of c-state-pp-to-literal. Remove an
16262 unused let variable.
16263
16264 2012-01-11 Glenn Morris <rgm@gnu.org>
16265
16266 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
16267 Doc fix.
16268
16269 2012-01-10 Chong Yidong <cyd@gnu.org>
16270
16271 * net/network-stream.el (network-stream-open-starttls):
16272 Avoid emitting a confusing error message when the server gives a bad
16273 response to the capability command.
16274
16275 2012-01-10 Glenn Morris <rgm@gnu.org>
16276
16277 * mail/unrmail.el (unrmail): Tweak previous change.
16278
16279 2012-01-09 Chong Yidong <cyd@gnu.org>
16280
16281 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
16282
16283 2012-01-08 Alan Mackenzie <acm@muc.de>
16284
16285 Optimize font locking in long enum definitions.
16286
16287 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
16288 arm to a cond form to handle enums.
16289 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
16290 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
16291
16292 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
16293
16294 * files.el (move-file-to-trash): Preserve default file modes on error.
16295 (Bug#10401)
16296
16297 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
16298
16299 * faces.el (set-face-attribute): Clarify the meaning of the nil
16300 frame (bug#10294).
16301
16302 * subr.el (with-selected-frame): Mention that the selected frame
16303 is restored (bug#9980).
16304
16305 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
16306 (bug#9759).
16307
16308 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
16309 (password-read): Don't autoload unused function.
16310
16311 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
16312
16313 * progmodes/which-func.el (which-func-mode): Turn into a
16314 non-interactive function and mark as obsolete (bug#10428).
16315
16316 2012-01-06 Chong Yidong <cyd@gnu.org>
16317
16318 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
16319 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
16320 functions, along with 1 and -1.
16321
16322 2012-01-06 Eli Zaretskii <eliz@gnu.org>
16323
16324 * time.el (display-time-load-average)
16325 (display-time-default-load-average): Doc fixes. See the thread
16326 starting at
16327 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
16328 for the details.
16329
16330 2012-01-06 Glenn Morris <rgm@gnu.org>
16331
16332 * mail/unrmail.el (unrmail): Give an explicit error if the input file
16333 has no messages. (Bug#10377)
16334
16335 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
16336 than Info-edit. (Bug#10385)
16337
16338 * time.el (display-time-load-average, display-time-next-load-average):
16339 Doc fixes.
16340
16341 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
16342 local setting of buffer-read-only to the input buffer. (Bug#10419)
16343
16344 * calendar/calendar.el (calendar-mode):
16345 Locally set scroll-margin to 0. (Bug#10379)
16346
16347 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
16348
16349 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
16350
16351 2012-01-05 Glenn Morris <rgm@gnu.org>
16352
16353 * eshell/em-unix.el (diff-no-select): Autoload it.
16354 (eshell/diff): Use diff-no-select. (Bug#10420)
16355
16356 2012-01-05 Chong Yidong <cyd@gnu.org>
16357
16358 * shell.el (shell-dynamic-complete-functions): Revert last change.
16359 (shell-command-completion-function): New function.
16360 (shell-completion-vars): Use it to implement
16361 shell-completion-execonly (Bug#10417).
16362
16363 * custom.el (enable-theme): Don't set custom-safe-themes.
16364
16365 * cus-theme.el (custom-theme-merge-theme):
16366 Ignore custom-enabled-themes and custom-safe-themes.
16367
16368 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
16369
16370 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
16371 first prompt in `sql-interacive-mode'.
16372 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
16373 keywords.
16374 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
16375 (sql-product-interactive): Bug fix: Set `sql-buffer' in
16376 context of original buffer. Invoke `sql-login-hook'.
16377
16378 2012-01-04 Eli Zaretskii <eliz@gnu.org>
16379
16380 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
16381 letters in cite-prefix.
16382
16383 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16384
16385 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
16386
16387 2012-01-03 Chong Yidong <cyd@gnu.org>
16388
16389 * shell.el (shell-dynamic-complete-functions):
16390 Put pcomplete-completions-at-point, so as to try
16391 comint-filename-completion first (Bug#10417).
16392
16393 2012-01-02 Richard Stallman <rms@gnu.org>
16394
16395 * battery.el (battery-status-function):
16396 Detect when to use battery-yeeloong-sysfs.
16397 (battery-echo-area-format): Add string for Yeeloong.
16398 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
16399 (battery-yeeloong-sysfs): New function.
16400
16401 2012-01-02 Chong Yidong <cyd@gnu.org>
16402
16403 * dirtrack.el (dirtrack-list): Eliminate unused third element.
16404 (dirtrack): Merge code for handling relative filenames in prompt
16405 from shell-dir-cookie-watcher.
16406 (dirtrack-debug-message): New arg to avoid excess format calls.
16407
16408 * shell.el (shell-dir-cookie-re): Variable deleted.
16409 (shell-dir-cookie-watcher): Function deleted.
16410 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
16411 with dirtrack-mode.
16412
16413 2012-01-01 Eli Zaretskii <eliz@gnu.org>
16414
16415 * term/w32-win.el (dynamic-library-alist) <gnutls>:
16416 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
16417 libgnutls-26.dll.
16418
16419 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
16420
16421 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
16422
16423 2011-12-31 Eli Zaretskii <eliz@gnu.org>
16424
16425 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
16426 headers of non-MIME messages, when rmail-enable-mime is non-nil.
16427
16428 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
16429
16430 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
16431 also for alternative shells.
16432 (tramp-open-connection-setup-interactive-shell): Check, whether
16433 the shell is a busybox.
16434 (tramp-send-command): Don't suppress multiple prompts for
16435 busyboxes, it hurts.
16436
16437 2011-12-28 Chong Yidong <cyd@gnu.org>
16438
16439 * progmodes/gdb-mi.el (gdb-get-source-file-list)
16440 (gdb-get-source-file): Move mode line update to
16441 gdb-get-source-file (Bug#10087).
16442
16443 2011-12-25 Chong Yidong <cyd@gnu.org>
16444
16445 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
16446 gud-gdb-marker-filter without taking it as an argument.
16447 (gud-gdb-run-command-fetch-lines): Caller changed.
16448 (gud-gdb-completion-function): New variable.
16449 (gud-gdb-completion-at-point): Use it.
16450 (gud-gdb-completions-1): Split from gud-gdb-completions.
16451
16452 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
16453 function as separate arguments.
16454 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
16455 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
16456 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
16457 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
16458 (gdb-stopped, def-gdb-auto-update-trigger)
16459 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
16460 (gdb-get-changed-registers, gdb-get-main-selected-frame):
16461 Callers changed.
16462 (gud-gdbmi-completions): New function.
16463 (gdb): Use it for generating the completion table.
16464
16465 2011-12-24 Alan Mackenzie <acm@muc.de>
16466
16467 Introduce a mechanism to widen the region used in context font
16468 locking. Use this to protect declarations from losing their contexts.
16469
16470 * progmodes/cc-langs.el (c-before-font-lock-functions):
16471 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
16472 (c-before-context-fontification-functions): New defvar, a list of
16473 functions to be run just before context (etc.) font locking.
16474
16475 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
16476 New, functionality extracted from
16477 c-neutralize-syntax-in-and-mark-CPP.
16478 (c-in-after-change-fontification): New variable.
16479 (c-after-change): Set c-in-after-change-fontification.
16480 (c-set-fl-decl-start): Rejig its interface, so it can be called
16481 from both after-change and context fontifying.
16482 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
16483 New functions.
16484 (c-standard-font-lock-fontify-region-function): New variable.
16485 (c-font-lock-fontify-region): New function.
16486
16487 2011-12-24 Juri Linkov <juri@jurta.org>
16488
16489 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
16490 (Bug#10348)
16491
16492 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
16493
16494 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
16495 existence of source file. (Bug#10325)
16496
16497 2011-12-23 Alan Mackenzie <acm@muc.de>
16498
16499 Fix unstable fontification inside templates.
16500
16501 * progmodes/cc-langs.el (c-before-font-lock-functions):
16502 Newly created from the singular version. The (c c++ objc) entry now
16503 additionally has c-set-fl-decl-start. The other languages (apart
16504 from AWK) have that as a single entry.
16505
16506 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
16507 The functionality for "local" declarations has been extracted to
16508 c-set-fl-decl-start.
16509
16510 * progmodes/cc-mode.el (c-common-init, c-after-change):
16511 Changes due to pluralisation of c-before-font-lock-functions.
16512 (c-set-fl-decl-start): New function, extracted from
16513 c-font-lock-enclosing-decls and enhanced.
16514
16515 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
16516
16517 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
16518
16519 2011-12-22 Juri Linkov <juri@jurta.org>
16520
16521 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
16522
16523 2011-12-22 Chong Yidong <cyd@gnu.org>
16524
16525 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
16526
16527 2011-12-21 Drew Adams <drew.adams@oracle.com>
16528
16529 * files.el (file-remote-p): Fix docstring. (Bug#10319)
16530
16531 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
16532
16533 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
16534
16535 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
16536
16537 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
16538 highlighting and support. Fix up comments for capitalization.
16539 (cfengine-mode-debug): New var.
16540 (cfengine3-mode): Change the modeline indicator to "CFE3".
16541 (cfengine3-font-lock-keywords): Improve defun highlighting.
16542 (cfengine2-actions): Rename from `cfengine-actions'.
16543 (cfengine2-font-lock-keywords): Rename from
16544 `cfengine-font-lock-keywords'.
16545 (cfengine2-imenu-expression): Rename from
16546 `cfengine-imenu-expression'.
16547 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
16548 (cfengine2-beginning-of-defun): Rename from
16549 `cfengine-beginning-of-defun'.
16550 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
16551 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
16552 (cfengine2-mode): Rename from `cfengine-mode'. Change the
16553 modeline indicator to "CFE2".
16554 (cfengine-mode): Defalias to `cfengine-auto-mode'.
16555 (cfengine-mode-abbrevs): Mark obsolete.
16556
16557 2011-12-21 Chong Yidong <cyd@gnu.org>
16558
16559 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
16560 filename argument.
16561
16562 2011-12-20 Martin Rudalics <rudalics@gmx.at>
16563
16564 * window.el (window-normalize-buffer-to-display): Remove.
16565 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
16566
16567 2011-12-19 Chong Yidong <cyd@gnu.org>
16568
16569 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
16570 Don't signal an error in a predicate function; return non-nil.
16571 (vc-dir-mark-file): Move the error here.
16572 (vc-dir-mark-unmark): If acting on the region, keep going if one
16573 of the entries cannot be marked/unmarked.
16574 (vc-dir-mark-all-files): If current entry is a directory, mark
16575 only child files, as documented.
16576
16577 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
16578
16579 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
16580 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
16581 addition.
16582
16583 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
16584
16585 * term/ns-win.el (ns-get-selection-internal)
16586 (ns-store-selection-internal): Declare.
16587 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
16588 Declare as obsolete.
16589 (ns-get-pasteboard, ns-paste-secondary):
16590 Use ns-get-selection-internal.
16591 (ns-set-pasteboard, ns-copy-including-secondary):
16592 Use ns-store-selection-internal.
16593
16594 2011-12-17 Chong Yidong <cyd@gnu.org>
16595
16596 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
16597 (vc-deduce-fileset): Doc fix.
16598
16599 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
16600
16601 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
16602
16603 2011-12-13 Sam Steingold <sds@gnu.org>
16604
16605 * man.el (Man-getpage-in-background): When running under a
16606 window-system, ignore $MANWIDTH and $COLUMNS.
16607
16608 2011-12-15 Kenichi Handa <handa@m17n.org>
16609
16610 * language/ethio-util.el: Change coding tag to utf-8-emacs.
16611 (setup-ethiopic-environment-internal): Comment out key-binding for
16612 ethio-toggle-punctuation.
16613
16614 2011-12-13 Alan Mackenzie <acm@muc.de>
16615
16616 Add the switch statement to AWK Mode.
16617
16618 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
16619 "default" to the keywords regexp.
16620
16621 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
16622 expression as the rest.
16623 (c-nonlabel-token-key): Allow string literals for AWK.
16624 Refactor for the other modes.
16625
16626 Large brace-block initialisation makes CC Mode slow: Fix.
16627 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
16628 routines. Limit backward searching in c-font-lock-enclosing.decl.
16629
16630 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
16631 pp-state and literal type in addition to the limits.
16632 (c-state-safe-place): New defun, extracted from c-state-literal-at.
16633 (c-state-literal-at): Use the above new defun.
16634 (c-slow-in-literal, c-fast-in-literal): Remove.
16635 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
16636
16637 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
16638 being in a literal. Add a limit for backward searching.
16639
16640 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
16641 c-slow-in-literal.
16642
16643 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
16644
16645 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
16646
16647 2011-12-13 Martin Rudalics <rudalics@gmx.at>
16648
16649 * window.el (delete-other-windows): Use correct frame in call to
16650 window-with-parameter.
16651
16652 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
16653
16654 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
16655 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
16656 (makefile-gmake-statements, makefile-makepp-statements):
16657 Use it and add new makepp keywords.
16658 (makefile-makepp-font-lock-keywords): Add new patterns.
16659 (makefile-match-function-end): Match new [...] and [[...]].
16660
16661 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
16662
16663 * ses.el (ses-call-printer-return, ses-cell-property-get)
16664 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
16665 (ses-create-cell-variable, ses-reset-header-string)
16666 (ses-cell-set-formula, ses-repair-cell-reference-all)
16667 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
16668 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
16669 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
16670 (ses-aset-with-undo, ses-load, ses-truncate-cell)
16671 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
16672 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
16673 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
16674 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
16675 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
16676 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
16677 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
16678 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
16679
16680 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
16681
16682 * ses.el: The overall change is to add cell renaming, that is
16683 setting fancy names for cell symbols other than name matching
16684 "\\`[A-Z]+[0-9]+\\'" regexp .
16685 (ses-create-cell-variable): New defun.
16686 (ses-relocate-formula): Relocate formulas only for cells the
16687 symbols of which are not renamed, i.e. symbols whose names do not
16688 match regexp "\\`[A-Z]+[0-9]+\\'".
16689 (ses-relocate-all): Relocate values only for cells the symbols of
16690 which are not renamed.
16691 (ses-load): Create cells variables as the (ses-cell ...) are read,
16692 in order to check row col consistency with cell symbol name only
16693 for cells that are not renamed.
16694 (ses-replace-name-in-formula): New defun.
16695 (ses-rename-cell): New defun.
16696
16697 2011-12-11 Chong Yidong <cyd@gnu.org>
16698
16699 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
16700 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
16701
16702 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
16703
16704 * window.el (other-window): Fix docstring.
16705
16706 2011-12-10 Eli Zaretskii <eliz@gnu.org>
16707
16708 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
16709 `from' or `to' address before taking its substring.
16710 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
16711 encoded name is chopped in the middle of the encoded string, and
16712 thus displayed encoded.
16713
16714 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
16715
16716 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
16717
16718 2011-12-10 Eli Zaretskii <eliz@gnu.org>
16719
16720 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
16721 to use texinfo-update-node and commands that call it if the
16722 Texinfo file uses @node lines without next/prev/up pointers.
16723 Correct outdated description about texinfo-master-menu.
16724 (texinfo-all-menus-update, texinfo-master-menu)
16725 (texinfo-update-node, texinfo-every-node-update)
16726 (texinfo-multiple-files-update): Doc fix. Warn against updating
16727 all the @node lines.
16728 (texinfo-master-menu): Only call texinfo-update-node if the prefix
16729 argument is numeric. Explain better in the doc string what the
16730 function really does.
16731 (texinfo-insert-master-menu-list): Improve the error message
16732 displayed if there's no menu in the Top node.
16733 (Bug#2975) See also this thread:
16734 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
16735
16736 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
16737
16738 * speedbar.el (speedbar-supported-extension-expressions):
16739 Add .adb and .ads, commonly used for Ada source code (bug#10256).
16740
16741 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
16742
16743 * printing.el (pr-mode-alist):
16744 * simple.el (filter-buffer-substring-functions)
16745 (completion-list-insert-choice-function):
16746 * window.el (window-with-parameter, window-atom-root)
16747 (window-sides-slots, window-size-fixed, window-min-delta)
16748 (window-max-delta, window--resize-mini-window)
16749 (window--resize-child-windows-normal, window-tree)
16750 (delete-other-windows, quit-window, split-window)
16751 (display-buffer-record-window, special-display-buffer-names)
16752 (special-display-regexps, special-display-popup-frame)
16753 (same-window-p, split-window-sensibly)
16754 (display-buffer-overriding-action, display-buffer-alist)
16755 (display-buffer-base-action, display-buffer, switch-to-buffer)
16756 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
16757 (fit-window-to-buffer, recenter-positions)
16758 (mouse-autoselect-window-state, mouse-autoselect-window-select):
16759 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
16760 and remove unneeded backslashes in docstrings.
16761
16762 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
16763
16764 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
16765
16766 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
16767 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
16768 end in ".mk".
16769 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
16770 when reading the makefile (bug#10116).
16771
16772 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
16773
16774 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
16775 (bug#10116).
16776
16777 2011-12-06 Glenn Morris <rgm@gnu.org>
16778
16779 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
16780
16781 2011-12-06 Chong Yidong <cyd@gnu.org>
16782
16783 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
16784
16785 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
16786
16787 * textmodes/table.el (table-shorten-cell): Fix typo.
16788
16789 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
16790
16791 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
16792
16793 2011-12-05 Eli Zaretskii <eliz@gnu.org>
16794
16795 * descr-text.el (describe-char): Fix display of strong
16796 right-to-left characters and directional embeddings and overrides.
16797
16798 * simple.el (what-cursor-position): Fix display of codepoints of
16799 strong right-to-left characters.
16800
16801 2011-12-05 Chong Yidong <cyd@gnu.org>
16802
16803 * faces.el (read-color): Doc fix.
16804
16805 2011-12-05 Glenn Morris <rgm@gnu.org>
16806
16807 * align.el (align--set-marker): Add doc-string.
16808 Don't try to move something that is not a marker. (Bug#10216)
16809
16810 2011-12-04 Glenn Morris <rgm@gnu.org>
16811
16812 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
16813 overly zealous deletion of trailing whitespace.
16814
16815 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
16816
16817 * server.el (server-delete-client): On Windows, do not try to delete
16818 the only terminal.
16819 (server-process-filter): On Windows, treat requests for a tty frame as
16820 if they were for a GUI frame if the running server is in GUI mode.
16821
16822 2011-12-03 Glenn Morris <rgm@gnu.org>
16823
16824 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
16825
16826 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
16827
16828 * electric.el: Streamline electric-indent's hook.
16829 (electric-indent-chars): Revert to simple list.
16830 (electric-indent-functions): New var.
16831 (electric-indent-post-self-insert-function): Use it.
16832
16833 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
16834 there's no inferior buffer (bug#10196).
16835 (prolog-consult-compile): Don't use toggle-read-only.
16836
16837 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
16838
16839 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
16840 interrupt. (Bug#10187)
16841
16842 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
16843
16844 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
16845 (bug#9160).
16846
16847 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
16848 (bug#10191).
16849
16850 2011-12-02 Juri Linkov <juri@jurta.org>
16851
16852 * info.el (Info-search): Display "end of manual" when Isearch
16853 reaches the end of single-file Info manual. (Bug#9918)
16854
16855 2011-12-02 Eli Zaretskii <eliz@gnu.org>
16856
16857 * isearch.el (isearch-message-prefix): Run the input method part
16858 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
16859
16860 2011-12-02 Juri Linkov <juri@jurta.org>
16861
16862 * isearch.el (isearch-occur): Use `word-search-regexp' for
16863 `isearch-word'.
16864 (isearch-search-and-update): Add condition for `isearch-word' and
16865 call `word-search-regexp'. (Bug#10145)
16866
16867 2011-12-01 Glenn Morris <rgm@gnu.org>
16868
16869 * eshell/em-hist.el (eshell-hist-initialize):
16870 Handle eshell-history-size nil and HISTSIZE set or unset.
16871 (eshell-history-file-name, eshell-history-size): Fix custom type.
16872
16873 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
16874
16875 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
16876
16877 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
16878
16879 * progmodes/verilog-mode.el (verilog-pretty-expr):
16880 Rework verilog-pretty-expr to handle new assignment operators in system
16881 verilog, such as += *= and the like.
16882 (verilog-assignment-operator-re): Regular expression to find the
16883 assigment operator in a verilog assignment.
16884 (verilog-assignment-operation-re): Regular expression to find an
16885 assignment statement for pretty-expr.
16886 (verilog-in-attribute-p): Query returns true if point is in an
16887 attribute context; used to skip these for expression line up from
16888 pretty-expr.
16889 (verilog-in-parameter-p): Query returns true if point is in an
16890 parameter definition context; used to skip these for expression
16891 line up from pretty-expr.
16892 (verilog-in-parenthesis-p): Query returns true if point is in a
16893 parenthetical expression, specifically ( ) but not [ ] or { };
16894 used by pretty-expr.
16895 (verilog-just-one-space): If there is no space, don't add one.
16896 (verilog-get-lineup-indent-2): Specifically skip just attribute
16897 contexts for expression lineup, rather than skipping all
16898 parenthetical expressions.
16899 (verilog-calculate-indent): Fix comment, and fix indent.
16900 (verilog-do-indent): Indent declarations in lists (suggested by
16901 Joachim Lechner).
16902 (verilog-mode-abbrev-table): Populate abbrev mode with the various
16903 skeleton items.
16904 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
16905 by Alain Mellan).
16906
16907 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
16908
16909 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
16910 parameters with embedded comments. Reported by Ray Stevens.
16911 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
16912 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
16913 Reported by Tim Holt.
16914 (verilog-auto): Fix AUTOing a upper module then AUTOing module
16915 instantiated by upper module causing wrong expansion until AUTOed a
16916 second time. Reported by K C Buckenmaier.
16917 (verilog-diff-auto): Fix showing .* as a difference when
16918 `verilog-auto-star-save' off. Reported by Dan Dever.
16919 (verilog-auto-reset, verilog-read-always-signals)
16920 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
16921 temporary signals in reset list if
16922 verilog-auto-reset-blocking-in-non is nil, and match assignment
16923 style to each signal's assignment type, bug381.
16924 Reported by Thomas Esposito.
16925 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
16926 (verilog-uvm-statement-re): Support UVM indentation and
16927 highlighting, with old OVM keywords only.
16928 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
16929 Support AUTOTIEOFF creating non-wire data types.
16930 Suggested by Jonathan Greenlaw.
16931 (verilog-auto-insert-lisp, verilog-delete-to-paren)
16932 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
16933 (verilog-inject-sense, verilog-read-inst-pins)
16934 (verilog-read-sub-decls, verilog-read-sub-decls-line):
16935 Fix mismatching parenthesis inside commented out code when deleting
16936 AUTOINST, bug383. Reported by Jonathan Greenlaw.
16937 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
16938 non-numeric vector width. Reported by Alex Reed.
16939 (verilog-auto-ascii-enum): Add "onehot" option to work around not
16940 detecting signals with parameter widths. Reported by Alex Reed.
16941 (verilog-auto-delete-trailing-whitespace):
16942 With `verilog-auto-delete-trailing-whitespace' remove trailing
16943 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
16944 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
16945 Fix verilog-scan-cache corruption when running user AUTO expansion
16946 hooks that call indentation routines.
16947 (verilog-simplify-range-expression): Fix typo ignoring lower case
16948 identifiers.
16949 (verilog-delete-auto): Fix delete-autos to also remove user created
16950 automatics, as long as they start with AUTO.
16951 (verilog-batch-diff-auto, verilog-diff-auto)
16952 (verilog-diff-function): Add `verilog-diff-auto' and bind to
16953 "C-c?" to report differences in AUTO expansion, ignoring spaces.
16954 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
16955 (verilog-in-paren-quick, verilog-re-search-backward-quick)
16956 (verilog-re-search-forward-quick, verilog-syntax-ppss):
16957 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
16958 is disabled and its cache will get corrupt, causing AUTOS not to
16959 expand. Instead use only -quick functions.
16960 (verilog-scan-region): Fix scanning over escaped quotes.
16961 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
16962 (verilog-re-search-backward-quick)
16963 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
16964 related functions now ignore strings, to fix misparsing of strings
16965 with magic comments embedded in them.
16966 (verilog-read-auto-template):
16967 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
16968 Reported by Brad Dobbie.
16969 (verilog-read-auto-template):
16970 Fix 'verilog-auto-inst-template-numbers' with comments.
16971 Reported by Brad Dobbie.
16972 (verilog-auto-inst, verilog-auto-inst-param)
16973 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
16974 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
16975 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
16976 debugging templates without merge conflicts, bug357.
16977 Reported by Brad Dobbie.
16978 (verilog-read-auto-template):
16979 Fix verilog-auto-inst-template-numbers with multiple templates.
16980 Reported by Brad Dobbie.
16981 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
16982 abbrevs so user won't be asked to save.
16983 (verilog-read-auto-lisp-present): Fix to start at beginning of
16984 buffer in case called outside of verilog-auto.
16985 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
16986 to "X-2". Reported by Matthew Myers.
16987 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
16988 all inputs from module templates. Reported by Leith Johnson.
16989 (verilog-module-inside-filename-p): Fix locating programs as with
16990 modules.
16991 (verilog-auto-inst-port): Fix vl-width expressions when using
16992 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
16993 (verilog-decls-get-regs, verilog-decls-get-signals,
16994 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
16995 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
16996 verilog-read-decls): Combine reg and wire structures into one var
16997 structure to represent SystemVerilog concepts.
16998 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
16999 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
17000 (verilog-auto-wire-type, verilog-insert-definition):
17001 Add verilog-auto-wire-type and AUTOLOGIC to support using
17002 SystemVerilog "logic" keyword instead of "wire"/"reg".
17003 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
17004 to declares outputs that also have assignments (presumably in an
17005 ifdef or generate if so there's not a driver conflict).
17006 Reported by Matthew Myers.
17007 (verilog-auto-declare-nettype, verilog-insert-definition):
17008 Add verilog-auto-declare-nettype to fix declarations using
17009 `default_nettype none. Reported by Julian Gorfajn.
17010 (verilog-read-always-signals-recurse, verilog-read-decls)
17011 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
17012 malformed end statement, bug325. Reported by Joshua Wise and
17013 Andrew Drake.
17014 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
17015 (verilog-inst-comment-re): Fix not deleting Interfaced comment
17016 when expanding .* in interfaces, bug320.
17017 Reported by Pierre-David Pfister.
17018 (verilog-read-module-name): Fix import statements between module
17019 name and open parenthesis, bug317.
17020 Reported by Pierre-David Pfister.
17021 (verilog-simplify-range-expression): Fix simplification of
17022 multiplications inside AUTOWIRE connections, bug303.
17023 (verilog-auto-inst-port): Support parameter expansion in
17024 multidimensional arrays.
17025 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
17026 after "assert property". Reported by Julian Gorfajn.
17027 (verilog-simplify-range-expression): Fix "couldn't merge" errors
17028 with multiplication, bug303.
17029 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
17030 Reported by Jan Frode Lonnum.
17031
17032 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
17033
17034 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
17035 (hfy-shell-file-name, hfy-shell):
17036 * international/fontset.el (x-decompose-font-name): Fix typos.
17037
17038 2011-11-29 Ken Brown <kbrown@cornell.edu>
17039
17040 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
17041 (gdb-version): Remove defvar.
17042 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
17043 (gdb-gud-context-command, gdb-non-stop-handler)
17044 (gdb-current-context-command, gdb-stopped): Use it.
17045 (gdb-init-1): Enable pretty printing here.
17046 (gdb-non-stop-handler): Don't enable pretty-printing here.
17047 Check to see if the target supports non-stop mode; if not, turn off
17048 non-stop mode. Use the following.
17049 (gdb-check-target-async): New defun.
17050 (gud-watch, gdb-stopped): Fix whitespace.
17051 (gdb-get-source-file): Don't try to display the source file if
17052 `gdb-main-file' is nil.
17053
17054 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
17055
17056 * align.el: Try to generate fewer markers (bug#10047).
17057 (align--set-marker): New macro.
17058 (align-region): Use it.
17059
17060 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
17061
17062 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
17063
17064 2011-11-29 Chong Yidong <cyd@gnu.org>
17065
17066 * indent.el (indent-for-tab-command, indent-according-to-mode):
17067 Doc fix.
17068 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
17069
17070 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
17071
17072 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
17073 aware of remote file names. (Bug#10124)
17074
17075 2011-11-29 Chong Yidong <cyd@gnu.org>
17076
17077 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
17078
17079 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
17080
17081 * files.el (find-file): Don't use force-same-window (bug#10144).
17082 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
17083 use pop-to-buffer if the selected window can't be used.
17084 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
17085
17086 2011-11-28 Eli Zaretskii <eliz@gnu.org>
17087
17088 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
17089 special-mode-map.
17090
17091 2011-11-28 Chong Yidong <cyd@gnu.org>
17092
17093 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
17094
17095 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
17096
17097 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
17098 gdb-get-source-file-list on gdb-create-source-file-list.
17099
17100 2011-11-26 Eli Zaretskii <eliz@gnu.org>
17101
17102 * whitespace.el (whitespace-newline): Use a different foreground
17103 color for 16-color light-background displays.
17104
17105 2011-11-24 Chong Yidong <cyd@gnu.org>
17106
17107 * window.el (display-buffer--special-action): Doc fix.
17108
17109 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
17110
17111 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
17112 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
17113 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
17114 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
17115 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
17116 (avl-tree-stack-first):
17117 * emacs-lisp/cconv.el (cconv--analyse-use):
17118 * net/gnutls.el (gnutls-negotiate): Fix typos.
17119
17120 2011-11-24 Glenn Morris <rgm@gnu.org>
17121
17122 * lpr.el (lpr-windows-system, lpr-lp-system):
17123 * mail/binhex.el (binhex-begin-line):
17124 * progmodes/grep.el (grep-history, grep-find-history):
17125 * textmodes/flyspell.el:
17126 * vc/pcvs-defs.el (cvs-global-menu):
17127 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
17128 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
17129 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
17130
17131 * net/tls.el: Fix case of "GnuTLS".
17132
17133 * paths.el (rmail-file-name): Format doc-string for make-docfile.
17134
17135 * version.el (emacs-build-system): Give it a doc-string.
17136
17137 2011-11-24 Juri Linkov <juri@jurta.org>
17138
17139 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
17140
17141 2011-11-24 Glenn Morris <rgm@gnu.org>
17142
17143 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
17144 if called on a non-mime message just toggle the headers. (Bug#8006)
17145
17146 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
17147
17148 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
17149 (allout-lead-with-comment-string, allout-structure-deleted-hook)
17150 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
17151 (allout-rebullet-heading, allout-open-sibtopic)
17152 (allout-toggle-current-subtree-encryption)
17153 (allout-toggle-subtree-encryption, allout-encrypt-string)
17154 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
17155 (allout-distinctive-bullets-string, allout-auto-activation):
17156 * window.el (window-normalize-buffer-to-display):
17157 * progmodes/verilog-mode.el (verilog-batch-indent):
17158 * textmodes/bibtex.el (bibtex-field-braces-opt)
17159 (bibtex-field-strings-opt):
17160 * vc/cvs-status.el (cvs-tree-merge):
17161 Fix typos.
17162
17163 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
17164
17165 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
17166 `non-essential' to t, in order to avoid remote connections.
17167
17168 2011-11-23 Eli Zaretskii <eliz@gnu.org>
17169
17170 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
17171 On MS-DOS and MS-Windows, compare with loaddefs.el
17172 case-insensitively.
17173
17174 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
17175
17176 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
17177
17178 2011-11-23 Glenn Morris <rgm@gnu.org>
17179
17180 * paths.el (rmail-file-name): Reformat the doc-string so that it
17181 is picked up.
17182
17183 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
17184 (rmail-auto-file): Ignore case in the "special" field names,
17185 as mail-fetch-field does for all others.
17186
17187 * mail/rmail.el (rmail-forward):
17188 * mail/rmailkwd.el (rmail-set-label):
17189 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
17190 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
17191
17192 * mail/rmail.el (rmail-current-message): Doc fix.
17193
17194 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
17195
17196 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
17197
17198 * server.el (server-eval-and-print): Allow C-g (bug#6585).
17199
17200 2011-11-22 Glenn Morris <rgm@gnu.org>
17201
17202 * mail/rmailmm.el (test-rmail-mime-handler)
17203 (test-rmail-mime-bulk-handler)
17204 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
17205
17206 2011-11-21 Juri Linkov <juri@jurta.org>
17207
17208 * calc/calc.el (calc-read-key-sequence):
17209 Let-bind `input-method-function' to nil. (Bug#10018)
17210
17211 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
17212
17213 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
17214 Tell the caller that the next line needs recomputation, even
17215 though it doesn't start a sexp (bug#10094).
17216
17217 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
17218
17219 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
17220
17221 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
17222
17223 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
17224 Use force-same-window.
17225
17226 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
17227
17228 * descr-text.el (describe-char-unicode-data):
17229 * json.el (json-string-escape):
17230 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
17231 (Footnote-unicode, Footnote-style-p):
17232 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
17233
17234 2011-11-20 Chong Yidong <cyd@gnu.org>
17235
17236 * window.el (replace-buffer-in-windows): Restore interactive spec.
17237
17238 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
17239
17240 * electric.el (electric-indent-mode): Fix last change (too optimistic).
17241
17242 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
17243 (byte-compile-global-not-obsolete-vars): New var.
17244 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
17245 Use it.
17246 (byte-compile-warn-obsolete): Align text with the one in *Help*.
17247
17248 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
17249
17250 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
17251 * progmodes/pascal.el (electric-pascal-equal):
17252 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
17253 * xml.el (xml-substitute-special): Fix typos.
17254
17255 2011-11-20 Glenn Morris <rgm@gnu.org>
17256
17257 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
17258 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
17259 Doc fixes.
17260 (rmail-decode-mime-charset): Mark as obsolete.
17261
17262 * mail/rmailsum.el (rmail-message-regexp-p-1):
17263 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
17264 Before using mime functions, check they are set. (Bug#10077)
17265
17266 2011-11-19 Juri Linkov <juri@jurta.org>
17267
17268 * info.el (Info-finder-find-node): Use `package--builtins' instead
17269 of `package-alist'. Use node names formed by the pattern "Keyword "
17270 and the keyword name.
17271
17272 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
17273
17274 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
17275
17276 2011-11-19 Juri Linkov <juri@jurta.org>
17277
17278 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
17279 that calls `revert-buffer' on all Info buffers. (Bug#9915)
17280 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
17281 `old-history', `old-history-forward'. Add let-binding
17282 `window-selected'. Remove calls to `kill-buffer',
17283 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
17284 before calling `Info-find-node', so `Info-find-node-2' will reread
17285 the Info file. Restore window positions only when `window-selected'
17286 is non-nil.
17287
17288 2011-11-19 Juri Linkov <juri@jurta.org>
17289
17290 * isearch.el (isearch-lazy-highlight-new-loop):
17291 Remove condition `(not isearch-error)'. (Bug#9918)
17292
17293 * misearch.el (multi-isearch-search-fun): Add condition
17294 `(not bound)' to ignore lazy-highlighting search.
17295 Add the search-failed message "end of multi" when the end of
17296 multi-sequence is reached. Uncapitalize the search-failed
17297 message "Repeat for next buffer".
17298
17299 * info.el (Info-search): Add the search-failed message
17300 "end of the manual" when the end of the manual is reached
17301 in Isearch mode.
17302
17303 2011-11-19 Juri Linkov <juri@jurta.org>
17304
17305 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
17306 Use non-destructive `remove' instead of `delete' because
17307 `Info-history-list' stored to `Info-isearch-initial-history-list' in
17308 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
17309
17310 2011-11-19 Juri Linkov <juri@jurta.org>
17311
17312 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
17313 to nil instead of binding `search-ring' and `regexp-search-ring'.
17314 (Bug#9185)
17315
17316 2011-11-19 Eli Zaretskii <eliz@gnu.org>
17317
17318 * simple.el (line-move): Force movement by logical lines for any
17319 hscrolled window, not only when auto-hscroll-mode is on.
17320 (line-move-visual): Update doc string to that effect. (Bug#10076)
17321
17322 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
17323
17324 * language/european.el (macintosh): Define as alias for mac-roman.
17325
17326 2011-11-19 Eli Zaretskii <eliz@gnu.org>
17327
17328 * mail/rmailmm.el (rmail-mime-display-header)
17329 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
17330 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
17331 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
17332 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
17333 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
17334 of a raw aref.
17335 (rmail-mime-entity-segment): To get past the tagline, move forward
17336 2 more lines, to account for the 2 empty lines that precede and
17337 follow the line with the buttons.
17338 (rmail-mime-update-tagline): Move one more line, to get past the
17339 empty line that follows the buttons in the tagline. (Bug#9520)
17340
17341 2011-11-19 Martin Rudalics <rudalics@gmx.at>
17342
17343 * window.el (window-max-delta-1, window-min-delta-1)
17344 (window-min-size-1, window-state-get-1, window-state-put-1)
17345 (window-state-put-2): Use "window--" prefix.
17346
17347 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
17348
17349 * emacs-lisp/smie.el: Improve warnings and conflict detection.
17350 (smie-warning-count): New var.
17351 (smie-set-prec2tab): Use it.
17352 (smie-bnf->prec2): Improve warnings. Add docstring.
17353 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
17354 (smie-bnf--set-class): New function.
17355 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
17356 corner case.
17357
17358 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
17359 (compilation-error-properties, compilation-move-to-column):
17360 Handle compilation-first-column while in the target buffer.
17361
17362 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
17363 Don't hardcode point-min==1.
17364
17365 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
17366 (eshell-rewrite-for-command): Remove workaround.
17367 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
17368 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
17369 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
17370
17371 * files-x.el (modify-file-local-variable): Obey commenting conventions.
17372
17373 2011-11-17 Glenn Morris <rgm@gnu.org>
17374
17375 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
17376 Ignore buffer-local generated-autoload-file if it is the same
17377 as the global value. (Bug#10049)
17378
17379 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
17380
17381 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
17382 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
17383 (reftex-toc-previous-heading, reftex-toc-max-level)
17384 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
17385 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
17386 (reftex-toc-do-promote, reftex-toc-promote-prepare)
17387 (reftex-toc-promote-action, reftex-toc-extract-section-number)
17388 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
17389 (reftex-toc-rename-label, reftex-toc-visit-location)
17390 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
17391 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
17392 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
17393 leaving "*toc*" only for references to the buffer.
17394
17395 2011-11-17 Martin Rudalics <rudalics@gmx.at>
17396
17397 * window.el (window-resize, delete-window, split-window):
17398 Replace window-splits by window-combination-resize.
17399 * cus-start.el (window-splits): Replace by window-combination-resize.
17400
17401 2011-11-17 Glenn Morris <rgm@gnu.org>
17402
17403 * progmodes/sh-script.el (sh-font-lock-keywords-var):
17404 Make bash entry derive from sh entry, not shell entry.
17405
17406 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
17407
17408 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
17409 local file name.
17410
17411 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
17412
17413 * menu-bar.el (menu-bar-file-menu):
17414 * printing.el (pr-ps-utility):
17415 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
17416 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
17417 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
17418 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
17419 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
17420 (icalendar--convert-cyclic-to-ical)
17421 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
17422 (icalendar--convert-ical-to-diary)
17423 (icalendar--convert-recurring-to-diary)
17424 (icalendar--convert-non-recurring-all-day-to-diary)
17425 (icalendar-import-format-sample):
17426 * progmodes/idlw-shell.el (idlwave-shell-mode):
17427 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
17428 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
17429 (vhdl-ps-print-init): Fix typos.
17430
17431 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
17432
17433 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
17434 FSF and collapse date sequence, obscure author/maintainer email address
17435 better, remove extra version line, track relocation of author's webpage.
17436
17437 * progmodes/python.el (python-pdbtrack-input-prompt)
17438 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
17439 regular python pdb prompts. Adjustments shamelessly taken exactly as
17440 suggested in EmacsWiki page (tiny change):
17441 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
17442
17443 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
17444
17445 * expand.el (expand-pos, expand-index, expand-point):
17446 Remove redundant info from docstring.
17447 (expand-add-abbrevs): Doc fix.
17448 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
17449 (expand-sample-perl-mode-expand-list): Fix typos.
17450
17451 * net/dbus.el (dbus-event-member-name):
17452 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
17453 * term/pc-win.el (msdos-create-frame-with-faces):
17454 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
17455
17456 2011-11-16 Martin Rudalics <rudalics@gmx.at>
17457
17458 * window.el (split-window, window-state-get-1)
17459 (window-state-put-1, window-state-put-2): Rename occurrences of
17460 window-nest to window-combination-limit.
17461 * cus-start.el (window-nest): Rename to window-combination-limit.
17462
17463 2011-11-16 Chong Yidong <cyd@gnu.org>
17464
17465 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
17466 regexp (Bug#10033).
17467
17468 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
17469
17470 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
17471 `completing-read' will remove *Completions* and will preserve
17472 current-buffer for us.
17473 (tmm-add-prompt): Users of *Completions* will always (re)set its
17474 major mode.
17475 (tmm-old-comp-map): Remove.
17476
17477 2011-11-16 Glenn Morris <rgm@gnu.org>
17478
17479 * mail/rmailedit.el: Require rmailmm when compiling.
17480 (rmail-old-mime-state): New declaration.
17481 (rmail-edit-current-message): If editing a mime message,
17482 edit the "raw" message from the mbox buffer.
17483 (rmail-cease-edit): Handle mime messages. (Bug#9840)
17484
17485 2011-11-15 Glenn Morris <rgm@gnu.org>
17486
17487 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
17488 which wasn't being used. Add optional arg to force given state.
17489 (rmail-mime): Add optional arg to force given state.
17490
17491 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
17492
17493 * allout.el (allout-encryption-plaintext-sanitization-regexps):
17494 * frame.el (display-mm-dimensions-alist):
17495 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
17496 (outline-move-subtree-down):
17497 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
17498 (newsticker--treeview-do-get-node):
17499 * net/quickurl.el (quickurl-list-buffer-name):
17500 * progmodes/dcl-mode.el (dcl-mode):
17501 * progmodes/gdb-mi.el (gdb-mapcar*):
17502 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
17503
17504 2011-11-15 Glenn Morris <rgm@gnu.org>
17505
17506 * mail/rmail.el (rmail-file-coding-system): It's only ever used
17507 in a boolean sense, so just make it a boolean, and fix the doc.
17508 (rmail-show-mime-function, rmail-mime-feature)
17509 (rmail-require-mime-maybe): Doc fixes.
17510 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
17511
17512 * mail/rmailmm.el (rmail-show-mime): Doc fix.
17513
17514 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
17515
17516 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
17517 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
17518 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
17519 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
17520
17521 2011-11-15 Glenn Morris <rgm@gnu.org>
17522
17523 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
17524 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
17525 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
17526 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
17527 (rmail-mime, rmail-show-mime): Doc fixes.
17528
17529 * term/ns-win.el (mode-line-frame-identification):
17530 Leave it alone. (Bug#10051)
17531
17532 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
17533
17534 * mail/rmailout.el (rmail-output-to-rmail-buffer):
17535 Handle empty buffers. (Bug#9978)
17536
17537 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
17538
17539 * international/mule.el (define-charset):
17540 * mail/rmailmm.el (rmail-mime-find-header-encoding):
17541 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
17542 * progmodes/verilog-mode.el (verilog-backward-token):
17543 * textmodes/ispell.el (lookup-words):
17544 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
17545
17546 2011-11-14 Glenn Morris <rgm@gnu.org>
17547
17548 * progmodes/executable.el
17549 (executable-make-buffer-file-executable-if-script-p):
17550 Handle file-modes returning nil.
17551
17552 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
17553 message - not necessary, and causes problems. (Bug#9831)
17554
17555 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
17556
17557 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
17558
17559 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
17560 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
17561 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
17562
17563 2011-11-12 Martin Rudalics <rudalics@gmx.at>
17564
17565 * window.el (window-resize, delete-window): Use window-splits
17566 variable instead of function.
17567 (window-state-get-1, window-state-put-2, window-state-put):
17568 Don't deal with windows' splits status.
17569
17570 2011-11-12 Glenn Morris <rgm@gnu.org>
17571
17572 * apropos.el (apropos-do-all, apropos-library, apropos-value)
17573 (apropos-documentation): Doc fixes.
17574
17575 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
17576
17577 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
17578 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
17579
17580 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
17581
17582 * electric.el (electric-indent-post-self-insert-function): Make it
17583 possible for a char to only indent in some circumstances.
17584 (electric-indent-mode): Simplify.
17585
17586 2011-11-11 Martin Rudalics <rudalics@gmx.at>
17587
17588 * window.el (windows-with-parameter): Remove unused function.
17589 (windows-at-side): Rename to window-at-side-list.
17590 (window-check, window-atom-check, window-atom-check-1)
17591 (window-side-check, window-size-ignore, window-size-fixed-1)
17592 (window-in-direction-2): Prefix with "window--".
17593 (window-tree-1): Rename to window--subtree, fix doc-string.
17594
17595 2011-11-11 Glenn Morris <rgm@gnu.org>
17596
17597 * subr.el (eval-after-load): If FILE is already loaded,
17598 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
17599
17600 2011-11-10 Glenn Morris <rgm@gnu.org>
17601
17602 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
17603 Call svn via vc-svn-command rather than vc-do-command.
17604 (vc-svn-command): Add --non-interactive. (Bug#9993)
17605 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
17606
17607 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
17608 Add toggle-read-only. (Bug#7292)
17609 * files.el (toggle-read-only): Mention that it should only
17610 be used interactively. (Bug#10006)
17611
17612 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
17613
17614 * progmodes/compile.el (compilation-error-regexp-alist-alist):
17615 Adjust regexp for OCaml warnings.
17616
17617 * electric.el (electric-pair-post-self-insert-function): Let user
17618 turn it off buffer-locally (bug#9932).
17619
17620 * progmodes/python.el (python-beginning-of-statement):
17621 Rewrite (bug#2703).
17622
17623 * progmodes/compile.el: Better handle TABs (bug#9749).
17624 (compilation-internal-error-properties)
17625 (compilation-next-error-function): Obey the target buffer's
17626 compilation-error-screen-columns.
17627
17628 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
17629
17630 * progmodes/meta-mode.el: Remove obsolete comments.
17631 (meta-right-comment-regexp, meta-ignore-comment-regexp):
17632 Fix typos in docstrings.
17633
17634 2011-11-09 Martin Rudalics <rudalics@gmx.at>
17635
17636 * window.el (window-size-fixed-p): Rewrite doc-string.
17637 (window-resizable-p): Rename to window--resizable-p. Update callers.
17638 (window--resizable): New function. Make all callers of
17639 window-resizable call window--resizable instead.
17640 (window-resizable): Rewrite in terms of window--resizable.
17641
17642 2011-11-08 Glenn Morris <rgm@gnu.org>
17643
17644 * progmodes/delphi.el (delphi-mode-syntax-table):
17645 Let define-derived-mode define a proper syntax table. (Bug#9994)
17646
17647 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
17648
17649 * window.el: Stay away from defsubst.
17650 (window-list-no-nils): Remove.
17651 (window-state-get-1, window-state-get): Use backquote instead.
17652
17653 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
17654
17655 * emacs-lisp/find-func.el (find-function-read):
17656 Fix incorrect use of default argument in `completing-read'.
17657
17658 2011-11-08 Martin Rudalics <rudalics@gmx.at>
17659
17660 * window.el (display-buffer-function, special-display-function):
17661 Mention display-buffer-record-window but do not mention
17662 help-setup parameter in doc-strings.
17663 (window-min-delta): Fix doc-string typo.
17664
17665 2011-11-08 Chong Yidong <cyd@gnu.org>
17666
17667 * window.el (window-total-height, window-total-width): Doc fix.
17668 (window-body-size): Move from C.
17669 (window-body-height, window-body-width): Move to C.
17670
17671 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
17672
17673 * window.el: Make special-display like display-buffer-alist (bug#9532).
17674 (display-buffer--special-action): New function, morphed
17675 from display-buffer--special.
17676 (display-buffer): Use it to handle special-display-buffers at higher
17677 priority (just after display-buffer-alist).
17678 (display-buffer-fallback-action, display-buffer--other-frame-action)
17679 (pop-to-buffer-same-window): Remove display-buffer--special.
17680
17681 2011-11-07 Glenn Morris <rgm@gnu.org>
17682
17683 * calendar/cal-menu.el (cal-menu-set-date-title):
17684 Do nothing if not in a calendar. (Bug#9976)
17685
17686 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
17687
17688 * files.el (find-file): Always use selected-window.
17689
17690 2011-11-07 Martin Rudalics <rudalics@gmx.at>
17691
17692 * window.el (window-combinations): Make WINDOW argument
17693 mandatory. Rewrite doc-string.
17694 (walk-window-subtree, window-atom-check, window-min-delta)
17695 (window-max-delta, window--resize-this-window)
17696 (window--resize-root-window-vertically, window-tree)
17697 (balance-windows, window-state-put): Rewrite doc-strings as to
17698 not mention the term "subwindow".
17699 (window--resize-subwindows-skip-p): Rename to
17700 window--resize-child-windows-skip-p.
17701 (window--resize-subwindows-normal): Rename to
17702 window--resize-child-windows-normal.
17703 (window--resize-subwindows): Rename to
17704 window--resize-child-windows.
17705 (window-or-subwindow-p): Rename to window--in-subtree-p.
17706
17707 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
17708
17709 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
17710 Ensure that mbox format messages end in two newlines (Bug#9974).
17711
17712 2011-11-06 Chong Yidong <cyd@gnu.org>
17713
17714 * window.el (window-combination-p): Function deleted; its
17715 side-effect is not used in any existing code.
17716 (window-combinations, window-combined-p): Call window-*-child
17717 directly.
17718
17719 2011-11-05 Chong Yidong <cyd@gnu.org>
17720
17721 * window.el (window-valid-p): Rename from window-any-p.
17722 (window-size-ignore, window-state-get): Callers changed.
17723 (window-normalize-window): Rename from window-normalize-any-window.
17724 New arg LIVE-ONLY, replacing window-normalize-live-window.
17725 (window-normalize-live-window): Delete.
17726 (window-combination-p, window-combined-p, window-combinations)
17727 (walk-window-subtree, window-atom-root, window-min-size)
17728 (window-sizable, window-sizable-p, window-size-fixed-p)
17729 (window-min-delta, window-max-delta, window-resizable)
17730 (window-resizable-p, window-full-height-p, window-full-width-p)
17731 (window-current-scroll-bars, window-point-1, set-window-point-1)
17732 (window-at-side-p, window-in-direction, window-resize)
17733 (adjust-window-trailing-edge, maximize-window, minimize-window)
17734 (window-deletable-p, delete-window, delete-other-windows)
17735 (record-window-buffer, unrecord-window-buffer)
17736 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
17737 (quit-window, split-window, window-state-put)
17738 (set-window-text-height, fit-window-to-buffer)
17739 (shrink-window-if-larger-than-buffer): Callers changed.
17740
17741 2011-11-04 Eli Zaretskii <eliz@gnu.org>
17742
17743 * mail/rmail.el (rmail-simplified-subject): Decode subject with
17744 rfc2047-decode-string.
17745 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
17746 warnings.
17747
17748 * window.el (window-body-height, window-body-width): Mention in
17749 the doc string that the return values are in frame's canonical
17750 units. (Bug#9949)
17751
17752 2011-11-03 Alan Mackenzie <acm@muc.de>
17753
17754 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
17755 change in cc-engine.el.
17756
17757 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
17758
17759 * window.el (switch-to-buffer): Use `force-same-window' interactively.
17760
17761 2011-11-02 Martin Rudalics <rudalics@gmx.at>
17762
17763 * window.el (quit-window): Call unrecord-window-buffer after
17764 showing another buffer in the window. (Bug#9937)
17765 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
17766
17767 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
17768
17769 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
17770 Accept status with more than 9 shelves. (Bug#9935)
17771 Reported by Colin D Bennett <colin@gibibit.com>.
17772
17773 2011-11-01 Martin Rudalics <rudalics@gmx.at>
17774
17775 * help.el (with-help-window): Don't reference
17776 temp-buffer-show-specifiers in doc-string.
17777
17778 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
17779
17780 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
17781 menu-item.
17782
17783 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
17784
17785 * whitespace.el: New version 13.2.2.
17786 (whitespace-newline-mode): Disable properly. Reported by Sarah
17787 <EmacsWiki>.
17788
17789 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
17790
17791 * net/newst-treeview.el: Remove "Time-stamp".
17792 (newsticker--group-manage-orphan-feeds): Do not call
17793 newsticker--treeview-tree-update.
17794 (newsticker-treeview-update, newsticker-treeview):
17795 Call newsticker--treeview-tree-update if necessary.
17796
17797 2011-10-30 Martin Rudalics <rudalics@gmx.at>
17798
17799 * window.el (window-iso-combination-p, window-iso-combined-p)
17800 (window-iso-combinations): Remove "iso-" infix.
17801 Suggested by Chong Yidong.
17802 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
17803 (window-max-delta-1, window-resize, window--resize-siblings)
17804 (window--resize-this-window, adjust-window-trailing-edge)
17805 (split-window, balance-windows-1)
17806 (shrink-window-if-larger-than-buffer):
17807 * calendar/calendar.el (calendar-generate-window):
17808 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
17809
17810 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
17811
17812 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
17813 in place (bug#9907).
17814 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
17815 (eshell-rewrite-if-command, eshell-rewrite-for-command)
17816 (eshell-structure-basic-command, eshell-rewrite-while-command)
17817 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
17818 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
17819 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
17820 (eshell-do-pipelines-synchronously, eshell-eval-command):
17821 Use backquotes and prefer setq to set.
17822 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
17823 (eshell-macrop): Use functionp.
17824 (eshell-do-eval): Handle multiple expressions in `while' body.
17825
17826 2011-10-30 Chong Yidong <cyd@gnu.org>
17827
17828 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
17829 instead of set-mark (Bug#9810).
17830
17831 2011-10-30 Chong Yidong <cyd@gnu.org>
17832
17833 * window.el (split-window-below, split-window-right): Rename from
17834 split-window-above-each-other and split-window-side-by-side
17835 respectively. All callers changed.
17836 (split-window-sensibly, split-window-sensibly): Use them.
17837 (split-window-keep-point): Doc fix.
17838
17839 * isearch.el: Add isearch-scroll property to split-window-below
17840 and split-window-right.
17841
17842 * follow.el (follow-mode):
17843 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
17844 * progmodes/ada-xref.el (ada-gdb-application):
17845 * emulation/vip.el (vip-buffer-in-two-windows):
17846 * image-dired.el (image-dired-dired-with-window-configuration):
17847 * dired-x.el (dired-do-find-marked-files):
17848 * dired.el (dired-pop-to-buffer):
17849 * bs.el (bs--show-with-configuration):
17850 * vc/emerge.el (emerge-setup-windows):
17851 * textmodes/two-column.el (2C-two-columns):
17852 * textmodes/reftex-toc.el (reftex-toc):
17853 * progmodes/gdb-mi.el (gdb-setup-windows):
17854 * progmodes/fortran.el (fortran-window-create):
17855 * net/newst-treeview.el (newsticker--treeview-window-init):
17856 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
17857 * emulation/tpu-edt.el (tpu-gold-map):
17858 * emulation/crisp.el (crisp-mode-map):
17859 * calendar/calendar.el (calendar-basic-setup): Callers changed.
17860
17861 2011-10-29 Chong Yidong <cyd@gnu.org>
17862
17863 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
17864
17865 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
17866
17867 * textmodes/flyspell.el (flyspell-word): Fix char offset for
17868 forged Ispell output (Bug#7904).
17869
17870 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
17871
17872 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
17873
17874 * doc-view.el: Avoid ugly errors about not finding nil.
17875 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
17876 (doc-view-dvipdf-program, doc-view-unoconv-program)
17877 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
17878 Avoid nil or absolute file name as default value.
17879 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
17880
17881 2011-10-28 Alan Mackenzie <acm@muc.de>
17882
17883 * progmodes/cc-defs.el (c-version): -> 5.32.2.
17884
17885 2011-10-28 Alan Mackenzie <acm@muc.de>
17886
17887 Amend the handling of c-beginning/end-of-defun in nested declaration
17888 scopes.
17889
17890 * progmodes/cc-vars.el (c-defun-tactic): Move here from
17891 cc-langs.el. Change it to a defcustom.
17892
17893 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
17894 cc-vars.el.
17895
17896 * progmodes/cc-engine.el (c-beginning-of-statement-1):
17897 Prevent "class foo : bar" being spuriously recognized as a label.
17898
17899 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
17900 Add parameter `inclusive' (to include enclosing braces in the region).
17901 (c-widen-to-enclosing-decl-scope): New function.
17902 (c-while-widening-to-decl-block): New macro.
17903 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
17904 outward for defun boundaries, and correspondingly change symbol
17905 `respect-enclosure' to `go-outward'.
17906 (c-declaration-limits): Change algorithm to report only the "innermost"
17907 defun's boundaries.
17908
17909 2011-10-28 Deniz Dogan <deniz@dogan.se>
17910
17911 * net/rcirc.el (rcirc-mode): Use hard newlines.
17912
17913 2011-10-28 Alan Mackenzie <acm@muc.de>
17914
17915 Amend to indent and fontify macros "which include their own semicolon"
17916 correctly, using the "virtual semicolon" mechanism.
17917
17918 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
17919
17920 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
17921 Recode to scan one line at a time rather than having \n and \r
17922 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
17923 (c-forward-label): Amend for virtual semicolons.
17924 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
17925
17926 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
17927 of the new C macros.
17928
17929 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
17930 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
17931 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
17932 (c-opt-cpp-macro-define): Make into a full language variable.
17933 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
17934 AWK Mode (including \n, \r) removed, no longer needed.
17935
17936 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
17937 Invoke c-make-macro-with-semi-re.
17938
17939 * progmodes/cc-vars.el (c-macro-with-semi-re):
17940 (c-macro-names-with-semicolon): New variables.
17941 (c-make-macro-with-semi-re): New function.
17942
17943 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
17944
17945 * vc/log-edit.el: Fill empty field rather than adding new one.
17946 (log-edit-add-field): New function.
17947 (log-edit-insert-changelog): Use it.
17948
17949 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
17950
17951 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
17952
17953 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
17954
17955 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
17956 (gdb--check-interpreter): New function.
17957 (gdb): Use it.
17958
17959 2011-10-27 Glenn Morris <rgm@gnu.org>
17960
17961 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
17962 (least-positive-float, least-negative-float)
17963 (least-positive-normalized-float, least-negative-normalized-float)
17964 (float-epsilon, float-negative-epsilon):
17965 Remove unnecessary declarations.
17966
17967 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
17968 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
17969 (least-positive-float, least-negative-float)
17970 (least-positive-normalized-float, least-negative-normalized-float)
17971 (float-epsilon, float-negative-epsilon): Add doc-strings,
17972 based on those in cl.texi.
17973
17974 * files.el (set-visited-file-name): If the major-mode changed,
17975 reload the local variables. (Bug#9796)
17976
17977 2011-10-27 Chong Yidong <cyd@gnu.org>
17978
17979 * subr.el (change-major-mode-after-body-hook): New hook.
17980 (run-mode-hooks): Run it.
17981
17982 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
17983 Use change-major-mode-before-body-hook.
17984
17985 * simple.el (fundamental-mode):
17986 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
17987 change introducing fundamental-mode-hook.
17988
17989 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
17990
17991 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
17992
17993 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
17994
17995 * ido.el (ido-file-name-all-completions-1): Do not require
17996 tramp.el explicitly. (Bug#7583)
17997
17998 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
17999
18000 * progmodes/octave-mod.el:
18001 * progmodes/octave-inf.el: Update maintainer.
18002
18003 2011-10-26 Chong Yidong <cyd@gnu.org>
18004
18005 * subr.el (with-wrapper-hook): Rewrite doc.
18006
18007 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
18008
18009 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
18010 filenames "/method:foo:". (Bug#9793)
18011
18012 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
18013
18014 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
18015 (bug#9865).
18016
18017 2011-10-24 Glenn Morris <rgm@gnu.org>
18018
18019 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
18020
18021 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
18022
18023 * notifications.el: Add the requirement of a running D-Bus session
18024 bus to the Commentary.
18025
18026 2011-10-24 Juri Linkov <juri@jurta.org>
18027
18028 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
18029 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
18030 (Bug#9364)
18031
18032 2011-10-24 Juri Linkov <juri@jurta.org>
18033
18034 * info.el (Info-following-node-name-re): Add newline to the list
18035 of allowed characters for leading space. (Bug#9824)
18036
18037 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
18038
18039 * progmodes/octave-inf.el (inferior-octave-mode-map):
18040 Fix C-c C-h binding.
18041 * progmodes/octave-mod.el (octave-help): Remove.
18042
18043 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
18044
18045 Sync with Tramp 2.2.3.
18046
18047 * net/tramp-cache.el (top): Pacify byte-compiler using
18048 `init-file-user' and `site-run-file'.
18049
18050 * net/trampver.el: Update release number.
18051
18052 2011-10-23 Chong Yidong <cyd@gnu.org>
18053
18054 * files.el (toggle-read-only): Remove obsolete comment about
18055 version control.
18056
18057 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
18058 for toggle-read-only. Note that this hasn't called vc-next-action
18059 since 2008-05-02, though it wasn't documented at the time.
18060
18061 * vc/ediff-init.el (ediff-toggle-read-only-function):
18062 Use toggle-read-only.
18063
18064 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
18065
18066 Fix bug #9560, sporadic wrong indentation; improve instrumentation
18067 of c-parse-state.
18068
18069 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
18070 correct faulty logical expression.
18071 (c-parse-state-state, c-record-parse-state-state):
18072 (c-replay-parse-state-state): New defvar/defuns.
18073 (c-debug-parse-state): Use new functions.
18074
18075 2011-10-22 Martin Rudalics <rudalics@gmx.at>
18076
18077 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
18078 last fix. Use window-in-direction correctly.
18079
18080 2011-10-21 Chong Yidong <cyd@gnu.org>
18081
18082 * progmodes/idlwave.el (idlwave-mode):
18083 * progmodes/vera-mode.el (vera-mode): No need to set
18084 require-final-newline; that's done in prog-mode.
18085 Suggested by Stefan Monnier.
18086
18087 2011-10-21 Martin Rudalics <rudalics@gmx.at>
18088
18089 * mouse.el (mouse-drag-window-above)
18090 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
18091 (mouse-drag-mode-line-1, mouse-drag-header-line)
18092 (mouse-drag-vertical-line-rightward-window): Remove.
18093 (mouse-drag-line): New function.
18094 (mouse-drag-mode-line, mouse-drag-header-line)
18095 (mouse-drag-vertical-line): Call mouse-drag-line.
18096 * window.el (window-at-side-p, windows-at-side): New functions.
18097
18098 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
18099
18100 * tar-mode.el (tar-grind-file-mode):
18101 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
18102
18103 2011-10-21 Chong Yidong <cyd@gnu.org>
18104
18105 * progmodes/idlwave.el (idlwave-mode):
18106 * progmodes/vera-mode.el (vera-mode):
18107 Use mode-require-final-newline.
18108
18109 2011-10-20 Glenn Morris <rgm@gnu.org>
18110
18111 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
18112
18113 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
18114
18115 * emulation/cua-base.el (cua-set-mark): Fix case of string.
18116
18117 2011-10-20 Chong Yidong <cyd@gnu.org>
18118
18119 * emulation/cua-base.el (cua-mode):
18120 * mail/footnote.el (footnote-mode):
18121 * mail/mailabbrev.el (mail-abbrevs-mode):
18122 * net/xesam.el (xesam-minor-mode):
18123 * progmodes/bug-reference.el (bug-reference-mode):
18124 * progmodes/cap-words.el (capitalized-words-mode):
18125 * progmodes/compile.el (compilation-minor-mode)
18126 (compilation-shell-minor-mode):
18127 * progmodes/gud.el (gud-tooltip-mode):
18128 * progmodes/hideif.el (hide-ifdef-mode):
18129 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
18130 * progmodes/subword.el (subword-mode):
18131 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
18132 * progmodes/which-func.el (which-function-mode):
18133 * term/tvi970.el (tvi970-set-keypad-mode):
18134 * term/vt100.el (vt100-wide-mode):
18135 * textmodes/flyspell.el (flyspell-mode):
18136 * textmodes/ispell.el (ispell-minor-mode):
18137 * textmodes/nroff-mode.el (nroff-electric-mode):
18138 * textmodes/paragraphs.el (use-hard-newlines):
18139 * textmodes/refill.el (refill-mode):
18140 * textmodes/reftex.el (reftex-mode):
18141 * textmodes/rst.el (rst-minor-mode):
18142 * textmodes/sgml-mode.el (html-autoview-mode)
18143 (sgml-electric-tag-pair-mode):
18144 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
18145 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
18146 * emulation/crisp.el (crisp-mode):
18147 * emacs-lisp/eldoc.el (eldoc-mode):
18148 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
18149 minor mode behavior.
18150
18151 2011-10-19 Juri Linkov <juri@jurta.org>
18152
18153 * descr-text.el (describe-char): Add #x2010 and #x2011 to
18154 the list of hard-coded chars with escape-glyph face.
18155
18156 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
18157
18158 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
18159
18160 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
18161
18162 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
18163 running process.
18164
18165 2011-10-19 Glenn Morris <rgm@gnu.org>
18166
18167 * vc/vc-bzr.el (vc-bzr-after-dir-status):
18168 Ignore ignored files. (Bug#9726)
18169
18170 2011-10-19 Chong Yidong <cyd@gnu.org>
18171
18172 Doc fix for minor modes, stating that an omitted argument enables
18173 the mode unconditionally when called from Lisp.
18174
18175 * abbrev.el (abbrev-mode):
18176 * allout.el (allout-mode):
18177 * autoinsert.el (auto-insert-mode):
18178 * autoarg.el (autoarg-mode, autoarg-kp-mode):
18179 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
18180 (global-auto-revert-mode):
18181 * battery.el (display-battery-mode):
18182 * composite.el (global-auto-composition-mode)
18183 (auto-composition-mode):
18184 * delsel.el (delete-selection-mode):
18185 * desktop.el (desktop-save-mode):
18186 * dired-x.el (dired-omit-mode):
18187 * dirtrack.el (dirtrack-mode):
18188 * doc-view.el (doc-view-minor-mode):
18189 * double.el (double-mode):
18190 * electric.el (electric-indent-mode, electric-pair-mode):
18191 * emacs-lock.el (emacs-lock-mode):
18192 * epa-hook.el (auto-encryption-mode):
18193 * follow.el (follow-mode):
18194 * font-core.el (font-lock-mode):
18195 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
18196 * help.el (temp-buffer-resize-mode):
18197 * hilit-chg.el (highlight-changes-mode)
18198 (highlight-changes-visible-mode):
18199 * hi-lock.el (hi-lock-mode):
18200 * hl-line.el (hl-line-mode, global-hl-line-mode):
18201 * icomplete.el (icomplete-mode):
18202 * ido.el (ido-everywhere):
18203 * image-file.el (auto-image-file-mode):
18204 * image-mode.el (image-minor-mode):
18205 * iswitchb.el (iswitchb-mode):
18206 * jka-cmpr-hook.el (auto-compression-mode):
18207 * linum.el (linum-mode):
18208 * longlines.el (longlines-mode):
18209 * master.el (master-mode):
18210 * mb-depth.el (minibuffer-depth-indicate-mode):
18211 * menu-bar.el (menu-bar-mode):
18212 * minibuf-eldef.el (minibuffer-electric-default-mode):
18213 * mouse-sel.el (mouse-sel-mode):
18214 * msb.el (msb-mode):
18215 * mwheel.el (mouse-wheel-mode):
18216 * outline.el (outline-minor-mode):
18217 * paren.el (show-paren-mode):
18218 * recentf.el (recentf-mode):
18219 * reveal.el (reveal-mode, global-reveal-mode):
18220 * rfn-eshadow.el (file-name-shadow-mode):
18221 * ruler-mode.el (ruler-mode):
18222 * savehist.el (savehist-mode):
18223 * scroll-all.el (scroll-all-mode):
18224 * scroll-bar.el (scroll-bar-mode):
18225 * server.el (server-mode):
18226 * shell.el (shell-dirtrack-mode):
18227 * simple.el (auto-fill-mode, transient-mark-mode)
18228 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
18229 (line-number-mode, column-number-mode, size-indication-mode)
18230 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
18231 * strokes.el (strokes-mode):
18232 * time.el (display-time-mode):
18233 * t-mouse.el (gpm-mouse-mode):
18234 * tool-bar.el (tool-bar-mode):
18235 * tooltip.el (tooltip-mode):
18236 * type-break.el (type-break-mode-line-message-mode)
18237 (type-break-query-mode):
18238 * view.el (view-mode):
18239 * whitespace.el (whitespace-mode, whitespace-newline-mode)
18240 (global-whitespace-mode, global-whitespace-newline-mode):
18241 * xt-mouse.el (xterm-mouse-mode): Doc fix.
18242
18243 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
18244 Fix autogenerated docstring.
18245
18246 2011-10-19 Juri Linkov <juri@jurta.org>
18247
18248 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
18249 by checking environment variables "DESKTOP_SESSION" and
18250 "XDG_CURRENT_DESKTOP". (Bug#9779)
18251
18252 2011-10-19 Juri Linkov <juri@jurta.org>
18253
18254 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
18255 (browse-url-chromium-program, browse-url-chromium-arguments):
18256 New defcustoms.
18257 (browse-url-default-browser): Check for `browse-url-chromium' and
18258 call `browse-url-chromium-program'.
18259 (browse-url-chromium): New command. (Bug#9779)
18260
18261 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
18262
18263 * facemenu.el (list-colors-duplicates): On Windows, detect more
18264 duplicates by assuming that only colors matching "^System" are
18265 special "system colors". (Bug#9722)
18266
18267 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
18268
18269 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
18270 to distinguish the author from the committer.
18271
18272 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
18273
18274 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
18275
18276 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
18277
18278 * international/mule.el (sgml-html-meta-auto-coding-function):
18279 Add support for detecting encoding in HTML5 specified only as
18280 <meta charset="UTF-8">. Implementation just makes http-equiv and
18281 content-type parts from HTML4 encoding string optional. (Bug#9716)
18282
18283 2011-10-18 Glenn Morris <rgm@gnu.org>
18284
18285 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
18286
18287 2011-10-18 Chong Yidong <cyd@gnu.org>
18288
18289 * faces.el (cursor): Doc fix.
18290
18291 2011-10-17 Chong Yidong <cyd@gnu.org>
18292
18293 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
18294
18295 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
18296
18297 * dirtrack.el (dirtrack): Support shell buffers with path
18298 prefixes, e.g. tramp-based remote shells. (Bug#9647)
18299
18300 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
18301
18302 * json.el: Bump version to 1.3 and note change in History.
18303 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
18304
18305 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
18306
18307 * comint.el (comint-insert-input, comint-send-input)
18308 (comint-get-old-input-default, comint-backward-matching-input)
18309 (comint-next-prompt): Use nil instead of `input' for field property of
18310 past user input (bug#114).
18311
18312 * minibuffer.el (completion--replace): Inherit surrounding properties
18313 (bug#114).
18314 (minibuffer-complete-and-exit): Use it.
18315
18316 * comint.el (comint--table-subvert): Quote the all-completions output
18317 (bug#9160).
18318
18319 2011-10-17 Martin Rudalics <rudalics@gmx.at>
18320
18321 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
18322
18323 * menu-bar.el (menu-bar-file-menu): Add entry for making new
18324 window on right of selected. (Bug#9350) Reword other window
18325 entries and separate them from frame entries.
18326
18327 2011-10-15 Glenn Morris <rgm@gnu.org>
18328
18329 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
18330 Doc fixes.
18331
18332 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
18333
18334 * net/network-stream.el (network-stream-open-starttls):
18335 Improve detection of failure due to lack of TLS support.
18336
18337 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
18338 putting the input text in front and in bold.
18339
18340 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
18341
18342 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
18343
18344 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
18345 empty buffer.
18346
18347 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
18348 unread-command-events rather than pushing yet-another event.
18349
18350 2011-10-14 Eli Zaretskii <eliz@gnu.org>
18351
18352 * mail/sendmail.el (sendmail-query-once): Improve the wording of
18353 the explanation of the possible choices. Make the options passed
18354 to completing-read shorter.
18355
18356 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
18357
18358 * textmodes/flyspell.el (flyspell-large-region): Make sure
18359 extended character mode is used if defined (Bug#1339).
18360
18361 2011-10-13 Eli Zaretskii <eliz@gnu.org>
18362
18363 * simple.el (what-cursor-position): Fix the display of the
18364 character info for LRE, LRO, RLE, and RLO characters by appending
18365 an invisible PDF.
18366
18367 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
18368
18369 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
18370 even in case of error; add debug spec; simplify data flow.
18371 (with-timeout-handler): Remove.
18372
18373 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
18374
18375 Fix Bug#6019, Bug#9315.
18376
18377 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
18378 complete `buffer-file-name', the local file name part could look
18379 remotely (for example on VMS).
18380
18381 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
18382 `tramp-run-real-handler'.
18383 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
18384 already quoted by '"'.
18385
18386 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
18387 Let `file-name-handler-alist' be nil, the local file name part
18388 could look remotely (for example on VMS).
18389
18390 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
18391
18392 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
18393 from here...
18394 (flyspell-post-command-hook): ...to here.
18395
18396 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
18397
18398 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
18399 if not needed.
18400 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
18401 using completion. Protect against "slow" callers.
18402 Remove the "message hack".
18403
18404 2011-10-11 Juri Linkov <juri@jurta.org>
18405
18406 * isearch.el (isearch-lazy-highlight-word): New variable.
18407 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
18408 Use it. (Bug#9727)
18409
18410 2011-10-11 Glenn Morris <rgm@gnu.org>
18411
18412 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
18413 like f90-previous-statement does.
18414
18415 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
18416
18417 * eshell/eshell.el (eshell-command): History should be saved
18418 only in interactive use, to avoid error.
18419
18420 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
18421
18422 * minibuffer.el (completion-file-name-table): Fix last change,
18423 i.e. ignore normal errors but not the other ones.
18424
18425 2011-10-10 Martin Rudalics <rudalics@gmx.at>
18426
18427 * window.el (special-display-buffer-names)
18428 (special-display-regexps): Remove some remnants of earlier
18429 changes from doc-strings.
18430 (quit-windows-on): New function.
18431
18432 * vc/vc.el (vc-revert, vc-rollback):
18433 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
18434 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
18435 (Bug#6183) (Bug#7074) (Bug#7447)
18436
18437 2011-10-09 Martin Rudalics <rudalics@gmx.at>
18438
18439 * window.el (frame-auto-hide-function): Add version tag.
18440 (Bug#9699)
18441
18442 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
18443
18444 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
18445 condition.
18446
18447 2011-10-09 Leo Liu <sdl.web@gmail.com>
18448
18449 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
18450 (Bug#9701)
18451
18452 2011-10-08 Glenn Morris <rgm@gnu.org>
18453
18454 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
18455 before the first code statement zero indent. (Bug#9690)
18456
18457 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
18458
18459 * simple.el (count-words-region): Always count in the region.
18460 Report the number of lines and characters too.
18461 (count-words): New command, which counts in the buffer if the
18462 region is inactive, as count-words-region used to.
18463 (count-words--message): New function. Handle plurals.
18464 (count-lines-region): Make it an alias for count-words-region.
18465
18466 * bindings.el (esc-map): Replace count-lines-region with
18467 count-words-region.
18468
18469 2011-10-08 Martin Rudalics <rudalics@gmx.at>
18470
18471 * window.el (window--delete): Delete dedicated frame
18472 unconditionally when argument KILL is non-nil. (Bug#9699)
18473 (switch-to-buffer): Fix doc-string typo.
18474
18475 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
18476
18477 * eshell/eshell.el (eshell-command): Avoid using hooks.
18478
18479 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
18480
18481 * bindings.el ([M-left],[M-right]): Bind to left-word and
18482 right-word respectively.
18483
18484 2011-10-07 Glenn Morris <rgm@gnu.org>
18485
18486 * cus-start.el (debug-on-quit): Fix custom type.
18487
18488 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
18489
18490 * subr.el (define-key-after): Clarify that the function is not
18491 useful for non-menu keymaps.
18492
18493 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
18494
18495 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
18496
18497 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
18498 in current minibuffer (Fix bug with recursive minibuffers).
18499
18500 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
18501
18502 * progmodes/gdb-mi.el (gdb): Doc fix.
18503
18504 2011-10-05 Martin Rudalics <rudalics@gmx.at>
18505
18506 * window.el (frame-auto-hide-function): New option replacing
18507 frame-auto-delete. Suggested by Stefan Monnier.
18508 (window--delete): Call frame-auto-hide-function instead of
18509 investigating frame-auto-delete.
18510 (window-point-1, set-window-point-1): New functions.
18511 (window-in-direction, record-window-buffer, window-state-get-1)
18512 (display-buffer-record-window): Use window-point-1 instead of
18513 window-point.
18514 (set-window-buffer-start-and-point): Use set-window-point-1.
18515
18516 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
18517
18518 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
18519
18520 2011-10-05 Glenn Morris <rgm@gnu.org>
18521
18522 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
18523 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
18524
18525 2011-10-05 Leo Liu <sdl.web@gmail.com>
18526
18527 * subr.el (read-char-choice): Fix argument to buffer-live-p which
18528 works with buffer object.
18529
18530 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
18531
18532 * mpc.el (mpc-tool-bar-map): Add labels.
18533
18534 2011-10-04 Glenn Morris <rgm@gnu.org>
18535
18536 * calendar/holidays.el (calendar-check-holidays): Doc fix.
18537
18538 2011-10-04 Martin Rudalics <rudalics@gmx.at>
18539
18540 * window.el (window--delete): New function.
18541 (frame-auto-delete): Resuscitate option.
18542 (bury-buffer, replace-buffer-in-windows)
18543 (quit-window): Rewrite using window--delete.
18544 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
18545 Pass display-buffer-mark-dedicated to window--display-buffer-2
18546 (Bug#9639).
18547
18548 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
18549
18550 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
18551 returns a list (bug#9554). Add remote file name completion.
18552 * comint.el (comint--table-subvert): Curry and get quote&unquote
18553 functions as arguments.
18554 (comint--complete-file-name-data): Adjust call accordingly.
18555 * pcomplete.el (pcomplete--table-subvert): Remove.
18556 (pcomplete-completions-at-point): Use comint--table-subvert instead.
18557
18558 * minibuffer.el (completion-table-case-fold): Use currying.
18559 (completion--styles-type, completion--cycling-threshold-type):
18560 New constants.
18561 (completion-styles, completion-category-overrides)
18562 (completion-cycle-threshold): Use them.
18563 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
18564 completion-table-case-fold.
18565
18566 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
18567
18568 * minibuffer.el (completion-category-overrides): Fix type of styles
18569 and add more user friendly tags (bug#9660).
18570
18571 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
18572
18573 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
18574 (mule-input-method-string): New widget.
18575 (default-input-method, language-info-custom-alist): Use it.
18576
18577 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
18578
18579 * pcomplete.el: Require comint.
18580 (pcomplete--common-suffix): Remove.
18581 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
18582 (pcomplete--table-subvert): Sync with comint--table-subvert.
18583 (pcomplete--entries): Use comint-completion-file-name-table.
18584 * comint.el (comint-unquote-filename): Simplify.
18585 (comint-completion-file-name-table): New function (bug#9616).
18586 (comint--complete-file-name-data): Use it.
18587
18588 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
18589 (pcmpl-gnu-tar-buffer): Remove.
18590 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
18591 around. Make sure pcomplete-suffix-list is only changed temporarily.
18592 Don't look inside the tar's file if it's too large.
18593
18594 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
18595
18596 * cus-edit.el (custom-mode-map):
18597 * epa.el (epa-key-list-mode-map):
18598 * man.el (Man-mode-map):
18599 * startup.el (splash-screen-keymap):
18600 * simple.el (special-mode-map): Use scroll-up-command and
18601 scroll-down-command.
18602
18603 * progmodes/idlw-help.el (idlwave-help-mode-map):
18604 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
18605 * net/newst-plainview.el (newsticker-mode-map):
18606 * emulation/ws-mode.el (wordstar-mode-map):
18607 * emulation/vi.el (vi-com-map):
18608 * calc/calc-graph.el (calc-graph-show-dumb):
18609 * term/sun.el (terminal-init-sun):
18610 * term/ns-win.el (global-map):
18611 * progmodes/grep.el (grep-mode-map):
18612 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
18613 * mail/rmail.el (rmail-mode-map):
18614 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
18615
18616 * custom.el (custom-safe-themes, load-theme): Treat value of t for
18617 custom-safe-themes as special.
18618
18619 2011-10-01 Julien Danjou <julien@danjou.info>
18620
18621 * notifications.el (notifications-notify): Fix docstring.
18622
18623 2011-10-01 Per Starbäck <per@starback.se>
18624
18625 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
18626
18627 2011-09-30 Martin Rudalics <rudalics@gmx.at>
18628
18629 * startup.el (command-line-1): Fix last fix by inserting
18630 initial-scratch-message into *scratch* before displaying it.
18631 (Bug#9605) and (Bug#9636)
18632
18633 2011-09-29 Eli Zaretskii <eliz@gnu.org>
18634
18635 * simple.el (line-move): If auto-hscroll-mode is disabled and the
18636 window is hscrolled, move by logical lines. (Bug#9607)
18637 (line-move-visual): Update the doc string to the above effect.
18638
18639 2011-09-29 Martin Rudalics <rudalics@gmx.at>
18640
18641 * window.el (display-buffer-record-window): When WINDOW is the
18642 selected window use `point' instead of `window-point'. (Bug#9626)
18643
18644 * startup.el (command-line-1): Use insert-before-markers when
18645 inserting initial-scratch-message. (Bug#9605)
18646
18647 * help.el (help-window): Remove variable.
18648
18649 2011-09-29 Glenn Morris <rgm@gnu.org>
18650
18651 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
18652
18653 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
18654
18655 * descr-text.el (describe-char-categories): Accept category
18656 descriptions more than one line long.
18657
18658 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
18659
18660 * simple.el (delete-trailing-whitespace): Fix last change.
18661
18662 * progmodes/perl-mode.el (perl-syntax-propertize-function):
18663 Don't confuse "y => 3" as the beginning of a `y' operation.
18664
18665 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
18666 object has more than 4 slots (bug#9613).
18667
18668 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
18669
18670 * subr.el (with-output-to-temp-buffer):
18671 * net/quickurl.el (quickurl, quickurl-browse-url):
18672 Fix typos in docstrings.
18673
18674 2011-09-27 Eli Zaretskii <eliz@gnu.org>
18675
18676 * minibuffer.el (completion-styles)
18677 (completion-category-overrides): Cross reference each other in doc
18678 strings.
18679
18680 2011-09-27 Glenn Morris <rgm@gnu.org>
18681
18682 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
18683 to split-string. (Bug#9606)
18684
18685 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
18686
18687 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
18688 (bug#9615).
18689
18690 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
18691
18692 * emacs-lisp/package.el (list-packages): Fix echo area message.
18693
18694 2011-09-27 Leo Liu <sdl.web@gmail.com>
18695
18696 * ido.el (ido-read-internal): Accept cons cell HIST arg.
18697
18698 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
18699
18700 * net/dbus.el (dbus-unregister-object): Don't release services for
18701 registered signals. (Bug#9581)
18702
18703 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
18704
18705 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
18706 function that picks between cfengine 2 and 3 support
18707 automatically. Update docs accordingly.
18708
18709 2011-09-22 Kenichi Handa <handa@m17n.org>
18710
18711 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
18712 ZERO.
18713 (indian-itrans-v5-table-for-tamil): New variable.
18714 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
18715
18716 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
18717
18718 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
18719 that's true if the current command involved collapsing of text.
18720 It's reset to false at the beginning of the next command.
18721 (allout-post-command-business): Move the cursor to the beginning
18722 of entry if the cursor is hidden and collapsing activity just
18723 happened.
18724
18725 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
18726
18727 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
18728 tracking (Bug#9541).
18729
18730 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
18731
18732 * net/newst-reader.el (newsticker-html-renderer)
18733 (newsticker-show-news): Automatically load html rendering package
18734 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
18735 because w3m-fill-column is let-bound" and the error "Symbol's value
18736 as variable is void: w3m-fill-column".
18737
18738 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
18739
18740 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
18741 Release services only if they are defined. (Bug#9581)
18742
18743 2011-09-23 Richard Stallman <rms@gnu.org>
18744
18745 * textmodes/paragraphs.el (forward-sentence): For backwards case,
18746 distinguish start of paragraph from start of its text.
18747
18748 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
18749
18750 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
18751 (rmail-generate-viewer-buffer): Put that hook on view buffer.
18752 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
18753
18754 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
18755
18756 * international/mule-diag.el (mule-diag): Insert a newline after
18757 each fontset description.
18758
18759 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
18760
18761 * simple.el (delete-trailing-whitespace):
18762 Document last change; simplify.
18763
18764 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
18765
18766 * simple.el (delete-trailing-whitespace): Also delete
18767 extra newlines at the end of the buffer.
18768
18769 * textmodes/picture.el: Make motion commands obey shift-select-mode.
18770 (picture-newline): Use forward-line so as to ignore fields.
18771
18772 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
18773
18774 * subr.el (with-wrapper-hook): Fix edebug spec.
18775
18776 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
18777
18778 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
18779 (bug#4538).
18780
18781 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
18782
18783 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
18784 Fix nasty bug using wrong cached values.
18785
18786 2011-09-23 Alan Mackenzie <acm@muc.de>
18787
18788 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
18789
18790 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
18791
18792 * window.el (pop-to-buffer): Ensure right window is selected if we
18793 chose another frame.
18794
18795 2011-09-22 Eli Zaretskii <eliz@gnu.org>
18796
18797 * simple.el (what-cursor-position): Use get-char-property-change
18798 and next-single-char-property-change, to be able to show display
18799 properties that come from overlays as well as text properties.
18800
18801 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
18802
18803 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
18804
18805 * cmuscheme.el (run-scheme, switch-to-scheme):
18806 * cus-edit.el (customize-group, custom-buffer-create)
18807 (customize-browse):
18808 * info.el (info):
18809 * shell.el (shell):
18810 * mail/sendmail.el (mail):
18811 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
18812
18813 2011-09-22 Richard Stallman <rms@gnu.org>
18814
18815 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
18816 move back only to line beg, don't move back over blank lines.
18817
18818 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
18819
18820 * files.el (copy-directory): Set directory attributes only in case
18821 they could be retrieved from the source directory. (Bug#9565)
18822
18823 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
18824
18825 * progmodes/hideshow.el (hs-looking-at-block-start-p)
18826 (hs-find-block-beginning, hs-hide-level-recursive):
18827 Ignore strings as well as comments. (Bug#9502)
18828
18829 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
18830
18831 * progmodes/sql.el (sql-comint-postgres):
18832 Convert port number to a string. (Bug#9566)
18833
18834 2011-09-22 Martin Rudalics <rudalics@gmx.at>
18835
18836 * window.el (quit-window): Undedicate window when switching to
18837 previous buffer. Reported by Thierry Volpiatto
18838 <thierry.volpiatto@gmail.com>.
18839 (special-display-popup-frame): When popping up a new frame reset
18840 its previous buffers to nil. Simplify code.
18841
18842 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
18843
18844 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
18845 and process filter, as done also in `shell-command'.
18846
18847 2011-09-21 Martin Rudalics <rudalics@gmx.at>
18848
18849 * window.el (set-window-buffer-start-and-point):
18850 Call set-window-start with NOFORCE argument t.
18851 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
18852 (quit-window): Reword doc-string. Handle new format of
18853 quit-restore parameter. Don't delete window if it has a
18854 previous buffer we can show instead of the present one.
18855 (display-buffer-record-window): Rewrite using a new format for
18856 the quit-restore window parameter
18857 (special-display-popup-frame, display-buffer-same-window)
18858 (display-buffer-reuse-window, display-buffer-pop-up-frame)
18859 (display-buffer-pop-up-window, display-buffer-use-some-window):
18860 Adapt symbol passed to display-buffer-record-window.
18861 * help.el (help-window-setup): Handle new format of quit-restore
18862 parameter.
18863
18864 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
18865
18866 * faces.el (face-list): Fix docstring (bug#9564).
18867
18868 * window.el (display-buffer--action-function-custom-type):
18869 Don't include internal functions in the Custom interface.
18870
18871 2011-09-20 Juri Linkov <juri@jurta.org>
18872
18873 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
18874 (Info-forward-node, Info-backward-node, Info-next-preorder)
18875 (Info-last-preorder): Use it. (Bug#9528)
18876
18877 2011-09-20 Juri Linkov <juri@jurta.org>
18878
18879 * info.el (Info-last-preorder): Visit last menu item only when
18880 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
18881
18882 2011-09-20 Julien Danjou <julien@danjou.info>
18883
18884 * password-cache.el (password-cache-remove): Remove entries even if the
18885 value is nil, so that password with a nil value (negative caching) is
18886 possible to invalidate.
18887
18888 2011-09-20 Lawrence Mitchell <wence@gmx.li>
18889
18890 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
18891 all whitespace around breakpoint. (Bug#9553)
18892 (f90-find-breakpoint): Only break at whitespace inside a comment.
18893
18894 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
18895
18896 * minibuffer.el (completion-file-name-table): Keep track of errors.
18897 (completion-table-with-predicate): Handle the case where pred1 is nil.
18898 * pcomplete.el (pcomplete-completions-at-point): Simplify.
18899
18900 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
18901
18902 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
18903 (debugger-return-value): Signal an error if the debugging context does
18904 not await any return value.
18905
18906 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
18907 * image-mode.el (image-toggle-display-text)
18908 (image-toggle-display-image): Stay away from evil `intangible'.
18909
18910 2011-09-19 Leo Liu <sdl.web@gmail.com>
18911
18912 * replace.el (occur-revert-arguments): Make it permanent-local.
18913 (occur-mode): Don't call font-lock-defontify.
18914
18915 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
18916
18917 * net/ldap.el (ldap-search-internal): Don't push empty search
18918 result (Bug#9508).
18919
18920 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
18921
18922 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
18923
18924 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
18925
18926 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
18927 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
18928
18929 2011-09-18 Juri Linkov <juri@jurta.org>
18930
18931 * buff-menu.el (Buffer-menu-mode-map):
18932 * dired.el (dired-mode-map):
18933 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
18934 (lisp-interaction-mode-map):
18935 * emacs-lisp/package.el (package-menu-mode-map):
18936 * epa.el (epa-key-list-mode-map):
18937 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
18938 (menu-bar-options-menu):
18939 * outline.el (outline-mode-menu-bar-map):
18940 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
18941 * vc/vc-dir.el (vc-dir-menu-map):
18942 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
18943 Capitalize non-function content words in menu item strings.
18944
18945 * dired.el (dired-mode-map): Add menu item for
18946 `image-dired-dired-toggle-marked-thumbs'.
18947
18948 2011-09-18 Juri Linkov <juri@jurta.org>
18949
18950 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
18951 to `isearch-case-fold-search' and restore its original value
18952 after the `isearch-mode' call.
18953
18954 2011-09-18 Juri Linkov <juri@jurta.org>
18955
18956 * progmodes/grep.el (grep-process-setup): Don't check code for 1
18957 because `zgrep' returns 1 for successful matches (bug#9226).
18958
18959 2011-09-18 Juri Linkov <juri@jurta.org>
18960
18961 * info.el (Info-extract-menu-node-name): Check the second match
18962 for empty string (second test-case of bug#9528).
18963 (Info-last-preorder): Let-bind `Info-history' to nil to not add
18964 intermediate nodes to the history (first test-case of bug#9528).
18965
18966 2011-09-18 Juri Linkov <juri@jurta.org>
18967
18968 * info.el (Info-mode-syntax-table): New variable.
18969 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
18970
18971 2011-09-18 Juri Linkov <juri@jurta.org>
18972
18973 * info.el (Info-file-supports-index-cookies):
18974 Increment line-beginning-position's arg from 3 to 4 because makeinfo
18975 outputs one more line for long file names (bug#4142).
18976
18977 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
18978
18979 * newcomment.el (comment-normalize-vars): If prompting for
18980 comment-start, set comment-start-skip too (Bug#8424).
18981
18982 2011-09-18 Johan Bockgård <bojohan@gnu.org>
18983
18984 * icomplete.el: Fix previous fix of Bug#5849.
18985 (icomplete-mode): Don't set completion-show-inline-help.
18986 (icomplete-minibuffer-setup): Set completion-show-inline-help
18987 locally during icompletion.
18988
18989 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
18990
18991 * woman.el (woman2-process-escapes): Don't delete unrecognized
18992 escapes (Bug#7843).
18993
18994 * files.el (inhibit-first-line-modes-regexps): Add image files.
18995 (hack-local-variables-prop-line): Return nil for malformed
18996 prop-lines (Bug#9044).
18997
18998 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
18999
19000 * net/tramp.el (top): Don't require 'shell.
19001 (tramp-methods): Fix docstring.
19002 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
19003 Return complete remote file name. Handle "smb" case.
19004 Use `tramp-tmpdir', if defined for the respective method.
19005 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
19006
19007 * net/tramp-compat.el (top): Require 'shell.
19008
19009 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
19010 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
19011 `tramp-current-host'.
19012 (tramp-get-remote-tmpdir): Remove.
19013
19014 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
19015 `tramp-tmpdir' entries.
19016 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
19017 (tramp-smb-handle-file-attributes): Ignore errors.
19018 (tramp-smb-wait-for-output): Check also for process end.
19019
19020 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
19021
19022 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
19023 when sending QUIT (bug#9312).
19024
19025 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
19026
19027 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
19028 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
19029 occur-mode-display-occurrence.
19030 (occur-edit-mode): Add usage message.
19031 (occur-cease-edit): New command.
19032 (occur-after-change-function): Use text properties to find the
19033 position of the prefix text.
19034 (occur-engine): Set stickiness of prefix text properties.
19035
19036 2011-09-17 Glenn Morris <rgm@gnu.org>
19037
19038 * progmodes/etags.el (complete-tag):
19039 Fix call to completion-in-region. (Bug#9526)
19040
19041 2011-09-17 Juri Linkov <juri@jurta.org>
19042
19043 * textmodes/ispell.el (ispell-word): Add to the error message
19044 the word, ispell program name and current dictionary (bug#9121).
19045 (ispell-tex-arg-end): Capitalize "error" in the error message.
19046
19047 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
19048
19049 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
19050 check. (Bug#4251)
19051
19052 2011-09-17 Juri Linkov <juri@jurta.org>
19053
19054 * window.el (window-safe-min-height, window-safe-min-width):
19055 Fix typos (followup to bug#9522).
19056
19057 2011-09-17 Sven Joachim <svenjoac@gmx.de>
19058
19059 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
19060
19061 2011-09-16 Eli Zaretskii <eliz@gnu.org>
19062
19063 * simple.el (line-move): If goal-column is set, move by logical
19064 lines, not by display lines. (Bug#971)
19065 (next-line, previous-line, goal-column, line-move-visual): Doc fix
19066 to reflect the above change.
19067
19068 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
19069
19070 * image.el (imagemagick-register-types): Use regexp-opt.
19071
19072 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
19073
19074 * window.el (display-buffer-base-action): Rename from
19075 display-buffer-default-action. Make default value empty.
19076 (display-buffer-overriding-action): Convert to defvar.
19077 (display-buffer-fallback-action): New var.
19078
19079 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
19080
19081 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
19082 declaration.
19083 (package--add-to-archive-contents): If there is a duplicate entry
19084 with an older version, remove it.
19085 (package-menu-mark-delete, package-menu-mark-install)
19086 (package-menu-mark-unmark): Make unused args optional.
19087 (package-menu-mark-obsolete-for-deletion):
19088 Use package-menu-get-status instead of a regexp search.
19089 (package-menu-get-status): Use tabulated-list-entry.
19090 (package-menu-mark-upgrades): New command.
19091 (package-menu-mode-map): Bind it to U. Add it to menu bar.
19092 (package-menu-execute): Do installation before deletion.
19093 (package-menu-refresh, package-menu-execute): Use derived-mode-p
19094 instead of checking major-mode.
19095 (package-menu--find-upgrades): New function.
19096
19097 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
19098
19099 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
19100 passwords in the log buffer.
19101 (smtpmail-process-filter): Update the process marker so that the
19102 "broken by peer" status message is inserted in the right place.
19103
19104 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
19105
19106 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
19107 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
19108 bibtex-completion-at-point-function.
19109 (bibtex-completion-at-point-function): Use them.
19110
19111 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
19112
19113 * mpc.el (mpc-constraints-tag-lookup): New function.
19114 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
19115 also to browser "album|playlist".
19116
19117 2011-09-14 Juri Linkov <juri@jurta.org>
19118
19119 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
19120 (isearch-edit-string): Use length of `isearch-string' when
19121 `isearch-fail-pos' returns nil.
19122 (isearch-message): Remove duplicate code and call
19123 `isearch-fail-pos' with arg `t'.
19124
19125 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
19126
19127 * replace.el (occur-mode-goto-occurrence): Don't force using other
19128 window (Bug#9499).
19129
19130 * dired-aux.el (dired-do-chmod): Don't provide initial input.
19131
19132 2011-09-14 Martin Rudalics <rudalics@gmx.at>
19133
19134 * window.el (display-buffer-window): Remove.
19135 (display-buffer-record-window): Use help-setup window parameter
19136 instead of variable display-buffer-window.
19137 (display-buffer-function, special-display-buffer-names)
19138 (special-display-function): Mention help-setup parameter instead
19139 of display-buffer-window in doc-string.
19140 * help.el (help-window-setup): New argument help-window.
19141 Use help-window-setup parameter instead of display-buffer-window.
19142 Reword some messages.
19143 (with-help-window): Pass window used for displaying the buffer
19144 to help-window-setup. Don't set display-buffer-window.
19145
19146 2011-09-13 Glenn Morris <rgm@gnu.org>
19147
19148 * emacs-lisp/debug.el (debugger-make-xrefs):
19149 Preserve point. (Bug#9462)
19150
19151 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
19152
19153 * window.el (window-deletable-p): Use next-frame.
19154
19155 2011-09-13 Martin Rudalics <rudalics@gmx.at>
19156
19157 * window.el (window-auto-delete): Remove.
19158 (window-deletable-p): Remove argument FORCE. Don't deal with
19159 dedication and previous buffers.
19160 (switch-to-prev-buffer): Don't delete window.
19161 (delete-windows-on): Delete a window's frame if and only if the
19162 window is dedicated.
19163 (replace-buffer-in-windows): Delete buffer's window or frame if
19164 and only if window is dedicated.
19165 (quit-window): Handle quit-restore as before last change.
19166 (bury-buffer): Delete window only if window-deletable-p returns t.
19167
19168 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
19169
19170 * window.el (window-deletable-p): Never delete the last frame on a
19171 given terminal.
19172
19173 2011-09-13 Glenn Morris <rgm@gnu.org>
19174
19175 * help.el (describe-key-briefly): Copy previous standard-output change.
19176
19177 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
19178
19179 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
19180
19181 2011-09-13 Glenn Morris <rgm@gnu.org>
19182
19183 * emacs-lisp/lisp-mode.el (lisp-indent-function):
19184 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
19185
19186 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
19187
19188 * dired-aux.el (dired-mark-read-string): Don't return default
19189 value on empty input (Bug#9361).
19190 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
19191 Omit initial minibuffer contents.
19192 (dired-do-chmod): Signal an error on empty input.
19193 (dired-mark-read-string): Don't return default on empty input.
19194
19195 * files.el (file-modes-symbolic-to-number): Doc fix.
19196
19197 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
19198
19199 * international/mule-cmds.el (ucs-completions): Remove.
19200 (read-char-by-name): Use complete-with-action instead; add metadata.
19201
19202 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
19203
19204 * window.el (display-buffer--action-function-custom-type)
19205 (display-buffer--action-custom-type): New vars.
19206 (display-buffer-alist, display-buffer-default-action)
19207 (display-buffer-overriding-action): Add defcustom types.
19208
19209 * frame.el (delete-other-frames): Doc fix (Bug#276).
19210
19211 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
19212
19213 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
19214
19215 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
19216
19217 Change modes that used same-window-* vars to use switch-to-buffer.
19218
19219 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
19220 Use switch-to-buffer.
19221
19222 * cus-edit.el (customize-group, custom-buffer-create)
19223 (customize-browse, custom-buffer-create-other-window):
19224 Use switch-to-buffer or switch-to-buffer-other-window.
19225
19226 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
19227 (Info-prev, Info-up, Info-speedbar-goto-node)
19228 (info-display-manual): Use switch-to-buffer.
19229 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
19230
19231 * mail/sendmail.el (mail): Use switch-to-buffer.
19232 (mail-recover): Use switch-to-buffer-other-window.
19233
19234 * cmuscheme.el (run-scheme, switch-to-scheme):
19235 * ielm.el (ielm):
19236 * shell.el (shell):
19237 * net/rlogin.el (rlogin):
19238 * net/telnet.el (telnet, rsh):
19239 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
19240
19241 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
19242
19243 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
19244
19245 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
19246
19247 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
19248 so don't mention it (bug#9301).
19249 (dired-sort-toggle-or-edit): Clarify string further.
19250
19251 * faces.el (face-spec-set-match-display): Make `(type graphic)'
19252 match `x', `w32' and `ns', like the manual says (bug#9029).
19253
19254 * subr.el (eval-after-load): Doc string clarification (bug#9125).
19255 (process-kill-buffer-query-function): Mention the buffer name in
19256 the query.
19257
19258 * image-mode.el (image-next-line): The line parameter is mandatory
19259 (bug#9258).
19260
19261 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
19262 which can be useful (bug#9301).
19263
19264 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
19265
19266 * subr.el (match-string): Mention that the current buffer should
19267 be the same as the search was done in (bug#9282).
19268
19269 * facemenu.el: Disable the remove-* commands if the mark isn't
19270 active (bug#9162).
19271
19272 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
19273
19274 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
19275 of display-buffer.
19276 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
19277
19278 * replace.el (occur-mode-goto-occurrence)
19279 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
19280 and display-buffer.
19281
19282 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
19283 display-buffer.
19284
19285 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
19286 special-display and same-window variables.
19287 (mail-other-window): Use switch-to-buffer-other-window.
19288 (mail-other-frame): USe switch-to-buffer-other-frame.
19289
19290 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
19291 Use display-buffer-other-frame.
19292 (gdb-display-gdb-buffer): Use pop-to-buffer.
19293
19294 * progmodes/gud.el (gud-goto-info): Use info-other-window.
19295
19296 * progmodes/python.el: Don't set same-window-buffer-names.
19297
19298 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
19299
19300 * window.el (display-buffer-alist): Add *Python*.
19301
19302 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
19303
19304 * window.el (display-buffer-alist): Add entry for buffers
19305 previously handled same-window-*.
19306 (display-buffer-alist, display-buffer-default-action)
19307 (display-buffer-overriding-action): Mark as risky.
19308 (display-buffer-alist): Document action function changes.
19309 (display-buffer--same-window-action)
19310 (display-buffer--other-frame-action): New variables.
19311 (switch-to-buffer, display-buffer-other-frame): Use them.
19312 (display-buffer): Rename reuse-frame entry to reusable-frames.
19313 (display-buffer-reuse-selected-window): Function deleted.
19314 (display-buffer-reuse-window): Handle reusable-frames alist entry.
19315 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
19316 (display-buffer-special): New function.
19317 (display-buffer--maybe-pop-up-frame-or-window): Rename from
19318 display-buffer-reuse-or-pop-window. Split off special-display
19319 part into display-buffer-special.
19320 (display-buffer-use-some-window): Don't perform any special
19321 pop-up-frames handling.
19322 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
19323 (display-buffer--maybe-same-window): Rename from
19324 display-buffer-maybe-same-window.
19325
19326 * info.el: Don't set same-window-regexps.
19327 (info-setup): New function.
19328 (info-other-window, info): Call it.
19329
19330 * cus-edit.el: Don't set same-window-regexps.
19331 (customize-group): New argument.
19332 (customize-group-other-window): Use it.
19333 (customize-face, customize-face-other-window): Likewise.
19334 (custom-buffer-create-other-window): Use pop-to-buffer directly.
19335
19336 * net/rlogin.el:
19337 * net/telnet.el:
19338 * progmodes/gud.el: Don't set same-window-regexps.
19339
19340 * cmuscheme.el:
19341 * ielm.el:
19342 * shell.el:
19343 * mail/sendmail.el:
19344 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
19345
19346 2011-09-10 Juri Linkov <juri@jurta.org>
19347
19348 * isearch.el (isearch-edit-string): Remove obsolete mention of
19349 `C-w' (`isearch-yank-word-or-char') from docstring.
19350 (isearch-query-replace): Fix typo in docstring (bug#9466).
19351
19352 2011-09-10 Juri Linkov <juri@jurta.org>
19353
19354 * paren.el (show-paren-function): Don't show escaped parens.
19355 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
19356
19357 2011-09-10 Eli Zaretskii <eliz@gnu.org>
19358
19359 * mail/sendmail.el (mml-to-mime, mml-attach-file)
19360 (mm-default-file-encoding): Remove autoload forms, they are
19361 replaced with autoload cookies in mml.el and mm-encode.el.
19362 (mail-add-attachment): New command.
19363 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
19364 (mail-mode): Mention mail-insert-file and mail-add-attachment in
19365 the doc string.
19366 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
19367
19368 2011-09-10 Reuben Thomas <rrt@sc3d.org>
19369
19370 * simple.el (count-words-region): Use buffer if there's no region
19371 (bug#9429).
19372
19373 2011-09-09 Juri Linkov <juri@jurta.org>
19374
19375 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
19376 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
19377 (wdired-isearch-filter-read-only): New function. (Bug#6362)
19378
19379 2011-09-09 Alan Mackenzie <acm@muc.de>
19380
19381 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
19382 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
19383
19384 2011-09-09 Eli Zaretskii <eliz@gnu.org>
19385
19386 Fix for Savannah bug#9392.
19387 * simple.el (mail-encode-mml): New defvar.
19388
19389 * mail/rmail.el (mail-encode-mml): Add a defvar.
19390 (rmail-enable-mime-composing): Default to t.
19391 (rmail-forward): Use MIME method of forwarding only if both
19392 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
19393 Set mail-encode-mml non-nil if the MIME method was used.
19394
19395 * mail/sendmail.el (mml-to-mime): Add autoload form.
19396 (mail-encode-mml): Add a defvar.
19397 (mail-mode): Make mail-encode-mml buffer-local and initialize it
19398 to nil.
19399 (mail-send): If mail-encode-mml is non-nil, run the outgoing
19400 message through mml-to-mime, and reset mail-encode-mml to nil.
19401
19402 2011-09-09 Glenn Morris <rgm@gnu.org>
19403
19404 * woman.el (woman-if-body): When processing an .el block,
19405 do not delete the next .el block as well. (Bug#9447)
19406 (woman-special-characters): Add oq, cq, and hy characters.
19407
19408 2011-09-08 Martin Rudalics <rudalics@gmx.at>
19409
19410 * window.el (window-deletable-p): Make sure window is live before
19411 invoking window-prev-buffers.
19412
19413 2011-09-08 Leo Liu <sdl.web@gmail.com>
19414
19415 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
19416
19417 2011-09-08 Juri Linkov <juri@jurta.org>
19418
19419 * progmodes/compile.el (compilation-environment): Make it
19420 a defcustom (bug#8340).
19421
19422 2011-09-08 Martin Rudalics <rudalics@gmx.at>
19423
19424 * window.el (frame-auto-delete): Rename to window-auto-delete.
19425 Make it control auto-deletion of windows and/or frames.
19426 (window-deletable-p): New argument FORCE. Rewrite conditions
19427 for deleting window/frame. (Bug#9419)
19428 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
19429 Rewrite handling of case when window/frame can be deleted.
19430 (delete-windows-on): Call window-deletable-p with new FORCE
19431 argument t. (Bug#9456)
19432
19433 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
19434
19435 * help-mode.el (help-mode): Restore autoload.
19436
19437 2011-09-07 Juri Linkov <juri@jurta.org>
19438
19439 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
19440 `compilation-environment'. Set buffer-local
19441 `compilation-environment' to `thisenv' later after (funcall mode).
19442 (Bug#8340)
19443
19444 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
19445 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
19446 instead of replacing its value. (Bug#8340)
19447
19448 2011-09-07 Juri Linkov <juri@jurta.org>
19449
19450 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
19451 based on text properties put by `grep-filter' instead of matching
19452 escape sequences.
19453 (grep-mode): Set buffer-local `compilation-error-screen-columns'
19454 to the value of `grep-error-screen-columns' (bug#9438).
19455
19456 2011-09-07 Juri Linkov <juri@jurta.org>
19457
19458 * simple.el (next-error-highlight, next-error-highlight-no-select):
19459 Doc fix (bug#9432).
19460
19461 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
19462
19463 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
19464 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
19465
19466 2011-09-07 Leo Liu <sdl.web@gmail.com>
19467
19468 * net/rcirc.el (rcirc-mode): Conditionally initialize
19469 rcirc-input-ring.
19470
19471 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
19472
19473 * emacs-lisp/find-func.el (find-function-C-source): Only set
19474 find-function-C-source-directory after checking that we found a source
19475 file there (bug#9440).
19476
19477 2011-09-06 Alan Mackenzie <acm@muc.de>
19478
19479 * isearch.el (isearch-other-meta-char): Wherever a key list is
19480 unread, "unread" the prefix arg, too. This fixes bug #8901.
19481
19482 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
19483
19484 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
19485
19486 2011-09-05 Juri Linkov <juri@jurta.org>
19487
19488 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
19489
19490 2011-09-05 Juri Linkov <juri@jurta.org>
19491
19492 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
19493 keeping point where processing of grep matches begins, and
19494 continue to delete remaining escape sequences from the same point.
19495 (grep-filter): Make leading zero optional in "0?1;31m" because
19496 git-grep emits "\033[1;31m" escape sequences unlike expected
19497 "\033[01;31m" as GNU Grep does (bug#9408).
19498 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
19499
19500 2011-09-05 Juri Linkov <juri@jurta.org>
19501
19502 * subr.el (y-or-n-p): Capitalize "yes".
19503
19504 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
19505
19506 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
19507 `tramp-cache-unload-hook' where appropriate.
19508 (tramp-methods): Rename `tramp-remote-sh' to
19509 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
19510 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
19511
19512 * net/tramp-sh.el (top): Don't require 'shell.
19513 (tramp-methods): Add `tramp-remote-shell' and
19514 `tramp-remote-shell-args' entries.
19515 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
19516 (tramp-sh-handle-shell-command): Remove.
19517 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
19518 Use `tramp-remote-shell'.
19519
19520 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
19521
19522 * mail/sendmail.el (sendmail-query-once-function): Delete.
19523 (sendmail-query-once): Save directly to send-mail-function.
19524 Update message-send-mail-function too.
19525
19526 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
19527
19528 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
19529
19530 * progmodes/python.el (python-mode-map): Use correct function to
19531 start python interpreter from menu-bar (as reported by Geert
19532 Kloosterman).
19533 (inferior-python-mode-map): Fix typo.
19534 (python-shell-map): Remove.
19535
19536 2011-09-03 Deniz Dogan <deniz@dogan.se>
19537
19538 * net/rcirc.el (rcirc-print): Simplify code for
19539 rcirc-scroll-show-maximum-output. There is no need to walk
19540 through all windows to find the right one.
19541
19542 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
19543
19544 * help.el (help-return-method): Doc fix.
19545
19546 2011-09-03 Martin Rudalics <rudalics@gmx.at>
19547
19548 * window.el (window-deletable-p): Don't return a non-nil value
19549 when there's a buffer that was shown in the window before.
19550 (Bug#9419)
19551 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
19552 Set window's previous buffers to nil.
19553
19554 2011-09-03 Eli Zaretskii <eliz@gnu.org>
19555
19556 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
19557 newline before and after the tag line, so it doesn't interfere
19558 with determining the paragraph direction of bidirectional text.
19559
19560 2011-09-03 Leo Liu <sdl.web@gmail.com>
19561
19562 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
19563
19564 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
19565
19566 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
19567 (pop-to-buffer): Change interactive spec. Pass second argument
19568 directly to display-buffer.
19569 (display-buffer): Fix interactive spec. Use functionp to
19570 distinguish between a function and a list of functions.
19571
19572 * abbrev.el (edit-abbrevs):
19573 * arc-mode.el (archive-extract):
19574 * autoinsert.el (auto-insert):
19575 * bookmark.el (bookmark-bmenu-list):
19576 * files.el (find-file):
19577 * view.el (view-buffer):
19578 * progmodes/compile.el (compilation-goto-locus):
19579 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
19580
19581 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
19582
19583 * window.el (display-buffer-alist): Doc fix.
19584 (display-buffer): Add docstring. Don't treat
19585 display-buffer-default specially.
19586 (display-buffer-reuse-selected-window)
19587 (display-buffer-same-window, display-buffer-maybe-same-window)
19588 (display-buffer-reuse-window, display-buffer-pop-up-frame)
19589 (display-buffer-pop-up-window)
19590 (display-buffer-reuse-or-pop-window)
19591 (display-buffer-use-some-window): New functions.
19592 (display-buffer-default-action): Use them.
19593 (display-buffer-default): Delete.
19594 (pop-to-buffer-1): Fix choice of actions.
19595
19596 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
19597
19598 * minibuffer.el (completion--insert-strings): Don't get confused by
19599 completion entries that end with an LF char.
19600
19601 2011-09-01 Eli Zaretskii <eliz@gnu.org>
19602
19603 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
19604
19605 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
19606
19607 * window.el (display-buffer): Restore interactive spec.
19608 (display-buffer-same-window, display-buffer-other-window):
19609 New functions.
19610 (pop-to-buffer-1): New function. Use the above.
19611 (pop-to-buffer, pop-to-buffer-same-window): Use it.
19612 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
19613
19614 * view.el (view-buffer-other-window, view-buffer-other-frame):
19615 Just use pop-to-buffer.
19616
19617 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
19618
19619 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
19620
19621 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
19622
19623 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
19624
19625 2011-08-31 Richard Stallman <rms@gnu.org>
19626
19627 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
19628 of the separation of rmail-view-buffer from rmail-buffer.
19629 If you say no to "replace original", the decrypt is in the
19630 view buffer. If you say yes, the decrypt goes into the
19631 rmail buffer also.
19632
19633 2011-08-31 Martin Rudalics <rudalics@gmx.at>
19634
19635 * window.el (display-buffer-window): Rewrite doc-string.
19636 (display-buffer-record-window): New function.
19637 (display-buffer-macro-specifiers)
19638 (display-buffer-even-window-sizes, display-buffer-set-height)
19639 (display-buffer-set-width, display-buffer-in-window)
19640 (display-buffer-reuse-window, display-buffer-split-specifiers)
19641 (display-buffer-side-specifiers, display-buffer-split-window-1)
19642 (display-buffer-split-window, display-buffer-split-atom-window)
19643 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
19644 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
19645 (display-buffer-other-window-means-other-frame)
19646 (display-buffer-normalize-special)
19647 (display-buffer-normalize-default)
19648 (display-buffer-normalize-argument)
19649 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
19650 (display-buffer-normalize-specifiers, display-buffer-frame)
19651 (display-buffer-same-window, display-buffer-same-frame)
19652 (display-buffer-other-window)
19653 (display-buffer-same-frame-other-window)
19654 (display-buffer-other-frame, pop-to-buffer-same-window)
19655 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
19656 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
19657 (switch-to-buffer-same-frame)
19658 (switch-to-buffer-other-window-same-frame)
19659 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
19660 (display-buffer-alist-set-1, display-buffer-alist-set-2)
19661 (display-buffer-alist-set): Remove.
19662 (display-buffer-function, special-display-buffer-names)
19663 (special-display-regexps, special-display-function):
19664 In doc-string refer to display-buffer-window and quit-restore
19665 parameter.
19666 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
19667 (special-display-frame-alist, special-display-popup-frame)
19668 (same-window-buffer-names, same-window-regexps, same-window-p)
19669 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
19670 (split-window-preferred-function, split-height-threshold)
19671 (split-width-threshold, window-splittable-p)
19672 (split-window-sensibly, window--try-to-split-window)
19673 (window--frame-usable-p, even-window-heights)
19674 (window--even-window-heights, window--display-buffer-1)
19675 (window--display-buffer-2, display-buffer-other-frame):
19676 Restore old Emacs 23 code, order and doc-strings where applicable.
19677 (display-buffer-default, display-buffer-assq-regexp): New functions.
19678 (display-buffer-alist): Rewrite doc-string.
19679 (display-buffer-default-action)
19680 (display-buffer-overriding-action): New variables.
19681 (display-buffer, switch-to-buffer): Rewrite.
19682 (pop-to-buffer): Restore Emacs 23 behavior but use
19683 window-normalize-buffer-to-display.
19684 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
19685 Restore Emacs 23 behavior but use
19686 window-normalize-buffer-to-switch-to.
19687 (pop-to-buffer-same-window): Rewrite.
19688 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
19689 Rewrite using Emacs 23 options.
19690
19691 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
19692
19693 * net/tramp.el (tramp-root-regexp): Remove.
19694 (tramp-completion-file-name-regexp-unified)
19695 (tramp-completion-file-name-regexp-separate)
19696 (tramp-completion-file-name-regexp-url): Don't use leading volume
19697 letter on w32 systems. (Bug#5303, Bug#9311)
19698 (tramp-drop-volume-letter): Simplify definition.
19699 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
19700
19701 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
19702
19703 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
19704 (bug#9356).
19705
19706 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
19707
19708 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
19709
19710 2011-08-29 Juri Linkov <juri@jurta.org>
19711
19712 * isearch.el (isearch-done): Don't display message "Mark saved"
19713 when arg `edit' is non-nil to prevent its flicker in the echo area.
19714
19715 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
19716
19717 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
19718 obsolete packages for deletion.
19719
19720 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
19721
19722 * help-mode.el (help-mode-map): Add special-mode-map to parent.
19723 (help-mode): Derive help-mode from special-mode. Don't invoke
19724 view-mode from help-mode.
19725 (help-xref-override-view-map): Remove.
19726 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
19727 view-mode is not used anymore.
19728
19729 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
19730
19731 * server.el (server-port): Doc fix.
19732
19733 * cus-theme.el (custom-theme-choose-mode): Inherit from
19734 special-mode (Bug#9124).
19735 (custom-theme-choose-mode-map): Add special-mode to parent.
19736
19737 2011-08-28 Alan Mackenzie <acm@muc.de>
19738
19739 * progmodes/cc-fonts.el
19740 (c-make-font-lock-BO-decl-search-function): New function.
19741 (c-basic-matchers-after - "Fontify the clauses after various
19742 keywords"): Extract the three keyword lists for the 3 erroneous
19743 constructs from the list of four, and use the new function above
19744 in place of an old one.
19745
19746 2011-08-28 Deniz Dogan <deniz@dogan.se>
19747
19748 * net/rcirc.el (rcirc-insert-prev-input)
19749 (rcirc-insert-next-input): Remove unused argument.
19750
19751 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
19752
19753 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
19754
19755 2011-08-27 Alan Mackenzie <acm@muc.de>
19756
19757 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
19758 handle function pointer parameters properly.
19759
19760 2011-08-27 Martin Rudalics <rudalics@gmx.at>
19761
19762 * window.el (display-buffer-reuse-window): Fix case where
19763 selected window was reused with non-nil OTHER-WINDOW argument.
19764 (Bug#9381)
19765
19766 2011-08-27 Deniz Dogan <deniz@dogan.se>
19767
19768 * net/rcirc.el (rcirc-check-auth-status): Adding support for
19769 oftc's NickServ messages.
19770
19771 2011-08-27 Glenn Morris <rgm@gnu.org>
19772
19773 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
19774
19775 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
19776
19777 * emacs-lisp/package.el (package-install): Call package-initialize
19778 if called interactively.
19779
19780 2011-08-26 Leo Liu <sdl.web@gmail.com>
19781
19782 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
19783
19784 2011-08-25 Juri Linkov <juri@jurta.org>
19785
19786 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
19787 `search-whitespace-regexp' (bug#9364).
19788
19789 2011-08-25 Juri Linkov <juri@jurta.org>
19790
19791 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
19792 `regexp-search-ring' to their global values to protect from
19793 updating by `read-from-minibuffer' (bug#9185).
19794
19795 2011-08-25 Juri Linkov <juri@jurta.org>
19796
19797 * textmodes/ispell.el (ispell-command-loop): Add newline
19798 at the end of the "Use option `i'..." line.
19799
19800 2011-08-25 Juri Linkov <juri@jurta.org>
19801
19802 * battery.el (display-battery-mode): If `battery-status-function'
19803 or `battery-mode-line-format' is nil, display the message and set
19804 `display-battery-mode' to nil (bug#9363).
19805
19806 2011-08-25 Eli Zaretskii <eliz@gnu.org>
19807
19808 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
19809 bidi-string-mark-left-to-right; they are unnecessary now.
19810
19811 2011-08-25 Deniz Dogan <deniz@dogan.se>
19812
19813 * net/quickurl.el: Documentation typo fixes.
19814
19815 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
19816
19817 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
19818
19819 2011-08-25 Glenn Morris <rgm@gnu.org>
19820
19821 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
19822
19823 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
19824 (smtpmail-via-smtp): Handle nil response from smtp.
19825
19826 2011-08-24 Juri Linkov <juri@jurta.org>
19827
19828 * proced.el (proced-marked): Inherit from `error' instead of
19829 `font-lock-warning-face'.
19830
19831 * ibuffer.el (ibuffer-marked-face): Change default face from
19832 `font-lock-warning-face' to `warning'.
19833 (ibuffer-deletion-face): Change default face from
19834 `font-lock-type-face' to `error'.
19835
19836 * battery.el (battery-update): Use the face `error' instead of
19837 `font-lock-warning-face' (bug#6117).
19838
19839 2011-08-24 Juri Linkov <juri@jurta.org>
19840
19841 * faces.el (success): Change face color from "Green3" to
19842 "ForestGreen" on light background (bug#9353).
19843
19844 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
19845
19846 * window.el (quit-window): Rename from quit-restore-window.
19847 Use same arglist as old quit-window.
19848 (frame-auto-delete): Doc fix.
19849
19850 * view.el (view-mode-exit): Use quit-window.
19851
19852 2011-08-24 Juri Linkov <juri@jurta.org>
19853
19854 * isearch.el (isearch-ring-adjust1): Start visiting previous
19855 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
19856 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
19857 for empty search string (when the last search string is reused
19858 automatically) to adjust the isearch ring to the last element and
19859 prepare the correct index for further M-p commands (bug#9185).
19860
19861 2011-08-24 Kenichi Handa <handa@m17n.org>
19862
19863 * international/ucs-normalize.el: If decomposition property of
19864 CHAR is the default one (i.e. a list of CHAR itself), treat it as
19865 nil.
19866 (nfd, nfkd): Likewise.
19867
19868 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
19869
19870 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
19871 from process filters aren't reliably transmitted to the surrounding
19872 accept-process-output.
19873 (mpc-proc-check): New function.
19874 (mpc-proc-sync): Use it (bug#8293)
19875
19876 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
19877
19878 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
19879 Add compatibility functions (bug#9313).
19880
19881 2011-08-23 Eli Zaretskii <eliz@gnu.org>
19882
19883 * cus-start.el (all): Add entry for bidi-paragraph-direction.
19884
19885 * international/uni-bidi.el: Regenerate.
19886
19887 2011-08-23 Kenichi Handa <handa@m17n.org>
19888
19889 * international/charprop.el:
19890 * international/uni-bidi.el:
19891 * international/uni-category.el:
19892 * international/uni-combining.el:
19893 * international/uni-comment.el:
19894 * international/uni-decimal.el:
19895 * international/uni-decomposition.el:
19896 * international/uni-digit.el:
19897 * international/uni-lowercase.el:
19898 * international/uni-mirrored.el:
19899 * international/uni-name.el:
19900 * international/uni-numeric.el:
19901 * international/uni-old-name.el:
19902 * international/uni-titlecase.el:
19903 * international/uni-uppercase.el: Regenerate.
19904
19905 2011-08-23 Martin Rudalics <rudalics@gmx.at>
19906
19907 * help.el (help-window-setup): Fix message displayed when other
19908 window is reused. (Bug#9341)
19909
19910 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
19911
19912 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
19913 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
19914
19915 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
19916 Mark obsolete.
19917 * shell.el (shell-parse-pcomplete-arguments): New function.
19918 (shell-completion-vars): Use it instead (bug#9160).
19919
19920 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
19921
19922 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
19923 strings and comments (bug#9333).
19924
19925 * emacs-lisp/debug.el (debug-arglist): New function.
19926 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
19927 (debug-on-entry-1): Handle interpreted closures (bug#9120).
19928
19929 2011-08-22 Juri Linkov <juri@jurta.org>
19930
19931 * progmodes/compile.el (compilation-mode-font-lock-keywords):
19932 Revert regexp that highlights output switches to its old
19933 pre-2010-10-28 value and remove one `?' from it (bug#9319).
19934
19935 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
19936 to check for empty output (bug#9226).
19937
19938 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
19939
19940 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
19941 symbol-constituent as the default, as that stops font-lock from
19942 working properly (Bug#8843).
19943
19944 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
19945
19946 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
19947 `coding-system-for-*' around the process open call to avoid
19948 auth-source side effects.
19949 (smtpmail-try-auth-methods): Expand the secret password.
19950 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
19951 probe hangs.
19952
19953 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
19954
19955 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
19956
19957 * emacs-lisp/find-func.el (find-function-noselect): New arg
19958 lisp-only.
19959
19960 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
19961 signal an error for built-in functions (Bug#6664).
19962
19963 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
19964
19965 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
19966 (smtpmail-try-auth-methods): Use it.
19967
19968 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
19969
19970 * font-lock.el (font-lock-fontify-region)
19971 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
19972 (font-lock-default-unfontify-buffer)
19973 (font-lock-default-fontify-region)
19974 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
19975
19976 * progmodes/compile.el (compilation-error-properties):
19977 Fix confusion between file struct and message struct (Bug#9319).
19978 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
19979 `ant' regexp.
19980
19981 * net/browse-url.el (browse-url-firefox): Don't call
19982 browse-url-firefox-sentinel unless using -remote (Bug#9328).
19983
19984 2011-08-20 Glenn Morris <rgm@gnu.org>
19985
19986 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
19987
19988 * tutorial.el (tutorial--default-keys): Update some default bindings.
19989
19990 * files.el (hack-local-variables): Fully ignore case for "mode:".
19991
19992 2011-08-20 Alan Mackenzie <acm@muc.de>
19993
19994 Resolve invalid use of a regexp in regexp-opt.
19995
19996 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
19997 detection for a java annotation.
19998
19999 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
20000 detection for a java annotation.
20001
20002 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
20003 handling for java.
20004 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
20005
20006 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
20007
20008 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
20009 (Bug#9274).
20010
20011 2011-08-20 Alan Mackenzie <acm@muc.de>
20012
20013 Fontify CPP expressions correctly when starting in the middle of
20014 such a construct. Mainly for when jit-lock etc. starts a chunk
20015 here.
20016
20017 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
20018 variable.
20019 (c-make-font-lock-search-form): New function, extracted from
20020 c-make-font-lock-search-function.
20021 (c-make-font-lock-search-function): Use the above function.
20022 (c-make-font-lock-context-search-function): New function.
20023 (c-cpp-matchers): Enhance the preprocessor expression case with
20024 the above function
20025 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
20026 which takes an expression.
20027
20028 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
20029
20030 2011-08-20 Martin Rudalics <rudalics@gmx.at>
20031
20032 * window.el (display-buffer-reuse-window)
20033 (display-buffer-pop-up-window): Don't reuse or split a side
20034 window.
20035
20036 2011-08-19 Glenn Morris <rgm@gnu.org>
20037
20038 * files.el (hack-local-variables-prop-line, hack-local-variables):
20039 Downcase "Mode:". (Bug#9331)
20040
20041 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
20042
20043 * international/characters.el: Add L and R categories.
20044
20045 * subr.el (bidi-string-mark-left-to-right): Rename from
20046 string-mark-left-to-right. Use category search.
20047
20048 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
20049
20050 2011-08-18 Juri Linkov <juri@jurta.org>
20051
20052 * faces.el (error, warning, success): New faces with definitions
20053 copied from old default values of `font-lock-warning-face',
20054 `compilation-warning', `compilation-info' (bug#6117).
20055
20056 * font-lock.el (font-lock-warning-face): Inherit from `error'.
20057
20058 * progmodes/compile.el (compilation-error): Inherit from `error'.
20059 (compilation-warning): Inherit from `warning'.
20060 (compilation-info): Inherit from `success'.
20061
20062 * dired.el (dired-marked): Inherit from `warning'.
20063 (dired-flagged): Inherit from `error'.
20064
20065 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
20066
20067 * mail/smtpmail.el (auth-source): Require to avoid problems with
20068 binding variables (bug#9298). Also clean up some unused
20069 autoloads.
20070
20071 * net/network-stream.el (network-stream-open-starttls):
20072 Support using starttls.el without using gnutls-cli.
20073
20074 2011-08-17 Juri Linkov <juri@jurta.org>
20075
20076 * progmodes/grep.el (rgrep): Handle the case when
20077 `grep-find-command' is a cons cell (bug#9278).
20078
20079 2011-08-17 Martin Rudalics <rudalics@gmx.at>
20080
20081 * window.el (display-buffer-pop-up-frame): Run frame creation
20082 function with BUFFER current (as special-display-popup-frame
20083 does). Reported by Drew Adams.
20084
20085 2011-08-17 Daiki Ueno <ueno@unixuser.org>
20086
20087 * epa-mail.el: Simplify GnuPG group expansion using
20088 epg-expand-group.
20089 (epa-mail-group-alist, epa-mail-group-modtime)
20090 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
20091 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
20092 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
20093 Remove.
20094
20095 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
20096
20097 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
20098
20099 2011-08-16 Alan Mackenzie <acm@muc.de>
20100
20101 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
20102 Correct, to avoid the inside of macros.
20103
20104 2011-08-16 Richard Stallman <rms@gnu.org>
20105
20106 * epa-mail.el: Handle GnuPG group definitions.
20107 (epa-mail-group-alist, epa-mail-group-modtime)
20108 (epa-mail-gnupg-conf-file): New variables.
20109 (epa-mail-parse-groups, epa-mail-sync-groups)
20110 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
20111 (epa-mail-expand-recipients): New functions.
20112 (epa-mail-encrypt): Call epa-mail-expand-recipients.
20113
20114 * mail/rmail.el (rmail-epa-decrypt): New command.
20115
20116 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
20117 Don't bind buffer-read-only, just inhibit-read-only.
20118 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
20119 (epa-decrypt-armor-in-region): Make error message clearer.
20120
20121 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
20122
20123 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
20124 and "a2b" to "ab" for `prefix'.
20125
20126 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
20127
20128 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
20129 filter groups.
20130 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
20131 Fourquet (Bug#8804).
20132
20133 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
20134
20135 * startup.el (argi): Declare as global variable (bug#9275).
20136
20137 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
20138
20139 * subr.el (string-mark-left-to-right): Search the entire string
20140 for RTL script, not just the terminating character. Doc fix.
20141
20142 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
20143
20144 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
20145 New function.
20146 (js--regexp-literal, js-syntax-propertize-function): Remove.
20147 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
20148 (js-mode-map): Don't rebind electric keys.
20149 (js-insert-and-indent): Remove.
20150 (js-mode): Setup electric-layout and electric-indent instead.
20151
20152 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
20153
20154 2011-08-12 Daiki Ueno <ueno@unixuser.org>
20155
20156 * epa.el (epa-progress-callback-function): Fix the logic of
20157 displaying progress.
20158 * epa-file.el (epa-file-insert-file-contents): Make progress
20159 display more user-friendly.
20160 (epa-file-write-region): Ditto.
20161
20162 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
20163
20164 * subr.el (string-mark-left-to-right): New function.
20165
20166 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
20167 Use string-mark-left-to-right.
20168 (list-buffers-noselect): Caller changed.
20169
20170 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
20171 Use string-mark-left-to-right.
20172 (tabulated-list-print): Recenter after moving point.
20173
20174 2011-08-10 Juri Linkov <juri@jurta.org>
20175
20176 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
20177 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
20178 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
20179
20180 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
20181
20182 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
20183 (Bug#7554).
20184
20185 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
20186
20187 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
20188 character. (Bug#6594)
20189
20190 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
20191
20192 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
20193 (image-dired--with-db-file): New macro.
20194 (image-dired-write-tags, image-dired-remove-tag)
20195 (image-dired-create-gallery-lists, image-dired-write-comments)
20196 (image-dired-get-comment, image-dired-mark-tagged-files)
20197 (image-dired-list-tags, image-dired-gallery-generate): Use it.
20198 (image-dired-gallery-generate): Use insert-file-contents.
20199
20200 * time.el (display-time-world-list, display-time-world-display):
20201 * time-stamp.el (time-stamp-string):
20202 * vc/add-log.el (add-change-log-entry): Use setenv instead of
20203 set-time-zone-rule (Bug#7337).
20204
20205 2011-08-08 Daiki Ueno <ueno@unixuser.org>
20206
20207 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
20208 (epg-error-to-string, epg-errors-to-string): New function.
20209 (epg-wait-for-completion): Reverse errors list.
20210 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
20211 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
20212 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
20213 (epg-sign-keys, epg-generate-key-from-file)
20214 (epg-generate-key-from-string): Format errors by using
20215 epg-errors-to-string (bug#9255).
20216 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
20217
20218 2011-08-07 Juri Linkov <juri@jurta.org>
20219
20220 * faces.el (list-faces-display): Remove extra angle bracket
20221 from `help-mode-map'.
20222
20223 * info.el (Info-history-toc-nodes): Doc fix.
20224
20225 * longlines.el (longlines-mode): Doc fix.
20226
20227 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
20228
20229 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
20230 of statements and in a few more cases (bug#9183).
20231
20232 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
20233 New functions.
20234 (cl-transform-lambda): Use them (bug#9239).
20235
20236 2011-08-05 Martin Rudalics <rudalics@gmx.at>
20237
20238 * window.el (display-buffer-same-window)
20239 (display-buffer-same-frame, display-buffer-other-window)
20240 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
20241 (pop-to-buffer-other-window)
20242 (pop-to-buffer-same-frame-other-window)
20243 (pop-to-buffer-other-frame): Make them defuns.
20244 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
20245
20246 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
20247
20248 * subr.el (make-composed-keymap): Move from C. Change calling
20249 convention, and improve docstring to bring attention to a subtle point.
20250 * minibuffer.el (completing-read-default): Adjust accordingly.
20251
20252 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
20253
20254 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
20255 (tramp-open-shell): Use `tramp-shell-quote-argument'.
20256
20257 * net/trampver.el: Update release number.
20258
20259 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
20260
20261 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
20262 "in" (bug#9190).
20263
20264 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
20265
20266 * mail/sendmail.el (sendmail-query-once): Restore the current
20267 buffer after querying (bug#9074).
20268
20269 * dired.el (dired-flagged): Use different faces for marked and
20270 flagged files (bug#6117).
20271
20272 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
20273 (bug#4433).
20274
20275 * ido.el (ido-mode): Switch off the message if called
20276 non-interactively.
20277
20278 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
20279 before 587, since it appears that that's more likely to work for
20280 more people.
20281
20282 * cus-edit.el (custom-file): When running under emacs -q, always
20283 refuse to save the customizations, even if the .emacs file doesn't
20284 exist.
20285
20286 * info.el: Remove the `Info-beginning-of-buffer' function
20287 (bug#8325).
20288
20289 * net/network-stream.el (network-stream-open-starttls):
20290 Use `starttls-available-p' to see whether starttls.el can be used.
20291
20292 2011-08-01 Martin Rudalics <rudalics@gmx.at>
20293
20294 * window.el (display-buffer-in-window): Don't set dedicated status
20295 of window here (Bug#9215).
20296 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
20297 (display-buffer-pop-up-side-window)
20298 (display-buffer-in-side-window): Set dedicated status of window here.
20299
20300 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
20301
20302 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
20303 before binding generated-autoload-file.
20304
20305 2011-08-01 Deniz Dogan <deniz@dogan.se>
20306
20307 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
20308
20309 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
20310
20311 Sync with Tramp 2.2.2.
20312
20313 * net/trampver.el: Update release number.
20314
20315 2011-07-30 Juri Linkov <juri@jurta.org>
20316
20317 * dired-aux.el (dired-touch-initial): Remove function.
20318 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
20319 current time, and `default' to the last modification time of the
20320 current marked file (bug#6887).
20321
20322 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
20323
20324 * simple.el (goto-line): Use string-to-number to provide a
20325 numeric argument to read-number (bug#9163).
20326
20327 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
20328
20329 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
20330 connection process, it could be nil.
20331
20332 2011-07-27 Leo Liu <sdl.web@gmail.com>
20333
20334 Simplify url handling in rcirc-mode.
20335
20336 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
20337 (rcirc-browse-url-at-mouse): Remove.
20338 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
20339
20340 2011-07-26 Alan Mackenzie <acm@muc.de>
20341
20342 Fontify bitfield declarations properly.
20343
20344 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
20345 (c-symbol-chars): Now exported as a lang variable.
20346 (c-not-primitive-type-keywords): New lang variable.
20347
20348 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
20349 QT keyword "more" to prevent "more slots: ...." being spuriously
20350 parsed as a bitfield declaration.
20351
20352 * progmodes/cc-engine.el (c-beginning-of-statement-1):
20353 Refactor and enhance to handle bitfield declarations.
20354 (c-punctuation-in): New function.
20355 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
20356 declarations properly.
20357
20358 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
20359
20360 * calendar/icalendar.el (icalendar--all-events): Take care of
20361 multiple vcalendars in a single file.
20362 (icalendar--convert-float-to-ical): Checkdoc fixes.
20363
20364 2011-07-25 Deniz Dogan <deniz@dogan.se>
20365
20366 * image.el (insert-image): Clarifying docstring.
20367
20368 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
20369
20370 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
20371 `tramp-send-command-and-check' if there is no error.
20372 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
20373
20374 2011-07-22 Alan Mackenzie <acm@muc.de>
20375
20376 Prevent cc-langs.elc being loaded at run time.
20377
20378 * progmodes/cc-mode.el: Remove two autoload forms which loaded
20379 cc-langs.
20380
20381 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
20382 "(require 'cc-langs)". Quote a form so it will evaluate at
20383 (cc-mode's) compilation time.
20384
20385 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
20386
20387 * net/tramp.el (tramp-file-name-handler): Avoid recursive
20388 loading. (Bug#9114)
20389
20390 2011-07-21 Martin Rudalics <rudalics@gmx.at>
20391
20392 * window.el (display-buffer-pop-up-window)
20393 (display-buffer-pop-up-side-window)
20394 (display-buffer-in-side-window): Call display-buffer-set-height
20395 and display-buffer-set-width after setting the new window's
20396 buffer so `fit-window-to-buffer' and friends work on the right buffer.
20397
20398 2011-07-20 Sam Steingold <sds@gnu.org>
20399
20400 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
20401 (etags-tags-included-tables): Call `convert-standard-filename' on
20402 the file names contained in TAGS so that windows Emacs can handle
20403 TAGS files created by cygwin ctags.
20404
20405 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
20406
20407 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
20408 which apparently didn't work.
20409
20410 2011-07-19 Roland Winkler <winkler@gnu.org>
20411
20412 * proced.el (proced-send-signal): For *Marked Processes* buffer
20413 put point at beginning of buffer.
20414
20415 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
20416
20417 * proced.el (proced-format): Make header lines align with the text
20418 (bug#1779).
20419
20420 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
20421
20422 * view.el (view-buffer): Allow running in `special' modes if we're
20423 visiting a file (bug#8615).
20424
20425 2011-07-19 Martin Rudalics <rudalics@gmx.at>
20426
20427 * window.el (display-buffer-alist-of-strings-p)
20428 (display-buffer-alist-set-1, display-buffer-alist-set-2):
20429 New functions.
20430 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
20431 more accurately.
20432
20433 2011-07-18 Alan Mackenzie <acm@muc.de>
20434
20435 Fontify declarators properly when, e.g., a jit-lock chunk begins
20436 inside a declaration.
20437
20438 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
20439
20440 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
20441 New function.
20442 (c-complex-decl-matchers): Insert reference to
20443 c-font-lock-enclosing-decls.
20444
20445 * progmodes/cc-engine.el (c-backward-single-comment):
20446 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
20447 to nil around calls to (forward-comment -1).
20448
20449 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
20450
20451 * image.el (put-image): Doc typo fix.
20452
20453 * progmodes/etags.el (tags-search): Doc typo fix.
20454
20455 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
20456 password if we get errors 550 to 554.
20457
20458 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
20459
20460 * net/gnutls.el (gnutls-log-level): Remove.
20461
20462 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
20463 indentation character (bug#6380).
20464
20465 * files.el (buffer-offer-save): Made permanently local (bug#6241).
20466
20467 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
20468 to clarify what the problem is (bug#4291).
20469
20470 * simple.el (current-kill): Clarify what
20471 `interprogram-paste-function' does (bug#7500).
20472 (auto-fill-mode): Document `auto-fill-function' in relation to
20473 `auto-fill-mode' (bug#2470).
20474
20475 2011-07-16 Lawrence Mitchell <wence@gmx.li>
20476
20477 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
20478 method if slot is read-only (bug#9035).
20479
20480 2011-07-16 Martin Rudalics <rudalics@gmx.at>
20481
20482 * frame.el (select-frame-set-input-focus): New argument NORECORD.
20483 * window.el (pop-to-buffer): Select window used even if it was
20484 selected before, see discussion of (Bug#8615), (Bug#6954).
20485 Pass argument NORECORD on to select-frame-set-input-focus.
20486
20487 2011-07-15 Glenn Morris <rgm@gnu.org>
20488
20489 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
20490 Respect help-form.
20491
20492 2011-07-09 Lawrence Mitchell <wence@gmx.li>
20493
20494 * net/gnutls.el (gnutls-min-prime-bits): New variable.
20495 (gnutls-negotiate): Use it.
20496
20497 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
20498
20499 * net/gnutls.el (gnutls-negotiate):
20500 Upcase `gnutls-algorithm-priority'.
20501
20502 2011-07-15 Glenn Morris <rgm@gnu.org>
20503
20504 * jka-compr.el (jka-compr-verbose): Move from here...
20505 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
20506 Add missing :version tag.
20507 * info.el: No need to require jka-compr when compiling.
20508
20509 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
20510
20511 * net/gnutls.el (gnutls-algorithm-priority): New variable.
20512 (gnutls-negotiate): Use it.
20513
20514 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
20515
20516 * info.el (Info-beginning-of-buffer): New command.
20517 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
20518 announcing `b' as the key (bug#8325).
20519 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
20520
20521 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
20522
20523 * international/mule-cmds.el
20524 (describe-specified-language-support): Make the error message
20525 clearer (bug#8905).
20526
20527 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
20528
20529 * isearch.el (isearch-barrier): Add a doc string, since it's
20530 mentioned in a function doc string (bug#8678).
20531
20532 2011-07-15 Martin Rudalics <rudalics@gmx.at>
20533
20534 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
20535 buffer argument (Bug#9083) and self-identifying label argument.
20536
20537 2011-07-15 Glenn Morris <rgm@gnu.org>
20538
20539 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
20540
20541 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
20542
20543 * man.el (Man-fontify-manpage): Fix message when formatting the
20544 man page (bug#7929).
20545
20546 2011-07-14 Eli Zaretskii <eliz@gnu.org>
20547
20548 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
20549 argument LRM; if non-nil, append an invisible LRM character to the
20550 buffer name.
20551 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
20552 last argument non-nil, when formatting buffer names.
20553 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
20554 paragraph direction.
20555
20556 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
20557
20558 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
20559 the man page name (bug#7929).
20560
20561 * image.el (put-image): Mention the `put-image' overlay property
20562 (bug#7834).
20563
20564 * scroll-bar.el (set-scroll-bar-mode): Mention that
20565 `scroll-bar-mode' lists the values (bug#7772).
20566
20567 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
20568 command (bug#7729).
20569
20570 * rect.el (apply-on-rectangle): Return the point after the last
20571 operation.
20572 (string-rectangle): Go to the point after the last operation
20573 (bug#7522).
20574
20575 * printing.el (pr-toggle-region): Clarify the documentation
20576 slightly (bug#7493).
20577
20578 * time.el (display-time-update):
20579 Allow `display-time-mail-function' to return nil (bug#7158).
20580 Fix suggested by Detlev Zundel.
20581
20582 * vc/diff.el (diff): Clarify the order the file names are read
20583 (bug#7111).
20584
20585 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
20586 the doc string (bug#7015).
20587
20588 * font-lock.el (font-lock-maximum-decoration): Mention what
20589 numeric levels mean (bug#6935).
20590
20591 * startup.el (initial-buffer-choice): Don't mention the `none'
20592 selection, which is against policy.
20593
20594 2011-07-14 Martin Rudalics <rudalics@gmx.at>
20595
20596 * window.el (display-buffer-normalize-special):
20597 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
20598
20599 2011-07-14 Eli Zaretskii <eliz@gnu.org>
20600
20601 * subr.el (version<, version<=, version=): Mention "-CVS" and
20602 "-12345" alpha version numbers.
20603
20604 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
20605
20606 * bindings.el: Add advertised binding for set-mark-command
20607 (Bug#5772).
20608
20609 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
20610
20611 * bindings.el (mode-line-other-buffer):
20612 * bookmark.el (bookmark-bmenu-2-window):
20613 * bs.el (bs-cycle-next, bs-cycle-previous):
20614 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
20615 switch-to-buffer.
20616
20617 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
20618 Delete.
20619
20620 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
20621
20622 * follow.el (follow-debug-message, follow-redisplay):
20623 * jka-cmpr-hook.el (with-auto-compression-mode):
20624 Fix typos in docstrings.
20625
20626 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20627
20628 * subr.el (with-silent-modifications): Clarify somewhat what the
20629 macro inhibits (bug#6525).
20630
20631 * simple.el (eval-expression): Note what it does if called
20632 interactively (bug#6495).
20633
20634 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
20635
20636 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
20637 Use pop-to-buffer buffer-or-name if it is nil.
20638
20639 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
20640 Remove switch-to-buffer.
20641
20642 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20643
20644 * files.el (make-directory): Clarify that an error will be raised
20645 if there's an error (bug#6397).
20646
20647 * startup.el (initial-buffer-choice): Add `none' as a choice
20648 (bug#6234).
20649
20650 * subr.el (add-hook): Clarify section about buffer-local hooks
20651 (bug#6218).
20652
20653 * dired.el (dired-flagged): Clarify doc string (bug#6117).
20654
20655 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
20656
20657 * tabify.el (untabify): Preserve the current column so that point
20658 doesn't move (bug#6032).
20659
20660 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20661
20662 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
20663 Rewrite to avoid awkward possessive "s" (bug#5986).
20664
20665 2011-07-13 Glenn Morris <rgm@gnu.org>
20666
20667 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
20668 (dired-insert-directory): Give a message the first time
20669 if ls is found not to support --dired.
20670
20671 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20672
20673 * simple.el (toggle-truncate-lines): Clarify what is toggled
20674 (bug#5580). Text by Drew Adams.
20675
20676 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
20677
20678 * simple.el (blink-matching-open): Make the error message from the
20679 last change less verbose.
20680
20681 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
20682
20683 * font-lock.el (font-lock-comment-face): Use the high contrast
20684 "yellow" color for font-lock-comment-face on low color terminals
20685 using a dark background color (bug#4221).
20686
20687 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20688
20689 * dired.el (dired-insert-set-properties): Make the doc string
20690 reflect what it does now (bug#5325).
20691
20692 * simple.el (blink-matching-open): Say that we were unable to find
20693 the match within the limit, if we're limited (bug#5122).
20694
20695 * international/mule-cmds.el (prefer-coding-system): Add an
20696 example (bug#4869).
20697
20698 * progmodes/etags.el (tags-search): Document `file-list-form'
20699 (bug#4731).
20700
20701 2011-07-13 Lawrence Mitchell <wence@gmx.li>
20702
20703 * net/browse-url.el (browse-url-default-browser)
20704 (browse-url-browser-function): Make the default browser choice a
20705 bit more logical (bug#4300). Also clean up the doc string.
20706
20707 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
20708
20709 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
20710 binary endings (bug#4440).
20711
20712 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20713
20714 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
20715 which can be pretty annoying (bug#8971).
20716
20717 * jka-compr.el (jka-compr-verbose): New variable, and use
20718 throughout (bug#8971).
20719
20720 * info.el (Info-find-file): Fall back on the installation
20721 directory if we can't find the info node anywhere else.
20722
20723 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
20724
20725 * vc/vc.el (vc-revert-file):
20726 Don't set file time-stamp in the past. (Bug#5181)
20727
20728 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
20729
20730 * files.el (after-find-file): Give a better error message when
20731 trying to find a symlink that points to a file that doesn't exist
20732 (bug#4398).
20733
20734 * progmodes/cc-vars.el: Remove (probably) misleading comment
20735 (bug#4396).
20736
20737 2011-07-12 Johan Bockgård <bojohan@gnu.org>
20738
20739 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
20740
20741 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
20742
20743 * mouse-sel.el: Hack restoring functionality, while keeping
20744 compatibility with 2010-07-03 changes to mouse selection.
20745 (mouse-sel-primary-overlay): New var.
20746 (mouse-sel-selection-alist): Use it.
20747 (mouse-sel-mode): Doc fix; remove points that are default features
20748 of mouse.el.
20749
20750 2011-07-12 Johan Bockgård <bojohan@gnu.org>
20751
20752 * progmodes/compile.el (compilation-error-regexp-alist-alist):
20753 Fix previous fix (bug#2490).
20754
20755 2011-07-12 Roland Winkler <winkler@gnu.org>
20756
20757 * textmodes/bibtex.el (bibtex-initialize):
20758 Use pop-to-buffer-same-window.
20759 (bibtex-search-entries): Fix interactive call.
20760
20761 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
20762
20763 * progmodes/compile.el (compilation-error-regexp-alist-alist):
20764 Fontise bytecomp Error lines more correctly (bug#2490).
20765 Fix suggested by Johan Bockgård.
20766
20767 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
20768
20769 * dired-x.el (dired-guess-default): Use `delete-dups'.
20770
20771 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
20772
20773 * dired.el (dired-mark-prompt):
20774 * dired-aux.el (dired-read-shell-command): Doc fix.
20775
20776 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
20777
20778 * mail/sendmail.el (sendmail-query-once):
20779 Use `customize-save-variable' unconditionally, now that it works under
20780 emacs -Q.
20781
20782 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
20783
20784 * cus-edit.el (custom-file): Take an optional no-error variable.
20785 (customize-save-variable): Set the variable, and give a warning if
20786 running under "emacs -q".
20787
20788 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
20789
20790 * loadhist.el (unload-feature-special-hooks):
20791 Add `auto-coding-functions', `fill-nobreak-predicate' and
20792 `find-directory-functions' (bug#5327).
20793
20794 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
20795
20796 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
20797
20798 * cus-edit.el (custom-guess-name-alist): -alist variables should
20799 use the `alist' type (bug#3120). Suggested by Drew Adams.
20800
20801 * printing.el: Add documentation to all the `pr-toggle-' commands.
20802
20803 2011-07-11 Leo Liu <sdl.web@gmail.com>
20804
20805 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
20806 backends where it makes sense (bug#2623).
20807
20808 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
20809
20810 * dired-x.el (dired-guess-default): Remove duplicate shell command
20811 entries (bug#2028).
20812 (dired-guess-default): Fix grammar in doc string (bug#2028).
20813 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
20814
20815 * subr.el (remove-duplicates): New conveniency function.
20816
20817 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
20818
20819 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
20820 (bug#1526).
20821
20822 2011-07-10 Martin Rudalics <rudalics@gmx.at>
20823
20824 * window.el (display-buffer-normalize-default): Don't invert
20825 meaning of even-window-heights. Reported by Eli Zaretskii
20826 <eliz@gnu.org>.
20827
20828 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
20829
20830 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
20831
20832 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
20833
20834 * window.el (display-buffer): Fix arguments to
20835 display-buffer-reuse-window in last change.
20836
20837 * faces.el (link): Use a less saturated blue on light backgrounds.
20838
20839 * startup.el (fancy-startup-text, fancy-about-text)
20840 (fancy-startup-tail): Use font-lock faces, for background safety.
20841
20842 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
20843
20844 * emulation/viper-cmd.el (viper-change-state-to-vi):
20845 Limit triggering of abbrev expansion (Bug#9038).
20846
20847 2011-07-09 Martin Rudalics <rudalics@gmx.at>
20848
20849 * window.el (display-buffer-default-specifiers): Remove.
20850 (display-buffer-macro-specifiers): Remove default specifiers.
20851 (display-buffer-alist): Default to nil.
20852 (display-buffer-reuse-window): New optional argument other-window.
20853 (display-buffer-pop-up-window): Allow splitting internal
20854 windows. Check whether a live window was created.
20855 (display-buffer-other-window-means-other-frame)
20856 (display-buffer-normalize-arguments): Rename to
20857 display-buffer-normalize-argument and rewrite. Set the
20858 other-window specifier.
20859 (display-buffer-normalize-special): New function.
20860 (display-buffer-normalize-options): Rename to
20861 display-buffer-normalize-default and rewrite.
20862 (display-buffer-normalize-options-inhibit): Remove.
20863 (display-buffer-normalize-specifiers): Rewrite.
20864 (display-buffer): Process other-window specifier and call
20865 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
20866 more faithfully.
20867 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
20868 (display-buffer-alist-set): Don't handle 'unset default values.
20869 (display-buffer-in-window, display-buffer-alist-set):
20870 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
20871 <tassilo@member.fsf.org>.
20872
20873 2011-07-09 Leo Liu <sdl.web@gmail.com>
20874
20875 * register.el (insert-register): Restore accidental change on
20876 2011-06-26. (Bug#9028)
20877
20878 2011-07-09 Glenn Morris <rgm@gnu.org>
20879
20880 * subr.el (remq): Handle the empty list. (Bug#9024)
20881
20882 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
20883
20884 * mail/sendmail.el (send-mail-function): No longer delay custom
20885 initialization.
20886 * custom.el (custom-initialize-delay): Doc fix.
20887
20888 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
20889
20890 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
20891
20892 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
20893
20894 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
20895 human-friendly prompt.
20896
20897 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
20898
20899 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
20900 provided by a particular plugin.
20901
20902 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
20903
20904 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
20905 save customizations (with "emacs -Q"), just set the variable
20906 instead of erroring out.
20907
20908 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
20909
20910 2011-07-08 Juri Linkov <juri@jurta.org>
20911
20912 * arc-mode.el (archive-zip-expunge, archive-zip-update)
20913 (archive-zip-update-case): Use 7z if found by `executable-find'.
20914 The order of searching the available programs is the same as in
20915 `archive-zip-extract' (bug#8968).
20916
20917 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
20918
20919 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
20920 (menu-bar-options-menu): Tweak descriptions.
20921
20922 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
20923
20924 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
20925 menu items into verb phrases (bug#1421). Also refill to fit under
20926 80 columns.
20927
20928 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
20929
20930 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
20931 (Info-read-node-name): Doc fix (Bug#1084).
20932
20933 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
20934 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
20935 (end-of-sexp, beginning-of-sexp)
20936 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
20937 (forward-symbol, forward-same-syntax, word-at-point)
20938 (sentence-at-point): Doc fix (Bug#1144).
20939
20940 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
20941
20942 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
20943 should cover it (bug#1281).
20944
20945 * cus-edit.el (custom-show): Mark as obsolete.
20946
20947 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
20948 negotiation fails, then possibly try again with a non-encrypted
20949 connection (bug#9017).
20950
20951 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
20952 be used.
20953
20954 2011-07-07 Richard Stallman <rms@gnu.org>
20955
20956 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
20957 property, and handle its changed format.
20958 Look for the correct line number.
20959 Use file's line contents (but not past first =) to find
20960 correct line in message.
20961
20962 2011-07-07 Kenichi Handa <handa@m17n.org>
20963
20964 * international/characters.el (build-unicode-category-table):
20965 Delete it.
20966 (unicode-category-table): Set it by unicode-property-table-internal.
20967
20968 * international/mule-cmds.el (char-code-property-alist): Move to
20969 to src/chartab.c.
20970 (get-char-code-property): Call unicode-property-table-internal to
20971 load a file. Call get-unicode-property-internal where necessary.
20972 (put-char-code-property): Call unicode-property-table-internal to
20973 load a file. Call put-unicode-property-internal where necessary.
20974 put-unicode-property-internal where necessary.
20975 (char-code-property-description):
20976 Call unicode-property-table-internal to load a file.
20977
20978 * international/charprop.el:
20979 * international/uni-bidi.el:
20980 * international/uni-category.el:
20981 * international/uni-combining.el:
20982 * international/uni-comment.el:
20983 * international/uni-decimal.el:
20984 * international/uni-decomposition.el:
20985 * international/uni-digit.el:
20986 * international/uni-lowercase.el:
20987 * international/uni-mirrored.el:
20988 * international/uni-name.el:
20989 * international/uni-numeric.el:
20990 * international/uni-old-name.el:
20991 * international/uni-titlecase.el:
20992 * international/uni-uppercase.el: Regenerate.
20993
20994 * loadup.el: Load international/charprop.el before
20995 international/characters.
20996
20997 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
20998
20999 * window.el (next-buffer, previous-buffer): Signal an error if
21000 called from a minibuffer window.
21001
21002 * bindings.el: Revert 2011-07-04 change.
21003
21004 2011-07-06 Richard Stallman <rms@gnu.org>
21005
21006 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
21007 (rmail-mime-insert-bulk, rmail-mime-insert-text):
21008 Treat markers like ints.
21009 (rmail-mime-entity): Doc fix.
21010
21011 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
21012
21013 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
21014 defcustom again for backwards compatibility.
21015
21016 * simple.el (shell-command-on-region): Fill.
21017
21018 * dired-aux.el (dired-kill-line): Add a doc string.
21019
21020 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
21021 to "\\sw\\|\\s_" (bug#358).
21022
21023 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
21024 (dired-unmark-backward): Ditto.
21025 (dired-flag-backup-files): Ditto.
21026
21027 * dired-x.el (dired-mark-sexp): Ditto.
21028
21029 2011-07-06 Richard Stallman <rms@gnu.org>
21030
21031 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
21032 (rmail-mime-entity): New arg TRUNCATED.
21033 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
21034 New functions.
21035 (rmail-mime-save): Warn if entity is truncated.
21036 (rmail-mime-toggle-hidden): Likewise, for showing.
21037 (rmail-mime-process-multipart): Record when an entity is truncated.
21038
21039 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
21040 if ENTITY is a string.
21041
21042 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
21043
21044 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
21045 of faces when `M-C-x'-ing their definitions (bug#8378).
21046 Also clean up the code slightly.
21047
21048 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
21049 because that makes the colors go away.
21050
21051 * mail/sendmail.el (send-mail-function): Change the default to
21052 `sendmail-query-once'.
21053 (sendmail-query-once): Add an autoload cookie.
21054
21055 * net/network-stream.el (network-stream-open-starttls): Try using
21056 a plain connection even if the server offered STARTTLS, and we
21057 kinda wanted to use it, if Emacs doesn't have any STARTTLS
21058 capability. This should make smtpmail.el work in slightly more
21059 configurations.
21060
21061 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
21062
21063 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
21064 New defun.
21065 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
21066
21067 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
21068
21069 * progmodes/sql.el: Version 3.0
21070 (sql-product-alist): Add product :completion-object,
21071 :completion-column, and :statement attributes.
21072 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
21073 (sql-mode-syntax-table): Mark all punctuation.
21074 (sql-font-lock-keywords-builder): Temporarily remove fallback on
21075 ansi keywords.
21076 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
21077 (sql-mode-oracle-font-lock-keywords): Improve.
21078 (sql-oracle-show-reserved-words): New function for development.
21079 (sql-product-font-lock): Simplify for source code buffers.
21080 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
21081 New functions.
21082 (sql-highlight-product): Set product specific syntax table.
21083 (sql-mode-map): Add statement movement functions.
21084 (sql-ansi-statement-starters, sql-oracle-statement-starters):
21085 New variable.
21086 (sql-statement-regexp, sql-beginning-of-statement)
21087 (sql-end-of-statement, sql-signum): New functions.
21088 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
21089 (sql-show-sqli-buffer): Bug fix.
21090 (sql-interactive-mode): Store connection data as buffer local.
21091 (sql-connect): Add NEW-NAME parameter. Redesign interaction
21092 with sql-interactive-mode.
21093 (sql-save-connection): Save buffer local settings.
21094 (sql-connection-menu-filter): Change menu entry name.
21095 (sql-product-interactive): Bug fix.
21096 (sql-preoutput-hold): New variable.
21097 (sql-interactive-remove-continuation-prompt): Bug fixes.
21098 (sql-debug-redirect): New variable.
21099 (sql-str-literal): New function.
21100 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
21101 Redesign.
21102 (sql-oracle-save-settings, sql-oracle-restore-settings)
21103 (sql-oracle-list-all, sql-oracle-list-table): New functions.
21104 (sql-completion-object, sql-completion-column)
21105 (sql-completion-sqlbuf): New variables.
21106 (sql-build-completions-1, sql-build-completions)
21107 (sql-try-completion): New functions.
21108 (sql-read-table-name): Use them.
21109 (sql-contains-names): New buffer local variable.
21110 (sql-list-all, sql-list-table): Use it.
21111 (sql-oracle-completion-types): New variable.
21112 (sql-oracle-completion-object, sql-sqlite-completion-object)
21113 (sql-postgres-completion-object): New functions.
21114
21115 2011-07-06 Glenn Morris <rgm@gnu.org>
21116
21117 * window.el (pop-to-buffer): Doc fix.
21118
21119 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
21120
21121 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
21122
21123 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
21124
21125 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
21126
21127 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
21128
21129 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
21130
21131 * button.el (button): Inherit from link face. Suggested by Dan
21132 Nicolaescu.
21133
21134 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
21135
21136 * progmodes/gdb-mi.el: Fit in 80 columns.
21137 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
21138 switch-to-buffer.
21139
21140 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
21141 if imenu is simply not configured (bug#8941).
21142
21143 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
21144
21145 * allout.el (allout-post-undo-hook): New allout outline-change
21146 event hook to signal undo activity.
21147 (allout-post-command-business): Run allout-post-undo-hook if an
21148 undo just occurred.
21149 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
21150 * allout-widgets.el (allout-widgets-after-undo-function):
21151 Ensure the integrity of the current item's decoration after it has been
21152 in the vicinity of an undo.
21153 (allout-widgets-mode): Include allout-widgets-after-undo-function
21154 on the new allout-post-undo-hook.
21155
21156 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
21157
21158 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
21159 Let define-derived-mode define it.
21160 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
21161 cycles of abbrev-table inheritance (bug#8998).
21162
21163 2011-07-05 Roland Winkler <winkler@gnu.org>
21164
21165 * textmodes/bibtex.el: Add support for biblatex.
21166 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
21167 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
21168 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
21169 (bibtex-entry-alist, bibtex-field-alist): New variables.
21170 (bibtex-entry-field-alist): Obsolete alias for
21171 bibtex-BibTeX-entry-alist.
21172 (bibtex-entry-alist, bibtex-field-alist): New widgets.
21173 (bibtex-set-dialect): New command.
21174 (bibtex-entry-type, bibtex-entry-head)
21175 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
21176 Bind via bibtex-set-dialect.
21177 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
21178 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
21179 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
21180 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
21181 Define via bibtex-set-dialect.
21182 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
21183 Obey bibtex-no-opt-remove-re.
21184 (bibtex-vec-push, bibtex-vec-incr): New functions.
21185 (bibtex-format-entry, bibtex-field-list)
21186 (bibtex-print-help-message, bibtex-validate)
21187 (bibtex-search-entries): Use new format of bibtex-entry-alist.
21188
21189 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
21190
21191 * progmodes/compile.el (compilation-goto-locus):
21192 * net/tramp-cmds.el (tramp-append-tramp-buffers):
21193 * bs.el (bs-cycle-next, bs-cycle-previous):
21194 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
21195 * bindings.el (mode-line-other-buffer):
21196 * autoinsert.el (auto-insert):
21197 * arc-mode.el (archive-extract):
21198 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
21199
21200 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
21201
21202 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
21203 Fix check of `emacs-lock-unlockable-modes'.
21204 Coerce true values of `emacs-lock--try-unlocking' to t.
21205
21206 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
21207
21208 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
21209 * emacs-lock.el: New file.
21210
21211 2011-07-05 Julien Danjou <julien@danjou.info>
21212
21213 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
21214 than `boundp' to check if face is set.
21215
21216 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
21217
21218 * register.el (registerv-make):
21219 * window.el (window-min-height): Fix typos in docstrings.
21220
21221 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
21222
21223 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
21224 Update doc string.
21225
21226 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
21227
21228 * server.el (server-execute): Catch quit and call
21229 `server-return-error' to pass the error back to emacsclient and
21230 close the connection (bug#8942).
21231
21232 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
21233
21234 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
21235 insecure exception for current topic. Also note that auto-saves
21236 are handled differently.
21237
21238 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
21239 State variables for tracking auto-save inhibition situation.
21240
21241 (allout-write-contents-hook-handler): Rename from
21242 'allout-write-file-hook-handler', and describe how it depends on
21243 write-contents-functions sensitivity to non-nil value to prevent
21244 file write.
21245
21246 (allout-auto-save-hook-handler): Remove. auto-save does not check
21247 this in individual buffers, only in the starting buffer, so this
21248 is not the right way for us to inhibit auto-save in a buffer
21249 according to its condition.
21250
21251 (allout-mode): Use new allout-write-contents-hook-handler, and
21252 only with write-contents-functions. Remove auto-save provisions -
21253 they're implemented elsewhere.
21254
21255 (allout-before-change-handler): If undo is in progress, note that
21256 for attention of allout-post-command-business.
21257
21258 (allout-post-command-business): If the command we're following was
21259 an undo, check for change in the status of encrypted items and
21260 adjust auto-save inhibitions accordingly.
21261
21262 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
21263 according to whether there are or aren't any plain-text topics
21264 pending encryption.
21265
21266 (allout-inhibit-auto-save-info-for-decryption):
21267 Adjust buffer-saved-size and some allout state to inhibit auto-saves
21268 if there are plain-text topics pending encryption.
21269
21270 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
21271 buffer-saved-size and some allout state to not inhibit auto-saves
21272 if there are no longer any plain-text topics pending encryption.
21273
21274 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
21275 No longer provide for exemption of the current topic.
21276
21277 2011-07-04 Juri Linkov <juri@jurta.org>
21278
21279 Add 7z operations to delete and save changed members (bug#8968).
21280 * arc-mode.el (archive-7z-expunge, archive-7z-update):
21281 New defcustoms.
21282 (archive-7z-write-file-member): New function.
21283 (archive-7z-summarize): Fix the number of dashes in the
21284 listing output.
21285
21286 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
21287
21288 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
21289 (bug#8958).
21290
21291 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
21292
21293 * bindings.el: Ignore next-buffer and previous-buffer in
21294 minibuffer-local-map.
21295
21296 * font-lock.el (font-lock-builtin-face): Change light background
21297 color to dark slate blue (Bug#6693).
21298
21299 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
21300
21301 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
21302
21303 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
21304
21305 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
21306 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
21307 Add switch-to-buffer.
21308
21309 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
21310
21311 * isearch.el (isearch-search-fun-function): Clarify further the
21312 meaning of the function returned.
21313
21314 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
21315
21316 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
21317
21318 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
21319 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
21320 Use it.
21321 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
21322 `tramp-default-remote-path' does not exist.
21323 (tramp-send-command-and-read): New optional argument NOERROR.
21324 (tramp-open-connection-setup-interactive-shell)
21325 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
21326 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
21327 (tramp-process-sentinel): Flush also process' connection property.
21328 (tramp-sh-handle-start-file-process): Do not set process
21329 sentinel. It is done now ...
21330 (tramp-maybe-open-connection): ... here. (Bug#8929)
21331
21332 2011-07-04 MON KEY <monkey@sandpframing.com>
21333
21334 * play/animate.el (animate-string): Doc fixes and allow changing
21335 the buffer name (bug#5417).
21336
21337 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
21338
21339 * play/animate.el (animation-buffer-name): Rename from *animate*.
21340
21341 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
21342
21343 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
21344 This is simpler and helps future-proof the code.
21345 (timer-until): Use time-subtract and float-time.
21346 (timer--time-less-p): Use time-less-p.
21347
21348 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
21349
21350 * type-break.el (timep): Use the value of `float-time' to avoid a
21351 byte-compiler warning.
21352
21353 * server.el (server-eval-and-print): Return any result, even nil.
21354
21355 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
21356
21357 * type-break.el: Accept time formats that the builtins accept.
21358 (timep, type-break-time-difference): Accept any format that
21359 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
21360 This is simpler and helps future-proof the code.
21361 (type-break-time-difference): Round rather than ignoring
21362 subseconds components.
21363
21364 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
21365
21366 * info.el (Info-apropos-matches): Make non-interactive, since it
21367 doesn't seem to do anything useful as a command (bug#8829).
21368
21369 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
21370
21371 * frame.el (frame-background-mode, frame-set-background-mode):
21372 Move from faces.el.
21373 (frame-default-terminal-background): New function.
21374
21375 * custom.el (custom-push-theme): Don't record faces in `changed'
21376 theme; this doesn't work correctly for per-frame face settings.
21377 (disable-theme): Use face-set-after-frame-default to reset faces.
21378 (custom--frame-color-default): New function.
21379
21380 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
21381
21382 * dired.el (dired-flagging-regexp): Remove unused variable
21383 (bug#8769).
21384
21385 2011-03-29 Kevin Ryde <user42@zip.com.au>
21386
21387 * progmodes/compile.el (compilation-error-regexp-alist-alist):
21388 `perl-Test2' extend to match possible "fail #N" rep count
21389 (bug#8377).
21390
21391 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
21392
21393 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
21394 `smtpmail-via-smtp' now returns the error instead of nil.
21395
21396 * isearch.el (isearch-search-fun-function): Clarify the doc string
21397 (bug#8101).
21398
21399 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
21400
21401 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
21402 unnecessary spaces (bug#8987).
21403
21404 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
21405
21406 * net/network-stream.el (open-network-stream): Use the
21407 :end-of-capability command thoughout.
21408
21409 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
21410
21411 * net/network-stream.el (open-network-stream): Add the
21412 :end-of-capability command parameter, used by pop3.el.
21413
21414 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
21415
21416 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
21417
21418 * fringe.el (fringe-query-style): Remove redundant text " (type ?
21419 for list)" (bug#6475).
21420
21421 * files.el (file-expand-wildcards): Ignore non-readable
21422 sub-directories while trying to find matches instead of signaling
21423 an error (bug#6297).
21424
21425 * man.el (Man-reference-regexp): Allow matching possible
21426 word-wrapped references (bug#6289).
21427
21428 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
21429 for consistency with the other vc buffers (bug#6197).
21430 (vc-checkin): Ditto.
21431
21432 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
21433
21434 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
21435
21436 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
21437
21438 * custom.el (defcustom): Clarify that :set is only used in the
21439 Customize user interface (bug#6089).
21440
21441 * progmodes/flymake.el (flymake-mode): If the buffer isn't
21442 associated with a file, refuse to run instead of erroring out
21443 (bug#6084).
21444
21445 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
21446 the doc string, since it appears that using `fill-column' always
21447 controls the width (bug#7845).
21448
21449 * simple.el (shell-command-on-region): Say where the error output
21450 went if `shell-command-default-error-buffer' is set (bug#6857).
21451
21452 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
21453
21454 * allout.el (allout-yank-processing): Adjust cursor position for
21455 backwards-deleted space.
21456
21457 (allout-rebullet-heading): Register changes with
21458 allout-exposure-changed-hook, so the modified topic is properly
21459 decorated.
21460
21461 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
21462
21463 * minibuffer.el (completion-in-region): Document PREDICATE
21464 (bug#7136).
21465
21466 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
21467 of keyword/argument pairs (bug#6904).
21468
21469 * replace.el (multi-occur):
21470 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
21471
21472 2011-07-02 Drew Adams <drew.adams@oracle.com>
21473
21474 * dired.el (dired-mark-if): Make the message about whether it's
21475 marking or unmarking clearer (bug#8523).
21476
21477 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
21478
21479 * disp-table.el (display-table-print-array): New function.
21480 (describe-display-table): Use it to print the vectors more pretty
21481 (Bug#8859).
21482
21483 2011-07-02 Martin Rudalics <rudalics@gmx.at>
21484
21485 * window.el (window-state-get-1): Don't assign clone numbers.
21486 Add clone-of item to list of window parameters.
21487 (window-state-put-2): Don't process clone numbers.
21488 (display-buffer-alist): Fix doc-string.
21489
21490 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
21491
21492 * subr.el (remq): Don't allocate if it's not needed.
21493 (keymap--menu-item-binding, keymap--menu-item-with-binding)
21494 (keymap--merge-bindings): New functions.
21495 (keymap-canonicalize): Use them to refine the canonicalization.
21496 * minibuffer.el (minibuffer-local-completion-map)
21497 (minibuffer-local-must-match-map): Move initialization from C.
21498 (minibuffer-local-filename-completion-map): Move initialization from C;
21499 don't inherit from anything here.
21500 (minibuffer-local-filename-must-match-map): Make obsolete.
21501 (completing-read-default): Use make-composed-keymap to combine
21502 minibuffer-local-filename-completion-map with either
21503 minibuffer-local-must-match-map or
21504 minibuffer-local-filename-completion-map.
21505
21506 2011-07-01 Glenn Morris <rgm@gnu.org>
21507
21508 * type-break.el (type-break-time-sum): Use dolist.
21509
21510 * textmodes/flyspell.el (flyspell-word-search-backward):
21511 Replace CL function.
21512
21513 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
21514
21515 * mouse.el (mouse--strip-first-event): New function.
21516 (function-key-map): Use it to map fringe clicks to normal clicks
21517 by default.
21518
21519 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
21520 (vc-bzr-revision-completion-table): Add support for annotate and date.
21521
21522 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
21523 inherit from parent.
21524
21525 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
21526
21527 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
21528 (dired-show-file-type): Doc fixup (bug#8818).
21529
21530 * dired.el (dired-mode): Fix up the doc string as suggested by
21531 Drew Adams (bug#8817).
21532
21533 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
21534 cookie, since the manual says that it should be possible to add
21535 this function to `find-file-hook' (bug#8709).
21536
21537 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
21538
21539 * progmodes/cfengine.el: Moved all cfengine3.el functionality
21540 here. Noted Ted Zlatanov as the maintainer.
21541 (cfengine-common-settings, cfengine-common-syntax): New functions
21542 to set up common things between `cfengine-mode' and
21543 `cfengine3-mode'.
21544 (cfengine3-mode): New mode.
21545 (cfengine3-defuns cfengine3-defuns-regex
21546 (cfengine3-class-selector-regex cfengine3-category-regex)
21547 (cfengine3-vartypes cfengine3-font-lock-keywords)
21548 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
21549 (cfengine3-indent-line): Add from cfengine3.el.
21550
21551 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
21552
21553 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
21554
21555 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
21556
21557 2011-07-01 Martin Rudalics <rudalics@gmx.at>
21558
21559 * window.el (same-window-buffer-names, same-window-regexps)
21560 (same-window-p, special-display-frame-alist)
21561 (special-display-popup-frame, special-display-function)
21562 (special-display-buffer-names, special-display-regexps)
21563 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
21564 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
21565 (split-window-preferred-function, split-height-threshold)
21566 (split-width-threshold, even-window-heights)
21567 (display-buffer-mark-dedicated, window-splittable-p)
21568 (split-window-sensibly, window-safely-shrinkable-p):
21569 Un-obsolete.
21570 (display-buffer): Don't spread args with function specifier
21571 because special-display-popup-frame won't like it.
21572
21573 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
21574
21575 Time-stamp simplifications and fixes.
21576 These improve accuracy slightly, and future-proof the code
21577 against some potential changes to current-time format.
21578
21579 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
21580 by using time-since and float-time.
21581
21582 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
21583 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
21584 + NNN microseconds".
21585
21586 * type-break.el (type-break-time-sum): Rewrite using time-add.
21587
21588 * play/hanoi.el (hanoi-current-time-float): Remove.
21589 All uses replaced by float-time.
21590
21591 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
21592 This yields a more-accurate answer.
21593 (rng-time-to-float): Remove; no longer needed.
21594
21595 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
21596
21597 * calendar/timeclock.el (timeclock-seconds-to-time):
21598 Defalias to seconds-to-time, since they're the same thing.
21599
21600 * emacs-lisp/elp.el (elp-elapsed-time):
21601 * emacs-lisp/benchmark.el (benchmark-elapse):
21602 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
21603
21604 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
21605
21606 * window.el (bury-buffer): Don't iconify the only frame.
21607 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
21608 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
21609
21610 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
21611
21612 * eshell/em-smart.el (eshell-smart-display-navigate-list):
21613 Add mouse-yank-primary.
21614
21615 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
21616
21617 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
21618
21619 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
21620
21621 * emacs-lisp/find-func.el (find-library--load-name): New fun.
21622 (find-library-name): Use it to find relative load names when provided
21623 absolute file name (bug#8803).
21624
21625 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
21626
21627 * textmodes/flyspell.el (flyspell-word): Consider words that
21628 differ only in case as potential doublons (bug#5687).
21629
21630 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
21631 Remove two rather uninteresting debugging-like messages to make
21632 debbugs.el more silent.
21633
21634 * comint.el (comint-password-prompt-regexp): Accept "Response" as
21635 a password-like phrase.
21636
21637 2011-06-30 Masatake YAMATO <yamato@redhat.com>
21638
21639 * progmodes/cc-guess.el: New file.
21640
21641 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
21642
21643 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
21644 derived from `c-basic-common-init'.
21645
21646 * progmodes/cc-mode.el (top-level): Require cc-guess.
21647 (c-basic-common-init): Use `cc-choose-style-for-mode'.
21648
21649 2011-06-30 Lawrence Mitchell <wence@gmx.li>
21650
21651 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
21652
21653 2011-06-30 Alan Mackenzie <acm@muc.de>
21654
21655 * progmodes/cc-engine.el (c-guess-continued-construct):
21656 Correct the handling of template-args-cont, particularly for when font
21657 lock is disabled. Name this case as "CASE G".
21658
21659 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
21660
21661 * allout.el (allout-yank-processing): Fix injection of extra space
21662 between bullet and non-whitespace character in first topic when
21663 pasting, ensuring that the actual spacing in the pasted topic
21664 following the bullet char is preserved. This extra space was
21665 causing pasted encrypted topics to get a decrypted status even
21666 when the content was actually still encrypted. Now the decryption
21667 status from before the paste is preserved.
21668
21669 (allout-flag-region): Set all allout overlays so they evaporate
21670 when reduced to zero length (evanescent), to prevent overlay
21671 leakage.
21672
21673 2011-06-30 Glenn Morris <rgm@gnu.org>
21674
21675 * w32-fns.el (w32-charset-info-alist): Declare.
21676
21677 * find-dired.el (find-grep-options): Simplify.
21678
21679 * term/ns-win.el (ns-set-resource): Declare.
21680
21681 * ses.el (row, col): Declare dynamic variables honestly.
21682
21683 * textmodes/reftex-parse.el (index-tags): Declare.
21684
21685 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
21686
21687 * cus-edit.el (customize-push-and-save): New function.
21688
21689 * files.el (hack-local-variables-confirm): Use it.
21690
21691 * custom.el (load-theme): New arg NO-CONFIRM.
21692 Use customize-push-and-save (Bug#8720).
21693 (custom-enabled-themes): Doc fix.
21694
21695 * cus-theme.el (customize-create-theme)
21696 (custom-theme-merge-theme): Callers to load-theme changed.
21697
21698 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
21699
21700 * thingatpt.el (thing-at-point-short-url-regexp): Require that
21701 short URLs have at least one dot in them (bug #7614).
21702
21703 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
21704 nil, because using a pty is apparently too slow (bug #895).
21705
21706 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
21707
21708 * mail/sendmail.el (sendmail-query-once): New function.
21709 (sendmail-query-once-function): New variable.
21710
21711 2011-06-29 Glenn Morris <rgm@gnu.org>
21712
21713 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
21714
21715 * ses.el (top-level): Require cl when compiling.
21716 (ses-set-localvars): Fix error statement.
21717 Call it at compile time to silence a storm of warnings.
21718
21719 2011-06-29 Martin Rudalics <rudalics@gmx.at>
21720
21721 * window.el (normalize-live-buffer): Rename to
21722 window-normalize-buffer.
21723 (normalize-live-frame): Rename to window-normalize-frame.
21724 (normalize-any-window): Rename to window-normalize-any-window.
21725 (normalize-live-window): Rename to window-normalize-live-window.
21726 (make-window-atom): Rename to window-make-atom.
21727 (window-resize-reset): Rename to window--resize-reset.
21728 (window-resize-reset-1): Rename to window--resize-reset-1.
21729 (resize-mini-window): Rename to window--resize-mini-window.
21730 (resize-subwindows-skip-p): Rename to
21731 window--resize-subwindows-skip-p.
21732 (resize-subwindows-normal): Rename to
21733 window--resize-subwindows-normal.
21734 (resize-subwindows): Rename to window--resize-subwindows.
21735 (resize-other-windows): Rename to window--resize-siblings.
21736 (resize-this-window): Rename to window--resize-this-window.
21737 (resize-root-window): Rename to window--resize-root-window.
21738 (resize-root-window-vertically): Rename to
21739 window--resize-root-window-vertically.
21740 (normalize-buffer-to-display): Rename to
21741 window-normalize-buffer-to-display.
21742 (normalize-buffer-to-switch-to): Rename to
21743 window-normalize-buffer-to-switch-to.
21744 Correspondingly update all callers of the functions listed
21745 above.
21746 (display-buffer-alist, display-buffer-normalize-arguments)
21747 (display-buffer-normalize-options, display-buffer)
21748 (display-buffer-alist-set): Use "function" instead of
21749 "fun-with-args".
21750
21751 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
21752
21753 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
21754 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
21755 debbugs.gnu.org. Mention acknowledgment email.
21756
21757 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
21758
21759 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
21760 buffer multibyteness, since it shouldn't matter.
21761
21762 2011-06-28 Martin Rudalics <rudalics@gmx.at>
21763
21764 * window.el (display-buffer-in-side-window): Handle dedicated
21765 windows as in display-buffer-reuse-window.
21766 (display-buffer-normalize-alist): Use value of override
21767 specifier.
21768 (display-buffer-normalize-specifiers): Use value of
21769 other-window-means-other-frame specifier.
21770 (display-buffer-alist): Rewrite some texts in widgets.
21771 (display-buffer): Spread arguments when calling function
21772 specified by fun-with-args.
21773
21774 2011-06-28 Deniz Dogan <deniz@dogan.se>
21775
21776 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
21777 Unnest `let'.
21778
21779 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
21780 selectors (Bug#5732).
21781 (css-proprietary-nmstart-re): Use `regexp-opt'.
21782
21783 2011-06-27 Jari Aalto <jari.aalto@cante.net>
21784
21785 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
21786 (eshell-ls-date-format): New defcustom.
21787 (eshell-ls-file): Use it.
21788
21789 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
21790
21791 * help-fns.el (describe-variable): Fix message for terminal-local vars.
21792
21793 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
21794
21795 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
21796 (ange-ftp-make-tmp-name): New arg.
21797 (ange-ftp-file-local-copy): Use it.
21798
21799 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
21800
21801 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
21802 no-conversion (Bug#8870).
21803
21804 2011-06-27 Martin Rudalics <rudalics@gmx.at>
21805
21806 * window.el (window-right, window-left, window-child)
21807 (window-child-count, window-last-child)
21808 (window-iso-combination-p, walk-window-tree-1)
21809 (window-atom-check-1, window-tree-1, delete-window)
21810 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
21811 new naming conventions - window-vchild, window-hchild,
21812 window-next and window-prev are now called window-top-child,
21813 window-left-child, window-next-sibling and window-prev-sibling
21814 respectively.
21815 (resize-window-reset): Rename to window-resize-reset.
21816 (resize-window-reset-1): Rename to window-resize-reset-1.
21817 (resize-window): Rename to window-resize.
21818 (window-min-height, window-min-width)
21819 (resize-mini-window, resize-this-window, resize-root-window)
21820 (resize-root-window-vertically, adjust-window-trailing-edge)
21821 (enlarge-window, shrink-window, maximize-window)
21822 (minimize-window, delete-window, quit-restore-window)
21823 (split-window, balance-windows, balance-windows-area-adjust)
21824 (balance-windows-area, window-state-put-2)
21825 (display-buffer-even-window-sizes, display-buffer-set-height)
21826 (display-buffer-set-width, set-window-text-height)
21827 (fit-window-to-buffer): Rename all "resize-window" prefixed
21828 calls to use the "window-resize" prefix convention.
21829 (display-buffer-alist): Fix symbol for label specifier.
21830 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
21831 corresponding specifier.
21832 Reported by Juanma Barranquero <lekktu@gmail.com>.
21833
21834 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
21835
21836 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
21837 convention.
21838 (ses-call-printer): Does not pass an empty string to formatter when the
21839 cell is empty to keep from barking printer Calc math-format-value.
21840
21841 2011-06-27 Richard Stallman <rms@gnu.org>
21842
21843 * battery.el (battery-mode-line-limit): New variable.
21844 (battery-update): Handle it.
21845
21846 * mail/rmailmm.el (rmail-mime-process-multipart):
21847 Handle truncated messages.
21848
21849 2011-06-27 Glenn Morris <rgm@gnu.org>
21850
21851 * progmodes/flymake.el (flymake-err-line-patterns):
21852 Allow for column numbers in the ant/javac pattern. (Bug#8866)
21853
21854 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
21855
21856 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
21857 (ses--clean-!, ses--clean-_): New functions.
21858 (ses-range): Add configurability of readout order, and conversion
21859 to Calc vector.
21860
21861 * ses.el (ses-repair-cell-reference-all): New function.
21862 (ses-cell-symbol): Set macro as safe, so that it can be used in
21863 formulas.
21864
21865 * ses.el: Update cycle detection algorithm.
21866 (ses-localvars): Add ses--Dijkstra-attempt-nb and
21867 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
21868 (ses-set-localvars): New function.
21869 (ses-make-cell): Add property-list as a cell element.
21870 (ses-cell-property-get-fun, ses-cell-property-get)
21871 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
21872 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
21873 New functions.
21874 (ses-cell-property-set, ses-cell-property-pop)
21875 (ses-cell-property-get-handle): New macro.
21876 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
21877 New aliases, used for code readability.
21878 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
21879 cycle detection.
21880 (ses-self-reference-early-detection): New defcustom.
21881 (ses-formula-references): Robustify against self-referring cells.
21882 (ses-mode): Use ses-set-localvars.
21883 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
21884 before lauching the update processing.
21885 (ses-initialize-Dijkstra-attempt): New function.
21886 (ses-recalculate-cell): Update for cycle detection based on
21887 Dijkstra algorithm.
21888
21889 * ses.el: Fix commenting and indenting convention.
21890
21891 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
21892
21893 * bs.el (bs-cycle-next): Complete last change.
21894
21895 2011-06-27 Drew Adams <drew.adams@oracle.com>
21896
21897 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
21898
21899 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
21900
21901 * net/network-stream.el (network-stream-open-starttls):
21902 Don't re-get capabilities unless we've reestablished connection.
21903 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
21904
21905 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
21906 to binary to possibly avoid line encoding issues on Windows (among
21907 other things).
21908
21909 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
21910
21911 * net/network-stream.el (open-network-stream): Return an :error
21912 saying what the problem was, if possible.
21913
21914 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
21915 server.
21916
21917 * net/network-stream.el (network-stream-open-starttls): If we
21918 wanted to use STARTTLS, and the server offered it, but we weren't
21919 able to because we had no STARTTLS support, then close the connection.
21920 (open-network-stream): Return an :error element, if present.
21921
21922 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
21923
21924 * hl-line.el (hl-line-sticky-flag): Doc fix.
21925 (global-hl-line-sticky-flag): New option (Bug#8323).
21926 (global-hl-line-highlight): Obey it.
21927
21928 * vc/vc.el (vc-revert-show-diff): Default to t.
21929
21930 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
21931
21932 * allout-widgets.el (allout-widgets-post-command-business):
21933 Stop decorating intermediate isearch matches. They're not being
21934 undecorated when an isearch is continued past, and isearch
21935 automatically collapses them. This leads to "widget leaks", where
21936 decorated items accumulate in collapsed areas. Lines with lots of
21937 hidden widgets can slow down cursor travel, substantially.
21938 Too much complicated machinery would be needed to ensure undecoration,
21939 so we're doing without this nicety.
21940
21941 (allout-widgets-tally-string): Don't try to do a hash-table-count
21942 of allout-widgets-tally when it's nil. This eliminates spurious "Error
21943 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
21944 *Messages* when allout-widgets-maintain-tally is t.
21945
21946 2011-06-26 Martin Rudalics <rudalics@gmx.at>
21947
21948 * window.el (display-buffer-normalize-argument): Rename to
21949 display-buffer-normalize-arguments. Handle special meaning of
21950 LABEL argument. Respect special-display-function when popping up
21951 a new frame. Fix code searching for a window showing the buffer
21952 on another frame.
21953 (display-buffer-normalize-specifiers):
21954 Call display-buffer-normalize-arguments.
21955 (display-buffer-in-window): Don't undedicate the window if its
21956 buffer remains the same.
21957 Reported by Drew Adams <drew.adams@oracle.com>.
21958 (display-buffer-alist): Add choice for same-window macro
21959 specfier.
21960 (display-buffer): Mention special meaning of LABEL argument in
21961 doc-string. Fix quoting. Don't pop up a new frame even as
21962 fallback.
21963
21964 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
21965
21966 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
21967 avoid deleting the current window in some cases (bug#8911).
21968
21969 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
21970
21971 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
21972 (Bug#8934)
21973
21974 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
21975
21976 * net/network-stream.el (network-stream-open-starttls):
21977 Use built-in TLS support if `gnutls-available-p' is true.
21978 (network-stream-open-tls): Ditto.
21979
21980 2011-06-26 Leo Liu <sdl.web@gmail.com>
21981
21982 * register.el (registerv): New struct.
21983 (registerv-make): New function.
21984 (jump-to-register, describe-register-1, insert-register):
21985 Support the jump-func, print-func and insert-func slot of a registerv
21986 struct. (Bug#8415)
21987
21988 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
21989
21990 * vc/vc.el (vc-revert-show-diff): New defcustom.
21991 (vc-diff-internal): New arg specifying diff buffer.
21992 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
21993 reuse an existing *vc-diff* buffer (Bug#8927).
21994
21995 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
21996
21997 2011-06-26 Glenn Morris <rgm@gnu.org>
21998
21999 * progmodes/f90.el (f90-critical-indent): New option.
22000 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
22001 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
22002 (f90-mode): Doc fix.
22003 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
22004 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
22005 (f90-beginning-of-block, f90-next-block, f90-indent-region)
22006 (f90-match-end): Handle block, critical.
22007
22008 2011-06-25 Glenn Morris <rgm@gnu.org>
22009
22010 * calendar/diary-lib.el (diary-included-files): Doc fix.
22011 (diary-include-files): New function, extracted from
22012 diary-include-other-diary-files and diary-mark-included-diary-files.
22013 (diary-include-other-diary-files, diary-mark-included-diary-files):
22014 Just call diary-include-files.
22015 (diary-mark-entries): Reset diary-included-files on first call.
22016
22017 * calendar/diary-lib.el (diary-mark-entries)
22018 (diary-mark-included-diary-files):
22019 Visit included diary-files in temp buffers.
22020
22021 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
22022 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
22023 (f90-start-block-re, f90-imenu-generic-expression)
22024 (f90-looking-at-program-block-start, f90-no-block-limit):
22025 Add support for submodules.
22026
22027 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
22028 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
22029
22030 2011-06-25 Eli Zaretskii <eliz@gnu.org>
22031
22032 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
22033 buffer-file-type before setting its value, to avoid disastrous
22034 global effects on decoding files for DOS/Windows systems. (Bug#8780)
22035
22036 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
22037
22038 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
22039
22040 * ses.el (ses-unload-function):
22041 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
22042
22043 * proced.el (proced-unload-function):
22044 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
22045
22046 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
22047
22048 * server.el (server-create-window-system-frame): Add parameters arg.
22049 (server-process-filter): Doc fix. Handle frame-parameters.
22050
22051 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
22052
22053 Fix bug#8730, bug#8781.
22054
22055 * loadhist.el (unload--set-major-mode): New function.
22056 (unload-feature): Use it.
22057
22058 * progmodes/python.el (python-after-info-look): Add autoload cookie.
22059 (python-unload-function): New function.
22060
22061 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
22062
22063 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
22064
22065 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
22066
22067 * net/browse-url.el (browse-url-firefox-program): Add icecat to
22068 the candidates list.
22069
22070 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
22071
22072 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
22073
22074 2011-06-23 Richard Stallman <rms@gnu.org>
22075
22076 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
22077 (rmail-variables): Set next-error-move-function.
22078 (rmail-what-message): Take argument POS.
22079 (rmail-next-error-move): New function.
22080
22081 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
22082
22083 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
22084 messages for adjacent non-terminals.
22085
22086 2011-06-23 Richard Stallman <rms@gnu.org>
22087
22088 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
22089 (rmail-show-message-1): Preserve buffer modified flag.
22090 (rmail-start-mail): Don't specify use of rmail-mail-return;
22091 that's done by mail-bury now.
22092 (rmail-mail-return): Handle arg NEWBUF.
22093
22094 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
22095
22096 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
22097 SIZE is a number.
22098
22099 2011-06-23 Martin Rudalics <rudalics@gmx.at>
22100
22101 * window.el (get-lru-window, get-mru-window)
22102 (get-largest-window): Never return a minibuffer window.
22103 (display-buffer-pop-up-window): Fix a bug that could lead to
22104 reusing the minibuffer window.
22105 (display-buffer): Pass original specifier argument to
22106 display-buffer-function instead of the normalized one.
22107 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
22108
22109 2011-06-22 Leo Liu <sdl.web@gmail.com>
22110
22111 * minibuffer.el (completing-read-function)
22112 (completing-read-default): Move from minibuf.c.
22113
22114 2011-06-22 Richard Stallman <rms@gnu.org>
22115
22116 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
22117 to Rmail even if not started by a special Rmail command.
22118
22119 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
22120 Copy the buffer currently showing just one message.
22121
22122 2011-06-22 Roland Winkler <winkler@gnu.org>
22123
22124 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
22125 (bibtex-clean-entry): First delete the old key so that a
22126 customized algorithm for generating the new key does not get
22127 confused by the old key.
22128 (bibtex-url): Obey regexp of first step.
22129 (bibtex-search-entries): Do not use add-to-list with local
22130 list-var.
22131
22132 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
22133
22134 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
22135 stored a user name, then query for the password first, instead of
22136 waiting for SMTP to give an error message and the trying again.
22137
22138 2011-06-22 Lawrence Mitchell <wence@gmx.li>
22139
22140 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
22141 BUFFER in call-process.
22142
22143 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
22144
22145 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
22146 QUIT twice.
22147 (smtpmail-try-auth-methods): Require user name and password from
22148 auth-source.
22149
22150 2011-06-22 Martin Rudalics <rudalics@gmx.at>
22151
22152 * window.el (display-buffer-default-specifiers)
22153 (display-buffer-alist): Remove entries for pop-up-frame-alist.
22154 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
22155 (split-window): Normalize SIDE argument (Bug#8916).
22156
22157 * frame.el (pop-up-frame-alist, pop-up-frame-function)
22158 (special-display-frame-alist, special-display-popup-frame):
22159 Remove duplicate declarations. These are now in window.el.
22160
22161 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
22162
22163 * mail/smtpmail.el (smtpmail-via-smtp):
22164 Set :use-starttls-if-possible so that we always use STARTTLS if the
22165 server supports it. SMTP servers that support STARTTLS commonly
22166 require it.
22167
22168 * net/network-stream.el (network-stream-open-starttls): Support
22169 upgrading to STARTTLS always, even if we don't have built-in support.
22170 (open-network-stream): Add the :always-query-capabilities keyword.
22171
22172 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
22173 upgrades with `open-network-stream', and rely solely on
22174 auth-source for all credentials. Big changes throughout the file,
22175 but in particular:
22176 (smtpmail-auth-credentials): Remove.
22177 (smtpmail-starttls-credentials): Remove.
22178 (smtpmail-via-smtp): Check for servers saying they want AUTH after
22179 MAIL FROM, too.
22180
22181 * net/network-stream.el (network-stream-open-starttls):
22182 Provide support for client certificates both for external and built-in
22183 STARTTLS.
22184 (auth-source): Require.
22185 (open-network-stream): Document the :client-certificate keyword.
22186 (network-stream-certificate): Change cert-cert to cert and
22187 cert-key to key.
22188
22189 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
22190
22191 * net/tramp-cache.el (top): Don't load the persistency file when
22192 "emacs -Q" has been called.
22193
22194 2011-06-21 Tim Harper <timcharper@gmail.com>
22195
22196 * term/ns-win.el (ns-initialize-window-system):
22197 Set application-specific `ApplePressAndHoldEnabled' system
22198 resource to NO as it is not yet supported by the NS port.
22199
22200 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
22201
22202 * misc.el (list-dynamic-libraries--refresh): Compute header here...
22203 (list-dynamic-libraries): ...not here.
22204
22205 2011-06-21 Leo Liu <sdl.web@gmail.com>
22206
22207 * subr.el (sha1): Implement sha1 using secure-hash.
22208
22209 2011-06-21 Martin Rudalics <rudalics@gmx.at>
22210
22211 * window.el (display-buffer-alist): In default value do not
22212 enforce searching a window on any but the selected frame.
22213 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
22214 (display-buffer-select-window): Remove function.
22215 (display-buffer-in-window): When a window on another frame gets
22216 reused, do not select it any more but just raise its frame if
22217 necessary (Bug#8851) and (Bug#8856).
22218 (display-buffer-normalize-options): Handle pop-up-frames related
22219 options more faithfully.
22220 (pop-to-buffer): Don't rely on `display-buffer' selecting the
22221 window if it is on another frame.
22222 (display-buffer-alist, display-buffer-default-specifiers):
22223 Don't make new frame unsplittable by default.
22224 (display-buffer-normalize-argument): Fix doc-string typo and use
22225 'same-frame-other-window instead of 'other-window when associating
22226 with display-buffer-macro-specifiers.
22227
22228 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
22229
22230 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
22231 New functions.
22232 (5x5-mode-map, 5x5-mode-menu): Bind them.
22233 (5x5-draw-grid): Tweak the solver's rendering.
22234
22235 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
22236
22237 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
22238 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
22239
22240 2011-06-21 Drew Adams <drew.adams@oracle.com>
22241
22242 * menu-bar.el: Use function variable instead of switch-to-buffer.
22243 (menu-bar-select-buffer-function): New variable.
22244 (menu-bar-update-buffers): Use it (bug#8876).
22245
22246 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
22247
22248 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
22249 variable's status.
22250
22251 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
22252
22253 * x-dnd.el (x-dnd-version-from-flags)
22254 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
22255 and long as number (Bug#8899).
22256 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
22257
22258 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
22259
22260 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
22261 (completion-try-completion, completion-all-completions): Compute the
22262 metadata argument if it's missing; make it optional (bug#8795).
22263
22264 * wid-edit.el: Use lex-bind and move towards completion-at-point.
22265 (widget-complete): Use new :completion-function property.
22266 (widget-completions-at-point): New function.
22267 (default): Use :completion-function instead of :complete.
22268 (widget-default-completions): Rename from widget-default-complete;
22269 Rewrite.
22270 (widget-string-complete, widget-file-complete, widget-color-complete):
22271 Remove functions.
22272 (file, symbol, function, variable, coding-system, color):
22273 * international/mule-cmds.el (default-input-method, charset)
22274 (language-info-custom-alist):
22275 * cus-edit.el (face): Use new property :completions.
22276
22277 * progmodes/pascal.el (pascal-completions-at-point): New function.
22278 (pascal-mode): Use it.
22279 (pascal-mode-map): Use completion-at-point.
22280 (pascal-toggle-completions): Make obsolete.
22281 (pascal-complete-word, pascal-show-completions):
22282 * progmodes/octave-mod.el (octave-complete-symbol):
22283 Redefine as obsolete alias.
22284 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
22285 Signal absence of completion info for old Octave,
22286 (inferior-octave-complete): Redefine as obsolete alias.
22287 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
22288 (meta-completions-at-point): Rename from meta-complete-symbol and
22289 adapt it for use on completion-at-point-functions.
22290 (meta-common-mode): Use it.
22291 (meta-looking-at-backward, meta-match-buffer): Remove.
22292 (meta-complete-symbol): Redefine as obsolete alias.
22293 (meta-common-mode-map): Use completion-at-point.
22294 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
22295 (makefile-mode-map): Use completion-at-point.
22296 (makefile-completions-at-point): Rename from makefile-complete and
22297 adapt it for use on completion-at-point-functions.
22298 (makefile-mode): Use it.
22299 (makefile-complete): Redefine as obsolete alias.
22300
22301 2011-06-20 Deniz Dogan <deniz@dogan.se>
22302
22303 * net/rcirc.el: Delete trailing whitespaces once and for all.
22304
22305 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
22306
22307 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
22308
22309 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
22310
22311 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
22312
22313 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
22314
22315 2011-06-19 Martin Rudalics <rudalics@gmx.at>
22316
22317 * window.el (display-buffer-other-window-means-other-frame):
22318 Call display-buffer-normalize-alist.
22319 (display-buffer-normalize-specifiers-1): Rename to
22320 display-buffer-normalize-argument. New argument other-frame.
22321 Rewrite.
22322 (display-buffer-normalize-specifiers-2): Rename to
22323 display-buffer-normalize-options.
22324 (display-buffer-normalize-alist-1): New function.
22325 (display-buffer-normalize-specifiers-3): Rename to
22326 display-buffer-normalize-alist.
22327 Call display-buffer-normalize-alist-1.
22328 (display-buffer-normalize-options-inhibit): New variable.
22329 (display-buffer-normalize-specifiers): Rewrite calling
22330 display-buffer-normalize-alist,
22331 display-buffer-normalize-argument, and
22332 display-buffer-normalize-options. Don't call the latter if
22333 display-buffer-normalize-options-inhibit is non-nil.
22334 (frame-auto-delete): New option.
22335 (window-deletable-p): Use frame-auto-delete.
22336 (window-list-no-nils, window-state-ignored-parameters)
22337 (window-state-get-1, window-state-get, window-state-put-list)
22338 (window-state-put-1, window-state-put-2, window-state-put):
22339 New functions.
22340 (display-buffer-normalize-options): Move special-display-p group
22341 after pop-up-frame group (Bug#8851) and (Bug#8856).
22342
22343 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
22344
22345 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
22346 groups (Bug#8776).
22347 (rx-submatch-n): New function.
22348 (rx): Document it.
22349
22350 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
22351 (Bug#8768).
22352
22353 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
22354
22355 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
22356
22357 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
22358 anytime existing face settings are present (Bug#8889).
22359
22360 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
22361 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
22362 Remove unused argument.
22363
22364 2011-06-18 Martin Rudalics <rudalics@gmx.at>
22365
22366 * window.el (display-buffer-default-specifiers):
22367 Remove pop-up-frame. Add pop-up-window-min-height,
22368 pop-up-window-min-width, and another reuse-window specifier
22369 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
22370 (display-buffer-normalize-specifiers-2):
22371 Handle split-height-threshold and split-width-threshold also when
22372 pop-up-windows is unset. Add a reuse-window specifier for the
22373 case popping up a new window fails.
22374 (special-display-popup-frame): Remove double quoting.
22375 (display-buffer-normalize-specifiers-1): Fix thinko.
22376
22377 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
22378
22379 * shell.el (shell-completion-vars): Set pcomplete-termination-string
22380 according to comint-completion-addsuffix.
22381
22382 * pcomplete.el: Convert to lexical binding and fix bug#8819.
22383 (pcomplete-suffix-list): Mark as obsolete.
22384 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
22385 pcomplete-seen in the closure.
22386 (pcomplete-comint-setup): Setup completion-at-point as well.
22387 (pcomplete--entries): New function.
22388 (pcomplete--env-regexp): New var.
22389 (pcomplete-entries): Rewrite to work with partial-completion and
22390 without relying on pcomplete-suffix-list.
22391 (pcomplete-pare-list): Remove, unused.
22392
22393 2011-06-17 Martin Rudalics <rudalics@gmx.at>
22394
22395 * window.el (display-buffer-alist): Set pop-up-window-min-height
22396 and pop-up-window-min-width in default value. Reported by
22397 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
22398 other-window-means-other-frame.
22399 (display-buffer-macro-specifiers): Comment out entry for
22400 other-window specifier.
22401 (display-buffer-other-window-means-other-frame): New function.
22402 (display-buffer-normalize-specifiers-1): New arguments
22403 buffer-name and label. Treat other-window case specially.
22404 (display-buffer-normalize-specifiers-2): Treat other-window case
22405 specially.
22406 (display-buffer-normalize-specifiers-3): New function.
22407 (display-buffer-normalize-specifiers):
22408 Call display-buffer-normalize-specifiers-3.
22409
22410 2011-06-17 Martin Rudalics <rudalics@gmx.at>
22411
22412 * window.el (same-window-p): Fix two typos introduced when
22413 adding with-no-warnings.
22414 (display-buffer-normalize-specifiers-1): Don't check
22415 pop-up-frames for 'unset initialization.
22416 (display-buffer-normalize-specifiers-2): Major rewrite using
22417 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
22418 (pop-up-frames, display-buffer-reuse-frames)
22419 (display-buffer-mark-dedicated): Don't initialize to 'unset.
22420 Suggested by David Engster <deng@randomsample.de>.
22421 (even-window-heights): Initialize to 'unset.
22422 (display-buffer-alist-set): Handle new 'unset initializations.
22423 (display-buffer-macro-specifiers): Don't pop up a new frame in the
22424 other window case.
22425
22426 2011-06-16 Martin Rudalics <rudalics@gmx.at>
22427
22428 * window.el (display-buffer-normalize-specifiers-1):
22429 Respect current value of pop-up-frames for most reasonable values of
22430 second argument of display-buffer (Bug#8865).
22431 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
22432 (switch-to-buffer-other-window-same-frame)
22433 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
22434 Adams (Bug#8875).
22435 (display-buffer): Don't check noninteractive when calling
22436 display-buffer-pop-up-frame.
22437 (display-buffer-pop-up-frame): Never pop up a frame in
22438 noninteractive mode (Bug#8857).
22439 (enlarge-window, shrink-window): Don't report an error when the
22440 window can't be resized as requested (Bug#8862).
22441
22442 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
22443
22444 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
22445
22446 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
22447
22448 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
22449
22450 2011-06-15 Alan Mackenzie <acm@muc.de>
22451
22452 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
22453 for declarators, disable knr checking to speed up for normal files.
22454 2: Refactor, replacing a sequence of nested if forms by a cond form.
22455
22456 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
22457
22458 * net/network-stream.el (open-network-stream): Add the keyword
22459 :always-query-capabilities for the case where you want to force a
22460 `plain' network connection, but the protocol still requires the
22461 capabilitiy command (i.e., SMTP and EHLO).
22462
22463 * subr.el (process-live-p): Rename from `process-alive-p' for
22464 consistency with other `-live-p' functions.
22465
22466 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
22467
22468 * window.el (same-window-buffer-names, same-window-regexps)
22469 (special-display-frame-alist, special-display-popup-frame)
22470 (special-display-function, special-display-buffer-names)
22471 (special-display-regexps, pop-up-frame-alist)
22472 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
22473 (pop-up-windows, split-window-preferred-function)
22474 (split-height-threshold, split-width-threshold, even-window-heights)
22475 (display-buffer-mark-dedicated): Don't encourage the use of
22476 display-buffer-alist from Elisp code.
22477
22478 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
22479
22480 * progmodes/python.el (python-mode): Derive from prog-mode.
22481 * progmodes/ps-mode.el (ps-mode):
22482 * progmodes/mixal-mode.el (mixal-mode):
22483 * progmodes/cfengine.el (cfengine-mode):
22484 * progmodes/ld-script.el (ld-script-mode): Likewise.
22485
22486 2011-06-15 Martin Rudalics <rudalics@gmx.at>
22487
22488 * window.el (display-buffer-alist): Trim default value to avoid
22489 popping up a new frame (Bug#8857) or reusing an arbitrary window
22490 on another frame.
22491 (display-buffer): Do not fall back on popping up a new frame in
22492 batch mode (Bug#8857).
22493
22494 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
22495
22496 * cus-theme.el (describe-theme-1): Use custom-theme-p.
22497 (custom-theme-summary): New function.
22498 (customize-themes): Use it.
22499
22500 2011-06-13 Glenn Morris <rgm@gnu.org>
22501
22502 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
22503
22504 2011-06-13 Martin Rudalics <rudalics@gmx.at>
22505
22506 * help.el (help-window): Remove variable.
22507 (help-window-point-marker, temp-buffer-max-height)
22508 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
22509 (help-print-return-message): Don't set help-window.
22510 (resize-temp-buffer-window): Rewrite cod eand doc-string.
22511 (help-window-setup-finish): Remove.
22512 (help-window-display-message, help-window-setup)
22513 (with-help-window): Major rewrite based on new
22514 display-buffer-window variable.
22515
22516 * help-mode.el (help-mode-finish): Remove help-window related
22517 code.
22518
22519 * view.el (view-exits-all-viewing-windows): Remove reference to
22520 view-return-to-alist in doc-string.
22521 (view-return-to-alist): Make obsolete.
22522 (view-buffer): Call pop-to-buffer-same-window and remove
22523 undo-window code.
22524 (view-buffer-other-window): Call pop-to-buffer-other-window and
22525 simplify code. Ignore second argument.
22526 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
22527 simplify code. Ignore second argument.
22528 (view-return-to-alist-update): Make obsolete.
22529 (view-mode-enter): Rename second argument to QUIT-RESTORE.
22530 Rewrite using quit-restore window parameters.
22531 (view-mode-exit): Rename second argument to EXIT-ONLY.
22532 Rewrite using quit-restore-window.
22533 (View-exit, View-exit-and-edit, View-leave, View-quit)
22534 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
22535 appropriate arguments.
22536 (view-end-message): Use quit-restore window parameter.
22537
22538 * window.el (display-buffer-function): Rewrite doc-string.
22539 (display-buffer-window, display-buffer-alist): New variables.
22540 (display-buffer-split-specifiers)
22541 (display-buffer-side-specifiers)
22542 (display-buffer-macro-specifiers): New constants.
22543 (display-buffer-even-window-sizes, display-buffer-set-height)
22544 (display-buffer-set-width, display-buffer-select-window)
22545 (display-buffer-in-window, display-buffer-reuse-window)
22546 (display-buffer-split-window-1, display-buffer-split-window)
22547 (display-buffer-split-atom-window, display-buffer-pop-up-window)
22548 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
22549 (display-buffer-in-side-window, normalize-buffer-to-display)
22550 (display-buffer-normalize-specifiers-1)
22551 (display-buffer-normalize-specifiers-2)
22552 (display-buffer-normalize-specifiers, display-buffer-frame):
22553 New functions.
22554 (display-buffer): Major rewrite.
22555 (display-buffer-other-window, display-buffer-other-frame)
22556 (pop-to-buffer, switch-to-buffer-other-window)
22557 (switch-to-buffer-other-frame): Rewrite.
22558 (display-buffer-same-window, display-buffer-same-frame)
22559 (display-buffer-same-frame-other-window)
22560 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
22561 (pop-to-buffer-other-window)
22562 (pop-to-buffer-same-frame-other-window)
22563 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
22564 (switch-to-buffer-other-window-same-frame): New functions.
22565 (same-window-p, special-display-p): Rewrite disabling warnings.
22566 Make obsolete.
22567 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
22568 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
22569 Make obsolete
22570 (same-window-buffer-names, same-window-regexps)
22571 (special-display-frame-alist, special-display-popup-frame)
22572 (special-display-function, special-display-buffer-names)
22573 (special-display-regexps, pop-up-frame-alist)
22574 (pop-up-frame-function, split-window-preferred-function)
22575 (split-height-threshold, split-width-threshold)
22576 (even-window-heights): Make obsolete.
22577
22578 2011-06-12 Glenn Morris <rgm@gnu.org>
22579
22580 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
22581 Misc simplifications.
22582
22583 2011-06-12 Martin Rudalics <rudalics@gmx.at>
22584
22585 * window.el (window-safely-shrinkable-p): Restore function which
22586 was inadvertently removed in change from 2011-06-11. Declare as
22587 obsolete.
22588
22589 * calendar/calendar.el (calendar-generate-window):
22590 Use window-iso-combined-p instead of combination of one-window-p and
22591 window-safely-shrinkable-p.
22592
22593 2011-06-12 Glenn Morris <rgm@gnu.org>
22594
22595 * progmodes/fortran.el (fortran-mode-syntax-table):
22596 * progmodes/f90.el (f90-mode-syntax-table):
22597 Set % to punctuation. (Bug#8820)
22598 (f90-find-tag-default): Remove, no longer needed.
22599
22600 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
22601
22602 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
22603
22604 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
22605
22606 * image.el (image-animated-p): Return animation delay in seconds.
22607 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
22608 (image-animate-timeout): Remove DELAY argument. Don't assume
22609 every subimage has the same delay; get it from image-animated-p.
22610 (image-animate): Caller changed.
22611
22612 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
22613
22614 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
22615 to ignored backtrace functions.
22616
22617 2011-06-11 Glenn Morris <rgm@gnu.org>
22618
22619 * calendar/appt.el (appt-disp-window-function): Doc fix.
22620 (appt-check): Handle overlapping appointments. (Bug#8337)
22621
22622 2011-06-11 Martin Rudalics <rudalics@gmx.at>
22623
22624 * window.el (window-tree-1, window-tree): New functions, moving
22625 the latter to window.el.
22626 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
22627 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
22628 (bw-refresh-edges): Remove.
22629 (balance-windows-1, balance-windows-2): New functions.
22630 (balance-windows): Rewrite in terms of window tree functions,
22631 balance-windows-1 and balance-windows-2.
22632 (bw-adjust-window): Remove.
22633 (balance-windows-area-adjust): New function with functionality of
22634 bw-adjust-window but using resize-window.
22635 (set-window-text-height): Rewrite doc-string.
22636 Use normalize-live-window and resize-window.
22637 (enlarge-window-horizontally, shrink-window-horizontally):
22638 Rename argument to DELTA.
22639 (window-buffer-height): New function.
22640 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
22641 Rewrite using new window resize routines.
22642 (kill-buffer-and-window, mouse-autoselect-window-select):
22643 Use ignore-errors instead of condition-case.
22644 (quit-window): Call delete-frame instead of delete-windows-on
22645 for the only buffer on frame.
22646
22647 2011-06-10 Martin Rudalics <rudalics@gmx.at>
22648
22649 * loadup.el (top-level): Load window before files for the sake
22650 of replace-buffer-in-windows.
22651
22652 * files.el (read-buffer-to-switch)
22653 (switch-to-buffer-other-window)
22654 (switch-to-buffer-other-frame, display-buffer-other-frame):
22655 Move to window.el.
22656
22657 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
22658 (previous-buffer): Move to window.el.
22659
22660 * bindings.el (unbury-buffer): Move to window.el.
22661
22662 * window.el (delete-other-windows-vertically): Move after
22663 definition of delete-other-windows.
22664 (other-window, delete-windows-on, replace-buffer-in-windows):
22665 Move here from window.c.
22666 (record-window-buffer, unrecord-window-buffer)
22667 (set-window-buffer-start-and-point, switch-to-prev-buffer)
22668 (switch-to-next-buffer): New functions.
22669 (get-next-valid-buffer, last-buffer, next-buffer): Move here
22670 from simple.el. Call switch-to-next-buffer.
22671 (previous-buffer): Move here from simple.el.
22672 Call switch-to-prev-buffer.
22673 (bury-buffer): Move here from buffer.c. Switch to previous
22674 buffer when window cannot be deleted.
22675 (unbury-buffer): Move here from bindings.el.
22676 (ctl-x-map): Move binding for other-window from window.c to
22677 here.
22678 (read-buffer-to-switch, switch-to-buffer-other-window)
22679 (switch-to-buffer-other-frame): Move here from files.el.
22680 (normalize-buffer-to-switch-to): New functions.
22681 (switch-to-buffer): Move here from buffer.c.
22682 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
22683
22684 2011-06-10 Martin Rudalics <rudalics@gmx.at>
22685
22686 * window.el (window-min-height, window-min-width): Move here
22687 from window.c. Add defcustoms and rewrite doc-strings.
22688 (resize-mini-window, resize-window): New functions.
22689 (adjust-window-trailing-edge, enlarge-window, shrink-window):
22690 Move here from window.c.
22691 (maximize-window, minimize-window): New functions.
22692 (delete-window, delete-other-windows, split-window): Move here
22693 from window.c.
22694 (window-split-min-size): New function.
22695 (split-window-keep-point): Mention split-window-above-each-other
22696 instead of split-window-vertically.
22697 (split-window-above-each-other, split-window-vertically):
22698 Rename split-window-vertically to split-window-above-each-other
22699 and provide defalias for old definition.
22700 (split-window-side-by-side, split-window-horizontally):
22701 Rename split-window-horizontally to split-window-side-by-side
22702 and provide defalias for the old definition.
22703 (ctl-x-map): Move bindings for delete-window,
22704 delete-other-windows and enlarge-window here from window.c.
22705 Replace bindings for split-window-vertically and
22706 split-window-horizontally by bindings for
22707 split-window-above-each-other and split-window-side-by-side.
22708
22709 * cus-start.el (all): Remove entries for window-min-height and
22710 window-min-width. Add entries for window-splits and
22711 window-nest.
22712
22713 2011-06-09 Glenn Morris <rgm@gnu.org>
22714
22715 * calendar/appt.el (appt-mode-line): New function.
22716 (appt-check, appt-disp-window): Use it.
22717
22718 * files.el (hack-one-local-variable-eval-safep):
22719 Allow minor-modes with explicit +/-1 arguments.
22720
22721 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
22722
22723 * term/xterm.el (xterm): Add defgroup.
22724 (xterm-extra-capabilities): Add defcustom to supply known xterm
22725 capabilities, skip querying them, or query them (default).
22726 (terminal-init-xterm): Use it.
22727 (terminal-init-xterm-modify-other-keys): New function to set up
22728 modifyOtherKeys support to simplify `terminal-init-xterm'.
22729
22730 2011-06-09 Martin Rudalics <rudalics@gmx.at>
22731
22732 * window.el (resize-window-reset, resize-window-reset-1)
22733 (resize-subwindows-skip-p, resize-subwindows-normal)
22734 (resize-subwindows, resize-other-windows, resize-this-window)
22735 (resize-root-window, resize-root-window-vertically)
22736 (window-deletable-p, window-or-subwindow-p)
22737 (frame-root-window-p): New functions.
22738
22739 2011-06-09 Glenn Morris <rgm@gnu.org>
22740
22741 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
22742 (ange-ftp-get-files): Use it.
22743
22744 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
22745
22746 * mail/sendmail.el (mail-recover-1, mail-recover):
22747 * files.el (recover-file, recover-session):
22748 Handle dired-listing-switches not being just a single short option.
22749
22750 2011-06-09 Glenn Morris <rgm@gnu.org>
22751
22752 * calendar/appt.el (appt-display-message, appt-disp-window):
22753 Handle lists of appointments.
22754
22755 2011-06-08 Martin Rudalics <rudalics@gmx.at>
22756
22757 * window.el (one-window-p): Move down in code.
22758 Rewrite doc-string.
22759 (window-current-scroll-bars): Rewrite doc-string.
22760 Normalize live window argument.
22761 (walk-windows, get-window-with-predicate, count-windows):
22762 Rewrite doc-string. Use window-list-1.
22763 (window-in-direction-2, window-in-direction, get-mru-window):
22764 New functions.
22765
22766 2011-06-08 Reuben Thomas <rrt@sc3d.org>
22767
22768 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
22769 Doc fix (Bug#8713).
22770
22771 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
22772
22773 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
22774
22775 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
22776
22777 * loadhist.el (unload-feature-special-hooks):
22778 Add `comint-output-filter-functions'.
22779
22780 2011-06-08 Ivan Kanis <gnu@kanis.fr>
22781
22782 * calendar/appt.el (appt-check): Move some initializations into the let.
22783
22784 2011-06-08 Martin Rudalics <rudalics@gmx.at>
22785
22786 * window.el (window-height): Defalias to window-total-height.
22787 (window-width): Defalias to window-body-width.
22788
22789 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
22790
22791 * image-mode.el (image-toggle-animation): New command.
22792 (image-mode-map): Bind it to RET.
22793 (image-mode): Update message.
22794 (image-toggle-display-image): Avoid a spurious cache flush.
22795 (image-transform-rotation): Doc fix.
22796 (image-transform-properties): Return quickly in the normal case.
22797 (image-animate-loop): Rename from image-animate-max-time.
22798
22799 * image.el (image-animate-max-time): Move to image-mode.el.
22800 (create-animated-image): Remove unnecessary function.
22801 (image-animate): Rename from image-animate-start. New arg.
22802 (image-animate-stop): Remove; just use image-animate-timer.
22803 (image-animate-timer): Use car-safe.
22804 (image-animate-timeout): Rename argument.
22805
22806 2011-06-07 Martin Rudalics <rudalics@gmx.at>
22807
22808 * window.el (get-lru-window, get-largest-window): Move here from
22809 window.c. Rename first argument to ALL-FRAMES.
22810 Rephrase doc-strings.
22811 (get-buffer-window-list): Rewrite using window-list-1.
22812 Rephrase doc-string.
22813 (window-safe-min-height, window-safe-min-width): New constants.
22814 (window-size-ignore, window-min-size, window-min-size-1)
22815 (window-sizable, window-sizable-p, window-size-fixed-1)
22816 (window-size-fixed-p, window-min-delta-1, window-min-delta)
22817 (window-max-delta-1, window-max-delta, window-resizable)
22818 (window-resizable-p, window-total-height, window-total-width)
22819 (window-body-width): New functions.
22820 (window-full-height-p, window-full-width-p): Rewrite using
22821 window-total-size.
22822 (window-body-height): Rewrite using window-body-size.
22823
22824 2011-06-06 Martin Rudalics <rudalics@gmx.at>
22825
22826 * window.el (window-right, window-left, window-child)
22827 (window-child-count, window-last-child, window-any-p)
22828 (normalize-live-buffer, normalize-live-frame)
22829 (normalize-any-window, normalize-live-window)
22830 (window-iso-combination-p, window-iso-combined-p)
22831 (window-iso-combinations)
22832 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
22833 (windows-with-parameter, window-with-parameter)
22834 (window-atom-root, make-window-atom, window-atom-check-1)
22835 (window-atom-check, window-side-check, window-check):
22836 New functions.
22837 (ignore-window-parameters, window-sides, window-sides-vertical)
22838 (window-sides-slots): New variables.
22839 (window-size-fixed): Move down in code. Minor doc-string fix.
22840
22841 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
22842
22843 * comint.el (comint-dynamic-complete-as-filename)
22844 (comint-dynamic-complete-filename): Correctly call
22845 completion-in-region.
22846
22847 2011-06-05 Deniz Dogan <deniz@dogan.se>
22848
22849 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
22850 in last change.
22851
22852 2011-06-05 Deniz Dogan <deniz@dogan.se>
22853
22854 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
22855 (rcirc): Use it to prompt for encryption.
22856
22857 2011-06-05 Roland Winkler <winkler@gnu.org>
22858
22859 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
22860 (bibtex-search-entries): New command bound to C-c C-a.
22861 (bibtex-display-entries): New function.
22862
22863 2011-06-05 Roland Winkler <winkler@gnu.org>
22864
22865 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
22866 (bibtex-insert-kill): After yanking insert newline if necessary.
22867 (bibtex-initialize): Call bibtex-string-files-init only once.
22868 (bibtex-mode): Do not call easy-menu-add.
22869 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
22870 (bibtex-yank): Set arg properly if nil.
22871
22872 2011-06-05 Roland Winkler <winkler@gnu.org>
22873
22874 * textmodes/bibtex.el (bibtex-search-entry-globally):
22875 New variable.
22876 (bibtex-search-entry): Use it.
22877
22878 2011-06-05 Roland Winkler <winkler@gnu.org>
22879
22880 * textmodes/bibtex.el (bibtex-entry-format): New option
22881 sort-fields.
22882 (bibtex-format-entry, bibtex-reformat): Honor this option.
22883 (bibtex-parse-entry): Return fields in proper order.
22884
22885 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
22886
22887 * doc-view.el (doc-view-remove-if): Move computation of result out
22888 of `dolist' to silence misleading lexical-binding warning.
22889
22890 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
22891
22892 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
22893 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
22894
22895 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
22896
22897 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
22898 "SunOS 5.10".
22899
22900 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
22901
22902 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
22903 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
22904 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
22905 (tramp-parse-putty):
22906 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
22907 (tramp-completion-function-alist-ssh)
22908 (tramp-completion-function-alist-telnet)
22909 (tramp-completion-function-alist-su)
22910 (tramp-completion-function-alist-putty): Set `tramp-autoload'
22911 cookie.
22912
22913 * net/tramp-ftp.el:
22914 * net/tramp-sh.el:
22915 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
22916 load "tramp.el" `tramp-set-completion-function'.
22917
22918 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
22919
22920 * shell.el: Require and use pcomplete.
22921 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
22922 (shell-completion-vars): Set pcomplete-default-completion-function.
22923
22924 2011-06-04 Deniz Dogan <deniz@dogan.se>
22925
22926 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
22927 `memq' (Bug#8799).
22928
22929 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
22930
22931 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
22932
22933 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
22934
22935 * bs.el (bs--mark-unmark, bs--nth-wrapper):
22936 * mpc.el (mpc-select-extend, mpc-songpointer-context):
22937 * vc/log-view.el (log-view-beginning-of-defun):
22938 * vc/smerge-mode.el (smerge-apply-resolution-patch)
22939 (smerge-refine-forward, smerge-refine-chopup-region):
22940 Silence warning for unused `dotimes' counter variables.
22941
22942 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
22943
22944 * net/tramp.el (tramp-with-progress-reporter): Rename from
22945 with-progress-reporter. Use `declare'.
22946 * net/tramp-smb.el:
22947 * net/tramp-sh.el:
22948 * net/tramp-gvfs.el: Update all uses.
22949
22950 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
22951
22952 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
22953 buffer isn't killed before making it current.
22954
22955 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
22956
22957 Silence various byte-compiler warnings.
22958 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
22959 `access-type' and new obsolescence format.
22960 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
22961 new format.
22962 (byte-compile-check-variable): New `access-type' argument.
22963 Only warn if the access-type is obsolete.
22964 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
22965 (byte-compile-variable-set): Adjust callers.
22966 * help-fns.el (describe-variable): Adjust to new obsolescence format.
22967 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
22968 setting it as obsolete.
22969 * simple.el (minibuffer-completing-symbol):
22970 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
22971 access as obsolete.
22972 * minibuffer.el (minibuffer-completing-file-name): Don't make it
22973 obsolete yet.
22974 * international/quail.el (quail-mouse-choose-completion): Remove unused
22975 code referring to obsolete var.
22976 (quail-choose-completion-string): Remove.
22977 * server.el (server-clients-with, server-kill-buffer-query-function)
22978 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
22979 * proced.el (proced-send-signal):
22980 * emacs-lisp/lisp.el (lisp-complete-symbol):
22981 Replace completion-annotate-function with completion-extra-properties.
22982
22983 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
22984
22985 * simple.el (goto-line): Use read-number.
22986 (overriding-map-is-bound): Remove.
22987 (saved-overriding-map): Change default.
22988 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
22989 Take the map as argument.
22990 (universal-argument, negative-argument, digit-argument): Use it.
22991 (restore-overriding-map): Adjust.
22992 (do-auto-fill): Use fill-forward-paragraph.
22993 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
22994
22995 * minibuffer.el (minibuffer-inactive-mode-map): New var.
22996 (minibuffer-inactive-mode): New major mode.
22997 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
22998 the *Messages* buffer" hack.
22999 (mouse-popup-menubar): Don't burp if the event is a normal key.
23000
23001 Miscellaneous tweaks.
23002 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
23003 lexical scoping as in subr.el's dolist and dotimes.
23004 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
23005 Silence compiler warning.
23006 * thingatpt.el (forward-whitespace): Trivial coding style fix.
23007 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
23008 * international/ccl.el (ccl-compile): Trivial simplification.
23009 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
23010 * emacs-lisp/testcover.el (testcover-end): Remove spurious
23011 `printflag' argument.
23012 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
23013 Purecopy the whole obsolescence data.
23014
23015 2011-06-01 Leo Liu <sdl.web@gmail.com>
23016
23017 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
23018 improve doc-string as suggested by Marco Pessotto
23019 <melmothx@gmail.com>.
23020 (rcirc-print): Fix last change.
23021
23022 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
23023
23024 * minibuffer.el (complete-with-action): Return nil for the metadata and
23025 boundaries of non-functional tables.
23026 (completion-table-dynamic): Return nil for the metadata.
23027 (completion-table-with-terminator): Add default case, using
23028 complete-with-action.
23029 (completion--metadata): New function.
23030 (completion-all-sorted-completions, minibuffer-completion-help): Use it
23031 to try and avoid pathological performance problems.
23032 (completion--embedded-envvar-table): Return `category' metadata.
23033
23034 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
23035
23036 * subr.el (process-alive-p): New tiny convenience function.
23037
23038 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
23039
23040 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
23041 content but also its previous major mode.
23042
23043 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
23044
23045 * emacs-lisp/debug.el (debug): Restore the previous content of the
23046 *Backtrace* buffer when we exit with C-M-c.
23047
23048 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
23049
23050 * minibuffer.el: Add metadata method to completion tables.
23051 (completion-category-overrides): New defcustom.
23052 (completion-metadata, completion--field-metadata)
23053 (completion-metadata-get, completion--styles)
23054 (completion--cycle-threshold): New functions.
23055 (completion-try-completion, completion-all-completions):
23056 Add `metadata' argument to choose completion-styles.
23057 (completion--do-completion): Use metadata to choose cycling.
23058 (completion-all-sorted-completions): Use metadata for sorting.
23059 Remove :completion-cycle-penalty which is not needed any more.
23060 (completion--try-word-completion): Add `metadata' argument.
23061 (minibuffer-completion-help): Check metadata for annotation function
23062 and sorting.
23063 (completion-file-name-table): Return `category' metadata.
23064 (minibuffer-completing-file-name): Make obsolete.
23065 * simple.el (minibuffer-completing-symbol): Make obsolete.
23066 * icomplete.el (icomplete-completions): Pass new `metadata' param to
23067 completion-try-completion.
23068
23069 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
23070
23071 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
23072
23073 2011-05-30 Leo Liu <sdl.web@gmail.com>
23074
23075 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
23076 (rcirc-print): Decode all incoming messages (bug#8744).
23077 (rcirc-decode-coding-system): Allow value nil for automatic coding
23078 system detection.
23079
23080 2011-06-01 Glenn Morris <rgm@gnu.org>
23081
23082 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
23083
23084 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
23085
23086 * image.el (image-animate-max-time): Allow nil and t values.
23087 Default to nil.
23088 (create-animated-image): Doc fix.
23089 (image-animate-start): Remove second arg; just use
23090 image-animate-max-time.
23091 (image-animate-timeout): Doc fix. Args changed.
23092
23093 * image-mode.el (image-toggle-display-image): Ensure that the
23094 image spec passed to the animate timer is the same object as in
23095 the buffer's display property (Bug#6981).
23096 (image-transform-properties): Doc fix.
23097
23098 * image.el (image-animate-max-time): Default to nil.
23099
23100 2011-05-29 Martin Rudalics <rudalics@gmx.at>
23101
23102 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
23103 entire buffer list (Bug#8184).
23104
23105 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
23106
23107 * image.el (imagemagick-types-inhibit)
23108 (imagemagick-register-types): Doc fix.
23109
23110 2011-05-29 Deniz Dogan <deniz@dogan.se>
23111
23112 * net/rcirc.el (rcirc): Use the user's stored encryption method by
23113 default.
23114
23115 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
23116
23117 * select.el: Don't perform clipboard-manager saving in hooks;
23118 leave the hooks empty.
23119
23120 2011-05-28 Leo Liu <sdl.web@gmail.com>
23121
23122 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
23123 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
23124 (occur-edit-mode): New major mode (Bug#8463).
23125 (occur-after-change-function): New function.
23126 (occur-engine): Give Occur tags a read-only property.
23127
23128 2011-05-28 Kevin Ryde <user42@zip.com.au>
23129
23130 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
23131
23132 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
23133
23134 * bindings.el (help-echo): Make the initial non-indicator dash
23135 empty on graphical terminals (Bug#7295).
23136
23137 * files.el (auto-mode-alist): Move config rule after the
23138 in-stripping one (Bug#8547).
23139
23140 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
23141
23142 * startup.el (normal-splash-screen): Remove gratuitous mode-line
23143 setting (Bug#8740).
23144
23145 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
23146
23147 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
23148 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
23149 (Bug#8539).
23150
23151 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
23152
23153 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
23154
23155 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
23156
23157 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
23158 (hs-hide-block-at-point, hs-find-block-beginning)
23159 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
23160 (Bug#8279).
23161
23162 2011-05-28 Glenn Morris <rgm@gnu.org>
23163
23164 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
23165
23166 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
23167
23168 * help-fns.el (describe-function-1): If the function is a derived
23169 major mode, print the parent mode.
23170
23171 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
23172 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
23173
23174 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
23175
23176 * minibuffer.el (completion--capf-wrapper): Check applicability before
23177 returning non-nil for non-exclusive completion data.
23178 * progmodes/etags.el (tags-completion-at-point-function):
23179 * info-look.el (info-lookup-completions-at-point): Mark as
23180 non-exclusive.
23181 (info-complete): Adjust accordingly.
23182
23183 * info-look.el: Convert to lexical-binding and completion-at-point.
23184 (info-lookup-completions-at-point): New function.
23185 (info-complete): Use it and completion-in-region.
23186
23187 2011-05-28 Drew Adams <drew.adams@oracle.com>
23188
23189 * isearch.el: Let M-e start with point at the first mismatched char.
23190 (isearch-fail-pos): New function.
23191 (isearch-edit-string): Use it.
23192
23193 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
23194
23195 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
23196
23197 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
23198
23199 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
23200 traversal functions for avl-trees.
23201 (avl-tree--stack): New struct.
23202 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
23203 (avl-tree-enter): Add optional `updatefun' arg.
23204 (avl-tree--do-enter): Add optional `updatefun' arg.
23205 Change return value.
23206 (avl-tree-delete): Add optional `test' and `nilflag' args.
23207 (avl-tree--do-delete): Add `test' and `nilflag' args.
23208 Change return value.
23209 (avl-tree-member): Add optional `nilflag'
23210 (avl-tree-member-p): New function.
23211 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
23212 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
23213 (avl-tree-stack-empty-p): New functions.
23214
23215 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
23216 avl-tree--del-balance1 and make it work both ways.
23217 (avl-tree--del-balance2): Remove.
23218 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
23219 make it work both ways.
23220 (avl-tree--enter-balance2): Remove.
23221 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
23222 New macros.
23223 (avl-tree--mapc, avl-tree-map): Add direction argument.
23224
23225 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
23226
23227 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
23228
23229 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
23230
23231 * select.el: Support clipboard managers with built-in function
23232 x-clipboard-manager-save, via delete-frame-functions and
23233 kill-emacs-hook.
23234 (xselect-convert-to-targets): Add MULTIPLE target to list.
23235 (xselect-convert-to-save-targets): New function.
23236
23237 2011-05-27 Kenichi Handa <handa@m17n.org>
23238
23239 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
23240 let-binding rfc2047-encode-encoded-words to nil.
23241
23242 2011-05-27 Glenn Morris <rgm@gnu.org>
23243
23244 * mail/emacsbug.el: Don't require url-util.
23245
23246 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
23247
23248 * files.el (set-auto-mode):
23249 Also respect mode: entries at the end of the file. (Bug#8586)
23250
23251 2011-05-26 Glenn Morris <rgm@gnu.org>
23252
23253 * files.el (hack-local-variables-prop-line, hack-local-variables):
23254 Downcase mode names, as seems to be traditional.
23255 (hack-local-variables, hack-local-variables-apply): Doc fixes.
23256
23257 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
23258 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
23259
23260 2011-05-25 Julien Danjou <julien@danjou.info>
23261
23262 * textmodes/rst.el (rst-define-level-faces): Do not define face
23263 symbol if it is already defined.
23264
23265 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
23266
23267 * play/5x5.el (5x5-new-game, 5x5-randomize):
23268 Reset 5x5-solver-output to nil when a new grid is cast.
23269 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
23270 these debugging traces, as defmacro breaks the compiled code.
23271
23272 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
23273
23274 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
23275
23276 2011-05-24 Leo Liu <sdl.web@gmail.com>
23277
23278 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
23279 (vc-bzr-sha1): Adapt.
23280
23281 * sha1.el: Remove. Function `sha1' is now builtin.
23282
23283 * bindings.el: Provide sha1 feature.
23284
23285 2011-05-24 Kenichi Handa <handa@m17n.org>
23286
23287 * mail/sendmail.el: Require `rfc2047'.
23288 (mail-insert-from-field): Do not perform RFC2047 encoding.
23289 (mail-encode-header): New function.
23290 (sendmail-send-it): Set buffer-file-coding-system of the work
23291 buffer to the return value of select-message-coding-system.
23292 Call mail-encode-header.
23293
23294 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
23295
23296 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
23297
23298 * mail/supercite.el (sc-default-cite-frame):
23299 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
23300
23301 2011-05-24 Glenn Morris <rgm@gnu.org>
23302
23303 * progmodes/python.el (brm-menu): Declare.
23304
23305 * emulation/viper.el (viper-set-hooks): Declare.
23306
23307 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
23308 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
23309 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
23310 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
23311 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
23312 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
23313
23314 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
23315
23316 Add an :exit-function for completion-at-point.
23317
23318 * minibuffer.el (completion--done): New fun.
23319 (completion--do-completion): Use it. New arg `expect-exact'.
23320 (minibuffer-complete, minibuffer-complete-word): Don't output message,
23321 since completion--do-completion does it for us now.
23322 (minibuffer-force-complete): Use completion--done and
23323 completion--replace. Handle sole-completion case with more care.
23324 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
23325 (completion-extra-properties): New var.
23326 (completion-annotate-function): Make obsolete.
23327 (minibuffer-completion-help): Adjust accordingly.
23328 Use completion-list-insert-choice-function.
23329 (completion-at-point, completion-help-at-point):
23330 Bind completion-extra-properties.
23331 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
23332 * simple.el (completion-list-insert-choice-function): New var.
23333 (completion-setup-function): Preserve it.
23334 (choose-completion): Pay attention to it, shuffle the code a bit.
23335 (choose-completion-string): New arg `insert-function'.
23336
23337 * textmodes/bibtex.el: Convert to lexical binding.
23338 (bibtex-mode-map): Use completion-at-point.
23339 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
23340 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
23341 (bibtex-complete): Define as obsolete alias.
23342 (bibtex-complete-internal): Remove.
23343 (bibtex-format-entry): Remove unused sub-group in regexp.
23344 * shell.el (shell--command-completion-data)
23345 (shell-environment-variable-completion):
23346 * pcomplete.el (pcomplete-completions-at-point):
23347 * comint.el (comint--complete-file-name-data): Use :exit-function
23348 instead of completion-table-with-terminator so it also works for
23349 choose-completion.
23350
23351 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
23352
23353 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
23354
23355 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
23356 (bug#8710).
23357
23358 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
23359
23360 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
23361
23362 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
23363 customization variable and implement: If non-nil, auto-fill will
23364 be inhibited while on topic's header line.
23365
23366 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
23367
23368 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
23369 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
23370 always have a solution in grid size = 5 cases.
23371 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
23372 (5x5-solver-output, 5x5-log-buffer): New vars.
23373 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
23374 Make these variables buffer local to achieve 5x5 multi-session-ness.
23375 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
23376 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
23377 (5x5-solve-suggest): New funs.
23378 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
23379 randomize a grid so that we ensure that there is always a solution.
23380 (5x5-make-random-grid): Allow other movement than flipping.
23381
23382 2011-05-23 Kevin Ryde <user42@zip.com.au>
23383
23384 * emacs-lisp/advice.el (ad-read-advised-function):
23385 Use `function-called-at-point' as the default, if it has
23386 advice and passes PREDICATE.
23387
23388 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
23389
23390 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
23391 byte-compile-lambda if it's actually a lambda.
23392
23393 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
23394 Fix function quoting. Use backquote better.
23395
23396 2011-05-22 Yuanle Song <sylecn@gmail.com>
23397
23398 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
23399 matching (Bug#8516).
23400
23401 2011-05-22 Jari Aalto <jari.aalto@cante.net>
23402
23403 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
23404 different face (Bug#8178).
23405
23406 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
23407
23408 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
23409 defface (Bug#8144).
23410
23411 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
23412
23413 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
23414 funcall as well (bug#8712). Warn when performing those conversions.
23415 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
23416
23417 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
23418
23419 2011-05-22 Glenn Morris <rgm@gnu.org>
23420
23421 * files.el (hack-local-variables-prop-line): Small simplifications.
23422 (hack-local-variables, hack-local-variables-prop-line):
23423 If MODE-ONLY, return the mode, rather than just `t'.
23424
23425 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
23426
23427 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
23428
23429 2011-05-21 Glenn Morris <rgm@gnu.org>
23430
23431 * files.el (hack-local-variables-prop-line, hack-local-variables):
23432 If only interested in the mode, don't bother doing the other stuff.
23433
23434 * image-mode.el (image-after-revert-hook):
23435 Redraw all frames on which the image is visible. (Bug#8567)
23436
23437 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
23438
23439 * wid-edit.el (widget-checklist-match-inline):
23440 Fix 2011-04-19 change. (Bug#8649)
23441
23442 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
23443
23444 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
23445 Also allow singlespace after single-letter capitals followed by a dot.
23446
23447 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
23448 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
23449
23450 2011-05-20 Nix <nix@esperi.org.uk>
23451
23452 * files.el (basic-save-buffer-2):
23453 Fix handling of break-hardlink-on-save with non-existent files.
23454
23455 2011-05-19 Deniz Dogan <deniz@dogan.se>
23456
23457 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
23458 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
23459
23460 2011-05-19 Glenn Morris <rgm@gnu.org>
23461
23462 * progmodes/f90.el (f90-type-def-re):
23463 Handle "type, bind(c)". (Bug#8691)
23464
23465 * emacs-lisp/autoload.el (batch-update-autoloads):
23466 Set autoload-excludes by parsing loadup.el rather than Makefiles.
23467
23468 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
23469
23470 * net/tramp.el (tramp-process-actions): Set "first-password-request"
23471 property for the correct connection in case of multihops.
23472
23473 2011-05-18 Glenn Morris <rgm@gnu.org>
23474
23475 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
23476 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
23477
23478 Rationalize calendar handling of day and month abbrev-arrays.
23479 * calendar/calendar.el (calendar-customized-p): New function.
23480 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
23481 (calendar-day-name-array, calendar-month-name-array): Doc fix.
23482 Add :set function.
23483 (calendar-abbrev-length, calendar-day-abbrev-array)
23484 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
23485 (calendar-day-abbrev-array, calendar-month-abbrev-array):
23486 Elements may no longer be nil.
23487 (calendar-day-name, calendar-month-name):
23488 Update for changed nature of abbrev arrays.
23489 * calendar/diary-lib.el (diary-name-pattern):
23490 Update for changed nature of abbrev arrays.
23491 (diary-mark-entries-1): Update calendar-make-alist calls.
23492 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
23493 * calendar/cal-html.el (cal-html-day-abbrev-array):
23494 Simply inherit from calendar-day-abbrev-array.
23495
23496 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
23497
23498 * progmodes/grep.el (grep-mode): Disable default
23499 compilation-directory-matcher setting (bug#8684).
23500
23501 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
23502
23503 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
23504 instead of "head" and "tail". There were problems with SunOS 5.9,
23505 and it performs better.
23506
23507 2011-05-17 Glenn Morris <rgm@gnu.org>
23508
23509 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
23510
23511 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
23512 Replace obsolete function.
23513
23514 * shell.el (pcomplete-parse-arguments-function): Declare.
23515
23516 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
23517 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
23518 (appt-check): Doc fixes.
23519 (appt-disp-window-function, appt-delete-window-function):
23520 Remove needless special case in custom :type.
23521 (appt-display-count): Default to 0, not nil.
23522 (appt-check): Reset appt-display-count to 0, not nil.
23523
23524 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
23525
23526 * progmodes/python.el (python-font-lock-keywords):
23527 Add the Python 3.X keyword "nonlocal" (bug#8639).
23528
23529 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
23530
23531 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
23532
23533 2011-05-16 Kevin Ryde <user42@zip.com.au>
23534
23535 * info-look.el (makefile-automake-mode): New setups, looking in
23536 automake manual, then makefile-mode.
23537 (makefile-mode): Remove automake manual, have it just in
23538 makefile-automake-mode since there's various things different or
23539 not relevant to plain make.
23540 (makefile-mode): Remove "other-modes" non-existent automake-mode,
23541 believe a hypothetical automake-mode would go to makefile-mode,
23542 not the other way around.
23543
23544 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
23545
23546 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
23547 hunk-end tags (Bug#8672).
23548
23549 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
23550 vc-annotate-show-diff-revision-at-line (Bug#8671).
23551
23552 2011-05-14 Glenn Morris <rgm@gnu.org>
23553
23554 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
23555 in the middle of an existing one with multiple authors. (Bug#8645)
23556 (change-log-font-lock-keywords): Also handle multiple author lines
23557 with leading tabs. (Bug#8644)
23558
23559 * calendar/appt.el (appt-check): Rename some local variables.
23560 Some simplification/reordering.
23561
23562 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
23563 (feedmail-sendmail-f-doesnt-sell-me-out)
23564 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
23565 (feedmail-debug-sit-for, feedmail-queue-express-hook)
23566 (feedmail-queue-runner-message-sender): Set :version.
23567 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
23568 (bbdb-dwim-net-address, vm-mail): Declare.
23569 (feedmail-binmail-gnulinuxish-template):
23570 Rename from feedmail-binmail-linuxish-template.
23571 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
23572 Use insert-buffer-substring.
23573
23574 2011-05-14 Bill Carpenter <bill@carpenter.org>
23575
23576 * mail/feedmail.el (feedmail-patch-level): Increase.
23577 (feedmail-debug): New custom group.
23578 (feedmail-confirm-outgoing-timeout)
23579 (feedmail-sendmail-f-doesnt-sell-me-out)
23580 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
23581 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
23582 (feedmail-sender-line, feedmail-from-line)
23583 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
23584 (feedmail-spray-this-address)
23585 (feedmail-spray-address-fiddle-plex-list)
23586 (feedmail-queue-use-send-time-for-date)
23587 (feedmail-queue-use-send-time-for-message-id)
23588 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
23589 (feedmail-buffer-eating-function):
23590 Doc fixes.
23591 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
23592 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
23593 (feedmail-message-action-scroll-down): New functions.
23594 (feedmail-queue-directory, feedmail-queue-draft-directory):
23595 Use expand-file-name.
23596 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
23597 Remove C-v help entry.
23598 (feedmail-queue-buffer-file-name): New variable.
23599 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
23600 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
23601 (feedmail-message-action-send-strong, feedmail-message-action-edit)
23602 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
23603 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
23604 (feedmail-message-action-toggle-spray)
23605 (feedmail-run-the-queue-no-prompts)
23606 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
23607 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
23608 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
23609 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
23610 (feedmail-envelope-deducer, feedmail-fiddle-from)
23611 (feedmail-fiddle-sender, feedmail-default-date-generator)
23612 (feedmail-fiddle-date, feedmail-fiddle-message-id)
23613 (feedmail-fiddle-spray-address)
23614 (feedmail-fiddle-list-of-spray-fiddle-plexes)
23615 (feedmail-fiddle-list-of-fiddle-plexes)
23616 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
23617 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
23618 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
23619 Change default. Doc fix.
23620 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
23621 (feedmail-binmail-linuxish-template): New constant.
23622 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
23623 Respect feedmail-sendmail-f-doesnt-sell-me-out.
23624 (feedmail-send-it): Add debug call.
23625 Use feedmail-queue-buffer-file-name, and
23626 feedmail-send-it-immediately-wrapper.
23627 (feedmail-message-action-send): Add debug call.
23628 Use feedmail-send-it-immediately-wrapper.
23629 (feedmail-queue-express-to-queue): Add debug call.
23630 Run feedmail-queue-express-hook.
23631 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
23632 (feedmail-message-action-help-blat):
23633 Rename from feedmail-queue-send-edit-prompt-help-first.
23634 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
23635 Check line-endings. Handle errors better.
23636 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
23637 Doc fix. Add debug call.
23638 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
23639 Use feedmail-queue-send-edit-prompt-inner.
23640 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
23641 (feedmail-queue-send-edit-prompt-inner): New function, extracted
23642 from feedmail-queue-send-edit-prompt.
23643 (feedmail-queue-send-edit-prompt-help)
23644 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
23645 (feedmail-tidy-up-slug): Add debug call.
23646 Respect feedmail-queue-slug-suspect-regexp.
23647 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
23648 (feedmail-dump-message-to-queue): Add debug call.
23649 Expand queue-directory.
23650 (feedmail-dump-message-to-queue): Change message slightly.
23651 Use feedmail-say-chatter.
23652 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
23653 (feedmail-send-it-immediately-wrapper): New function.
23654 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
23655 Insert empty string rather than newline. Handle full-frame case.
23656 Use catch/throw. Use feedmail-say-chatter.
23657 (feedmail-fiddle-from): Try mail-host-address.
23658 (feedmail-default-message-id-generator): Doc fix.
23659 Bind system-time-locale. Handle missing end.
23660 (feedmail-fiddle-x-mailer): Add debug call.
23661 Handle feedmail-x-mailer-line being nil.
23662 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
23663 Add debug call. Use buffer-substring-no-properties.
23664 (feedmail-say-debug, feedmail-say-chatter): New functions.
23665 (feedmail-find-eoh): Give an explicit error.
23666
23667 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
23668
23669 * net/newst-treeview.el (newsticker-treeview-face): Change default
23670 family from helvetica to sans.
23671 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
23672 etc/images/newsticker.
23673
23674 * net/newst-reader.el (newsticker-feed-face): Change default
23675 family from helvetica to sans.
23676
23677 * net/newst-plainview.el (newsticker-new-item-face)
23678 (newsticker-old-item-face, newsticker-immortal-item-face)
23679 (newsticker-obsolete-item-face, newsticker-date-face)
23680 (newsticker-statistics-face): Change default family from
23681 helvetica to sans.
23682 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
23683 etc/images/newsticker.
23684
23685 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
23686 (newsticker--process-auto-mark-filter-match): Tell user about
23687 auto-marking.
23688
23689 2011-05-13 Didier Verna <didier@xemacs.org>
23690
23691 Common Lisp indentation improvements on defmethod and lambda-lists.
23692 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
23693 TODO entries.
23694 (lisp-lambda-list-keyword-parameter-indentation)
23695 (lisp-lambda-list-keyword-parameter-alignment)
23696 (lisp-lambda-list-keyword-alignment): New customizable user options.
23697 (lisp-indent-defun-method): Improve docstring.
23698 (extended-loop-p): Fix comment.
23699 (lisp-indent-lambda-list-keywords-regexp): New variable.
23700 (lisp-indent-lambda-list): New function.
23701 (lisp-indent-259): Use it.
23702 (lisp-indent-defmethod): Support for more than one
23703 method qualifier and properly indent methods lambda-lists.
23704 (defgeneric): Provide a missing common-lisp-indent-function property.
23705
23706 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
23707
23708 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
23709 bounds for the empty string (bug#8667).
23710
23711 2011-05-13 Glenn Morris <rgm@gnu.org>
23712
23713 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
23714
23715 * mail/sendmail.el (sendmail-program): Try executable-find first.
23716 (sendmail-send-it): `sendmail-program' cannot be unbound.
23717
23718 * calendar/appt.el (appt-make-list): Simplify.
23719 (appt-time-msg-list): Doc fix.
23720 (appt-check): Change mode-line message at the time of the appointment.
23721
23722 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
23723
23724 * progmodes/ld-script.el (ld-script-keywords)
23725 (ld-script-builtins): Update keywords list.
23726
23727 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
23728
23729 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
23730
23731 * shell.el (shell-completion-vars): New function.
23732 (shell-mode):
23733 * simple.el (read-shell-command): Use it.
23734 (blink-matching-open): No need for " [...]" in minibuffer-message.
23735
23736 2011-05-12 Glenn Morris <rgm@gnu.org>
23737
23738 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
23739 (appt-check): Simplify.
23740
23741 2011-05-12 Eli Zaretskii <eliz@gnu.org>
23742
23743 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
23744 literal "/dev/null".
23745
23746 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
23747
23748 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
23749 Fix typo.
23750
23751 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
23752
23753 * progmodes/which-func.el (which-function):
23754 Use add-log-current-defun instead of add-log-current-defun-function,
23755 which might not be defined (Bug#8260).
23756
23757 2011-05-12 Glenn Morris <rgm@gnu.org>
23758
23759 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
23760 Let byte-compile-initial-macro-environment always take precedence.
23761
23762 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
23763
23764 * net/rcirc.el: Add support for SSL/TLS connections.
23765 (rcirc-server-alist): New field `encryption'.
23766 (rcirc): Check `encryption' settings.
23767 (rcirc-connect): New arg `encryption'. Use open-network-stream.
23768 Merge make-local-variable into `set'.
23769 (rcirc--connection-open-p): New function.
23770 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
23771 the process is not a network process (e.g. running gnutls-cli).
23772 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
23773 Make rcirc-(en|de)code-coding-system local here.
23774 (rcirc-mode): Merge make-local-variable into `set'.
23775 (rcirc-parent-buffer): Make permanent buffer-local.
23776 (rcirc-multiline-minor-mode): Don't do it here.
23777 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
23778 there's no server buffer.
23779
23780 2011-05-11 Glenn Morris <rgm@gnu.org>
23781
23782 * newcomment.el (comment-kill): Prefix "unused" local.
23783
23784 * term/w32console.el (get-screen-color): Declare.
23785
23786 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
23787 Handle symbol elements of byte-compile-initial-macro-environment.
23788
23789 2011-05-10 Leo Liu <sdl.web@gmail.com>
23790
23791 * bookmark.el (bookmark-bmenu-mode-map):
23792 Bind bookmark-bmenu-search to `/'.
23793
23794 * mail/footnote.el: Convert to utf-8 encoding.
23795 (footnote-unicode-string, footnote-unicode-regexp): New variable.
23796 (Footnote-unicode): New function.
23797 (footnote-style-alist): Add unicode style to the list.
23798 (footnote-style): Doc fix.
23799
23800 2011-05-10 Jim Meyering <meyering@redhat.com>
23801
23802 Fix doubled-word typos.
23803 * international/quail.el (quail-insert-kbd-layout): and and -> and
23804 * kermit.el: and and -> and
23805 * net/ldap.el (ldap-search-internal): to to -> to
23806 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
23807 * progmodes/js.el (js-mode): and and -> and
23808 * textmodes/artist.el (artist-move-to-xy): at at -> at
23809 (artist-draw-region-trim-line-endings): if if -> if
23810 And Safetyc -> Safety.
23811 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
23812
23813 2011-05-10 Glenn Morris <rgm@gnu.org>
23814 Stefan Monnier <monnier@iro.umontreal.ca>
23815
23816 * files.el (hack-one-local-variable-eval-safep):
23817 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
23818
23819 2011-05-10 Glenn Morris <rgm@gnu.org>
23820
23821 * calendar/diary-lib.el (diary-list-entries-hook)
23822 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
23823 (diary-nongregorian-marking-hook, diary-list-entries)
23824 (diary-include-other-diary-files, diary-mark-entries)
23825 (diary-mark-included-diary-files): Doc fixes.
23826
23827 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
23828
23829 * misc.el: Require tabulated-list.el during compilation.
23830
23831 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
23832
23833 * progmodes/compile.el (compilation-start):
23834 Run compilation-filter-hook for the async case too.
23835 (compilation-filter-hook): Doc fix.
23836
23837 2011-05-09 Deniz Dogan <deniz@dogan.se>
23838
23839 * wdired.el: Remove outdated installation comment. Fix usage
23840 comment.
23841
23842 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
23843
23844 * misc.el: Implement new command `list-dynamic-libraries'.
23845 (list-dynamic-libraries--loaded-only-p): New variable.
23846 (list-dynamic-libraries--refresh): New function.
23847 (list-dynamic-libraries): New command.
23848
23849 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
23850
23851 * progmodes/compile.el (compilation-error-regexp-alist-alist):
23852 Fix the ant regexp to handle end-line and end-column info from jikes.
23853 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
23854 higher priority to avoid clobbering by gnu.
23855
23856 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
23857
23858 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
23859 if the face has existing theme settings (Bug#8454).
23860
23861 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
23862
23863 * progmodes/perl-mode.el (perl-imenu-generic-expression):
23864 Only match variables declared via `my' or `our' (Bug#8261).
23865
23866 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
23867 special file names `.' and `..' (Bug#8259).
23868
23869 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
23870
23871 * progmodes/grep.el (grep-mode-font-lock-keywords):
23872 Remove buffer-changing entries.
23873 (grep-filter): New function.
23874 (grep-mode): Add it to compilation-filter-hook.
23875
23876 * progmodes/compile.el (compilation-filter-hook)
23877 (compilation-filter-start): New defvars.
23878 (compilation-filter): Call compilation-filter-hook prior to
23879 updating the process mark.
23880
23881 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
23882
23883 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
23884
23885 2011-05-07 Eli Zaretskii <eliz@gnu.org>
23886
23887 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
23888 mailclient-send-it even if window-system is nil. (Bug#8595)
23889
23890 * term/w32console.el (terminal-init-w32console):
23891 Call get-screen-color and use its output to set the frame
23892 background-mode. (Bug#8597)
23893
23894 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
23895
23896 Make bytecomp.el understand that defmethod defines funs (bug#8631).
23897 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
23898 New functions.
23899 (defgeneric, eieio--defmethod): Use them.
23900 (eieio-defgeneric): Remove.
23901 (defmethod): Call defgeneric in a way visible to the byte-compiler.
23902
23903 2011-05-07 Glenn Morris <rgm@gnu.org>
23904
23905 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
23906 Use let rather than let*.
23907 (timeclock-find-discrep): Remove unused local.
23908
23909 * calendar/diary-lib.el (diary-comment-start): Doc fix.
23910
23911 * calendar/appt.el (appt-time-msg-list): Doc fix.
23912
23913 2011-05-06 Noah Friedman <friedman@splode.com>
23914
23915 * apropos.el (apropos-print-doc): Only use
23916 emacs-lisp-docstring-fill-column when it is bound to an integer,
23917 per that variable's documentation.
23918
23919 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
23920
23921 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
23922 and warnings are not silently discarded (e.g. use -d instead of -P).
23923
23924 2011-05-06 Glenn Morris <rgm@gnu.org>
23925
23926 * calendar/appt.el (appt-message-warning-time): Doc fix.
23927 (appt-warning-time-regexp): New option.
23928 (appt-make-list): Respect appt-message-warning-time.
23929
23930 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
23931 New options.
23932 (diary-add-to-list): Strip comments from the displayed string.
23933 (diary-mode): Set comment-start and comment-end.
23934
23935 * vc/diff-mode.el (smerge-refine-subst): Declare.
23936 (diff-refine-hunk): Don't require smerge-mode when compiling.
23937
23938 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
23939
23940 * simple.el (list-processes): Return nil as the docstring says.
23941
23942 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
23943
23944 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
23945 to "".
23946 (ange-ftp-write-region, ange-ftp-insert-file-contents)
23947 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
23948 determining of binary transfer. (Bug#7383)
23949
23950 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
23951
23952 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
23953 Fix port computation bug. (Bug#8618)
23954
23955 2011-05-05 Glenn Morris <rgm@gnu.org>
23956
23957 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
23958
23959 * simple.el (shell-dynamic-complete-functions)
23960 (comint-dynamic-complete-functions): Declare.
23961
23962 * net/network-stream.el (gnutls-negotiate):
23963 * simple.el (tabulated-list-print): Fix declarations.
23964
23965 * progmodes/gud.el (syntax-symbol, syntax-point):
23966 Remove unnecessary and incorrect declarations.
23967
23968 * emacs-lisp/check-declare.el (check-declare-scan):
23969 Handle byte-compile-initial-macro-environment in bytecomp.el.
23970
23971 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
23972
23973 Fix earlier half-done eieio-defmethod change (bug#8338).
23974 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
23975 Streamline and change calling convention.
23976 (defmethod): Adjust accordingly and simplify.
23977 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
23978 new eieio--defmethod.
23979 (slot-boundp): Minor CSE simplification.
23980
23981 2011-05-05 Milan Zamazal <pdm@zamazal.org>
23982
23983 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
23984 (glasses-make-readable): Use glasses-separate-capital-groups.
23985
23986 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
23987
23988 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
23989 (warning-series): Doc fix.
23990 (display-warning): Don't try to create the buffer if we just found it.
23991
23992 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
23993
23994 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
23995 (autoload-find-generated-file): New function.
23996 (generate-file-autoloads): Bind generated-autoload-file to
23997 buffer-file-name.
23998 (update-file-autoloads, update-directory-autoloads):
23999 Use autoload-find-generated-file. If called interactively, prompt for
24000 output file (Bug#7989).
24001 (batch-update-autoloads): Doc fix.
24002
24003 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
24004
24005 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
24006
24007 2011-05-04 Glenn Morris <rgm@gnu.org>
24008
24009 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
24010 function, so it follows changes in calendar-date-style.
24011 (diary-fancy-date-matcher): New function.
24012 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
24013 (diary-fancy-font-lock-fontify-region-function):
24014 Use diary-fancy-date-pattern as a function.
24015
24016 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
24017 non-numbers for `year' etc pseudo-variables. (Bug#8583)
24018
24019 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
24020
24021 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
24022 instead of positional arguments. Allow :keylist and :crlfiles
24023 arguments.
24024 (open-gnutls-stream): Call it.
24025
24026 * net/network-stream.el (network-stream-open-starttls): Adjust to
24027 call `gnutls-negotiate' with :process and :hostname arguments.
24028
24029 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
24030
24031 * minibuffer.el (completion--message): New function.
24032 (completion--do-completion, minibuffer-complete)
24033 (minibuffer-force-complete, minibuffer-complete-word): Use it.
24034 (completion--do-completion): Don't ignore completion-auto-help when in
24035 icomplete-mode.
24036
24037 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
24038 internal encoding (e.g. tibetan zero is not whitespace).
24039 (global-whitespace-mode): Prefer save-current-buffer.
24040 (whitespace-trailing-regexp): Remove useless save-match-data.
24041 (whitespace-empty-at-bob-regexp): Minor simplification.
24042
24043 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
24044
24045 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
24046
24047 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
24048
24049 * textmodes/ispell.el (ispell-add-per-file-word-list):
24050 Use `concat' to create string for insertion.
24051
24052 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
24053
24054 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
24055 Avoid open-line which runs post-self-insert-hook.
24056 (bibtex-fill-entry): Remove unused `end' var.
24057
24058 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
24059
24060 * textmodes/ispell.el (ispell-add-per-file-word-list):
24061 Protect against `nil' value of `comment-start' (Bug#8579).
24062
24063 2011-05-03 Leo Liu <sdl.web@gmail.com>
24064
24065 * isearch.el (isearch-yank-pop): New command.
24066 (isearch-mode-map): Bind it to `M-y'.
24067 (isearch-forward): Mention it.
24068
24069 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
24070
24071 * simple.el (minibuffer-complete-shell-command): Remove.
24072 (minibuffer-local-shell-command-map): Use completion-at-point.
24073 (read-shell-command): Setup completion vars here instead.
24074 (read-expression-map): Bind TAB to symbol completion.
24075
24076 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
24077 error directly rather via storing it into `results'.
24078
24079 2011-05-02 Leo Liu <sdl.web@gmail.com>
24080
24081 * vc/diff.el: Fix description.
24082
24083 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
24084
24085 * server.el (server-eval-at): New function.
24086
24087 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
24088
24089 * net/network-stream.el (open-network-stream): Take a :nowait
24090 parameter and pass it on to `make-network-process'.
24091 (network-stream-open-plain): Ditto.
24092
24093 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
24094
24095 * faces.el (face-spec-set-match-display): Don't match toolkit
24096 options on terminal frames.
24097
24098 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
24099
24100 * progmodes/pascal.el: Use lexical binding.
24101 (pascal-mode-map): Remove author preferences.
24102
24103 * pcomplete.el (pcomplete-std-complete): Don't abuse
24104 completion-at-point.
24105
24106 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
24107
24108 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
24109 removing code that has been dead since 1991 or so.
24110
24111 * startup.el (command-line): When warning about "_emacs", use a
24112 delayed warning to allow the user to filter it out.
24113
24114 2011-04-28 Deniz Dogan <deniz@dogan.se>
24115
24116 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
24117 user has not joined.
24118
24119 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
24120
24121 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
24122 aren't any completions at point.
24123
24124 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
24125
24126 * subr.el (display-delayed-warnings): New function.
24127 (delayed-warnings-hook): New variable.
24128
24129 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
24130
24131 * minibuffer.el (completion-at-point, completion-help-at-point):
24132 Don't presume that a given completion-at-point-function will always
24133 use the same calling convention.
24134
24135 * pcomplete.el (pcomplete-completions-at-point):
24136 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
24137 pcomplete-seen is non-nil.
24138 (pcomplete-comint-setup): Also recognize the new comint/shell
24139 completion functions.
24140 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
24141 pcomplete-seen is non-nil.
24142
24143 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
24144
24145 * calendar/icalendar.el (diary-lib): Add require statement.
24146 (icalendar--create-uid): Read out a uid from a text-property on
24147 the first character in the entry. This allows for code to add its
24148 own uid to the entry.
24149 (icalendar--convert-float-to-ical): Add export of
24150 `diary-float'-entries save for those with the optional DAY
24151 argument.
24152
24153 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
24154
24155 * subr.el (shell-quote-argument): Use alternate escaping strategy
24156 when we spot a variable reference in a string.
24157
24158 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
24159
24160 * cus-start.el (all): Define customization for debug-on-event.
24161
24162 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
24163
24164 * subr.el (shell-quote-argument): Escape correctly under Windows.
24165
24166 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
24167
24168 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
24169
24170 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
24171
24172 * net/tramp.el (tramp-process-actions): Add POS argument.
24173 Delete region between POS and (pos).
24174
24175 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
24176 Use `nil' position in `tramp-process-actions' call.
24177 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
24178
24179 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
24180 position in `tramp-process-actions' call.
24181
24182 * net/trampver.el: Update release number.
24183
24184 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
24185
24186 * custom.el (defcustom): Obey lexical-binding.
24187
24188 Fix octave-inf completion problems reported by Alexander Klimov.
24189 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
24190 Inherit from octave-mode-syntax-table.
24191 (inferior-octave-mode): Set info-lookup-mode.
24192 (inferior-octave-completion-at-point): New function.
24193 (inferior-octave-complete): Use it and completion-in-region.
24194 (inferior-octave-dynamic-complete-functions): Use it as well, and use
24195 comint-filename-completion.
24196 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
24197 symbol elements which shouldn't be word elements.
24198 (octave-font-lock-keywords, octave-beginning-of-defun)
24199 (octave-function-header-regexp): Adjust regexps accordingly.
24200 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
24201
24202 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
24203
24204 * net/gnutls.el (gnutls-errorp): Declare before first use.
24205
24206 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
24207
24208 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
24209 verify-error, and verify-hostname-error parameters. Check whether
24210 default trustfile exists before going to use it. Add missing
24211 argument to gnutls-message-maybe call. Return value.
24212 Reported by Claudio Bley <claudio.bley@gmail.com>.
24213 (open-gnutls-stream): Add usage example.
24214
24215 * net/network-stream.el (network-stream-open-starttls): Give host
24216 parameter to `gnutls-negotiate'.
24217 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
24218 * subr.el (shell-quote-argument): Escape correctly under Windows.
24219
24220 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
24221
24222 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
24223 Use correct match group (bug#8438).
24224
24225 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
24226
24227 * emacs-lisp/package.el (package-built-in-p): Fix typo.
24228 (package-menu--generate): New arg specifying packages to show.
24229 (package-menu-refresh, package-menu-execute, list-packages):
24230 Callers changed.
24231 (package-show-package-list): New function, replacing deleted
24232 package--list-packages (renamed because it is non-internal).
24233
24234 * finder.el (finder-list-matches): Use package-show-package-list
24235 instead of deleted package--list-packages.
24236
24237 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
24238 Based on a previous implementation by Juanma Barranquero (Bug#8366).
24239 (vc-annotate-mode-map): Bind it to RET.
24240
24241 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
24242
24243 * progmodes/etags.el (next-file): Don't use set-buffer to change
24244 buffers (Bug#8478).
24245
24246 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
24247
24248 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
24249
24250 * apropos.el (apropos-label-face): Avoid variable-pitch face.
24251 (apropos-accumulator): Doc fix.
24252 (apropos-function, apropos-macro, apropos-command)
24253 (apropos-variable, apropos-face, apropos-group, apropos-widget)
24254 (apropos-plist): Add face property.
24255 (apropos-symbols-internal): Fix indentation.
24256 (apropos-print): Simplify help, and recognize apropos-multi-type.
24257 (apropos-print-doc): Use button-type-get to extract the button's
24258 face property. Fill docstring (Bug#8352).
24259
24260 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
24261
24262 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
24263
24264 * play/mpuz.el (mpuz-silent): Doc fix.
24265 (mpuz-mode-map): Use mapc.
24266 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
24267 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
24268 Fix typos in docstrings.
24269
24270 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
24271 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
24272
24273 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
24274
24275 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
24276
24277 * minibuffer.el (completion--do-completion): Avoid the "Next char
24278 not unique" prompt if icomplete-mode is enabled (Bug#5849).
24279
24280 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
24281 mouse-2 into unread-command-events, it is interpreted correctly.
24282
24283 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
24284 (image-toggle-display): Doc fix.
24285
24286 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
24287
24288 * textmodes/page.el (what-page): Use line-number-at-pos to
24289 calculate line number (Bug#6825).
24290
24291 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
24292
24293 * eshell/esh-mode.el (find-tag-interactive): Declare function.
24294 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
24295 Pass argument NO-DEFAULT to `find-tag-interactive'.
24296
24297 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
24298
24299 Lexical-binding cleanup.
24300
24301 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
24302 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
24303 * progmodes/ada-prj.el (ada-prj-initialize-values)
24304 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
24305 (ada-prj-show-value):
24306 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
24307 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
24308 (antlr-invalidate-context-cache, antlr-options-menu-filter)
24309 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
24310 * progmodes/bug-reference.el (bug-reference-push-button):
24311 * progmodes/fortran.el (fortran-line-length):
24312 * progmodes/glasses.el (glasses-change):
24313 * progmodes/octave-mod.el (octave-fill-paragraph):
24314 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
24315 (python-pdbtrack-grub-for-buffer, python-sentinel):
24316 * progmodes/sql.el (sql-save-connection):
24317 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
24318 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
24319 Mark unused parameters.
24320
24321 * progmodes/compile.el (compilation--flush-directory-cache)
24322 (compilation--flush-parse, compile-internal): Mark unused parameters.
24323 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
24324 (compilation-next-error-function): Remove unused variable `timestamp'.
24325
24326 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
24327 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
24328
24329 * progmodes/dcl-mode.el (dcl-end-of-command):
24330 Remove unused variable `start'.
24331 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
24332 (dcl-option-value-basic, dcl-option-value-offset)
24333 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
24334 Mark unused parameters.
24335 (dcl-save-local-variable): Remove unused variable `val'.
24336 (mode): Declare.
24337
24338 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
24339 Mark unused parameters.
24340 (delphi-ignore-changes): Move before first use.
24341 (delphi-charset-token-at): Remove unused variable `start'.
24342 (delphi-else-start): Remove unused variable `if-count'.
24343 (delphi-comment-block-start, delphi-comment-block-end):
24344 Remove unused variable `kind'.
24345 (delphi-indent-line): Remove unused variable `new-point'.
24346
24347 * progmodes/ebrowse.el (ebrowse-files-list)
24348 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
24349 Mark unused parameters. Don't quote `lambda'.
24350 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
24351 Don't quote `lambda'.
24352 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
24353 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
24354 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
24355 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
24356 Use `ignore-errors'.
24357 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
24358 (ebrowse-view/find-file-and-search-pattern)
24359 (ebrowse-view/find-member-declaration/definition):
24360 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
24361 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
24362 Rename parameter PREFIX-ARG to PREFIX.
24363 (ebrowse-tags-read-name): Remove unused variables `start' and
24364 `member-info'.
24365 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
24366 to `tags-file'.
24367
24368 * progmodes/etags.el (local-find-tag-hook): Declare.
24369 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
24370 Mark unused parameters.
24371
24372 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
24373 (executable-interpret): Mark unused parameter.
24374
24375 * progmodes/flymake.el (flymake-process-sentinel)
24376 (flymake-after-change-function)
24377 (flymake-create-temp-with-folder-structure)
24378 (flymake-get-include-dirs-dot): Mark unused parameters.
24379 (flymake-safe-delete-directory): Remove unused variable `err'.
24380
24381 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
24382 (speedbar-timer-fn, speedbar-line-text)
24383 (speedbar-change-expand-button-char, speedbar-delete-subblock)
24384 (speedbar-center-buffer-smartly): Declare functions.
24385 (gdb-find-watch-expression): Remove unused variable `array'.
24386 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
24387 (gdb-starting): Mark unused parameters.
24388 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
24389 (gdb-table-string): Remove unused variable `res'.
24390 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
24391 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
24392 (gdb-display-buffer): Remove unused variable `cur-size'.
24393
24394 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
24395 allow lexical-binding compilation.
24396 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
24397 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
24398 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
24399 Mark unused parameters.
24400 (gud-gdb-marker-filter): Remove unused variable `match'.
24401 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
24402 lambda expressions and funcall them, instead of using `fset'.
24403
24404 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
24405 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
24406
24407 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
24408 variable `header-beg'; use `let'.
24409
24410 * progmodes/icon.el (indent-icon-exp): Remove unused variables
24411 `restart', `last-sexp' and `at-do'.
24412
24413 * progmodes/js.el (js--debug): Mark unused parameter.
24414 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
24415 (js--splice-into-items): Remove unused variable `item'.
24416 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
24417
24418 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
24419 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
24420 (makefile-complete): Remove unused variable `try'.
24421 (makefile-fill-paragraph, makefile-match-function-end):
24422 Mark unused parameters.
24423
24424 * progmodes/octave-inf.el (inferior-octave-complete):
24425 Remove unused variable `proc'.
24426 (inferior-octave-output-digest): Mark unused parameter.
24427
24428 * progmodes/perl-mode.el (perl-calculate-indent):
24429 Remove unused variable `err'.
24430
24431 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
24432 (prolog-indent-line): Mark unused parameters.
24433 (prolog-indent-line): Remove unused variable `beg'.
24434
24435 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
24436 (reporter-dont-compact-list): Declare.
24437
24438 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
24439 Remove unused variable `char'.
24440 (sh-debug): Mark unused parameter.
24441 (sh-get-indent-info): Remove unused variable `start'.
24442 (sh-calculate-indent): Remove unused variable `var'.
24443
24444 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
24445 (simula-electric-keyword): Remove unused variable `null'.
24446 (simula-search-backward, simula-search-forward): Remove unused
24447 variables `begin' and `end'.
24448
24449 * progmodes/vera-mode.el (vera-guess-basic-syntax):
24450 Remove unused variable `pos'.
24451 (vera-electric-tab, vera-comment-uncomment-region):
24452 Mark unused parameters.
24453 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
24454
24455 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
24456
24457 * emacs-lisp/package.el (package--builtins, package-alist)
24458 (package-load-descriptor, package-built-in-p, package-activate)
24459 (define-package, package-installed-p)
24460 (package-compute-transaction, package-buffer-info)
24461 (package--push): Doc fix. Distinguish more clearly between
24462 version strings and version lists.
24463
24464 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
24465
24466 Lexical-binding cleanup.
24467
24468 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
24469 (5x5-make-mutate-best):
24470 * play/fortune.el (fortune-in-buffer):
24471 * play/gomoku.el (gomoku-init-display):
24472 * play/solitaire.el (solitaire, solitaire-do-check):
24473 * play/tetris.el (tetris-default-update-speed-function):
24474 Mark unused parameters.
24475
24476 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
24477 (bubbles--shift): Remove unused variable `char-org'.
24478 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
24479 (bubbles--show-images): Remove unused variable `char'.
24480
24481 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
24482 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
24483 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
24484 (decipher-analyze-buffer): Use ?\s.
24485 (decipher-make-checkpoint): Remove unused variable `mapping'.
24486
24487 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
24488
24489 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
24490 Remove unused variable `result'; use `let'.
24491
24492 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
24493 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
24494 (gametree-children-shown-p, gametree-compute-reduced-score):
24495 Use `ignore-errors'.
24496
24497 * play/handwrite.el (ps-lpr-switches): Declare.
24498 (handwrite): Remove unused variables `pmin' and `lastp'.
24499
24500 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
24501
24502 * play/landmark.el (landmark-init-display)
24503 (landmark-update-naught-weights): Mark unused parameters.
24504 (landmark-y): Remove unused variable `noise'. Simplify.
24505 (landmark-human-plays): Remove unused variable `score'.
24506
24507 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
24508 (mpuz-try-proposal): Remove unused variable `game'.
24509
24510 * play/zone.el (life-patterns): Declare.
24511
24512 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
24513
24514 * vc/vc.el (ediff-vc-internal): Declare function.
24515
24516 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
24517
24518 * shell.el: Use lexical-binding and std completion UI.
24519 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
24520 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
24521 comint-preoutput-filter-functions rather than on
24522 comint-output-filter-functions.
24523 (shell-command-completion, shell--command-completion-data)
24524 (shell-filename-completion, shell-environment-variable-completion)
24525 (shell-c-a-p-replace-by-expanded-directory): New functions.
24526 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
24527 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
24528 (shell-dynamic-complete-environment-variable): Use them.
24529 (shell-dynamic-complete-as-environment-variable)
24530 (shell-dynamic-complete-as-command): Remove.
24531 (shell-match-partial-variable): Match past point.
24532 * comint.el: Clean up use of completion-at-point-functions.
24533 (comint-completion-at-point): New function.
24534 (comint-mode): Use it completion-at-point-functions.
24535 (comint-dynamic-complete): Make it obsolete.
24536 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
24537 (comint-c-a-p-replace-by-expanded-history): New function.
24538 (comint-dynamic-complete-functions)
24539 (comint-replace-by-expanded-history): Use it.
24540 * minibuffer.el (completion-table-with-terminator): Allow dynamic
24541 termination strings. Try harder to avoid second try-completion.
24542 (completion-in-region-mode-map): Disable bindings that don't work yet.
24543
24544 * comint.el: Use lexical-binding. Require CL.
24545 (comint-dynamic-complete-functions): Use comint-filename-completion.
24546 (comint-completion-addsuffix): Tweak custom type.
24547 (comint-filename-completion, comint--common-suffix)
24548 (comint--common-quoted-suffix, comint--table-subvert)
24549 (comint--complete-file-name-data): New functions.
24550 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
24551 (comint-dynamic-list-filename-completions): Use them.
24552 (comint-dynamic-simple-complete): Make obsolete.
24553
24554 * minibuffer.el (completion-in-region-mode):
24555 Keep completion-in-region-mode--predicate global.
24556 (completion-in-region--postch):
24557 Assume completion-in-region-mode--predicate is not null.
24558
24559 * progmodes/flymake.el (flymake-start-syntax-check-process):
24560 Obey `dir'. Simplify.
24561
24562 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
24563 we're in VC after all.
24564
24565 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
24566
24567 * vc/vc.el (vc-diff-build-argument-list-internal)
24568 (vc-version-ediff, vc-ediff): New commands.
24569 (vc-version-diff): Use vc-diff-build-argument-list-internal.
24570
24571 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
24572
24573 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
24574 add sanity check.
24575
24576 * obsolete/erc-hecomplete.el: Make obsolete.
24577 * obsolete/: Standardize obsolescence info in the header.
24578
24579 2011-04-20 Glenn Morris <rgm@gnu.org>
24580
24581 * calendar/solar.el (solar-horizontal-coordinates):
24582 Use the longitude argument rather than `calendar-longitude'.
24583 (solar-date-next-longitude): Remove unused locals.
24584
24585 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
24586
24587 * whitespace.el: New version 13.2.1.
24588
24589 2011-04-20 felix <EmacsWiki> (tiny change)
24590
24591 * whitespace.el (global-whitespace-mode): Keep highlight when
24592 switching between major modes on a file.
24593
24594 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
24595
24596 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
24597 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
24598 multi-line comments as well.
24599
24600 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
24601
24602 Lexical-binding cleanup.
24603
24604 * arc-mode.el (archive-mode-revert):
24605 * cmuscheme.el (scheme-interactively-start-process):
24606 * custom.el (custom-initialize-delay):
24607 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
24608 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
24609 * emacs-lock.el (emacs-lock-clear-sentinel):
24610 * ezimage.el (defezimage):
24611 * follow.el (follow-avoid-tail-recenter):
24612 * fringe.el (set-fringe-mode-1):
24613 * generic-x.el (bat-generic-mode-compile):
24614 * help-mode.el (help-info-variable, help-do-xref)
24615 (help-mode-revert-buffer):
24616 * help.el (view-emacs-todo):
24617 * iswitchb.el (iswitchb-completion-help):
24618 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
24619 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
24620 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
24621 * locate.el (locate-update):
24622 * longlines.el (longlines-encode-region)
24623 (longlines-after-change-function):
24624 * outline.el (outline-isearch-open-invisible):
24625 * ps-def.el (declare-function, charset-dimension, char-width)
24626 (encode-char):
24627 * ps-mule.el (ps-mule-plot-string):
24628 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
24629 (recentf-edit-list-select, recentf-edit-list-validate)
24630 (recentf-open-files-action):
24631 * rect.el (delete-whitespace-rectangle-line)
24632 (rectangle-number-line-callback):
24633 * register.el (window-configuration-to-register)
24634 (frame-configuration-to-register):
24635 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
24636 * select.el (xselect-convert-to-string, xselect-convert-to-length)
24637 (xselect-convert-to-targets, xselect-convert-to-delete)
24638 (xselect-convert-to-filename, xselect-convert-to-charpos)
24639 (xselect-convert-to-lineno, xselect-convert-to-colno)
24640 (xselect-convert-to-os, xselect-convert-to-host)
24641 (xselect-convert-to-user, xselect-convert-to-class)
24642 (xselect-convert-to-name, xselect-convert-to-integer)
24643 (xselect-convert-to-atom, xselect-convert-to-identity):
24644 * subr.el (declare, ignore, process-kill-without-query)
24645 (text-clone-maintain):
24646 * terminal.el (te-get-char, te-tic-sentinel):
24647 * tool-bar.el (tool-bar-make-keymap):
24648 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
24649 * type-break.el (type-break-mode, type-break-noninteractive-query):
24650 * view.el (View-back-to-mark):
24651 * wid-browse.el (widget-browse-action, widget-browse-widget)
24652 (widget-browse-widgets, widget-browse-sexp):
24653 * widget.el (define-widget-keywords):
24654 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
24655 Mark unused parameters.
24656
24657 * align.el (align-adjust-col-for-rule): Mark unused parameter.
24658 (align-areas): Remove unused variable `look'.
24659 (align-region): Remove unused variables `real-end' and `pos-list'.
24660
24661 * apropos.el (apropos-score-doc): Remove unused variable `i'.
24662
24663 * bindings.el (mode-line-modified, mode-line-remote):
24664 Mark unused parameters.
24665 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
24666
24667 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
24668 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
24669
24670 * comint.el (comint-history-isearch-pop-state)
24671 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
24672 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
24673 (comint-substitute-in-file-name): Doc fix.
24674
24675 * completion.el (cmpl-statistics-block): Mark unused parameter.
24676 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
24677 (save-completions-to-file, load-completions-from-file):
24678 Remove unused local variable `e'.
24679
24680 * composite.el (compose-chars): Remove unused variable `len'.
24681 (lgstring-insert-glyph): Remove unused variable `g'.
24682 (compose-glyph-string): Remove unused variables `ascent',
24683 `descent', `lbearing' and `rbearing'.
24684 (compose-glyph-string-relative): Remove unused variables
24685 `lbearing', `rbearing' and `wadjust'.
24686 (compose-gstring-for-graphic): Remove unused variables `header',
24687 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
24688 (compose-gstring-for-terminal): Remove unused variables `header'
24689 and `nchars'. Use `let', not `let*'.
24690
24691 * cus-edit.el (Custom-set, Custom-save, custom-reset)
24692 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
24693 (Custom-buffer-done, custom-buffer-create-internal)
24694 (custom-browse-visibility-action, custom-browse-group-tag-action)
24695 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
24696 (widget-magic-mouse-down-action, custom-toggle-parent)
24697 (custom-add-parent-links, custom-toggle-hide-variable)
24698 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
24699 (custom-toggle-hide-face, face, hook, custom-group-link-action)
24700 (custom-face-menu-create, custom-variable-menu-create, get)
24701 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
24702 (custom-reset-standard-save-and-update): Remove unused variable `value'.
24703 (customize-apropos): Remove unused variable `tests'.
24704 (custom-group-value-create): Remove unused variable `hidden-p'.
24705 (sort-fold-case): Declare.
24706
24707 * cus-theme.el (custom-reset-standard-faces-list)
24708 (custom-reset-standard-variables-list): Declare.
24709 (customize-create-theme, custom-theme-revert, custom-theme-write)
24710 (custom-theme-choose-mode, customize-themes, custom-theme-save):
24711 Mark unused parameters.
24712
24713 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
24714
24715 * delim-col.el (delimit-columns-max): Move defvar before first use.
24716
24717 * descr-text.el (describe-char-categories): Don't quote `lambda'.
24718 (describe-char): Don't quote `lambda'. Mark unused parameter.
24719
24720 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
24721 (auto-insert): Declare.
24722 (desktop-restore-file-buffer): Rename desktop-* parameters;
24723 mark unused ones.
24724 (desktop-create-buffer): Rename desktop-* parameters and bind them.
24725 (desktop-buffer): Rename desktop-* parameters.
24726
24727 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
24728 (dframe-reposition-frame-xemacs, dframe-help-echo)
24729 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
24730 Mark unused parameters.
24731
24732 * dired-aux.el (backup-extract-version-start, overwrite-query)
24733 (overwrite-backup-query, rename-regexp-query)
24734 (rename-non-directory-query): Declare.
24735 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
24736 (dired-add-entry): Remove unused variable `orig-file-name'.
24737 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
24738 Use parameter PRESERVE-TIME instead of accessing dynamic variable
24739 `dired-copy-preserve-time' directly.
24740 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
24741 (dired-insert-subdir-newpos): Rename unused variable `pos'.
24742
24743 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
24744 (dired-virtual-revert, dired-make-relative-symlink):
24745 Mark unused parameters.
24746 (manual-program): Declare.
24747 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
24748 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
24749 wrapped in `with-no-warnings' to avoid replacing one warning by another.
24750
24751 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
24752
24753 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
24754
24755 * echistory.el (electric-history-in-progress, Helper-return-blurb):
24756 Declare.
24757
24758 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
24759
24760 * electric.el (Electric-command-loop): Rename parameter
24761 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
24762
24763 * expand.el (expand-in-literal): Remove unused variable `here'.
24764
24765 * facemenu.el (facemenu-add-new-color):
24766 Remove unused variable `docstring'.
24767
24768 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
24769 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
24770 (face-attr-construct): Mark unused parameter. Doc fix.
24771 (read-color): Remove unused variable `hex-string'.
24772
24773 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
24774 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
24775 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
24776 (display-buffer-other-frame): Remove unused variable `old-window'.
24777 (kill-buffer-hook): Declare.
24778 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
24779 Mark unused parameters.
24780 (after-find-file): Pass 1 to `auto-save-mode', not t.
24781
24782 * files-x.el (auto-insert): Declare.
24783 (modify-file-local-variable-prop-line): Remove unused variable `val'.
24784
24785 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
24786 variable `buf'. Mark unused parameter.
24787 (find-lisp-insert-directory): Mark unused parameter.
24788
24789 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
24790 (format-encode-region): Remove unused variables `cur-buf' and `result'.
24791 (format-common-tail): Remove, unused.
24792 (format-deannotate-region): Remove unused variable `loc'.
24793 (format-annotate-region): Remove unused variable `p'.
24794 (format-annotate-single-property-change): Remove unused variables
24795 `default' and `tail'.
24796
24797 * forms.el (read-file-filter): Declare.
24798 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
24799
24800 * frame.el (frame-creation-function-alist): Mark unused parameter.
24801 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
24802
24803 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
24804 Remove unused parameters.
24805 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
24806 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
24807
24808 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
24809 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
24810 (hfy-prepare-tag-map): Mark unused parameters.
24811 (htmlfontify-buffer): Use `called-interactively-p'.
24812
24813 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
24814 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
24815 (ibuffer-do-occur): Mark unused parameters.
24816 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
24817 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
24818
24819 * ibuffer.el: Don't quote `lambda'.
24820 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
24821 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
24822 Mark unused parameters.
24823
24824 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
24825 (ido-completing-read): Mark unused parameters.
24826 (ido-copy-current-word): Mark unused parameters;
24827 remove unused variable `name'.
24828 (ido-sort-merged-list): Remove unused parameter `dirs'.
24829
24830 * ielm.el (ielm-input-sender): Mark unused parameter.
24831 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
24832 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
24833 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
24834 `ielm-string' as a dynamic variable accessible from the IELM prompt.
24835 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
24836
24837 * image-dired.el (image-dired-display-thumbs): Remove unused
24838 variables `curr-file' and `count'.
24839 (image-dired-remove-tag): Remove unused variable `start'.
24840 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
24841 variable `curr-file'
24842 (image-dired-rotate-original): Remove unused variable `temp-file'.
24843 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
24844 Remove unused variable `file'.
24845 (image-dired-gallery-generate): Remove unused variable `curr'.
24846 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
24847
24848 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
24849
24850 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
24851
24852 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
24853
24854 * isearch.el (minibuffer-history-symbol): Declare.
24855 (isearch-edit-string): Remove unused variable `err'.
24856 (isearch-message-prefix, isearch-message-suffix):
24857 Mark unused parameters.
24858
24859 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
24860
24861 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
24862
24863 * makesum.el (double-column): Remove unused variable `cnt'.
24864
24865 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
24866 (ido-ignore-item-temp-list): Declare.
24867
24868 * mouse-drag.el (mouse-drag-throw): Remove unused variables
24869 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
24870 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
24871 (mouse-drag-drag): Remove unused variables `mouse-delta' and
24872 `mouse-col-delta'.
24873
24874 * mouse-sel.el (mouse-extend-internal):
24875 Remove unused variable `orig-window-frame'.
24876
24877 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
24878 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
24879 Move declarations before first use.
24880 (pcomplete-opt): Mark unused parameters; doc fix.
24881
24882 * proced.el (proced-revert): Mark unused parameter.
24883 (proced-send-signal): Remove unused variable `err'.
24884
24885 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
24886 Rename parameter PREFIX-ARG to ARG.
24887 (ps-basic-plot-string, ps-basic-plot-whitespace):
24888 Mark unused parameters.
24889
24890 * replace.el (replace-count): Define.
24891 (occur-revert-function): Mark unused parameters.
24892 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
24893 (isearch-case-fold-search, isearch-string): Declare.
24894 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
24895 bind `case-fold-search'. Remove unused variables `beg' and `end',
24896 and simplify.
24897 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
24898 COUNT and bind `replace-count'.
24899 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
24900 to COUNT.
24901
24902 * savehist.el (print-readably, print-string-length): Declare.
24903
24904 * shadowfile.el (shadow-expand-cluster-in-file-name):
24905 Remove unused variable `cluster'.
24906 (shadow-copy-file): Remove unused variable `i'.
24907 (shadow-noquery, shadow-clusters, shadow-site-cluster)
24908 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
24909 (shadow-define-literal-group, shadow-define-regexp-group)
24910 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
24911
24912 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
24913 (shell): Use `called-interactively-p'.
24914 (shell-directory-tracker): Remove unused variable `chdir-failure'.
24915
24916 * simple.el (compilation-context-lines, comint-file-name-quote-list)
24917 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
24918 (delete-backward-char): Remove unused variable `ocol'.
24919 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
24920 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
24921 (event-apply-hyper-modifier, event-apply-shift-modifier)
24922 (event-apply-control-modifier, event-apply-meta-modifier):
24923 Mark unused parameters.
24924 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
24925 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
24926
24927 * speedbar.el (speedbar-ignored-directory-expressions)
24928 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
24929 (speedbar-find-file, speedbar-dir-follow)
24930 (speedbar-directory-buttons-follow, speedbar-tag-find)
24931 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
24932 (speedbar-buffers-line-directory, speedbar-buffer-click):
24933 Mark unused parameters.
24934 (speedbar-tag-file): Remove unused variable `mode'.
24935 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
24936
24937 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
24938
24939 * talk.el (talk): Remove unused variable `display'.
24940
24941 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
24942 (tar-write-region-annotate): Mark unused parameter.
24943
24944 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
24945 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
24946 Declare them, wrapped in `with-no-warnings' to avoid replacing one
24947 warning by another.
24948
24949 * time-stamp.el (time-stamp-string-preprocess):
24950 Remove unused variable `require-padding'.
24951
24952 * tree-widget.el (widget-glyph-enable): Declare.
24953 (tree-widget-action): Mark unused parameter.
24954
24955 * w32-fns.el (x-get-selection): Mark unused parameter.
24956 (autoload-make-program, generated-autoload-file): Declare.
24957
24958 * wdired.el (wdired-revert): Mark unused parameters.
24959 (wdired-xcase-word): Remove unused variable `err'.
24960
24961 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
24962 (whitespace-help-scroll): Remove unused variable `data-help'.
24963
24964 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
24965 (widget-image-insert, widget-after-change, default)
24966 (widget-default-format-handler, widget-default-notify)
24967 (widget-default-prompt-value, widget-info-link-action)
24968 (widget-url-link-action, widget-function-link-action)
24969 (widget-variable-link-action, widget-file-link-action)
24970 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
24971 (widget-field-prompt-internal, widget-field-action, widget-field-match)
24972 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
24973 (widget-insert-button-action, widget-delete-button-action, visibility)
24974 (widget-documentation-link-action, widget-documentation-string-action)
24975 (widget-const-prompt-value, widget-regexp-match, symbol)
24976 (widget-coding-system-prompt-value)
24977 (widget-key-sequence-value-to-external, sexp)
24978 (widget-sexp-value-to-internal, character, vector, cons)
24979 (widget-choice-prompt-value, widget-boolean-prompt-value)
24980 (widget-color--choose-action): Mark unused parameters.
24981 (widget-item-match-inline, widget-choice-match-inline)
24982 (widget-checklist-match, widget-checklist-match-inline)
24983 (widget-group-match): Rename parameter VALUES to VALS.
24984 (widget-field-value-set): Remove unused variable `size'.
24985 (widget-color-action): Remove unused variables `value' and `start'.
24986
24987 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
24988 variable `dir'. Doc fix.
24989 (windmove-find-other-window): Don't pass it.
24990
24991 * window.el (count-windows): Mark unused parameter.
24992 (bw-adjust-window): Remove unused variable `err'.
24993
24994 * woman.el (woman-file-name): Remove unused variable `default'.
24995 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
24996 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
24997 (global-font-lock-mode): Declare.
24998 (woman-decode-region): Mark unused parameter.
24999 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
25000
25001 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
25002 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
25003 (x-dnd-handle-moz-url): Remove unused variable `title'.
25004 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
25005
25006 * xml.el (xml-parse-tag, xml-parse-attlist):
25007 Remove unused variable `pos'.
25008
25009 2011-04-19 Glenn Morris <rgm@gnu.org>
25010
25011 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
25012 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
25013 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
25014 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
25015 * calendar/cal-html.el (cal-html-insert-minical):
25016 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
25017 (calendar-mark-date-pattern):
25018 Prefix "unused" locals.
25019
25020 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
25021 optional argument `style'.
25022
25023 * calendar/appt.el (appt-make-list):
25024 * calendar/cal-china.el (calendar-chinese-date-string):
25025 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
25026 (diary-hebrew-yahrzeit):
25027 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
25028 * calendar/calendar.el (calendar-generate-window):
25029 * calendar/time-date.el (time-to-days):
25030 Remove unused local variables.
25031
25032 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
25033
25034 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
25035 glyphless-char-display table.
25036 (tabulated-list-glyphless-char-display): New var.
25037
25038 2011-04-18 Sam Steingold <sds@gnu.org>
25039
25040 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
25041 to acknowledgments.
25042
25043 2011-04-17 Glenn Morris <rgm@gnu.org>
25044
25045 * calendar/diary-lib.el (diary-sexp-entry):
25046 * calendar/holidays.el (holiday-sexp):
25047 Set debug-on-error rather than the removed stack-trace-on-error.
25048
25049 2011-04-16 Glenn Morris <rgm@gnu.org>
25050
25051 * progmodes/f90.el: Use lexical-binding.
25052 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
25053
25054 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
25055
25056 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
25057 (mail-mode): Setup mailalias completion here instead.
25058 * mail/mailalias.el: Use lexical-binding.
25059 (pattern, mailalias-done): Declare dynamic.
25060 (mail-completion-at-point-function): New function, from mail-complete.
25061 (mail-complete): Use it.
25062 (mail-completion-expand): New function.
25063 (mail-get-names): Use it.
25064 (mail-directory, mail-directory-process, mail-directory-stream):
25065 Don't use `pattern' for lexically bound arg.
25066
25067 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
25068
25069 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
25070 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
25071 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
25072
25073 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
25074 (byte-save-window-excursion, byte-temp-output-buffer-setup)
25075 (byte-interactive-p): Define them again, for use when inlining
25076 old code.
25077
25078 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
25079
25080 * loadup.el: Use `string-to-number', not `string-to-int'.
25081
25082 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
25083
25084 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
25085 gud-gdb-complete-command.
25086 (gud-gdb-completions): New function, from gud-gdb-complete-command.
25087 (gud-gdb-completion-at-point): New function.
25088 (gud-gdb-completions): Remove.
25089
25090 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
25091
25092 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
25093 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
25094 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
25095 whether `executable-find' is bound.
25096
25097 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
25098
25099 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
25100
25101 * minibuffer.el (completion-in-region-mode-predicate)
25102 (completion-in-region-mode--predicate): New vars.
25103 (completion-in-region, completion-in-region--postch)
25104 (completion-in-region-mode): Use them.
25105 (completion--capf-wrapper): Also return the hook function.
25106 (completion-at-point, completion-help-at-point):
25107 Adjust and provide a predicate.
25108
25109 Preserve arg names for advice of subr and lexical functions (bug#8457).
25110 * help-fns.el (help-function-arglist): Consolidate the subr and
25111 new-byte-code cases. Add argument `preserve-names' to extract names
25112 from the docstring when needed.
25113 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
25114 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
25115 (ad-arglist): Use help-function-arglist's new arg.
25116 (ad-definition-type): Use cond.
25117
25118 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
25119
25120 * autorevert.el (auto-revert-handler):
25121 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
25122 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
25123 Don't quote lambda.
25124
25125 * image-mode.el (image-transform-set-scale):
25126 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
25127
25128 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
25129
25130 * net/network-stream.el (network-stream-open-starttls): Only do
25131 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
25132 Upgrades via gnutls-cli are too slow to be done opportunistically.
25133
25134 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
25135
25136 * dframe.el (dframe-current-frame): Remove spurious quote.
25137
25138 2011-04-12 Glenn Morris <rgm@gnu.org>
25139
25140 * calendar/cal-tex.el (cal-tex-end-document):
25141 Try to automatically use latin1 input if needed.
25142
25143 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
25144 Don't try to cons a mark onto an empty element.
25145
25146 2011-04-11 Leo Liu <sdl.web@gmail.com>
25147
25148 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
25149 buffers.
25150 (ido-kill-buffer-at-head): Support killing virtual buffers.
25151
25152 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
25153
25154 * minibuffer.el (completion-show-inline-help): New var.
25155 (completion--do-completion, minibuffer-complete)
25156 (minibuffer-force-complete, minibuffer-complete-word):
25157 Inhibit minibuffer messages if completion-show-inline-help is nil.
25158
25159 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
25160 to avoid interference from inline help (Bug#5849).
25161
25162 2011-04-10 Leo Liu <sdl.web@gmail.com>
25163
25164 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
25165 Fix typo.
25166
25167 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
25168
25169 * image-mode.el (image-toggle-display-image): Signal an error if
25170 not in Image mode.
25171 (image-transform-mode, image-transform-resize)
25172 (image-transform-set-rotation): Doc fix.
25173 (image-transform-set-resize): Delete.
25174 (image-transform-set-scale, image-transform-fit-to-height)
25175 (image-transform-fit-to-width): Handle image-toggle-display-image
25176 and image-transform-resize directly.
25177
25178 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
25179
25180 * doc-view.el (doc-view-fit-width-to-window)
25181 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
25182 New functions for fitting the shown image to the Emacs window size.
25183 (doc-view-mode-map): Add bindings for the new functions.
25184
25185 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
25186
25187 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
25188 Fix typo in docstring.
25189
25190 2011-04-08 Eli Zaretskii <eliz@gnu.org>
25191
25192 * files.el (file-size-human-readable): Produce one digit after
25193 decimal, like "ls -lh" does.
25194
25195 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
25196 the file size representation.
25197
25198 * simple.el (list-processes): If async subprocesses are not
25199 available, error out with a clear error message.
25200
25201 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
25202
25203 * help.el (help-form-show): New function, to be called from C.
25204 Put help-form output in a buffer named differently than *Help*.
25205
25206 2011-04-08 Eli Zaretskii <eliz@gnu.org>
25207
25208 * files.el (file-size-human-readable): New function.
25209
25210 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
25211 computing the representation inline. Don't require `cl'.
25212
25213 2011-04-08 Glenn Morris <rgm@gnu.org>
25214
25215 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
25216
25217 * net/browse-url.el (browse-url-firefox):
25218 Test system-type, not system-configuration.
25219
25220 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
25221 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
25222 Use log-edit-empty-buffer-p. (Bug#7598)
25223
25224 * net/rlogin.el (rlogin-process-connection-type): Simplify.
25225 (rlogin-mode-map): Initialize in the defvar.
25226 (rlogin): Use ignore-errors.
25227
25228 * replace.el (occur-mode-map): Some fixes for menu items.
25229
25230 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
25231
25232 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
25233
25234 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
25235
25236 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
25237 issuing unused warnings.
25238
25239 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
25240 macro directly.
25241
25242 * simple.el: Lisp reimplement of list-processes. Based on an
25243 earlier reimplementation by Leo Liu, but using tabulated-list.el.
25244 (process-menu-mode): New major mode.
25245 (list-processes--refresh, list-processes):
25246 (process-menu-visit-buffer): New functions.
25247
25248 * files.el (save-buffers-kill-emacs): Don't assume any return
25249 value of list-processes, which is undocumented anyway.
25250
25251 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
25252
25253 * emacs-lisp/tabulated-list.el: New file.
25254
25255 * emacs-lisp/package.el: Use Tabulated List mode.
25256 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
25257 (package-menu-mode): Derive from tabulated-list-mode. Set up the
25258 table format using Tabulated List mode variables.
25259 (package--push): New macro, replacing package-list-maybe-add.
25260 (package-menu--generate): Use package--push. Renamed from
25261 package--generate-package-list.
25262 (package-menu-refresh, list-packages): Use it.
25263 (package-menu--print-info): Rename from package-print-package.
25264 Return insertion data instead of inserting it directly.
25265 (package-menu-describe-package, package-menu-execute):
25266 Use tabulated-list-get-id.
25267 (package-menu-mark-delete, package-menu-mark-install)
25268 (package-menu-mark-unmark, package-menu-backup-unmark)
25269 (package-menu-mark-obsolete-for-deletion):
25270 Use tabulated-list-put-tag.
25271 (package--list-packages, package-menu-revert)
25272 (package-menu-get-package, package-menu-get-version)
25273 (package-menu-sort-by-column): Functions deleted.
25274 (package-menu-package-list, package-menu-sort-key): Vars deleted.
25275 (package-menu--status-predicate, package-menu--version-predicate)
25276 (package-menu--name-predicate)
25277 (package-menu--description-predicate): Handle arguments in the
25278 Tabulated List format.
25279 (package-list-packages-no-fetch): Call list-packages.
25280
25281 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
25282
25283 * files.el (after-find-file-from-revert-buffer): Remove variable.
25284 (after-find-file): Don't bind it.
25285 (revert-buffer-in-progress-p): New variable.
25286 (revert-buffer): Bind it.
25287 Pass nil for `after-find-file-from-revert-buffer'.
25288
25289 * saveplace.el (save-place-find-file-hook): Use new variable
25290 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
25291
25292 2011-04-06 Glenn Morris <rgm@gnu.org>
25293
25294 * Makefile.in (AUTOGEN_VCS): New variable.
25295 (autoloads): Use $AUTOGEN_VCS.
25296
25297 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
25298 * calendar/calendar.el (calendar-mode-map):
25299 Check for toolkit scroll bars. (Bug#8305)
25300
25301 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
25302
25303 * minibuffer.el (completion-in-region--postch)
25304 (completion-in-region-mode): Remove unnecessary messages.
25305
25306 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
25307
25308 * font-lock.el (font-lock-refresh-defaults):
25309 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
25310 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
25311
25312 * info.el (Info-directory-list, Info-read-node-name-2)
25313 (Info-split-parameter-string): Doc fixes.
25314 (Info-virtual-nodes): Reflow docstring.
25315 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
25316 (Info-apropos-toc-nodes, info-finder, Info-get-token)
25317 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
25318 Fix typos in docstrings.
25319 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
25320 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
25321 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
25322 (Info-restore-desktop-buffer): Mark unused parameters.
25323 (Info-directory-find-file, Info-directory-find-node)
25324 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
25325 (Info-virtual-index-find-node, Info-apropos-find-file)
25326 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
25327 Mark unused parameters; fix typos in docstrings.
25328 (Info-virtual-index): Remove unused local variable `nodename'.
25329
25330 2011-04-05 Deniz Dogan <deniz@dogan.se>
25331
25332 * net/rcirc.el: Update my e-mail address.
25333 (rcirc-mode-map): Remove M-o binding.
25334
25335 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
25336
25337 * startup.el (command-line): Save the cursor's theme-face
25338 directly, instead of using face-override-spec.
25339
25340 * custom.el (load-theme): Minor optimization in assigning faces.
25341
25342 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
25343
25344 * help-fns.el (describe-variable): Complete all variables having
25345 documentation, including keywords.
25346 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
25347
25348 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
25349
25350 Convert to lexical-binding.
25351
25352 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
25353 (bs--get-marked-string, bs--get-modified-string)
25354 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
25355 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
25356 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
25357
25358 * ehelp.el (electric-help-execute-extended)
25359 (electric-help-ctrl-x-prefix):
25360 * hexl.el (hexl-revert-buffer-function):
25361 * linum.el (linum-after-change, linum-after-scroll):
25362 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
25363
25364 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
25365
25366 2011-04-04 Daiki Ueno <ueno@unixuser.org>
25367
25368 * epa-dired.el:
25369 * epa-mail.el:
25370 * epa-hook.el:
25371 * epa-file.el:
25372 * epa.el:
25373 * epg.el: Use lexical binding.
25374
25375 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
25376
25377 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
25378
25379 * textmodes/flyspell.el (flyspell-word): Recognize default
25380 dictionary case for flyspell-mark-duplications-exceptions.
25381 Use regexp matching for languages.
25382 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
25383 default dictionary (Bug#7926).
25384
25385 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
25386
25387 * emacs-lisp/package.el (package--with-work-buffer):
25388 Recognize https URLs.
25389
25390 * net/network-stream.el: Move from gnus/proto-stream.el.
25391 Change prefix to network-stream throughout.
25392 (open-protocol-stream): Merge into open-network-stream, leaving
25393 open-protocol-stream as an alias. Handle nil BUFFER args.
25394
25395 * subr.el (open-network-stream): Move to net/network-stream.el.
25396
25397 2011-04-02 Glenn Morris <rgm@gnu.org>
25398
25399 * find-dired.el (find-exec-terminator): New option.
25400 (find-ls-option): Test for -ls support.
25401 (find-ls-subdir-switches): Test for -b in find-ls-option.
25402 (find-dired, find-grep-dired): Doc fixes.
25403 (find-dired): Use find-exec-terminator.
25404
25405 * find-dired.el (find-ls-option, find-ls-subdir-switches)
25406 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
25407 (find-name-arg): Remove purecopy.
25408
25409 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
25410 (grep-compute-defaults): Check for `-exec COMMAND +' support.
25411 Set grep-find-use-xargs, grep-find-command, and grep-find-template
25412 accordingly. Don't add the null-device if not needed.
25413
25414 * files.el (save-some-buffers): Doc fix.
25415
25416 2011-04-02 Eli Zaretskii <eliz@gnu.org>
25417
25418 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
25419
25420 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
25421
25422 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
25423 Use `dolist' rather than `mapcar'.
25424
25425 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
25426
25427 Add lexical binding.
25428
25429 * subr.el (apply-partially): Use new closures rather than CL.
25430 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
25431 (dolist, dotimes): Use slightly different expansion for lexical code.
25432 (functionp): Move to C.
25433 (letrec): New macro.
25434 (with-wrapper-hook): Use it and apply-partially instead of CL.
25435 (eval-after-load): Preserve lexical-binding.
25436 (save-window-excursion, with-output-to-temp-buffer): Turn them
25437 into macros.
25438
25439 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
25440
25441 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
25442 than the arglist.
25443 (help-add-fundoc-usage): Don't add `Not documented'.
25444 (help-function-arglist): Handle closures, subroutines, and new
25445 byte-code-functions.
25446 (help-make-usage): Remove leading underscores.
25447 (describe-function-1): Handle closures.
25448 (describe-variable): Use special-variable-p for completion.
25449
25450 * files.el (lexical-binding): Declare safe.
25451
25452 * emacs-lisp/pcase.el: Don't use destructuring-bind.
25453 (pcase--memoize): Rename from pcase-memoize. Change weakness.
25454 (pcase): Add `let' pattern.
25455 Change memoization so it actually works.
25456 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
25457 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
25458 <let>: New case.
25459
25460 * emacs-lisp/macroexp.el: Use lexical binding.
25461 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
25462 Don't convert ' to #' without checking that it's indeed quoting
25463 a lambda.
25464
25465 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
25466 Use eval-sexp-add-defvars.
25467 (eval-sexp-add-defvars): New fun.
25468
25469 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
25470
25471 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
25472 Don't autoload.
25473 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
25474 than the internal `byte-compile-lambda'.
25475 (defmethod): Don't hide code under quotes.
25476 (eieio-defmethod): New `code' argument.
25477
25478 * emacs-lisp/eieio-comp.el: Remove.
25479
25480 * emacs-lisp/edebug.el (edebug-eval-defun)
25481 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
25482 (edebug-toggle): Avoid `eval'.
25483
25484 * emacs-lisp/disass.el (disassemble-internal): Handle new
25485 `closure' objects.
25486 (disassemble-1): Handle new byte codes.
25487
25488 * emacs-lisp/cl.el (pushnew): Silence warning.
25489
25490 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
25491 (cl-byte-compile-throw): Remove.
25492 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
25493
25494 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
25495 closures.
25496
25497 * emacs-lisp/cconv.el: New file.
25498
25499 * emacs-lisp/bytecomp.el: Use lexical binding instead of
25500 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
25501 (byte-compile-initial-macro-environment):
25502 Handle declare-function here.
25503 (byte-compile--lexical-environment): New var.
25504 (byte-stack-ref, byte-stack-set, byte-discardN)
25505 (byte-discardN-preserve-tos): New lap codes.
25506 (byte-interactive-p): Don't use any more.
25507 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
25508 New macros.
25509 (byte-compile-lapcode): Use them and handle new lap codes.
25510 (byte-compile-obsolete): Remove.
25511 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
25512 (byte-compile-arglist-warn): Check late def of inlinable funs.
25513 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
25514 since they should have been expanded by now.
25515 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
25516 (byte-compile-from-buffer): Remove unused second arg.
25517 (byte-compile-preprocess): New function.
25518 (byte-compile-toplevel-file-form): New function to distinguish
25519 file-form calls from outside from file-form calls from hunk-handlers.
25520 (byte-compile-file-form): Simplify.
25521 (byte-compile-file-form-defsubst): Remove.
25522 (byte-compile-file-form-defmumble): Simplify now that
25523 byte-compile-lambda always returns a byte-code-function.
25524 (byte-compile): Preprocess.
25525 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
25526 Remove, not used any more.
25527 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
25528 (byte-compile-make-args-desc): New funs.
25529 (byte-compile-lambda): Handle lexical functions. Always return
25530 a byte-code-function.
25531 (byte-compile-reserved-constants): New var, to make up room for
25532 closed-over variables.
25533 (byte-compile-constants-vector): Obey it.
25534 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
25535 (byte-compile-macroexpand-declare-function): New function.
25536 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
25537 byte-code-functions.
25538 (byte-compile-form): Check obsolescence here.
25539 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
25540 (byte-compile-variable-ref): Remove.
25541 (byte-compile-dynamic-variable-op): New fun.
25542 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
25543 (byte-compile-variable-set): New funs.
25544 (byte-compile-discard): Add 2 args.
25545 (byte-compile-stack-ref, byte-compile-stack-set)
25546 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
25547 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
25548 macroexpand-all instead.
25549 (byte-compile-quote-form): Remove.
25550 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
25551 (byte-compile-bind, byte-compile-unbind): New funs.
25552 (byte-compile-let): Handle let* and lexical binding.
25553 (byte-compile-let*): Remove.
25554 (byte-compile-catch, byte-compile-unwind-protect)
25555 (byte-compile-track-mouse, byte-compile-condition-case):
25556 Handle a new :fun-body form, used for lexical scoping.
25557 (byte-compile-save-window-excursion)
25558 (byte-compile-with-output-to-temp-buffer): Remove.
25559 (byte-compile-defun): Simplify.
25560 (byte-compile-stack-adjustment): New fun.
25561 (byte-compile-out): Use it.
25562 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
25563
25564 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
25565 handler any more.
25566
25567 * emacs-lisp/byte-opt.el: Use lexical binding.
25568 (byte-inline-lapcode): Remove (to bytecomp).
25569 (byte-compile-inline-expand): Pay attention to inlining to/from
25570 lexically bound code.
25571 (byte-compile-unfold-lambda): Don't handle byte-code-functions
25572 any more.
25573 (byte-optimize-form-code-walker): Don't handle save-window-excursion
25574 any more and don't call compiler-macros.
25575 (byte-compile-splice-in-already-compiled-code): Remove.
25576 (byte-code): Don't inline any more.
25577 (disassemble-offset): Receive `bytes' as argument rather than via
25578 dynamic scoping.
25579 (byte-compile-tag-number): Declare before first use.
25580 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
25581 `return' even if make-spliceable.
25582 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
25583 obsolete interactive-p.
25584 (byte-optimize-lapcode): Optimize new lap-codes.
25585 Don't trip up on new form of `byte-constant' lap code.
25586
25587 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
25588
25589 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
25590
25591 * custom.el (custom-initialize-default, custom-declare-variable):
25592 Use `defvar'.
25593
25594 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
25595 New variables.
25596 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
25597 (COMPILE_FIRST): Add macroexp and cconv.
25598 * makefile.w32-in: Mirror changes in Makefile.in.
25599
25600 * vc/cvs-status.el:
25601 * vc/diff-mode.el:
25602 * vc/log-edit.el:
25603 * vc/log-view.el:
25604 * vc/smerge-mode.el:
25605 * textmodes/bibtex-style.el:
25606 * textmodes/css-mode.el:
25607 * startup.el:
25608 * uniquify.el:
25609 * minibuffer.el:
25610 * newcomment.el:
25611 * reveal.el:
25612 * server.el:
25613 * mpc.el:
25614 * emacs-lisp/smie.el:
25615 * doc-view.el:
25616 * dired.el:
25617 * abbrev.el: Use lexical binding.
25618
25619 2011-04-01 Eli Zaretskii <eliz@gnu.org>
25620
25621 * info.el (info-display-manual): New function.
25622
25623 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
25624
25625 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
25626
25627 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
25628
25629 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
25630 an entry for that server in rcirc-authinfo. (Bug#8385)
25631
25632 2011-03-31 Glenn Morris <rgm@gnu.org>
25633
25634 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
25635
25636 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
25637
25638 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
25639
25640 * progmodes/python.el (python-default-interpreter)
25641 (python-python-command-args, python-jython-command-args)
25642 (python-which-shell, python-which-args, python-which-bufname)
25643 (python-file-queue, python-comint-output-filter-function)
25644 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
25645 variables and functions.
25646
25647 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
25648
25649 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
25650 (completion-in-region-mode): New minor mode.
25651 (completion-in-region): Use it.
25652 (completion-in-region--data, completion-in-region-mode-map): New vars.
25653 (completion-in-region--postch): New function.
25654 (completion--capf-misbehave-funs, completion--capf-safe-funs):
25655 New vars.
25656 (completion--capf-wrapper): New function.
25657 (completion-at-point): Use it to track well-behavedness of
25658 hook functions.
25659 (completion-help-at-point): New command.
25660
25661 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
25662
25663 * vc/add-log.el (add-change-log-entry): Don't use whitespace
25664 syntax class to search for whitespace on a single line
25665 (Message-ID: <4D938140.4030905@redhat.com>).
25666
25667 2011-03-30 Leo Liu <sdl.web@gmail.com>
25668
25669 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
25670 New commands.
25671 (edit-abbrevs-map): Bind them here.
25672 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
25673
25674 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
25675
25676 * allout.el (allout-hide-by-annotation, allout-flag-region):
25677 Reduce possibility of overlay leakage by making them volatile.
25678
25679 * allout-widgets.el (allout-widgets-tally): Define as nil so the
25680 hash is not shared between buffers. Mode initialization is
25681 responsible for giving it a useful starting value.
25682 (allout-item-span): Reduce possibility of overlay leakage by
25683 making them volatile.
25684 (allout-widgets-count-buttons-in-region): Add diagnostic function
25685 for tracking down button overlay leaks.
25686
25687 2011-03-29 Leo Liu <sdl.web@gmail.com>
25688
25689 * ido.el (ido-read-internal): Use the default history var
25690 minibuffer-history if no HISTORY is specified.
25691
25692 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
25693
25694 * net/imap.el (imap-shell-open, imap-process-connection-type):
25695 Use imap-process-connection-type for 'shell' streams as well as
25696 Kerberos, SSL, other subprocesses.
25697
25698 2011-03-28 Leo Liu <sdl.web@gmail.com>
25699
25700 * abbrev.el (abbrev-table-empty-p): New function.
25701 (prepare-abbrev-list-buffer): Place empty abbrev tables after
25702 nonempty ones. (Bug#5937)
25703
25704 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
25705
25706 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
25707
25708 2011-03-27 Leo Liu <sdl.web@gmail.com>
25709
25710 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
25711 for foreground and background colors.
25712 (ansi-color-make-color-map): Adapt.
25713
25714 2011-03-25 Leo Liu <sdl.web@gmail.com>
25715
25716 * midnight.el (midnight-time-float): Remove. Note it calculates
25717 the microsecond component incorrectly and seconds-to-time does the
25718 same job.
25719 Remove redundant (require 'timer).
25720
25721 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
25722 (ido-completions): Remove unused arguments. (Bug#8329)
25723
25724 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
25725
25726 * minibuffer.el (completion--flush-all-sorted-completions):
25727 Remove itself from hook.
25728 (completion-at-point): Let the functions perform the completion
25729 immediately and return nil or t.
25730 * comint.el (comint-dynamic-complete-functions): Now identical to
25731 completion-at-point-functions.
25732 (comint-dynamic-list-input-ring): Remove unused var `index'.
25733 (comint--match-partial-filename, comint--unquote&expand-filename):
25734 New funs, split from comint-match-partial-filename.
25735 (comint-dynamic-complete): Use completion-at-point.
25736 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
25737
25738 2011-03-24 Drew Adams <drew.adams@oracle.com>
25739
25740 * thingatpt.el: Support `defun'.
25741
25742 2011-03-23 Leo Liu <sdl.web@gmail.com>
25743
25744 * abbrevlist.el: Move to obsolete/abbrevlist.el.
25745
25746 * help-mode.el (help-mode-finish): Tweak regexp.
25747
25748 2011-03-23 Glenn Morris <rgm@gnu.org>
25749
25750 * eshell/esh-opt.el (eshell-eval-using-options):
25751 Do not bind unused local variable `eshell-option-stub'.
25752
25753 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
25754
25755 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
25756
25757 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
25758 keymap variable in `with-no-warnings' to avoid a warning when the
25759 keymap has been already `defconst'ed.
25760
25761 2011-03-22 Leo Liu <sdl.web@gmail.com>
25762
25763 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
25764 encode all chars in abbrevs; otherwise use emacs-mule or
25765 utf-8-emacs. (Bug#8308)
25766
25767 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
25768
25769 * simple.el (backward-delete-char-untabify):
25770 Avoid warning about using `delete-backward-char'.
25771
25772 * image.el (image-type-file-name-regexps): Make it variable.
25773 `imagemagick-register-types' modifies it, and the user may want
25774 to add new extensions for known image types.
25775 (imagemagick-register-types): Throw error if not using ImageMagick.
25776
25777 2011-03-22 Leo Liu <sdl.web@gmail.com>
25778
25779 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
25780 located before rcirc-prompt-end-marker.
25781 (rcirc-complete): Error if point is not after rcirc prompt.
25782 Handle the case when table is nil.
25783 (rcirc-user-authenticated): Define to fix compiler warning.
25784
25785 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
25786
25787 * custom.el (custom--inhibit-theme-enable): Make it affect only
25788 custom-theme-set-variables and custom-theme-set-faces.
25789 (provide-theme): Ignore custom--inhibit-theme-enable.
25790 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
25791 (custom-enabling-themes): Delete variable.
25792 (enable-theme): Accept only loaded themes as arguments.
25793 Ignore the special custom-enabled-themes variable.
25794 (custom-enabled-themes): Forbid themes from setting this.
25795 Eliminate use of custom-enabling-themes.
25796 (custom-push-theme): Quote "changed" custom var entry.
25797
25798 2011-03-21 Leo Liu <sdl.web@gmail.com>
25799
25800 * ido.el (ido-read-internal): Add ido-selected to history instead
25801 of user input.
25802
25803 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
25804
25805 * subr.el (deferred-action-list, deferred-action-function):
25806 Mark obsolete.
25807
25808 2011-03-21 Leo Liu <sdl.web@gmail.com>
25809
25810 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
25811 change on 2011-02-13 (bug#8309).
25812
25813 * minibuffer.el (read-file-name-function): Change default value.
25814 (read-file-name--defaults): Rename from read-file-name-defaults.
25815 (read-file-name-default): Rename from read-file-name.
25816 (read-file-name): Call read-file-name-function.
25817
25818 2011-03-21 Glenn Morris <rgm@gnu.org>
25819
25820 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
25821 Doc fixes.
25822
25823 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
25824
25825 * cus-theme.el: Add missing provide statement.
25826 (customize-create-theme): Extract theme value correctly.
25827 (custom-theme-visit-theme): Autoload.
25828 (customize-create-theme): Prompt before inserting default faces.
25829
25830 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
25831
25832 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
25833 units and musical notes.
25834
25835 2011-03-20 Leo Liu <sdl.web@gmail.com>
25836
25837 * ido.el (ido-read-internal): Use completing-read-default.
25838 (ido-completing-read): Fix compatibility with completing-read.
25839
25840 2011-03-20 Christian Ohler <ohler@gnu.org>
25841
25842 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
25843 (ert-delete-all-tests): Use `called-interactively-p' rather than
25844 `interactive-p'.
25845 (ert--make-xrefs-region): Respect END.
25846
25847 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
25848
25849 * dired-aux.el (dired-create-directory): Signal an error if the
25850 directory already exists (Bug#8246).
25851
25852 * facemenu.el (list-colors-display): Call list-faces-display
25853 inside with-help-window.
25854 (list-colors-print): Use display property to align the final
25855 column, instead of checking window-width.
25856
25857 2011-03-19 Eli Zaretskii <eliz@gnu.org>
25858
25859 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
25860 windows-nt systems.
25861 (emerge-protect-metachars): Quote correctly for ms-dos and
25862 windows-nt systems.
25863
25864 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
25865
25866 * info.el (info-initialize): Replace all uses of `:' with
25867 path-separator for compatibility with non-Unix systems.
25868 Cache quoting of path-separator. (Bug#8258)
25869
25870 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
25871
25872 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
25873 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
25874 (mouse-avoidance-mode): Fix typos in docstrings.
25875
25876 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
25877
25878 * startup.el (package-subdirectory-regexp): Move from package.el.
25879 Omit \\` and \\', and let callers add them.
25880
25881 * emacs-lisp/package.el (package-strip-version)
25882 (package-load-all-descriptors): Add \\` and \\' to
25883 package-subdirectory-regexp before using it.
25884 (package-untar-buffer): New arg DIR; ensure that file untars only
25885 into this expected directory. Remove superfluous delete-region.
25886 (package-unpack): Caller changed.
25887 (package-tar-file-info): Use package-subdirectory-regexp.
25888
25889 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
25890
25891 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
25892 diff-mode-shared-map (bug#8284).
25893 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
25894
25895 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
25896
25897 * calendar/time-date.el (format-seconds): Use assoc instead of
25898 assoc-string, since assoc-string doesn't exist in XEmacs.
25899
25900 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
25901
25902 * custom.el (custom-known-themes): Reflow docstring.
25903 (custom-theme-load-path): Fix typo in docstring.
25904 (load-theme): Fix typo in error message.
25905 (custom-available-themes, custom-variable-theme-value):
25906 Use `let', not `let*'.
25907
25908 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
25909
25910 * calc/README: Mention inclusion of musical notes.
25911
25912 * calc/calc-units.el (calc-lu-quant): Rename from
25913 `calc-logunits-quantity'.
25914 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
25915 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
25916 (calc-db): Rename from `calc-dblevel'.
25917 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
25918 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
25919 (calc-np): Rename from `calc-nplevel'.
25920 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
25921 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
25922 (calc-lu-plus): Rename from `calc-logunits-add'.
25923 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
25924 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
25925 (calc-lu-minus): Rename from `calc-logunits-sub'.
25926 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
25927 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
25928 (calc-lu-times): Rename from `calc-logunits-mul'.
25929 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
25930 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
25931 (calc-lu-divide): Rename from `calc-logunits-div'.
25932 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
25933 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
25934
25935 * calc/calc-ext.el (calc-init-extensions): Update the names of the
25936 functions being autoloaded.
25937
25938 * calc/calc.el (calc-lu-power-reference): Rename from
25939 `calc-logunits-power-reference'.
25940 (calc-lu-field-reference): Rename from
25941 `calc-logunits-field-reference'.
25942
25943 * calc/calc-help.el (calc-l-prefix-help):
25944 Mention musical note functions.
25945
25946 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
25947
25948 * minibuffer.el (completion-all-sorted-completions):
25949 Use :completion-cycle-penalty text property if present.
25950
25951 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
25952
25953 * allout.el (allout-yank-processing): Adjust for new rebulleting
25954 regime so bullet being yanked is used without prompting the user
25955 for a choice.
25956
25957 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
25958
25959 * startup.el (command-line): Warn the user that _emacs is deprecated.
25960
25961 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
25962
25963 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
25964 (delphi-verbose, delphi-comment-face, delphi-string-face)
25965 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
25966 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
25967 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
25968 (delphi-new-comment-line, delphi-font-lock-defaults)
25969 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
25970 Fix typos in docstrings.
25971
25972 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
25973
25974 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
25975 Invert the roles of character and string values for INSTEAD, so a
25976 string is used for the more common case of a defaulting prompt.
25977
25978 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
25979
25980 * progmodes/ruby-mode.el (ruby-backward-sexp):
25981 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
25982 * play/gamegrid.el (gamegrid-make-face):
25983 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
25984 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
25985 * notifications.el (notifications-notify):
25986 * net/xesam.el (xesam-search-engines):
25987 * net/quickurl.el (quickurl-list-insert):
25988 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
25989
25990 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
25991
25992 * startup.el (command-line): Update package subdirectory regexp.
25993
25994 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
25995
25996 * allout.el (allout-abbreviate-flattened-numbering)
25997 (allout-mode-deactivate-hook): Fix up obsolescence "date".
25998
25999 * subr.el (read-char-choice): Only show the cursor after the prompt,
26000 not after the answer.
26001
26002 2011-03-15 Kevin Ryde <user42@zip.com.au>
26003
26004 * help-fns.el (variable-at-point): Skip leading quotes, if any
26005 (bug#8253).
26006
26007 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
26008
26009 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
26010 warning message.
26011
26012 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
26013
26014 * shell.el (shell): When called interactively, offer to change the
26015 shell file name on remote hosts.
26016
26017 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
26018
26019 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
26020 integration for LDAP parameters. The host, base, user or binddn,
26021 and secret tokens can be specified in a netrc file, for instance.
26022 This is optional because an `auth-source' parameter must be
26023 specified in the search attributes.
26024
26025 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
26026
26027 * help.el (describe-mode): Link to the mode's definition (bug#8185).
26028
26029 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
26030
26031 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
26032 into declaration. Remove redundant and harmful binding.
26033
26034 2011-03-12 Eli Zaretskii <eliz@gnu.org>
26035
26036 * files.el (file-ownership-preserved-p): Pass `integer' as an
26037 explicit 2nd argument to `file-attributes'. If the file's owner
26038 is the Administrators group on Windows, and the current user is
26039 Administrator, consider that a match.
26040
26041 * server.el (server-ensure-safe-dir): Consider server directory
26042 safe on MS-Windows if its owner is the Administrators group while
26043 the current Emacs user is Administrator. Use `=' to compare
26044 numerical UIDs, since they could be integers or floats.
26045
26046 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
26047
26048 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
26049
26050 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
26051
26052 Sync with Tramp 2.2.1.
26053
26054 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
26055
26056 * net/trampver.el: Update release number.
26057
26058 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
26059
26060 * progmodes/compile.el (compilation--previous-directory): Fix up
26061 various nil/dead-marker mismatches (bug#8014).
26062 (compilation-directory-properties, compilation-error-properties):
26063 Don't call it at a position past the one we're about to change.
26064
26065 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
26066 Disable obsolescence warnings in the file that declares it.
26067
26068 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
26069
26070 * allout-widgets.el (allout-widgets-tally):
26071 Initialize allout-widgets-tally as a hash table rather than nil to
26072 prevent mode-line redisplay warnings. Also, clarify the module
26073 description and fix a comment typo.
26074
26075 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
26076
26077 * help-fns.el (describe-variable): Don't complete keywords.
26078 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
26079
26080 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
26081
26082 * emacs-lisp/package.el (package-version-join): Impose a standard
26083 string representation for pre/alpha/beta version lists.
26084 (package-unpack-single): Standardize the directory name by passing
26085 it through package-version-join.
26086 (package-strip-rcs-id): Accept any version string that does not
26087 signal an error in version-to-list.
26088
26089 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
26090
26091 * simple.el (delete-trailing-whitespace): Return nil for the
26092 benefit of `write-file-functions'.
26093
26094 2011-03-10 Glenn Morris <rgm@gnu.org>
26095
26096 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
26097
26098 * vc/vc-git.el (vc-git-program): New option.
26099 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
26100 (vc-git--call): Use it.
26101
26102 * eshell/esh-util.el (eshell-condition-case): Doc fix.
26103
26104 * cus-edit.el (Custom-newline): If no button at point, look
26105 for a subgroup button at start-of-line. (Bug#2298)
26106
26107 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
26108
26109 2011-03-10 Julien Danjou <julien@danjou.info>
26110
26111 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
26112 `cursor-type' is nil.
26113
26114 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
26115
26116 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
26117
26118 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
26119
26120 * allout.el: Change so yank of distinctive-bullet items
26121 preserves the existing header prefix, rebulleting it if necessary,
26122 rather than replacing it. This is necessary for proper operation
26123 of cooperative addons like allout-widgets.
26124 (allout-make-topic-prefix, allout-rebullet-heading):
26125 Change SOLICIT arg to INSTEAD, and interpret additionally a string
26126 value as alternate bullet to be used, instead of prompting the user
26127 for a bullet character.
26128
26129 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
26130
26131 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
26132 Do not use `tramp-file-name-port', because this returns also
26133 `tramp-default-port'.
26134
26135 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
26136
26137 * net/rcirc.el (rcirc-handler-001): Remove useless
26138 with-rcirc-process-buffer.
26139 (rcirc-check-auth-status): Swap arguments to string-match.
26140
26141 2011-03-09 Glenn Morris <rgm@gnu.org>
26142
26143 * shell.el (shell-mode):
26144 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
26145
26146 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
26147 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
26148
26149 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
26150
26151 * emacs-lisp/package.el (package-refresh-contents)
26152 (package-menu-execute): Use condition-case-no-debug.
26153
26154 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
26155
26156 * simple.el (shell-command-to-string): Use `process-file'.
26157
26158 * emacs-lisp/package.el (package-tar-file-info): Handle also
26159 remote files.
26160
26161 * emacs-lisp/package-x.el (package-upload-buffer-internal):
26162 Use `equal' for upload base check.
26163
26164 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
26165
26166 * textmodes/texinfo.el (texinfo-environments):
26167 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
26168
26169 2011-03-08 Glenn Morris <rgm@gnu.org>
26170
26171 * cus-start.el (cursor-in-non-selected-windows):
26172 Fix :set quoting oddness. (Bug#8192)
26173
26174 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
26175 in some setf expressions. (Bug#2159)
26176
26177 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
26178
26179 * custom.el (custom-available-themes): Return themes in
26180 alphabetical order.
26181
26182 See ChangeLog.15 for earlier changes.
26183
26184 ;; Local Variables:
26185 ;; coding: utf-8
26186 ;; End:
26187
26188 Copyright (C) 2011-2013 Free Software Foundation, Inc.
26189
26190 This file is part of GNU Emacs.
26191
26192 GNU Emacs is free software: you can redistribute it and/or modify
26193 it under the terms of the GNU General Public License as published by
26194 the Free Software Foundation, either version 3 of the License, or
26195 (at your option) any later version.
26196
26197 GNU Emacs is distributed in the hope that it will be useful,
26198 but WITHOUT ANY WARRANTY; without even the implied warranty of
26199 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
26200 GNU General Public License for more details.
26201
26202 You should have received a copy of the GNU General Public License
26203 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.