* textmodes/remember.el (remember-data-directory)
[bpt/emacs.git] / lisp / ChangeLog
1 2013-04-25 Bastien Guerry <bzg@gnu.org>
2
3 * textmodes/remember.el (remember-data-directory)
4 (remember-directory-file-name-format): Fix custom types.
5
6 2013-04-25 Leo Liu <sdl.web@gmail.com>
7
8 * progmodes/octave.el (octave-completion-at-point-function): Make
9 use of inferior octave process.
10 (octave-initialize-completions): Remove.
11 (inferior-octave-completion-table): New function.
12 (inferior-octave-completion-at-point): Use it.
13 (octave-completion-alist): Remove.
14
15 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
16
17 * progmodes/opascal.el: Use font-lock and syntax-propertize.
18 (opascal-mode-syntax-table): New var.
19 (opascal-literal-kind, opascal-is-literal-end)
20 (opascal-literal-token-at): Rewrite.
21 (opascal--literal-start-re, opascal-font-lock-keywords)
22 (opascal--syntax-propertize): New constants.
23 (opascal-font-lock-defaults): Adjust.
24 (opascal-mode): Use them. Set comment-<foo> variables as well.
25 (delphi-comment-face, opascal-comment-face, delphi-string-face)
26 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
27 (delphi-other-face, opascal-other-face): Remove face variables.
28 (opascal-save-state): Remove macro.
29 (opascal-fontifying-progress-step): Remove constant.
30 (opascal--ignore-changes): Remove var.
31 (opascal-set-token-property, opascal-parse-next-literal)
32 (opascal-is-stable-literal, opascal-complete-literal)
33 (opascal-is-literal-start, opascal-face-of)
34 (opascal-parse-region, opascal-parse-region-until-stable)
35 (opascal-fontify-region, opascal-after-change)
36 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
37 (opascal-debug-parse-region, opascal-debug-parse-window)
38 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
39 (opascal-debug-fontify-buffer): Remove.
40 (opascal-debug-mode-map): Adjust accordingly.
41
42 2013-04-25 Leo Liu <sdl.web@gmail.com>
43
44 Merge octave-mod.el and octave-inf.el into octave.el with some
45 cleanups.
46 * progmodes/octave.el: New file renamed from octave-mod.el.
47 * progmodes/octave-inf.el: Merged into octave.el.
48 * progmodes/octave-mod.el: Renamed to octave.el.
49
50 2013-04-25 Tassilo Horn <tsdh@gnu.org>
51
52 * textmodes/reftex-vars.el
53 (reftex-label-ignored-macros-and-environments): New defcustom.
54
55 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
56
57 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
58
59 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
60 (smie-indent-keyword): Improve the check to ensure that the next
61 comment is really on the same line.
62 (smie-indent-comment): Don't align with a subsequent closer (or eob).
63
64 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
65 semi-colons if the line is not otherwise empty (bug#14218).
66
67 2013-04-25 Glenn Morris <rgm@gnu.org>
68
69 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
70
71 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
72
73 * progmodes/opascal.el (opascal-set-token-property): Rename from
74 opascal-set-text-properties and only set `token' (bug#14134).
75 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
76 (opascal-literal-text-properties): Remove.
77 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
78 Adjust callers.
79
80 2013-04-24 Reuben Thomas <rrt@sc3d.org>
81
82 * textmodes/remember.el (remember-handler-functions): Add an
83 option for a new handler `remember-store-in-files'.
84 (remember-data-directory, remember-directory-file-name-format):
85 New options.
86 (remember-store-in-files): New function to store remember notes
87 as separate files within a directory.
88
89 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
90
91 * progmodes/compile.el (compilation-next-error-function):
92 Pass "formats" to compilation-find-file (bug#11777).
93
94 2013-04-24 Glenn Morris <rgm@gnu.org>
95
96 * vc/vc-bzr.el (vc-bzr-print-log):
97 * vc/vc-hg.el (vc-hg-print-log):
98 * vc/vc-svn.el (vc-svn-print-log):
99 Fix START-REVISION with LIMIT != 1. (Bug#14168)
100
101 * vc/vc-bzr.el (vc-bzr-print-log):
102 * vc/vc-cvs.el (vc-cvs-print-log):
103 * vc/vc-git.el (vc-git-print-log):
104 * vc/vc-hg.el (vc-hg-print-log):
105 * vc/vc-mtn.el (vc-mtn-print-log):
106 * vc/vc-rcs.el (vc-rcs-print-log):
107 * vc/vc-sccs.el (vc-sccs-print-log):
108 * vc/vc-svn.el (vc-svn-print-log):
109 * vc/vc.el (vc-print-log-internal): Doc fixes.
110
111 2013-04-23 Glenn Morris <rgm@gnu.org>
112
113 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
114 Remove venerable code attempting to avoid substitute-command-keys.
115
116 2013-04-23 Tassilo Horn <tsdh@gnu.org>
117
118 * textmodes/reftex-vars.el (reftex-label-regexps):
119 Call `reftex-compile-variables' after changes to this variable.
120
121 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
122
123 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
124 Use lexical-binding.
125 (jit-lock-force-redisplay): Use markers, check buffer's continued
126 existence and beware narrowed buffers.
127 (jit-lock-fontify-now): Adjust call accordingly.
128
129 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
130
131 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
132 to avoid misleading the user.
133
134 2013-04-22 Leo Liu <sdl.web@gmail.com>
135
136 * info-look.el: Prefer latex2e.info. (Bug#14240)
137
138 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
139
140 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
141
142 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
143 * net/tramp.el (tramp-call-process): ... here
144 (tramp-set-completion-function, tramp-parse-putty):
145 * net/tramp-adb.el (tramp-adb-execute-adb-command):
146 * net/tramp-gvfs.el (tramp-gvfs-send-command):
147 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
148 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
149 (tramp-call-local-coding-command): Use `tramp-call-process'
150 instead of `tramp-compat-call-process'.
151
152 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
153 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
154 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
155 (tramp-find-inline-compress):Improve traces.
156 (tramp-maybe-send-script): Check for Perl binary.
157 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
158
159 2013-04-22 Daiki Ueno <ueno@gnu.org>
160
161 * epg.el (epg-context-pinentry-mode): New function.
162 (epg-context-set-pinentry-mode): New function.
163 (epg--start): Pass --pinentry-mode option to gpg command.
164
165 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
166
167 * comint.el: (comint-dynamic-complete-functions, comint-mode-map):
168 `comint-dynamic-complete' is obsolete since 24.1, replaced by
169 `completion-at-point'. (Bug#13774)
170
171 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
172 default key binding for `describe-distribution' has been moved to
173 `C-h C-o'. (Bug#13970)
174
175 2013-04-21 Glenn Morris <rgm@gnu.org>
176
177 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
178 Add doc strings.
179 (vc-print-log): Clarify interactive prompt.
180
181 2013-04-20 Glenn Morris <rgm@gnu.org>
182
183 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
184 No longer include timestamp etc information.
185
186 2013-04-20 Roland Winkler <winkler@gnu.org>
187
188 * faces.el (read-face-name): Bug fix, return just one face if arg
189 multiple is nil. (Bug#14209)
190
191 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
192
193 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
194 (remove-function): Autoload.
195
196 * comint.el (comint-redirect-original-filter-function): Remove.
197 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
198 * vc/vc-cvs.el (vc-cvs-annotate-process-filter,vc-cvs-annotate-command):
199 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
200 * progmodes/prolog.el (prolog-consult-compile):
201 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
202 Use add/remove-function instead.
203 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
204 (gud-tooltip-process-output, gud-tooltip-tips):
205 Use add/remove-function instead.
206 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
207 (scheme-interaction-mode, exit-scheme-interaction-mode):
208 Use add/remove-function instead.
209
210 * vc/vc-dispatcher.el: Use lexical-binding.
211 (vc--process-sentinel): Rename from vc-process-sentinel.
212 Change last arg to be the code to run. Don't use vc-previous-sentinel
213 and vc-sentinel-commands any more.
214 (vc-exec-after): Allow code to be a function. Use add/remove-function.
215 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
216
217 2013-04-19 Masatake YAMATO <yamato@redhat.com>
218
219 * progmodes/sh-script.el (sh-imenu-generic-expression):
220 Handle function names with a single character. (Bug#14111)
221
222 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
223
224 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
225 for subroutines defined in an eval (bug#14182).
226
227 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
228
229 * bookmark.el (bookmark-completing-read): Improve handling of empty
230 string (bug#14176).
231
232 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
233
234 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
235
236 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
237
238 New faster Imenu implementation (bug#14058).
239 * progmodes/python.el:
240 (python-imenu-prev-index-position):
241 (python-imenu-format-item-label-function)
242 (python-imenu-format-parent-item-label-function)
243 (python-imenu-format-parent-item-jump-label-function):
244 New vars.
245 (python-imenu-format-item-label)
246 (python-imenu-format-parent-item-label)
247 (python-imenu-format-parent-item-jump-label)
248 (python-imenu--put-parent, python-imenu--build-tree)
249 (python-imenu-create-index, python-imenu-create-flat-index)
250 (python-util-popn): New functions.
251 (python-mode): Set imenu-create-index-function to
252 python-imenu-create-index.
253
254 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
255
256 * winner.el (winner-active-region): Use region-active-p, activate-mark
257 and deactivate-mark (bug#14225).
258
259 * simple.el (deactivate-mark): Don't inline it.
260
261 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
262
263 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
264
265 2013-04-18 Tassilo Horn <tsdh@gnu.org>
266
267 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
268 file extensions from the archive-mode entry in order to prefer
269 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
270
271 2013-04-18 Leo Liu <sdl.web@gmail.com>
272
273 * bindings.el (help-event-list): Add ?\?.
274
275 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
276
277 * subr.el (with-wrapper-hook): Declare obsolete.
278 * simple.el (filter-buffer-substring-function): New hook.
279 (filter-buffer-substring): Use it.
280 (filter-buffer-substring-functions): Mark obsolete.
281 * minibuffer.el (completion-in-region-function): New hook.
282 (completion-in-region): Use it.
283 (completion-in-region-functions): Mark obsolete.
284 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
285 * abbrev.el (abbrev-expand-function): New hook.
286 (expand-abbrev): Use it.
287 (abbrev-expand-functions): Mark obsolete.
288 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
289 and :filter-return.
290
291 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
292
293 * progmodes/python.el (python-nav--syntactically): Fix cornercases
294 and do not care about match data.
295
296 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
297
298 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
299 completion tables when completing error conditions and
300 `declare' arguments.
301 (lisp-complete-symbol, field-complete): Mark as obsolete.
302 (check-parens): Unmatched parens are user errors.
303 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
304
305 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
306
307 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
308 command changed buffer (ie. `flyspell-pre-buffer' is not current
309 buffer), which prevents making decisions based on invalid value of
310 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
311 cause an error when `flyspell-pre-point' was nil after switching
312 buffers.
313 (flyspell-post-command-hook): No longer needs to change buffers when
314 checking pre-word. While at it remove unnecessary progn.
315
316 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
317
318 * textmodes/ispell.el (ispell-add-per-file-word-list):
319 Fix `flyspell-correct-word-before-point' error when accepting
320 words and `coment-padding' is an integer by using
321 `comment-normalize-vars' (Bug #14214).
322
323 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
324
325 New defun movement commands.
326 * progmodes/python.el (python-nav--syntactically)
327 (python-nav--forward-defun, python-nav-backward-defun)
328 (python-nav-forward-defun): New functions.
329
330 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
331
332 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
333 (python-syntax-context): Use named compiler-macro for backwards
334 compatibility with Emacs 24.x.
335
336 2013-04-17 Leo Liu <sdl.web@gmail.com>
337
338 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
339 octave-hide-process-buffer.
340
341 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
342
343 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
344 (bug#14216).
345
346 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
347
348 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
349 Fix adjustment of offset when receiving incomplete responses from GDB
350 (bug#14129).
351
352 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
353
354 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
355 python-mode-abbrev-table.
356 (python-skeleton-define): Adjust accordingly.
357 (python-mode-abbrev-table): New table that inherits from it so that
358 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
359
360 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
361 (abbrev-symbol): Use it.
362 (abbrev--before-point): Use it since we already handle inheritance.
363
364 2013-04-16 Leo Liu <sdl.web@gmail.com>
365
366 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
367 binding to info-lookup-symbol.
368
369 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
370
371 * minibuffer.el (completion--twq-all):
372 * term/ns-win.el (ns-initialize-window-system):
373 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
374
375 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
376
377 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
378 global bindings.
379
380 * doc-view.el (doc-view-start-process): Handle url-handler directories.
381
382 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
383
384 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
385 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
386 to nil.
387 (ruby-end-of-defun): Remove the unused arg, change the docstring
388 to reflect that this function is only used as the value of
389 `end-of-defun-function'.
390 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
391 to reflect an earlier change that beginning/end-of-defun functions
392 jump between methods in a class definition, as well as top-level
393 functions.
394
395 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
396
397 * minibuffer.el (minibuffer-complete): Don't just scroll
398 a *Completions* that's been iconified.
399 (minibuffer-force-complete): Make sure repetitions do cycle when going
400 through completion-in-region -> minibuffer-complete.
401
402 2013-04-15 Alan Mackenzie <acm@muc.de>
403
404 Correct the placement of c-cpp-delimiters when there're #s not at
405 col 0.
406
407 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
408 place a submatch around the #.
409 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
410 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
411 on the #, not BOL.
412
413 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
414
415 * emacs-lisp/nadvice.el: Properly test names when adding advice.
416 (advice--member-p): New arg `name'.
417 (advice--add-function, advice-member-p): Use it (bug#14202).
418
419 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
420
421 Reformulate java imenu-generic-expression.
422 The old expression contained ill formed regexps.
423
424 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
425 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
426 (cc-imenu-java-method-arg-regexp): New defconsts.
427 (cc-imenu-java-build-type-args-regex): New defun.
428 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
429 handling of spaces in the regexp.
430
431 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
432
433 * textmodes/ispell.el (ispell-command-loop): Remove
434 flyspell highlight of a word when ispell accepts it (bug #14178).
435
436 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
437
438 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
439 uses code from the previous `ange-ftp-run-real-handler'.
440 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
441 only in case that function exist. This is needed for proper
442 unloading of Tramp.
443
444 2013-04-15 Tassilo Horn <tsdh@gnu.org>
445
446 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
447
448 * textmodes/reftex.el (reftex-compile-variables): Use it.
449
450 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
451
452 * files.el (normal-mode): Only use default major-mode if no other mode
453 was specified.
454
455 * emacs-lisp/trace.el (trace-values): New function.
456
457 * files.el: Allow : in local variables (bug#14089).
458 (hack-local-variable-regexp): New var.
459 (hack-local-variables-prop-line, hack-local-variables): Use it.
460
461 2013-04-13 Roland Winkler <winkler@gnu.org>
462
463 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
464 data before it gets modified by bibtex-beginning-of-entry.
465
466 2013-04-13 Roland Winkler <winkler@gnu.org>
467
468 * textmodes/bibtex.el (bibtex-url): Doc fix.
469
470 2013-04-13 Roland Winkler <winkler@gnu.org>
471
472 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
473 does not visit a BibTeX file, exclude it from the list of buffers
474 returned by bibtex-initialize.
475
476 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
477
478 * window.el (split-window): Remove interactive form, since as a
479 command this function is a special case of split-window-below.
480 Correct doc string.
481
482 2013-04-12 Roland Winkler <winkler@gnu.org>
483
484 * faces.el (read-face-name): Do not override value of arg default.
485 Allow single faces and strings as default values. Remove those
486 elements from return value that are not faces.
487 (describe-face): Simplify.
488 (face-at-point): New optional args thing and multiple so that this
489 function can provide the same functionality previously provided by
490 read-face-name.
491 (make-face-bold, make-face-unbold, make-face-italic)
492 (make-face-unitalic, make-face-bold-italic, invert-face)
493 (modify-face, read-face-and-attribute): Use face-at-point.
494
495 * cus-edit.el (customize-face, customize-face-other-window)
496 * cus-theme.el (custom-theme-add-face)
497 * face-remap.el (buffer-face-set)
498 * facemenu.el (facemenu-set-face): Use face-at-point.
499
500 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
501
502 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
503
504 2013-04-10 Tassilo Horn <tsdh@gnu.org>
505
506 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
507 off leading { and trailing } from field values.
508
509 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
510
511 * emacs-lisp/timer.el (timer--check): New function.
512 (timer--time, timer-set-function, timer-event-handler): Use it.
513 (timer-set-idle-time): Simplify.
514 (timer--activate): CSE.
515 (timer-event-handler): Give more info in error message.
516 (internal-timer-start-idle): New function, moved from C.
517
518 * mpc.el (mpc-proc): Add `restart' argument.
519 (mpc-proc-cmd): Use it.
520 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
521 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
522 less often.
523
524 2013-04-10 Masatake YAMATO <yamato@redhat.com>
525
526 * progmodes/sh-script.el: Implement `sh-mode' own
527 `add-log-current-defun-function' (bug#14112).
528 (sh-current-defun-name): New function.
529 (sh-mode): Use the function.
530
531 2013-04-09 Bastien Guerry <bzg@gnu.org>
532
533 * simple.el (choose-completion-string): Fix docstring (bug#14163).
534
535 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
536
537 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
538
539 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
540 timer (bug#14156).
541
542 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
543
544 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
545 declaration.
546
547 2013-04-07 Leo Liu <sdl.web@gmail.com>
548
549 * pcmpl-x.el: New file.
550
551 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
552
553 Do not set x-display-name until X connection is established.
554 This is needed to prevent from weird situation described at
555 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
556 * frame.el (make-frame): Set x-display-name after call to
557 window system initialization function, not before.
558 * term/x-win.el (x-initialize-window-system): Add optional
559 display argument and use it.
560 * term/w32-win.el (w32-initialize-window-system):
561 * term/ns-win.el (ns-initialize-window-system):
562 * term/pc-win.el (msdos-initialize-window-system):
563 Add compatible optional display argument.
564
565 2013-04-06 Eli Zaretskii <eliz@gnu.org>
566
567 * files.el (normal-backup-enable-predicate): On MS-Windows and
568 MS-DOS compare truenames of temporary-file-directory and of the
569 file, so that 8+3 aliases (usually found in $TEMP on Windows)
570 don't fail comparison by compare-strings. Also, compare file
571 names case-insensitively on MS-Windows and MS-DOS.
572
573 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
574
575 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
576 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
577
578 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
579
580 * whitespace.el (whitespace-color-on, whitespace-color-off):
581 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
582
583 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
584
585 * ispell.el (ispell-set-spellchecker-params):
586 Really set `ispell-args' for all equivs.
587
588 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
589
590 * ido.el (ido-completions): Use extra elements of ido-decorations
591 (bug#14143).
592 (ido-decorations): Update docstring.
593
594 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
595
596 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
597 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
598 nil during initialization, in order not to miss changes since the
599 file was opened. (Bug#14140)
600
601 2013-04-05 Leo Liu <sdl.web@gmail.com>
602
603 * kmacro.el (kmacro-call-macro): Fix bug#14135.
604
605 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
606
607 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
608
609 2013-04-04 Glenn Morris <rgm@gnu.org>
610
611 * electric.el (electric-pair-inhibit-predicate): Add :version.
612
613 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
614
615 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
616 when a package is required several times (bug#14082).
617
618 2013-04-04 Roland Winkler <winkler@gnu.org>
619
620 * faces.el (read-face-name): Behave as promised by the docstring.
621 Assume that arg default is a list of faces.
622 (describe-face): Call read-face-name with list of default faces.
623
624 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
625
626 * bookmark.el: Fix deletion of bookmarks (bug#13972).
627 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
628 (bookmark-bmenu-execute-deletions): Only skip first line if it's
629 the header.
630 (bookmark-exit-hook-internal): Save even if list is empty.
631
632 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
633
634 * emacs-lisp/package.el (package-pinned-packages): New var.
635 (package--add-to-archive-contents): Obey it (bug#14118).
636
637 2013-04-03 Alan Mackenzie <acm@muc.de>
638
639 Handle `parse-partial-sexp' landing inside a comment opener
640 (Bug#13244). Also adapt to the new values of element 7 of a parse
641 state.
642
643 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
644 parameter `not-in-delimiter'. Handle being inside comment opener.
645 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
646 character in case we're typing a '*' after a '/'.
647 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
648 instead by passing the parameter to c-state-pp-to-literal.
649
650 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
651 for elt. 7 of a parse state.
652
653 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
654
655 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
656 * international/latin1-disp.el, international/mule-util.el:
657 * language/cyril-util.el, language/european.el, language/ind-util.el:
658 * language/lao-util.el, language/thai.el, language/tibet-util.el:
659 * language/tibetan.el, language/viet-util.el:
660 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
661
662 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
663
664 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
665 (electric-pair-post-self-insert-function): Use it.
666 (electric-pair-default-inhibit): New function, extracted from
667 electric-pair-post-self-insert-function.
668
669 2013-03-31 Roland Winkler <winkler@gnu.org>
670
671 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
672
673 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
674
675 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
676
677 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
678
679 Un-indent after "pass" and "return" statements (Bug#13888)
680 * progmodes/python.el (python-indent-block-enders): New var.
681 (python-indent-calculate-indentation): Use it.
682
683 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
684
685 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
686 defun. Defining it as defalias could introduce too eager
687 byte-compiler optimization. (Bug#14030)
688
689 2013-03-30 Chong Yidong <cyd@gnu.org>
690
691 * iswitchb.el (iswitchb-read-buffer): Fix typo.
692
693 2013-03-30 Leo Liu <sdl.web@gmail.com>
694
695 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
696 (kmacro-execute-from-register): Pass the keyboard macro to
697 kmacro-call-macro or repeating won't work correctly.
698
699 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
700
701 * progmodes/subword.el: Back to using `forward-symbol'.
702
703 * subr.el (forward-whitespace, forward-symbol)
704 (forward-same-syntax): Move from thingatpt.el.
705
706 2013-03-29 Leo Liu <sdl.web@gmail.com>
707
708 * kmacro.el (kmacro-to-register): New command.
709 (kmacro-execute-from-register): New function.
710 (kmacro-keymap): Bind to 'x'. (Bug#14071)
711
712 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
713
714 * mpc.el: Use defvar-local and setq-local.
715 (mpc--proc-connect): Connection failures are not bugs.
716 (mpc-mode-map): `follow-link' only applies to the buffer's content.
717 (mpc-volume-map): Bind to the up-events.
718
719 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
720
721 * progmodes/subword.el (superword-mode): Use `forward-sexp'
722 instead of `forward-symbol'.
723
724 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
725
726 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
727 (edebug--recursive-edit): Use it.
728 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
729 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
730
731 2013-03-28 Leo Liu <sdl.web@gmail.com>
732
733 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
734
735 2013-03-27 Eli Zaretskii <eliz@gnu.org>
736
737 * facemenu.el (list-colors-callback): New defvar.
738 (list-colors-redisplay): New function.
739 (list-colors-display): Install list-colors-redisplay as the
740 revert-buffer-function. (Bug#14063)
741
742 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
743
744 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
745 and suffixes don't overlap (bug#14061).
746
747 * case-table.el: Use lexical-binding.
748 (case-table-get-table): New function.
749 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
750
751 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
752
753 * progmodes/subword.el: Add `superword-mode' to do word motion
754 over symbol_words (parallels and leverages `subword-mode' which
755 does word motion inside MixedCaseWords).
756
757 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
758
759 * eshell/em-unix.el: Move su and sudo to...
760 * eshell/em-tramp.el: ...Eshell tramp module.
761
762 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
763
764 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
765 Change return value to be a sexp. Delay `get-buffer' to after
766 restoring the desktop (bug#13951).
767
768 2013-03-26 Leo Liu <sdl.web@gmail.com>
769
770 * register.el: Move semantic tag handling back to
771 cedet/semantic/senator.el. (Bug#14052)
772
773 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
774
775 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
776 into the prompt either (bug#13963).
777
778 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
779
780 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
781 part of "(error-foo)".
782
783 2013-03-24 Juri Linkov <juri@jurta.org>
784
785 * replace.el (list-matching-lines-prefix-face): New defcustom.
786 (occur-1): Pass `list-matching-lines-prefix-face' to the function
787 `occur-engine' if `face-differs-from-default-p' returns t.
788 (occur-engine): Add `,' inside backquote construct to evaluate
789 `prefix-face'. Propertize the prefix with the `prefix-face' face.
790 Pass `prefix-face' to the functions `occur-context-lines' and
791 `occur-engine-add-prefix'.
792 (occur-engine-add-prefix, occur-context-lines): Add optional arg
793 `prefix-face' and propertize the prefix with `prefix-face'.
794 (Bug#14017)
795
796 2013-03-24 Leo Liu <sdl.web@gmail.com>
797
798 * nxml/rng-valid.el (rng-validate-while-idle)
799 (rng-validate-quick-while-idle): Guard against deleted buffer.
800 (Bug#13999)
801
802 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
803 is the last entry in kill-buffer-hook.
804
805 * files.el (kill-buffer-hook): Doc fix.
806
807 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
808
809 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
810 Make it safe-local.
811
812 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
813
814 2013-03-23 Leo Liu <sdl.web@gmail.com>
815
816 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
817 Remove.
818
819 * nxml/rng-valid.el (rng-validate-mode)
820 (rng-after-change-function, rng-do-some-validation):
821 * nxml/rng-maint.el (rng-validate-buffer):
822 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
823 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
824 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
825 (nxml-extend-after-change-region): Use with-silent-modifications.
826
827 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
828 timer-idle-list.
829
830 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
831 (rng-next-error-1, rng-previous-error-1): Do not let-bind
832 timer-idle-list. (Bug#13999)
833
834 2013-03-23 Juri Linkov <juri@jurta.org>
835
836 * info.el (info-index-match): New face.
837 (Info-index, Info-apropos-matches): Add a nested subgroup to the
838 main pattern and add text properties with the new face to matches
839 in index entries relative to the beginning of the index entry.
840 (Bug#14015)
841
842 2013-03-21 Eric Ludlam <zappo@gnu.org>
843
844 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
845 Inhibit read only while inserting objects.
846
847 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
848
849 * progmodes/cfengine.el: Update docs to mention
850 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
851 symbol motion. Remove "_" from the word syntax.
852
853 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
854
855 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
856 syntax for both `cfengine2-mode' and `cfengine3-mode'.
857
858 2013-03-20 Juri Linkov <juri@jurta.org>
859
860 * info.el (Info-next-reference-or-link)
861 (Info-prev-reference-or-link): New functions.
862 (Info-next-reference, Info-prev-reference): Use them.
863 (Info-try-follow-nearest-node): Handle footnote navigation.
864 (Info-fontify-node): Fontify footnotes. (Bug#13989)
865
866 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
867
868 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
869 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
870
871 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
872
873 Suppress unnecessary non-ASCII chatter during build process.
874 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
875 (batch-skkdic-convert): Suppress most of the chatter.
876 It's not needed so much now that machines are faster,
877 and its non-ASCII component was confusing; see Dmitry Gutov in
878 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
879
880 2013-03-20 Leo Liu <sdl.web@gmail.com>
881
882 * ido.el (ido-chop): Fix bug#10994.
883
884 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
885
886 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
887 Remove vars.
888 (whitespace-color-on, whitespace-color-off):
889 Use `font-lock-fontify-buffer' (Bug#13817).
890
891 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
892
893 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
894 remapping in mode-line.
895 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
896
897 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
898
899 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
900 value for `whitespace-line' face (Bug#13875).
901 (whitespace-font-lock-keywords): Change description.
902 (whitespace-color-on): Don't save `font-lock-keywords' value, save
903 the constructed keywords instead.
904 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
905
906 2013-03-19 Leo Liu <sdl.web@gmail.com>
907
908 * progmodes/compile.el (compilation-display-error): New command.
909 (compilation-mode-map, compilation-minor-mode-map): Bind it to
910 C-o. (Bug#13992)
911
912 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
913
914 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
915
916 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
917
918 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
919
920 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
921
922 * net/tramp-compat.el (tramp-compat-user-error): New defun.
923
924 * net/tramp-adb.el (tramp-adb-handle-shell-command):
925 * net/tramp-gvfs.el (top):
926 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
927 (tramp-handle-shell-command): Use it.
928 (tramp-dissect-file-name): Raise an error when hostname is a
929 method name, and neither method nor user is specified.
930
931 * net/trampver.el: Update release number.
932
933 2013-03-18 Leo Liu <sdl.web@gmail.com>
934
935 Make sure eldoc can be turned off properly.
936 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
937 eldoc-mode.
938 (eldoc-display-message-p): Revert last change.
939 (eldoc-display-message-no-interference-p)
940 (eldoc-print-current-symbol-info): Tweak.
941
942 2013-03-18 Tassilo Horn <tsdh@gnu.org>
943
944 * doc-view.el (doc-view-new-window-function): Check the new window
945 overlay's display property instead the char property of the
946 buffer's first char. Use `with-selected-window' instead of
947 `save-window-excursion' with `select-window'.
948 (doc-view-document->bitmap): Check the current doc-view overlay's
949 display property instead the char property of the buffer's first char.
950
951 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
952
953 Automate the build of ja-dic.el (Bug#13984).
954 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
955 from the input, rather than assume that it's been done for us by the
956 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
957 the current date into a ja-dic.el comment, as that complicates
958 regression testing.
959
960 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
961
962 * whitespace.el: Fix double evaluation.
963 (whitespace-space, whitespace-hspace, whitespace-tab)
964 (whitespace-newline, whitespace-trailing, whitespace-line)
965 (whitespace-space-before-tab, whitespace-indentation)
966 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
967 obsolete defvars.
968 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
969 (whitespace-color-on): Use a single font-lock-add-keywords call.
970 Fix double-evaluation of face variables.
971
972 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
973
974 * net/tramp-adb.el (tramp-adb-parse-device-names):
975 Use `start-process' instead of `call-process'. Otherwise, the
976 function might be blocked under MS Windows. (Bug#13299)
977
978 2013-03-17 Leo Liu <sdl.web@gmail.com>
979
980 Extend eldoc to display info in the mode-line. (Bug#13978)
981 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
982 (eldoc-mode-line-string): New variable.
983 (eldoc-minibuffer-message): New function.
984 (eldoc-message-function): New variable.
985 (eldoc-message): Use it.
986 (eldoc-display-message-p)
987 (eldoc-display-message-no-interference-p):
988 Support eldoc-post-insert-mode.
989
990 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
991 (eval-expression): Run it.
992
993 2013-03-17 Roland Winkler <winkler@gnu.org>
994
995 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
996 strings in the list of return values.
997
998 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
999
1000 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
1001 radix before checking for HMS forms.
1002
1003 2013-03-16 Leo Liu <sdl.web@gmail.com>
1004
1005 * progmodes/scheme.el: Add indentation and font-locking for λ.
1006 (Bug#13975)
1007
1008 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
1009
1010 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
1011 token before point (bug#13942).
1012
1013 2013-03-16 Leo Liu <sdl.web@gmail.com>
1014
1015 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
1016
1017 2013-03-16 Eli Zaretskii <eliz@gnu.org>
1018
1019 * startup.el (command-line-normalize-file-name): Fix handling of
1020 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
1021 <xfq.free@gmail.com> in
1022 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
1023
1024 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
1025
1026 Sync with Tramp 2.2.7.
1027
1028 * net/trampver.el: Update release number.
1029
1030 2013-03-14 Tassilo Horn <tsdh@gnu.org>
1031
1032 * doc-view.el Fix bug#13887.
1033 (doc-view-insert-image): Don't modify overlay associated to
1034 non-live windows, and implement horizontal centering of image in
1035 case it's smaller than the window.
1036 (doc-view-new-window-function): Force redisplay of new windows on
1037 doc-view buffers.
1038
1039 2013-03-13 Karl Fogel <kfogel@red-bean.com>
1040
1041 * saveplace.el (save-place-alist-to-file): Don't sort
1042 `save-place-alist', just pretty-print it (bug#13882).
1043
1044 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
1045
1046 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Check,
1047 whether `default-file-name-coding-system' is bound. It isn't in
1048 XEmacs.
1049
1050 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
1051
1052 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
1053 backquotes for `obsolete' (bug#13929).
1054
1055 * international/mule.el (find-auto-coding): Include file name in
1056 obsolescence warning (bug#13922).
1057
1058 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
1059
1060 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
1061 for CFEngine 3-specific indentation.
1062 (cfengine3-indent-line): Use it. Fix up category regex.
1063 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
1064
1065 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
1066
1067 * type-break.el (type-break-file-name):
1068 * textmodes/remember.el (remember-data-file):
1069 * strokes.el (strokes-file):
1070 * shadowfile.el (shadow-initialize):
1071 * saveplace.el (save-place-file):
1072 * ps-bdf.el (bdf-cache-file):
1073 * progmodes/idlwave.el (idlwave-config-directory):
1074 * net/quickurl.el (quickurl-url-file):
1075 * international/kkc.el (kkc-init-file-name):
1076 * ido.el (ido-save-directory-list-file):
1077 * emulation/viper.el (viper-custom-file-name):
1078 * emulation/vip.el (vip-startup-file):
1079 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
1080 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
1081
1082 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
1083
1084 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
1085 * language/thai-word.el: Switch to UTF-8.
1086
1087 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
1088
1089 * recentf.el (recentf-save-file): Use locate-user-emacs-file (bug#13870).
1090
1091 2013-03-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1092
1093 * net/net-utils.el (net-utils-remove-ctrl-m-filter):
1094 Use with-current-buffer and don't move point.
1095 (net-utils-run-simple): Remove useless code.
1096 (net-utils-remove-ctl-m): Remove unused custom.
1097
1098 2013-03-11 Per Starbäck <starback@stp.lingfil.uu.se>
1099
1100 * international/characters.el (glyphless-set-char-table-range): New fun.
1101 (update-glyphless-char-display): Use it (bug#13744).
1102
1103 2013-03-11 Teodor Zlatanov <tzz@lifelogs.com>
1104
1105 * progmodes/cfengine.el: Update for CFEngine 3.4.2 and higher:
1106 namespaces in the syntax, indent closer for hanging brace
1107 correctly, allow single-quote delimited 'strings', and make
1108 `cfengine3-mode' the default.
1109
1110 2013-03-11 Jean-Philippe Gravel <jpgravel@gmail.com>
1111
1112 * progmodes/gdb-mi.el: Speed up initialization (bug#10580).
1113 Use lexical-binding. Fix up docstring according to conventions.
1114 (gdbmi-debug-mode): New var.
1115 (gdbmi-start-with, gdbmi-same-start, gdbmi-is-number, gdbmi-bnf-init)
1116 (gdbmi-bnf-output, gdbmi-bnf-skip-unrecognized, gdbmi-bnf-gdb-prompt)
1117 (gdbmi-bnf-result-record, gdbmi-bnf-out-of-band-record)
1118 (gdbmi-bnf-async-record, gdbmi-bnf-stream-record)
1119 (gdbmi-bnf-console-stream-output, gdbmi-bnf-target-stream-output)
1120 (gdbmi-bnf-log-stream-output, gdbmi-bnf-result-and-async-record-impl)
1121 (gdbmi-bnf-incomplete-record-result): New functions.
1122 (gdb-car<): Remove function.
1123 (gdbmi-record-list): Remove variable.
1124 (gdbmi-bnf-state, gdbmi-bnf-offset): New vars.
1125 (gdbmi-bnf-result-state-configs): New const.
1126 (gud-gdbmi-marker-filter): Rewrite.
1127 (gdb-ignored-notification, gdb-thread-created, gdb-thread-exited)
1128 (gdb-thread-selected, gdb-running, gdb-starting, gdb-stopped):
1129 Add `token' argument.
1130 (gdb-done, gdb-error): New functions.
1131 (gdb-done-or-error): Add `is-complete' argument. Change arg order.
1132
1133 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
1134
1135 * term/xterm.el (xterm--report-background-handler): Don't burp
1136 upon timeout.
1137 (xterm--version-handler): Extract from terminal-init-xterm.
1138 (xterm--query): Don't mishandle timeout. Remove debugging messages.
1139 Allow multiple handlers.
1140 (terminal-init-xterm): Handle OSX's Terminal.app's incorrect answer.
1141
1142 * term/xterm.el: Don't discard input (bug#6758). Use lexical-binding.
1143 (xterm--report-background-handler, xterm--query): New functions.
1144 (terminal-init-xterm): Use them.
1145
1146 2013-03-11 Michael R. Mauger <michael@mauger.com>
1147
1148 * progmodes/sql.el Version 3.2
1149 Please note that my address changed to <michael@mauger.com>;
1150 the <mmaug@yahoo.com> address remains active.
1151 (sql-connection-alist): Updates documentation to fix bug#13715.
1152 (sql-connect): Handle missing `sql-connection-alist' correctly.
1153 (sql-mode-oracle-font-lock-keywords): Add missing keywords.
1154 (sql-magic-go, sql-magic-semicolon): Mark with `delete-selection'
1155 property.
1156 (sql-default-value): New function.
1157 (sql-get-login-ext, sql-get-login): Fixes bug where buffer-local
1158 values were not used.
1159 (sql-rename-buffer): Make sure alternate buffer name has no text
1160 properties.
1161 (sql-input-sender, sql-execute-feature): Fetch variable with
1162 `buffer-local-value' rather than `with-current-buffer'.
1163 (sql-*): Use #' function syntax consistently.
1164 (sql-*): Use message/error/user-error consistently.
1165
1166 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
1167
1168 * xt-mouse.el (xterm-mouse-event-read): Remove.
1169 (xterm-mouse--read-event-sequence-1000)
1170 (xterm-mouse--read-event-sequence-1006): Use read-event instead.
1171
1172 2013-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
1173
1174 * term/xterm.el (xterm-function-map): Support format used with
1175 formatOtherKeys=1 (bug#13839).
1176
1177 * emacs-lisp/byte-run.el (dont-compile): Declare obsolete.
1178 (with-no-warnings): Use `declare'.
1179
1180 * whitespace.el (whitespace-enable-predicate): New variable.
1181 (whitespace-enable-predicate): Use it.
1182
1183 * comint.el (comint-send-input, comint-snapshot-last-prompt)
1184 (comint-output-filter, comint-update-fence):
1185 Use with-silent-modifications.
1186
1187 2013-03-10 Jambunathan K <kjambunathan@gmail.com>
1188
1189 * replace.el (occur-read-regexp-defaults-function): New var.
1190 (occur-read-regexp-defaults): New defun.
1191 (occur-read-primary-args): Propagate above change (bug#13892).
1192
1193 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
1194
1195 * mouse.el (mouse-drag-track): Remove left-over debugging code.
1196
1197 2013-03-09 Michael Albinus <michael.albinus@gmx.de>
1198
1199 Major rewrite due to changed D-Bus interface of GVFS 1.14.
1200
1201 * net/tramp-gvfs.el (top): Extend check for gvfs availability.
1202 (tramp-gvfs-methods-mounttracker, tramp-gvfs-listmounts)
1203 (tramp-gvfs-mountlocation, tramp-gvfs-mountlocation-signature):
1204 New defconst.
1205 (tramp-gvfs-file-name-handler-alist) [directory-files]
1206 [directory-files-and-attributes, file-exists-p, file-modes]:
1207 Use Tramp default handler.
1208 [file-acl, file-selinux-context, process-file, set-file-acl]:
1209 [set-file-modes, set-file-selinux-context, shell-command]:
1210 [start-file-process]: Remove handler.
1211 [verify-visited-file-modtime]: New handler.
1212 (tramp-gvfs-dbus-string-to-byte-array)
1213 (tramp-gvfs-dbus-byte-array-to-string): New defuns. Replace all
1214 calls of `dbus-string-to-byte-array' and
1215 `tramp-gvfs-dbus-byte-array-to-string'.
1216 (tramp-gvfs-handle-copy-file)
1217 (tramp-gvfs-handle-delete-directory)
1218 (tramp-gvfs-handle-delete-file, tramp-gvfs-handle-file-attributes)
1219 (tramp-gvfs-handle-file-directory-p)
1220 (tramp-gvfs-handle-file-executable-p)
1221 (tramp-gvfs-handle-file-name-all-completions)
1222 (tramp-gvfs-handle-file-readable-p)
1223 (tramp-gvfs-handle-file-writable-p)
1224 (tramp-gvfs-handle-insert-directory)
1225 (tramp-gvfs-handle-insert-file-contents)
1226 (tramp-gvfs-handle-make-directory, tramp-gvfs-handle-rename-file)
1227 (tramp-gvfs-handle-set-visited-file-modtime)
1228 (tramp-gvfs-handle-write-region): Rewrite.
1229 (tramp-gvfs-handle-file-acl)
1230 (tramp-gvfs-handle-file-selinux-context)
1231 (tramp-gvfs-handle-process-file, tramp-gvfs-handle-set-file-acl)
1232 (tramp-gvfs-handle-set-file-modes)
1233 (tramp-gvfs-handle-set-file-selinux-context)
1234 (tramp-gvfs-handle-shell-command)
1235 (tramp-gvfs-handle-start-file-process)
1236 (tramp-gvfs-handle-verify-visited-file-modtime): Remove defuns.
1237 (tramp-gvfs-url-file-name): Do not use `file-truename', we work
1238 over the symlinks. Fix user handling.
1239 (top, tramp-gvfs-handler-mounted-unmounted): Handle different names
1240 of the D-Bus signals.
1241 (tramp-gvfs-connection-mounted-p): Handle different names of the
1242 D-Bus methods.
1243 (tramp-gvfs-mount-spec-entry): New defun.
1244 (tramp-gvfs-mount-spec): Use it.
1245 (tramp-gvfs-maybe-open-connection): Check, that in case of "smb"
1246 there is a share name. Handle different names of the D-Bus
1247 signals and methods. Set connection properties needed for
1248 `tramp-check-cached-permissions'.
1249 (tramp-gvfs-send-command): Apply `tramp-gvfs-maybe-open-connection'.
1250 Return t or nil.
1251
1252 * net/tramp.el (tramp-backtrace): Move up.
1253 (tramp-error): Dump a backtrace into the debug buffer when
1254 `tramp-verbose > 9.
1255 (tramp-file-mode-type-map, tramp-file-mode-from-int)
1256 (tramp-file-mode-permissions, tramp-get-local-uid)
1257 (tramp-get-local-gid, tramp-check-cached-permissions): Move from
1258 tramp-sh.el.
1259
1260 * net/tramp-sh.el (tramp-file-mode-type-map)
1261 (tramp-check-cached-permissions, tramp-file-mode-from-int)
1262 (tramp-file-mode-permissions, tramp-get-local-uid)
1263 (tramp-get-local-gid): Move to tramp.el.
1264
1265 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
1266
1267 Separate mouse-1-click-follows-link from mouse-drag-region.
1268 * mouse.el (mouse--down-1-maybe-follows-link): New function.
1269 (key-translation-map): Use it to implement mouse-1-click-follows-link.
1270 (mouse-drag-line, mouse-drag-track):
1271 Remove mouse-1-click-follows-link code.
1272 (mouse--remap-link-click-p): Remove.
1273
1274 2013-03-08 Jambunathan K <kjambunathan@gmail.com>
1275
1276 * hi-lock.el (hi-lock-read-regexp-defaults-function): New var.
1277 (hi-lock-read-regexp-defaults): New defun.
1278 (hi-lock-line-face-buffer, hi-lock-face-buffer)
1279 (hi-lock-face-phrase-buffer): Propagate above change.
1280 Update docstring (bug#13892).
1281
1282 * subr.el (find-tag-default-as-regexp): New defun.
1283 * replace.el (read-regexp): Propagate above change.
1284
1285 2013-03-08 Jay Belanger <jay.p.belanger@gmail.com>
1286
1287 * calc/calc-units.el (calc-convert-units): Fix the way that default
1288 new units are stored.
1289
1290 2013-03-07 Matthias Meulien <orontee@gmail.com>
1291
1292 * bookmark.el: Define a face to highlight bookmark names in
1293 bookmark menu buffers, where the default is a bold face similarly
1294 to buffer names in buffer menu buffers.
1295 (bookmark-menu-bookmark): New face to highlight bookmark names.
1296 (bookmark-insert-location): Remove duplicated text property to
1297 conform to buffer list (see `list-buffers').
1298 (bookmark-bmenu-list, bookmark-bmenu-hide-filenames): Apply face
1299 `bookmark-menu-bookmark' to bookmark names.
1300
1301 2013-03-07 Matthias Meulien <orontee@gmail.com>
1302 Karl Fogel <kfogel@red-bean.com>
1303
1304 * bookmark.el: Display the bookmark list header similarly to the
1305 buffer list header (see `list-buffers'), where the default is now
1306 an immovable/immutable header line.
1307 (bookmark-bmenu-use-header-line): New variable.
1308 (bookmark-bmenu-inline-header-height): New name for
1309 `bookmark-bmenu-header-height', to avoid confusion with the code
1310 for the new immovable header. All references changed.
1311 (bookmark-bmenu-set-header): New function.
1312 (bookmark-bmenu-list, bookmark-bmenu-toggle-filenames):
1313 Conditionalize header construction accordingly.
1314 (bookmark-bmenu-ensure-position): Conditionalize the skipping of
1315 the inline header height.
1316 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
1317 Conditionalize the skipping of the inline header height.
1318
1319 2013-03-07 Dmitry Gutov <dgutov@yandex.ru>
1320
1321 * progmodes/js.el (js--multi-line-declaration-indentation):
1322 Merge from js2-mode (https://github.com/mooz/js2-mode/issues/89).
1323
1324 2013-03-06 Dmitry Gutov <dgutov@yandex.ru>
1325
1326 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1327 Only propertize regexp when not inside a string (Bug#13885).
1328
1329 2013-03-06 Alan Mackenzie <acm@muc.de>
1330
1331 Correct the position of point in some line-up functions.
1332 * progmodes/cc-align.el (c-lineup-whitesmith-in-block)
1333 (c-lineup-assignments, c-lineup-gcc-asm-reg ): take position of
1334 point at column 0 rather than at a random place in the line.
1335
1336 2013-03-05 Michael Albinus <michael.albinus@gmx.de>
1337
1338 * net/tramp-compat.el (tramp-compat-delete-directory):
1339 Implement TRASH argument.
1340
1341 2013-03-05 Dmitry Gutov <dgutov@yandex.ru>
1342
1343 Keep pre-existing highlighting in completion candidates (Bug#13250).
1344 * minibuffer.el (completions-first-difference): State that the
1345 face is "added" in the docstring.
1346 (completions-common-part): Same. And don't inherit from default.
1347 (completion-hilit-commonality): Prepend 'completions-common-part
1348 and 'completion-first-difference faces to the 'face property,
1349 instead of replacing the value(s).
1350 (completion--insert-strings): Same with 'completions-annotations face.
1351 (completion-hilit-commonality): Use 'face instead of
1352 'font-lock-face, because it gets priority if the completion
1353 strings already have 'face set.
1354
1355 2013-03-04 Alan Mackenzie <acm@muc.de>
1356
1357 Replace `last-command-event' by `last-command-char' in XEmacs.
1358 * progmodes/cc-defs.el (c-last-command-char): New macro.
1359 * progmodes/cc-align.el (c-semi&comma-inside-parenlist)
1360 (c-semi&comma-no-newlines-before-nonblanks)
1361 (c-semi&comma-no-newlines-for-oneline-inliners): Use the new macro
1362 in place of `last-command-event'.
1363 * progmodes/cc-cmds.el (c-electric-pound, c-electric-brace)
1364 (c-electric-slash, c-electric-semi&comma, c-electric-lt-gt)
1365 (c-electric-paren, c-electric-continued-statement): Use the new
1366 macro in place of `last-command-event'.
1367
1368 2013-03-04 Glenn Morris <rgm@gnu.org>
1369
1370 * files.el (inhibit-local-variables-regexps):
1371 Add .diff and .patch. (Bug#13862)
1372
1373 2013-03-03 Michael Albinus <michael.albinus@gmx.de>
1374
1375 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Cache,
1376 whether the "su" command is available on the device.
1377
1378 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
1379
1380 * net/tramp-adb.el (tramp-adb-prompt): Extend regexp.
1381 (tramp-adb-handle-process-file): Remove superfluous setting.
1382 (tramp-adb-command-exit-status): Handle case that COMMAND is nil.
1383 (tramp-adb-barf-unless-okay): Use `tramp-adb-command-exit-status'.
1384 (tramp-adb-maybe-open-connection): Apply "su" if user is defined.
1385
1386 2013-03-01 Stefan Monnier <monnier@iro.umontreal.ca>
1387
1388 * textmodes/ispell.el: Fix nitpicks and byte-compiler warnings.
1389 (ispell-print-if-debug): Build `format' in. Avoid end-of-buffer.
1390 (ispell-parse-hunspell-affix-file): Avoid beginning-of-buffer.
1391 Use dict-key rather than dict-name for the error message.
1392
1393 2013-03-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1394
1395 * net/net-utils.el (net-utils-run-simple): Don't display-buffer
1396 when reverting (bug#13831).
1397
1398 2013-03-01 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1399
1400 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
1401 Always expand affix-file before storing to protect against changed
1402 `default-directory'.
1403 (ispell-print-if-debug): Make sure message is printed at the end
1404 of the debug buffer.
1405
1406 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
1407
1408 * net/tramp.el (tramp-obsolete-methods): New defconst.
1409 (tramp-warned-obsolete-methods): New defvar.
1410 (tramp-find-method): Check for obsolete methods. Map them to a
1411 replacement method if appropriate.
1412
1413 * net/tramp-sh.el (tramp-methods) [scp1, scp2, ssh1, ssh2, plink1]:
1414 Remove methods.
1415 (top): Remove completion functions for "scp1", "scp2", "ssh1",
1416 "ssh2" and "plink1".
1417
1418 2013-02-28 Dale Sedivec <dale@codefu.org>
1419
1420 * textmodes/sgml-mode.el (sgml-syntax-propertize-function):
1421 Return valid syntax-table property value when converting
1422 quotes within text from string syntax to punctuation syntax (bug#13844).
1423
1424 2013-02-28 Juri Linkov <juri@jurta.org>
1425
1426 * dired-aux.el (dired-diff): If file at point is a backup file,
1427 use its original as the default value, and reverse the order
1428 of arguments to the `diff' call. Doc fix. (Bug#13772)
1429
1430 2013-02-28 Michael Albinus <michael.albinus@gmx.de>
1431
1432 * net/tramp-adb.el (tramp-adb-sdk-dir): Remove. Replaced by ...
1433 (tramp-adb-program): New defcustom. Remove function. Adapt calls.
1434
1435 2013-02-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1436
1437 Initial support for hunspell dictionaries auto-detection (Bug#13639)
1438
1439 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
1440 Ask hunspell about available and default dictionaries.
1441 (ispell-parse-hunspell-affix-file): Extract relevant info from
1442 hunspell affix file.
1443 (ispell-hunspell-fill-dictionary-entry): Fill non-initialized
1444 `ispell-dictionary-alist' entry for given dictionary after info
1445 provided by `ispell-parse-hunspell-affix-file'.
1446 (ispell-hunspell-dict-paths-alist): New defvar to contain an alist
1447 of parsed hunspell dicts and associated affix files.
1448 (ispell-hunspell-dictionary-alist): New defvar to contain an alist
1449 of parsed hunspell dicts and associated parameters.
1450 (ispell-set-spellchecker-params):
1451 Call `ispell-find-hunspell-dictionaries' if hunspell and not
1452 previously done.
1453 (ispell-start-process):
1454 Call `ispell-hunspell-fill-dictionary-entry' for current
1455 dictionary if it is not initialized.
1456
1457 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
1458
1459 * imenu.el: Comment nitpicks.
1460
1461 2013-02-28 Sam Steingold <sds@gnu.org>
1462
1463 * vc/diff-mode.el (diff-hunk-file-names): Handle filenames with spaces.
1464 See <http://stackoverflow.com/questions/14720205>.
1465
1466 2013-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1467
1468 * net/net-utils.el (net-utils--revert-function): New fun (bug#13831).
1469 (net-utils-mode): Use it.
1470 (net-utils--revert-cmd): New var.
1471 (net-utils-run-simple): Set it, and remove bogus interactive spec.
1472 (traceroute): Use net-utils-run-simple.
1473
1474 2013-02-28 Glenn Morris <rgm@gnu.org>
1475
1476 * textmodes/paragraphs.el (mark-paragraph): Doc fix.
1477
1478 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
1479
1480 * doc-view.el: Preserve h&v scroll across C-c C-c C-c C-c.
1481 (doc-view-fallback-mode): Remove overlays here.
1482 (doc-view-toggle-display): Instead of here. Don't throw away
1483 image-mode-winprops-alist.
1484 (doc-view-goto-page): Don't mess with hscroll.
1485
1486 2013-02-27 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1487
1488 * font-lock.el (lisp-font-lock-keywords-2): Fix highlighting of
1489 &optional (bug#13819).
1490
1491 2013-02-27 Michael Albinus <michael.albinus@gmx.de>
1492
1493 * net/tramp-adb.el (tramp-adb-parse-device-names)
1494 (tramp-adb-maybe-open-connection): Add timeouts. (Bug#13299)
1495
1496 2013-02-26 Michael Albinus <michael.albinus@gmx.de>
1497
1498 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
1499 Add "2>/dev/null" to the ls command, in case "en_US.utf8" is not
1500 defined. POSIX environments fall back to the "C" locale then and
1501 emit a warning, which shall be suppressed.
1502
1503 2013-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
1504
1505 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): Tweak logic.
1506 (easy-mmode-set-keymap-parents): Use make-composed-keymap.
1507
1508 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
1509
1510 * emacs-lisp/bytecomp.el (byte-compile-file): Use let.
1511
1512 2013-02-25 Juri Linkov <juri@jurta.org>
1513
1514 * replace.el (read-regexp): Let-bind `default' to the first
1515 element of `defaults' if it's a list, otherwise it should be
1516 a string or nil. Let-bind `suggestions' to `defaults' if it's
1517 a list, otherwise make a list with the string value. Doc fix.
1518 (Bug#13805)
1519
1520 2013-02-25 Eli Zaretskii <eliz@gnu.org>
1521
1522 * emacs-lisp/bytecomp.el (byte-recompile-directory): Reject files
1523 that match "\`\.#", to avoid compiling lock files, even if they
1524 are readable (as they are on MS-Windows).
1525
1526 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
1527
1528 * files.el (basic-save-buffer): Remove redundant directory-creation.
1529
1530 2013-02-24 Jay Belanger <jay.p.belanger@gmail.com>
1531
1532 * calc/calc-ext.el (math-to-radians-2, math-from-radians-2):
1533 Add option to force `pi' to remain symbolic.
1534 * calc/calcalg2.el (calcFunc-sin, calcFunc-cos, calcFunc-tan)
1535 (calcFunc-cot, calcFunc-csc, calcFunc-sec, calcFunc-arcsin)
1536 (calcFunc-arccos, calcFunc-arctan): Use symbolic `pi' in the
1537 derivatives, when necessary.
1538
1539 2013-02-23 Peter Kleiweg <p.c.j.kleiweg@rug.nl>
1540
1541 * progmodes/ps-mode.el (ps-mode-version): Bump to 1.1i.
1542 (ps-mode-octal-region): Use string-make-unibyte.
1543
1544 2013-02-23 Glenn Morris <rgm@gnu.org>
1545
1546 * emulation/viper-cmd.el (viper-submit-report):
1547 * progmodes/ps-mode.el (ps-mode-maintainer-address):
1548 * progmodes/vera-mode.el (vera-mode-help-address):
1549 * textmodes/artist.el (artist-maintainer-address):
1550 * textmodes/reftex.el (reftex-report-bug):
1551 * vc/ediff-util.el (ediff-submit-report):
1552 Add bug-gnu-emacs to bug report address.
1553
1554 * progmodes/simula.el (simula-mode-menu, simula-mode-map):
1555 Remove bug report entries.
1556 (simula-mode-help-address, simula-submit-bug-report): Make obsolete.
1557
1558 * emacs-lisp/bytecomp.el (byte-compile-level): New.
1559 (byte-compile-file, byte-compile-from-buffer):
1560 Use separate input/output buffers for each level of recursive
1561 byte-compile-file calls. (Bug#13787)
1562
1563 2013-02-23 Michael Albinus <michael.albinus@gmx.de>
1564
1565 * net/tramp.el (tramp-methods): Fix docstring.
1566 (tramp-ssh-controlmaster-options): Rename it from
1567 `tramp-ssh-controlmaster-template'. Return a string.
1568 (tramp-default-method): Adapt check for
1569 `tramp-ssh-controlmaster-options'.
1570
1571 * net/tramp-sh.el (tramp-methods):
1572 Replace `tramp-ssh-controlmaster-template' by "%c".
1573 (tramp-do-copy-or-rename-file-out-of-band)
1574 (tramp-maybe-open-connection): Use it in format spec. Ensure,
1575 that it is applied for the first hop only.
1576
1577 2013-02-22 Juri Linkov <juri@jurta.org>
1578
1579 * isearch.el (isearch-lazy-highlight-new-loop):
1580 Set `isearch-lazy-highlight-start' and `isearch-lazy-highlight-end'
1581 to `isearch-other-end' if it is not nil. (Bug#13402)
1582
1583 * replace.el (replace-highlight): Let-bind `isearch-other-end'
1584 to `match-beg'.
1585
1586 * textmodes/ispell.el (ispell-highlight-spelling-error-overlay):
1587 Let-bind `isearch-other-end' to `start', `isearch-forward' to t
1588 and `isearch-error' to nil.
1589
1590 2013-03-16 Fabián Ezequiel Gallina <fgallina@cuca>
1591
1592 * progmodes/python.el (python-info-current-defun):
1593 Enhance match-data cluttering prevention.
1594
1595 2013-02-22 Michael Albinus <michael.albinus@gmx.de>
1596
1597 * net/tramp.el (tramp-tramp-file-p): Fix docstring.
1598
1599 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
1600 Handle multibyte file names.
1601
1602 2013-02-22 Glenn Morris <rgm@gnu.org>
1603
1604 * textmodes/sgml-mode.el (sgml-xml-mode): Move before use.
1605 (sgml-transformation-function): Give it a :set function.
1606 (sgml-tag): Doc fix.
1607
1608 * cmuscheme.el (scheme-buffer):
1609 * progmodes/inf-lisp.el (inferior-lisp-buffer):
1610 * progmodes/tcl.el (inferior-tcl-buffer):
1611 * textmodes/tex-mode.el (tex-command): Doc fixes.
1612
1613 * image-mode.el (image-mode): Add mouse bindings for mode-line-process.
1614
1615 * htmlfontify.el (hfy-default-header): Encode title string. (Bug#7457)
1616
1617 2013-02-21 Bastien Guerry <bzg@gnu.org>
1618
1619 * cmuscheme.el (scheme-buffer): Fix docstring. (Bug#13778)
1620
1621 2013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
1622
1623 * progmodes/python.el (python-info-current-defun):
1624 Enhance match-data cluttering prevention.
1625
1626 2013-02-21 Glenn Morris <rgm@gnu.org>
1627
1628 * net/tramp.el (tramp-get-debug-buffer): Ensure outline.el is not
1629 loaded while outline-regexp is let bound. (Bug#9584)
1630
1631 2013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
1632
1633 * progmodes/python.el (python-info-current-defun): Fix failed
1634 defun name retrieval because of unwanted match-data cluttering.
1635
1636 2013-02-21 Michael Albinus <michael.albinus@gmx.de>
1637
1638 * net/tramp.el (tramp-ssh-controlmaster-template): Make it a
1639 defconst. Apply independent check for ControlPersist.
1640
1641 * net/tramp-sh.el (tramp-sh-handle-set-file-times): Set $UTC only
1642 temporarily, via "env".
1643
1644 2013-02-21 Glenn Morris <rgm@gnu.org>
1645
1646 * info.el (Info-enable-edit): Remove.
1647 (Info-edit): Disable it rather than using Info-enable.
1648 (Info-edit-mode-hook, Info-edit-map, Info-edit-mode, Info-edit)
1649 (Info-cease-edit): Make editing of Info files obsolete.
1650
1651 * informat.el (Info-tagify):
1652 Handle buffers not visiting files. (Bug#13763)
1653
1654 2013-02-21 Juanma Barranquero <lekktu@gmail.com>
1655
1656 * calc/calc-graph.el (calc-graph-show-dumb): Fix typo.
1657
1658 2013-02-21 Glenn Morris <rgm@gnu.org>
1659
1660 * files.el (basic-save-buffer): Move check for existing parent
1661 directory after hooks. (Bug#13773)
1662
1663 2013-02-20 Stefan Monnier <monnier@iro.umontreal.ca>
1664
1665 * simple.el (command-execute): Move from C. Add obsolete check.
1666 (extended-command-history): Move from C.
1667
1668 2013-02-20 Ulrich Müller <ulm@gentoo.org>
1669
1670 * jka-cmpr-hook.el (jka-compr-compression-info-list)
1671 (jka-compr-mode-alist-additions): Handle .txz suffix for
1672 XZ-compressed tar archives (bug#13770).
1673
1674 2013-02-20 Bastien Guerry <bzg@gnu.org>
1675
1676 * outline.el (outline-regexp, outline-heading-end-regexp):
1677 Make variables, not options (bug#13731).
1678
1679 2013-02-20 Glenn Morris <rgm@gnu.org>
1680
1681 * image.el (image-current-frame): Change from variable to function.
1682 (image-show-frame): Rename from image-nth-frame. Update callers.
1683 * image-mode.el (image-multi-frame): New variable.
1684 (image-mode-map, image-mode, image-goto-frame):
1685 Use image-multi-frame rather than image-current-frame.
1686 (image-mode, image-goto-frame): Use image-current-frame as
1687 function rather than as variable.
1688
1689 * emacs-lisp/cl-lib.el (cl-floatp-safe): Make it an alias for floatp.
1690 * emacs-lisp/cl-macs.el (cl--make-type-test)
1691 (cl--compiler-macro-assoc): Use floatp rather than cl-floatp-safe.
1692
1693 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
1694
1695 * net/tramp-cache.el (tramp-get-hash-table): New defun.
1696 (tramp-get-file-property, tramp-set-file-property)
1697 (tramp-get-connection-property, tramp-set-connection-property): Use it.
1698 (tramp-flush-file-property, tramp-flush-directory-property):
1699 Rename argument to KEY.
1700 (tramp-flush-connection-property): Simplify a little bit.
1701 (tramp-connection-property-p): New defun.
1702 (top): Reapply saved values only if there isn't a corresponding
1703 entry in `tramp-connection-properties'.
1704
1705 2013-02-19 Fabián Ezequiel Gallina <fgallina@cuca>
1706
1707 * progmodes/python.el (python-indent-context):
1708 Fix python-info-line-ends-backslash-p call.
1709 (python-info-line-ends-backslash-p)
1710 (python-info-beginning-of-backslash): Respect line-number argument.
1711 (python-info-current-line-comment-p):
1712 Fix behavior when not at beginning-of-line.
1713 (python-util-position): Remove function.
1714 (python-util-goto-line): New function.
1715
1716 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
1717
1718 * eshell/em-unix.el (eshell/su): Require tramp.
1719 (eshell/sudo): Require tramp. Remove now unnecessary check.
1720
1721 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Let-bind
1722 `tramp-current-connection' in order to avoid an error when several
1723 commands are invoked in a short time in eshell and friends.
1724
1725 2013-02-19 Stefan Monnier <monnier@iro.umontreal.ca>
1726
1727 Cleanup some of EIEIO's namespace.
1728 * emacs-lisp/eieio.el (eieio--define-field-accessors): New macro.
1729 Use it to define all the class-* and object-* field accessors (renamed
1730 to eieio--class-* and eieio--object-*). Update all uses.
1731 (eieio--class-num-slots, eieio--object-num-slots): Rename from
1732 class-num-slots and object-num-slots.
1733 (eieio--check-type): New macro.
1734 (eieio-defclass, eieio-oref, eieio-oref-default, same-class-p)
1735 (object-of-class-p, child-of-class-p, object-slots, class-slot-initarg)
1736 (eieio-oset, eieio-oset-default, object-assoc, object-assoc-list)
1737 (object-assoc-list-safe): Use it.
1738 (eieio-defclass): Tighten regexp.
1739 (eieio--defmethod): Use `memq'. Signal an error for unknown method kind.
1740 Remove unreachable code.
1741 (object-class-fast): Declare obsolete.
1742 (eieio-class-name, eieio-object-name, eieio-object-set-name-string)
1743 (eieio-object-class, eieio-object-class-name, eieio-class-parents)
1744 (eieio-class-children, eieio-class-precedence-list, eieio-class-parent):
1745 Rename from class-name, object-name, object-set-name-string,
1746 object-class, object-class-name, class-parents, class-children,
1747 class-precedence-list, class-parent; with obsolete alias.
1748 (class-of, class-direct-superclasses, class-direct-subclasses):
1749 Declare obsolete.
1750 (eieio-defmethod): Use `memq'; remove unreachable code.
1751 * emacs-lisp/eieio-base.el (eieio-persistent-read):
1752 * emacs-lisp/eieio-opt.el (eieio-class-button, eieio-describe-generic)
1753 (eieio-browse-tree, eieio-browse): Use eieio--check-type.
1754
1755 2013-02-18 Aidan Gauland <aidalgol@no8wireless.co.nz>
1756
1757 * eshell/em-cmpl.el: Correct "context-related help" keybinding in
1758 commentary.
1759
1760 2013-02-18 Michael Heerdegen <michael_heerdegen@web.de>
1761
1762 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument):
1763 Use font-lock-keyword-face for macros and special forms (bug#8345).
1764
1765 2013-02-17 Didier Verna <didier@didierverna.net>
1766
1767 * net/network-stream.el (network-stream-open-starttls):
1768 Check that response to the starttls-command is non-nil. (Bug#13706)
1769
1770 2013-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
1771
1772 * font-lock.el (lisp-font-lock-keywords-1, lisp-font-lock-keywords-2):
1773 Don't assume all identifier chars have syntax word.
1774 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
1775 Remove bar-not-symbol. Adjust callers.
1776 (lisp-mode-variables): Don't set a font-lock-syntax-table.
1777
1778 2013-02-17 Leo Liu <sdl.web@gmail.com>
1779
1780 * net/rcirc.el (rcirc-keepalive): Fix invalid timer error.
1781
1782 2013-02-17 Glenn Morris <rgm@gnu.org>
1783
1784 * menu-bar.el (menu-bar-tools-menu): Fix case of EDE entry.
1785
1786 * image-mode.el (image-mode-map): Add image-dired menu entry.
1787
1788 * image-dired.el (tumme): Make this alias obsolete.
1789
1790 2013-02-16 Glenn Morris <rgm@gnu.org>
1791
1792 * image.el (image-animated-types): Remove.
1793 (image-multi-frame-p): Rename from image-animated-p, and generalize.
1794 (image-animated-p): Make obsolete alias.
1795 (image-animate, image-nth-frame, image-animate-timeout):
1796 Use image-multi-frame-p.
1797 (image-animate-timeout): If no delay, use image-default-frame-delay.
1798 * image-mode.el (image-mode, image-toggle-animation):
1799 Use image-multi-frame-p. (Bug#763, bug#10739)
1800 (image-mode): Adjust startup message for a multi-frame image.
1801
1802 * image-mode.el (image-mode-map): Give it a menu.
1803
1804 2013-02-16 Michael Albinus <michael.albinus@gmx.de>
1805
1806 * net/tramp-cache.el (tramp-connection-properties): New customer
1807 option.
1808 (tramp-get-connection-property): Use it.
1809
1810 * net/tramp-compat.el (top): Require 'trampver.
1811
1812 * net/tramp-sh.el (tramp-remote-process-environment):
1813 Set tramp-autoload cookie.
1814
1815 2013-02-16 Kevin Ryde <user42@zip.com.au>
1816
1817 * info-look.el (info-lookup-select-mode): If major-mode has no
1818 info-lookup-alist entry then search up derived-mode-parent (bug#8660).
1819
1820 2013-02-16 Jambunathan K <kjambunathan@gmail.com>
1821
1822 * replace.el (read-regexp): Tighten the regexp that matches tag.
1823 When tag is retrieved with `find-tag-default', use regexp that
1824 matches tag at point. Also update docstring (Bug#13687).
1825
1826 2013-02-16 Eli Zaretskii <eliz@gnu.org>
1827
1828 * autorevert.el (auto-revert-notify-add-watch): With 'w32notify',
1829 add watch for the file, not its parent directory, since w32notify
1830 sets up the watch for the directory internally. (Bug#13725)
1831
1832 2013-02-16 Glenn Morris <rgm@gnu.org>
1833
1834 * image.el (image-default-frame-delay): New variable.
1835 (image-animated-p): Use image-default-frame-delay.
1836 (image-minimum-frame-delay): New constant.
1837 (image-animate-timeout): Use image-minimum-frame-delay.
1838
1839 * image.el (image-nth-frame): New, split from image-animate-timeout.
1840 (image-animate-timeout): Use image-nth-frame.
1841 * image-mode.el (image-goto-frame, image-next-frame)
1842 (image-previous-frame): New commands.
1843 (image-mode-map): Add new frame commands.
1844
1845 2013-02-16 Jonas Bernoulli <jonas@bernoul.li>
1846
1847 * emacs-lisp/tabulated-list.el (tabulated-list-print-col):
1848 If col-desc already has help-echo, use it. (Bug#13563)
1849
1850 2013-02-16 Glenn Morris <rgm@gnu.org>
1851
1852 * image.el (image-current-frame): New variable.
1853 (image-animate-timeout): Set image-current-frame.
1854 * image-mode.el (image-mode): For animated images,
1855 display a frame counter via mode-line-process.
1856
1857 * font-lock.el (lisp-font-lock-keywords-1): Add defvar-local.
1858
1859 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
1860
1861 * simple.el (eval-expression): Let `exp' set the mark (bug#13724).
1862
1863 2013-02-15 Alan Mackenzie <acm@muc.de>
1864
1865 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): When a
1866 global minor mode has been enabled, call the minor mode function
1867 for a new buffer once only, after the major mode hook, whilst
1868 allowing that hook explicitly to disable the minor mode.
1869 (MODE-disable-in-buffer): New (generated) function.
1870 (disable-MODE): New (generated) buffer local variable.
1871
1872 2013-02-15 Jambunathan K <kjambunathan@gmail.com>
1873
1874 * iswitchb.el (iswitchb-read-buffer): Bind `C-.' and `C-,' to
1875 `iswitchb-next-match' and `iswitchb-prev-match' resply.
1876 * ido.el (ido-init-completion-maps): Bind `C-.' and `C-,' to
1877 `ido-next-match' and `ido-prev-match' resply.
1878 * icomplete.el (icomplete-minibuffer-map): Unbind `C-s' and `C-r'.
1879 Bind `C-.' and `C-,' to `icomplete-forward-completions' and
1880 `icomplete-backward-completions' (Bug#13708).
1881
1882 2013-02-15 Glenn Morris <rgm@gnu.org>
1883
1884 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
1885
1886 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
1887
1888 * net/goto-addr.el (goto-address-fontify): Add start and end args.
1889 (goto-address-fontify-region): Use them instead of narrowing, so
1890 syntax-ppss has access to the whole buffer.
1891
1892 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
1893
1894 * progmodes/python.el: Explain how to restore "cc-mode"-like
1895 forward-sexp movement in header documentation (Bug#13642).
1896 (python-nav--forward-sexp): Behave like emacs-lisp-mode in
1897 comments and strings (GH bug 114).
1898
1899 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
1900
1901 * progmodes/python.el (python-info-current-defun): Fix current
1902 defun detection (Bug#13618).
1903
1904 2013-02-15 Chong Yidong <cyd@gnu.org>
1905
1906 * xml.el (xml-parse-string): Fix typo in handling of bad character
1907 references.
1908
1909 2013-02-15 Glenn Morris <rgm@gnu.org>
1910
1911 * play/fortune.el (fortune-compile): Simplify and fix previous change.
1912
1913 2013-02-14 Michael Albinus <michael.albinus@gmx.de>
1914
1915 * net/tramp.el (tramp-debug-message):
1916 Add `tramp-condition-case-unless-debug'.
1917 (tramp-debug-on-error): New defvar.
1918 (tramp-condition-case-unless-debug): New defun.
1919 (tramp-file-name-handler): Use it.
1920
1921 2013-02-14 Juri Linkov <juri@jurta.org>
1922
1923 * info.el (Info-isearch-filter): Treat non-nil values of
1924 `search-invisible' including its default value `open'
1925 like the value `t' to match hidden text. (Bug#13402)
1926
1927 2013-02-14 Glenn Morris <rgm@gnu.org>
1928
1929 * help-fns.el (find-lisp-object-file-name): Give special treatment
1930 to all ~/.foo.elc files, not just ~/.emacs. (Bug#9007)
1931
1932 2013-02-14 David Biesack <sasdjb@d72933.na.sas.com> (tiny change)
1933
1934 * net/quickurl.el (quickurl-save-urls):
1935 Ensure quickurl-urls is not truncated on printing. (Bug#9276)
1936
1937 2013-02-14 Dmitry Gutov <dgutov@yandex.ru>
1938
1939 * progmodes/ruby-mode.el (ruby-parse-partial): Don't increase
1940 depth for unfinished percent literal. Not using it in the caller.
1941 (ruby-move-to-block): Jump over multiline literals of all types,
1942 ignoring code-looking contents inside them.
1943 (ruby-add-log-current-method): Improve performance at the expense
1944 of accuracy. `ruby-block-contains-point' is relatively slow, so
1945 only use it for method and singleton class blocks.
1946
1947 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
1948
1949 Use ControlMaster where applicable. (Bug#13677)
1950
1951 * net/tramp.el (tramp-ssh-controlmaster-template): New defvar,
1952 replacing `tramp-detect-ssh-controlmaster'.
1953 (tramp-default-method): Use it.
1954
1955 * net/tramp-sh.el (tramp-methods) [scp, scp1, scp2, scpx, sftp]:
1956 [rsync, ssh, ssh1, ssh2, sshx]: Add ControlPath and ControlMaster
1957 arguments.
1958 [scpc, rsyncc]: Remove methods.
1959 (top): Remove completion functions for "scpc", "rsyncc", "ssh1_old"
1960 and "ssh2_old".
1961 (tramp-do-copy-or-rename-file-out-of-band): Change trace level.
1962 (tramp-maybe-open-connection): Reuse tmpfile for ControlPath.
1963
1964 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
1965
1966 * emacs-lisp/package.el (package--initialized): Move before first use.
1967
1968 2013-02-13 Jambunathan K <kjambunathan@gmail.com>
1969
1970 * icomplete.el (icomplete-hide-common-prefix): New user option.
1971 (icomplete-first-match): New face.
1972 (icomplete-completions): Correct handling of "complete but not
1973 unique" (Bug#12638).
1974
1975 2013-02-13 YE Qianchuan <stool.ye@gmail.com> (tiny change)
1976
1977 * descr-text.el (describe-char): Display the script (bug#13698).
1978
1979 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
1980
1981 * tmm.el: Use lexical-binding and current-active-maps.
1982 (tmm-menubar): Use map-keymap and pcase.
1983 (tmm--completion-table): New function.
1984 (tmm-prompt): Use it to fix the menu order.
1985 (tmm-get-keybind): Use current-active-maps.
1986
1987 2013-02-12 Christopher Schmidt <christopher@ch.ristopher.com>
1988
1989 Add dired-hide-details-mode. (Bug#6799)
1990
1991 * locate.el (locate-mode): Set parent mode property to dired-mode.
1992
1993 * find-dired.el (find-dired): Call dired-insert-set-properties on
1994 initial information line. Set process mark on end of buffer.
1995 (find-dired-sentinel):
1996 Call dired-insert-set-properties on summary.
1997
1998 * dired.el (dired-hide-details-hide-symlink-targets)
1999 (dired-hide-details-hide-information-lines): New options.
2000 (dired-insert-directory):
2001 Set properties after final treatment of output.
2002 (dired-insert-set-properties):
2003 Set dired-hide-details-* properties.
2004 (dired-mode-map): Bind dired-hide-details-mode.
2005 (dired-mode): Set buffer-invisibility-spec to a list.
2006 (dired-next-line): Skip hidden lines.
2007 (dired-previous-line): Use dired-next-line.
2008 (dired-hide-details-mode): New minor mode.
2009 (dired-hide-details-update-invisibility-spec): New function.
2010
2011 2013-02-13 Glenn Morris <rgm@gnu.org>
2012
2013 * play/yow.el: Move to obsolete/. (Bug#9384)
2014
2015 2013-02-13 Juri Linkov <juri@jurta.org>
2016
2017 * vc/ediff-util.el (ediff-recenter): Use `select-frame-set-input-focus'
2018 to select `ediff-control-frame' and set input focus correctly on Xfce.
2019 (Bug#12218)
2020
2021 2013-02-13 Juri Linkov <juri@jurta.org>
2022
2023 * image-mode.el (image-mode-map):
2024 * doc-view.el (doc-view-mode-map):
2025 * vc/ediff-util.el (ediff-setup-keymap):
2026 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
2027
2028 2013-02-13 Dmitry Gutov <dgutov@yandex.ru>
2029
2030 * progmodes/ruby-mode.el (ruby-move-to-block): Improve
2031 performance. Instead of recalculating indentation fully for each
2032 line, sum up indentation depth based only on visited lines.
2033 (ruby-parse-partial): Increase the depth after "do" even when END
2034 is right after it.
2035 (ruby-parse-partial): When END is in the middle of a percent
2036 literal, increase the depth if the delimiter chars belong to the
2037 paren syntax class.
2038
2039 2013-02-13 Kirill A. Korinskiy <catap@catap.ru>
2040
2041 * play/fortune.el (fortune-compile): Also make the compiled file
2042 if it does not exist at all, not just if it is old. (Bug#5338)
2043
2044 2013-02-13 Glenn Morris <rgm@gnu.org>
2045
2046 * emacs-lisp/package.el (package-menu-execute): Doc fix.
2047
2048 2013-02-13 Yves Baumes <ybaumes@gmail.com> (tiny change)
2049
2050 * lisp/emacs-lisp/package.el (package-menu-execute):
2051 Add optional noquery argument. (Bug#13625)
2052
2053 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
2054
2055 * net/ange-ftp.el (ange-ftp-make-directory): Don't raise an error,
2056 if DIR exists and PARENTS is non-nil.
2057
2058 2013-02-13 Juanma Barranquero <lekktu@gmail.com>
2059
2060 * progmodes/js.el (js--multi-line-declaration-indentation):
2061 Silence byte-compiler warning.
2062
2063 2013-02-12 Michael Albinus <michael.albinus@gmx.de>
2064
2065 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Rewrite.
2066
2067 * net/tramp-compat.el (top): Declare `remote-file-name-inhibit-cache'
2068 only if it doesn't exist.
2069
2070 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2071 Set process marker.
2072
2073 2013-02-12 Tassilo Horn <tsdh@gnu.org>
2074
2075 * doc-view.el (doc-view-odf->pdf-converter-soffice): Use separate
2076 UserInstallation when calling soffice to work around LibreOffice
2077 bug 37531.
2078
2079 2013-02-12 Glenn Morris <rgm@gnu.org>
2080
2081 * files.el (basic-save-buffer):
2082 Offer to create a non-existing directory. (Bug#3016)
2083
2084 * calc/calc-graph.el (calc-graph-show-dumb):
2085 * calendar/calendar.el (calendar-mode-map):
2086 * cus-edit.el (custom-mode-map):
2087 * ehelp.el (electric-help-map):
2088 * emulation/vip.el (vip-mode-map):
2089 * epa.el (epa-key-list-mode-map):
2090 * info.el (Info-mode-map):
2091 * mail/rmail.el (rmail-mode-map):
2092 * mail/rmailsum.el (rmail-summary-mode-map):
2093 * man.el (Man-mode-map):
2094 * net/newst-plainview.el (newsticker-mode-map):
2095 * progmodes/cpp.el (cpp-edit-mode-map):
2096 * progmodes/grep.el (grep-mode-map):
2097 * progmodes/idlw-help.el (idlwave-help-mode-map):
2098 * simple.el (special-mode-map):
2099 * startup.el (splash-screen-keymap):
2100 * view.el (view-mode-map):
2101 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
2102
2103 2013-02-11 Elias Pipping <pipping@lavabit.com>
2104
2105 * doc-view.el (doc-view-current-cache-dir): Beware % escapes
2106 (bug#13679).
2107
2108 2013-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
2109
2110 * cus-start.el (all): Remove inhibit-local-menu-bar-menus.
2111
2112 2013-02-11 Glenn Morris <rgm@gnu.org>
2113
2114 * vc/diff.el (diff-use-labels): New variable.
2115 (diff-no-select): Use --label rather than -L, and first
2116 check that it is supported. (Bug#11067)
2117
2118 * files.el (enable-dir-local-variables): New variable.
2119 (hack-dir-local-variables): Respect enable-dir-local-variables.
2120 * tutorial.el (help-with-tutorial):
2121 Ignore directory-local variables. (Bug#11127)
2122
2123 * vc/vc-svn.el (vc-svn-command): Move --non-interactive from here...
2124 (vc-svn-global-switches): ... to here. (Bug#13513)
2125
2126 2013-02-10 Christopher Schmidt <christopher@ch.ristopher.com>
2127
2128 * minibuf-eldef.el (minibuffer-default--in-prompt-regexps):
2129 Handle "foo (bar, default: xxx): " prompts.
2130
2131 2013-02-10 Chong Yidong <cyd@gnu.org>
2132
2133 * files.el (basic-save-buffer-1): Do not set
2134 buffer-file-coding-system-explicit (Bug#4533).
2135
2136 * mail/emacsbug.el (report-emacs-bug): Change binding of
2137 report-emacs-bug-insert-to-mailer to C-c M-i (Bug#13510).
2138
2139 2013-02-09 Jay Belanger <jay.p.belanger@gmail.com>
2140
2141 * calc/calc.el (calc-allow-units-as-numbers): New variable.
2142 * calc/calc-units.el (calc-convert-units): Use new variable.
2143
2144 2013-02-09 Eli Zaretskii <eliz@gnu.org>
2145
2146 * subr.el (buffer-file-type, default-buffer-file-type): Remove.
2147
2148 * net/ange-ftp.el (ange-ftp-insert-file-contents): Don't reference
2149 buffer-file-type.
2150
2151 * mail/feedmail.el (feedmail-force-binary-write): Doc fix.
2152 (feedmail-run-the-queue, feedmail-dump-message-to-queue)
2153 (feedmail-send-it-immediately): Don't bind buffer-file-type, bind
2154 coding-system-for-write instead.
2155
2156 * jka-compr.el (jka-compr-write-region): Don't bind
2157 buffer-file-type.
2158
2159 * emacs-lisp/bytecomp.el (byte-compile-file): Don't bind
2160 buffer-file-type.
2161
2162 * files.el (file-name-buffer-file-type-alist): Remove defvar.
2163 (insert-file-contents-literally): Remove reference to
2164 file-name-buffer-file-type-alist.
2165
2166 * dos-w32.el (file-name-buffer-file-type-alist): Deprecate and
2167 make-obsolete.
2168 (find-buffer-file-type-match, find-buffer-file-type): Remove.
2169 (find-buffer-file-type-coding-system): Remove references to
2170 find-buffer-file-type-match, find-buffer-file-type, and
2171 buffer-file-type.
2172 Don't put find-buffer-file-type-coding-system into
2173 file-coding-system-alist.
2174 (find-file-binary, find-file-text): Bind coding-system-for-read
2175 instead of file-name-buffer-file-type-alist.
2176
2177 2013-02-09 Jambunathan K <kjambunathan@gmail.com>
2178
2179 * doc-view.el: Use (and prefer) soffice as default ODF->PDF
2180 converter (Bug#13622).
2181 (doc-view-unoconv-program): Make obsolete alias.
2182 (doc-view-odf->pdf-converter-program): New variable.
2183 (doc-view-odf->pdf-converter-function): New variable.
2184 (doc-view-mode-p): Use it.
2185 (doc-view-odf->pdf-converter-unoconv):
2186 Rename from `doc-view-odf->pdf-converter-unoconv'.
2187 (doc-view-odf->pdf-converter-soffice): New function.
2188 (doc-view-convert-current-doc):
2189 Use `doc-view-odf->pdf-converter-function'.
2190
2191 2013-02-09 Chong Yidong <cyd@gnu.org>
2192
2193 * minibuffer.el (minibuffer-inactive-mode-map): Bind mouse-1 to
2194 view-echo-area-messages (Bug#13340).
2195
2196 * help.el (view-echo-area-messages): Use display-buffer.
2197
2198 * dired-x.el (dired-do-run-mail): Prompt for confirmation
2199 (Bug#13561).
2200
2201 2013-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
2202
2203 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
2204 Eval body right away, now that we do eager macroexpansion (bug#13605).
2205
2206 * simple.el (end-of-buffer): Don't touch unrelated windows (bug#13466).
2207 (fundamental-mode): Use run-mode-hooks.
2208
2209 * eshell/esh-proc.el (eshell/kill): Fix last change.
2210 * eshell/em-ls.el (eshell-ls-dir): Fix use of CL in last change.
2211
2212 2013-02-08 Aidan Gauland <aidalgol@no8wireless.co.nz>
2213
2214 * eshell/esh-proc.el (eshell/kill): Rewrite.
2215
2216 * eshell/em-ls.el (show-almost-all): Declare.
2217 (eshell-do-ls): Add support for -A argument.
2218
2219 2013-02-08 Jambunathan K <kjambunathan@gmail.com>
2220
2221 * icomplete.el (icomplete-forward-completions)
2222 (icomplete-backward-completions): Handle corner case (bug#13602).
2223
2224 2013-02-07 Michael Albinus <michael.albinus@gmx.de>
2225
2226 * vc/vc-hooks.el (vc-find-file-hook): `buffer-file-truename' can
2227 be nil. Handle this. (Bug#13636)
2228
2229 2013-02-07 Richard Stallman <rms@gnu.org>
2230
2231 * mail/rmail.el (rmail-variables): Specify `no-conversion' for
2232 `save-buffer-coding-system'.
2233
2234 2013-02-07 Alan Mackenzie <acm@muc.de>
2235
2236 Fix bug in state cache mechanism. Remove 'BOD "strategy". Refactor.
2237 * progmodes/cc-engine.el (c-get-fallback-scan-pos): Remove.
2238 (c-parse-state-get-strategy): Don't return 'BOD any more.
2239 (c-append-lower-brace-pair-to-state-cache):
2240 Extra parameter HERE instead of narrowing.
2241 Widen to top of buffer before searching backwards for a brace pair.
2242 (c-state-push-any-brace-pair): Add HERE parameter to function call.
2243 (c-append-to-state-cache): Extra parameter HERE in place of narrowing.
2244 Narrow to parameter HERE, in place of being called narrowed.
2245 (c-remove-stale-state-cache): Extra parameter HERE in place of
2246 narrowing. Check there's an open brace in the cache before
2247 searching for its match.
2248 (c-invalidate-state-cache-1): Add HERE parameter to function call.
2249 (c-parse-state-1): Don't narrow here for 'forward strategy,
2250 instead passing extra parameter HERE to several functions.
2251 Remove 'BOD strategy.
2252
2253 2013-02-06 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
2254
2255 * emacs-lisp/package.el (describe-package-1): Tell what archive is
2256 used to install the package.
2257
2258 2013-02-06 Glenn Morris <rgm@gnu.org>
2259
2260 * vc/vc-hooks.el (vc-find-file-hook): Don't ask about following links
2261 if we can't get user input. (Bug#6567)
2262
2263 * startup.el (command-line): If simple.el is missing,
2264 test and warn about for some possible causes.
2265
2266 2013-02-05 Jan Djärv <jan.h.d@swipnet.se>
2267
2268 * cus-start.el (all): Add ns-use-native-fullscreen.
2269
2270 2013-02-05 Glenn Morris <rgm@gnu.org>
2271
2272 * profiler.el (profiler-report-mode-map): Add a restart menu entry.
2273
2274 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
2275 Fix directory creation in fallback case.
2276
2277 2013-02-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2278
2279 * vc/vc.el (vc-next-action): Fix inf-loop (bug#13610).
2280 (vc-update-change-log): Use dolist.
2281
2282 2013-02-04 Chong Yidong <cyd@gnu.org>
2283
2284 * thingatpt.el: Rewrite the URL detection routines, absorbing some
2285 code from ffap.el.
2286 (thing-at-point-beginning-of-url-regexp): New var.
2287 (thing-at-point-uri-schemes): Update list of URI schemes.
2288 (thing-at-point-url-regexp): Variable deleted.
2289 (thing-at-point-markedup-url-regexp): Disallow newlines.
2290 (thing-at-point-newsgroup-regexp)
2291 (thing-at-point-newsgroup-heads)
2292 (thing-at-point-default-mail-uri-scheme): New variables.
2293 (thing-at-point-bounds-of-url-at-point): Rewrite. Use ffap's
2294 method to find the possible bounds of the URI at point.
2295 New optional argument to find ill-formed URIs.
2296 (thing-at-point-url-at-point): Rewrite. New arguments for finding
2297 ill-formed URIs. Use thing-at-point-bounds-of-url-at-point, and
2298 the scheme-adding heuristics from ffap-url-at-point.
2299 (thing-at-point--bounds-of-well-formed-url): New function.
2300 Do parens matching to decide whether to include parens in the URI
2301 (Bug#9153).
2302
2303 * ffap.el: Require thingatpt.
2304 (ffap-url-at-point): Delegate URI detection to thing-at-point.
2305 All URI-valid characters are now recognized (Bug#5673).
2306 (ffap-string-at-point): Use use-region-p.
2307 (ffap-url-regexp): Extra character is handled by thing-at-point.
2308 (ffap-string-at-point-mode-alist): Allow parentheses.
2309 (ffap-newsgroup-regexp, ffap-newsgroup-heads, ffap-newsgroup-p):
2310 Convert to aliases; code moved to thingatpt.el.
2311 (ffap-gnus-hook): Use setq-local.
2312
2313 2013-02-04 Glenn Morris <rgm@gnu.org>
2314
2315 * emacs-lisp/ert.el (ert--explain-format-atom):
2316 Don't try to print non-characters as characters. (Bug#13543)
2317
2318 2013-02-03 Michael Albinus <michael.albinus@gmx.de>
2319
2320 * net/tramp.el (tramp-debug-message): Extend function exclude list.
2321 (tramp-backtrace): New defun.
2322 (tramp-handle-insert-file-contents): Use `visit' when inserting
2323 the local copy.
2324
2325 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime):
2326 Use `remote-file-name-inhibit-cache'.
2327
2328 2013-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
2329
2330 * progmodes/cperl-mode.el (cperl-mode): Avoid byte-compile warning
2331 (bug#13614).
2332
2333 * subr.el (internal--called-interactively-p--get-frame): Avoid filling
2334 current-load-list (bug#13366).
2335
2336 2013-02-02 Christopher Schmidt <christopher@ch.ristopher.com>
2337
2338 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2339 Identify g++ template instantiation trace. (Bug#12287)
2340 (compilation-mode-hook, compilation-start-hook)
2341 (compilation-window-height): Simplify docstrings. (Bug#13379)
2342
2343 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
2344
2345 * mouse.el (mouse-drag-track): Always deactivate the mark before
2346 running the final event's command since that command is in charge of
2347 activating the mark if needed (bug#13523).
2348
2349 2013-02-02 Juri Linkov <juri@jurta.org>
2350
2351 * replace.el (perform-replace): Move let-bindings of isearch-*
2352 variables deeper to the loop that searches for the next match.
2353 Add bindings for `isearch-nonincremental' and `isearch-adjusted'.
2354 Use `isearch-search-fun-default' instead of `isearch-search-fun'.
2355 (Bug#13579)
2356
2357 * isearch.el (isearch-search-fun-default): Check for null
2358 first element of isearch-cmds as a precaution when it's used
2359 with inactive isearch.
2360
2361 2013-02-02 Andrew W. Nosenko <andrew.w.nosenko@gmail.com> (tiny change)
2362
2363 * net/tramp.el (tramp-check-for-regexp): Avoid "Args out of range"
2364 error when buffer in question is narrowed so position 1 is out of
2365 visible part.
2366
2367 2013-02-02 Glenn Morris <rgm@gnu.org>
2368
2369 * textmodes/remember.el (remember-clipboard): Doc fix.
2370
2371 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
2372
2373 * progmodes/make-mode.el (makefile-fill-paragraph): Reset syntax-table
2374 properties (bug#13179).
2375
2376 2013-02-02 Juri Linkov <juri@jurta.org>
2377
2378 * progmodes/grep.el (grep-regexp-alist): Use variable grep-match-face
2379 instead of hard-coded default face `match'. (Bug#9438)
2380
2381 2012-02-01 Christopher Schmidt <christopher@ch.ristopher.com>
2382
2383 * vc/vc-arch.el (vc-arch-registered):
2384 * vc/vc-bzr.el (vc-bzr-registered):
2385 * vc/vc-cvs.el (vc-cvs-registered):
2386 * vc/vc-git.el (vc-git-registered):
2387 * vc/vc-hg.el (vc-hg-registered):
2388 * vc/vc-mtn.el (vc-mtn-registered):
2389 * vc/vc-svn.el (vc-svn-registered): Suppress load messages.
2390 (Bug#13139)
2391
2392 * info.el (Info-next-reference, Info-prev-reference): Add numeric
2393 prefix argument. (Bug#11656)
2394
2395 2013-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
2396
2397 * help-fns.el (help-split-fundoc): Don't insert byte-compiled body.
2398
2399 2013-02-01 Glenn Morris <rgm@gnu.org>
2400
2401 * vc/vc-hooks.el (vc-menu-map): Disable vc-rollback menu item
2402 if the backend is known not to support it.
2403
2404 * imenu.el (imenu-default-create-index-function):
2405 Tweak infinite loop test to check for forward motion as well as none.
2406
2407 2013-02-01 Alex Harsanyi <AlexHarsanyi@gmail.com>
2408
2409 * net/soap-client.el (soap-invoke): Encode the string for
2410 `url-request-data' as UTF-8.
2411 Fixes <http://code.google.com/p/emacs-soap-client/issues/detail?id=16>.
2412
2413 2013-02-01 Glenn Morris <rgm@gnu.org>
2414
2415 * calc/calc-help.el (calc-view-news): Use view-emacs-news.
2416
2417 * calc/README, calc/README.prev: Rename/merge to etc/CALC-NEWS.
2418
2419 2013-01-31 Michael Albinus <michael.albinus@gmx.de>
2420
2421 * net/tramp.el (tramp-tramp-file-p): Comment check for
2422 `string-as-unibyte'. The function does not exist on XEmacs, and
2423 likely we need another approach.
2424
2425 * net/tramp-sh.el (tramp-compute-multi-hops): Check, whether
2426 `tramp-gw-*' variables are bound.
2427
2428 2013-01-31 Glenn Morris <rgm@gnu.org>
2429
2430 * files.el (basic-save-buffer-2): Choose coding system for
2431 writing the file before backing it up, to reduce delay between
2432 backing up and writing the new version. (Bug#13522)
2433
2434 2013-01-31 Michal Nazarewicz <mina86@mina86.com>
2435
2436 * simple.el (cycle-spacing): New command.
2437 (just-one-space): Use it.
2438
2439 2013-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
2440
2441 * progmodes/opascal.el: Rename from delphi.el. Use lexical-binding.
2442 (opascal-newline-always-indents): Remove custom.
2443 (opascal-tab, opascal-newline): Remove commands.
2444 (opascal-new-comment-line): Insert "\n" instead of calling newline.
2445 (opascal-mode-map): Keep default bindings for RET and TAB and DEL.
2446 (opascal-save-match-data): Remove, use save-match-data instead.
2447 (opascal-save-state): Use with-silent-modifications.
2448
2449 * progmodes/pascal.el (pascal-mode-syntax-table): Accept //..\n comments
2450 (bug#13585).
2451
2452 2013-01-30 Juri Linkov <juri@jurta.org>
2453
2454 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
2455 Use fullboth as an alias for fullscreen. Suggested by Jan Djärv in
2456 <http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00203.html>.
2457
2458 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
2459
2460 * progmodes/make-mode.el (makefile-backslash-region): Don't compute
2461 column if we're just deleting the backslashes.
2462 (makefile-fill-paragraph): Use eolp.
2463
2464 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
2465
2466 * autorevert.el (auto-revert-use-notify): Fix docstring.
2467
2468 2013-01-30 Leo Liu <sdl.web@gmail.com>
2469
2470 * imenu.el (imenu--truncate-items): Fix subalist checking (bug#13576).
2471
2472 2013-01-30 Glenn Morris <rgm@gnu.org>
2473
2474 * mouse.el (mouse-drag-line): Avoid pushing same event onto
2475 unread-command-events twice in some cases. This tries to implement
2476 the 2012-07-26 changes in a different way. (Bug#13560)
2477
2478 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
2479
2480 * progmodes/python.el
2481 (python-pdbtrack-comint-output-filter-function): Enhancements on
2482 stacktrace detection. (thanks @gnovak)
2483
2484 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
2485
2486 * jit-lock.el (jit-lock-stealth-chunk-start): Don't widen (bug#13542).
2487 (jit-lock-mode, jit-lock-functions, jit-lock-context-unfontify-pos):
2488 Use defvar-local.
2489 (jit-lock-register): Use setq-local.
2490
2491 2013-01-30 Jay Belanger <jay.p.belanger@gmail.com>
2492
2493 * calc-units.el (math-default-units-table): Remove initial value.
2494 (calc-convert-units): Treat expressions where all the units cancel as
2495 if they didn't have units.
2496
2497 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
2498
2499 * net/tramp.el (tramp-process-connection-type): Fix docstring.
2500 (tramp-completion-reread-directory-timeout): Fix type.
2501 (tramp-connection-min-time-diff): New defcustom.
2502
2503 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
2504
2505 2013-01-30 Glenn Morris <rgm@gnu.org>
2506
2507 * imenu.el (imenu-default-create-index-function):
2508 Put back a version of the infinite loop test removed 2013-01-23.
2509
2510 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
2511
2512 * progmodes/python.el (python-shell-parse-command):
2513 Find python-shell-interpreter with modified environment.
2514
2515 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
2516
2517 * emacs-lisp/cl.el (cl-set-getf): Add compatibility alias.
2518
2519 2013-01-29 Alan Mackenzie <acm@muc.de>
2520
2521 Amend to fontify /regexp/s in actions correctly.
2522 * cc-awk.el (c-awk-harmless-char-re, c-awk-harmless-string*-re):
2523 (c-awk-harmless-string*-here-re): Braces, parens and semicolons
2524 are no longer included.
2525 (c-awk-harmless-line-char-re, c-awk-harmless-line-string*-re):
2526 What used to be these variables without "-line" in the name.
2527 (c-awk-neutral-re): { is no longer neutral. Escaped newlines now are.
2528 (c-awk-non-arith-op-bra-re): Now also matches {.
2529 (c-awk-pre-exp-alphanum-kwd-re): New regexp to match "print",
2530 "return", and "case".
2531 (c-awk-kwd-regexp-sign-re): New, to match "print", etc., followed
2532 by /.
2533 (c-awk-syntax-tablify-/): Check special cases "print /re/", etc.
2534 (c-awk-set-syntax-table-properties): Extend FSM to handle {,},(,),;.
2535
2536 2013-01-29 Michael Albinus <michael.albinus@gmx.de>
2537
2538 * autorevert.el (auto-revert-use-notify):
2539 Use `custom-initialize-default' for initialization. (Bug#13583)
2540
2541 * net/ange-ftp.el (ange-ftp-skip-msgs): Add another message.
2542
2543 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2544 Catch `suppress'. Otherwise, `tramp-run-real-handler' might be called
2545 in `tramp-file-name-handler'.
2546 (tramp-gw-tunnel-method, tramp-gw-socks-method): Declare for
2547 compatibility.
2548 (tramp-compute-multi-hops): Check, whether
2549 `tramp-gw-tunnel-method' and `tramp-gw-socks-method' are non-nil.
2550
2551 2013-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
2552
2553 * hi-lock.el (hi-lock-unface-buffer): Don't assume `face' is a symbol
2554 (bug#13297).
2555
2556 2013-01-27 Dmitry Gutov <dgutov@yandex.ru>
2557
2558 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove some
2559 checks made superfluous by the \_< operator.
2560 * progmodes/ruby-mode.el (ruby-move-to-block): Work with (maybe
2561 temporarily) broken indentation.
2562 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2563 Highlight nested constants, too. \_< broke that.
2564
2565 2013-01-27 Nobuyoshi Nakada <nobu@ruby-lang.org>
2566
2567 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Use "\\_<"
2568 instead of "\\b".
2569
2570 2013-01-27 Michael Albinus <michael.albinus@gmx.de>
2571
2572 * autorevert.el (auto-revert-handler): Notifications which result
2573 from a saved file shall not be taken into account. (Bug#13557)
2574
2575 2013-01-26 Andreas Schwab <schwab@linux-m68k.org>
2576
2577 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Add optional
2578 parameter BAR-NOT-SYMBOL to control syntax of | for font-lock.
2579 (lisp-mode): Pass t for it. (Bug#13556)
2580
2581 2013-01-25 Alan Mackenzie <acm@muc.de>
2582
2583 AWK Mode: Fix indentation bug at top level. Bug #12274.
2584
2585 * progmodes/cc-engine.el (c-guess-basic-syntax): Move CASE 5P to
2586 just before CASE 5D.
2587
2588 2013-01-25 Dmitry Antipov <dmantipov@yandex.ru>
2589
2590 * net/socks.el (socks-nslookup-host): Use string-to-number.
2591
2592 2013-01-25 Michael Albinus <michael.albinus@gmx.de>
2593
2594 * autorevert.el (auto-revert-remote-files)
2595 (auto-revert-notify-exclude-dir-regexp): New defcustoms.
2596 (auto-revert-notify-enabled, auto-revert-use-notify)
2597 (auto-revert-notify-watch-descriptor-hash-list)
2598 (auto-revert-notify-modified-p, auto-revert-notify-event-p)
2599 (auto-revert-notify-event-descriptor)
2600 (auto-revert-notify-event-action)
2601 (auto-revert-notify-event-file-name): Doc fix.
2602 (global-auto-revert-mode): Reorder checks.
2603 (auto-revert-notify-rm-watch): Respect changed values of
2604 `auto-revert-notify-watch-descriptor-hash-list'.
2605 (auto-revert-notify-add-watch): Check for
2606 `auto-revert-notify-exclude-dir-regexp'. Adapt filters for
2607 `inotify-add-watch'. Watch `default-directory' instead of
2608 `buffer-file-name'. `auto-revert-notify-watch-descriptor-hash-list'
2609 has a changed meaning now. (Bug#13540)
2610 (auto-revert-notify-handler): Change implementation wrt events
2611 returning from a directory.
2612 (auto-revert-handler): Reorder implementation for checks of remote
2613 files.
2614 (auto-revert-buffers): Fix parentheses error.
2615
2616 2013-01-25 Fabián Ezequiel Gallina <fgallina@cuca>
2617
2618 * progmodes/python.el: Enhancements to header documentation about
2619 skeletons. (Bug#5716)
2620
2621 * imenu.el (imenu-default-create-index-function): Remove useless
2622 infinite loop check. (Bug#13438)
2623
2624 2013-01-25 Alan Mackenzie <acm@muc.de>
2625
2626 Fix a bug in the state cache mechanism. Refactor this a bit.
2627
2628 * progmodes/cc-engine.el (c-parse-state-get-strategy): Remove the
2629 `cache-pos' element from the return value.
2630 (c-append-lower-brace-pair-to-state-cache): "Narrow" to end of
2631 buffer to enable proper searching from beyond HERE. Amend the
2632 test for detecting the sought brace pair. Amend the value written
2633 to the "brace desert cache" when the brace isn't found.
2634 (c-remove-stale-state-cache): Rename `good-pos' to `start-point',
2635 and several other variables analogously.
2636 (c-remove-stale-state-cache-backwards): Change `cache-pos' from a
2637 parameter to a locally calculated variable.
2638 (c-parse-state-1): Change the calling conventions to the two
2639 defuns involving `cache-pos'.
2640
2641 2013-01-25 Chong Yidong <cyd@gnu.org>
2642
2643 * xml.el (xml-entity-or-char-ref-re): Fix regexp.
2644
2645 2013-01-24 Aaron Ecay <aaronecay@gmail.com> (tiny change)
2646
2647 * paren.el (show-paren-function): Make sure to set 'priority and
2648 'face only if the overlay does exist.
2649
2650 2013-01-24 Michael Albinus <michael.albinus@gmx.de>
2651
2652 * net/tramp.el (tramp-tramp-file-p): Check, whether NAME is unibyte.
2653
2654 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Do not suppress
2655 basic attributes.
2656 (tramp-sh-handle-set-file-acl): Improve error checking.
2657
2658 2013-01-24 Dmitry Antipov <dmantipov@yandex.ru>
2659
2660 * doc-view.el (doc-view-display): Force mode line update until all
2661 document is converted. Suggested by Stefan Monnier (Bug#13164).
2662
2663 2013-01-23 Bastien Guerry <bzg@gnu.org>
2664
2665 * paren.el (show-paren-function): Make sure an overlay exists
2666 before trying to delete it. Also use `pos' as a position only
2667 when it is an integer.
2668
2669 2013-01-23 Dmitry Antipov <dmantipov@yandex.ru>
2670
2671 * play/gametree.el (gametree-break-line-here): Use point-marker.
2672
2673 2013-01-22 Michael Albinus <michael.albinus@gmx.de>
2674
2675 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
2676 Mark descriptive parts with `display' property.
2677
2678 2013-01-21 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2679
2680 * textmodes/ispell.el (ispell-hunspell-dictionary-equivs-alist):
2681 New variable to map standard dict names to hunspell ones.
2682 (ispell-set-spellchecker-params): Make sure specific dict names
2683 are used for standard dicts with hunspell.
2684
2685 2013-01-21 Tassilo Horn <tsdh@gnu.org>
2686
2687 * textmodes/reftex-cite.el (reftex-format-citation): Add format
2688 chars for note (%N) and url (%U).
2689 * textmodes/reftex-vars.el (reftex-cite-format): Document them.
2690
2691 2013-01-21 Juri Linkov <juri@jurta.org>
2692
2693 * frame.el: Bind `f10' in `esc-map' to `toggle-frame-maximized'
2694 in addition to existing separate binding `meta f10' in `global-map'.
2695 (Bug#13484)
2696
2697 2013-01-21 Michael Albinus <michael.albinus@gmx.de>
2698
2699 Improve XEmacs compatibility.
2700
2701 * net/tramp.el (tramp-replace-environment-variables): Make it a defun.
2702
2703 * net/tramp-adb.el (top): Require `time-date'.
2704 (tramp-adb-ls-output-time-less-p): Use `tramp-time-less-p'.
2705 (tramp-adb-handle-copy-file, tramp-adb-handle-rename-file):
2706 Use `tramp-file-name-handler'.
2707 (tramp-adb-maybe-open-connection):
2708 Use `tramp-compat-set-process-query-on-exit-flag'.
2709
2710 * net/tramp-sh.el (tramp-sh-handle-file-acl):
2711 Use `tramp-compat-funcall'.
2712
2713 * net/tramp-smb.el (tramp-smb-handle-file-acl): Use `looking-at' and
2714 `tramp-compat-funcall'.
2715
2716 2013-01-21 Jürgen Hötzel <juergen@archlinux.org>
2717
2718 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Complete
2719 reimplementation using "adb shell command ..." instead of running
2720 remote shell interactively.
2721
2722 2013-01-20 Glenn Morris <rgm@gnu.org>
2723
2724 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
2725 Add native profiler menu entries.
2726
2727 * profiler.el (profiler-running-p): New function.
2728 (profiler-cpu-profile): Use profiler-running-p.
2729 (profiler-report-mode-map): Add some more menu entries.
2730
2731 2013-01-19 Glenn Morris <rgm@gnu.org>
2732
2733 * mail/unrmail.el (unrmail): Do not mangle the mbox From line;
2734 fixes 2012-12-07 change. (Bug#13499)
2735
2736 2013-01-19 Leo Liu <sdl.web@gmail.com>
2737
2738 * dired.el (dired-get-marked-files): Prune erroneous values due to
2739 last change. (Bug#13152)
2740
2741 2013-01-19 Glenn Morris <rgm@gnu.org>
2742
2743 * progmodes/etags.el (tags-table-check-computed-list):
2744 Preserve point in tags buffer. (Bug#13412)
2745
2746 * emacs-lisp/lisp-mode.el (lisp-indent-function): Doc fix.
2747
2748 2013-01-19 Christian Wittern <cwittern@gmail.com> (tiny change)
2749 Chong Yidong <cyd@gnu.org>
2750
2751 * image-mode.el (image-next-file, image-previous-file):
2752 New commands (Bug#8453).
2753 (image-mode-map): Bind them to n and p.
2754 (image-mode--images-in-directory): New helper function.
2755
2756 2013-01-19 Chong Yidong <cyd@gnu.org>
2757
2758 * image-mode.el (image-mode-fit-frame): Add a frame argument.
2759 Suggested by Drew Adams (Bug#7730). Handle window decorations;
2760 save and restore the old window configuration.
2761
2762 2013-01-18 Leo Liu <sdl.web@gmail.com>
2763
2764 * progmodes/js.el: Tweak autoload cookie for alias.
2765
2766 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
2767
2768 * autorevert.el (auto-revert-notify-watch-descriptor): Make it
2769 buffer local, again. This was lost with the fix on 2013-01-12.
2770
2771 2013-01-17 Jürgen Hötzel <juergen@archlinux.org>
2772
2773 * eshell/esh-util.el (eshell-path-env): Make it buffer local, in
2774 order to support several eshell buffers in parallel.
2775
2776 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
2777
2778 * autorevert.el (auto-revert-use-notify): In the :set function, do
2779 not modify `kill-buffer-hook'.
2780 (auto-revert-notify-rm-watch):
2781 Remove `auto-revert-notify-rm-watch' from `kill-buffer-hook'.
2782 (auto-revert-notify-add-watch): Do not call
2783 `auto-revert-notify-rm-watch', but add it to a buffer local
2784 `kill-buffer-hook'.
2785
2786 2013-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
2787
2788 * emacs-lisp/trace.el (trace--read-args): Use a closure and an honest
2789 call to `eval' rather than a backquoted lambda.
2790
2791 2013-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
2792
2793 * emacs-lisp/nadvice.el (advice--tweak): Make it possible for `tweak'
2794 to return an explicit nil.
2795 (advice--remove-function): Change accordingly.
2796
2797 * emacs-lisp/advice.el (ad-preactivate-advice): Adjust the cleanup to
2798 the use of nadvice.el.
2799
2800 * progmodes/which-func.el (which-function): Silence imenu errors
2801 (bug#13433).
2802
2803 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
2804
2805 * progmodes/sql.el (sql-imenu-generic-expression):
2806 (sql-mode-font-lock-object-name): Match schema qualified names.
2807 (sql-connect): Use string keys.
2808 (sql-product-interactive): Wait for interpreter prompt.
2809 (sql-comint-oracle): Set process coding based on NLS_LANG.
2810
2811 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
2812
2813 * progmodes/sql.el (sql-output-to-send): Remove, unused.
2814 (sql-interactive-remove-continuation-prompt):
2815 (sql-send-magic-terminator, sql-interactive-mode): Remove references.
2816
2817 2013-01-14 Leo Liu <sdl.web@gmail.com>
2818
2819 * calendar/calendar.el (calendar-redraw): Sync window-point and point.
2820 (Bug#13420)
2821
2822 2013-01-14 Glenn Morris <rgm@gnu.org>
2823
2824 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2825 Fix interpretation of gnu line.col1-col2 format. (Bug#13335)
2826
2827 2013-01-13 Fabián Ezequiel Gallina <fgallina@cuca>
2828
2829 * progmodes/python.el (python-nav-end-of-statement):
2830 Fix cornercase when handling multiline strings.
2831
2832 2013-01-13 Richard Stallman <rms@gnu.org>
2833
2834 * mail/sendmail.el (mail-position-on-field): Add doc string.
2835
2836 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
2837 Get current message boundaries and pass them to
2838 message-forward-make-body-mime. Minor style changes.
2839
2840 2013-01-13 Eli Zaretskii <eliz@gnu.org>
2841
2842 * cus-start.el (all): Avoid warnings about
2843 scroll-bar-adjust-thumb-portion on platforms where it is not defined.
2844
2845 2013-01-11 Jan Djärv <jan.h.d@swipnet.se>
2846
2847 * cus-start.el (all): Add scroll-bar-adjust-thumb-portion.
2848
2849 2013-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
2850
2851 * jit-lock.el (jit-lock-debug-mode): New minor mode.
2852 (jit-lock--debug-fontifying): New var.
2853 (jit-lock--debug-fontify): New function.
2854 * subr.el (condition-case-unless-debug): Don't prevent catching the
2855 error, just let the debbugger run.
2856 * emacs-lisp/timer.el (timer-event-handler): Don't prevent debugging
2857 timer code and don't drop errors silently.
2858
2859 2013-01-12 Michael Albinus <michael.albinus@gmx.de>
2860
2861 * autorevert.el (auto-revert-notify-watch-descriptor): Give it
2862 `permanent-local' property.
2863 (auto-revert-notify-handler): Use `file-equal-p'.
2864
2865 2013-01-12 Eli Zaretskii <eliz@gnu.org>
2866
2867 * autorevert.el (auto-revert-notify-handler): Fix filtering of
2868 file notification by ACTION. For filtering by file name, compare
2869 only the non-directory part of the file name.
2870
2871 2013-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
2872
2873 * autorevert.el: Use cl-lib instead of cl.
2874
2875 * vc/vc-bzr.el (vc-bzr--sanitize-header): New function (bug#13307).
2876 (vc-bzr-checkin): Use it.
2877 * vc/log-edit.el (log-edit-extract-headers): Don't presume FUNCTION
2878 will preserve match-data.
2879
2880 2013-01-11 Felix H. Dahlke <fhd@ubercode.de>
2881
2882 * progmodes/js.el: Fix multiline declarations's indentation (bug#8576).
2883 (js--declaration-keyword-re): New var.
2884 (js--multi-line-declaration-indentation): New function.
2885 (js--proper-indentation): Use it.
2886
2887 2013-01-11 Aaron S. Hawley <Aaron.Hawley@vtinfo.com>
2888
2889 * calc/calc.el (calc-highlight-selections-with-faces)
2890 (calc-dispatch):
2891 * comint.el (comint-history-isearch-message):
2892 * emacs-lisp/edebug.el (edebug-read, edebug-eval-defun):
2893 * ffap.el (ffap-string-at-point-region, ffap-next)
2894 (ffap-string-at-point, ffap-string-around)
2895 (ffap-copy-string-as-kill, ffap-highlight-overlay)
2896 (ffap-literally):
2897 * font-lock.el (font-lock-keywords-alist)
2898 (font-lock-removed-keywords-alist):
2899 * help-mode.el (help-xref-symbol-regexp):
2900 * info.el (Info-find-emacs-command-nodes):
2901 * international/mule.el (add-to-coding-system-list):
2902 * isearch.el (isearch-message-function, isearch-fail-pos):
2903 * misearch.el (multi-isearch-next-buffer-function):
2904 * newcomment.el (comment-box):
2905 * printing.el (pr-txt-printer-alist, pr-ps-printer-alist)
2906 (pr-setting-database):
2907 * progmodes/cc-fonts.el (c-font-lock-keywords-3)
2908 (c++-font-lock-keywords-3, objc-font-lock-keywords-3)
2909 (java-font-lock-keywords-3, idl-font-lock-keywords-3)
2910 (pike-font-lock-keywords-3):
2911 * progmodes/compile.el (compile):
2912 * progmodes/etags.el (tags-table-files)
2913 (tags-table-files-function, tags-included-tables-function):
2914 * progmodes/gdb-mi.el (gdb, gdb-setup-windows)
2915 (gdb-restore-windows):
2916 * ps-print.el (ps-even-or-odd-pages, ps-spool-buffer-with-faces)
2917 (ps-n-up-filling-database):
2918 * server.el (server-buffer, server-log):
2919 * simple.el (newline, delete-backward-char, delete-forward-char)
2920 (minibuffer-history-isearch-message, kill-line, track-eol)
2921 (temporary-goal-column):
2922 * textmodes/flyspell.el (flyspell-mark-duplications-flag)
2923 (flyspell-default-deplacement-commands):
2924 * textmodes/ispell.el (ispell-accept-output):
2925 * textmodes/sgml-mode.el (html-tag-help):
2926 * vc/compare-w.el (compare-ignore-whitespace)
2927 (compare-ignore-case, compare-windows-dehighlight):
2928 * vc/diff.el (diff):
2929 * whitespace.el (whitespace-point)
2930 (whitespace-font-lock-refontify, whitespace-bob-marker)
2931 (whitespace-eob-marker): Fix ambiguous doc string cross-reference(s).
2932
2933 2013-01-11 Michael Albinus <michael.albinus@gmx.de>
2934
2935 * autorevert.el (top): Require 'cl in order to pacify byte compiler.
2936 (auto-revert-notify-rm-watch): Ignore errors.
2937 (auto-revert-notify-add-watch): Ignore errors. Use '(modify) for
2938 inotify, and '(size last-write-time) for w32notify.
2939 Set buffer-local `auto-revert-use-notify' to nil when adding a file
2940 watch fails - this is a fallback to the file modification check.
2941 (auto-revert-notify-event-p, auto-revert-notify-event-descriptor)
2942 (auto-revert-notify-event-action)
2943 (auto-revert-notify-event-file-name): New defuns.
2944 (auto-revert-notify-handler): Use them. Implement first
2945 plausibility checks.
2946 (auto-revert-handler): Handle also `auto-revert-tail-mode'.
2947
2948 2013-01-11 Julien Danjou <julien@danjou.info>
2949
2950 * color.el (color-rgb-to-hsv): Fix conversion computing in case min and
2951 max are almost equal. Also return the correct value for V which is
2952 already between 0 and 1.
2953
2954 2013-01-11 Dmitry Antipov <dmantipov@yandex.ru>
2955
2956 * emacs-lisp/ert.el (ert-run-test): Use point-max-marker.
2957
2958 2013-01-11 Eli Zaretskii <eliz@gnu.org>
2959
2960 * autorevert.el (auto-revert-notify-rm-watch)
2961 (auto-revert-notify-add-watch): Fix typos in w32notify function
2962 names.
2963
2964 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
2965
2966 * autorevert.el (auto-revert-notify-enabled): Move up.
2967 (auto-revert-use-notify): New defcustom.
2968 (auto-revert-mode, global-auto-revert-mode)
2969 (auto-revert-notify-add-watch, auto-revert-handler)
2970 (auto-revert-buffers): Use `auto-revert-use-notify' instead of
2971 `auto-revert-notify-enabled'.
2972
2973 2013-01-10 Elias Pipping <pipping@exherbo.org>
2974
2975 * files.el (auto-mode-alist): Use doc-view for djvu files (bug#13164).
2976 * doc-view.el (doc-view-document->bitmap):
2977 Use doc-view-single-page-converter-function instead of
2978 single-page-converter arg; adjust callers.
2979
2980 2013-01-10 Feng Li <fengli@gmail.com> (tiny change)
2981
2982 * progmodes/which-func.el (which-function): Understand Semantic's use
2983 of overlays in imenu--index-alist.
2984
2985 2013-01-10 Wolfgang Jenkner <wjenkner@inode.at>
2986
2987 * man.el: Handle different "man -k" behaviors (bug#13160). Use utf-8.
2988 (Man-man-k-use-anchor): New var.
2989 (Man-parse-man-k): New function.
2990 (Man-completion-table): Use it.
2991 (man): Flush the completion cache between uses.
2992
2993 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
2994
2995 * autorevert.el: Add file watch support.
2996 (auto-revert-notify-enabled): New defconst.
2997 (auto-revert-notify-watch-descriptor-hash-list)
2998 (auto-revert-notify-watch-descriptor)
2999 (auto-revert-notify-modified-p): New defvars.
3000 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
3001 (auto-revert-notify-handler): New defuns.
3002 (auto-revert-mode, global-auto-revert-mode): Remove file watches
3003 when mode is disabled.
3004 (auto-revert-handler): Check for `auto-revert-notify-modified-p'.
3005 (auto-revert-buffers): Add file watches for active buffers.
3006
3007 2013-01-10 Dmitry Antipov <dmantipov@yandex.ru>
3008
3009 * cus-start.el (toplevel): Only allow float values for
3010 scroll-up-aggressively and scroll-down-aggressively.
3011 Allow any number for line-spacing.
3012
3013 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
3014
3015 * doc-view.el (doc-view-pdfdraw-program): Allow "pdfdraw" name.
3016 (doc-view-pdf->png-converter-function): Use mupdf if available.
3017 (doc-view-djvu->png-converter-function)
3018 (doc-view-ps->png-converter-function): Remove.
3019 (doc-view--image-file-pattern): Replace doc-view--image-file-extension.
3020 (doc-view-goto-page, doc-view-convert-current-doc, doc-view-display)
3021 (doc-view-already-converted-p): Adjust accordingly.
3022 (doc-view-mode-p): Simplify.
3023 (doc-view-enlarge): Use setq-local.
3024 (doc-view-pdf->png-converter-ghostscript)
3025 (doc-view-djvu->png-converter-ddjvu)
3026 (doc-view-pdf->png-converter-mupdf): Rework to call
3027 doc-view-start-process directly.
3028 (doc-view-pdf/ps->png): Simplify accordingly.
3029 (doc-view-pdf->png-1, doc-view-djvu->png-1): Remove.
3030 (doc-view-document->bitmap): Rename from doc-view-document->png.
3031 (doc-view-convert-current-doc): Merge pdf and djvu cases.
3032 (doc-view-set-slice-from-bounding-box): Fix completion table.
3033 (doc-view-mode): Use add-hook for after-revert-hook.
3034
3035 2013-01-10 Glenn Morris <rgm@gnu.org>
3036
3037 * emacs-lisp/authors.el (authors-ignored-files)
3038 (authors-valid-file-names, authors-renamed-files-alist):
3039 Add some more entries.
3040
3041 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
3042
3043 * image-mode.el (image-mode-winprops): Don't throw away the fallback
3044 `t' pseudo-window entry.
3045
3046 2013-01-10 Alan Mackenzie <acm@muc.de>
3047
3048 Fix bugs in the c-parse-state mechanism. Reuse some markers
3049 instead of continually generating new ones.
3050
3051 * progmodes/cc-engine.el (c-state-old-cpp-beg-marker)
3052 (c-state-old-cpp-end-marker): New variables.
3053 (c-append-lower-brace-pair-to-state-cache): Start a backward
3054 search for "}" definitively outside CPP constructs.
3055 (c-remove-stale-state-cache): Inform the caller of a need to
3056 search back for a brace pair in certain circumstances.
3057 (c-state-maybe-marker): New macro.
3058 (c-parse-state): Reuse markers when appropriate.
3059
3060 2013-01-10 Glenn Morris <rgm@gnu.org>
3061
3062 * simple.el (execute-extended-command): Doc fix.
3063 Bind prefix-arg around read-extended-command, for prompt. (Bug#13395)
3064
3065 2013-01-10 Chong Yidong <cyd@gnu.org>
3066
3067 * faces.el (read-face-name): Doc fix.
3068
3069 2013-01-10 Roland Winkler <winkler@gnu.org>
3070
3071 * emacs-lisp/crm.el: Allow any regexp for separators.
3072 (crm-default-separator): All spaces around the default comma separator.
3073 (crm--completion-command): New macro.
3074 (crm-completion-help, crm-complete, crm-complete-word): Use it.
3075 (crm-complete-and-exit): Handle non-single-char separators.
3076
3077 2013-01-09 Elias Pipping <pipping@lavabit.com>
3078
3079 * doc-view.el: Add support for DjVu (bug#13164).
3080 (doc-view-djvu->png-converter-function): New config var.
3081 (doc-view-single-page-converter-function, doc-view--image-type)
3082 (doc-view--image-file-extension): New vars.
3083 (doc-view-mode): Initialize them.
3084 (doc-view-goto-page): Use them.
3085 (doc-view-mode-p): Add support for ddjvu.
3086 (doc-view-djvu->png-converter-ddjvu, doc-view-djvu->png-1)
3087 (doc-view-set-up-single-converter): New funs.
3088 (doc-view-pdf/ps->png): Extend for djvu.
3089 (doc-view-document->png): Rename from doc-view-pdf->png.
3090 (doc-view-convert-current-doc): Handle djvu.
3091 (doc-view-insert-image, doc-view-display)
3092 (doc-view-already-converted-p): Don't hardcode png.
3093 (doc-view-set-doc-type): Recognize djvu docs.
3094
3095 2013-01-09 Elias Pipping <pipping@lavabit.com>
3096
3097 * doc-view.el: Add support for mupdf converter (bug#13164).
3098 (doc-view-pdfdraw-program, doc-view-pdf->png-converter-function)
3099 (doc-view-ps->png-converter-function): New config vars.
3100 (doc-view-pdf->png-converter-ghostscript)
3101 (doc-view-ps->png-converter-ghostscript)
3102 (doc-view-pdf->png-converter-mupdf): New functions.
3103 (doc-view-pdf/ps->png, doc-view-pdf->png-1): Use them.
3104
3105 2013-01-09 Jürgen Hötzel <juergen@archlinux.org>
3106
3107 * net/tramp.el (tramp-eshell-directory-change): Check remote-path
3108 first in session cache: When `tramp-own-remote-path' is in
3109 `tramp-remote-path', the remote path is only set in the session
3110 cache.
3111
3112 2013-01-09 Glenn Morris <rgm@gnu.org>
3113
3114 * emacs-lisp/trace.el (trace-function-foreground)
3115 (trace-function-background): Doc fix.
3116
3117 2013-01-09 Juri Linkov <juri@jurta.org>
3118
3119 * international/mule-cmds.el (read-char-by-name): Move let-binding
3120 of completion-ignore-case around completing-read to fix regression
3121 exhibited by the test case `C-x 8 RET *acc TAB' and caused by
3122 `string-match-p' using the nil value of `case-fold-search' and
3123 `completion-ignore-case' in `completion-pcm--all-completions'.
3124 (Bug#12615).
3125
3126 2013-01-09 Glenn Morris <rgm@gnu.org>
3127
3128 * progmodes/compile.el (compilation-parse-errors):
3129 Fix typo. (Bug#13369)
3130
3131 2013-01-09 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
3132
3133 * comint.el (comint-send-input): Check size of buffer before
3134 waiting for process output, in case already accepted. (Bug#13290)
3135
3136 2013-01-09 Paul Eggert <eggert@cs.ucla.edu>
3137
3138 Spelling fixes.
3139 * net/tramp-adb.el (tramp-adb-get-toolbox):
3140 Fix misspelling of 'unknown'.
3141
3142 2013-01-08 Juri Linkov <juri@jurta.org>
3143
3144 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
3145 * progmodes/flymake.el (flymake-errline, flymake-warnline):
3146 Use underline style wave on terminals that support it. (Bug#13000)
3147
3148 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
3149
3150 * emacs-lisp/pcase.el (pcase--split-equal): Also take advantage if
3151 the predicate returns nil.
3152
3153 * simple.el: Use lexical-binding.
3154 (primitive-undo): Use pcase.
3155 (minibuffer-history-isearch-push-state): Use a closure.
3156
3157 2013-01-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3158
3159 * simple.el (primitive-undo): Move from undo.c.
3160
3161 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
3162
3163 * vc/pcvs.el (cvs-cleanup-collection): Extend meaning of `rm-handled'.
3164 (cvs-mode-remove-handled): Use it (bug#13380).
3165
3166 * emacs-lisp/nadvice.el (advice--tweak): New function.
3167 (advice--remove-function, advice--subst-main): Use it.
3168
3169 * emacs-lisp/advice.el: Update commentary.
3170
3171 2013-01-08 Michael Albinus <michael.albinus@gmx.de>
3172
3173 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3174 Remove spurious entry.
3175
3176 2013-01-08 Glenn Morris <rgm@gnu.org>
3177
3178 * net/tramp.el (tramp-default-host-alist): Add :version.
3179
3180 2013-01-08 Juri Linkov <juri@jurta.org>
3181
3182 * info.el (Info-read-node-name-2): Don't duplicate suffixes for
3183 single completion. (Bug#12456)
3184 (info--manual-names): Expand node completions into an explicit list
3185 before appending it to another list. Filter out internal buffers
3186 with the leading space in the buffer name. (Bug#10771)
3187
3188 2013-01-08 Juri Linkov <juri@jurta.org>
3189
3190 * info.el (Info-read-node-name-1): Allow empty node name in (FILENAME)
3191 that defaults to the Top node.
3192 (Info-goto-node, Info-read-node-name): Doc fix to mention that
3193 the short format (FILENAME) goes to the Top node.
3194 (Info-build-node-completions): Rename arg `file' to `filename'.
3195 (Bug#13365)
3196
3197 2013-01-07 Bastien Guerry <bzg@gnu.org>
3198
3199 * menu-bar.el (menu-bar-search-documentation-menu):
3200 Use `apropos-user-option' and fix the help message.
3201
3202 2013-01-07 Bastien Guerry <bzg@gnu.org>
3203
3204 * apropos.el (apropos-do-all): Update docstring.
3205 (apropos-user-option-button): New face.
3206 (apropos-user-option): Rename from `apropos-variable' and update
3207 docstring.
3208 (apropos-variable): Rewrite, now show all variables by default.
3209 (apropos-print): Mention "User option" instead of "Variable" when
3210 printing doc for user options. (Bug#13276)
3211
3212 2013-01-07 Jürgen Hötzel <juergen@archlinux.org>
3213
3214 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
3215 Handle filename correctly, when parsing "source -> target" symlink
3216 output.
3217 (tramp-adb-handle-set-file-times): New defun.
3218
3219 2013-01-07 Stefan Monnier <monnier@iro.umontreal.ca>
3220
3221 * emacs-lisp/advice.el (ad-activate-advised-definition): Refresh the
3222 advice list when the interactive-spec of ad-Advice-* changes.
3223
3224 2013-01-07 Katsumi Yamaoka <yamaoka@jpl.org>
3225
3226 * wid-edit.el (widget-default-get): Work for inlined elements.
3227 (Bug#12670)
3228
3229 2013-01-07 Michael Albinus <michael.albinus@gmx.de>
3230
3231 * net/tramp.el (tramp-default-host-alist): New defcustom.
3232 (tramp-find-host): Use it.
3233 (tramp-eshell-directory-change): Move from tramp-sh.el. Add to
3234 `eshell-directory-change-hook'.
3235
3236 * net/tramp-adb.el (top): Add adb specific entry in
3237 `tramp-default-host-alist'.
3238 (tramp-adb-file-name-host): Remove function.
3239 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
3240 Use `tramp-file-name-host' instead of `tramp-adb-file-name-host'.
3241
3242 * net/tramp-sh.el: Move eshell integration code to tramp.el.
3243
3244 2013-01-06 Jürgen Hötzel <juergen@archlinux.org>
3245
3246 * net/tramp-adb.el (tramp-methods): Add `tramp-tmpdir' entry.
3247
3248 2013-01-06 Michael Albinus <michael.albinus@gmx.de>
3249
3250 * net/tramp-adb.el (tramp-adb-ls-toolbox-regexp): The file size can
3251 consist of more than one digit.
3252 (tramp-adb-file-name-handler-alist):
3253 Use `tramp-handle-file-exists-p' consistently.
3254 (tramp-adb-file-name-handler): Don't tweak `tramp-default-host'.
3255 (tramp-adb-handle-file-exists-p): Remove function.
3256 (tramp-adb-file-name-host): New defun.
3257 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
3258 Use it.
3259 (tramp-adb-maybe-open-connection): Set "remote-path" property.
3260
3261 2013-01-06 Chong Yidong <cyd@gnu.org>
3262
3263 * vc/vc.el (vc-next-action): Detect buffer modifications
3264 conflicting with locking VCS operation (Bug#11490).
3265
3266 * vc/vc-hooks.el (vc-after-save): DTRT for locking VCSes.
3267
3268 2013-01-05 Michael Albinus <michael.albinus@gmx.de>
3269
3270 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
3271 (tramp-adb-handle-directory-files-and-attributes): Fix typos.
3272
3273 2013-01-05 Jürgen Hötzel <juergen@archlinux.org>
3274
3275 * net/tramp-adb.el (tramp-adb-handle-file-attributes): More robust
3276 parsing of ls output using regular expression (handle filenames
3277 with spaces). Use virtual device number.
3278 (tramp-do-parse-file-attributes-with-ls): New defun (Code
3279 cleanup).
3280
3281 2013-01-04 Daiki Ueno <ueno@gnu.org>
3282
3283 * epg.el: Silence byte-compiler warnings.
3284 (epg--start): Use delete-char instead of delete-backward-char.
3285 (epg-wait-for-completion): Pass FRAME arg to redraw-frame.
3286
3287 2013-01-04 Daiki Ueno <ueno@gnu.org>
3288
3289 * epg.el (epg--start): Don't call "tty" program on W32 platforms.
3290 Suggested by Eli Zaretskii <eliz@gnu.org>.
3291
3292 2013-01-04 Michael Albinus <michael.albinus@gmx.de>
3293
3294 * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
3295 non-negative integers. Otherwise, the default values are used.
3296 (tramp-convert-file-attributes): Convert uid and gid to integers.
3297
3298 2013-01-04 Glenn Morris <rgm@gnu.org>
3299
3300 * term.el (term-handle-colors-array): Ensure face attributes
3301 are fully specified, not nil. (Bug#13337)
3302
3303 * term.el (term-default-fg-color, term-default-bg-color):
3304 Fix custom type.
3305
3306 * progmodes/etags.el (tags-compression-info-list): Doc fix.
3307 (tag-find-file-of-tag-noselect): Check auto-compression-mode
3308 rather than 'jka-compr being loaded. (Bug#13338)
3309
3310 2013-01-04 Wesley Dawson <whd@lavabit.com> (tiny change)
3311
3312 * icomplete.el (icomplete-completions):
3313 Honor icomplete-prospects-height once more following
3314 2012-11-29 changes. (Bug#13224)
3315
3316 2013-01-04 Stefan Monnier <monnier@iro.umontreal.ca>
3317
3318 * subr.el (internal--called-interactively-p--get-frame): Find aliases
3319 of called-interactively-p as well (bug#13237).
3320
3321 * view.el (view--enable, view--disable): Rename from view-mode-enable
3322 and view-mode-disable and assume it's called from view-mode.
3323 (view-mode-enable, view-mode-disable): Redefine as obsolete
3324 compatibility layer above view-mode.
3325 (view-mode-enter): Call `view-mode'.
3326
3327 * files.el (after-find-file): Call `view-mode'.
3328
3329 * doc-view.el (doc-view-scale-internally): New var.
3330 (doc-view-enlarge, doc-view-insert-image): Obey it.
3331
3332 2013-01-03 Daiki Ueno <ueno@gnu.org>
3333
3334 * epg.el (epg--start): Ignore errors when /dev/fd/0 does not
3335 exist. (Bug#13344)
3336
3337 2013-01-03 Glenn Morris <rgm@gnu.org>
3338
3339 * mail/rmail.el (rmail-set-header-1): Ignore case.
3340 Handle multi-line headers. (Bug#13330)
3341
3342 * progmodes/make-mode.el (makefile-fill-paragraph): Add doc.
3343 Handle paragraph starting at beginning of buffer.
3344
3345 * subr.el (eval-after-load): Don't purecopy the form, so that it
3346 can be nconc'd later on; reverts 2009-11-11 change. (Bug#13331)
3347
3348 * emacs-lisp/byte-run.el (defun): Place cl declarations
3349 after any interactive spec. (Bug#13265)
3350
3351 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
3352
3353 * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
3354 defun. Don't check for DECL if DOCSTRING isn't a string.
3355 (defun): Likewise.
3356
3357 2013-01-02 Glenn Morris <rgm@gnu.org>
3358
3359 * eshell/em-cmpl.el (eshell-pcomplete):
3360 More thoroughly imitate pcomplete. (Bug#13293)
3361
3362 * files.el (parse-colon-path): Doc fix. (Bug#12351)
3363 Return nil for empty path elements. (Bug#13296)
3364
3365 2013-01-02 Fabián Ezequiel Gallina <fgallina@cuca>
3366
3367 * progmodes/python.el (python-nav-end-of-statement): Rewrite in
3368 order to improve efficiency (Based on Daniel Colascione's
3369 <dancol@dancol.org> patch). (Bug#13182)
3370
3371 2013-01-02 Glenn Morris <rgm@gnu.org>
3372
3373 * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
3374
3375 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
3376
3377 * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
3378 neither DOCSTRING nor DECL was given. (Bug#13316)
3379
3380 2013-01-02 Michael Albinus <michael.albinus@gmx.de>
3381
3382 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Add argument to
3383 `error' call.
3384 (tramp-do-copy-or-rename-file): Ignore errors when calling
3385 `set-file-extended-attributes'.
3386
3387 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
3388 Add handler for `file-acl'.
3389 (tramp-smb-handle-file-acl): New defun.
3390
3391 2013-01-02 Jay Belanger <jay.p.belanger@gmail.com>
3392
3393 * calc/README: Mention ISO 8601 week-numbering dates.
3394
3395 2013-01-01 Martin Rudalics <rudalics@gmx.at>
3396
3397 * view.el (view-mode-enable): New argument run-view-mode-hook.
3398 Run view-mode-hook only when it's non-nil (Bug#13315).
3399 (view-mode-enter): Call view-mode-enable with run-view-mode-hook
3400 argument t.
3401
3402 2012-12-31 Jürgen Hötzel <juergen@archlinux.org>
3403
3404 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Handle errors
3405 (No device connected, invalid device name). (Bug #13299)
3406
3407 2012-12-31 Martin Rudalics <rudalics@gmx.at>
3408
3409 * window.el (window-resizable--p): Rename to window-resizable-p.
3410 (window-resize-no-error): New function.
3411
3412 * mail/rmail.el (rmail-maybe-display-summary): Restore behavior
3413 broken in fix from 2012-12-28.
3414
3415 2012-12-31 Stefan Monnier <monnier@iro.umontreal.ca>
3416
3417 * subr.el (special-form-p): Don't signal errors on undef aliases.
3418
3419 2012-12-31 Jay Belanger <jay.p.belanger@gmail.com>
3420
3421 * calc/calc-forms.el (math-parse-date): Try using
3422 `math-parse-iso-date' when it looks like it might be needed.
3423 Allow times of 24:00.
3424 (math-parse-date-validate, math-parse-iso-date-validate): Allow times
3425 of 24:00.
3426
3427 2012-12-30 Glenn Morris <rgm@gnu.org>
3428
3429 * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
3430 Remove unnecessary/buggy autoloads (missing interactive). (Bug#13294)
3431 (rmail-summary-displayed, rmail-summary): Declare.
3432 (mairix-rmail-display): Just require rmail.
3433
3434 2012-12-30 Chong Yidong <cyd@gnu.org>
3435
3436 * emacs-lisp/package.el (package-untar-buffer): Improve integrity
3437 check for the tarball contents.
3438
3439 2012-12-30 Matt Fidler <matt.fidler@alcon.com> (tiny change)
3440
3441 * emacs-lisp/package.el (package-untar-buffer): Handle problematic
3442 tarfile content listings (Bug#13136).
3443
3444 2012-12-30 Mark Lillibridge <mark.lillibridge@hp.com>
3445
3446 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
3447 Insert the undecoded text of the message being forwarded. (Bug#9521)
3448
3449 2012-12-30 Michael Albinus <michael.albinus@gmx.de>
3450
3451 * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
3452 integers, if they are real numbers. (Bug#13282)
3453
3454 * net/tramp-sh.el (tramp-sh-handle-set-file-selinux-context):
3455 Return `t' on success.
3456
3457 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
3458 Add handler for `set-file-selinux-context'.
3459
3460 2012-12-29 Michael Albinus <michael.albinus@gmx.de>
3461
3462 * net/tramp-sh.el (tramp-sh-handle-file-acl): Suppress basic attributes.
3463 (tramp-sh-handle-set-file-acl): Return `t' on success.
3464
3465 2012-12-29 Eli Zaretskii <eliz@gnu.org>
3466
3467 * files.el (backup-buffer-copy, basic-save-buffer-2):
3468 If set-file-extended-attributes fails, fall back on set-file-modes
3469 instead of signaling an error. (Bug#13298)
3470 (basic-save-buffer): Likewise.
3471
3472 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
3473
3474 * progmodes/python.el: Support other commands triggering
3475 python-indent-line so indentation cycling continues to work.
3476 (python-indent-trigger-commands): New defcustom.
3477 (python-indent-line): Use it.
3478
3479 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
3480
3481 * progmodes/python.el (python-shell-send-region): Add blank lines
3482 for non sent code so backtraces remain correct.
3483
3484 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
3485
3486 * progmodes/python.el: Remove cl dependency.
3487 (python-syntax-count-quotes): Replace incf call.
3488 (python-fill-string): Replace setf call.
3489
3490 2012-12-29 Damien Cassou <damien.cassou@gmail.com>
3491
3492 * info.el (info-other-window): New arg, for consistency with info.
3493
3494 2012-12-28 Martin Rudalics <rudalics@gmx.at>
3495
3496 * mail/rmail.el (rmail-maybe-display-summary):
3497 Rewrite (Bug#13066).
3498
3499 2012-12-28 Andreas Schwab <schwab@linux-m68k.org>
3500
3501 * epg.el (epg--start): Modify process-environment locally.
3502
3503 2012-12-28 Daiki Ueno <ueno@gnu.org>
3504
3505 * epg.el: Support pinentry-curses.
3506 Suggested by Werner Koch in
3507 <http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00755.html>.
3508 (epg-agent-file, epg-agent-mtime): New variable.
3509 (epg--start): Record the modified time of gpg-agent socket file,
3510 to restore Emacs frame after pinentry-curses termination.
3511 (epg-wait-for-completion): Restore Emacs frame here.
3512
3513 2012-12-27 Juri Linkov <juri@jurta.org>
3514
3515 * info.el (Info-file-completions): New variable.
3516 (Info-read-node-name-1): Complete node names in the Info file
3517 when a file name is given. Call `Info-build-node-completions'
3518 with a file name.
3519 (Info-build-node-completions): Add new arg `file'. When it is
3520 non-nil, visit it in a temporary buffer and cache its completions in
3521 `Info-current-file-completions'. Move most of the function body to
3522 `Info-build-node-completions-1'.
3523 (Info-build-node-completions-1): New function with the body from
3524 `Info-build-node-completions'. (Bug#12456)
3525
3526 2012-12-27 Juri Linkov <juri@jurta.org>
3527
3528 * frame.el (frame-maximization-style): Remove user option.
3529 (cycle-frame-maximized): Remove function.
3530 (toggle-frame-maximized): Rewrite and bind to M-<f10>.
3531 (toggle-frame-fullscreen): New command bound to <f11> instead of
3532 `toggle-frame-maximized'.
3533 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html
3534
3535 2012-12-27 Michael Albinus <michael.albinus@gmx.de>
3536
3537 * net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.
3538
3539 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3540 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3541 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
3542 for `file-accessible-directory-p'. (Bug#13275)
3543
3544 2012-12-27 Sam Steingold <sds@gnu.org>
3545
3546 * progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
3547 continuations, see <http://stackoverflow.com/questions/3582436>.
3548
3549 2012-12-27 Dmitry Gutov <dgutov@yandex.ru>
3550
3551 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
3552 "module" and "def" to have indentation before them.
3553 Regression from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).
3554
3555 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
3556
3557 2012-12-27 Alan Mackenzie <acm@muc.de>
3558
3559 Speed up fontification where there's large brace blocks.
3560 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
3561 to a call of c-beginning-of-decl-1.
3562
3563 2012-12-27 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
3564
3565 * comint.el (comint-adjust-window-point): New function.
3566 (comint-postoutput-scroll-to-bottom):
3567 Call comint-adjust-window-point (Bug#13248).
3568
3569 2012-12-26 Dmitry Gutov <dgutov@yandex.ru>
3570
3571 * progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
3572 Rakefile regexp.
3573 (auto-mode-alist): Associate .gemspec files with ruby-mode
3574 (https://bugs.ruby-lang.org/issues/5453).
3575
3576 2012-12-26 Jürgen Hötzel <juergen@archlinux.org>
3577
3578 * net/tramp-adb.el (tramp-adb-get-ls-command): New defun.
3579 Suppress coloring, if possible (required for BusyBox based systems like
3580 CyanogenMod).
3581 (tramp-adb-handle-file-attributes)
3582 (tramp-adb-handle-insert-directory)
3583 (tramp-adb-handle-file-name-all-completions): Use it.
3584 (tramp-adb-get-toolbox): New defun. Check for remote shell
3585 implementation (BusyBox or Toolbox).
3586
3587 2012-12-24 Constantin Kulikov <zxnotdead@gmail.com> (tiny change)
3588
3589 * startup.el (initial-buffer-choice): Allow function as value
3590 (Bug#13251).
3591 (command-line-1): Handle case where initial-buffer-choice
3592 specifies a function.
3593 * server.el (server-execute): Handle case where
3594 initial-buffer-choice specifies a function.
3595
3596 2012-12-24 Lars Ingebrigtsen <larsi@gnus.org>
3597
3598 * mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
3599 its own function.
3600 (smtpmail-try-auth-methods): Forget the user name/password if the
3601 login is unsuccessful (bug#12424).
3602
3603 2012-12-22 Michael Albinus <michael.albinus@gmx.de>
3604
3605 * notifications.el (notifications-notify): Protect body with
3606 `with-demoted-errors'.
3607
3608 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3609 Check properties of remote device. Restart connection, if there is a
3610 change.
3611
3612 2012-12-21 Chong Yidong <cyd@gnu.org>
3613
3614 * sort.el (sort-subr): Doc fix (Bug#13056).
3615
3616 2012-12-21 Bastien Guerry <bzg@gnu.org>
3617
3618 * progmodes/etags.el (tags-search): Fix typo. Bug #13232.
3619
3620 2012-12-21 Michael Albinus <michael.albinus@gmx.de>
3621
3622 * simple.el (process-file): Overwrite stderr file, if exists.
3623
3624 2012-12-21 Daiki Ueno <ueno@gnu.org>
3625
3626 * epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
3627 (epg-error): Set `error-message' property.
3628
3629 2012-12-21 Chong Yidong <cyd@gnu.org>
3630
3631 * international/mule-cmds.el (read-char-by-name): Signal an error
3632 if the user does not supply a valid character (Bug#13177).
3633
3634 * simple.el (transpose-subr-1): Preserve marker positions by
3635 changing the insertion sequence (Bug#13122).
3636
3637 2012-12-21 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
3638
3639 * simple.el (kill-region): Deactivate mark even for empty regions
3640 (Bug#13169).
3641
3642 2012-12-21 Chong Yidong <cyd@gnu.org>
3643
3644 * help-fns.el (describe-variable): Make sure we get the right
3645 buffer name (Bug#13105). Suggested by Kelly Dean.
3646
3647 2012-12-20 Michael R. Mauger <mmaug@yahoo.com>
3648
3649 * comint.el (comint-redirect-previous-input-string): New variable.
3650 (comint-redirect-setup, comint-redirect-cleanup)
3651 (comint-redirect-preoutput-filter): Use it. Fixes redirection bug.
3652 (comint-redirect-preoutput-filter): Fix verbose message.
3653
3654 2012-12-20 Michael Albinus <michael.albinus@gmx.de>
3655
3656 * progmodes/grep.el (rgrep): Escape command line. Sometimes, it
3657 is too long for Tramp. See discussion in
3658 <http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.
3659
3660 * progmodes/compile.el (compilation-start): Remove line escape
3661 template.
3662
3663 2012-12-20 Dmitry Antipov <dmantipov@yandex.ru>
3664
3665 * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
3666 Adjust comment.
3667
3668 2012-12-19 Jonas Bernoulli <jonas@bernoul.li>
3669
3670 * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
3671 following non-comment text (bug#13207).
3672 (lm-header-multiline): Continuation lines need to be indented more than
3673 the first line.
3674 (lm-homepage): New function.
3675 (lm-with-file): Don't be confused if narrowing is in effect.
3676
3677 2012-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
3678
3679 * vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
3680 very beginning of a hunk (e.g. killing the first line).
3681
3682 2012-12-19 Michael Albinus <michael.albinus@gmx.de>
3683
3684 * net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
3685 and text properties from returned ACL string.
3686 (tramp-sh-handle-set-file-acl): Do not use additional parentheses
3687 for "setfacl" command.
3688
3689 2012-12-18 Michael Albinus <michael.albinus@gmx.de>
3690
3691 * net/tramp.el (tramp-error-with-buffer): Give a hint to use
3692 `tramp-cleanup-this-connection', when the process has died.
3693 (Bug#13151)
3694
3695 2012-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
3696
3697 * icomplete.el (icomplete-completions): Also use … to truncate prefix.
3698
3699 2012-12-17 Kevin Ryde <user42@zip.com.au>
3700
3701 * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
3702
3703 2012-12-17 Michael Albinus <michael.albinus@gmx.de>
3704
3705 Add support for preserving ACL entries of files.
3706
3707 * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
3708 `set-file-acl' handlers.
3709
3710 * net/tramp-adb.el (tramp-adb-handle-copy-file):
3711 Handle PRESERVE-EXTENDED-ATTRIBUTES.
3712
3713 * net/tramp-compat.el (tramp-compat-copy-file):
3714 Handle PRESERVE-EXTENDED-ATTRIBUTES.
3715
3716 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3717 Add `file-acl' and `set-file-acl' handlers.
3718 (tramp-gvfs-handle-copy-file):
3719 Handle PRESERVE-EXTENDED-ATTRIBUTES.
3720 (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
3721 New defuns.
3722
3723 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3724 Add `file-acl' and `set-file-acl' handlers.
3725 (tramp-remote-acl-p, tramp-sh-handle-file-acl)
3726 (tramp-sh-handle-set-file-acl): New defuns.
3727 (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
3728 Handle PRESERVE-EXTENDED-ATTRIBUTES.
3729
3730 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
3731 Add `file-acl' and `set-file-acl' handlers.
3732 (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
3733
3734 2012-12-17 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
3735
3736 * help-macro.el (make-help-screen): Instead of switch-to-buffer
3737 use pop-to-buffer with NORECORD argument t. As buffer name, use
3738 *Metahelp* with a leading space (Bug#13190).
3739
3740 2012-12-16 Romain Francoise <romain@orebokech.com>
3741
3742 * files.el (file-extended-attributes)
3743 (set-file-extended-attributes): New functions.
3744 (backup-buffer): Use them to handle both SELinux context and ACL
3745 entries.
3746 (backup-buffer-copy): Work with an alist of extended attributes,
3747 rather than an SELinux context.
3748 (basic-save-buffer-2): Ditto.
3749
3750 2012-12-16 Timo Myyrä <timo.myyra@gmail.com>
3751
3752 * battery.el (battery-bsd-apm): New function.
3753
3754 2012-12-16 Jay Belanger <jay.p.belanger@gmail.com>
3755
3756 * calc/calc.el (calc-standard-date-formats): Adjust one of the
3757 standard date formats.
3758
3759 2012-12-15 Juri Linkov <juri@jurta.org>
3760
3761 * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
3762 `isearch-insert-char-by-name'.
3763 (with-isearch-suspended): New defmacro with body mostly from
3764 `isearch-edit-string' except the part that sets
3765 `isearch-new-string' and `isearch-new-message'.
3766 (isearch-edit-string): Use new macro `with-isearch-suspended' with
3767 body that sets `isearch-new-string' and `isearch-new-message'.
3768 (isearch-insert-char-by-name): New command.
3769 * international/mule-cmds.el (read-char-by-name): Let-bind
3770 `enable-recursive-minibuffers' to t.
3771 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
3772
3773 2012-12-15 Juri Linkov <juri@jurta.org>
3774
3775 * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
3776 (Bug#13175)
3777
3778 2012-12-15 Christopher Schmidt <christopher@ch.ristopher.com>
3779
3780 * dired-x.el (dired-guess-shell-command): Put colon at the end of
3781 the prompt. (Bug#13045)
3782
3783 2012-12-14 Glenn Morris <rgm@gnu.org>
3784
3785 * emacs-lisp/macroexp.el (macroexp--warn-and-return):
3786 Try to include filename in non-bytecomp warning. (Bug#13132)
3787
3788 2012-12-14 Paul Eggert <eggert@cs.ucla.edu>
3789
3790 Fix permissions bugs with setgid directories etc. (Bug#13125)
3791 * files.el (backup-buffer): Don't rely on 9th output of
3792 file-attributes, as it's now a placeholder. Instead, use the new
3793 optional arg of file-ownership-preserved-p.
3794 (file-ownership-preserved-p): New optional arg GROUP.
3795 Fix mishandling of setuid directories that would cause this
3796 function to return t when it should have returned nil.
3797 Document what happens if the file does not exist, and when
3798 it's not known whether the ownership will be preserved.
3799 * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
3800 Likewise.
3801 (tramp-get-local-gid): Use group-gid for integer, as that's
3802 faster and more reliable.
3803
3804 2012-12-14 Julien Danjou <julien@danjou.info>
3805
3806 * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
3807 Update keywords list, data type and PL/pgSQL.
3808
3809 2012-12-14 Dave Abrahams <dave@boostpro.com>
3810
3811 * vc/ediff-util.el (ediff-buffer-type): New function.
3812 (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
3813 rather than taking it as as argument.
3814 (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
3815
3816 2012-12-14 Ryan Crum <ryan.crum@eleostech.com>
3817
3818 * json.el: Add pretty-print option (bug#12634).
3819 (json-encoding-separator, json-encoding-default-indentation)
3820 (json--encoding-current-indentation, json-encoding-pretty-print)
3821 (json-encoding-lisp-style-closings): New vars.
3822 (json--with-indentation): New macro.
3823 (json-encode-hash-table, json-encode-alist, json-encode-plist)
3824 (json-encode-array): Use it to obey json-encoding-pretty-print.
3825 (json-pretty-print-buffer, json-pretty-print): New commands.
3826
3827 2012-12-14 Dmitry Gutov <dgutov@yandex.ru>
3828
3829 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
3830 Extract `ruby-syntax-propertize-expansions'.
3831 (ruby-syntax-propertize-expansions): Only change syntax on
3832 certain string delimiters, to punctuation. This way the common
3833 functions like forward-word and thing-at-point still work.
3834 (ruby-match-expression-expansion): Improve readability.
3835 (ruby-block-contains-point): New function.
3836 (ruby-add-log-current-method): Handle several edge cases.
3837
3838 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
3839
3840 * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
3841 unload-feature finishes even when aborting an ongoing edebug session.
3842 Also, do not worry about edebug-mode, unload-feature takes care of it.
3843
3844 2012-12-13 Andreas Schwab <schwab@suse.de>
3845
3846 * net/tls.el (tls-program): Update customize type.
3847
3848 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
3849
3850 * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
3851 (edebug-setup-hook, cl-read-load-hooks): Use it.
3852 (edebug-unload-function): New function. (Bug#13163)
3853
3854 2012-12-13 Michael Albinus <michael.albinus@gmx.de>
3855
3856 * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
3857 Otherwise, there could be errors in autoloading. (Bug#13151)
3858
3859 2012-12-13 Jürgen Hötzel <juergen@archlinux.org>
3860
3861 * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
3862 sequences.
3863
3864 2012-12-13 Alan Mackenzie <acm@muc.de>
3865
3866 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
3867 * progmodes/cc-engine.el (c-backward-comments): Add code to work
3868 around `forward-comment' not recognizing ^M as whitespace.
3869
3870 2012-12-13 Fabián Ezequiel Gallina <fgallina@cuca>
3871
3872 * progmodes/python.el (python-skeleton-class)
3873 (python-skeleton-def): Do not add space after defun name.
3874
3875 2012-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
3876
3877 * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
3878 (cl--symbol-function): Remove (now that funbound is like nil).
3879
3880 2012-12-12 Glenn Morris <rgm@gnu.org>
3881
3882 * button.el (button--area-button-p): Fix typo.
3883
3884 2012-12-12 Sam Steingold <sds@gnu.org>
3885
3886 * frame.el (frame-maximization-style): New user option.
3887 (toggle-frame-maximized): Toggle frame maximization according to
3888 `frame-maximization-style', bound to <f11>.
3889 (cycle-frame-maximized): Cycle between all maximization styles and
3890 non-maximized frame, bound to shift-<f11>.
3891
3892 2012-12-12 David Cadé <codename68@gmail.com>
3893
3894 * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
3895
3896 2012-12-12 Jonas Bernoulli <jonas@bernoul.li>
3897
3898 * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
3899 (eieio-override-prin1): Don't quote kewords and booleans.
3900 (object-write) <eieio-default-superclass>: Don't put closing parens
3901 on new line, avoid needless empty lines, align values that are objects
3902 with the slot keyword (instead of beginning on the same line).
3903 (eieio-list-prin1): Align value with slot keyword; increase
3904 eieio-print-depth before printing members of the list.
3905
3906 2012-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
3907
3908 * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
3909 a display text-property.
3910 (report-emacs-bug-hook): Don't bother deleting it any more.
3911
3912 * hilit-chg.el (highlight-save-buffer-state): Delete.
3913 Use with-silent-modifications instead.
3914 (hilit-chg-set-face-on-change): Only fixup the text that's modified.
3915
3916 * button.el: Handle buttons in display text-properties.
3917 (button--area-button-p, button--area-button-string):
3918 Use (STRING . STRING-POS) representation instead of just STRING.
3919
3920 2012-12-11 Eli Zaretskii <eliz@gnu.org>
3921
3922 * makefile.w32-in (compile4-SH): Fix a typo that caused term
3923 subdirectory be skipped.
3924
3925 2012-12-11 Glenn Morris <rgm@gnu.org>
3926
3927 * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
3928
3929 * progmodes/f90.el (f90-line-continued, f90-indent-region):
3930 Treat preprocessor lines embedded in continuations like comments.
3931 (f90-indent-line): Special-case preprocessor lines. (Bug#13138)
3932
3933 2012-12-11 Jay Belanger <jay.p.belanger@gmail.com>
3934
3935 * calc/calc.el (calc-standard-date-formats): Add more date
3936 formats.
3937 * calc/calc-forms.el (math-parse-iso-date): New function.
3938 (math-parse-date): Use `math-parse-iso-date' when appropriate.
3939 (math-parse-iso-date-validate): Add extra error checking.
3940 (calc-date-notation): Add ability to access new date formats.
3941
3942 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
3943
3944 * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
3945 font-lock as well as when there's no text-property.
3946
3947 2012-12-10 Jambunathan K <kjambunathan@gmail.com>
3948
3949 * hi-lock.el: Refine the choice of default face.
3950 (hi-lock-keyword->face): New function. Use it wherever we used
3951 cadadadr instead.
3952 (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
3953 (hi-lock--last-face): Remove var.
3954 (hi-lock--unused-faces): New var to replace it.
3955 (hi-lock-read-face-name): Use/maintain it.
3956 (hi-lock-unface-buffer): Maintain it. Fix error for the C-u case.
3957 (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
3958 if it has another face.
3959
3960 2012-12-10 Eli Zaretskii <eliz@gnu.org>
3961
3962 * subr.el (w32notify-handle-event): New function.
3963 (inotify-handle-event): Doc fix.
3964
3965 2012-12-10 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3966
3967 * subr.el (inotify-event-p, inotify-handle-event): New functions.
3968
3969 2012-12-10 Dani Moncayo <dmoncayo@gmail.com>
3970
3971 * simple.el (just-one-space): Doc fix.
3972
3973 2012-12-10 Eli Zaretskii <eliz@gnu.org>
3974
3975 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
3976
3977 2012-12-10 Le Wang <l26wang@gmail.com>
3978
3979 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
3980 narrowed buffer (bug#12361).
3981
3982 2012-12-10 Juanma Barranquero <lekktu@gmail.com>
3983
3984 * vc/vc-hooks.el (vc-state): Doc fix.
3985
3986 2012-12-10 Glenn Morris <rgm@gnu.org>
3987
3988 * mail/rmail.el (rmail-maybe-display-summary):
3989 Preserve buffer, in case select-window changes it. (Bug#13066)
3990
3991 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
3992
3993 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
3994 cl-load-hook where they belong.
3995
3996 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
3997
3998 * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
3999
4000 2012-12-09 Eli Zaretskii <eliz@gnu.org>
4001
4002 Parallelize byte compilation on MS-Windows.
4003 * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
4004 (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
4005 (WINS_BASIC): Define as concatenation of the above.
4006 (compile): Subdivide into 4 separate and independent jobs that can
4007 be run in parallel.
4008 (compile0-CMD, compile0-SH): New targets for compiling
4009 COMPILE_FIRST files, which are prerequisites for the rest of the
4010 byte-compilation.
4011 (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
4012 New targets for parallel compilation with cmd.exe.
4013 (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
4014 compiling under a Unixy shell.
4015
4016 2012-12-09 Chong Yidong <cyd@gnu.org>
4017
4018 * simple.el (set-mark-default-inactive): Delete this
4019 accidentally-introduced option.
4020 (set-mark-command, exchange-point-and-mark): Remove calls.
4021
4022 2012-12-09 Glenn Morris <rgm@gnu.org>
4023
4024 * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
4025 Respect a defcustom's :set function, if appropriate. (Bug#109)
4026 (eval-defun): Doc fix.
4027
4028 2012-12-08 Juri Linkov <juri@jurta.org>
4029
4030 * info.el (Info-copy-current-node-name, Info-breadcrumbs)
4031 (Info-fontify-node, Info-bookmark-make-record): Remove the
4032 file extension from Info-current-file (Bug#13016).
4033
4034 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
4035
4036 * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
4037 point, still provide some default.
4038 (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
4039 names, since we don't use it right now. Actually return the list.
4040 (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
4041
4042 2012-12-07 Chong Yidong <cyd@gnu.org>
4043
4044 * novice.el (disabled-command-function): Remove a spurious help
4045 xref (Bug#13043). Suggested by Kelly Dean.
4046
4047 * subr.el (text-clone-maintain): Fix clone overlay deletion when a
4048 syntax is specified (Bug#13025).
4049
4050 * info.el (Info-set-mode-line): Remove the file extension from
4051 Info-current-file if there is one (Bug#13016).
4052
4053 2012-12-07 Glenn Morris <rgm@gnu.org>
4054
4055 * mail/rmail.el (rmail-mime-decoded): New permanent local.
4056 (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
4057 * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
4058 and rmail-mime-decoded. (Bug#9841)
4059
4060 * mail/unrmail.el (unrmail-mbox-format): New option. (Bug#6574)
4061 (batch-unrmail, unrmail): Doc fixes.
4062 (unrmail): Respect unrmail-mbox-format.
4063 * mail/rmail.el (rmail-mbox-format): New option.
4064 (rmail-show-message-1): Respect rmail-mbox-format.
4065
4066 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
4067
4068 * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
4069
4070 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
4071
4072 Further cleanup of the "cl-" namespace. Fit CL in 80 columns.
4073 * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
4074 (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
4075 (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
4076 (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
4077 (cl-progv): Don't rely on dynamic scoping to find the body.
4078 * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
4079 (cl--proclaims-deferred): Rename from the "cl-" prefix.
4080 (cl-declaim): Use backquotes.
4081 * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
4082 Use "cl--" prefix for the object's tag.
4083
4084 * ses.el: Use advice-add/remove.
4085 (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
4086 (copy-region-as-kill, yank): Use advice-add.
4087 (ses-unload-function): Use advice-remove.
4088
4089 2012-12-06 Jonas Bernoulli <jonas@bernoul.li>
4090
4091 * button.el: Make them work in header-lines (bug#12817).
4092 (button-map): Add bindings for header-line and mode-line use.
4093 (button-get, button-put, button-label): `button' may now be a string.
4094 (button-activate): Don't make it a defsubst.
4095 (button--area-button-p, button--area-button-string): New functions.
4096 (make-text-button): Fix the return value when `beg' was a string.
4097 (push-button): Handle the mode-line case.
4098
4099 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
4100
4101 * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
4102 (sql-signum): Remove. Use `cl-signum' instead.
4103 (sql-read-passwd): Remove; use read-passwd instread.
4104 (sql-get-login-ext): Use read-string.
4105 (sql-get-login): Use dolist and pcase.
4106 (sql--completion-table): Rename from sql-try-completion.
4107 Use complete-with-action.
4108 (sql-mode): Don't change abbrev-all-caps globally.
4109 (sql-connect): Don't rely on dynamic scoping for `new-name'.
4110 (sql-postgres-completion-object): Initialize vars in their `let'.
4111 (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
4112 (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
4113 (sql-comint-interbase): Use a single append, without setq.
4114 (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
4115
4116 * hi-lock.el: Rework the default face and the serialize regexp code.
4117 (hi-lock--auto-select-face-defaults): Remove.
4118 (hi-lock-string-serialize-serial): Remove.
4119 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
4120 make weak.
4121 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
4122 equal string.
4123 (hi-lock-set-pattern): Adjust accordingly.
4124 (hi-lock--regexps-at-point): Simplify accordingly.
4125 (hi-lock--auto-select-face-defaults): Remove.
4126 (hi-lock--last-face): New var to replace it.
4127 (hi-lock-read-face-name): Rewrite (bug#11095).
4128 (hi-lock-unface-buffer): Arrange for the face to be the next default.
4129
4130 2012-12-06 Michael Albinus <michael.albinus@gmx.de>
4131
4132 * net/tramp.el (tramp-replace-environment-variables):
4133 Hide compiler warning.
4134 (tramp-file-name-for-operation): Remove `executable-find',
4135 `start-process', `call-process' and `call-process-region'.
4136
4137 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
4138
4139 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
4140 compatibility.
4141
4142 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
4143
4144 2012-12-06 Chong Yidong <cyd@gnu.org>
4145
4146 * ffap.el (ffap-replace-file-component): Fix typo.
4147
4148 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
4149
4150 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
4151 fix open-paren-like token test (bug#12785).
4152
4153 2012-12-06 Glenn Morris <rgm@gnu.org>
4154
4155 * mail/rmailsum.el (rmail-new-summary): Tweak for
4156 rmail-maybe-display-summary changing buffer. (Bug#13066)
4157
4158 2012-12-06 Juri Linkov <juri@jurta.org>
4159
4160 * info.el (Info-fontify-node): Don't hide the last newline.
4161 (Bug#12272)
4162
4163 2012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
4164
4165 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
4166 so as to enable message-read-from-minibuffer to expand mail aliases.
4167
4168 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
4169
4170 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
4171 the `intangible' property.
4172 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
4173
4174 2012-12-05 Deniz Dogan <deniz@dogan.se>
4175
4176 * net/rcirc.el (rcirc-urls): Update documentation.
4177 (rcirc-condition-filter): New function.
4178 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
4179 and exclude consecutive duplicate URLs (Bug#6082).
4180
4181 2012-12-05 Michael Albinus <michael.albinus@gmx.de>
4182
4183 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
4184 Check return code of copy command.
4185
4186 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
4187 Use group `tramp'. Add version.
4188
4189 2012-12-05 Chong Yidong <cyd@gnu.org>
4190
4191 * ffap.el (ffap-url-regexp): Don't require matching at front of
4192 string (Bug#4952).
4193 (ffap-url-p): If only a substring matches, return that.
4194 (ffap-url-at-point): Use the return value of ffap-url-p.
4195 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
4196 (find-file-at-point, dired-at-point, dired-at-point-prompter)
4197 (ffap-guess-file-name-at-point): Likewise.
4198 (ffap-replace-file-component): Fix typo.
4199
4200 * info.el (info-display-manual): Add existing Info buffers, whose
4201 files may not be in Info-directory-list, to the completion.
4202 (info--manual-names): New helper function.
4203
4204 2012-12-05 Glenn Morris <rgm@gnu.org>
4205
4206 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
4207 New functions, for detecting and resolving conflicts. (Bug#10709)
4208
4209 2012-12-04 Jambunathan K <kjambunathan@gmail.com>
4210
4211 * hi-lock.el (hi-lock-auto-select-face): New user variable.
4212 (hi-lock-auto-select-face-defaults): New buffer local variable.
4213 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
4214 (hi-lock-unface-buffer): Prompt user with useful defaults.
4215 With prefix arg, unhighlight all hi-lock patterns in buffer.
4216
4217 2012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
4218
4219 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
4220
4221 2012-12-04 Michael Albinus <michael.albinus@gmx.de>
4222
4223 * Makefile.in (TRAMP_SRC):
4224 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
4225
4226 2012-12-04 Juergen Hoetzel <juergen@archlinux.org>
4227
4228 * net/tramp-adb.el: New package.
4229
4230 2012-12-04 Chong Yidong <cyd@gnu.org>
4231
4232 * terminal.el: Move to obsolete/.
4233
4234 * longlines.el: Move to obsolete/.
4235
4236 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
4237 Remove code referring to longlines mode.
4238
4239 2012-12-03 Juri Linkov <juri@jurta.org>
4240
4241 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
4242
4243 2012-12-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4244
4245 * textmodes/ispell.el (ispell-init-process)
4246 (ispell-start-process, ispell-internal-change-dictionary):
4247 Make sure personal dictionary name is expanded after initial
4248 `default-directory' value. Use expanded strings for
4249 keep/restart checks and for value (Bug#13019).
4250
4251 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
4252
4253 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
4254
4255 2012-12-03 Leo Liu <sdl.web@gmail.com>
4256
4257 * files.el (dir-locals-read-from-file): Check file non-empty
4258 before reading. (Bug#13038)
4259
4260 2012-12-03 Glenn Morris <rgm@gnu.org>
4261
4262 * jka-cmpr-hook.el (jka-compr-get-compression-info):
4263 Remove any version extension before checking filename. (Bug#13006)
4264 (jka-compr-compression-info-list): Belated :version bump.
4265
4266 2012-12-03 Chong Yidong <cyd@gnu.org>
4267
4268 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
4269
4270 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
4271 (buffer-menu): Doc fix (Bug#12294).
4272
4273 2012-12-03 Roland Winkler <winkler@gnu.org>
4274
4275 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
4276 of diary-show-all-entries in the diary buffer (Bug#12994).
4277
4278 2012-12-03 Michael Albinus <michael.albinus@gmx.de>
4279
4280 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
4281 "<STDIN>". This is binary safe.
4282
4283 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
4284
4285 * calc/calc-forms.el (math-absolute-from-iso-dt)
4286 (math-date-to-iso-dt, math-parse-iso-date-validate)
4287 (math-iso-dt-to-date): New functions.
4288 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
4289 (math-fd-isoweekday): New variables.
4290 (calc-date-notation, math-parse-standard-date, math-format-date)
4291 (math-format-date-part): Add support for more formatting codes.
4292
4293 2012-12-02 Dmitry Gutov <dgutov@yandex.ru>
4294
4295 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
4296 current buffer's file name when called interactively (Bug#12488).
4297
4298 2012-12-02 Juri Linkov <juri@jurta.org>
4299
4300 * info.el (info-display-manual): Don't clobber an existing Info
4301 buffer (Bug#10770). Add completion (Bug#10771).
4302
4303 2012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
4304
4305 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
4306 before using it for comparison (Bug#5297).
4307
4308 2012-12-01 Jari Aalto <jari.aalto@cante.net>
4309
4310 * textmodes/css-mode.el (css-current-defun-name): New function.
4311 (css-mode): Use it.
4312
4313 * textmodes/sgml-mode.el (html-current-defun-name): New function.
4314 (html-mode): Use it.
4315
4316 2012-12-01 Chong Yidong <cyd@gnu.org>
4317
4318 Modularize add-log-current-defun (Bug#2224).
4319 Suggested by Jari Aalto.
4320
4321 * vc/add-log.el (add-log-current-defun-function): Doc fix.
4322 (add-log-current-defun): Move mode-specific code to other files.
4323 (add-log-lisp-like-modes, add-log-c-like-modes)
4324 (add-log-tex-like-modes): Variables deleted.
4325
4326 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
4327 (lisp-mode-variables): Use it.
4328
4329 * progmodes/cc-mode.el (c-common-init):
4330 * progmodes/cperl-mode.el (cperl-mode): Set a value for
4331 add-log-current-defun-function.
4332
4333 * progmodes/m4-mode.el (m4-current-defun-name): New function.
4334 (m4-mode): Use it.
4335
4336 * progmodes/perl-mode.el (perl-current-defun-name): New.
4337 (perl-mode): Use it.
4338
4339 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
4340 Use lisp-current-defun-name.
4341
4342 * textmodes/tex-mode.el (tex-current-defun-name): New.
4343 (tex-common-initialization): Use it.
4344
4345 * textmodes/texinfo.el (texinfo-current-defun-name): New.
4346 (texinfo-mode): Use it.
4347
4348 2012-12-01 Chong Yidong <cyd@gnu.org>
4349
4350 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
4351 * progmodes/autoconf.el (autoconf-mode):
4352 * progmodes/js.el (js-mode):
4353 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
4354 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
4355 * progmodes/perl-mode.el (perl-mode):
4356 * progmodes/sh-script.el (sh-mode, sh-set-shell):
4357 * textmodes/css-mode.el (css-mode):
4358 * textmodes/sgml-mode.el (html-mode, sgml-mode)
4359 (sgml-tags-invisible, sgml-guess-indent):
4360 * textmodes/tex-mode.el (tex-common-initialization)
4361 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
4362 (doctex-mode, plain-tex-mode, latex-mode):
4363 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
4364
4365 2012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
4366
4367 * vc/vc-hg.el (vc-hg-next-revision):
4368 Ensure use of default "tip" output format. (Bug#6968)
4369
4370 2012-12-01 Kim F. Storm <storm@cua.dk>
4371
4372 * startup.el (fancy-startup-tail): Add a clickable link
4373 (Bug#2176).
4374
4375 2012-12-01 Chong Yidong <cyd@gnu.org>
4376
4377 * startup.el (fancy-startup-tail): Improve the message about
4378 auto-save files (Bug#2176).
4379
4380 * files.el (recover-session): Improve the descriptive message, and
4381 use substitute-command-keys.
4382
4383 2012-12-01 Glenn Morris <rgm@gnu.org>
4384
4385 * ido.el (ido-file-internal):
4386 Handle other-window, other-frame for dired. (Bug#13036)
4387
4388 2012-11-30 Glenn Morris <rgm@gnu.org>
4389
4390 * icomplete.el (icomplete-separator): Fix :version.
4391
4392 2012-11-30 Chong Yidong <cyd@gnu.org>
4393
4394 * shell.el (shell): For C-u M-x shell, use an inactive shell
4395 buffer as the default (Bug#1975).
4396 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
4397 (shell-mode): Use them to reapply ansi colorization if Shell mode
4398 is re-enabled.
4399
4400 2012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
4401
4402 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
4403
4404 2012-11-30 Samuel Bronson <naesten@gmail.com>
4405
4406 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
4407 flag to xargs, for compatibility with BSD xargs (Bug#11703).
4408
4409 2012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
4410
4411 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
4412 by move-to-column (Bug#3234).
4413
4414 2012-11-30 Chong Yidong <cyd@gnu.org>
4415
4416 * longlines.el (longlines-wrap-line, longlines-encode-region):
4417 Preserve text properties (Bug#1425).
4418
4419 2012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
4420
4421 * vc/vc.el (vc-register): Allow registering a file which is
4422 already registered with a different backend (Bug#10589).
4423
4424 2012-11-29 Jambunathan K <kjambunathan@gmail.com>
4425 Stefan Monnier <monnier@iro.umontreal.ca>
4426
4427 * icomplete.el: Change separator; add ido-style commands.
4428 (icomplete-show-key-bindings): Remove custom var.
4429 (icomplete-get-keys): Remove function.
4430 (icomplete-forward-completions, icomplete-backward-completions):
4431 New commands.
4432 (icomplete-minibuffer-map): New var.
4433 (icomplete-minibuffer-setup): Use it.
4434 (icomplete-exhibit): Don't delay if the list of completions is known.
4435 (icomplete-separator): New custom.
4436 (icomplete-completions): Use it.
4437 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
4438 (minibuffer-force-complete-and-exit): New command.
4439 (minibuffer--complete-and-exit): New function extracted from
4440 minibuffer-complete-and-exit.
4441 (minibuffer-complete-and-exit): Use it.
4442
4443 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
4444 error message when the file doesn't exist (bug#12974).
4445
4446 2012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
4447
4448 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
4449
4450 2012-11-29 Glenn Morris <rgm@gnu.org>
4451
4452 * files.el (hack-dir-local-variables): Warn if try to set
4453 coding via dir-locals, since it doesn't work. (Bug#7169)
4454
4455 Add desktop support for restoring vc-dir buffers. (Bug#10606)
4456 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
4457 Set buffer-local value of desktop-save-buffer.
4458 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
4459 New functions.
4460 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
4461 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
4462
4463 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
4464 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
4465 Doc fix.
4466 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
4467 Doc fixes.
4468
4469 2012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
4470
4471 * calc/calc-forms.el (calc-date-notation): Fix regexp
4472 used to find time codes. Fix symbol for seconds.
4473
4474 2012-11-27 Glenn Morris <rgm@gnu.org>
4475
4476 * emacs-lisp/derived.el (derived-mode-make-docstring):
4477 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
4478
4479 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
4480
4481 * textmodes/table.el (table-insert): Don't use `symbol-name' on
4482 lexically scoped variables (bug#13005).
4483
4484 2012-11-27 Glenn Morris <rgm@gnu.org>
4485
4486 * vc/vc-hooks.el (vc-mistrust-permissions):
4487 Default to t, to avoid data-loss. (Bug#11490)
4488
4489 2012-11-27 Fabián Ezequiel Gallina <fgallina@cuca>
4490
4491 * progmodes/python.el (python-indent-guess-indent-offset):
4492 If indentation is guessed make python-indent-offset buffer-local.
4493
4494 Fix Imenu regression.
4495 * progmodes/python.el (python-nav-beginning-of-defun):
4496 Fix forward movement when statement(s) separates point from defun.
4497 (python-imenu-prev-index-position): New function.
4498
4499 2012-11-27 Eli Zaretskii <eliz@gnu.org>
4500
4501 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
4502
4503 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
4504 Don't set buffer-file-type. Return nil. (Bug#12989)
4505
4506 2012-11-27 Glenn Morris <rgm@gnu.org>
4507
4508 * hippie-exp.el (hippie-expand-try-functions-list):
4509 Re-autoload it. (Bug#12982)
4510
4511 2012-11-27 Eli Zaretskii <eliz@gnu.org>
4512
4513 * descr-text.el (describe-char-padded-string):
4514 Call internal-char-font only on GUI frames. (Bug#11964)
4515
4516 2012-11-27 Andreas Schwab <schwab@linux-m68k.org>
4517
4518 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
4519 and obsoletion message.
4520
4521 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
4522
4523 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
4524 the constructs to keep outside of the `cl-block' (bug#12977).
4525
4526 2012-11-27 Chong Yidong <cyd@gnu.org>
4527
4528 * mouse.el (mouse-drag-line): Even if the line is not draggable,
4529 keep reading until we get the up-event anyway, in order to process
4530 the up-event for mouse-1-click-follows-link (Bug#12971).
4531
4532 2012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
4533
4534 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
4535 base function is not yet defined (bug#12965).
4536 (ad-activate-advised-definition): Use ad-compile-function.
4537 (ad-activate): Use cond.
4538
4539 2012-11-25 Leo Liu <sdl.web@gmail.com>
4540
4541 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
4542 (Bug#12979)
4543
4544 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
4545
4546 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
4547 reftex-section-info-function in order to be compatible with
4548 Texinfo integration.
4549
4550 * textmodes/reftex.el (reftex-section-pre-regexp)
4551 (reftex-section-post-regexp, reftex-section-info-function):
4552 New variable.
4553 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
4554 reftex-section-post-regexp, and reftex-section-info-function in order
4555 to be compatible with Texinfo integration.
4556
4557 * textmodes/reftex-toc.el (reftex-toc-promote-action):
4558 use reftex-section-pre-regexp variable in order to be compatible with
4559 Texinfo integration.
4560
4561 2012-11-25 Chong Yidong <cyd@gnu.org>
4562
4563 * faces.el: Make face-spec-set more analogous to setq.
4564 (face-spec-set): Change the third arg to specify whether this
4565 function is being called via defface, customize, or a third party.
4566 Set the appropriate symbol properties. Clear the override spec if
4567 setting via Custom. Initialize face if necessary. (Bug#4988)
4568 (face-spec-recalc): Allow theme faces to completely replace the
4569 defface spec, in the same way as custom faces (Bug#8454).
4570
4571 * cus-face.el (custom-declare-face): Move face initialization to
4572 face-spec-set.
4573 (custom-theme-set-faces): Don't initialize the face name here, as
4574 that is now done in face-spec-set.
4575
4576 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
4577 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
4578 Simplify by using the new arg to face-spec-set.
4579
4580 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
4581 reset face-override-spec too, and use custom-declare-face.
4582
4583 2012-11-24 Jan Djärv <jan.h.d@swipnet.se>
4584
4585 * term/ns-win.el (ns-initialize-window-system): Move creation of
4586 fontsets here (Bug#11964).
4587
4588 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
4589
4590 * ses.el (ses-rename-cell): Correct bug on mode-line update after
4591 cell renaming.
4592
4593 2012-11-24 Chong Yidong <cyd@gnu.org>
4594
4595 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
4596 obsolete.
4597
4598 * custom.el (custom-theme-set-variables): Use a topological sort
4599 for ordering by custom dependencies (Bug#12952).
4600 (custom--sort-vars, custom--sort-vars-1): New functions.
4601
4602 2012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
4603
4604 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
4605 lexical-binding (bug#12938).
4606
4607 2012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
4608
4609 * image-mode.el (image-transform-check-size): Use assertions only
4610 for images of type imagemagick.
4611
4612 Otherwise no error, image-transform-fit-to-{width,height} is
4613 silently ignored, as before. Doc fix.
4614
4615 2012-11-24 Chong Yidong <cyd@gnu.org>
4616
4617 * faces.el (color-defined-p): Doc fix (Bug#12853).
4618
4619 2012-11-24 Juri Linkov <juri@jurta.org>
4620
4621 * dired.el (dired-mark): Add optional arg `interactive'.
4622 Check for `use-region-p' if `interactive' is non-nil.
4623 (dired-unmark, dired-flag-file-deletion): Add optional arg
4624 `interactive'. Call `dired-mark' with the arg `interactive'.
4625 (Bug#10624)
4626
4627 * wdired.el: Revert 2012-10-17 change partly and replace it with
4628 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
4629 (wdired-finish-edit): Add marks for new file names to
4630 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
4631 after `revert-buffer'.
4632 (wdired-do-renames): Remove calls to `dired-remove-file',
4633 `dired-add-file', `dired-add-entry'. (Bug#11795)
4634
4635 2012-11-24 Alan Mackenzie <acm@muc.de>
4636
4637 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
4638
4639 Fix bugs in the state cache. Enhance a debugging mechanism.
4640 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
4641 "brace at column zero" strategy for C++.
4642 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
4643 (c-parse-state-point): New variable.
4644 (c-record-parse-state-state): Record old parse state with
4645 `copy-tree'. Record previous value of point.
4646 (c-debug-parse-state-double-cons): New debugging function.
4647 (c-debug-parse-state): Call the above new function.
4648 (c-toggle-parse-state-debug): Output a confirmatory message.
4649
4650 * progmodes/cc-mode.el (c-before-change, c-after-change):
4651 Call c-invalidate-state-cache from `c-before-change' instead of
4652 `c-after-change'.
4653
4654 2012-11-23 Chong Yidong <cyd@gnu.org>
4655
4656 * find-cmd.el (find-constituents): Add executable, ipath,
4657 readable, samefile, writable, daystart, regextype (Bug#12856).
4658
4659 2012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
4660
4661 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
4662
4663 2012-11-22 Paul Eggert <eggert@cs.ucla.edu>
4664
4665 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
4666 definition. This fixes a bootstrap failure.
4667 (calc-gregorian-switch): In menu, put dates before regions.
4668 This is easier to follow, lines up better in the menu, and lets us
4669 coalesce regions that switch at the same time. Give country
4670 names, not "Vatican", as that's better for non-expert users.
4671 Use names that are stable between the date of switch and now, e.g.,
4672 Bohemia and Moravia (which existed then and now) and not
4673 Czechoslovakia (which didn't exist then and doesn't exist now).
4674 What is now the U.S. mostly did not switch at the same time as
4675 Britain, so omit the U.S. Correct spelling of "Britain".
4676 Catholic Switzerland was too much of a mess, so omit it.
4677
4678 2012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
4679
4680 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
4681 after the variable is changed.
4682
4683 2012-11-21 Daniel Colascione <dancol@dancol.org>
4684
4685 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
4686 in SQL declarations for font-lock.
4687 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
4688
4689 2012-11-21 Glenn Morris <rgm@gnu.org>
4690
4691 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
4692 (face-italic-p): Add optional argument "inherit".
4693
4694 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
4695 Remove -p suffix from names, for consistency with other set-face-*.
4696 (set-face-inverse-video): Fix interactive spec.
4697 * play/gamegrid.el (gamegrid-make-mono-tty-face):
4698 * textmodes/table.el (table--update-cell-face):
4699 Use set-face-inverse-video rather than now obsolete alias.
4700
4701 2012-11-21 Eli Zaretskii <eliz@gnu.org>
4702
4703 * simple.el (line-move): Don't call line-move-partial if
4704 scroll-conservatively is in effect. (Bug#12927)
4705
4706 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4707
4708 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
4709 Fallback on completion-at-point rather than
4710 pcomplete-expand-and-complete, and only if pcomplete actually failed.
4711 (eshell-cmpl-initialize): Setup completion-at-point.
4712
4713 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
4714
4715 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
4716
4717 2012-11-21 Michael Albinus <michael.albinus@gmx.de>
4718
4719 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
4720 are remote, check out-of-band property for both.
4721
4722 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4723
4724 * window.el (switch-to-buffer): Re-add the warning that was lost in the
4725 code rewrite.
4726
4727 2012-11-21 Paul Eggert <eggert@cs.ucla.edu>
4728
4729 More minor time fixes.
4730 * calendar/time-date.el: Commentary fix.
4731 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
4732 too much other code depends on (0 0) time stamps.
4733 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
4734 Add a couple of FIXME comments.
4735
4736 Minor cleanup for times as lists of four integers.
4737 * files.el (dir-locals-directory-cache):
4738 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
4739 Doc fixes.
4740 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
4741 * ps-bdf.el (bdf-file-newer-than-time):
4742 Process four-integers time stamps, not two. Doc fixes.
4743
4744 2012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
4745
4746 * uniquify.el (uniquify-managed): Use defvar-local.
4747 (rename-buffer, create-file-buffer): Advise with advice-add.
4748 (uniquify-unload-function): Unadvise accordingly.
4749
4750 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
4751 (trace-buffer): Don't purecopy.
4752 (trace-entry-message, trace-exit-message): Add `context' arg.
4753 (trace--timer): New var.
4754 (trace-make-advice): Adjust for use in nadvice.
4755 Add `context' argument. Delay `display-buffer' via a timer.
4756 (trace-function-internal): Use advice-add.
4757 (trace--read-args): New function.
4758 (trace-function-foreground, trace-function-background): Use it.
4759 (trace-function): Rename to trace-function-foreground and redefine as
4760 an alias to that new name.
4761 (untrace-function, untrace-all): Adjust to the use of nadvice.
4762
4763 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
4764
4765 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
4766
4767 * subr.el (called-interactively-p-functions): New var.
4768 (internal--called-interactively-p--get-frame): New macro.
4769 (called-interactively-p, interactive-p): Rewrite in Lisp.
4770 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
4771 (called-interactively-p-functions): Use it.
4772 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
4773 (called-interactively-p-functions): Use it.
4774 * allout.el (allout-called-interactively-p): Don't assume
4775 called-interactively-p is a subr.
4776
4777 2012-11-20 Glenn Morris <rgm@gnu.org>
4778
4779 * profiler.el (profiler-report-mode-map): Add a menu.
4780 No need to bind `q' because we derive from special-mode.
4781 (profiler-report-find-entry): Handle calls from the menu-bar.
4782
4783 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
4784
4785 * emacs-lisp/byte-run.el (defun-declarations-alist):
4786 Allow a compiler-macro to be a lambda expression.
4787
4788 * progmodes/python.el: Use cl-lib. Move var declarations outside of
4789 eval-when-compile.
4790 (python-syntax-context): Add compiler-macro.
4791 (python-font-lock-keywords): Simplify with De Morgan.
4792
4793 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
4794
4795 * files.el (load-file): Require match in minibuffer selection, as was
4796 the case in Emacs-20 before we changed the spec to allow .elc files
4797 (bug#12935).
4798
4799 * json.el: Don't require cl since we don't use it.
4800 * color.el: Don't require cl.
4801 (color-complement): `caddr' -> `nth 2'.
4802
4803 * calendar/time-date.el (time-to-seconds): De-obsolete.
4804
4805 2012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
4806
4807 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
4808 year numbers.
4809 (math-date-to-julian-dt): Adjust the initial approximation for the
4810 year to deal with the new definition of the DATE.
4811
4812 2012-11-19 Daniel Colascione <dancol@dancol.org>
4813
4814 * term/w32-win.el (cygwin-convert-path-from-windows):
4815 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
4816
4817 2012-11-18 Chong Yidong <cyd@gnu.org>
4818
4819 * filecache.el (file-cache--read-list): New function.
4820 (file-cache-add-directory-list, file-cache-add-file-list)
4821 (file-cache-delete-file-list, file-cache-delete-directory-list):
4822 Use it to read a list of files or directories (Bug#12846).
4823 (file-cache-add-file, file-cache-add-directory)
4824 (file-cache-delete-file-list, file-cache-delete-file-regexp)
4825 (file-cache-delete-directory): Print an message.
4826
4827 2012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
4828
4829 * calc/calc-forms.el (math-date-to-dt): Use integer date when
4830 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
4831
4832 2012-11-18 Glenn Morris <rgm@gnu.org>
4833
4834 * image.el (insert-image, insert-sliced-image): Doc fix.
4835
4836 2012-11-18 Chong Yidong <cyd@gnu.org>
4837
4838 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
4839 (Bug#12810).
4840
4841 2012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
4842
4843 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
4844 response when the target file is in a subdirectory (Bug#12757).
4845
4846 2012-11-18 Chong Yidong <cyd@gnu.org>
4847
4848 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
4849
4850 2012-11-18 Glenn Morris <rgm@gnu.org>
4851
4852 * emacs-lisp/cl-lib.el (face-underline-p):
4853 Use set-face-underline rather than the alias set-face-underline-p.
4854
4855 * window.el (with-temp-buffer-window): Doc fix.
4856 * subr.el (with-output-to-temp-buffer):
4857 Add doc xref to with-temp-buffer-window.
4858
4859 2012-11-18 Juanma Barranquero <lekktu@gmail.com>
4860
4861 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
4862 * calc/calc.el (math-format-date-cache): Declare.
4863
4864 2012-11-17 Paul Eggert <eggert@cs.ucla.edu>
4865
4866 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
4867 It also uses January 1, 1 AD as its day number 1.
4868 * calc/calc-forms.el (math-julian-date-beginning)
4869 (math-julian-date-beginning-int): Implement this.
4870
4871 2012-11-17 Juanma Barranquero <lekktu@gmail.com>
4872
4873 * descr-text.el (quail-find-key):
4874 * dired.el (desktop-file-name):
4875 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
4876 * generic-x.el (comint-mode, comint-exec):
4877 * image-dired.el (widget-forward):
4878 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
4879 (speedbar-change-expand-button-char)
4880 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
4881 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
4882 * printing.el (easy-menu-add-item, easy-menu-remove-item)
4883 (widget-field-action, widget-value-set):
4884 * speedbar.el (imenu--make-index-alist):
4885 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
4886 (ring-length, ring-insert):
4887 * vcursor.el (compare-windows-skip-whitespace):
4888 * woman.el (dired-get-filename):
4889 Declare functions.
4890
4891 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
4892
4893 2012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
4894
4895 * calc/calc.el (calc-gregorian-switch): New variable.
4896
4897 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
4898 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
4899 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
4900 (math-leap-year-p): Add option to distinguish between Julian
4901 and Gregorian calendars.
4902 (math-day-number): Use `math-day-in-year' to do the computations.
4903 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
4904 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
4905 to do the computations.
4906 (math-date-to-dt): Use `math-date-to-julian-dt' and
4907 `math-date-to-gregorian-dt' to do the computations.
4908 (calcFunc-weekday, math-format-date-part): Use the new version of
4909 the DATE to determine the weekday.
4910 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
4911 when necessary.
4912
4913 2012-11-17 Eli Zaretskii <eliz@gnu.org>
4914
4915 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
4916 Cygwin; otherwise use 'file:'. (Bug#12914)
4917 (cygwin-convert-path-from-windows): Declare, to avoid
4918 byte-compiler warnings.
4919
4920 2012-11-17 Andreas Politz <politza@fh-trier.de>
4921
4922 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
4923 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
4924 prefix and negative numeric prefix args (Bug#12795).
4925
4926 2012-11-17 Stephen Berman <stephen.berman@gmx.net>
4927
4928 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
4929 Don't signal an error with a score that is too low to add to the
4930 list of top scores. (Bug#12779)
4931
4932 2012-11-17 Chong Yidong <cyd@gnu.org>
4933
4934 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
4935
4936 * filecache.el (file-cache-add-file): Handle relative file name in
4937 the argument (Bug#12694).
4938
4939 2012-11-16 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
4940
4941 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
4942
4943 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
4944
4945 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
4946
4947 * emacs-lisp/cl-lib.el: Set more meaningful version number.
4948
4949 2012-11-16 Martin Rudalics <rudalics@gmx.at>
4950
4951 * window.el (enlarge-window, shrink-window): Don't mention return
4952 value in doc-string (Bug#12896).
4953 (window--display-buffer): Don't resize frames - it won't work
4954 with all window managers and defeat pop-up-frame-alist.
4955 (display-buffer-alist): In doc-string explain that CONDITION can
4956 be a function and which arguments are passed to it (Bug#12854).
4957 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
4958 expressions (Bug#12854).
4959 (display-buffer): Pass ACTION argument to
4960 display-buffer-assq-regexp.
4961
4962 2012-11-16 Glenn Morris <rgm@gnu.org>
4963
4964 * window.el (fit-frame-to-buffer-bottom-margin)
4965 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
4966
4967 * faces.el (face-underline-p): Use face-attribute-specified-or.
4968
4969 2012-11-16 Juanma Barranquero <lekktu@gmail.com>
4970
4971 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
4972
4973 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
4974
4975 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
4976
4977 2012-11-16 Glenn Morris <rgm@gnu.org>
4978
4979 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
4980 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
4981
4982 * faces.el (face-underline-p): Doc fix. Handle :underline being
4983 things other than `t' (a string, a list).
4984 (face-inverse-video-p): Doc fix.
4985 (set-face-underline): Rename it back from set-face-underline-p.
4986 Doc fix. Allow interactive input of values other than t.
4987 (read-face-attribute): Apply formatting to :underline,
4988 since like :box and :stipple it can take list values.
4989
4990 * term.el (ansi-term): Don't let C-x escape-char binding
4991 clobber the more standard C-c binding. (Bug#12842)
4992
4993 * subr.el (set-temporary-overlay-map): Doc fix.
4994
4995 2012-11-16 Martin Rudalics <rudalics@gmx.at>
4996
4997 * window.el (record-window-buffer)
4998 (display-buffer-record-window): When copying the markers to
4999 window-point preserve window-point-insertion-type. (Bug#12588)
5000
5001 2012-11-16 Glenn Morris <rgm@gnu.org>
5002
5003 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
5004 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
5005 Use new names for hooks rather than obsolete aliases.
5006
5007 2012-11-15 Daniel Colascione <dancol@dancol.org>
5008
5009 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
5010 prefix instead of "file:" so that when FILE-NAME begins with "//",
5011 as it does when the target file is on a network share, url-handler
5012 isn't confused.
5013
5014 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
5015
5016 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
5017 a preactivated advice from an old advice.el; they're not compatible!
5018
5019 2012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
5020
5021 * emacs-lisp/nadvice.el (advice--make-interactive-form):
5022 Fix string-spec case.
5023
5024 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
5025
5026 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
5027
5028 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
5029 (advice--buffer-local-function-sample): New var.
5030 (advice--set-buffer-local, advice--buffer-local): New functions.
5031 (add-function, remove-function): Use them.
5032
5033 2012-11-15 Drew Adams <drew.adams@oracle.com>
5034
5035 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
5036
5037 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
5038
5039 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
5040 potential binding of print-gensym to t, and prettify (back)quotes in
5041 case they appear in args's default values (bug#12884).
5042
5043 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
5044
5045 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
5046 (advice-eval-interactive-spec): New function.
5047 (advice--make-interactive-form): Support around advice (bug#12844).
5048
5049 2012-11-14 Dmitry Gutov <dgutov@yandex.ru>
5050
5051 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
5052 more strict. Add docstring.
5053 (ruby-expression-expansion-re): Extract from
5054 `ruby-match-expression-expansion'.
5055 (ruby-syntax-propertize-function): After everything else, search
5056 for expansions in string literals, mark their insides as
5057 whitespace syntax and save match data for font-lock.
5058 (ruby-font-lock-keywords): Use the 2nd group from expression
5059 expansion matches.
5060 (ruby-match-expression-expansion): Use the match data saved to the
5061 text property in ruby-syntax-propertize-function.
5062
5063 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
5064
5065 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
5066 (bug#12879).
5067
5068 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
5069
5070 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
5071 start/end keyword a bit harder. Works with different values of N.
5072 Add more comments.
5073 (ruby-end-of-block): Update accordingly.
5074
5075 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
5076
5077 * woman.el (woman-file-name): Don't mess with unread-command-events
5078 (bug#12861).
5079
5080 * emacs-lisp/advice.el: Layer on top of nadvice.el.
5081 Remove out of date self-require hack.
5082 (ad-do-advised-functions): Use simple `dolist'.
5083 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
5084 (ad-advice-definition): Redefine as functions.
5085 (ad-advice-classes): Move before first use.
5086 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
5087 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
5088 (ad--defalias-fset): Remove functions.
5089 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
5090 (ad-get-orig-definition): Rewrite.
5091 (ad-make-advised-definition-docstring): Change base docstring.
5092 (ad-real-orig-definition): Rewrite.
5093 (ad-map-arglists): Change name of called function.
5094 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
5095 (ad-make-advised-definition): Simplify.
5096 (ad-assemble-advised-definition): Tweak for new calling context.
5097 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
5098 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
5099 function and call ad-activate if needed.
5100 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
5101 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
5102 (ad-compile-function): Compile ad-Advice-*.
5103 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
5104 (ad-start-advice, ad-stop-advice): Remove.
5105
5106 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
5107
5108 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
5109 period before class method names, not after. Remove handling of
5110 one impossible case. Add comments.
5111
5112 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
5113
5114 * emacs-lisp/advice.el: Remove support for freezing.
5115 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
5116 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
5117 Remove support for `freeze'.
5118
5119 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
5120 override the default.
5121 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
5122 cl--dotimes/dolist.
5123 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
5124 `cl' is loaded.
5125
5126 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
5127 from add-advice.
5128 (advice--strip-macro): New function.
5129 (advice--defalias-fset): Use them to handle macros.
5130 (advice-add): Use them.
5131 (advice-member-p): Correctly handle macros.
5132
5133 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
5134
5135 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
5136 Never font-lock the beginning of singleton class as heredoc.
5137
5138 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
5139
5140 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
5141
5142 2012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
5143
5144 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
5145 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
5146 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
5147
5148 2012-11-13 Fabián Ezequiel Gallina <fgallina@cuca>
5149
5150 Fix end-of-defun misbehavior.
5151 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
5152 python-beginning-of-defun-function. Handle nested defuns
5153 correctly.
5154 (python-nav-end-of-defun): Rename from
5155 python-end-of-defun-function. Ensure forward movement.
5156 (python-info-current-defun): Reimplement to work as intended
5157 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
5158 parent defuns as soon as possible.
5159
5160 2012-11-13 Glenn Morris <rgm@gnu.org>
5161
5162 * progmodes/flymake.el (flymake-error-bitmap)
5163 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
5164 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
5165
5166 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
5167
5168 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
5169 backward, always stop at indentation. Reverts the change from
5170 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
5171
5172 2012-11-13 Glenn Morris <rgm@gnu.org>
5173
5174 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
5175 Add ibuffer-filter-by-derived-mode.
5176
5177 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
5178 the same name shadowing each other.
5179
5180 * window.el (with-temp-buffer-window): Doc tweak.
5181
5182 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
5183
5184 * help.el (temp-buffer-max-height):
5185 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
5186 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
5187
5188 2012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
5189
5190 * emacs-lisp/nadvice.el: New package.
5191 * subr.el (special-form-p): New function.
5192 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
5193 (elp-all-instrumented-list): Remove var.
5194 (elp-not-profilable): Remove elp-wrapper.
5195 (elp-profilable-p): Use autoloadp and special-form-p.
5196 (elp--advice-name): New const.
5197 (elp-instrument-function): Use advice-add.
5198 (elp--instrumented-p): New predicate.
5199 (elp-restore-function): Use advice-remove.
5200 (elp-restore-all, elp-reset-all): Use mapatoms.
5201 (elp-set-master): Use elp--instrumented-p.
5202 (elp--make-wrapper): Rename from elp-wrapper, return a function
5203 suitable for advice-add. Use cl-inf.
5204 (elp-results): Use mapatoms+elp--instrumented-p.
5205 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
5206 (debug-function-list): Remove var.
5207 (debug): Rename arg, and then let-bind it explicitly inside.
5208 (debugger-setup-buffer): Rename arg.
5209 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
5210 (debugger-frame-number): Adjust to new debug-on-entry setup.
5211 (debug--implement-debug-on-entry): Rename from
5212 implement-debug-on-entry, add argument.
5213 (debugger-special-form-p): Remove, use special-form-p instead.
5214 (debug-on-entry): Use advice-add.
5215 (debug--function-list): New function.
5216 (cancel-debug-on-entry): Use it, along with advice-remove.
5217 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
5218 (debugger-list-functions): Use debug--function-list instead of
5219 debug-function-list.
5220 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
5221 (ad-special-form-p): Remove, use special-form-p instead.
5222 (ad-set-advice-info): Use add-function and remove-function.
5223 (ad--defalias-fset): Adjust accordingly.
5224
5225 2012-11-10 Glenn Morris <rgm@gnu.org>
5226
5227 * mail/emacsbug.el (report-emacs-bug-tracker-url)
5228 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
5229 (report-emacs-bug-create-existing-bugs-buffer)
5230 (report-emacs-bug-parse-query-results)
5231 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
5232
5233 * term.el (term-default-fg-color, term-default-bg-color):
5234 Make obsolete, rather than just saying "deprecated" in the doc.
5235
5236 * term.el (term): Rename from `term-face'.
5237 (term-current-face, ansi-term-color-vector)
5238 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
5239 Update all users.
5240
5241 2012-11-10 Jan Djärv <jan.h.d@swipnet.se>
5242
5243 * server.el (server-create-window-system-frame): Handle Nextstep
5244 specially (Bug#12780).
5245
5246 2012-11-10 Glenn Morris <rgm@gnu.org>
5247
5248 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
5249 Unautoload, and make obsolete. (Bug#7449)
5250
5251 2012-11-10 Chong Yidong <cyd@gnu.org>
5252
5253 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
5254 rename from diff-remove-trailing-whitespace (Bug#12831).
5255
5256 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
5257
5258 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
5259 miscompilation of trace.el.
5260
5261 2012-11-10 Glenn Morris <rgm@gnu.org>
5262
5263 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
5264
5265 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
5266
5267 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
5268 (bug#12812).
5269
5270 2012-11-10 Chong Yidong <cyd@gnu.org>
5271
5272 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
5273 a defcustom with an appropriate :set function.
5274 (minibuffer-default--in-prompt-regexps): New function.
5275
5276 2012-11-10 Glenn Morris <rgm@gnu.org>
5277
5278 * emacs-lisp/cl.el (define-setf-expander, defsetf)
5279 (define-modify-macro): Doc fixes.
5280
5281 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
5282 (gv-define-simple-setter): Update doc of `fix-return'.
5283
5284 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
5285
5286 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
5287 twice when `fix-return' is set (bug#12813).
5288
5289 * emacs-lisp/cl.el (defsetf): Pass the third arg to
5290 gv-define-simple-setter (bug#12812).
5291
5292 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
5293 (bug#12756).
5294
5295 2012-11-10 Glenn Morris <rgm@gnu.org>
5296
5297 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
5298
5299 * emacs-lisp/cl-extra.el (cl-prettyexpand):
5300 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
5301 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
5302 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
5303
5304 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
5305
5306 2012-11-10 Leo Liu <sdl.web@gmail.com>
5307
5308 * ido.el (ido-set-matches-1): Improve flex matching performance by
5309 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
5310
5311 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
5312
5313 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
5314 (ad--defalias-fset): New function.
5315 (ad-safe-fset): Remove.
5316 (ad-make-freeze-definition): Use cl-letf*.
5317
5318 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
5319
5320 * subr.el (dolist): Don't bind VAR in RESULT.
5321
5322 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
5323 (fset, documentation): Don't save real def since we don't advise.
5324 (ad-do-advised-functions): Remove problematic `result-form'.
5325 (ad-safe-fset): `ad-real-fset' => `fset'.
5326 (ad-read-advised-function): Don't assume that ad-do-advised-functions
5327 uses CL's dolist internally.
5328 (ad-arglist): Remove unused arg `name'.
5329 (ad-docstring, ad-make-advised-docstring):
5330 `ad-real-documentation' => `documentation'.
5331 (warning-suppress-types): Declare.
5332 (ad-set-arguments): Simple CSE.
5333 (ad-recover-normality): Sanity check.
5334
5335 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
5336 (funcall '(lambda ..) ..) into ((lambda ..) ..).
5337
5338 2012-11-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
5339
5340 * ses.el: symbol to coordinate mapping is made by symbol property
5341 `ses-cell'. This means that the same mapping is done for all SES
5342 sheets. That is good enough for cells with standard A1 names, but
5343 not for named cell. So a hash map is added for the latter.
5344 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
5345 (ses-sym-rowcol): Use hashmap for named cell.
5346 (ses-is-cell-sym-p): New defun.
5347 (ses-decode-cell-symbol): New defun.
5348 (ses-create-cell-variable): Add cell to hashmap when name is not
5349 A1-like.
5350 (ses-rename-cell): Check that cell new name is not already in
5351 spreadsheet with the use of ses-is-cell-sym-p
5352 (ses-rename-cell): Use hash map for named cells, but accept also
5353 renaming back to A1-like.
5354
5355 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
5356
5357 * emacs-lisp/advice.el: Use new dynamic docstrings.
5358 (ad-make-advised-definition-docstring, ad-advised-definition-p):
5359 Use dynamic-docstring-function instead of ad-advice-info.
5360 (ad--make-advised-docstring): New function extracted from
5361 ad-make-advised-docstring.
5362 (ad-make-advised-docstring): Use it.
5363 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
5364 from sql-help.
5365 (sql-help): Use it with dynamic-docstring-function.
5366
5367 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
5368
5369 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5370
5371 * files.el (hack-one-local-variable--obsolete): New function.
5372 (hack-one-local-variable): Use it for obsolete settings.
5373
5374 * subr.el (locate-user-emacs-file): If both old and new name exist, use
5375 the new name.
5376
5377 * progmodes/js.el (js--filling-paragraph): New var.
5378 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
5379 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
5380 less sneaky.
5381
5382 2012-11-08 Julien Danjou <julien@danjou.info>
5383
5384 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
5385 `auto-mode-alist' (Bug#12835).
5386
5387 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5388
5389 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
5390 (perl--prettify-symbols-alist): New const.
5391 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
5392 New functions.
5393 (perl-font-lock-keywords-2): Use them.
5394 (perl-electric-noindent-p): New function.
5395 (perl-mode): Use it to set up electric-indent-mode.
5396 (perl-electric-terminator, perl-indent-command): Mark obsolete.
5397 (perl-mode-map): Remove bindings for them.
5398 (perl-imenu-generic-expression, perl-outline-level):
5399 Match functions&packages in column>0.
5400
5401 * env.el (env--substitute-vars-regexp): New const.
5402 (substitute-env-vars): Use it. Add `only-defined' arg.
5403 * net/tramp.el (tramp-replace-environment-variables): Use it.
5404
5405 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
5406 Byte-compile *before* eval in eval-and-compile.
5407 (byte-compile-log-warning): Remove redundant inhibit-read-only.
5408 (byte-compile-file-form-autoload): Don't hide actual definition.
5409 (byte-compile-maybe-guarded): Accept `functionp' as well.
5410
5411 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
5412
5413 2012-11-07 Michael Albinus <michael.albinus@gmx.de>
5414
5415 * notifications.el (notifications-get-server-information-method):
5416 New defconst.
5417 (notifications-get-capabilities): Fix docstring.
5418 (notifications-get-server-information): New defun.
5419
5420 2012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5421
5422 * textmodes/ispell.el (ispell-region): Standard re-indent for better
5423 readability.
5424
5425 * textmodes/ispell.el: Experimental support for support debugging.
5426 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
5427 buffer for ispell.
5428 (ispell-print-if-debug): New function to print stuff to
5429 `ispell-debug-buffer' if debugging is enabled.
5430 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
5431 show some debugging info.
5432 (ispell-buffer-with-debug): New function that creates a debugging
5433 buffer and calls `ispell-buffer' with debugging enabled.
5434
5435 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
5436 comment in autoconf mode. (Bug#12768)
5437
5438 2012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
5439
5440 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
5441 frame-first-window, frame-root-window, frame-selected-window,
5442 minibuffer-selected-window, minibuffer-window,
5443 window-absolute-pixel-edges, window-at, window-body-height,
5444 window-body-width, window-display-table, window-combination-limit,
5445 window-frame, window-fringes, window-inside-absolute-pixel-edges,
5446 window-inside-edges, window-inside-pixel-edges, window-left-child,
5447 window-left-column, window-margins, window-next-buffers,
5448 window-next-sibling, window-new-normal, window-new-total,
5449 window-normal-size, window-parameter, window-parameters, window-parent,
5450 window-pixel-edges, window-point, window-prev-buffers,
5451 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
5452 window-start, window-text-height, window-top-child, window-top-line,
5453 window-total-height, window-total-width and window-use-time to the list
5454 of functions without side-effects.
5455 (toplevel): Add window-valid-p to the list of error-free functions
5456 without side-effects.
5457
5458 2012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5459
5460 * textmodes/ispell.el (ispell-program-name):
5461 Update spellchecker parameters when customized.
5462
5463 2012-11-04 Glenn Morris <rgm@gnu.org>
5464
5465 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
5466
5467 2012-11-04 Chong Yidong <cyd@gnu.org>
5468
5469 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
5470 same-window-* variables.
5471
5472 2012-11-04 Juri Linkov <juri@jurta.org>
5473
5474 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
5475 (isearch-describe-key, isearch-describe-mode): Use a display
5476 action instead of binding same-window-* variables (Bug#10040).
5477
5478 2012-11-03 Glenn Morris <rgm@gnu.org>
5479
5480 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
5481 Rename handler properties back from cl-- to cl-. (Bug#12788)
5482
5483 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
5484
5485 2012-11-03 Eli Zaretskii <eliz@gnu.org>
5486
5487 * term/pc-win.el: Don't load term/internal from here.
5488
5489 * loadup.el: Load term/internal from here.
5490
5491 2012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
5492
5493 * progmodes/python.el (inferior-python-mode): Fix hang in
5494 jit-lock (Bug#12645).
5495
5496 2012-11-03 Martin Rudalics <rudalics@gmx.at>
5497
5498 * window.el (switch-to-visible-buffer)
5499 (switch-to-buffer-preserve-window-point): Fix doc-strings.
5500
5501 2012-11-03 Glenn Morris <rgm@gnu.org>
5502
5503 * emacs-lisp/cl-lib.el (cl--random-time):
5504 Rename from cl-random-time. (Bug#12773)
5505 (cl--gensym-counter, cl--random-state): Update callers.
5506 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
5507
5508 2012-11-03 Chong Yidong <cyd@gnu.org>
5509
5510 * cus-start.el: Make cursor-type customizable (Bug#11633).
5511
5512 2012-11-02 Glenn Morris <rgm@gnu.org>
5513
5514 * filecache.el: No need to load find-lisp when compiling.
5515 (find-lisp-find-files): Autoload it.
5516 (file-cache-add-directory-recursively): Don't require find-lisp.
5517
5518 * image.el (image-type-from-file-name): Trivial simplification.
5519
5520 * emacs-lisp/bytecomp.el (byte-compile-eval):
5521 Decouple "noruntime" and "cl-functions" warnings.
5522
5523 2012-11-01 Stephen Berman <stephen.berman@gmx.net>
5524
5525 * play/gomoku.el (gomoku-display-statistics): Update mode line
5526 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
5527
5528 2012-10-31 Martin Rudalics <rudalics@gmx.at>
5529
5530 * window.el (quit-restore-window): If the window has been
5531 created on an existing frame and ended up as the sole window on
5532 that frame, do not delete it (Bug#12764).
5533
5534 2012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
5535
5536 * progmodes/sh-script.el (sh--inside-noncommand-expression):
5537 Rename from sh--inside-arithmetic-expression, handle more cases
5538 (bug#11263).
5539
5540 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
5541 (sh-font-lock-open-heredoc): Use it (bug#12770).
5542
5543 2012-10-30 Glenn Morris <rgm@gnu.org>
5544
5545 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
5546
5547 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
5548
5549 2012-10-29 Chong Yidong <cyd@gnu.org>
5550
5551 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
5552 function key is stored in a keyboard macro (Bug#4894).
5553
5554 * thingatpt.el (number-at-point): Apply a thing-at-point property.
5555
5556 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5557
5558 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
5559 header comments".
5560 (diff-unified->context, diff-context->unified)
5561 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
5562
5563 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
5564
5565 * files.el (find-alternate-file): Only ask one question (bug#12487).
5566
5567 2012-10-29 Chong Yidong <cyd@gnu.org>
5568
5569 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
5570 Suggested by Dan Nicolaescu (Bug#6326).
5571
5572 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
5573
5574 * startup.el (fancy-about-screen): Don't message (Bug#12680).
5575
5576 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
5577
5578 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
5579
5580 * face-remap.el (face-remap-add-relative): Handle the case where a
5581 face-remapping-alist entry is a cons cell (Bug#12762).
5582
5583 2012-10-29 Kevin Ryde <user42@zip.com.au>
5584
5585 * woman.el (woman-parse-numeric-value): Handle picas correctly
5586 (Bug#12639).
5587
5588 2012-10-29 Glenn Morris <rgm@gnu.org>
5589
5590 * emacs-lisp/cl.el (defsetf): Doc fix.
5591
5592 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5593
5594 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
5595 syntax to the matching opener, if any (bug#12547).
5596 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
5597 matching open as a "case-(".
5598 (sh-smie-rc-grammar): Add a corresponding rule for it.
5599
5600 2012-10-28 Daniel Hackney <dan@haxney.org>
5601
5602 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
5603 "PKGNAME-autoloads.el" in case we created it.
5604
5605 2012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5606
5607 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
5608 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
5609 (completion--twq-all): Disable too-strict assertions.
5610
5611 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
5612
5613 2012-10-27 Eli Zaretskii <eliz@gnu.org>
5614
5615 * profiler.el (profiler-report-make-entry-part): Fix help-echo
5616 text to match the real keybindings.
5617
5618 2012-10-27 Juri Linkov <juri@jurta.org>
5619
5620 * wdired.el (wdired-keep-marker-rename): New defcustom.
5621 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
5622 (Bug#11795)
5623
5624 * dired.el (dired-keep-marker-rename): Add reference to
5625 `wdired-keep-marker-rename' in the docstring.
5626 Add default character value ?R to display initially in
5627 Customization UI instead of ?@.
5628
5629 2012-10-27 Martin Rudalics <rudalics@gmx.at>
5630
5631 * window.el (display-buffer): In doc-string describe
5632 window-height and window-width alist entries.
5633
5634 * time.el (display-time-world): Restore fit-window-to-buffer
5635 behavior.
5636
5637 2012-10-27 Chong Yidong <cyd@gnu.org>
5638
5639 * subr.el (insert-buffer-substring-as-yank): Doc fix.
5640
5641 2012-10-26 Jambunathan K <kjambunathan@gmail.com>
5642
5643 * minibuffer.el (completion-category-overrides): New completion
5644 category `bookmark' (bug#11131).
5645
5646 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
5647
5648 * emacs-lisp/advice.el (ad-assemble-advised-definition):
5649 Silence bogus compiler warnings for ad-do-it.
5650
5651 * bookmark.el (bookmark-completing-read): Set the completion category
5652 to `bookmark' (bug#11131).
5653
5654 2012-10-26 Bastien <bzg@altern.org>
5655 Stefan Monnier <monnier@iro.umontreal.ca>
5656
5657 * face-remap.el: Use lexical-binding.
5658 (text-scale-adjust): Improve docstring. Use itself for the temporary
5659 overlay-map bindings, so as to repeat the "Use..." message each time.
5660
5661 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
5662
5663 * emacs-lisp/macroexp.el (macroexp--expand-all):
5664 Obey byte-compile-warning-enabled-p (bug#12486).
5665
5666 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
5667 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
5668
5669 2012-10-26 Martin Rudalics <rudalics@gmx.at>
5670
5671 * mouse.el (mouse-drag-line): Move last form into preceding when
5672 clause (Bug#12731).
5673
5674 * help.el (resize-temp-buffer-window): Fix doc-string.
5675
5676 2012-10-25 David Engster <deng@randomsample.de>
5677
5678 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
5679 Remove. This feature is already integrated in imenu.
5680
5681 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
5682 always loaded. Require `speedbar' unconditionally.
5683
5684 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
5685
5686 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
5687
5688 * minibuffer.el (minibuffer-force-complete): Fix thinko.
5689
5690 * net/ldap.el (ldap-search-internal): The official ldif format starts
5691 with a "version: 1" header (bug#12724).
5692
5693 * emacs-lisp/package.el (package-installed-p): Warn if not ready
5694 (bug#12721).
5695
5696 2012-10-25 Glenn Morris <rgm@gnu.org>
5697
5698 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
5699
5700 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5701
5702 * minibuffer.el (minibuffer-force-complete): Use one more marker
5703 for the temporary-overlay-map command (bug#12619).
5704
5705 2012-10-24 Chong Yidong <cyd@gnu.org>
5706
5707 * time.el (display-time-world-mode): Derive from special-mode.
5708 (display-time-world): Use display-buffer (Bug#12708).
5709 (display-time-world-mode-map): Variable deleted.
5710 (display-time-world-display): Wrap the final delete-char inside
5711 inhibit-read-only.
5712
5713 2012-10-24 Chong Yidong <cyd@gnu.org>
5714
5715 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
5716 Doc fix.
5717
5718 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
5719
5720 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5721
5722 * minibuffer.el (completion--all-sorted-completions-location): New var.
5723 (completion--cache-all-sorted-completions)
5724 (completion--flush-all-sorted-completions): Use it.
5725 (completion-in-region, completion-in-region--postch)
5726 (completion-at-point, completion-help-at-point): Use markers in
5727 completion-in-region--data (bug#12619).
5728
5729 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5730
5731 * progmodes/compile.el (compilation-start): Try to handle common
5732 quoting of `cd' argument (bug#12640).
5733
5734 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
5735 (bug#12671).
5736
5737 2012-10-23 Glenn Morris <rgm@gnu.org>
5738
5739 * progmodes/gud.el (gud-menu-map):
5740 Check gdb-active-process is bound. (Bug#12358)
5741
5742 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5743
5744 * repeat.el (repeat): Set real-this-command (bug#12232).
5745
5746 * htmlfontify.el (hfy-post-html-hook):
5747 * filesets.el (filesets-cache-fill-content-hook):
5748 * arc-mode.el (archive-extract-hook):
5749 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
5750 * net/rcirc.el (rcirc-sentinel-functions)
5751 (rcirc-receive-message-functions, rcirc-activity-functions)
5752 (rcirc-print-functions):
5753 * net/dbus.el (dbus-event-error-functions):
5754 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
5755 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
5756 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
5757 * term/sun.el (sun-raw-prefix-hooks):
5758 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
5759
5760 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
5761
5762 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5763 Set `tramp-chunksize' to 1. This improves the performance.
5764 (tramp-smb-wait-for-output): Add timeout to
5765 `tramp-accept-process-output' calls.
5766
5767 2012-10-23 Chong Yidong <cyd@gnu.org>
5768
5769 * faces.el (font-list-limit): Define as an obsolete variable.
5770
5771 * startup.el (command-line):
5772 * cus-start.el: Don't refer to font-list-limit.
5773
5774 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
5775
5776 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5777
5778 * subr.el (internal-temp-output-buffer-show): Rename from
5779 temp-output-buffer-show, since previously compiled files expect this name.
5780
5781 2012-10-23 Glenn Morris <rgm@gnu.org>
5782
5783 * image.el (image-type-from-file-name): If multiple types match,
5784 return the first one that is supported. (Bug#9045)
5785
5786 2012-10-22 Glenn Morris <rgm@gnu.org>
5787
5788 * image.el (imagemagick-enabled-types): Doc fix.
5789
5790 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
5791
5792 * progmodes/which-func.el (which-func-current): The hash-table may have
5793 an explicit nil (bug#12338).
5794
5795 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
5796
5797 * electric.el (electric-pair-delete-selection-self-insert-function):
5798 Rename to electric-pair-will-use-region, return a boolean.
5799 (electric-pair-mode): Adjust accordingly. Don't require delsel.
5800
5801 * delsel.el (delete-selection-helper): Use a function instead of a hook.
5802 (delete-selection-pre-hook): Use use-region-p.
5803 (delete-selection-self-insert-function): Remove.
5804 (self-insert-command): Obey self-insert-uses-region-functions.
5805 (self-insert-iso): Revert to previous setting, since we don't actually
5806 know what that command does.
5807 (delete-selection-self-insert-hooks): Remove.
5808
5809 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
5810
5811 * delsel.el (delete-selection-helper): New function, extracted from
5812 delete-selection-pre-hook.
5813 (delete-selection-pre-hook): Use it.
5814 (delete-selection-self-insert-function): New function.
5815 (delete-selection-self-insert-hooks): New hook.
5816 (self-insert-command, self-insert-iso): Use it.
5817 * electric.el (electric-pair-syntax): New function, extracted from
5818 electric-pair-post-self-insert-function.
5819 (electric-pair-post-self-insert-function): Use it.
5820 (electric-pair-delete-selection-self-insert-function): New function.
5821 (electric-pair-mode): Require delsel and setup
5822 delete-selection-self-insert-hooks (bug#11520).
5823
5824 2012-10-20 Chong Yidong <cyd@gnu.org>
5825
5826 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
5827 no changes to show (Bug#12586).
5828
5829 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
5830 list explicitly (Bug#12571).
5831
5832 2012-10-20 Arne Jørgensen <arne@arnested.dk>
5833
5834 * progmodes/flymake.el (flymake-create-temp-inplace):
5835 Use file-truename.
5836
5837 2012-10-20 Eli Zaretskii <eliz@gnu.org>
5838
5839 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
5840
5841 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
5842
5843 * calc/calc-units.el (math-extract-units): Properly extract powers
5844 of units.
5845
5846 2012-10-20 Daniel Colascione <dancol@dancol.org>
5847
5848 * frame.el (make-frame): Set x-display-name as we used to in order
5849 to unbreak creating an X11 frame from an Emacs daemon started
5850 without a display.
5851
5852 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5853
5854 * minibuffer.el (minibuffer-force-complete): Make the next completion use
5855 the same completion-field (bug#12221).
5856
5857 2012-10-19 Martin Rudalics <rudalics@gmx.at>
5858
5859 * emacs-lisp/debug.el (debug): Record height of debugger window
5860 also when debugger will be back (Bug#8789).
5861
5862 2012-10-18 Chong Yidong <cyd@gnu.org>
5863
5864 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
5865 Convert to defcustom.
5866 (gdb-get-source-file): Don't bind pop-up-windows.
5867
5868 * progmodes/gud.el (gud-display-line): Don't specially re-use
5869 other frames for the gdb-mi case (Bug#12648).
5870
5871 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
5872
5873 * emacs-lisp/advice.el: Clean up commentary a bit.
5874 (ad-do-advised-functions, ad-with-originals): Use `declare'.
5875 (byte-code-function-p): Never redefine.
5876
5877 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
5878
5879 2012-10-18 Glenn Morris <rgm@gnu.org>
5880
5881 * dired.el (dired-sort-toggle): Some ls implementations only allow
5882 a single option string. (Bug#12666)
5883
5884 * minibuffer.el (completion-cycle-threshold): Doc fix.
5885
5886 2012-10-17 Kenichi Handa <handa@gnu.org>
5887
5888 * international/mule.el (set-keyboard-coding-system):
5889 Recover input meta mode when the new coding system doesn not use 8-bit.
5890 Supply TERMINAL arg to set-input-meta-mode.
5891
5892 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
5893
5894 * wdired.el (wdired-old-marks): New variable.
5895 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
5896 (wdired-do-renames): Move point with renamed file and don't lose
5897 mark status (Bug#11795).
5898
5899 2012-10-16 Juri Linkov <juri@jurta.org>
5900
5901 * replace.el (query-replace-help): Mention multi-buffer replacement
5902 keys in the Help message. (Bug#12655)
5903
5904 2012-10-15 Chong Yidong <cyd@gnu.org>
5905
5906 * emacs-lisp/byte-run.el (defsubst): Doc fix.
5907
5908 2012-10-14 Eli Zaretskii <eliz@gnu.org>
5909
5910 * window.el (display-buffer): Doc fix.
5911
5912 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5913 Adjust the msft regexp to the output of Studio 2010, and move msft
5914 before edg-1. See the discussion on emacs-devel,
5915 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
5916 for the details.
5917
5918 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
5919
5920 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
5921 (oset): Move uses of object-class-fast macro after its definition.
5922
5923 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
5924
5925 2012-10-13 Chong Yidong <cyd@gnu.org>
5926
5927 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
5928 enabled, re-enable it (Bug#11963).
5929
5930 2012-10-13 Martin Rudalics <rudalics@gmx.at>
5931
5932 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
5933 non-nil, restore window configuration (Bug#12623).
5934
5935 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
5936
5937 * help-fns.el (describe-variable, describe-function-1):
5938 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
5939
5940 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
5941
5942 2012-10-12 Glenn Morris <rgm@gnu.org>
5943
5944 * mail/rmailsum.el (rmail-header-summary):
5945 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
5946
5947 2012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
5948
5949 * progmodes/python.el (python-mode-map):
5950 Replace subtitute-key-definition with proper command remapping.
5951 (python-nav--up-list): Fix behavior for blocks on the same level.
5952
5953 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5954
5955 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
5956
5957 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
5958 changes to the format of load-history.
5959
5960 * international/mule-cmds.el (read-char-by-name): Move let-binding of
5961 completion-ignore-case in case that var is buffer-local (bug#12615).
5962
5963 2012-10-11 Kenichi Handa <handa@gnu.org>
5964
5965 * international/eucjp-ms.el: Re-generated.
5966
5967 2012-10-10 Kenichi Handa <handa@gnu.org>
5968
5969 * select.el (xselect--encode-string): If a coding is specified for
5970 selection, and that is compatible with COMPOUND_TEXT, use it.
5971
5972 2012-10-10 Martin Rudalics <rudalics@gmx.at>
5973
5974 * window.el (switch-to-buffer-preserve-window-point): New option.
5975 (switch-to-buffer):
5976 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
5977
5978 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
5979
5980 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
5981 Don't document nil as a useful value (bug#12583).
5982
5983 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
5984
5985 * net/tramp.el (tramp-debug-message):
5986 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
5987 (with-tramp-progress-reporter): Rename from
5988 `tramp-with-progress-reporter'.
5989 (with-tramp-file-property, with-tramp-connection-property):
5990 Move from tramp-cache.el, rename from `with-file-property' and
5991 `with-connection-property', respectively.
5992
5993 * net/tramp-cache.el: Remove `with-file-property' and
5994 `with-connection-property'.
5995
5996 * net/tramp.el:
5997 * net/tramp-gvfs.el:
5998 * net/tramp-sh.el:
5999 * net/tramp-smb.el: Adapt callees.
6000
6001 * net/trampver.el: Update release number.
6002
6003 2012-10-09 Glenn Morris <rgm@gnu.org>
6004
6005 * w32-fns.el (set-message-beep):
6006 * term/w32-win.el (set-message-beep): Update declarations.
6007
6008 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
6009
6010 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
6011 (mode-line-widen, mode-line-input-method-map)
6012 (mode-line-coding-system-map, mode-line-remote)
6013 (mode-line-unbury-buffer, mode-line-bury-buffer)
6014 (mode-line-next-buffer, mode-line-previous-buffer):
6015 Replace save-selected-window+select-window => with-selected-window.
6016
6017 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
6018 * progmodes/cc-vars.el (bq-process): Remove, unused.
6019
6020 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
6021
6022 2012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
6023
6024 Implemented `backward-up-list'-like navigation.
6025 * progmodes/python.el (python-nav-up-list)
6026 (python-nav-backward-up-list): New functions.
6027 (python-mode-map): Define substitute key for backward-up-list to
6028 python-nav-backward-up-list.
6029
6030 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
6031
6032 * progmodes/python.el (python-fill-paragraph): Rename from
6033 python-fill-paragraph-function. Fixed fill-paragraph for
6034 decorators (Bug#12605).
6035
6036 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
6037
6038 * progmodes/python.el (python-shell-output-filter): Handle extra
6039 carriage return in OSX (Bug#12409).
6040
6041 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
6042
6043 Fix shell handling of unbalanced quotes and parens in output.
6044 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
6045 (python-syntax-propertize-function): Use it.
6046 (python-shell-output-syntax-table): New var.
6047 (inferior-python-mode): Prevent unbalanced parens/quotes from
6048 previous output mess with current input context.
6049
6050 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
6051
6052 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
6053 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
6054
6055 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
6056
6057 * ffap.el (ffap-replace-file-component): Support Tramp file name
6058 syntax, not only ange-ftp's one.
6059
6060 2012-10-08 Glenn Morris <rgm@gnu.org>
6061
6062 * cus-start.el (message-log-max): Set :version.
6063
6064 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
6065
6066 2012-10-08 Martin Rudalics <rudalics@gmx.at>
6067
6068 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
6069 the minibuffer window (Bug#10851).
6070
6071 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
6072
6073 Enhancements on forward-sexp movement.
6074 * progmodes/python.el (python-nav-beginning-of-statement)
6075 (python-nav-end-of-statement): Return point-marker.
6076 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
6077 (python-info-current-symbol)
6078 (python-info-statement-starts-block-p): Rename from
6079 python-info-beginning-of-block-p.
6080 (python-info-statement-ends-block-p): Rename from
6081 python-info-end-of-block-p.
6082 (python-info-beginning-of-statement-p)
6083 (python-info-end-of-statement-p)
6084 (python-info-beginning-of-block-p, python-info-end-of-block-p):
6085 New functions.
6086
6087 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
6088
6089 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
6090 frame-selected-windows.
6091
6092 2012-10-08 Daniel Colascione <dancol@dancol.org>
6093
6094 * battery.el (battery-status-function): Check for
6095 w32-battery-status itself, not system-time windows-nt.
6096
6097 * frame.el: Require cl-lib.
6098 (display-format-alist): New variable mapping frame types to
6099 functions that initialize them.
6100 (window-system-for-display): New function: interprets
6101 display-format-alist.
6102 (make-frame-on-display): Remove existing display-selection logic
6103 and just forward to make-frame, which will now DTRT.
6104 (make-frame): Restructure to use window-system-for-display to
6105 figure out how to create a frame on a given display.
6106 (display-mouse-p): Look for frame-type w32, not a particular
6107 system-type.
6108
6109 * loadup.el: Load w32 lisp code when we have the w32 feature.
6110
6111 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
6112 system-type windows-nt.
6113
6114 * server.el (server-create-window-system-frame): Look for window
6115 type.
6116 (server-proces-filter): Only force a window system when windows-nt
6117 _and_ w32. Explain why.
6118
6119 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
6120 of window systems we configure for the mode.
6121
6122 * startup.el (command-line): Mark window system is initialized
6123 after we've done it.
6124
6125 * common-win.el (x-select-text): Look for w32, not windows-nt.
6126
6127 * ns-win.el: Require cl-lib. Add ourselves to
6128 display-format-alist.
6129 (ns-initialize-window-system): Assert we're not initialized twice.
6130
6131 * w32-win.el: Enable lexical binding; require cl-lib; add
6132 ourselves to display-format-alist.
6133 (w32-handle-dropped-file): Convert incoming dropped files from
6134 Windows paths to Cygwin ones before passing them on to the rest of
6135 Emacs.
6136 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
6137 (w32-initialize-window-system): Assert we're not initialized twice.
6138
6139 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
6140 (x-initialize-window-system): Assert we're not initialized twice.
6141
6142 * w32-common-fns.el: New File.
6143 (w32-version, w32-using-nt, w32-get-clipboard-data)
6144 (w32-set-clipboard-data, x-set-selection, x-get-selection)
6145 (w32-charset-info-alist, x-last-selected, text)
6146 (x-get-selection-value, x-selection-value): Move here.
6147
6148 * w32-fns.el: Require w32-common-fns.
6149 (w32-version, w32-using-nt, w32-get-clipboard-data)
6150 (w32-set-clipboard-data, x-set-selection, x-get-selection)
6151 (w32-charset-info-alist, x-last-selected, text)
6152 (x-get-selection-value, x-selection-value): Move to
6153 w32-common-fns.
6154
6155 * w32-vars.el:
6156 (w32-allow-system-shell, w32-system-shells): Define only in
6157 non-cygwin case.
6158
6159 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
6160
6161 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
6162 (read-passwd): Remove a few more potential sources of leaks.
6163
6164 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
6165
6166 * progmodes/python.el (inferior-python-mode)
6167 (python-shell-make-comint): Fix initialization of local
6168 variables copied from parent buffer.
6169
6170 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
6171
6172 * term/ns-win.el (ns-read-file-name): Update declaration to match
6173 nsfns.m.
6174 (ns-respond-to-change-font): Change fontsize separately so we are sure
6175 it is set when font is acted upon.
6176
6177 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
6178
6179 Enhancements to indentation.
6180 * progmodes/python.el (python-indent-context): Give priority to
6181 inside-string context. Make comments indentation markers.
6182 (python-indent-region): Do not mess with strings, unless it's the
6183 enclosing set of quotes.
6184
6185 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
6186
6187 * window.el (internal--before-save-selected-window)
6188 (internal--after-save-selected-window): New functions extracted from
6189 save-selected-window. Make sure we return the `alist' we construct.
6190 (save-selected-window): Use them.
6191
6192 * textmodes/tex-mode.el (tex-recenter-output-buffer):
6193 Use with-selected-window.
6194
6195 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
6196 forms that define macros (bug#12593).
6197
6198 2012-10-07 Kenichi Handa <handa@gnu.org>
6199
6200 * international/mule-conf.el (compound-text-with-extensions):
6201 Add :mime-charset property as x-ctext.
6202
6203 2012-10-07 Stefan Merten <smerten@oekonux.de>
6204
6205 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
6206 (rst-indent-literal-normal, rst-indent-literal-minimized)
6207 (rst-indent-comment): Correct :version tag.
6208 (rst-official-cvs-rev): Correct version string.
6209
6210 2012-10-07 Glenn Morris <rgm@gnu.org>
6211
6212 * mail/rmailmm.el (rmail-mime-process-multipart):
6213 Do not confuse a multipart message with an epilogue
6214 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
6215
6216 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
6217
6218 Fix shell output retrieval and comint-prompt-regexp init.
6219 * progmodes/python.el (inferior-python-mode):
6220 (python-shell-make-comint): Fix initialization of
6221 comint-prompt-regexp from copied file local variables.
6222 (python-shell-fetched-lines): Remove var.
6223 (python-shell-output-filter-in-progress): Rename from
6224 python-shell-fetch-lines-in-progress.
6225 (python-shell-output-filter-buffer): Rename from
6226 python-shell-fetch-lines-string.
6227 (python-shell-fetch-lines-filter): Delete function.
6228 (python-shell-output-filter): New function.
6229 (python-shell-send-string-no-output): Use them.
6230
6231 2012-10-07 Glenn Morris <rgm@gnu.org>
6232
6233 * hi-lock.el (hi-lock-process-phrase):
6234 Try to make it less fragile. (Bug#7161)
6235
6236 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
6237
6238 2012-10-06 Glenn Morris <rgm@gnu.org>
6239
6240 * ehelp.el (electric-help-mode): Use help-mode rather than
6241 non-existent mode `help'.
6242 (electric-help-map): Use button-buffer-map. (Bug#10917)
6243
6244 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
6245 (reftex-create-bibtex-footer): Fix custom types.
6246
6247 * progmodes/sh-script.el (sh-indent-after-continuation):
6248 Add explicit :group.
6249
6250 * textmodes/rst.el (rst-preferred-decorations)
6251 (rst-shift-basic-offset): Clarify obsolescence versions.
6252
6253 * profiler.el (profiler): Add missing group :version tag.
6254 * avoid.el (mouse-avoidance-banish-position):
6255 * proced.el (proced-renice-command):
6256 * calc/calc.el (calc-ensure-consistent-units):
6257 * calendar/icalendar.el (icalendar-import-format-uid):
6258 * net/tramp.el (tramp-save-ad-hoc-proxies):
6259 * progmodes/bug-reference.el (bug-reference-bug-regexp):
6260 * progmodes/flymake.el (flymake-error-bitmap)
6261 (flymake-warning-bitmap, flymake-fringe-indicator-position):
6262 * progmodes/sh-script.el (sh-indent-after-continuation):
6263 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
6264 (verilog-before-save-font-hook, verilog-after-save-font-hook):
6265 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
6266 (vhdl-array-index-record-field-in-sensitivity-list)
6267 (vhdl-indent-comment-like-next-code-line):
6268 * textmodes/reftex-vars.el (reftex-ref-style-alist)
6269 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
6270 (reftex-cite-key-separator, reftex-create-bibtex-header)
6271 (reftex-create-bibtex-footer):
6272 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
6273 (rst-indent-literal-normal, rst-indent-literal-minimized)
6274 (rst-indent-comment): Add missing custom :version tags.
6275
6276 * calendar/timeclock.el (timeclock-modeline-display):
6277 Add missing obsolete alias for renamed user option.
6278
6279 * strokes.el (strokes-modeline-string):
6280 * emulation/crisp.el (crisp-mode-modeline-string):
6281 * eshell/esh-mode.el (eshell-status-in-modeline):
6282 Aliases to defcustoms must come before the defcustom.
6283
6284 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
6285 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
6286 (cal-tex-cursor-week-monday): Doc fixes.
6287 (cal-tex-cursor-week2-summary): Doc fix.
6288 Rename from cal-tex-cursor-week-at-a-glance.
6289
6290 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
6291 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
6292
6293 * calendar/calendar.el (calendar-mode-map):
6294 Add cal-tex-cursor-week2-summary.
6295
6296 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
6297
6298 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
6299
6300 * subr.el (read-passwd-map): New var.
6301 (read-passwd): Use `read-string' again.
6302 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
6303
6304 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
6305
6306 * register.el (append-to-register, prepend-to-register):
6307 Deactivate mark, as does `copy-to-register' (bug#12389).
6308
6309 2012-10-06 Chong Yidong <cyd@gnu.org>
6310
6311 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
6312
6313 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
6314
6315 * international/characters.el: Fix simple mistake ((car chars) ->
6316 elt), delete duplicated code.
6317
6318 2012-10-06 Glenn Morris <rgm@gnu.org>
6319
6320 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
6321
6322 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
6323
6324 * color.el (color-hsl-to-rgb): Fix incorrect results for
6325 small and large hue values. (Bug#12559)
6326
6327 2012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
6328
6329 Enhancements to docstring formatting when filling paragraphs.
6330 * progmodes/python.el (python-fill-docstring-style): Rename from
6331 python-fill-string-style. Added new style.
6332 (python-fill-string): Use new style. Better checks for
6333 docstrings.
6334
6335 2012-10-05 Glenn Morris <rgm@gnu.org>
6336
6337 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
6338
6339 * color.el (color-name-to-rgb, color-rgb-to-hex)
6340 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
6341 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
6342 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
6343 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
6344
6345 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
6346
6347 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
6348
6349 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
6350 to get the correct size across symlinks.
6351
6352 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
6353
6354 2012-10-04 Juri Linkov <juri@jurta.org>
6355
6356 * replace.el (query-replace-interactive): Declare obsolete.
6357 (query-replace-read-from): Add the last incremental search string
6358 to the list of default values accessible via M-n.
6359 (map-query-replace-regexp): Use `read-regexp'.
6360 (query-replace, query-replace-regexp, query-replace-regexp-eval)
6361 (map-query-replace-regexp, replace-string, replace-regexp):
6362 Fix docstrings to replace mentions of `query-replace-interactive'
6363 with alternatives. (Bug#12526)
6364
6365 2012-10-04 Juri Linkov <juri@jurta.org>
6366
6367 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
6368 (dired-pop-to-buffer): Declare obsolete.
6369 (dired-mark-pop-up): Doc fix.
6370
6371 2012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
6372
6373 Allow user to set docstring style for fill-paragraph.
6374 * progmodes/python.el
6375 (python-fill-comment-function, python-fill-string-function)
6376 (python-fill-decorator-function, python-fill-paren-function):
6377 Remove :safe for defcustoms.
6378 (python-fill-string-style): New defcustom
6379 (python-fill-paragraph-function): Enhance context detection.
6380 (python-fill-string): Honor python-fill-string-style settings.
6381
6382 2012-10-04 Martin Rudalics <rudalics@gmx.at>
6383
6384 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
6385 after setting its buffer (Bug#10805).
6386
6387 2012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
6388
6389 Fix cornercase for string syntax.
6390 * progmodes/python.el (python-syntax-propertize-function):
6391 Simplify and enhance the regexp for unescaped quotes. Now it also
6392 matches quotes in weird situations like the single quote in
6393 "something\"'".
6394 (python-syntax-stringify): Simplify num-quotes detecting code.
6395
6396 2012-10-03 Glenn Morris <rgm@gnu.org>
6397
6398 * help-macro.el (three-step-help):
6399 Revert 2012-09-29 change. (Bug#12567)
6400
6401 2012-10-03 Martin Rudalics <rudalics@gmx.at>
6402
6403 * menu-bar.el (kill-this-buffer): Don't do anything when
6404 `menu-frame' is not alive or visible (Bug#8184).
6405
6406 * emacs-lisp/debug.el (debug): When quitting the debugger window
6407 restore current buffer (Bug#12502).
6408
6409 2012-10-02 Chong Yidong <cyd@gnu.org>
6410
6411 * progmodes/hideif.el (hif-lookup, hif-defined):
6412 Handle semantic-c-takeover-hideif.
6413
6414 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
6415
6416 Change sampling interval units from ms to ns.
6417 * profiler.el (profiler-sampling-interval): Change units
6418 from ms to ns, multiplying the default by 1000000 so that
6419 it remains 1 ms.
6420 (profiler-report-cpu-line-format): Give enough room for
6421 the maximum counters on 64-bit hosts.
6422 (profiler-report-render-calltree-1): Call them "CPU samples",
6423 not "Time (ms)", since they are not milliseconds now (and
6424 never really were).
6425
6426 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
6427
6428 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
6429 Fix querying BBDB for entries without a last name (Bug#11580).
6430
6431 2012-10-02 Chong Yidong <cyd@gnu.org>
6432
6433 * emacs-lisp/eieio.el: Restore Version header.
6434
6435 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
6436
6437 * vc/diff-mode.el (diff--auto-refine-data): New var.
6438 (diff-hunk): Use it to delay refinement.
6439 (diff-mode): Remove overlays when we turn off font-lock.
6440
6441 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
6442 (table-initialize-table-fixed-width-mode)
6443 (table-set-table-fixed-width-mode): Remove functions.
6444 (table-command-list): Move initialization into declaration.
6445 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
6446 (table-with-cache-buffer): Use `declare'.
6447 (table-span-cell): Simplify via CSE.
6448 (table-fixed-width-mode): Use define-minor-mode.
6449 (table-call-interactively, table-funcall, table-apply): Remove.
6450 (table-function): New function, to replace them.
6451
6452 * bookmark.el (bookmark-search-pattern): Remove var.
6453 (bookmark-read-search-input): Remove function.
6454 (bookmark-bmenu-search): Reimplement using a minibuffer.
6455
6456 * faces.el (modeline): Remove obsolete face name.
6457
6458 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
6459 and give a non-nil default value.
6460 (add-change-log-entry): Simplify accordingly.
6461
6462 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
6463
6464 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
6465 (vc-git-log-edit-toggle-amend): New function.
6466 (vc-git-log-edit-toggle-signoff): New function.
6467 (vc-git-log-edit-mode): New major mode.
6468 (vc-git-log-edit-mode-map): Keymap for it.
6469 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
6470
6471 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
6472 header names.
6473 (log-edit-toggle-header): New function.
6474 (log-edit-extract-headers): Accept function values in HEADERS alist.
6475
6476 2012-10-01 David Engster <deng@randomsample.de>
6477
6478 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
6479 from symbol property and change message to be more consistent with
6480 Emacs proper.
6481 (eieio-describe-generic): Add filename for each implementation.
6482 Fix indices for generic and normal methods.
6483 (eieio-method-def, eieio-class-def): New buttons.
6484 (eieio-help-find-method-definition)
6485 (eieio-help-find-class-definition): New functions.
6486 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
6487 class, constructor and method definitions.
6488
6489 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
6490 information in symbol property.
6491 (scoped-class): Remove.
6492 (eieio-slot-name-index, call-next-method): Check if it is bound.
6493
6494 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
6495
6496 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
6497 (eieio-custom-mode): New major mode.
6498 (eieio-customize-object): Use it.
6499
6500 2012-10-01 Eric Ludlam <zappo@gnu.org>
6501
6502 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
6503 specifying the expected class, and whether subclassing is allowed.
6504 (eieio-persistent-convert-list-to-object):
6505 (eieio-persistent-validate/fix-slot-value)
6506 (eieio-persistent-slot-type-is-class-p): New functions.
6507 (eieio-named::slot-missing): Doc fix.
6508
6509 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
6510 Stop using unused publd variable.
6511
6512 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
6513 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
6514 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
6515 (eieio-speedbar-handle-click): Do not specify a class for the
6516 method. Fixes method invocation order problems with EDE.
6517
6518 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
6519
6520 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
6521 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
6522
6523 2012-10-01 Karl Fogel <kfogel@red-bean.com>
6524
6525 * bookmark.el (bookmark-version-control): Give tags in the
6526 :type choices (Bug#12309), and improve doc string.
6527 (bookmark-write-file): Bind `print-circle' to `t' to allow
6528 circular custom bookmark types. (Bug#12503)
6529
6530 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
6531
6532 Revert the FOLLOW-SYMLINKS change for file-attributes.
6533 * files.el (remote-file-name-inhibit-cache, after-find-file):
6534 * time.el (display-time-file-nonempty-p): Undo last change.
6535
6536 * profiler.el (profiler-sampling-interval): Change default back to 1.
6537 See Stefan Monnier in
6538 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
6539
6540 2012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
6541
6542 Shell output catching a la gud-gdb.
6543 * progmodes/python.el (python-shell-fetch-lines-in-progress)
6544 (python-shell-fetch-lines-string, python-shell-fetched-lines):
6545 New Vars.
6546 (python-shell-fetch-lines-filter): New function.
6547 (python-shell-send-string-no-output): Use them.
6548
6549 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
6550
6551 * profiler.el (profiler-sampling-interval): Rename from
6552 profiler-sample-interval.
6553 (profiler-sampling-interval): Default to 10.
6554 (profiler-find-profile): New command (was profiler-find-log).
6555 (profiler-find-profile-other-window): New command.
6556 (profiler-find-profile-other-frame): New command.
6557 (profiler-profile): Introduce API-level data structure.
6558
6559 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
6560
6561 file-attributes has a new optional arg FOLLOW-SYMLINKS.
6562 * files.el (remote-file-name-inhibit-cache):
6563 * time.el (display-time-file-nonempty-p): Use it.
6564 * files.el (after-find-file): Don't chase links before calling
6565 file-exists-p, as file-exists-p already does the right thing.
6566
6567 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
6568
6569 Merge from standalone RefTeX repository.
6570
6571 The following ChangeLog entries are shortened versions of the
6572 original ones with file paths adapted. A not so strongly edited
6573 version of the original ChangeLog can be found in the commit log.
6574
6575 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
6576 (reftex-arg-cite): Use `reftex-cite-key-separator'.
6577 Correctly handle new value type returned by `reftex-citation'.
6578
6579 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
6580 that entries with whitespace at various places are found.
6581 Doc fix. Include entries that are cross-referenced from cited entries.
6582 Include @String definitions in the resulting bib file. Add header
6583 and footer defined in `reftex-create-bibtex-header' and
6584 `reftex-create-bibtex-footer'.
6585 (reftex-do-citation): Make it possible again to insert
6586 non-existent entries. Save match data when asking for optional
6587 arguments. Return all keys, not just the first one.
6588 (reftex-all-used-citation-keys): Fix regexp to correctly extract
6589 all citations in the same line.
6590 (reftex-parse-bibtex-entry): Accept additional optional argument
6591 `raw' and keep quotes or braces if it is non-nil. Match fields
6592 containing hyphens besides word constituents.
6593 (reftex-get-string-refs): New function.
6594 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
6595 and ask if it should be reread in case it did.
6596 (reftex-pop-to-bibtex-entry)
6597 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
6598 entries with spaces or tabs in front of arguments.
6599 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
6600 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
6601 Match entries containing numbers and symbol constituents.
6602 (reftex-do-citation, reftex-figure-out-cite-format):
6603 Use `reftex-cite-key-separator'.
6604
6605 * textmodes/reftex-dcr.el: Move provide statement to end of file.
6606 (reftex-mouse-view-crossref): Explain why point is set.
6607
6608 * textmodes/reftex-global.el: Whitespace changes.
6609
6610 * textmodes/reftex-index.el: Move provide statement to end of
6611 file.
6612 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
6613 (reftex-index-visit-phrases-buffer): Set marker when visiting
6614 buffer. This allows for returning from the phrases file to the
6615 file one was just editing instead of the file where the last
6616 phrases was added from.
6617 (reftex-index-phrases-syntax-table): New variable. Give ?\"
6618 punctuation syntax as it usually is not used as string quote in
6619 TeX-related modes and may occur unmatched. The change also
6620 prevents fontification of quoted content.
6621 (reftex-index-phrases-mode): Use it.
6622
6623 * textmodes/reftex-parse.el (reftex-parse-from-file):
6624 Move backward one char if a `\' was matched after a section macro.
6625 (reftex-parse-from-file): Use beginning of match instead of end as
6626 bound.
6627
6628 * textmodes/reftex-ref.el: Adapt creation of
6629 `reftex-<package>-<macro>' functions to new structure of
6630 `reftex-ref-style-alist'.
6631 (reftex-reference): Use `reftex-ref-style-list' function.
6632 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
6633 reference macro if `reftex-ref-macro-prompt' is non-nil.
6634 (reftex-reference): Pass refstyle to `reftex-format-special'.
6635 Determine reference macro by looking at
6636 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
6637 Use only one special format function.
6638 (reftex-varioref-vref, reftex-fancyref-fref)
6639 (reftex-fancyref-Fref): Remove definitions. The functions are now
6640 generated from `reftex-ref-style-alist'.
6641 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
6642 Remove.
6643 (reftex-format-special): New function.
6644
6645 * textmodes/reftex-sel.el
6646 (reftex-select-cycle-ref-style-internal): Adapt to new structure
6647 of `reftex-ref-style-alist'. Remove code for testing macro type.
6648 (reftex-select-toggle-varioref)
6649 (reftex-select-toggle-fancyref): Remove.
6650 (reftex-select-cycle-ref-style-internal)
6651 (reftex-select-cycle-ref-style-forward)
6652 (reftex-select-cycle-ref-style-backward): New functions.
6653 (reftex-select-label-map): Use `v' and `V' for general cycling
6654 through reference styles. Add `p' for switching between number
6655 and page reference types.
6656
6657 * textmodes/reftex-toc.el (reftex-re-enlarge):
6658 Call `enlarge-window' only if there is something to do because in Emacs
6659 the horizontal version throws an error even if the parameter is 0.
6660
6661 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
6662 (reftex-plug-into-AUCTeX): Doc fix.
6663 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
6664 string. Adapt to new name.
6665 (reftex-ref-style-alist): Change structure so that it is not
6666 possible to use multiple different package names within a style.
6667 Remove the symbols for symbols for macro type distinction.
6668 Add characters for macro selection.
6669 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
6670 (reftex-create-bibtex-footer): New variables.
6671 (reftex-format-ref-function): Mention third argument of special
6672 format function.
6673 (reftex-ref-style-alist, reftex-ref-style-default-list):
6674 New variables.
6675 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
6676 to new implementation. Mark as obsolete. Add compatibility code
6677 for honoring the variable values in case they are set.
6678 (reftex-cite-format-builtin, reftex-bibliography-commands):
6679 Add support for ConTeXt.
6680 (reftex-format-ref-function, reftex-format-cite-function):
6681 Fix custom type.
6682 (reftex-cite-key-separator): New variable.
6683
6684 * textmodes/reftex.el (reftex-syntax-table-for-bib)
6685 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
6686 `reftex-syntax-table' because parens have to retain their paren
6687 syntax in order for parsing of BibTeX entries like @book(...) to
6688 work.
6689 (reftex-in-comment): Do not error out if `comment-start-skip' is
6690 not set. Deal correctly with escaped comment characters.
6691 (reftex-tie-multifile-symbols): Add doc string.
6692 Initialize `reftex-ref-style-list'.
6693 (reftex-untie-multifile-symbols): Add doc string.
6694 (reftex-add-index-macros): Doc fix.
6695 (reftex-ref-style-activate, reftex-ref-style-toggle)
6696 (reftex-ref-style-list): New functions.
6697 (reftex-mode-menu): Use them. Adapt to new structure of
6698 `reftex-ref-style-alist'.
6699 (reftex-select-with-char): Kill the RefTeX Select buffer when
6700 done.
6701 (reftex-remove-if): New function.
6702 (reftex-erase-all-selection-and-index-buffers)
6703 (reftex-mode-menu): Reference styles are now computed from
6704 `reftex-ref-style-alist'. Fix typo.
6705 (reftex-report-bug): New function.
6706 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
6707 algorithms with O(n log n). Introduce optional argument SORT (not
6708 yet used).
6709
6710 2012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
6711
6712 Enhancements for triple-quote string syntax.
6713 * progmodes/python.el (python-syntax-propertize-function):
6714 Match both quote cases in one regexp.
6715 (python-syntax-stringify): Handle matches properly.
6716
6717 2012-09-30 Juri Linkov <juri@jurta.org>
6718
6719 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
6720 to nil around the call to `insert' to prevent
6721 directory time modification by lock_file. (Bug#2295)
6722 * tar-mode.el (tar-summarize-buffer): Idem.
6723
6724 2012-09-30 Juri Linkov <juri@jurta.org>
6725
6726 * facemenu.el (list-colors-sort): Add option "Luminance".
6727 (list-colors-sort-key): Implement it.
6728
6729 * vc/diff-mode.el (diff-refine-removed):
6730 * vc/ediff-init.el (ediff-fine-diff-A):
6731 * vc/smerge-mode.el (smerge-refined-removed):
6732 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
6733
6734 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
6735
6736 * term/ns-win.el (x-file-dialog): New function.
6737
6738 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
6739
6740 * ido.el (ido-max-directory-size): Default to nil; the current
6741 default is small for POSIX systems, and impractical on Windows 7
6742 now that lstat returns directory sizes for NTFS.
6743
6744 2012-09-30 Martin Rudalics <rudalics@gmx.at>
6745
6746 In buffer display functions handle window-height/window-width
6747 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
6748 * window.el (window--display-buffer): New argument ALIST.
6749 Obey window-height and window-width alist entries.
6750 (window--try-to-split-window): New argument ALIST.
6751 Bind window-combination-limit to t when the window's size shall be
6752 changed and window-combination-limit equals `window-size'.
6753 (display-buffer-in-atom-window)
6754 (display-buffer-in-major-side-window)
6755 (display-buffer-in-side-window, display-buffer-same-window)
6756 (display-buffer-reuse-window, display-buffer-pop-up-frame)
6757 (display-buffer-pop-up-window, display-buffer-below-selected)
6758 (display-buffer-at-bottom, display-buffer-in-previous-window)
6759 (display-buffer-use-some-window): Adjust all callers of
6760 window--display-buffer and window--try-to-split-window.
6761 (fit-frame-to-buffer): New option.
6762 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
6763 is non-nil.
6764 (display-buffer-in-major-side-window): Evaluate window-height /
6765 window-width alist entries.
6766
6767 * help.el (temp-buffer-resize-frames)
6768 (temp-buffer-resize-regexps): Remove options.
6769 (temp-buffer-resize-mode): Adjust doc-string.
6770 (resize-temp-buffer-window): Don't consult
6771 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
6772 temp-buffer-resize-frames.
6773
6774 * dired.el (dired-mark-pop-up):
6775 Call display-buffer-below-selected with a fit-window-to-buffer alist
6776 entry.
6777
6778 2012-09-30 Chong Yidong <cyd@gnu.org>
6779
6780 * server.el (server-host): Document the security implications.
6781 (server-auth-key): Doc fix.
6782
6783 * startup.el (initial-buffer-choice): Doc fix.
6784
6785 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
6786
6787 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
6788 restriction change.
6789
6790 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
6791
6792 * help-fns.el (help-fns--obsolete): Fix last change.
6793
6794 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
6795
6796 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
6797 (minor-mode-map-alist): Remove redundant code.
6798
6799 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
6800 visited in a buffer.
6801 (cvs-insert-visited-file): New function.
6802 (find-file-hook): Use it.
6803
6804 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
6805
6806 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
6807 chose face.
6808 (log-edit-empty-buffer-p): Don't require a space after a header.
6809
6810 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
6811
6812 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
6813
6814 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
6815 a proper minor-mode.
6816
6817 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
6818
6819 2012-09-29 Glenn Morris <rgm@gnu.org>
6820
6821 * winner.el (winner-mode): Remove variable (let define-minor-mode
6822 handle it).
6823 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
6824 Doc fixes.
6825 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
6826 (winner-mode): Use define-minor-mode.
6827
6828 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
6829 the full definition in loaddefs, rather than duplicating it.
6830
6831 * help-macro.el (three-step-help): No need to autoload defcustom.
6832
6833 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
6834 (inferior-lisp-program, inferior-lisp-load-command)
6835 (inferior-lisp-prompt, inferior-lisp-mode-hook):
6836 No need to autoload defcustoms.
6837
6838 * hippie-exp.el (hippie-expand-try-functions-list)
6839 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
6840 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
6841 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
6842 (hippie-expand-only-buffers): No need to autoload defcustoms.
6843 * progmodes/vhdl-mode.el (vhdl-line-expand):
6844 Explicitly load hippie-exp, so it does not get autoloaded
6845 while hippie-expand-try-functions-list is let-bound.
6846
6847 2012-09-28 Glenn Morris <rgm@gnu.org>
6848
6849 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
6850
6851 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
6852 Only "cl.el" counts as cl these days.
6853
6854 2012-09-28 Juri Linkov <juri@jurta.org>
6855
6856 Display archive errors in the echo area instead of inserting
6857 to the file buffer.
6858
6859 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
6860 to STDERR-TEST that can be a regexp matching a successful output.
6861 Create a temporary file and redirect stderr to it. Search for
6862 STDERR-TEST in the stderr output and display it in the echo area
6863 if no match is found.
6864 (archive-extract-by-file): New function like
6865 `archive-extract-by-stdout' but extracting archives to files
6866 and looking for successful matches in stdout. Function body is
6867 mostly copied from `archive-rar-extract'.
6868 (archive-rar-extract): Use `archive-extract-by-file'.
6869 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
6870
6871 2012-09-28 Leo Liu <sdl.web@gmail.com>
6872
6873 * pcomplete.el (pcomplete-show-completions):
6874 Use minibuffer-message to make pcomplete usable in minibuffer.
6875
6876 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
6877
6878 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
6879
6880 * type-break.el: Use lexical-binding.
6881 (type-break-mode): Use define-minor-mode.
6882
6883 * emacs-lisp/pcase.el (pcase--mark-used): New.
6884 (pcase--u1): Use it (bug#12512).
6885
6886 * custom.el (load-theme): Set buffer-file-name so the load is recorded
6887 in load-history with the right file name.
6888
6889 2012-09-28 Tassilo Horn <tsdh@gnu.org>
6890
6891 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
6892 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
6893 (doc-view-get-bounding-box): Make bounding box slicing work for
6894 ODF and DVI documents.
6895
6896 2012-09-28 Glenn Morris <rgm@gnu.org>
6897
6898 * type-break.el (type-break-mode, type-break-interval)
6899 (type-break-good-rest-interval, type-break-keystroke-threshold):
6900 No need to autoload.
6901 (type-break-good-rest-interval, type-break-keystroke-threshold):
6902 Add :set-after.
6903
6904 2012-09-28 Chong Yidong <cyd@gnu.org>
6905
6906 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
6907 Add :version tag.
6908
6909 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
6910
6911 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
6912
6913 2012-09-27 Glenn Morris <rgm@gnu.org>
6914
6915 * faces.el (x-display-name): Declare (for without-x builds).
6916
6917 * linum.el (linum-format): Don't autoload it. Improve :type.
6918
6919 * progmodes/tcl.el: Don't require outline when compiling.
6920 (outline-regexp, outline-level): Declare.
6921 * textmodes/sgml-mode.el: Don't require outline when compiling.
6922 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
6923
6924 * term.el (term-ansi-reset):
6925 Try setting term-ansi-face-already-done to nil. (Bug#11785)
6926
6927 * vc/vc.el (vc-next-action): Only gripe about committing read-only
6928 files for RCS and SCCS. (Bug#9781)
6929
6930 2012-09-27 Chong Yidong <cyd@gnu.org>
6931
6932 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
6933 change; value should be t.
6934
6935 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
6936
6937 * image-mode.el: Use lexical-binding.
6938 (image-mode-winprops): Use t to stand for the window of
6939 a buffer that's not displayed.
6940 * doc-view.el (doc-view-new-window-function): Handle the new
6941 t in winprops.
6942 (doc-view-enlarge): Make it a real nop if the size is not changed.
6943 (doc-view-display): Handle the case where the buffer is not (yet?)
6944 displayed in any window.
6945 (doc-view-saved-settings): New var.
6946 (doc-view-mode): Use it.
6947 (doc-view-fallback-mode): Set it.
6948
6949 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
6950 Set lexical-binding.
6951 (minibuffer-eldef-shorten-default): New var.
6952 (minibuffer-default-in-prompt-regexps): Use it for new default.
6953 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
6954
6955 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
6956
6957 * international/uni-bidi.el:
6958 * international/uni-category.el:
6959 * international/uni-name.el:
6960 * international/uni-numeric.el: Regenerate.
6961
6962 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
6963 Stefan Monnier <monnier@iro.umontreal.ca>
6964
6965 * profiler.el: New file.
6966
6967 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
6968
6969 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
6970 (testcover-reinstrument): Simplify with CSE.
6971
6972 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
6973
6974 * window.el (temp-buffer-window-setup): Fix typo in docstring.
6975
6976 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
6977
6978 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
6979 (verilog-auto-input, verilog-auto-insert-lisp)
6980 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
6981 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
6982 (verilog-auto-unused, verilog-auto-wire)
6983 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
6984 newline. Reported by Andrew Jones.
6985 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
6986 Reported by Brad Dobbie.
6987 (verilog-batch-delete-trailing-whitespace):
6988 Create verilog-batch-delete-trailing-whitespace.
6989 Reported by Brad Dobbie.
6990 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
6991 parameters from another module. Reported by Dan Katz.
6992 (verilog-auto, verilog-auto-assign-modport)
6993 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
6994 AUTOINOUTMODPORT for UVM interface module shell generation.
6995 Reported by Brad Dobbie.
6996 (verilog-auto-inst-interfaced-ports): Make default nil, as more
6997 standard behavior.
6998 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
6999 Reported by Matt Martin.
7000
7001 2012-09-25 Martin Rudalics <rudalics@gmx.at>
7002
7003 * window.el (window--resize-child-windows): When resizing child
7004 windows proportionally, process them in reverse order to
7005 preserve the "when splitting a window the new one gets the odd
7006 line" behavior.
7007 (window--resize-root-window-vertically): When resizing the
7008 minibuffer window try to affect only windows at the bottom of the
7009 frame. (Bug#12419)
7010
7011 2012-09-25 Chong Yidong <cyd@gnu.org>
7012
7013 * subr.el (declare): Doc fix.
7014
7015 * help-fns.el (help-fns--obsolete): Handle macros properly.
7016
7017 2012-09-25 Chong Yidong <cyd@gnu.org>
7018
7019 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
7020 this function obsolete.
7021
7022 * calendar/cal-x.el (calendar-two-frame-setup)
7023 (calendar-only-one-frame-setup, calendar-one-frame-setup):
7024 * calendar/calendar.el (american-calendar, european-calendar)
7025 (calendar-for-loop):
7026 * comint.el (comint-dynamic-simple-complete)
7027 (comint-dynamic-complete-as-filename, comint-unquote-filename):
7028 * desktop.el (desktop-load-default):
7029 * dired-x.el (dired-omit-here-always)
7030 (dired-hack-local-variables, dired-default-directory):
7031 * emacs-lisp/derived.el (derived-mode-class):
7032 * emacs-lisp/timer.el (timer-set-time-with-usecs):
7033 * emacs-lock.el (toggle-emacs-lock):
7034 * epa.el (epa-display-verify-result):
7035 * epg.el (epg-sign-keys, epg-start-sign-keys)
7036 (epg-passphrase-callback-function):
7037 * eshell/esh-util.el (eshell-for):
7038 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
7039 (eshell-add-to-window-buffer-names):
7040 * files.el (locate-file-completion):
7041 * imenu.el (imenu-example--create-c-index)
7042 (imenu-example--create-lisp-index)
7043 (imenu-example--lisp-extract-index-name)
7044 (imenu-example--name-and-position):
7045 * international/mule-cmds.el (princ-list):
7046 * international/mule-diag.el (decode-codepage-char):
7047 * international/mule-util.el (detect-coding-with-priority):
7048 * iswitchb.el (iswitchb-read-buffer):
7049 * mail/mailalias.el (mail-complete):
7050 * mail/sendmail.el (mail-sent-via):
7051 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
7052 (mouse-major-mode-menu):
7053 * password-cache.el (password-read-and-add):
7054 * pcomplete.el (pcomplete-parse-comint-arguments):
7055 * progmodes/sh-script.el (sh-maybe-here-document):
7056 * replace.el (query-replace-regexp-eval):
7057 * savehist.el (savehist-load):
7058 * simple.el (choose-completion-delete-max-match):
7059 * term.el (term-dynamic-simple-complete):
7060 * vc/ediff-init.el (ediff-check-version):
7061 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
7062 * vc/vc.el (vc-diff-switches-list):
7063 * view.el (view-return-to-alist-update): Likewise.
7064
7065 * subr.el (eval-next-after-load, makehash, insert-string)
7066 (assoc-ignore-representation, assoc-ignore-case): Use declare to
7067 mark obsolete.
7068 (mode-line-inverse-video): Variable deleted.
7069
7070 * international/mule-util.el (string-to-sequence): Remove.
7071
7072 * calendar/calendar.el (calendar-version):
7073 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
7074 (icalendar-convert-diary-to-ical):
7075 * cus-edit.el (custom-mode):
7076 * ansi-color.el (ansi-color-unfontify-region):
7077 * international/latin1-disp.el (latin1-char-displayable-p):
7078 * progmodes/cwarn.el (turn-on-cwarn-mode):
7079 * progmodes/which-func.el (which-func-update-1):
7080 Use define-obsolete-function-alias.
7081
7082 * net/newst-backend.el (newsticker-cache-filename):
7083 * net/newst-treeview.el (newsticker-groups-filename):
7084 Fix incorrect obsolescence declaration.
7085
7086 * allout.el (allout-passphrase-hint-string): Likewise.
7087 (allout-init): Use a declare form to mark obsolete.
7088
7089 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
7090 this applies to functions.
7091
7092 * iswitchb.el (iswitchb-read-buffer): Move code of
7093 iswitchb-define-mode-map here, and delete that obsolete function.
7094
7095 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
7096 font-lock-reference-face.
7097
7098 2012-09-25 Glenn Morris <rgm@gnu.org>
7099
7100 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
7101 Doc fixes.
7102
7103 * eshell/em-term.el (eshell-term-name):
7104 Default to term-term-name. (Bug#12485)
7105
7106 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
7107
7108 * progmodes/python.el (python-shell-send-buffer): Better handling
7109 of "if __name__ == '__main__':" conditionals when sending the buffer.
7110
7111 2012-09-24 Glenn Morris <rgm@gnu.org>
7112
7113 * eshell/esh-cmd.el (eshell-find-alias-function):
7114 Tighten up file-name regexp. (Bug#12499)
7115
7116 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
7117
7118 Enhancements for triple-quote string syntax.
7119 * progmodes/python.el (python-quote-syntax): Remove.
7120 (python-syntax-propertize-function): New value.
7121 (python-syntax-count-quotes, python-syntax-stringify):
7122 New functions.
7123
7124 2012-09-24 Chong Yidong <cyd@gnu.org>
7125
7126 * mail/supercite.el (sc-version): Remove obsolete function.
7127 (sc-describe): Don't mark as obsolete, since it is bound.
7128 (sc-submit-bug-report): Remove.
7129
7130 * vc/log-edit.el (cvs-changelog-full-paragraphs)
7131 (cvs-commit-buffer-require-final-newline): Remove.
7132 (log-edit-require-final-newline)
7133 (log-edit-changelog-full-paragraphs): Default to t.
7134
7135 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
7136 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
7137 * vc/vc.el (vc-checkout-carefully): Likewise.
7138
7139 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
7140 (emerge-version): Remove.
7141
7142 * progmodes/compile.el (compile-internal): Remove.
7143 (compilation-parse-errors-function): Fix typo.
7144
7145 * international/mule.el (set-char-table-default): Remove.
7146 (set-coding-priority, make-coding-system, generic-char-p)
7147 (charset-list, charset-bytes, charset-id): Use declare to mark
7148 functions as obsolete.
7149
7150 * vc/pcvs-defs.el (cvs-buffer-name-alist)
7151 (cvs-invert-ignore-marks): Remove references to obsolete vars.
7152 * vc/vc-hooks.el (vc-default-registered): Don't use
7153 vc-master-templates.
7154
7155 * font-lock.el (font-lock-reference-face):
7156 Use define-obsolete-variable-alias.
7157
7158 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
7159 * calendar/calendar.el (calendar-font-lock-keywords):
7160 * calendar/diary-lib.el (diary-font-lock-keywords)
7161 (diary-fancy-font-lock-keywords):
7162 * textmodes/reftex-sel.el (reftex-insert-docstruct):
7163 * textmodes/reftex-index.el (reftex-insert-index):
7164 * textmodes/reftex-cite.el (reftex-format-bib-entry):
7165 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7166 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
7167 * progmodes/prolog.el (prolog-font-lock-keywords):
7168 * progmodes/idlwave.el (idlwave-idl-keywords):
7169 * progmodes/ada-mode.el (ada-font-lock-keywords):
7170 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
7171
7172 2012-09-24 Glenn Morris <rgm@gnu.org>
7173
7174 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
7175
7176 2012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
7177
7178 * progmodes/python.el (python-indent-line): More consistent cursor
7179 movement behavior.
7180
7181 2012-09-23 Stefan Merten <smerten@oekonux.de>
7182
7183 * textmodes/rst.el: Fix compiler warning.
7184
7185 2012-09-23 Roland Winkler <winkler@gnu.org>
7186
7187 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
7188 Transcribe also LaTeX hyphenation.
7189 (bibtex-reformat): Bug fix. Do not quote twice the elements of
7190 bibtex-reformat-previous-options.
7191
7192 2012-09-23 Roland Winkler <winkler@gnu.org>
7193
7194 * proced.el (proced-renice-command): New variable.
7195 (proced-marked-processes): New function.
7196 (proced-with-processes-buffer): New macro.
7197 (proced-send-signal): Use them.
7198 (proced-renice): New command bound to r.
7199
7200 2012-09-23 Roland Winkler <winkler@gnu.org>
7201
7202 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
7203 ibuffer-saved-filter-groups has one element, shortcut the call of
7204 completing-read. (Bug#12331)
7205
7206 2012-09-23 Chong Yidong <cyd@gnu.org>
7207
7208 * bindings.el (mode-line-toggle-read-only):
7209 * bs.el (bs-toggle-readonly):
7210 * buff-menu.el (Buffer-menu-toggle-read-only):
7211 * dired.el (dired-toggle-read-only):
7212 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
7213
7214 2012-09-23 Chong Yidong <cyd@gnu.org>
7215
7216 * image.el (image-type-available-p): Adapt to init-image-library
7217 argument changes.
7218
7219 2012-09-22 Juri Linkov <juri@jurta.org>
7220
7221 * dired.el (dired-mode-map): Add [remap read-only-mode] for
7222 `dired-toggle-read-only'. (Bug#12462)
7223
7224 2012-09-22 Martin Rudalics <rudalics@gmx.at>
7225
7226 * subr.el (temp-output-buffer-show): New function.
7227 (with-output-to-temp-buffer): Call temp-output-buffer-show
7228 instead of internal-temp-output-buffer-show.
7229
7230 2012-09-22 Chong Yidong <cyd@gnu.org>
7231
7232 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
7233 (Bug#12462).
7234
7235 * repeat.el (repeat): Doc fix (Bug#12348).
7236
7237 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
7238 (Bug#10909).
7239
7240 * simple.el (shell-command-on-region): Doc fix.
7241 (read-only-mode): Doc fix.
7242
7243 2012-09-22 Eli Zaretskii <eliz@gnu.org>
7244
7245 * emacs-lisp/timer.el (run-with-idle-timer)
7246 (timer-activate-when-idle): Warn against reinvoking an idle timer
7247 from within its own timer action. (Bug#12447)
7248
7249 2012-09-22 Martin Rudalics <rudalics@gmx.at>
7250
7251 * cus-start.el (window-combination-limit): Add new optional
7252 values.
7253 * window.el (temp-buffer-window-show)
7254 (window--try-to-split-window): Handle new values of
7255 window-combination-limit (Bug#1806).
7256 (split-window): Test window-combination-limit for t instead of
7257 non-nil.
7258 (display-buffer-at-bottom): New buffer display action function.
7259 * help.el (temp-buffer-resize-regexps): New option.
7260 (temp-buffer-resize-mode): Rewrite doc-string.
7261 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
7262 Don't resize reused window. Suggested by Glenn Morris.
7263
7264 2012-09-22 Stefan Merten <smerten@oekonux.de>
7265
7266 * textmodes/rst.el: Revamp section title faces.
7267 (rst-official-version)
7268 (rst-package-emacs-version-alist): Sync with official version
7269 V1.4.0.
7270 (rst-faces-defaults, rst-set-level-default)
7271 (rst-level-face-max, rst-level-face-base-color)
7272 (rst-level-face-base-light, rst-level-face-format-light)
7273 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
7274 (rst-adornment-faces-alist): Match new setup.
7275 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
7276 (rst-level-5, rst-level-6): New faces.
7277
7278 2012-09-22 Chong Yidong <cyd@gnu.org>
7279
7280 * simple.el (undo): Handle indirect buffers (Bug#8207).
7281
7282 2012-09-21 Leo Liu <sdl.web@gmail.com>
7283
7284 IDO: Disable match re-ordering for buffer switching.
7285 * ido.el (ido-buffer-disable-smart-matches): New variable.
7286 (ido-set-matches-1): Use it. (Bug#2042)
7287
7288 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
7289
7290 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
7291 Fix 2011-05-17 change. (Bug#12418)
7292
7293 2012-09-21 Leo Liu <sdl.web@gmail.com>
7294
7295 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
7296
7297 2012-09-21 Glenn Morris <rgm@gnu.org>
7298
7299 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
7300 Be more robust about locating simple.el.
7301
7302 2012-09-21 Glenn Morris <rgm@gnu.org>
7303
7304 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
7305
7306 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
7307
7308 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
7309
7310 2012-09-20 Juri Linkov <juri@jurta.org>
7311
7312 * replace.el (query-replace-read-from): Use `read-regexp' instead
7313 of `read-from-minibuffer' when `regexp-flag' is non-nil.
7314 (occur-read-primary-args): Use `read-regexp' instead of
7315 `read-string'.
7316 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
7317 `read-from-minibuffer'.
7318 * isearch.el (isearch-occur): Use `read-regexp' instead of
7319 `read-string'.
7320 * dired.el (dired-read-regexp): Use `read-regexp' instead of
7321 `read-from-minibuffer'.
7322 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
7323 of `read-string'. (Bug#7567)
7324
7325 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
7326 and allow accepting a list of strings prepended to a list of
7327 standard default values. Doc fix. (Bug#12321)
7328
7329 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
7330
7331 * replace.el (read-regexp): Don't add ": " when PROMPT already
7332 ends with a colon and space. (Bug#12321)
7333
7334 2012-09-20 Tassilo Horn <tsdh@gnu.org>
7335
7336 * doc-view.el (doc-view-display): Better fix for the cl-assertion
7337 error.
7338
7339 2012-09-20 Stefan Merten <smerten@oekonux.de>
7340
7341 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
7342 Fixes feature request bug#11711.
7343 (rst-mode): Create `imenu-create-index-function'.
7344 (rst-get-stripped-line): Delete after refactoring.
7345 (rst-section-tree, rst-section-tree-rec)
7346 (rst-section-tree-point): Refactor and document properly.
7347 (rst-imenu-find-adornments-for-position)
7348 (rst-imenu-convert-cell, rst-imenu-create-index):
7349 New function.
7350
7351 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
7352
7353 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
7354 (macroexp--expand-all): Use it.
7355 (macroexp--funcall-and-return): Remove by folding it into its sole
7356 caller (macroexp--warn-and-return).
7357 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
7358 Use macroexp--obsolete-warning.
7359
7360 * calc/calc.el: Fix last change by removing the whole chunk, since it
7361 was only needed back when Calc was not bundled.
7362
7363 2012-09-20 Martin Rudalics <rudalics@gmx.at>
7364
7365 * emacs-lisp/debug.el (debug): Restore assignment to
7366 debugger-old-buffer removed on 2012-09-08.
7367
7368 2012-09-20 Juri Linkov <juri@jurta.org>
7369
7370 * dired-aux.el (dired-diff): Remove (require 'diff) since
7371 `diff-latest-backup-file' is now autoloaded.
7372
7373 2012-09-20 Chong Yidong <cyd@gnu.org>
7374
7375 * vc/diff.el (diff-latest-backup-file): Autoload.
7376
7377 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
7378
7379 * calc/calc.el: Remove redundant autoload shape check.
7380 (sel-mode): Don't defvar.
7381 (calc-get-stack-element): Add `sel-mode' arg instead.
7382 (calc-top, calc-top-list): Pass it this additional argument.
7383 * calc/calc-store.el (calc-store-map):
7384 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
7385 (calc-map-equation, calc-outer-product, calc-inner-product):
7386 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
7387
7388 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
7389
7390 2012-09-19 Juri Linkov <juri@jurta.org>
7391
7392 * dired-aux.el (dired-diff): Add (require 'diff) because
7393 `diff-latest-backup-file' is not autoloaded.
7394 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
7395 of `dired-get-filename' to t to not report error when there is
7396 no default file on the current line.
7397
7398 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7399
7400 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
7401 macroexp--eval-if-compile.
7402 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
7403 (macroexp--expand-all): Use them (bug#12371).
7404
7405 * doc-view.el (doc-view-guess-paper-size)
7406 (doc-view-scale-bounding-box): Fix unbound `caddr'.
7407
7408 2012-09-19 Tassilo Horn <tsdh@gnu.org>
7409
7410 New feature: set optimal slice from BoundingBox information.
7411 * doc-view.el (doc-view-mode-map): Add keybinding.
7412 (doc-view-menu): Add menu entry.
7413 (doc-view-set-slice): Adapt docstring.
7414 (doc-view-get-bounding-box, doc-view-guess-paper-size)
7415 (doc-view-scale-bounding-box)
7416 (doc-view-set-slice-from-bounding-box): New functions.
7417 (doc-view-paper-sizes): New defvar.
7418
7419 2012-09-19 Glenn Morris <rgm@gnu.org>
7420
7421 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
7422 (byte-compile-log-warning): Autoload. (Bug#12371)
7423
7424 * calendar/calendar.el (calendar-american-month-header)
7425 (calendar-european-month-header, calendar-iso-month-header)
7426 (calendar-month-header): New options.
7427 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
7428 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
7429
7430 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
7431
7432 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
7433
7434 2012-09-18 Juri Linkov <juri@jurta.org>
7435
7436 * dired-aux.el (dired-diff): Restore original functionality of
7437 getting the default value, but keep new feature of using the
7438 latest existing backup file (`diff-latest-backup-file').
7439
7440 2012-09-18 Juri Linkov <juri@jurta.org>
7441
7442 * dired.el (dired-mark): If the region is active in Transient Mark
7443 mode, mark all files in the active region. Doc fix.
7444 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
7445 Doc fix. (Bug#10624)
7446
7447 2012-09-18 Juri Linkov <juri@jurta.org>
7448
7449 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
7450 attributes for M-n are pulled from the file at point.
7451 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
7452 Suggested by Drew Adams. (Bug#10624)
7453
7454 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
7455
7456 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
7457 whitespace after "end".
7458 (ruby-do-end-to-brace): Collapse block to one line if it fits
7459 within fill-column.
7460
7461 2012-09-18 Martin Rudalics <rudalics@gmx.at>
7462
7463 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
7464 value.
7465 (debug): Don't remove debugger window when debugger is expected
7466 to be back.
7467
7468 2012-09-18 Chong Yidong <cyd@gnu.org>
7469
7470 * custom.el (defface): Doc fix.
7471
7472 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
7473
7474 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
7475
7476 * progmodes/compile.el (compilation-start): Use compilation-always-kill
7477 to initialize query-on-exit; then test that instead (bug#12288).
7478
7479 2012-09-17 Stefan Merten <smerten@oekonux.de>
7480
7481 * textmodes/rst.el: Add support for `testcover'.
7482 (rst-defcustom-testcover, rst-testcover-add-compose)
7483 (rst-testcover-add-1value): New functions.
7484 (rst-portable-mark-active-p): Replace by `use-region-p'.
7485 (rst-update-section, rst-classify-adornment)
7486 (rst-find-title-line): Mark `1value' forms.
7487 (rst-classify-adornment): Remove superfluous form.
7488 (rst-update-section, rst-get-adornments-around)
7489 (rst-adornment-complete-p, rst-get-next-adornment)
7490 (rst-adjust, rst-promote-region)
7491 (rst-display-adornments-hierarchy, rst-straighten-adornments)
7492 (rst-find-pfx-in-region, rst-section-tree-rec)
7493 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
7494 (rst-toc-node, rst-toc, rst-forward-section)
7495 (rst-iterate-leftmost-paragraphs)
7496 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
7497 (rst-bullet-list-region)
7498 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
7499 (rst-compile-find-conf, rst-compile)
7500 (rst-repeat-last-character): Fix style.
7501
7502 2012-09-17 Chong Yidong <cyd@gnu.org>
7503
7504 * comint.el (comint--complete-file-name-data): Don't add a space
7505 if the status is `sole'; that adds a gratuitous space in the
7506 completion-cycling case (Bug#12092).
7507
7508 * pcomplete.el (pcomplete-completions-at-point): Likewise.
7509
7510 2012-09-17 Richard Stallman <rms@gnu.org>
7511
7512 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
7513 only in the mime-shown mode, not in raw mode.
7514 (rmail-mime): Toggle off mime by displaying the message without
7515 mime processing. (Bug#12305)
7516
7517 * mail/rmail.el (rmail-retry-failure):
7518 Turn off mime processing first. (Bug#12037)
7519
7520 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
7521
7522 2012-09-17 Chong Yidong <cyd@gnu.org>
7523
7524 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
7525 (shell-dynamic-complete-functions): Convert to defcustom.
7526 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
7527
7528 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
7529 * comint.el (comint-prompt-read-only):
7530 * custom.el (defcustom):
7531 * hi-lock.el (hi-lock-mode):
7532 * ibuffer.el (ibuffer-formats):
7533 * ielm.el (ielm-prompt-read-only):
7534 * novice.el (disable-command):
7535 * saveplace.el (toggle-save-place):
7536 * speedbar.el (speedbar-supported-extension-expressions):
7537 * startup.el (auto-save-list-file-prefix, init-file-user)
7538 (after-init-hook, inhibit-startup-echo-area-message):
7539 * strokes.el (strokes-help):
7540 * time-stamp.el (time-stamp):
7541 * calendar/calendar.el (calendar, diary-file):
7542 * calendar/diary-lib.el (diary-mail-entries, diary)
7543 (diary-list-entries-hook):
7544 * calendar/holidays.el (holidays, calendar-holidays):
7545 * calendar/lunar.el (lunar-phases):
7546 * calendar/solar.el (sunrise-sunset):
7547 * emulation/edt.el (edt-load-keys):
7548 * emulation/viper.el (viper-mode):
7549 * eshell/em-alias.el (eshell-command-aliases-list):
7550 * eshell/esh-util.el (eshell-convert-numeric-arguments):
7551 * international/ogonek.el (ogonek-information):
7552 * net/tramp-cmds.el (tramp-bug):
7553 * net/quickurl.el (quickurl-reread-hook-postfix):
7554 * play/decipher.el (decipher-font-lock-keywords):
7555 * progmodes/cc-styles.el (c-set-style):
7556 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
7557 * progmodes/inf-lisp.el (inferior-lisp-prompt):
7558 * progmodes/octave-mod.el (octave-mode):
7559 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
7560 * progmodes/verilog-mode.el (verilog-read-defines):
7561 * textmodes/two-column.el (2C-mode): Likewise.
7562
7563 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
7564
7565 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
7566 that holds many addresses.
7567
7568 2012-09-16 Chong Yidong <cyd@gnu.org>
7569
7570 * align.el (align-areas): Call the indication function with
7571 positions instead of markers for arguments (Bug#12343).
7572
7573 * files.el (parse-colon-path): Use split-string (Bug#12351).
7574
7575 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
7576 (display-buffer-function): Mark as obsolete.
7577
7578 * progmodes/compile.el (compilation-parse-errors): Accept list
7579 values similar to font-lock-keywords (Bug#12136).
7580 Suggested by Oleksandr Manzyuk.
7581 (compilation-error-regexp-alist): Doc fix.
7582
7583 2012-09-15 Glenn Morris <rgm@gnu.org>
7584
7585 * version.el (emacs-bzr-version-bzr): New function.
7586 (emacs-bzr-get-version): Add optional EXTERNAL argument.
7587
7588 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
7589 checkouts, check the parent dirstate matches the branch.
7590 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
7591 empty string.
7592
7593 * version.el (emacs-bzr-version): Doc fix.
7594 (emacs-bzr-version-dirstate): New function.
7595 (emacs-bzr-get-version): For lightweight checkouts, if the parent
7596 is local try and check that it matches the branch. If not, just
7597 use dirstate information. (Bug#12441)
7598
7599 2012-09-14 Juri Linkov <juri@jurta.org>
7600
7601 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
7602 (Bug#12399)
7603
7604 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
7605
7606 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
7607
7608 * emacs-lisp/edebug.el: Miscellaneous cleanup.
7609 Remove obsolete byte-compiler hack that tried to silence some warnings.
7610 (edebug-submit-bug-report): Remove.
7611 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
7612 Remove aliases, use the un-prefixed name instead.
7613 (edebug-pop-to-buffer): Consider other frames.
7614 (edebug-original-read):: Make it more obvious that it's always defined.
7615 (edebug--make-form-data-entry, edebug--form-data-name)
7616 (edebug--form-data-begin, edebug--form-data-end): Rename from the
7617 single-dashed name, and implement with cl-defstruct.
7618 (edebug-set-form-data-entry): Use the standard accessors.
7619 (edebug-make-top-form-data-entry): Use push.
7620 (edebug-no-match): Drop useless `funcall'.
7621 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
7622 to functions.
7623 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
7624 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
7625 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
7626 (easy-menu-define, with-custom-print): Remove redundant specs.
7627 (edebug-outside-overriding-local-map)
7628 (edebug-outside-overriding-terminal-local-map): Remove, unused.
7629 (edebug--display): Bind unread-command-events directly to nil rather
7630 than binding it to unread-command-events and later setting it to nil.
7631 (edebug--display): Kill edebug-eval-buffer here...
7632 (edebug--recursive-edit): ...rather than here.
7633 Bind standard-output and standard-input.
7634 (edebug-eval): Check cl-macroexpand-all is fboundp.
7635 (edebug-temp-display-freq-count): Fix last change.
7636
7637 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
7638 * subr.el (noreturn, 1value): Add `debug' spec.
7639 * emacs-lisp/advice.el: Require cl-lib.
7640 (ad-copy-tree): Remove, use copy-tree instead.
7641 (ad-dolist): Remove use dolist or cl-dolist instead.
7642 (ad-do-return): Remove, use cl-return instead.
7643 (defadvice): Add `debug' spec.
7644
7645 2012-09-13 Juri Linkov <juri@jurta.org>
7646
7647 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
7648 (Bug#12399)
7649
7650 2012-09-13 Glenn Morris <rgm@gnu.org>
7651
7652 * calc/calc.el (math-compose-expr):
7653 * calc/calc-ext.el (math-compose-expr):
7654 * progmodes/cc-defs.el (cl-macroexpand-all):
7655 * progmodes/cc-langs.el (delete-duplicates, mapcan)
7656 (cl-macroexpand-all): Update declarations.
7657
7658 * vc/vc.el: No need to require ediff.
7659 (ediff-load-version-control): Declare.
7660 (ediff-vc-internal): Fix declaration.
7661 (vc-version-ediff): Require ediff.
7662
7663 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
7664
7665 Use a more backwards-compatible timer format (Bug#12430).
7666 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
7667 being right after USECS, as that better supports old code that
7668 inadvisedly looked directly at the timer vector.
7669
7670 2012-09-13 Kenichi Handa <handa@gnu.org>
7671
7672 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
7673 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
7674 `coding-priority' property of these language environment.
7675
7676 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
7677
7678 Fix glitches caused by addition of psec to timers (Bug#12430).
7679 * image.el (image-animate-timer):
7680 * time.el (display-time-world-timer):
7681 Use timer--function and timer--args rather than raw access to
7682 timer vector.
7683
7684 2012-09-13 Glenn Morris <rgm@gnu.org>
7685
7686 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
7687 If not compiling a file, try using load-file-name.
7688
7689 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
7690
7691 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
7692 Fix last change.
7693 (edebug-update-eval-list): Use `push'.
7694
7695 * emacs-lisp/edebug.el: Use lexical-binding.
7696 Remove the "edebug-" prefix from non-dynamically-scoped variables.
7697 Mark unused args with underscore.
7698 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
7699 (edebug-form-data): Use defvar-local.
7700 (edebug-make-before-and-after-form, edebug-make-after-form):
7701 Use backquote.
7702 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
7703 Not dynamically scoped any more.
7704 (edebug--enter-trace): Add arguments `function' and `args'.
7705 Rename from edebug-enter-trace.
7706 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
7707 (edebug--update-coverage): Add `after-index' and `value' args.
7708 Rename from edebug-update-coverage.
7709 (edebug-slow-after): Call it accordingly.
7710 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
7711 edebug-recursive-edit.
7712 (edebug--display): Call it accordingly. Add args `value',
7713 `offset-index', and `arg-mode'. Rename from edebug-display.
7714 (edebug-debugger, edebug): Call it accordingly.
7715 (edebug-eval-display-list): Use dolist.
7716
7717 2012-09-12 Juri Linkov <juri@jurta.org>
7718
7719 * info.el (Info-search): Don't check for isearch-mode and
7720 isearch-regexp before let-binding search-spaces-regexp to
7721 Info-search-whitespace-regexp.
7722 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
7723 search-whitespace-regexp if isearch-lax-whitespace or
7724 isearch-regexp-lax-whitespace is non-nil.
7725 (Info-mode): Don't set local variable search-whitespace-regexp.
7726 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
7727
7728 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7729
7730 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
7731 (debugger-env-macro): Remove support for unread-command-char.
7732
7733 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
7734 the temporary map re-appearing on emulation-mode-map-alists.
7735
7736 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
7737 since 22.1.
7738
7739 * ehelp.el (with-electric-help): Accept functions in
7740 electric-help-form-to-execute.
7741 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
7742 And replace unread-command-char -> unread-command-events.
7743
7744 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
7745
7746 Sync with Tramp 2.2.6.
7747
7748 * net/tramp.el (tramp-accept-process-output): Don't use
7749 JUST-THIS-ONE in the XEmacs case.
7750
7751 * net/trampver.el: Update release number.
7752
7753 2012-09-12 Martin Rudalics <rudalics@gmx.at>
7754
7755 * emacs-lisp/debug.el (debugger-previous-window-height):
7756 New variable.
7757 (debug): When debugger-jumping-flag is non-nil try to restore
7758 height of debugger window. (Bug#8789)
7759
7760 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7761
7762 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
7763 overriding-local-map and pre/post-command-hook here.
7764 (edebug-recursive-edit): Do it here instead (bug#12345).
7765 (edebug-outside-unread-command-char): Remove all uses of
7766 unread-command-char.
7767
7768 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
7769 inhibit-debugger is bound instead.
7770
7771 2012-09-11 Bastien Guerry <bzg@gnu.org>
7772
7773 * subr.el (set-temporary-overlay-map): Add a docstring.
7774 (Bug#12346)
7775
7776 2012-09-11 Bastien Guerry <bzg@gnu.org>
7777
7778 * minibuffer.el (completion-table-subvert): Fix docstring.
7779 (Bug#12347)
7780
7781 2012-09-11 Bastien Guerry <bzg@gnu.org>
7782
7783 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
7784
7785 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
7786
7787 * progmodes/sql.el: Version 3.1
7788 (sql-db2-escape-newlines): New variable.
7789 (sql-escape-newlines-filter): Use it.
7790
7791 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
7792
7793 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
7794
7795 2012-09-10 Dan Nicolaescu <dann@gnu.org>
7796
7797 * vc/diff-mode.el (diff-mode-menu):
7798 Bind diff-remove-trailing-whitespace.
7799
7800 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
7801
7802 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
7803 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
7804 (emacs-lisp-byte-code-mode): New functions.
7805 (eval-sexp-add-defvars): Don't skip defvars in column >0.
7806 (eval-defun-2): Remove bogus interactive spec.
7807 (lisp-indent-line): Remove redundant whole-exp code, now done in
7808 indent-according-to-mode.
7809 (save-match-data): Remove redundant indent data.
7810
7811 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
7812 Use `declare'.
7813
7814 2012-09-09 Juri Linkov <juri@jurta.org>
7815
7816 * replace.el (replace-regexp-lax-whitespace): New defcustom.
7817 (replace-lax-whitespace, query-replace-regexp)
7818 (query-replace-regexp-eval, replace-regexp): Doc fix.
7819 (perform-replace, replace-highlight): Let-bind
7820 isearch-lax-whitespace to replace-lax-whitespace and
7821 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
7822
7823 * isearch.el (isearch-query-replace): Let-bind
7824 replace-lax-whitespace to isearch-lax-whitespace and
7825 replace-regexp-lax-whitespace to
7826 isearch-regexp-lax-whitespace. (Bug#10885)
7827
7828 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
7829
7830 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
7831
7832 2012-09-09 Alan Mackenzie <acm@muc.de>
7833
7834 * progmodes/cc-engine.el (c-state-cache-init):
7835 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
7836 (c-record-parse-state-state):
7837 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
7838
7839 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
7840
7841 * register.el (register-separator): Rename from
7842 separator-register. All uses changed. Doc fix.
7843 (register): Fix version.
7844
7845 2012-09-09 Chong Yidong <cyd@gnu.org>
7846
7847 * replace.el (query-replace-map): Bind four new symbols for
7848 requesting window scrolling.
7849
7850 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
7851 query-replace-map (Bug#8948).
7852
7853 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
7854
7855 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
7856 since they are now in query-replace-map.
7857
7858 * window.el (scroll-other-window-down): Make the arg optional.
7859
7860 2012-09-09 Chong Yidong <cyd@gnu.org>
7861
7862 * files.el (hack-local-variables-confirm): Use quit-window to kill
7863 the *Local Variables* buffer.
7864
7865 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
7866
7867 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
7868 not just expect to be at its beginning. Adjust callees.
7869 Succeed when do-end block has no space before the pipe character.
7870 (ruby-brace-to-do-end): When the original block is one-liner,
7871 convert to multiline. Reindent the result.
7872
7873 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
7874
7875 * register.el (register): New group.
7876 (separator-register): New user option.
7877 (increment-register): Route it to `append-to-register', if
7878 register contains text. Implication is that `C-x r +' can now be
7879 used for appending to a text register (bug#12217).
7880 (append-to-register, prepend-to-register): Add separator based on
7881 `separator-register'.
7882
7883 2012-09-08 Alan Mackenzie <acm@muc.de>
7884
7885 AWK Mode: make auto-newline work when there's "==" in the pattern.
7886 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
7887 correctly.
7888 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
7889 Test more rigorously for "=" token.
7890
7891 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
7892
7893 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
7894 Only fail when reached LIMIT.
7895
7896 2012-09-08 Chong Yidong <cyd@gnu.org>
7897
7898 * dired.el (dired-mode-map): Don't bind M-=.
7899
7900 * dired-aux.el (dired-diff): Use backup file as default.
7901
7902 2012-09-08 Drew Adams <drew.adams@oracle.com>
7903
7904 * subr.el (add-to-history): Fix delete usage (Bug#12314).
7905
7906 2012-09-08 Chong Yidong <cyd@gnu.org>
7907
7908 * subr.el (syntax-after, syntax-class): Doc fix.
7909
7910 2012-09-08 Martin Rudalics <rudalics@gmx.at>
7911
7912 * window.el (display-buffer-in-previous-window): New buffer
7913 display action function.
7914
7915 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
7916 (debugger-previous-window): New variable.
7917 (debug): Rewrite using display-buffer-in-previous-window,
7918 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
7919
7920 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
7921
7922 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
7923
7924 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
7925
7926 * progmodes/python.el (python-shell-send-string):
7927 When default-directory is remote, create temp file on remote
7928 filesystem.
7929 (python-shell-send-file): When file is remote, pass local view of
7930 file paths to remote Python interpreter. (Bug#12340)
7931
7932 2012-09-07 Chong Yidong <cyd@gnu.org>
7933
7934 * window.el (switch-to-buffer): Doc fix (Bug#12181).
7935
7936 * files.el (after-find-file): Don't fail on a read-only buffer if
7937 require-final-newline is `visit' or `visit-save' (Bug#11156).
7938
7939 * subr.el (read-char-choice): Allow quitting via ESC ESC.
7940
7941 * userlock.el (ask-user-about-supersession-threat):
7942 Use read-char-choice (Bug#12093).
7943
7944 2012-09-07 Chong Yidong <cyd@gnu.org>
7945
7946 * subr.el (buffer-narrowed-p): New function.
7947
7948 * ses.el (ses-widen):
7949 * simple.el (count-words--buffer-message):
7950 * net/browse-url.el (browse-url-of-buffer): Use it.
7951
7952 * simple.el (count-words-region): Don't signal an error if there
7953 is a non-nil prefix arg and the mark is not set.
7954
7955 * help.el (describe-key-briefly): Allow the message to be seen
7956 when invoked from the minibuffer (Bug#7014).
7957
7958 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
7959
7960 * progmodes/ruby-mode.el (ruby-end-of-defun)
7961 (ruby-beginning-of-defun): Simplify, allow indentation before
7962 block beginning and end keywords.
7963 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
7964 (ruby-end-of-defun): Expect that the point is at the beginning of
7965 the defun.
7966
7967 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7968
7969 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
7970 (bug#12367).
7971 (cl--make-usage-args): Strip _ from argument names.
7972
7973 2012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7974
7975 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
7976 obsolete alias speedbar-key-map.
7977 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
7978 (vhdl-index-menu-init): Don't use obsolete variable
7979 font-lock-maximum-size.
7980
7981 2012-09-06 Chong Yidong <cyd@gnu.org>
7982
7983 * frame.el (window-system-version): Mark as obsolete.
7984
7985 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
7986 of obsolete variable speedbar-key-map.
7987
7988 2012-09-06 Juri Linkov <juri@jurta.org>
7989
7990 * replace.el (replace-lax-whitespace): New defcustom.
7991 (query-replace, query-replace-regexp, query-replace-regexp-eval)
7992 (replace-string, replace-regexp): Mention it in docstrings.
7993 (perform-replace, replace-highlight): Let-bind
7994 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
7995 to the values of replace-lax-whitespace and regexp-flag.
7996 Don't let-bind search-whitespace-regexp. (Bug#10885)
7997
7998 * isearch.el (isearch-query-replace): Let-bind
7999 replace-lax-whitespace instead of let-binding
8000 replace-search-function and replace-re-search-function.
8001 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
8002 and isearch-regexp-lax-whitespace to lazy-highlight variables.
8003 (isearch-toggle-symbol): Set isearch-regexp to nil
8004 in isearch-word mode (like in isearch-toggle-word).
8005
8006 2012-09-06 Juri Linkov <juri@jurta.org>
8007
8008 * replace.el (replace-search-function)
8009 (replace-re-search-function): Set default values to nil.
8010 (perform-replace): Let-bind isearch-related variables based on
8011 replace-related values, call `isearch-search-fun' and let-bind
8012 the result to `search-function'. Remove code that sets
8013 `search-function' and `search-string' separately for
8014 `delimited-flag'.
8015 (replace-highlight): Add new argument `delimited-flag' and
8016 rename other arguments to the names used in `perform-replace'.
8017 Let-bind `isearch-word' to the argument `delimited-flag'.
8018 (Bug#10885, bug#10887)
8019
8020 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
8021
8022 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
8023 ruby-beginning-of-indent, simplify, allow all keywords to have
8024 indentation before them.
8025 (ruby-beginning-of-indent): Adjust for above. Search until the
8026 found point is not inside a string or comment.
8027 (ruby-font-lock-keywords): Allow symbols to start with "@"
8028 character, give them higher priority than variables.
8029 (ruby-syntax-propertize-function)
8030 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
8031 matchers. Expression expansions are not comments when inside a
8032 string, and there comment syntax status is irrelevant.
8033 (ruby-match-expression-expansion): New function. Check that
8034 expression expansion is inside a string, and it's not escaped.
8035 (ruby-font-lock-keywords): Use it.
8036
8037 2012-09-05 Martin Rudalics <rudalics@gmx.at>
8038
8039 * help.el (temp-buffer-max-height): New default value.
8040 (temp-buffer-resize-frames): New option.
8041 (resize-temp-buffer-window): Optionally resize frame.
8042
8043 * window.el (fit-frame-to-buffer-bottom-margin): New option.
8044 (fit-frame-to-buffer): New function.
8045
8046 2012-09-05 Glenn Morris <rgm@gnu.org>
8047
8048 * emulation/cua-rect.el (cua--init-rectangles):
8049 * textmodes/picture.el (picture-mode-map):
8050 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
8051 like forward-char and backward-char. (Bug#12317)
8052
8053 2012-09-05 Leo Liu <sdl.web@gmail.com>
8054
8055 * progmodes/flymake.el (flymake-warning-re): New variable.
8056 (flymake-parse-line): Use it.
8057
8058 2012-09-05 Glenn Morris <rgm@gnu.org>
8059
8060 * calendar/holidays.el (holiday-christian-holidays):
8061 Rename an entry. (Bug#12289)
8062
8063 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
8064
8065 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
8066 (bug#12222).
8067
8068 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
8069
8070 * loadup.el: Load macroexp. Remove hack.
8071 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
8072 (macroexp--expand-all): Use it to get better warnings.
8073 (macroexp--backtrace, macroexp--trim-backtrace-frame)
8074 (internal-macroexpand-for-load): New functions.
8075 (macroexp--pending-eager-loads): New var.
8076 (emacs-startup-hook): New hack to replace one in loadup.el.
8077 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
8078 (cl--compiler-macro-cXXr): Move to top, before they can be used.
8079 (cl-psetf): Simplify.
8080 (cl-defstruct): Add indent rule.
8081
8082 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
8083
8084 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
8085 over `user-mail-address' for the SMTP MAIL FROM envelope.
8086 (smtpmail-via-smtp): Ditto.
8087
8088 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
8089
8090 * progmodes/ruby-mode.el: Clean up keybindings.
8091 (ruby-mode-map): Don't bind ruby-electric-brace,
8092 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
8093 backward-kill-word, reindent-then-newline-and-indent.
8094 (ruby-mark-defun): Remove.
8095 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
8096 (ruby-mode): Set local beginning-of-defun-function and
8097 end-of-defun-function values.
8098
8099 2012-09-03 Martin Rudalics <rudalics@gmx.at>
8100
8101 * window.el (temp-buffer-window-setup-hook)
8102 (temp-buffer-window-show-hook): New hooks.
8103 (temp-buffer-window-setup, temp-buffer-window-show)
8104 (with-temp-buffer-window): New functions.
8105 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
8106 (special-display-popup-frame): Make sure the window used shows BUFFER.
8107
8108 * help.el (temp-buffer-resize-mode): Fix doc-string.
8109 (resize-temp-buffer-window): New optional argument WINDOW.
8110
8111 * files.el (recover-file, save-buffers-kill-emacs):
8112 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
8113
8114 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
8115
8116 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
8117 remote definition of `default-directory', ensure we can connect.
8118
8119 2012-09-02 Juri Linkov <juri@jurta.org>
8120
8121 Toggle whitespace matching mode with M-s SPC.
8122 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
8123
8124 * isearch.el (search-whitespace-regexp): Doc fix.
8125 Remove cons cell customization.
8126 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
8127 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
8128 New variables.
8129 (isearch-forward, isearch-forward-regexp): Doc fix.
8130 (isearch-toggle-lax-whitespace): New command.
8131 (search-forward-lax-whitespace, search-backward-lax-whitespace)
8132 (re-search-forward-lax-whitespace)
8133 (re-search-backward-lax-whitespace): New functions.
8134 (isearch-whitespace-regexp): Remove function.
8135 (isearch-query-replace): Let-bind replace-search-function and
8136 replace-re-search-function.
8137 (isearch-occur): Let-bind search-spaces-regexp according to the
8138 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
8139 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
8140 condition for C-q SPC.
8141 (isearch-search-fun-default): Use new functions mentioned above.
8142 (isearch-search-forward, isearch-search-backward): Remove functions.
8143 (isearch-search): Don't let-bind search-spaces-regexp.
8144 (isearch-lazy-highlight-space-regexp): Remove variable.
8145 (isearch-lazy-highlight-lax-whitespace)
8146 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
8147 (isearch-lazy-highlight-new-loop): Use them.
8148 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
8149
8150 2012-09-02 Chong Yidong <cyd@gnu.org>
8151
8152 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
8153
8154 2012-09-02 Glenn Morris <rgm@gnu.org>
8155
8156 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
8157
8158 2012-09-01 Glenn Morris <rgm@gnu.org>
8159
8160 * term.el: Tidy up menu definitions.
8161 (term-mode-map): Use easymenu for In/Out, Complete menus.
8162 (term-pager-break-map): Initialize in the defvar.
8163 (term-terminal-menu, term-signals-menu): Define with easymenu.
8164 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
8165 (term-pager-menu): New, extracted from term-process-pager.
8166 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
8167 (term-update-mode-line): Propertize line/char and page items.
8168 (term-process-pager): Move keymap initialization elsewhere.
8169
8170 2012-09-01 Martin Rudalics <rudalics@gmx.at>
8171
8172 * window.el (switch-to-prev-buffer): Handle additional values of
8173 BURY-OR-KILL argument. Don't switch in minibuffer window.
8174 (switch-to-next-buffer): Don't switch in minibuffer window.
8175 (quit-restore-window): New function based on quit-window.
8176 Handle additional values of former KILL argument.
8177 (quit-window): Call quit-restore-window with appropriate
8178 interpretation of KILL argument.
8179 (display-buffer-below-selected): New buffer display action
8180 function.
8181
8182 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
8183
8184 * minibuffer.el (completion-at-point-functions): Complete docstring
8185 (bug#12254).
8186
8187 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
8188
8189 Better seed support for (random).
8190 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
8191 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
8192 * play/mpuz.el, play/tetris.el, play/zone.el:
8193 * calc/calc-comb.el (math-init-random-base):
8194 * play/blackbox.el (bb-init-board):
8195 * play/life.el (life):
8196 * server.el (server-use-tcp):
8197 * type-break.el (type-break):
8198 Remove unnecessary call to (random t).
8199 * net/sasl.el (sasl-unique-id-function):
8200 Change (random t) to (random), now that the latter is more random.
8201 * play/life.el (life-initialized): Remove no-longer-needed var.
8202
8203 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
8204
8205 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
8206 Consider frame's buffer predicate when choosing the buffer.
8207 (Bug#12081)
8208
8209 2012-08-30 Richard Stallman <rms@gnu.org>
8210
8211 * simple.el (special-mode-map): Delete binding for `z'.
8212
8213 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
8214
8215 * progmodes/compile.el (compilation-always-kill): Doc fix.
8216
8217 2012-08-30 Chong Yidong <cyd@gnu.org>
8218
8219 * window.el (display-buffer-reuse-frames): Make the obsolescence
8220 message more informative.
8221
8222 2012-08-30 Glenn Morris <rgm@gnu.org>
8223
8224 * paren.el (show-paren-delay):
8225 Add a :set function. Doc fix. (Bug#12297)
8226
8227 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
8228
8229 * progmodes/compile.el (compilation-always-kill): New var.
8230 (compilation-start): Use it.
8231
8232 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
8233
8234 * simple.el (read-only-mode): Move from files.el for bootstrapping.
8235 * files.el (read-only-mode): Move to simple.el.
8236
8237 * files.el (read-only-mode): New minor mode.
8238 (toggle-read-only): Use it and mark obsolete.
8239 (find-file--read-only):
8240 * vc/vc.el (vc-next-action, vc-checkout):
8241 * vc/vc-cvs.el (vc-cvs-checkout):
8242 * obsolete/vc-mcvs.el (vc-mcvs-update):
8243 * ffap.el (ffap--toggle-read-only): Update callers.
8244
8245 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
8246
8247 * eshell/esh-ext.el (eshell-external-command): Do not examine
8248 remote shell scripts.
8249 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
8250
8251 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
8252 "/usr/local/sbin".
8253
8254 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
8255
8256 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
8257
8258 2012-08-28 Leo Liu <sdl.web@gmail.com>
8259
8260 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
8261 completion-at-point. (Bug#12220)
8262
8263 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
8264
8265 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
8266
8267 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
8268
8269 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
8270 be buffer-local; add delete-trailing-whitespace (bug#12259).
8271
8272 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
8273
8274 * progmodes/hideif.el (hif-compress-define-list):
8275 Fix typo. (Bug#11951)
8276
8277 2012-08-28 Dan Nicolaescu <dann@gnu.org>
8278
8279 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
8280 buffer local setting.
8281
8282 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
8283 rcirc-encode-coding-system.
8284
8285 2012-08-28 Leo Liu <sdl.web@gmail.com>
8286
8287 * net/rcirc.el (rcirc-split-message): New function.
8288 (rcirc-send-message): Use it. (Bug#12051)
8289
8290 2012-08-28 Juri Linkov <juri@jurta.org>
8291
8292 * info.el (Info-fontify-node): Hide empty lines at the end of
8293 the node. (Bug#12272)
8294
8295 2012-08-27 Drew Adams <drew.adams@oracle.com>
8296
8297 * dired.el (dired-pop-to-buffer): Make window start at beginning
8298 of buffer (Bug#12281).
8299
8300 2012-08-26 Chong Yidong <cyd@gnu.org>
8301
8302 * window.el (special-display-regexps, special-display-frame-alist)
8303 (special-display-buffer-names, special-display-function)
8304 (display-buffer-reuse-frames): Mark as obsolete.
8305
8306 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
8307
8308 * help.el (help-print-return-message): Don't treat
8309 display-buffer-reuse-frames specially.
8310
8311 2012-08-26 Chong Yidong <cyd@gnu.org>
8312
8313 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
8314 New variable, replacing gdb-frame-parameters.
8315 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
8316 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
8317 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
8318 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
8319 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
8320 the functions directly with gdb-display-buffer-other-frame-action.
8321 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
8322 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
8323 (gdb-display-stack-buffer, gdb-display-locals-buffer)
8324 (gdb-display-registers-buffer): Define directly.
8325 (def-gdb-display-buffer): Macro deleted.
8326 (gdb-display-buffer): Remove second and third args, callers don't
8327 use them. Defer to the default display-buffer behavior, apart
8328 from making windows dedicated.
8329 (gdb-setup-windows): Don't call display-buffer unnecessarily.
8330
8331 * progmodes/gud.el (gud-display-line): Just use display-buffer.
8332
8333 * window.el (display-buffer-pop-up-frame): Handle a
8334 pop-up-frame-parameters alist entry.
8335 (display-buffer): Document it.
8336
8337 2012-08-26 Chong Yidong <cyd@gnu.org>
8338
8339 * isearch.el (search-whitespace-regexp): Make string and nil
8340 values apply to both ordinary and regexp search. Allow a cons
8341 cell value to distinguish between the two.
8342 (isearch-whitespace-regexp, isearch-search-forward)
8343 (isearch-search-backward): New functions.
8344 (isearch-occur, isearch-search-fun-default, isearch-search)
8345 (isearch-lazy-highlight-new-loop): Use them.
8346 (isearch-forward, isearch-forward-regexp): Doc fix.
8347
8348 2012-08-26 Chong Yidong <cyd@gnu.org>
8349
8350 * faces.el (help-argument-name): Always inherit from italic
8351 (Bug#12213).
8352
8353 2012-08-25 Martin Rudalics <rudalics@gmx.at>
8354
8355 * window.el (window--even-window-heights): Even heights when
8356 WINDOW and the selected window form a vertical combination.
8357 (display-buffer-use-some-window): Provide that window used gets
8358 sized back by quit-window. (Bug#11880) and (Bug#12091)
8359
8360 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
8361
8362 Fix file time stamp problem with bzr and CVS (Bug#12001).
8363 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
8364 in the file's time stamp, since the version control system loses
8365 that information.
8366
8367 2012-08-22 Juri Linkov <juri@jurta.org>
8368
8369 * info.el (Info-fontify-node): Hide the suffix of the
8370 Info file name in the header line. (Bug#12187)
8371
8372 2012-08-22 Glenn Morris <rgm@gnu.org>
8373
8374 * calendar/cal-tex.el (cal-tex-weekly-common):
8375 Restore leading blank page.
8376
8377 2012-08-22 Le Wang <l26wang@gmail.com>
8378
8379 * misc.el (forward-to-word, backward-to-word): Activate or extend
8380 the region under `shift-select-mode'. (Bug#12231)
8381
8382 2012-08-22 Bastien Guerry <bzg@gnu.org>
8383
8384 * progmodes/executable.el (executable-prefix): Set to "#!" instead
8385 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
8386 gives details on why the space is never needed.
8387
8388 2012-08-22 Martin Rudalics <rudalics@gmx.at>
8389
8390 * window.el (walk-window-tree, window-with-parameter):
8391 New optional argument MINIBUF to control whether these functions
8392 should run on the minibuffer window.
8393 (window-at-side-list): Don't operate on minibuffer window.
8394 (window-in-direction): Simplify and rewrite doc-string.
8395 (window--size-ignore): Rename to window--size-ignore-p.
8396 Update callers.
8397 (display-buffer-in-atom-window, window--major-non-side-window)
8398 (window--major-side-window, display-buffer-in-major-side-window)
8399 (delete-side-window, display-buffer-in-side-window):
8400 New functions.
8401 (window--side-check, window-deletable-p, delete-window)
8402 (delete-other-windows, split-window): Handle side windows and
8403 atomic windows appropriately.
8404 (window--display-buffer): Call display-buffer-record-window also
8405 when the window buffer did not change.
8406
8407 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
8408
8409 * help-fns.el (help-fns--key-bindings):
8410 Abbreviate non-symbol remap targets. (Bug#12174)
8411
8412 2012-08-22 Martin Rudalics <rudalics@gmx.at>
8413
8414 * dired.el (dired-mark-remembered): Don't clobber point.
8415 (Bug#11795)
8416
8417 2012-08-22 Glenn Morris <rgm@gnu.org>
8418
8419 * progmodes/bug-reference.el (bug-reference): New custom group.
8420 (bug-reference-bug-regexp): Make it a defcustom.
8421
8422 2012-08-22 Daiki Ueno <ueno@unixuser.org>
8423
8424 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
8425 (js-paren-indent-offset, js-square-indent-offset)
8426 (js-curly-indent-offset): Add :safe (Bug#12257).
8427
8428 2012-08-22 Edward O'Connor <hober0@gmail.com>
8429
8430 * json.el (json-key-format): Add error properties.
8431 (json-encode-key): New function.
8432 (json-encode-hash-table, json-encode-alist, json-encode-plist):
8433 Use json-encode-key.
8434
8435 2012-08-22 Glenn Morris <rgm@gnu.org>
8436
8437 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
8438 (cal-tex-leftday, cal-tex-rightday): Remove functions.
8439 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
8440 Update for above change.
8441
8442 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
8443
8444 * cus-face.el (custom-face-attributes): Fix customize type for the
8445 :underline attribute. (Bug#11805)
8446
8447 2012-08-21 Martin Rudalics <rudalics@gmx.at>
8448
8449 * window.el (window-point-1, set-window-point-1): Remove.
8450 (window-in-direction, record-window-buffer)
8451 (set-window-buffer-start-and-point, split-window-below)
8452 (window--state-get-1, display-buffer-record-window):
8453 Replace calls to window-point-1 and set-window-point-1 by calls to
8454 window-point and set-window-point respectively.
8455
8456 2012-08-21 Glenn Morris <rgm@gnu.org>
8457
8458 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
8459 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
8460 Use it.
8461
8462 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
8463 (cal-tex-shortday): New function.
8464 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
8465 (cal-tex-cursor-filofax-daily): Use the above.
8466
8467 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
8468 New functions.
8469 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
8470 (cal-tex-cursor-filofax-week): Use them.
8471
8472 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
8473 New constants.
8474 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
8475 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
8476
8477 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
8478 (cal-tex-end-document): Don't rely on buffer name.
8479
8480 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
8481 Use cal-tex-vspace.
8482 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
8483 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
8484 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
8485 Use cal-tex-arg.
8486
8487 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
8488 (cal-tex-cursor-week, cal-tex-cursor-week2)
8489 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
8490 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
8491 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
8492 (cal-tex-insert-preamble, cal-tex-b-document)
8493 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
8494 Improve cal-tex-cmd usage.
8495
8496 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
8497 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
8498 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
8499 (cal-tex-weekly-paper): New function.
8500 (cal-tex-cursor-week, cal-tex-cursor-week2)
8501 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
8502 (cal-tex-cursor-day): Use it.
8503
8504 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
8505 (cal-tex-cursor-filofax-week): Remove leading blank page.
8506
8507 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
8508 Add autoload cookie. For now at least, don't use color, since
8509 no other cal-tex function does.
8510
8511 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
8512 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
8513 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
8514
8515 2012-08-21 Juri Linkov <juri@jurta.org>
8516
8517 * info.el (Info-file-attributes): New variable.
8518 (info-insert-file-contents): Add file attributes to
8519 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
8520 `Info-toc-nodes' when previous modtime of the Info file is less
8521 than new modtime.
8522 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
8523 of info.el. (Bug#12230)
8524
8525 2012-08-20 Glenn Morris <rgm@gnu.org>
8526
8527 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
8528 * calendar/holidays.el (calendar-holiday-list):
8529 Report errors with display-warning rather than beep'n'sleep.
8530
8531 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
8532
8533 * net/tramp.el (tramp-accept-process-output): Accept only output
8534 from PROC. Otherwise, process filters and sentinels might be
8535 confused. (Bug#12145)
8536
8537 2012-08-20 Chong Yidong <cyd@gnu.org>
8538
8539 * descr-text.el (describe-text-properties-1): Use overlays-in to
8540 report on empty overlays (Bug#3322).
8541
8542 2012-08-20 Glenn Morris <rgm@gnu.org>
8543
8544 * mail/rmailout.el (rmail-output-read-file-name):
8545 Trap and report errors in rmail-output-file-alist elements.
8546
8547 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
8548 since most non-font-lock faces are not also variables).
8549
8550 2012-08-20 Edward Reingold <reingold@iit.edu>
8551
8552 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
8553 New function. (Bug12160)
8554
8555 2012-08-19 Glenn Morris <rgm@gnu.org>
8556
8557 * mail/rmailout.el (rmail-output-read-file-name):
8558 Fix previous change (when the alist is nil or does not match).
8559
8560 2012-08-19 Chong Yidong <cyd@gnu.org>
8561
8562 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
8563 (Bug#12228).
8564
8565 2012-08-18 Chong Yidong <cyd@gnu.org>
8566
8567 * simple.el (yank-handled-properties): New defcustom.
8568 (yank-excluded-properties): Add font-lock-face and category.
8569 (yank): Doc fix.
8570
8571 * subr.el (remove-yank-excluded-properties):
8572 Obey yank-handled-properties. The special handling of font-lock-face
8573 and category is now done this way, instead of being hard-coded.
8574 (insert-for-yank-1): Remove font-lock-face handling.
8575 (yank-handle-font-lock-face-property)
8576 (yank-handle-category-property): New function.
8577
8578 2012-08-17 Glenn Morris <rgm@gnu.org>
8579
8580 * mail/rmailout.el (rmail-output-read-file-name):
8581 Check rmail-output-file-alist against the full message body
8582 in the correct rmail buffer. (Bug#12214)
8583
8584 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
8585
8586 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
8587 Eliminate superfluous prompt. (Bug#12203)
8588
8589 2012-08-17 Chong Yidong <cyd@gnu.org>
8590
8591 * mouse.el (mouse-appearance-menu): If x-select-font returns a
8592 font spec, set the font directly (Bug#3228).
8593
8594 2012-08-17 Martin Rudalics <rudalics@gmx.at>
8595
8596 * window.el (delete-window): Fix last fix.
8597
8598 2012-08-16 Martin Rudalics <rudalics@gmx.at>
8599
8600 * window.el (window-valid-p): Move to window.c.
8601 (window-child, window-child-count, window-last-child)
8602 (window-normalize-window, window-combined-p)
8603 (window-combinations, window-atom-root, window-min-size)
8604 (window-sizable, window-sizable-p, window-size-fixed-p)
8605 (window-min-delta, window-max-delta, window--resizable)
8606 (window--resizable-p, window-resizable, window-total-size)
8607 (window-full-height-p, window-full-width-p, window-body-size)
8608 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
8609 (minimize-window, window-deletable-p, delete-window)
8610 (delete-other-windows, set-window-buffer-start-and-point)
8611 (next-buffer, previous-buffer, split-window, balance-windows-2)
8612 (set-window-text-height, window-buffer-height)
8613 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
8614 (truncated-partial-width-window-p): Minor code adjustments.
8615 In doc-strings state whether the argument window has to denote a
8616 live, valid or any window.
8617
8618 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
8619
8620 * progmodes/subword.el (subword-forward-function)
8621 (subword-backward-function, subword-forward-regexp)
8622 (subword-backward-regexp): New variables.
8623 (subword-forward, subword-forward-internal, subword-backward-internal):
8624 Use new variables, eg so that different "word" definitions
8625 can be easily used. (Bug#11411)
8626
8627 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
8628
8629 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
8630 for composite selectors.
8631 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
8632 operation just because we can't find a previous revision.
8633
8634 2012-08-15 Chong Yidong <cyd@gnu.org>
8635
8636 * frame.el (set-frame-font): Accept font objects.
8637
8638 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
8639
8640 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
8641
8642 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
8643
8644 * man.el (Man-overstrike-face, Man-underline-face)
8645 (Man-reverse-face): Remove variables.
8646 (Man-overstrike, Man-underline, Man-reverse): New faces.
8647 (Man-fontify-manpage): Use them instead of the variables.
8648 (Man-cleanup-manpage): Comment change.
8649 (Man-ansi-color-map): New variable.
8650 (Man-fontify-manpage): Use it.
8651 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
8652
8653 Implement ANSI SGR parameters 22-27 (bug#12146).
8654 * ansi-color.el (ansi-colors): Doc fix.
8655 (ansi-color-context, ansi-color-context-region): Doc fix.
8656 (ansi-color--find-face): New function.
8657 (ansi-color-apply, ansi-color-apply-on-region): Use it.
8658 Rename the local variable `face' to `codes' since it is now a list of
8659 ansi codes. Doc fix.
8660 (ansi-color-get-face): Remove.
8661 (ansi-color-parse-sequence): New function, derived from
8662 ansi-color-get-face.
8663 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
8664 codes 22-27.
8665
8666 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
8667
8668 * subr.el (read-passwd): Allow use from a minibuffer.
8669
8670 2012-08-14 Eli Zaretskii <eliz@gnu.org>
8671
8672 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
8673 inside comments and strings as identifiers.
8674
8675 * progmodes/gud.el (gud-tooltip-print-command): Quote the
8676 expression to evaluate. This allows to evaluate expressions with
8677 embedded whitespace.
8678 (gud-tooltip-tips): Add a blank before the newline in the
8679 message-box text, for the benefit of message-box emulation on
8680 MS-Windows.
8681
8682 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
8683 messages from GDB, pop them up in a tooltip to give feedback to
8684 user.
8685 (gdb-tooltip-print-1): Quote the expression to evaluate.
8686 This allows to evaluate expressions with embedded whitespace.
8687 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
8688 if the TTY name is nil or empty (which happens when communicating
8689 with the inferior via pipes, e.g. on MS-Windows).
8690 (gdb-internals): If GDB sends a "&\n" empty debugging message,
8691 don't send that to the GUD buffer.
8692
8693 2012-08-14 Glenn Morris <rgm@gnu.org>
8694
8695 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
8696 Optimize away setq-default with no args, as for setq. (Bug#12195)
8697
8698 2012-08-14 Chong Yidong <cyd@gnu.org>
8699
8700 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
8701
8702 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
8703 (Bug#12085).
8704
8705 2012-08-14 Glenn Morris <rgm@gnu.org>
8706
8707 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
8708
8709 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
8710
8711 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
8712 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
8713 Use cached shell name.
8714
8715 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
8716
8717 * progmodes/python.el (python-shell-send-string):
8718 (python-shell-send-setup-code): Do not use `format' with `message'.
8719
8720 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
8721
8722 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
8723 (ruby-percent-literal-beg-re): New constant.
8724 (ruby-syntax-general-delimiters-goto-beg): Rename to
8725 `ruby-syntax-enclosing-percent-literal', improve literal type check.
8726 (ruby-syntax-propertize-general-delimiters): Rename to
8727 `ruby-syntax-propertize-percent-literal', it's a shorter and more
8728 popular term. Adjust comments everywhere.
8729 (ruby-syntax-propertize-percent-literal): Only propertize when not
8730 inside a simple string or comment. When the literal is unclosed,
8731 leave the text after it unpropertized.
8732 (ruby-syntax-methods-before-regexp): New constant.
8733 (ruby-syntax-propertize-function): Use it to recognize regexps.
8734 Don't look at the text after regexp, just use the whitelist.
8735
8736 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
8737
8738 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
8739 non-nil always load the compiled file if it exists. (Bug#12197)
8740
8741 2012-08-14 Chong Yidong <cyd@gnu.org>
8742
8743 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
8744 (hi-lock-set-pattern): When deciding whether to use font lock or
8745 overlays, look at font-lock-mode instead of font-lock-fontified
8746 (Bug#12168).
8747 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
8748 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
8749
8750 2012-08-14 Daiki Ueno <ueno@unixuser.org>
8751
8752 * subr.el (internal--after-with-selected-window): Fix typo
8753 (Bug#12193).
8754
8755 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
8756
8757 Use `completion-table-dynamic' for completion functions.
8758 * progmodes/python.el
8759 (python-shell-completion--do-completion-at-point)
8760 (python-shell-completion--get-completions):
8761 Remove functions.
8762 (python-shell-completion-complete-at-point): New function.
8763 (python-completion-complete-at-point): Use it.
8764
8765 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
8766
8767 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
8768 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
8769
8770 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
8771
8772 * subr.el (function-get): Refine `autoload' arg so it can also
8773 autoload functions for gv.el (bug#12191).
8774 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
8775 autoloads macros.
8776
8777 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
8778 Prefer pcase-let over destructuring-bind.
8779 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
8780 Also, remove whitespace as we go, rather than after accumulating the
8781 various places.
8782
8783 * subr.el (internal--before-with-selected-window)
8784 (internal--after-with-selected-window): Fix typo seleted->selected.
8785 (with-selected-window): Adjust callers.
8786 Reported by Dmitry Gutov <dgutov@yandex.ru>.
8787
8788 2012-08-13 Bastien Guerry <bzg@gnu.org>
8789
8790 * window.el (special-display-popup-frame): Minor docstring
8791 enhancement. (Bug#12172)
8792
8793 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
8794
8795 * tar-mode.el (tar-header-data-end): Only ignore size for files of
8796 type 1-6.
8797 (tar-header-block-summarize, tar-get-descriptor): Handle pax
8798 extended headers.
8799
8800 * files.el (hack-local-variables-filter): Remove useless eval.
8801
8802 2012-08-13 Martin Rudalics <rudalics@gmx.at>
8803
8804 * subr.el (with-selected-window): Fix last change.
8805
8806 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
8807
8808 * subr.el (internal--before-with-seleted-window)
8809 (internal--after-with-seleted-window): New functions.
8810 (with-selected-window): Use them, to replace dependency on
8811 tty-top-frame.
8812
8813 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
8814
8815 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
8816 binding for `newline'.
8817 (ruby-move-to-block): When moving backward, stop at block opening,
8818 not indentation.
8819 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
8820 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
8821 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
8822 `ruby-toggle-block'.
8823
8824 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
8825
8826 * ibuffer.el (ibuffer-do-toggle-read-only):
8827 * dired.el (dired-toggle-read-only):
8828 * buff-menu.el (Buffer-menu-toggle-read-only):
8829 * bindings.el (mode-line-toggle-read-only):
8830 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
8831
8832 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
8833
8834 * descr-text.el (describe-char): Put the overlays over the
8835 "displayed as" character.
8836
8837 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
8838
8839 * calc/calc-units.el (math-default-units-table): Give an
8840 initial value.
8841 (math-put-default-units): Add options to put composite units and
8842 unit systems in the default units table.
8843 (calc-convert-units): Send composite units to
8844 `math-put-default-units' when appropriate.
8845
8846 2012-08-11 Glenn Morris <rgm@gnu.org>
8847
8848 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
8849
8850 * tutorial.el (help-with-tutorial):
8851 * emacs-lisp/copyright.el (copyright-update-directory):
8852 * emacs-lisp/autoload.el (autoload-find-generated-file)
8853 (autoload-find-file): Disable local eval: (for insurance).
8854
8855 * files.el (hack-local-variables-filter): If an eval: form is not
8856 known to be safe, and enable-local-variables is :safe, then ignore
8857 the form totally, as is done for non-eval forms. (Bug#12155)
8858 This is CVE-2012-3479.
8859
8860 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
8861
8862 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
8863 (rx-form): Simplify.
8864
8865 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
8866
8867 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
8868 ?, _, and : are symbol constituents, ! is not (but kinda should be).
8869 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
8870 (ruby-syntax-propertize-function): Adjust for changes in
8871 `ruby-syntax-propertize-heredoc'.
8872
8873 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
8874
8875 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
8876 binding (use `M-;' instead).
8877 (ruby-singleton-class-p): New function.
8878 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
8879
8880 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
8881
8882 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
8883
8884 2012-08-10 Chong Yidong <cyd@gnu.org>
8885
8886 * progmodes/python.el (python-shell-get-process-name): Don't mess
8887 with same-window-buffer-names.
8888
8889 * eshell/eshell.el (eshell-add-to-window-buffer-names)
8890 (eshell-remove-from-window-buffer-names): Make obsolete.
8891 (eshell-buffer-name, eshell-unload-hook): Don't use them.
8892 (eshell): Just use pop-to-buffer-same-window instead.
8893
8894 2012-08-10 Chong Yidong <cyd@gnu.org>
8895
8896 * bindings.el: Bind M-= back to count-words-region.
8897
8898 * simple.el (count-words-region): Accept a prefix arg for acting
8899 on the entire buffer.
8900 (count-words--buffer-message): New helper function.
8901
8902 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
8903
8904 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
8905 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
8906 (event-start, event-end): Use posn-at-point to return a more
8907 informative posn.
8908 (posnp): New function.
8909 * mouse.el (popup-menu-normalize-position): Use it.
8910
8911 2012-08-10 Masatake YAMATO <yamato@redhat.com>
8912
8913 * mouse.el (popup-menu-normalize-position): New function.
8914 (popup-menu): Use `popup-menu-normalize-position' to normalize
8915 the form for POSITION argument.
8916
8917 * term/x-win.el (x-menu-bar-open):
8918 Use the value returend from (posn-at-point) as position
8919 passed to `popup-menu'.
8920
8921 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
8922
8923 * calc/calccomp.el (math-compose-expr): Add extra argument
8924 indicating that parentheses should be put around products in
8925 denominators. Give multiplication precedence over division during
8926 composition.
8927
8928 2012-08-09 Chong Yidong <cyd@gnu.org>
8929
8930 * man.el (Man-switches, Man-sed-command, Man-awk-command)
8931 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
8932 (Man-untabify-command, manual-program): Convert to defcustom
8933 (Bug#10429).
8934
8935 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
8936
8937 * descr-text.el (describe-char): Don't insert extra newlines
8938 (Bug#10127).
8939
8940 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
8941 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
8942
8943 * align.el (align-region): Delete temporary markers (Bug#10047).
8944 Plus some code cleanups.
8945
8946 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
8947
8948 * progmodes/python.el (python-pdbtrack-tracked-buffer)
8949 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
8950 (python-shell-internal-last-output): Use make-local-variable
8951 instead of make-variable-buffer-local.
8952
8953 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
8954
8955 * progmodes/python.el: Enhancements to forward-sexp.
8956 (python-nav-forward-sexp): Rename from
8957 python-nav-forward-sexp-function.
8958 (python-nav--forward-sexp, python-nav--backward-sexp):
8959 New functions.
8960
8961 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
8962
8963 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
8964 modes and simplification modes.
8965
8966 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
8967
8968 * delsel.el (delete-selection-pre-hook): Don't propagate the
8969 file-supersession signals (bug#12161).
8970
8971 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8972
8973 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
8974 (cl-map-extents): Add compatibility aliases (bug#12135).
8975
8976 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
8977
8978 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
8979 tests by `ignore-error'.
8980 (tramp-find-shell): Open also a new shell, when cache is already
8981 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
8982
8983 2012-08-08 Juri Linkov <juri@jurta.org>
8984
8985 * bookmark.el: Add `defaults' property to the bookmark record.
8986 (bookmark-current-buffer): Doc fix.
8987 (bookmark-make-record): Add `defaults' property with default values
8988 to the bookmark record.
8989 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
8990 with `bookmark-insert-current-bookmark'.
8991 (bookmark-set): Get `defaults' property from the bookmark record
8992 and use it in `read-from-minibuffer'.
8993 (bookmark-insert-current-bookmark): Remove function.
8994
8995 * info.el (Info-bookmark-make-record): Add `defaults' property
8996 with values of canonical Info node name, the current Info file
8997 name and the current Info node name. (Bug#12107)
8998
8999 2012-08-08 Juri Linkov <juri@jurta.org>
9000
9001 * files.el (basic-save-buffer): Use `buffer-name' as the default
9002 of `read-file-name' when buffer is not visiting a file (bug#12128).
9003
9004 2012-08-08 Juri Linkov <juri@jurta.org>
9005
9006 * info.el (Info-isearch-search): Doc fix.
9007 (Info-search): Change search-failed message from "initial node" to
9008 "end of node" (bug#12078).
9009 (Info-isearch-search): Change `isearch-string-state' to
9010 `isearch--state-string'.
9011
9012 2012-08-08 Glenn Morris <rgm@gnu.org>
9013
9014 * language/persian.el: Remove file.
9015 * language/misc-lang.el: Move unique part of persian.el here.
9016 * loadup.el: Remove language/persian.
9017
9018 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
9019
9020 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
9021
9022 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
9023
9024 * progmodes/python.el: Fix defsubst warning.
9025 (python-syntax-context) Rename from python-info-ppss-context.
9026 (python-syntax-context-type): Rename from
9027 python-info-ppss-context-type.
9028 (python-syntax-comment-or-string-p): Rename from
9029 python-info-ppss-comment-or-string-p.
9030
9031 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
9032
9033 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
9034
9035 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
9036
9037 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
9038 a defcustom that is quoted with backquote.
9039
9040 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
9041 Fix handling of interactive spec when the body uses return.
9042 (math-do-arg-check, math-define-function-body): Use backquote forms.
9043 * calc/calc-ext.el (math-defcache): Likewise.
9044 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
9045 * allout.el (allout-new-exposure): Likewise.
9046 * calc/calcalg2.el (math-tracing-integral): Likewise.
9047 * info.el (Info-last-menu-item): Likewise.
9048 * emulation/vip.el (vip-loop): Likewise.
9049 * textmodes/artist.el (artist-funcall): Likewise.
9050 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
9051 Construct menu-item directly.
9052
9053 * progmodes/autoconf.el (font-lock-syntactic-keywords):
9054 Don't declare.
9055
9056 2012-08-07 Chong Yidong <cyd@gnu.org>
9057
9058 * simple.el (deactivate-mark): Preserve text properties when
9059 saving the primary selection (Bug#8384).
9060
9061 2012-08-07 Kevin Ryde <user42@zip.com.au>
9062
9063 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
9064 (woman-parse-numeric-value): On a bad .IP line, issue a warning
9065 and continue processing (Bug#12110).
9066
9067 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
9068
9069 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
9070 syntax-propertize-function (bug#10095).
9071
9072 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
9073
9074 * help-fns.el (help-fns--key-bindings, help-fns--signature)
9075 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
9076 describe-function-1.
9077 (describe-function-1): Use them. Move compiler macro after sig.
9078 (help-fns--compiler-macro): Use function-get. Assume we're already in
9079 standard-output. Adjust layout to new call order.
9080
9081 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
9082 re-binding a symbol that has a symbol-macro (bug#12119).
9083
9084 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
9085
9086 * language/persian.el: New file. (Bug#11812)
9087 * loadup.el: Add language/persian.el.
9088
9089 2012-08-06 Chong Yidong <cyd@gnu.org>
9090
9091 * window.el (window--maybe-raise-frame): New function.
9092 (window--display-buffer): Split off from here.
9093 (display-buffer-reuse-window, display-buffer-pop-up-frame)
9094 (display-buffer-pop-up-window, display-buffer-use-some-window):
9095 Obey an inhibit-switch-frame action alist entry.
9096 (display-buffer): Update doc.
9097
9098 * replace.el (occur-after-change-function): Avoid losing focus by
9099 using the inhibit-switch-frame display parameter (Bug#12139).
9100
9101 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
9102
9103 Make internal shell process buffer names start with space.
9104 * progmodes/python.el (python-shell-make-comint): Add optional
9105 argument INTERNAL.
9106 (run-python-internal): Use it.
9107 (python-shell-internal-get-or-create-process): Check for new
9108 internal buffer names.
9109
9110 2012-08-06 Glenn Morris <rgm@gnu.org>
9111
9112 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
9113 Do less getting and setting of environment variables.
9114
9115 2012-08-05 Chong Yidong <cyd@gnu.org>
9116
9117 * proced.el (proced): Add substitution string to docstring to
9118 trigger autoloading of the proced library on C-h f (Bug#1768).
9119
9120 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
9121 Don't show defvars which have no second argument (Bug#8638).
9122
9123 * imenu.el (imenu-generic-expression): Move documentation here
9124 from imenu--generic-function.
9125 (imenu--generic-function): Refer to imenu-generic-expression.
9126
9127 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
9128
9129 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
9130 indentation declaration.
9131 (viper-loop): Add indentation declaration (Bug#7025).
9132
9133 2012-08-05 Chong Yidong <cyd@gnu.org>
9134
9135 * help-fns.el (describe-variable): Add hyperlink for
9136 directory-local variables files. Improve buffer-local and
9137 permanent-local reporting; suggested by MON KEY (Bug#6644).
9138
9139 * help-mode.el (help-dir-local-var-def): New button type.
9140
9141 * files.el (kill-buffer-hook): Provide a defvar.
9142
9143 2012-08-05 Glenn Morris <rgm@gnu.org>
9144
9145 * eshell/esh-ext.el (eshell/addpath):
9146 Also update eshell-path-env. (Bug#12013)
9147
9148 2012-08-05 Chong Yidong <cyd@gnu.org>
9149
9150 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
9151
9152 * fringe.el (fringe-styles): Add docstring.
9153 (fringe--check-mode): New function.
9154 (set-fringe-mode, set-fringe-style): Use it.
9155 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
9156
9157 * files.el (set-auto-mode): Fix invalid setq call.
9158
9159 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
9160
9161 * isearch.el: Misc simplification; use defstruct.
9162 (isearch-mode-map): Dense maps now work like sparse ones.
9163 (isearch--state): New defstruct.
9164 (isearch-string-state, isearch-message-state, isearch-point-state)
9165 (isearch-success-state, isearch-forward-state)
9166 (isearch-other-end-state, isearch-word-state, isearch-error-state)
9167 (isearch-wrapped-state, isearch-barrier-state)
9168 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
9169 replaced by defstruct's accessors.
9170 (isearch--set-state): Rename from isearch-top-state and change
9171 calling convention.
9172 (isearch-push-state): Use new isearch--get-state.
9173 (isearch-toggle-word): Disable regexp when enabling word.
9174 (isearch-message-prefix): Remove unused arg _c-q-hack.
9175 (isearch-message-suffix): Remove unused arg _ellipsis.
9176
9177 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
9178
9179 * simple.el (list-processes--refresh): For a server use :host or
9180 :local as the address.
9181 (list-processes): Doc fix.
9182
9183 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
9184
9185 * lisp/mpc.el: Support password in host argument.
9186 (mpc--proc-connect): Parse and use new password element.
9187 Set mpc-proc variable instead of returning process.
9188 (mpc-proc): Adjust accordingly.
9189
9190 2012-08-03 Eli Zaretskii <eliz@gnu.org>
9191
9192 * whitespace.el (whitespace-display-mappings): Use Unicode
9193 codepoints, instead of emacs-mule codepoints. See
9194 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
9195 for the details.
9196
9197 * files.el (file-truename): Don't skip symlink-chasing part on
9198 windows-nt. Incorporate the resolution of 8+3 short aliases on
9199 Windows into the loop that recursively chases symlinks.
9200 Compare directory and its parent case-insensitively on MS-Windows and
9201 MS-DOS.
9202
9203 2012-08-03 Chong Yidong <cyd@gnu.org>
9204
9205 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
9206
9207 * sort.el (sort-regexp-fields): Doc fix.
9208
9209 2012-08-03 Tassilo Horn <tsdh@gnu.org>
9210
9211 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
9212 labels regex position point at the expected place.
9213
9214 2012-08-03 MON KEY <monkey@sandpframing.com>
9215
9216 * net/imap.el (imap-interactive-login, imap-authenticate)
9217 (imap-mailbox-lsub, imap-mailbox-list)
9218 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
9219 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
9220 (imap-parse-response): Doc fix.
9221
9222 2012-08-03 João Távora <joaotavora@gmail.com>
9223
9224 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
9225 if sexp scanning does not move point (Bug#5734).
9226
9227 2012-08-02 Tassilo Horn <tsdh@gnu.org>
9228
9229 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
9230 Add listings, minted, and ctable packages.
9231 (reftex-label-alist-builtin): Move listings, minted, and ctable
9232 entries before LaTeX.
9233 (reftex-label-alist): Docfix.
9234
9235 2012-08-02 Bastien Guerry <bzg@gnu.org>
9236
9237 * replace.el (occur): Fix docstring (bug#12122).
9238
9239 2012-08-02 Glenn Morris <rgm@gnu.org>
9240
9241 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
9242
9243 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
9244
9245 Obsolete alias inactivate-current-input-method-function (Bug#10150).
9246 * international/mule-cmds.el: Create
9247 inactivate-current-input-method-function as an obsolete alias for
9248 deactivate-current-input-method-function. See Katsumi Yamaoka in
9249 <http://bugs.gnu.org/10150#46>.
9250
9251 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
9252
9253 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
9254 of nested `if's.
9255
9256 2012-08-01 Glenn Morris <rgm@gnu.org>
9257
9258 * progmodes/autoconf.el (autoconf-definition-regexp):
9259 Add AH_TEMPLATE, adjust submatch numbering.
9260 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
9261 (autoconf-current-defun-function): Update for above change.
9262 (autoconf-current-defun-function): First skip to end of current word.
9263
9264 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
9265
9266 * calendar/cal-html.el (cal-html-insert-agenda-days):
9267 Fix typo. (Bug#12018)
9268
9269 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
9270
9271 Shell processes: enhancements to startup and CEDET compatibility.
9272 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
9273 (python-shell-make-comint): accept-process-output at startup.
9274 (run-python-internal): Set inferior-python-mode-hook to nil.
9275 (python-shell-internal-get-or-create-process): call sit-for.
9276 (python-preoutput-result): Add obsolete alias.
9277 (python-shell-internal-send-string): Use it.
9278 (python-shell-send-setup-code): Remove call to
9279 accept-process-output.
9280
9281 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
9282
9283 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
9284 (Bug#12108)
9285
9286 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
9287
9288 * calc-mode.el (calc-basic-simplification-mode): Rename from
9289 `calc-limited-simplification-mode'.
9290 (calc-alg-simplification-mode): New function.
9291 (calc-set-simplify-mode): Adjust message.
9292
9293 * calc.el (calc-set-mode-line): Adjust mode line display for
9294 basic simplification mode.
9295
9296 * calc-help.el (calc-m-prefix-help): Update help message.
9297
9298 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
9299 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
9300
9301 2012-07-31 Bastien Guerry <bzg@gnu.org>
9302
9303 * man.el (man): Fix comment. (bug#12101)
9304
9305 2012-07-31 Martin Rudalics <rudalics@gmx.at>
9306
9307 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
9308 Don't return a non-nil value when no suitable buffer was found.
9309
9310 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
9311
9312 * progmodes/python.el (run-python-internal): Disable font lock for
9313 internal shells.
9314
9315 2012-07-30 Stefan Merten <smerten@oekonux.de>
9316
9317 * textmodes/rst.el: Silence `checkdoc-ispell'.
9318 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
9319 (rst-official-version, rst-official-cvs-rev)
9320 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
9321 (rst-mode-map): New key binding.
9322
9323 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
9324
9325 Update .PHONY listings in makefiles.
9326 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
9327 autoloads, update-subdirs, updates, bzr-update, update-authors,
9328 compile-onefile, compile-calc, backup-compiled-files,
9329 compile-after-backup, compile-one-process, mh-autoloads,
9330 bootstrap-clean, distclean, maintainer-clean.
9331
9332 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
9333
9334 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
9335 (calc-set-mode-line): Don't display "AlgSimp ".
9336
9337 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
9338 (calc-lim-simplify-mode): New function.
9339 (calc-set-simplify-mode): Default to 'alg.
9340 (calc-default-simplify-mode): Make algebraic simplifications
9341 the default.
9342
9343 * calc/calc-ext.el (calc-init-extensions): Remove binding for
9344 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
9345
9346 * calc/calc-help.el (calc-m-prefix-help): Change messages to
9347 indicate new simplification modes.
9348
9349 * calc/README: Mention new default simplification mode.
9350
9351 * calc/calc.el (math-normalize-error): New variable.
9352 (math-normalize): Set `math-normalize-error' to t
9353 when there's an error.
9354
9355 * calc/calc-alg.el (math-simplify): Don't simplify when
9356 `math-normalize' returns an error.
9357
9358 2012-07-29 Eli Zaretskii <eliz@gnu.org>
9359
9360 * international/mule-cmds.el (set-locale-environment): Revert last
9361 change, since display-graphic-p returns nil when this function is
9362 called during startup. Instead...
9363
9364 * term/w32console.el (terminal-init-w32console): ...setup the
9365 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
9366
9367 2012-07-29 Juri Linkov <juri@jurta.org>
9368
9369 * simple.el (goto-line): Don't display default line number in the
9370 prompt because it should be displayed by `read-number' (bug#9952).
9371 Add the current line number to the defaults of `goto-line' to
9372 allow its easier modification by users with `M-n' (bug#9201).
9373
9374 * subr.el (read-number): Support multiple default values like in
9375 other minibuffer reading functions. Replace `read' with
9376 `string-to-number' for consistency with `number-to-string'.
9377
9378 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
9379
9380 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
9381 * emulation/viper-init.el (viper-deactivate-input-method-action):
9382 Rename from viper-inactivate-input-method-action.
9383 (viper-deactivate-input-method):
9384 Rename from viper-inactivate-input-method.
9385 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
9386 * international/mule-cmds.el (deactivate-input-method):
9387 Rename from inactivate-input-method.
9388 Also run input-method-deactivate-hook.
9389 (deactivate-current-input-method-function):
9390 Rename from inactivate-current-input-method-function.
9391 (input-method-deactivate-hook): New hook.
9392 (input-method-inactivate-hook): Mark obsolete.
9393 (inactivate-input-method): Mark obsolete.
9394
9395 * international/quail.el (quail-activate):
9396 Also run quail-deactivate-hook.
9397 (quail-deactivate): Rename from quail-inactivate.
9398 * international/robin.el (robin-activate):
9399 Also run robin-deactivate-hook.
9400 (robin-deactivate): Rename from robin-inactivate.
9401
9402 2012-07-29 Chong Yidong <cyd@gnu.org>
9403
9404 * simple.el (indicate-copied-region): New function.
9405 (kill-ring-save): Split off from here.
9406
9407 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
9408 (kill-rectangle): Set deactivate-mark to t on read-only error.
9409
9410 * register.el (copy-to-register, copy-rectangle-to-register):
9411 Deactivate the mark, and use indicate-copied-region (Bug#10056).
9412 (append-to-register, prepend-to-register): Call indicate-copied-region.
9413
9414 2012-07-29 Juri Linkov <juri@jurta.org>
9415
9416 * simple.el (async-shell-command-buffer): New defcustom.
9417 (shell-command): Use it. (Bug#4719)
9418
9419 2012-07-28 Eli Zaretskii <eliz@gnu.org>
9420
9421 * international/mule-cmds.el (set-locale-environment): In a
9422 console session on MS-Windows, set up keyboard and terminal
9423 encoding from the OEM codepage, not the ANSI codepage.
9424 (Bug#12055)
9425
9426 2012-07-28 Chong Yidong <cyd@gnu.org>
9427
9428 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
9429 gdb-get-location.
9430
9431 2012-07-28 Leo Liu <sdl.web@gmail.com>
9432
9433 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
9434 the alist (bug#12029).
9435
9436 2012-07-28 Eli Zaretskii <eliz@gnu.org>
9437
9438 * makefile.w32-in (custom-deps, finder-data, updates, compile)
9439 (compile-always, compile-first)
9440 ($(lisp)/calendar/cal-loaddefs.el)
9441 ($(lisp)/calendar/diary-loaddefs.el)
9442 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
9443 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
9444 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
9445 instead of on update-subdirs.
9446 (bootstrap-clean): Delete $(lisp)/subdirs.el.
9447
9448 2012-07-28 Chong Yidong <cyd@gnu.org>
9449
9450 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
9451 directory if vc-deduce-backend returns nil (Bug#7350).
9452
9453 * simple.el (delete-trailing-lines): New option.
9454 (delete-trailing-whitespace): Obey it (Bug#11879).
9455
9456 2012-07-28 David Engster <deng@randomsample.de>
9457
9458 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
9459 Explanation of new 'symbol-qnames feature in doc-strings.
9460 (xml-maybe-do-ns): Return expanded names as plain symbols if
9461 'symbol-qnames was provided in XML-NS argument (Bug#11916).
9462 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
9463
9464 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
9465
9466 Consistent completion in inferior python with emacs -nw.
9467 * progmodes/python.el (inferior-python-mode): replace "<tab>"
9468 binding in inferior-python-mode-map with "\t".
9469 (python-shell-completion-complete-at-point)
9470 (python-completion-complete-at-point): Remove interactive spec.
9471
9472 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
9473
9474 * calc/calccomp.el (math-compose-expr): Undo previous change.
9475
9476 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
9477
9478 * progmodes/python.el (python-mode-map): Add keybinding for
9479 run-python.
9480 (python-shell-make-comint): Fix pop-to-buffer call.
9481 (run-python): Autoload. New arg SHOW.
9482 (python-shell-get-or-create-process): Do not pop python process
9483 buffer.
9484
9485 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
9486
9487 * notifications.el (notifications-on-action-signal)
9488 (notifications-on-closed-signal): Use also the bus address for the map.
9489 (notifications-notify, notifications-close-notification)
9490 (notifications-get-capabilities): Add optional argument BUS.
9491
9492 2012-07-27 Tassilo Horn <tsdh@gnu.org>
9493
9494 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
9495 Add support for the lstlisting and minted environments, and for the
9496 ctable macro.
9497 * textmodes/reftex.el (reftex-compile-variables): Also recognize
9498 labels written in keyvals syntax.
9499
9500 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
9501
9502 * calc/calccomp.el (math-compose-expr): Use parentheses when
9503 there is a product in the denominator of a fraction.
9504
9505 2012-07-26 Eli Zaretskii <eliz@gnu.org>
9506
9507 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
9508 ($(lisp)/calendar/diary-loaddefs.el)
9509 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
9510 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
9511 Fixes failures in parallel bootstrap because subdirs.el is being
9512 rewritten while the autoload files are built at the same time,
9513 which needs to load subdirs.el.
9514
9515 2012-07-26 Martin Rudalics <rudalics@gmx.at>
9516
9517 * mouse.el (popup-menu): Fix doc-string and re-indent code.
9518 (mouse-drag-line): Don't exit tracking when a switch-frame or
9519 switch-window event occurs (Bug#12006).
9520
9521 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
9522
9523 * mouse.el (popup-menu): Fix last change.
9524
9525 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
9526
9527 Autoload from Lisp with more care. Follow aliases when looking for
9528 function properties.
9529 * subr.el (autoloadp): New function.
9530 (symbol-file): Use it.
9531 (function-get): New function.
9532 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
9533 autoload-do-load.
9534 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
9535 (lisp-indent-function):
9536 * emacs-lisp/gv.el (gv-get):
9537 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
9538 * emacs-lisp/byte-opt.el (byte-optimize-form):
9539 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
9540 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
9541 Use function-get.
9542 * emacs-lisp/cl.el: Don't propagate function properties any more.
9543
9544 * speedbar.el (speedbar-add-localized-speedbar-support):
9545 * emacs-lisp/disass.el (disassemble-internal):
9546 * desktop.el (desktop-load-file):
9547 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
9548 (describe-function-1):
9549 * emacs-lisp/find-func.el (find-function-noselect):
9550 * emacs-lisp/elp.el (elp-instrument-function):
9551 * emacs-lisp/advice.el (ad-has-proper-definition):
9552 * apropos.el (apropos-safe-documentation, apropos-macrop):
9553 * emacs-lisp/debug.el (debug-on-entry):
9554 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
9555 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
9556 * calc/calc.el (name): Use autoloadp & autoload-do-load.
9557
9558 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
9559
9560 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
9561 function, not an obsolete variable (Bug#12046).
9562
9563 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
9564
9565 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
9566
9567 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
9568
9569 * emacs-lisp/pp.el (pp-display-expression): Select old selected
9570 window only if it is still live (Bug#12034).
9571
9572 2012-07-25 Martin Rudalics <rudalics@gmx.at>
9573
9574 * subr.el (redirect-frame-focus): Add advertised calling
9575 convention (Bug#12030).
9576
9577 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
9578
9579 Prefer typical American spelling for "acknowledgment".
9580 * vc/add-log.el (change-log-acknowledgment): Rename from
9581 change-log-acknowledgement, with an alias for the old name.
9582
9583 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
9584
9585 * calc-alg.el (math-simplify-divide): Don't cross multiply
9586 in an equation when the lhs is a variable.
9587
9588 2012-07-24 Julien Danjou <julien@danjou.info>
9589
9590 * net/netrc.el (netrc-find-service-number, netrc-store-data):
9591 Remove, unused.
9592
9593 2012-07-23 Eli Zaretskii <eliz@gnu.org>
9594
9595 * startup.el (command-line): Don't display an empty user name in
9596 the error message about non-existent home directory, when
9597 init-file-user was set to an empty string. See
9598 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
9599 for the details and context.
9600
9601 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
9602
9603 * ses.el (ses-cell-formula-aset): New macro.
9604 (ses-cell-references-aset): New macro.
9605 (ses-cell-p): New function.
9606 (ses-rename-cell): Do no longer rely on complex operations like
9607 ses-cell-set-formula or ses-set-cell to change the cell and handle
9608 the undo at the same time, but rather use lower level new macros
9609 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
9610 the undo directly. Refresh the mode line.
9611
9612 2012-07-21 Leo Liu <sdl.web@gmail.com>
9613
9614 * progmodes/cc-cmds.el (c-defun-name):
9615 Use match-string-no-properties instead for consistency.
9616
9617 2012-07-20 Leo Liu <sdl.web@gmail.com>
9618
9619 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
9620 (Bug#7879)
9621
9622 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
9623
9624 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
9625
9626 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
9627 * progmodes/bug-reference.el, misearch.el: Provide themselves
9628 (bug#11915).
9629
9630 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
9631 of narrowed buffer (bug#11966).
9632
9633 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
9634
9635 * ses.el (ses-rename-cell): Set new name also in reference list of
9636 cells of which the renamed cell depends.
9637
9638 2012-07-20 Masatake YAMATO <yamato@redhat.com>
9639
9640 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
9641 to check whether menu-bar is shown or not. If not shown,
9642 show the menu-bar as a popup menu instead of using tmm.
9643 * mouse.el (popup-menu): Accept `point' as `position' argument.
9644
9645 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
9646
9647 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
9648 up inside string symbol literal (bug#11923).
9649
9650 2012-07-20 Eli Zaretskii <eliz@gnu.org>
9651
9652 * startup.el (fancy-startup-text): Read the whole tutorial, not
9653 just its first 256 bytes. Prevents gibberish in display of the
9654 tutorial title.
9655
9656 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
9657
9658 Drop idle buffer compaction due to an absence of the
9659 proved efficiency.
9660 * compact.el: Remove.
9661
9662 2012-07-19 Sam Steingold <sds@gnu.org>
9663
9664 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
9665 vc-bzr-pull & vc-bzr-merge-branch.
9666 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
9667 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
9668 for consistency with compilation-error-regexp-alist.
9669 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
9670 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
9671 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
9672 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
9673
9674 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
9675
9676 * emacs-lisp/chart.el: Use lexical-binding.
9677 (chart-emacs-storage): Don't hardcode the list of entries.
9678
9679 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
9680
9681 Next round of tweaks caused by Fgarbage_collect changes.
9682 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
9683
9684 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
9685
9686 Compact buffers when idle.
9687 * compact.el: New file.
9688
9689 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
9690
9691 * subr.el (eventp): Presume that if it looks vaguely like an event,
9692 it's an event (bug#10190).
9693
9694 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
9695
9696 Enhancements to ppss related code (thanks Stefan).
9697 * progmodes/python.el (python-indent-context)
9698 (python-indent-calculate-indentation, python-indent-dedent-line)
9699 (python-indent-electric-colon, python-nav-forward-block)
9700 (python-mode-abbrev-table)
9701 (python-info-assignment-continuation-line-p): Simplify checks
9702 for ppss context.
9703 (python-info-continuation-line-p): Cleanup.
9704 (python-info-ppss-context): Do not catch 'quote.
9705 (python-info-ppss-context-type)
9706 (python-info-ppss-comment-or-string-p): Simplify.
9707
9708 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
9709
9710 * progmodes/python.el: Enhancements to eldoc support.
9711 (python-info-current-symbol): New function.
9712 (python-eldoc-at-point): Use python-info-current-symbol.
9713 (python-info-current-defun): Fix cornercase on first defun scan.
9714 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
9715 and signal error when no inferior python process is available.
9716
9717 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
9718
9719 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
9720 assume it's always t.
9721 (vc-git-registered): Remove caching, the function is only called
9722 once.
9723 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
9724
9725 2012-07-18 Chong Yidong <cyd@gnu.org>
9726
9727 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
9728
9729 * simple.el (count-words): Report on narrowing (Bug#9959).
9730
9731 * bindings.el: Bind M-= to count-words.
9732
9733 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
9734
9735 2012-07-18 Masatake YAMATO <yamato@redhat.com>
9736
9737 * progmodes/sh-script.el (sh-imenu-generic-expression):
9738 Capture a function with `function' keyword and without parentheses
9739 like "function FOO" (bug#11856).
9740
9741 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
9742
9743 * window.el (split-window-sensibly): Make WINDOW argument
9744 optional.
9745
9746 2012-07-18 Chong Yidong <cyd@gnu.org>
9747
9748 * subr.el (keyboard-translate): Doc fix (Bug#7261).
9749
9750 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
9751 and make C-x 8 RET exit isearch (Bug#11439).
9752
9753 * international/iso-transl.el: Move isearch-mode-map key
9754 definitions to isearch.el.
9755
9756 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
9757
9758 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
9759 (eieio-defclass): Use gv-define-setter when possible.
9760
9761 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
9762
9763 Reflect recent changes in Fgarbage_collect.
9764 * emacs-lisp/chart.el (chart-emacs-storage): Change to
9765 reflect new format of data returned by Fgarbage_collect.
9766
9767 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
9768
9769 New utility functions + python-info-ppss-context fix (Bug#11910).
9770 * progmodes/python.el (python-info-beginning-of-block-statement-p)
9771 (python-info-ppss-comment-or-string-p): New functions.
9772 (python-info-ppss-context): Small fix for string check.
9773
9774 2012-07-17 Juri Linkov <juri@jurta.org>
9775
9776 * dired-aux.el (dired-do-async-shell-command): Doc fix.
9777 (dired-do-async-shell-command): Don't add `*' at the end of the
9778 command (Bug#11815).
9779 (dired-do-shell-command): Doc fix.
9780 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
9781 Join the individual commands using either "&" or ";" as the
9782 separator depending on the values of these trailing characters.
9783 At the end re-add the trailing "&". (Bug#10598)
9784
9785 * simple.el (async-shell-command): Sync the interactive spec with
9786 `shell-command'. Doc fix.
9787 (shell-command): Doc fix.
9788
9789 2012-07-17 Juri Linkov <juri@jurta.org>
9790
9791 * descr-text.el (describe-char): Fix format args. (Bug#10129)
9792
9793 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
9794
9795 Final renames and doc fixes for movement commands (bug#11899).
9796 * progmodes/python.el (python-nav-beginning-of-statement):
9797 Rename from python-nav-statement-start.
9798 (python-nav-end-of-statement): Rename from
9799 python-nav-statement-end.
9800 (python-nav-beginning-of-block): Rename from
9801 python-nav-block-start.
9802 (python-nav-end-of-block): Rename from python-nav-block-end.
9803
9804 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
9805
9806 * progmodes/python.el (python-shell-send-string-no-output):
9807 Allow accept-process-output to quit, keeping shell process ready for
9808 future interactions (Bug#11868).
9809
9810 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
9811
9812 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
9813
9814 * emacs-lisp/elint.el (elint-find-args-in-code):
9815 Use help-function-arglist, so as to handle lexical byte-code.
9816
9817 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
9818 change (bug#11826).
9819
9820 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
9821
9822 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
9823 Avoid spuriously marking the buffer as modified because of c-is-sws.
9824
9825 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
9826 as not-a-comment (bug#11946).
9827
9828 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
9829 for uninterned vars.
9830
9831 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
9832 Use read-event since we don't really want to read chars but bytes.
9833
9834 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
9835 $$..$$ but also $..$ using regexps (bug#11953).
9836 Use tex-verbatim for \url and \path.
9837 (tex-font-lock-keywords): Define as defconst like the others.
9838 (tex-common-initialization): Don't use font-lock-syntax-table any more.
9839
9840 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
9841
9842 * international/mule-cmds.el (ucs-insert): Make it an obsolete
9843 alias for insert-char.
9844
9845 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
9846
9847 * progmodes/python.el: Simplified imenu implementation.
9848 (python-nav-jump-to-defun): Remove command.
9849 (python-mode-map): Use `imenu' instead.
9850 (python-nav-list-defun-positions-cache)
9851 (python-imenu-include-defun-type, python-imenu-make-tree)
9852 (python-imenu-subtree-root-label, python-imenu-index-alist):
9853 Remove vars.
9854 (python-nav-list-defun-positions, python-nav-read-defun)
9855 (python-imenu-tree-assoc, python-imenu-make-element-tree)
9856 (python-imenu-make-tree, python-imenu-create-index):
9857 Remove functions.
9858 (python-mode): Update to interact with imenu by setting
9859 `imenu-extract-index-name-function' only.
9860
9861 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
9862
9863 * progmodes/python.el: Enhancements to navigation commands.
9864 (python-nav-backward-sentence)
9865 (python-nav-forward-sentence): Remove.
9866 (python-nav-backward-statement, python-nav-forward-statement)
9867 (python-nav-statement-start, python-nav-statement-end)
9868 (python-nav-backward-block, python-nav-forward-block)
9869 (python-nav-block-start, python-nav-block-end)
9870 (python-nav-forward-sexp-function)
9871 (python-info-current-line-comment-p)
9872 (python-info-current-line-empty-p): New functions.
9873 (python-indent-context): Use `python-nav-statement-start'.
9874
9875 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
9876
9877 * eshell/em-ls.el (eshell/ls): Use `apply'.
9878
9879 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
9880 multi-hops, instead of Tramp internals.
9881
9882 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
9883
9884 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
9885 when F1 and F2 are located on different hosts.
9886
9887 2012-07-14 Chong Yidong <cyd@gnu.org>
9888
9889 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
9890 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
9891 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
9892 (xterm-mouse--read-event-sequence-1000)
9893 (xterm-mouse--read-event-sequence-1006): New functions. For old
9894 mouse protocol, handle M-mouse-X events correctly.
9895 (xterm-mouse-event): New arg specifying mouse protocol.
9896 (turn-on-xterm-mouse-tracking-on-terminal)
9897 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
9898 sequence to toggle extended coordinates on newer XTerms.
9899 This appears to be harmless on terminals which do not support this.
9900
9901 2012-07-14 Leo Liu <sdl.web@gmail.com>
9902
9903 Add fringe bitmap indicators for flymake. (Bug#11253)
9904 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
9905 (flymake-make-overlay): New arg BITMAP.
9906 (flymake-error-bitmap, flymake-warning-bitmap)
9907 (flymake-fringe-indicator-position): New user variables.
9908
9909 * fringe.el: New bitmap exclamation-mark.
9910
9911 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
9912
9913 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
9914 also (Bug#7879).
9915
9916 2012-07-14 Chong Yidong <cyd@gnu.org>
9917
9918 * electric.el (electric-pair-post-self-insert-function): Fix pair
9919 insertion in empty-region case (Bug#11520).
9920
9921 2012-07-14 Chong Yidong <cyd@gnu.org>
9922
9923 * bindings.el: Consolidate ctl-x-r-map bindings.
9924 Bind copy-rectangle-as-kill to C-x r w.
9925
9926 * rect.el, register.el: Move bindings to bindings.el.
9927
9928 2012-07-14 Reuben Thomas <rrt@sc3d.org>
9929
9930 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
9931
9932 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
9933
9934 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
9935
9936 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
9937
9938 * bindings.el (top): Use `mapc' instead of `mapcar'.
9939
9940 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
9941
9942 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
9943
9944 * progmodes/sql.el (sql-comint): Suppress the check for program on
9945 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
9946 (Bug#11908)
9947
9948 2012-07-13 Chong Yidong <cyd@gnu.org>
9949
9950 * bindings.el: Assign a non-nil permanent-local property to
9951 per-buffer variables which lack a default value (Bug#11930).
9952
9953 * help-fns.el (describe-variable): In the "automatically becomes
9954 local" notice, take note of permanent-local variables.
9955
9956 2012-07-13 Chong Yidong <cyd@gnu.org>
9957
9958 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
9959 to allow printing the message when called from Lisp.
9960
9961 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
9962 Remove toggle-read-only.
9963
9964 * bs.el (bs-toggle-readonly):
9965 * buff-menu.el (Buffer-menu-toggle-read-only):
9966 Remove with-no-warnings around toggle-read-only.
9967
9968 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
9969 Remove with-no-warnings around toggle-read-only.
9970 (ffap-read-only, ffap-read-only-other-window)
9971 (ffap-read-only-other-frame): Callers changed.
9972
9973 * help-mode.el: Don't require view package.
9974 (help-mode-finish): Set buffer-read-only instead of calling
9975 toggle-read-only.
9976
9977 * bindings.el (mode-line-toggle-read-only):
9978 * dired.el (dired-toggle-read-only):
9979 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
9980 with non-nil second arg.
9981
9982 * emacs-lisp/eieio-custom.el (eieio-customize-object):
9983 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
9984 directly.
9985
9986 2012-07-12 Eli Zaretskii <eliz@gnu.org>
9987
9988 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
9989 not incf.
9990
9991 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
9992
9993 More CL cleanups and reduction of use of cl.el.
9994 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
9995 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
9996 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
9997 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
9998 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
9999 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
10000 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
10001 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
10002 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
10003 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
10004 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
10005 * eshell/em-cmpl.el, eshell/em-banner.el:
10006 * calendar/parse-time.el: Use cl-lib.
10007 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
10008 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
10009 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
10010 * term/ns-win.el, term.el, shell.el, ps-samp.el:
10011 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
10012 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
10013 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
10014 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
10015 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
10016 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
10017 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
10018 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
10019 `lambda' rather than with `quote'.
10020 (eshell-do-opt): Adjust accordingly.
10021 (eshell-process-option): Simplify.
10022 * eshell/esh-var.el:
10023 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
10024 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
10025 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
10026 to `pcase--dontcare'.
10027 * emacs-lisp/cl.el (labels): Mark obsolete.
10028 (cl--letf, letf): Move to cl-lib.
10029 (cl--letf*, letf*): Remove.
10030 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
10031 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
10032 (cl-progv): Rewrite.
10033 (cl--letf, cl-letf): Move from cl.el.
10034 (cl-letf*): New macro.
10035 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
10036
10037 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
10038
10039 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
10040
10041 2012-07-11 Chong Yidong <cyd@gnu.org>
10042
10043 * vc/log-edit.el (log-edit-vc-backend): New variable.
10044 (log-edit): Doc fix.
10045
10046 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
10047 argument of log-edit to set up all local variables.
10048 (vc-start-logentry): New optional arg specifying VC backend.
10049
10050 * vc/vc.el (vc-checkin): Use it.
10051 (vc-deduce-fileset): Handle Log Edit buffers.
10052 (vc-diff): Make first argument optional too.
10053
10054 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
10055
10056 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
10057
10058 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
10059 command, just in case. The function is not needed anymore.
10060 (eshell-external-command): Do not call `eshell-remote-command'.
10061
10062 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
10063
10064 Reduce use of (require 'cl).
10065 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
10066 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
10067 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
10068 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
10069 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
10070 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
10071 * battery.el, avoid.el, abbrev.el: Use cl-lib.
10072 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
10073 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
10074 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
10075 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
10076 * calculator.el, autorevert.el, apropos.el: Don't require CL.
10077 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
10078 (byte-compile-unfold-bcf, byte-compile-check-variable):
10079 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
10080 (byte-compile-nilconstp):
10081 * emacs-lisp/autoload.el (make-autoload): Use pcase.
10082 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
10083
10084 * emacs-lisp/gv.el (cond): Make it a valid place.
10085 (if): Simplify slightly.
10086
10087 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
10088 (pcase--self-quoting-p): New function.
10089 (pcase--u1): Use it.
10090
10091 2012-07-10 Glenn Morris <rgm@gnu.org>
10092
10093 * emacs-lisp/authors.el (authors-fixed-entries):
10094 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
10095
10096 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
10097
10098 Rename configure.in to configure.ac (Bug#11603).
10099 * emacs-lisp/authors.el (authors-canonical-file-name):
10100 * progmodes/autoconf.el (autoconf-mode):
10101 Prefer configure.ac to configure.in.
10102
10103 2012-07-08 Chong Yidong <cyd@gnu.org>
10104
10105 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
10106 Implement the mouse-1-click-follows-link handling properly.
10107
10108 * info.el (Info-link-keymap): Use follow-link mechanism for
10109 header-line links (Bug#374).
10110
10111 * simple.el (deactivate-mark): Do not set the primary selection
10112 if another program has acquired it (Bug#11772).
10113
10114 2012-07-07 Kevin Ryde <user42@zip.com.au>
10115
10116 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
10117 (woman-decode-region): Replace escaped-escapes without destroying
10118 bold or underline (Bug#11552).
10119 (woman2-process-escapes): Handle nofill regions (Bug#11591).
10120
10121 2012-07-07 Chong Yidong <cyd@gnu.org>
10122
10123 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
10124 (interprogram-cut-function, interprogram-paste-function):
10125 Mention that we typically mean the clipboard.
10126
10127 2012-07-06 Glenn Morris <rgm@gnu.org>
10128
10129 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
10130
10131 * files.el (toggle-read-only): Restrict message to interactive use.
10132
10133 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
10134
10135 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
10136
10137 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
10138
10139 2012-07-06 Glenn Morris <rgm@gnu.org>
10140
10141 * Makefile.in (compile-one-process): Rename from "recompile".
10142
10143 * Makefile.in (bzr-update): "compile" is the same as "recompile
10144 autoloads", but parallelizable, so use that instead.
10145
10146 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
10147
10148 * window.el (quit-window): Always restore window height when
10149 it's saved in quit-restore parameter (Bug#11810).
10150
10151 2012-07-06 Glenn Morris <rgm@gnu.org>
10152
10153 * simple.el (kill-whole-line): Doc tweak.
10154
10155 2012-07-06 Eli Zaretskii <eliz@gnu.org>
10156
10157 * files.el (file-relative-name): Compare file names
10158 case-insensitively if on MS-Windows or MS-DOS, or if
10159 read-file-name-completion-ignore-case is non-nil. Don't use
10160 case-fold-search for this purpose. (Bug#11827)
10161
10162 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
10163
10164 * calendar/cal-dst.el (calendar-current-time-zone):
10165 Return calendar-current-time-zone-cache if non-nil.
10166
10167 2012-07-17 Masatake YAMATO <yamato@redhat.com>
10168 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
10169
10170 * calendar/cal-dst.el (calendar-current-time-zone):
10171 Return calendar-current-time-zone-cache if non-nil.
10172
10173 2012-07-06 Glenn Morris <rgm@gnu.org>
10174
10175 * Makefile.in (cvs-update): Remove old alias.
10176
10177 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
10178
10179 Sync with Tramp 2.2.6-pre.
10180
10181 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
10182 compatible declaration.
10183
10184 * net/tramp-cmds.el (tramp-append-tramp-buffers):
10185 Protect `list-load-path-shadows' call.
10186
10187 * net/tramp-compat.el (top): Require packages, which aren't
10188 autoloaded anymore for XEmacs. Protect call of
10189 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
10190 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
10191 it hurts at least for SXEmacs.
10192 (tramp-compat-temporary-file-directory): In XEmacs, there is no
10193 standard-value for `temporary-file-directory'.
10194
10195 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
10196 Redirect stderr to /dev/null.
10197 (tramp-sh-handle-write-region): uid and gid can be floats.
10198 Reported by Russell Sim <russell.sim@gmail.com>.
10199 (tramp-sh-handle-vc-registered): Hide errors.
10200 (tramp-vc-file-name-handler): Use dummy results for `process-file'
10201 and `start-file-process'.
10202 (tramp-maybe-open-connection): Check also whether `non-essential'
10203 is bound.
10204
10205 2012-07-04 Chong Yidong <cyd@gnu.org>
10206
10207 * xml.el (xml--parse-buffer): Use xml-syntax-table.
10208 (xml-parse-tag): Likewise, and avoid changing entity tables.
10209 (xml-syntax-table): Define from scratch, making sure not to give
10210 x2000 and other Unicode spaces whitespace syntax, since those are
10211 not spaces in XML.
10212 (xml-parse-fragment): Delete unused function.
10213 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
10214 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
10215 (xml-entity-ref, xml-pe-reference-re)
10216 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
10217 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
10218 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
10219 (xml-entity-value-re): Use syntax references in regexps where
10220 possible; no need to define inside a let-binding.
10221 (xml-parse-dtd): Use xml-pe-reference-re.
10222 (xml-entity-or-char-ref-re): New defconst.
10223 (xml-parse-string, xml-substitute-special): Use it.
10224
10225 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
10226
10227 * files.el (locate-dominating-file): Allow `name' to be a predicate.
10228 (find-file--read-only): New function.
10229 (find-file-read-only, find-file-read-only-other-window)
10230 (find-file-read-only-other-frame): Use it.
10231 (insert-file-contents-literally): Don't `fset'.
10232 (get-free-disk-space): Use locate-dominating-file.
10233
10234 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
10235 function is already compiled.
10236
10237 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
10238
10239 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
10240
10241 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
10242 files on the same host.
10243
10244 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
10245
10246 * help-fns.el (describe-function-1): Only call
10247 help-fns--autoloaded-p when we have a file name. (Bug#11848)
10248
10249 2012-07-03 Chong Yidong <cyd@gnu.org>
10250
10251 * xml.el: Protect parser against XML bombs.
10252 (xml-entity-expansion-limit): New variable.
10253 (xml-parse-string, xml-substitute-special): Use it.
10254 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
10255
10256 2012-07-03 Glenn Morris <rgm@gnu.org>
10257
10258 * progmodes/bug-reference.el (bug-reference-bug-regexp):
10259 Allow linking to specific messages in debbugs reports (eg 123#5).
10260
10261 2012-07-02 Chong Yidong <cyd@gnu.org>
10262
10263 * xml.el: Fix entity and character reference expansion, allowing
10264 them to expand into markup as per XML spec.
10265 (xml-default-ns): New variable.
10266 (xml-entity-alist): Use XML spec definitions for lt and amp.
10267 (xml-parse-region): Make first two arguments optional.
10268 Discard text properties.
10269 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
10270 All callers changed.
10271 (xml-parse-tag): Call xml-parse-tag-1. For backward
10272 compatibility, this function should not modify buffer contents.
10273 (xml-parse-tag-1): Fix opening-tag regexp.
10274 (xml-parse-string): Rewrite, handling entity and character
10275 references properly.
10276 (xml--entity-replacement-text): Signal an error if a parameter
10277 entity is undefined.
10278
10279 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
10280
10281 * comint.el (comint-output-filter): Filter out repeated prompts.
10282
10283 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
10284 and file-name-absolute-p.
10285 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
10286 internal calls.
10287
10288 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
10289
10290 Spelling fixes.
10291 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
10292 Rename from byte-compile--refiy-function. All uses changed.
10293
10294 2012-07-01 Chong Yidong <cyd@gnu.org>
10295
10296 * xml.el (xml--parse-buffer): New function. Move most of
10297 xml-parse-region here.
10298 (xml-parse-region): Copy region into a temporary buffer, since
10299 parameter entity substitution requires changing buffer contents.
10300 Use xml--parse-buffer.
10301 (xml-parse-file): Use xml--parse-buffer.
10302 (xml-parse-dtd): Make parameter entity substitution work right.
10303 Use proper regexps for ELEMENT declarations (Bug#7172).
10304
10305 2012-06-30 Glenn Morris <rgm@gnu.org>
10306
10307 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
10308
10309 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
10310 Remove outdated and unnecessary dbus declarations.
10311
10312 2012-06-30 Eli Zaretskii <eliz@gnu.org>
10313
10314 * emacs-lisp/timer.el (timer-until): Subtract results of
10315 float-time, instead of taking float-time of the result of
10316 time-subtract, since float-time signals an error for negative time
10317 arguments.
10318
10319 2012-06-30 Chong Yidong <cyd@gnu.org>
10320
10321 * xml.el (xml-*-re): Convert defvars into defconsts, and
10322 eval-and-compile them so eval-and-compile works on derivatives.
10323 (xml--entity-replacement-text): Use eval-and-comple.
10324
10325 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
10326
10327 * vc/vc-git.el (vc-git-registered): Use cache property
10328 `git-registered'.
10329 (vc-git-mode-line-string): Call `vc-working-revision' instead of
10330 `vc-git-working-revision' in order to benefit from the cache.
10331 (vc-git-root): Use cache property `git-root'. (Bug#11757)
10332
10333 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
10334
10335 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
10336 removed (likely outside Emacs). (Bug#11757)
10337
10338 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
10339
10340 * emacs-lisp/cl-lib.el: Require macroexp.
10341
10342 2012-06-30 Chong Yidong <cyd@gnu.org>
10343
10344 * xml.el: Implement XML parameter entities.
10345 (xml-parameter-entity-alist): New variable.
10346 (xml-parse-region, xml-parse-fragment): Preserve previous values
10347 of xml-entity-alist and xml-parameter-entity-alist, so that
10348 repeated calls on different documents do not change them.
10349 (xml-parse-tag): Fix doctype regexp.
10350 (xml--entity-replacement-text): New function.
10351 (xml-parse-dtd): Use it. Don't handle system entities; doing that
10352 properly requires url retrieval which is unimplemented.
10353 (xml-escape-string): Doc fix.
10354
10355 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
10356
10357 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
10358
10359 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
10360
10361 * fringe.el (fringe-mode): Doc fix.
10362
10363 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
10364
10365 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
10366 is non-nil.
10367 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
10368 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
10369
10370 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
10371
10372 * calendar/cal-dst.el (calendar-current-time-zone):
10373 Return calendar-current-time-zone-cache if non-nil.
10374
10375 2012-06-29 Masatake YAMATO <yamato@redhat.com>
10376
10377 * progmodes/which-func.el (which-func-format):
10378 Add mouse-face. (Bug#11698)
10379
10380 2012-06-29 Leo Liu <sdl.web@gmail.com>
10381
10382 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
10383
10384 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
10385
10386 * minibuffer.el (minibuffer-confirm-exit-commands):
10387 Add completion-at-point (bug#11725).
10388
10389 2012-06-29 Glenn Morris <rgm@gnu.org>
10390
10391 * progmodes/f90.el (f90-font-lock-keywords-2):
10392 Add some preprocessor elements. (Bug#10499)
10393
10394 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
10395
10396 * progmodes/cperl-mode.el (cperl-update-syntaxification):
10397 Use syntax-propertize (bug#11739).
10398
10399 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
10400
10401 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
10402
10403 2012-06-28 Julien Danjou <julien@danjou.info>
10404
10405 * term.el (term-handle-colors-array): Use a set of new faces to
10406 color the terminal. Also uses :inverse-video property.
10407 (term-default-fg-color): Set to nil by default, deprecate in favor
10408 of `term-face'.
10409 (term-default-bg-color): Set to nil by default, deprecate in favor
10410 of `term-face'.
10411 (term-current-face): Use `term-face' by default.
10412 (term-bold-attribute): Variable deleted.
10413
10414 2012-06-28 Glenn Morris <rgm@gnu.org>
10415
10416 * simple.el (completion-list-mode-finish):
10417 Don't use toggle-read-only. (Since completion-list-mode has
10418 a special mode-class, it wasn't doing anything extra anyway.)
10419
10420 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
10421
10422 Make inlining of other-mode interpreted functions work (bug#11799).
10423 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
10424 (byte-compile): Use it to fix compilation of lexical-binding closures.
10425 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
10426 function, if needed.
10427
10428 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
10429
10430 * help-mode.el (help-make-xrefs): Don't just withstand
10431 cyclic-variable-indirection but any error in documentation-property.
10432
10433 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
10434 memory use.
10435 * bindings.el (bindings--define-key): New function.
10436 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
10437 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
10438 * bindings.el: Use it to purecopy define-key bindings.
10439
10440 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
10441
10442 * emacs-lisp/cl.el (flet): Mark obsolete.
10443 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
10444 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
10445 * progmodes/js.el (js-c-fill-paragraph):
10446 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
10447 (ebrowse-switch-member-buffer-to-derived-class):
10448 * play/5x5.el (5x5-solver): Use cl-flet.
10449
10450 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
10451 (cl--symbol-function): New macro.
10452 (cl--letf, cl--letf*): Use it.
10453
10454 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
10455 Strip "toggle-" if any.
10456
10457 2012-06-27 Glenn Morris <rgm@gnu.org>
10458
10459 * info.el (Info-default-directory-list): Move here from paths.el.
10460 * paths.el: Remove file, which is now empty.
10461 * loadup.el: No longer load "paths".
10462
10463 * custom.el (custom-initialize-delay): Doc fix.
10464
10465 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
10466 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
10467 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
10468 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
10469 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
10470 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
10471 * eshell/eshell.el (eshell-defgroup): Remove alias.
10472
10473 2012-06-27 Chong Yidong <cyd@gnu.org>
10474
10475 * help.el (help-enable-auto-load): New variable.
10476
10477 * help-fns.el (help-fns--autoloaded-p): New function.
10478 (describe-function-1): Refer to a function as "autoloaded" if it
10479 was autoloaded at any time in the past. Perform autoloading if
10480 help-enable-auto-load is non-nil.
10481
10482 2012-06-26 Eli Zaretskii <eliz@gnu.org>
10483
10484 * makefile.w32-in (compile, compile-always): Depend on
10485 update-subdirs, not on subdirs.el. Otherwise, several different
10486 sub-targets of 'bootstrap' running in parallel could
10487 simultaneously write to subdirs.el, producing a garbled file.
10488
10489 2012-06-26 Sam Steingold <sds@gnu.org>
10490
10491 * files.el (file-name-base): New convenience function.
10492 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
10493 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
10494 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
10495 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
10496 * textmodes/ispell.el, textmodes/reftex-ref.el:
10497 * textmodes/tex-mode.el: Use it.
10498 Did not touch cedet and org because they are maintained elsewhere.
10499
10500 2012-06-26 Martin Rudalics <rudalics@gmx.at>
10501
10502 * calendar/calendar.el (calendar-exit): Don't try to delete or
10503 iconify last frame. See:
10504 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
10505
10506 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
10507
10508 * server.el (server-process-filter): Remember dir in the
10509 process's `server-client-directory' properties.
10510
10511 2012-06-24 Chong Yidong <cyd@gnu.org>
10512
10513 * xml.el (xml-parse-tag): Correctly handle comment embedded in
10514 non-tag text.
10515
10516 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
10517
10518 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
10519
10520 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
10521
10522 * help-fns.el (describe-variable): Don't croak when doc is not found.
10523 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
10524 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
10525 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
10526 * emacs-lisp/smie.el (smie-next-sexp): CSE.
10527 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
10528 ((lambda ..) ..).
10529 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
10530
10531 2012-06-23 Chong Yidong <cyd@gnu.org>
10532
10533 * info.el (Info-mouse-follow-link): Accept symbol values of
10534 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
10535 (Info-fontify-node): Use Info-link-keymap for all navigation
10536 buttons, with link-args property to perform the desired action.
10537 (Info-link-keymap): Doc fix.
10538 (Info-next-link-keymap, Info-prev-link-keymap)
10539 (Info-up-link-keymap): Delete now-unused keymaps.
10540
10541 2012-06-23 Chong Yidong <cyd@gnu.org>
10542
10543 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
10544
10545 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
10546 system abbrevs.
10547
10548 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
10549
10550 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
10551
10552 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
10553 (bug#11719).
10554
10555 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
10556 the requote function doesn't work properly (bug#11714).
10557
10558 2012-06-23 Glenn Morris <rgm@gnu.org>
10559
10560 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
10561
10562 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
10563
10564 Further GV/CL cleanups.
10565 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
10566 gv-expander.
10567 (gv--defun-declaration): New function.
10568 (defun-declarations-alist): Use it.
10569 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
10570 (gv-place): Autoload.
10571 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
10572 original definition of dotimes and dolist.
10573 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
10574 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
10575 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
10576 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
10577 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
10578 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
10579 to the function's definition.
10580 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
10581 * window.el:
10582 * files.el:
10583 * faces.el:
10584 * env.el: Don't use CL.
10585
10586 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
10587
10588 Support higher-resolution time stamps (Bug#9000).
10589
10590 * calendar/time-date.el (with-decoded-time-value): New arg
10591 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
10592 (encode-time-value): New optional arg PICO. New type 3.
10593 (time-to-seconds) [!float-time]: Support the new picoseconds
10594 component if it's used.
10595 (seconds-to-time, time-subtract, time-add):
10596 Support ps-resolution time stamps as well.
10597
10598 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
10599 (timerp): Timer vectors now have length 9, not 8.
10600 (timer--time): Support new-style (4-part) time stamps.
10601 (timer-next-integral-multiple-of-time): Time stamps now have
10602 picosecond resolution, so take a bit more care about rounding.
10603 (timer-relative-time, timer-inc-time): New optional arg psecs.
10604 (timer-set-time-with-usecs): Set psecs to 0.
10605 (timer--activate): Check psecs component, too.
10606
10607 * proced.el (proced-time-lessp): Support ps-resolution stamps.
10608
10609 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
10610
10611 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
10612 Move the non-essential binding to the post/pre-command-hook where it is
10613 more obviously correct.
10614
10615 * subr.el (read-passwd): Don't use a history at all.
10616 * savehist.el (savehist-save): Remove password saved accidentally
10617 because of the above bug.
10618
10619 2012-06-22 Bastien Guerry <bzg@gnu.org>
10620
10621 * files.el (toggle-read-only): Display a message telling whether
10622 the buffer is read-only or not (bug#11726).
10623
10624 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
10625
10626 * emacs-lisp/gv.el: New file.
10627 * subr.el (push, pop): Extend to generalized variables.
10628 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
10629 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
10630 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
10631 gv-define-simple-setter, and gv-define-expander.
10632 Remove setf-methods defined in gv. Rename cl-setf -> setf.
10633 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
10634 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
10635 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
10636 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
10637 gv-letplace.
10638 (cl-defstruct): Don't define setf-method any more.
10639 * emacs-lisp/cl.el (flet): Don't autoload.
10640 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
10641 (define-setf-expander, defsetf, define-modify-macro)
10642 (cl-struct-setf-expander): Move from cl-lib.el.
10643 * emacs-lisp/syntax.el:
10644 * emacs-lisp/ewoc.el:
10645 * emacs-lisp/smie.el:
10646 * emacs-lisp/cconv.el:
10647 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
10648 (timer--time): Use gv-define-simple-setter.
10649 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
10650 to avoid coding-system problems in subr.el. Adjust all users.
10651 (macroexp--maxsize, macroexp-small-p): New functions.
10652 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
10653 * scroll-bar.el (scroll-bar-mode):
10654 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
10655 (normal-erase-is-backspace-mode): Don't use the `eq' place.
10656 * winner.el (winner-configuration, winner-make-point-alist)
10657 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
10658 * files.el (locate-file-completion-table): Avoid list*.
10659
10660 2012-06-22 Chong Yidong <cyd@gnu.org>
10661
10662 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
10663 (dired-create-files): Doc fix (Bug#11329).
10664 (dired-do-copy): Doc fix (Bug#11334).
10665 (dired-mark-read-string): Doc fix (Bug#11553).
10666
10667 * dired.el (dired-recursive-copies, dired-recursive-deletes):
10668 Doc fix (Bug#11326).
10669 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
10670 (dired-dwim-target): Doc fix.
10671
10672 * wdired.el (wdired-mode): Doc fix.
10673
10674 2012-06-22 Glenn Morris <rgm@gnu.org>
10675
10676 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
10677 (pcmpl-rpm-cache-stamp-file): New constant.
10678 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
10679 (pcmpl-rpm-packages): Optionally cache list of packages.
10680
10681 * pcmpl-rpm.el (pcmpl-rpm): New group.
10682 (pcmpl-rpm-query-options): New option.
10683 (pcmpl-rpm-packages): No need to inline it.
10684 Use pcmpl-rpm-query-options.
10685
10686 * calendar/calendar.el (calendar-in-read-only-buffer):
10687 Avoid some needless mode changes.
10688
10689 2012-06-21 Chong Yidong <cyd@gnu.org>
10690
10691 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
10692 (desktop-path): Remove . from the default value (Bug#10977).
10693 (desktop-read): Use user-emacs-directory if desktop-path is nil.
10694
10695 2012-06-20 Chong Yidong <cyd@gnu.org>
10696
10697 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
10698
10699 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
10700
10701 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
10702 (bug#11201).
10703
10704 2012-06-20 Chong Yidong <cyd@gnu.org>
10705
10706 * term.el (term-window-width): Handle the case of a missing right
10707 fringe (Bug#8837).
10708 (term-check-size): Use window-text-height (Bug#5445).
10709 (term-mode): Use define-derived-mode. Minor cleanups.
10710 Set font-lock-defaults (Bug#7692).
10711 (term-move-columns, term-insert-char, term-emulate-terminal)
10712 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
10713
10714 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
10715
10716 * net/ange-ftp.el (ange-ftp-get-passwd):
10717 Bind `enable-recursive-minibuffers'.
10718 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
10719
10720 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
10721
10722 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
10723
10724 2012-06-19 Glenn Morris <rgm@gnu.org>
10725
10726 * progmodes/python.el (python-mode): Derive from prog-mode.
10727
10728 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
10729
10730 * emulation/edt.el (edt-default-menu-bar-update-buffers)
10731 (edt-user-menu-bar-update-buffers): New functions.
10732 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
10733
10734 2012-06-19 Chong Yidong <cyd@gnu.org>
10735
10736 * subr.el (with-selected-window): Preserve the selected window's
10737 terminal's top-frame (Bug#4702).
10738
10739 * window.el (save-selected-window): Likewise.
10740
10741 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10742
10743 * progmodes/python.el (python-rx-constituents): Move backquote.
10744 (python-skeleton-define, python-define-auxiliary-skeleton):
10745 Use `declare'.
10746
10747 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
10748
10749 * minibuffer.el (read-file-name-default): Revert the patch from
10750 2012-06-17.
10751
10752 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10753
10754 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
10755 (pcase--u1, pcase--q1): Don't use apply-partially.
10756
10757 2012-06-18 Glenn Morris <rgm@gnu.org>
10758
10759 * progmodes/python.el (python-proc, python-buffer)
10760 (python-send-receive, python-send-string): Fix obsolete versions.
10761
10762 2012-06-18 Martin Rudalics <rudalics@gmx.at>
10763
10764 * window.el (special-display-p): Completely remove stringp
10765 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
10766
10767 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
10768
10769 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
10770
10771 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
10772
10773 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
10774 * net/tramp-sh.el (tramp-maybe-open-connection):
10775 Throw if `non-essential' is non-nil.
10776
10777 2012-06-17 Martin Rudalics <rudalics@gmx.at>
10778
10779 * window.el (special-display-p): Signal an error if BUFFER-NAME
10780 is not a string (Bug#11713).
10781
10782 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
10783
10784 * progmodes/python.el (python-info-beginning-of-backslash):
10785 Rename from python-info-beginning-of-backlash, as a spelling fix.
10786
10787 2012-06-17 Chong Yidong <cyd@gnu.org>
10788
10789 * term.el (term-emulate-terminal): If term-check-size is called,
10790 move point to the process mark without resetting point (Bug#4635).
10791
10792 2012-06-17 Glenn Morris <rgm@gnu.org>
10793
10794 * international/mule-cmds.el (mule-menu-keymap)
10795 (set-language-environment, set-locale-environment): Doc tweaks.
10796
10797 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
10798
10799 * cus-face.el (custom-face-attributes): Add wave-style underline
10800 attribute.
10801 * faces.el (set-face-attribute): Update docstring to describe
10802 wave-style underline attribute.
10803
10804 2012-06-16 Chong Yidong <cyd@gnu.org>
10805
10806 * term/xterm.el (terminal-init-xterm): Discard input before
10807 querying background mode (Bug#10959).
10808
10809 2012-06-16 Stefan Merten <smerten@oekonux.de>
10810
10811 * textmodes/rst.el: Added and corrected some comments.
10812 (rst-re-alist-def): Improve symbol syntax.
10813 (rst-mode-syntax-table): Correct syntax entries.
10814 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
10815 (rst-official-version, rst-official-cvs-rev): Update version
10816 information.
10817
10818 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
10819
10820 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
10821 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
10822
10823 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
10824
10825 * progmodes/python.el: New python.el merge.
10826 (python-guess-indent): Obsolete var.
10827 (python-indent-guess-indent-offset): New defcustom.
10828 (python-indent): Obsolete var.
10829 (python-indent-offset): New defcustom.
10830 (python-python-command, python-jython-command): Delete var.
10831 (python-shell-interpreter): New defcustom.
10832 (python-pdbtrack-do-tracking-p): Delete var.
10833 (python-pdbtrack-activate): New defcustom.
10834 (python-use-skeletons): Obsolete var.
10835 (python-skeleton-autoinsert): New defcustom.
10836 (inferior-python-filter-regexp, python-continuation-offset)
10837 (python-honour-comment-indentation, python-indent-string-contents)
10838 (python-jython-packages, python-mode-hook)
10839 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
10840 (python-shell-prompt-alist)
10841 (python-source-modes): Delete defcustoms.
10842 (python-check-buffer-name, python-eldoc-setup-code)
10843 (python-eldoc-string-code, python-ffap-setup-code)
10844 (python-ffap-string-code, python-fill-comment-function)
10845 (python-fill-decorator-function, python-fill-paren-function)
10846 (python-fill-string-function, python-imenu-include-defun-type)
10847 (python-imenu-make-tree, python-imenu-subtree-root-label)
10848 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
10849 (python-shell-compilation-regexp-alist)
10850 (python-shell-completion-module-string-code)
10851 (python-shell-completion-pdb-string-code)
10852 (python-shell-completion-setup-code)
10853 (python-shell-completion-string-code)
10854 (python-shell-enable-font-lock, python-shell-exec-path)
10855 (python-shell-extra-pythonpaths)
10856 (python-shell-internal-buffer-name, python-shell-interpreter-args)
10857 (python-shell-process-environment)
10858 (python-shell-prompt-block-regexp)
10859 (python-shell-prompt-output-regexp)
10860 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
10861 (python-shell-send-setup-max-wait, python-shell-setup-codes)
10862 (python-shell-virtualenv-path): New defcustoms.
10863 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
10864 (inferior-python-mode-syntax-table, python--prompt-regexp)
10865 (python-buffer, python-command python-python-command)
10866 (python-default-template, python-imports, python-indent-index)
10867 (python-indent-list, python-indent-list-length)
10868 (python-mode-running, python-pdbtrack-is-tracking-p)
10869 (python-preoutput-continuation, python-preoutput-leftover)
10870 (python-preoutput-result, python-preoutput-skip-next-prompt)
10871 (python-prev-dir/file, python-recursing)
10872 (python-saved-check-command, python-version-checked)
10873 (python-which-func-length-limit)
10874 (view-return-to-alist): Delete vars.
10875 (python-check-custom-command, python-dotty-syntax-table)
10876 (python-imenu-index-alist, python-indent-current-level)
10877 (python-indent-dedenters, python-indent-levels)
10878 (python-nav-beginning-of-defun-regexp)
10879 (python-nav-list-defun-positions-cache)
10880 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
10881 (python-shell-internal-buffer)
10882 (python-skeleton-available): New vars.
10883 (def-python-skeleton): Delete macro.
10884 (python-skeleton-define): New macro.
10885 (python-define-auxiliary-skeleton, python-rx): New macros.
10886 (python-insert-class): Delete command.
10887 (python-skeleton-class): New command.
10888 (python-insert-def): Delete command.
10889 (python-skeleton-def): New command.
10890 (python-insert-for): Delete command.
10891 (python-skeleton-for): New command.
10892 (python-insert-if): Delete command.
10893 (python-skeleton-if): New command.
10894 (python-insert-try/except, python-insert-try/finally): Delete commands.
10895 (python-skeleton-try): New command.
10896 (python-insert-while): Delete command.
10897 (python-skeleton-while): New command.
10898 (python-backspace): Delete command.
10899 (python-indent-dedent-line-backspace): New command.
10900 (python-electric-colon): Delete command.
10901 (python-indent-electric-colon): New command.
10902 (python-guess-indent): Delete command.
10903 (python-indent-guess-indent-offset): New command.
10904 (python-shift-left): Delete command.
10905 (python-indent-shift-left): New command.
10906 (python-shift-right): Delete command.
10907 (python-indent-shift-right): New command.
10908 (python-find-function): Delete command.
10909 (python-nav-jump-to-defun): New command.
10910 (python-next-statement): Delete command.
10911 (python-nav-forward-sentence): New command.
10912 (python-previous-statement): Delete command.
10913 (python-nav-backward-sentence): New command.
10914 (python-fill-paragraph): Delete command.
10915 (python-fill-paragraph-function): New command.
10916 (python-send-buffer): Delete command.
10917 (python-shell-send-buffer): New command.
10918 (python-send-defun): Delete command.
10919 (python-shell-send-defun): New command.
10920 (python-send-region, python-send-region-and-go): Delete commands.
10921 (python-shell-send-region)
10922 (python-shell-switch-to-shell): New commands.
10923 (python-send-string): Delete command.
10924 (python-shell-send-string): New command.
10925 (python-switch-to-python): Delete command.
10926 (python-shell-switch-to-shell): New command.
10927 (python-describe-symbol): Delete command.
10928 (python-eldoc-at-point): New command.
10929 (python--set-prompt-regexp, python-args-to-list)
10930 (python-after-info-look, python-check-version)
10931 (python-check-comint-prompt, python-find-imports)
10932 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
10933 (python-unload-function, python-expand-template)
10934 (python-maybe-jython, python-preoutput-filter)
10935 (python-pdbtrack-get-source-buffer)
10936 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
10937 (python-pdbtrack-toggle-stack-tracking)
10938 (python-pdbtrack-track-stack-file, python-initial-text)
10939 (python-first-word, python-comment-line-p, python-send-command)
10940 (python-setup-brm, python-sentinel, python-set-proc)
10941 (python-skip-out, python-input-filter, python-outdent-p)
10942 (python-outline-level, python-backslash-continuation-line-p)
10943 (python-end-of-block, python-end-of-statement, python-mark-block)
10944 (python-beginning-of-block, python-beginning-of-statement)
10945 (python-blank-line-p, python-beginning-of-string)
10946 (python-open-block-statement-p): Delete functions.
10947 (python-indent-line, python-indent-line-1): Delete functions.
10948 (python-indent-line): New function.
10949 (python-indentation-levels): Delete function.
10950 (python-indent-calculate-levels): New function.
10951 (python-proc): Delete function.
10952 (python-shell-get-process): New function.
10953 (python-send-receive): Delete function.
10954 (python-shell-send-string-no-output): New function.
10955 (python-module-path): Delete function.
10956 (python-ffap-module-path): New function.
10957 (python-completion-at-point)
10958 (python-symbol-completions): Delete functions.
10959 (python-completion-complete-at-point): New function.
10960 (python-load-file): Delete function.
10961 (python-shell-send-file): New function.
10962 (python-calculate-indentation): Delete function.
10963 (python-indent-calculate-indentation): New function.
10964 (python-skip-comments/blanks): Delete function.
10965 (python-util-forward-comment): New function.
10966 (python-continuation-line-p): Delete function.
10967 (python-info-continuation-line-p): New function.
10968 (python-which-func, python-current-defun): Delete function.
10969 (python-info-current-defun): New function.
10970 (python-beginning-of-defun): Delete function.
10971 (python-nav-beginning-of-defun): New function.
10972 (python-close-block-statement-p)
10973 (python-block-end-p): Delete function.
10974 (python-info-closing-block): New function.
10975 (python-comint-output-filter-function)
10976 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
10977 (python-fill-comment, python-fill-decorator, python-fill-paren)
10978 (python-fill-string, python-imenu-make-element-tree)
10979 (python-imenu-make-tree, python-imenu-tree-assoc)
10980 (python-indent-context, python-indent-dedent-line)
10981 (python-indent-line-function)
10982 (python-indent-post-self-insert-function)
10983 (python-indent-toggle-levels)
10984 (python-info-assignment-continuation-line-p)
10985 (python-info-beginning-of-backlash)
10986 (python-info-block-continuation-line-p)
10987 (python-info-closing-block-message)
10988 (python-info-line-ends-backslash-p)
10989 (python-info-looking-at-beginning-of-defun)
10990 (python-info-ppss-context, python-info-ppss-context-type)
10991 (python-nav-list-defun-positions, python-nav-read-defun)
10992 (python-nav-sentence-end, python-nav-sentence-start)
10993 (python-pdbtrack-comint-output-filter-function)
10994 (python-pdbtrack-set-tracked-buffer)
10995 (python-shell-calculate-exec-path)
10996 (python-shell-calculate-process-environment)
10997 (python-shell-completion--do-completion-at-point)
10998 (python-shell-completion--get-completions)
10999 (python-shell-completion-complete-at-point)
11000 (python-shell-completion-complete-or-indent)
11001 (python-shell-get-or-create-process)
11002 (python-shell-get-process-name)
11003 (python-shell-internal-get-or-create-process)
11004 (python-shell-internal-get-process-name)
11005 (python-shell-internal-send-string, python-shell-make-comint)
11006 (python-shell-parse-command, python-shell-send-setup-code)
11007 (python-skeleton-add-menu-items)
11008 (python-util-clone-local-variables, python-util-position)
11009 (run-python-internal, python-indentation-levels)
11010 (python-nav-beginning-of-defun)
11011 (python-completion-complete-at-point): New functions.
11012 (run-python): Change arguments. New API requirements.
11013
11014 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
11015
11016 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
11017 (bug#11649).
11018
11019 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
11020 (macroexp--expand-all): Use it.
11021
11022 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
11023 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
11024 Use `cl-function' instead.
11025
11026 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
11027
11028 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
11029 Suggested by Stefan Monnier while discussing bug#11657.
11030
11031 2012-06-14 Sam Steingold <sds@gnu.org>
11032
11033 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
11034
11035 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
11036
11037 * play/doctor.el (doctor-doc): Remove parameter and use
11038 doctor-sent instead of sent.
11039 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
11040
11041 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
11042
11043 * files.el: Require cl-lib.
11044 (file-name-non-special): Replace case -> cl-case.
11045
11046 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
11047
11048 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
11049 mapping from #' to function*.
11050
11051 2012-06-13 Chong Yidong <cyd@gnu.org>
11052
11053 * mouse.el (mouse-drag-track): Do not set the mark if the user
11054 releases the mouse without selecting anything (Bug#11588).
11055
11056 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
11057
11058 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
11059 as well (bug#11646).
11060
11061 * loadup.el: Count byte-code functions as well.
11062
11063 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
11064 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
11065
11066 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
11067 (bug#11649). Add cl-defun and cl-defmacro.
11068
11069 2012-06-13 Drew Adams <drew.adams@oracle.com>
11070
11071 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
11072 Fix last change.
11073
11074 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
11075
11076 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
11077 Otherwise, it blocks in batch mode.
11078
11079 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
11080
11081 * help-mode.el (bookmark-make-record-default): Declare.
11082
11083 2012-06-13 Chong Yidong <cyd@gnu.org>
11084
11085 * emacs-lisp/package.el (list-packages): Compute a list of
11086 packages that are newly-available since the last list-packages
11087 invocation.
11088 (package-menu--new-package-list): New var.
11089 (package-menu--generate, package-menu--print-info)
11090 (package-menu--status-predicate, package-menu-mark-install):
11091 Handle new status label "new".
11092
11093 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
11094
11095 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
11096 conversion to backquotes.
11097
11098 2012-06-12 Chong Yidong <cyd@gnu.org>
11099
11100 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
11101 Rename from gud-inhibit-global-bindings.
11102
11103 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
11104
11105 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
11106 hook from nxml-glyph-set-hook.
11107
11108 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
11109 declaration.
11110
11111 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
11112
11113 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
11114 Convert to defcustom.
11115
11116 2012-06-12 Drew Adams <drew.adams@oracle.com>
11117
11118 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
11119 New functions.
11120 (help-mode): Use them.
11121
11122 2012-06-11 Glenn Morris <rgm@gnu.org>
11123
11124 * progmodes/fortran.el (fortran-font-lock-keywords-3):
11125 Use preprocessor face for directives.
11126 (fortran-directive-re): Doc fix.
11127
11128 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
11129
11130 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
11131 conversion to backquotes (bug#11652).
11132
11133 Fix compiler-expansion of CL's cXXr functions (bug#11673).
11134 * emacs-lisp/cl-lib.el (cl--defalias): New function.
11135 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
11136 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
11137 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
11138 (cl-ninth, cl-tenth): Mark them as inlinable.
11139 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
11140 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
11141 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
11142 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
11143 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
11144 (cl-list*, cl-adjoin): Don't put an autoload manually.
11145 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
11146 (cl--compiler-macro-list*): Add autoload cookie.
11147 (cl--compiler-macro-cXXr): New function.
11148
11149 * help-fns.el (help-fns--compiler-macro): New function extracted from
11150 describe-function-1; follow aliases and use `compiler-macro' property.
11151 (describe-function-1): Use it.
11152
11153 2012-06-11 Chong Yidong <cyd@gnu.org>
11154
11155 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
11156 is uninstalled, if imagemagick is installed.
11157
11158 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
11159
11160 * emacs-lisp/cl-lib.el: Use lexical-binding.
11161 (cl-map-extents, cl-maclisp-member): Remove.
11162 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
11163 (cl--set-substring, cl--block-wrapper, cl--block-throw)
11164 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
11165 * emacs-lisp/cl-extra.el: Use lexical-binding.
11166 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
11167 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
11168 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
11169 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
11170 * emacs-lisp/cl-seq.el: Use lexical-binding.
11171 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
11172 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
11173 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
11174 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
11175 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
11176 CL's internals.
11177
11178 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
11179
11180 Sync with Tramp 2.2.6-pre.
11181
11182 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
11183 `print-length' and `print-level' to nil, in order to avoid
11184 truncation. Reported by Christopher Schmidt
11185 <christopher@ristopher.com>.
11186
11187 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
11188
11189 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
11190 New defmacro.
11191 (tramp-compat-copy-directory): Add optional argument
11192 COPY-CONTENTS. It is not handled yet.
11193
11194 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
11195 (tramp-ftp-file-name-p): Simplify.
11196
11197 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
11198 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
11199 connection vector.
11200
11201 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
11202 (tramp-methods): Do not use `tramp-password-end-of-line'.
11203 (tramp-completion-function-alist-putty): Handle UNIX case.
11204 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
11205 (tramp-do-file-attributes-with-stat)
11206 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
11207 gid as real numbers. They could run out of integer range on cygwin.
11208 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
11209 (tramp-sh-handle-expand-file-name): Handle hops.
11210 (tramp-open-connection-setup-interactive-shell):
11211 Use `tramp-cleanup'. Move check for busyboxes ...
11212 (tramp-find-shell): ... here. Simplify implementation.
11213 Set "remote-shell" property also for alternative shells.
11214 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
11215 If failing, a regular file would be written otherwise.
11216 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
11217 (tramp-find-inline-encoding): Cache the coding commands in the
11218 process cache. Apply test command on the remote side, if defined.
11219 (tramp-find-inline-compress): Cache the compress commands in the
11220 process cache.
11221 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
11222 when requested. Handle hops.
11223 (tramp-current-connection): New defvar.
11224 (tramp-maybe-open-connection): Use `tramp-cleanup'.
11225 Throw `suppress', if there was a failed connection shortly before.
11226 Handle user interrupt. (Bug#10187)
11227 (tramp-get-inline-compress, tramp-get-inline-coding):
11228 Read connection properties from the process cache.
11229
11230 * net/tramp-smb.el (tramp-smb-server-version)
11231 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
11232 New defconsts.
11233 (tramp-smb-prompt): Extend for powershell prompt.
11234 (tramp-smb-file-name-handler-alist): Add handlers for
11235 `process-file', `shell-command' and `start-file-process'.
11236 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
11237 (tramp-smb-winexe-shell-command-switch): New defcustoms.
11238 (tramp-smb-file-name-p): Simplify.
11239 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
11240 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
11241 (tramp-smb-shell-quote-argument): New defuns.
11242 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
11243 Implement using "tar". By this, time-stamps are preserved.
11244 (tramp-smb-handle-copy-file): Handle also the case of directories.
11245 (tramp-smb-do-file-attributes-with-stat)
11246 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
11247 Use `tramp-get-connection-buffer').
11248 (tramp-smb-handle-rename-file): Use "rename", when source and
11249 target are on the same share.
11250 (tramp-smb-maybe-open-connection): Handle wrong passwords.
11251 Use `tramp-smb-server-version'.
11252 (tramp-smb-wait-for-output): Remove prompt.
11253
11254 * net/tramp.el (top): Require 'cl.
11255 (tramp-methods, tramp-rsh-end-of-line):
11256 Remove `tramp-password-end-of-line' from docstring.
11257 (tramp-save-ad-hoc-proxies): New defcustom.
11258 (tramp-completion-function-alist): Adapt docstring.
11259 (tramp-default-password-end-of-line): Remove defcustom.
11260 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
11261 (tramp-user-regexp, tramp-file-name-regexp-unified)
11262 (tramp-file-name-regexp-url): Extend regexp by hop separator.
11263 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
11264 (tramp-remote-file-name-spec-regexp): New defconst.
11265 (tramp-file-name-structure): Extend structure for hops.
11266 (tramp-get-method-parameter): Move up.
11267 (tramp-file-name-p, tramp-dissect-file-name)
11268 (with-parsed-tramp-file-name): Handle hops.
11269 (tramp-file-name-hop): New defun.
11270 (tramp-make-tramp-file-name): New optional arg HOP.
11271 (tramp-message-show-progress-reporter-message): New defvar.
11272 (tramp-with-progress-reporter): Use it. We cannot use
11273 `tramp-message-show-message' here, because this suppresses also
11274 error buffers.
11275 (tramp-error-with-buffer): Suppress buffer view, if
11276 `tramp-message-show-message' is nil.
11277 Use `tramp-get-connection-buffer'.
11278 (tramp-cleanup): New defun.
11279 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
11280 (tramp-file-name-handler): If `debug-on-error' is set, propagate
11281 an error unchanged.
11282 (tramp-completion-handle-file-name-all-completions): Handle hops.
11283 Fix an error when called from ido.
11284 (tramp-completion-dissect-file-name): Use better local variable
11285 name. Add hop to the vector.
11286 (tramp-handle-insert-file-contents): Use progress-reporter for the
11287 whole scenario.
11288 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
11289 to `t'.
11290 (tramp-check-for-regexp): Simplify search.
11291 (tramp-enter-password): Remove it. Move implementation ...
11292 (tramp-action-password): ... here.
11293 (tramp-mode-string-to-int, tramp-local-host-p)
11294 (tramp-make-tramp-temp-file, tramp-read-passwd)
11295 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
11296 Set tramp-autoload cookie.
11297
11298 * net/trampver.el: Update release number.
11299
11300 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11301 Michael Albinus <michael.albinus@gmx.de>
11302
11303 * net/tramp.el (tramp-set-completion-function): Fix docstring.
11304 (tramp-parse-group, tramp-parse-file)
11305 (tramp-parse-shostkeys-sknownhosts): New defuns.
11306 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
11307 (tramp-parse-shosts-group, tramp-parse-sconfig)
11308 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
11309 (tramp-parse-sknownhosts, tramp-parse-hosts)
11310 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
11311 Use them.
11312 (tramp-parse-passwd-group, tramp-parse-netrc-group)
11313 (tramp-parse-putty-group): Don't narrow.
11314 (tramp-parse-putty): Make a loop.
11315 (tramp-file-name-handler): Catch the `suppress' signal.
11316
11317 2012-06-11 Chong Yidong <cyd@gnu.org>
11318
11319 * image.el (imagemagick-register-types): Put the ImageMagick entry
11320 at the end of image-type-file-name-regexps.
11321
11322 2012-06-11 Johan Bockgård <bojohan@gnu.org>
11323
11324 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
11325 (pcase, pcase-let*, pcase-dolist): Use them.
11326
11327 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
11328
11329 * emacs-lisp/pcase.el (pcase--let*): New function.
11330 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
11331 (pcase--expand): Use macroexp-let².
11332
11333 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
11334
11335 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
11336 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
11337 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
11338 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
11339 * emacs-lisp/derived.el: Use pcase instead of `cl'.
11340 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
11341
11342 2012-06-10 Glenn Morris <rgm@gnu.org>
11343
11344 * mail/rmail.el (rmail-yank-current-message): Leave point at
11345 correct position. (Bug#11660)
11346
11347 2012-06-10 Chong Yidong <cyd@gnu.org>
11348
11349 * allout-widgets.el: Fix code header.
11350
11351 2012-06-10 Chong Yidong <cyd@gnu.org>
11352
11353 * cus-edit.el (customize-changed-options-previous-release):
11354 Bump to 24.1.
11355
11356 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
11357
11358 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
11359
11360 2012-06-09 Chong Yidong <cyd@gnu.org>
11361
11362 * ebuff-menu.el (electric-buffer-list): Preserve header line.
11363
11364 2012-06-09 Martin Rudalics <rudalics@gmx.at>
11365
11366 * window.el (special-display-popup-frame): Don't use
11367 window--display-buffer (Bug#11651).
11368
11369 2012-06-09 Eli Zaretskii <eliz@gnu.org>
11370
11371 Fix parallel builds: make sure loaddefs.el is not being written
11372 while Lisp files are compiled.
11373 (compile): Don't depend on 'mh-autoloads'.
11374 (compile-CMD, compile-SH): Depend on 'autoloads'.
11375 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
11376
11377 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
11378
11379 2012-06-09 Chong Yidong <cyd@gnu.org>
11380
11381 * face-remap.el (face-remap-add-relative, face-remap-set-base)
11382 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
11383 Doc fixes (Bug#11225).
11384
11385 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
11386
11387 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
11388 a function if there's a clear indication that it has a compiler-macro.
11389 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
11390 (macro-declarations-alist): Add arglist to declaration functions.
11391 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
11392 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
11393 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
11394 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
11395 Also add autoload to find the compiler macro.
11396 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
11397 (cl--compiler-macro-member, cl--compiler-macro-assoc)
11398 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
11399 (cl--compiler-macro-get): New functions, replacing calls to
11400 cl-define-compiler-macro.
11401 (cl-typep) [compiler-macro]: Use macroexp-let².
11402
11403 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
11404
11405 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
11406 string properly, fixes Bug#11473.
11407
11408 2012-06-08 Chong Yidong <cyd@gnu.org>
11409
11410 * faces.el (set-face-attribute): Doc fix.
11411 (modify-face): Don't use :bold and :italic.
11412 (error, warning, success): Tweak definitions.
11413
11414 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
11415 (custom-modified, custom-set, custom-changed, custom-themed)
11416 (custom-saved, custom-button, custom-button-mouse)
11417 (custom-button-pressed, custom-state, custom-comment-tag)
11418 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
11419 (custom-group-subtitle): Use new-style face specs.
11420 (custom-invalid-face, custom-rogue-face, custom-modified-face)
11421 (custom-set-face, custom-changed-face, custom-saved-face)
11422 (custom-button-face, custom-button-pressed-face)
11423 (custom-documentation-face, custom-state-face)
11424 (custom-comment-face, custom-comment-tag-face)
11425 (custom-variable-tag-face, custom-variable-button-face)
11426 (custom-face-tag-face, custom-group-tag-face-1)
11427 (custom-group-tag-face): Remove obsolete face alias.
11428
11429 * epa.el (epa-validity-high, epa-validity-medium)
11430 (epa-validity-low, epa-mark, epa-field-name, epa-string)
11431 (epa-field-name, epa-field-body):
11432 * font-lock.el (font-lock-comment-face, font-lock-string-face)
11433 (font-lock-keyword-face, font-lock-builtin-face)
11434 (font-lock-function-name-face, font-lock-variable-name-face)
11435 (font-lock-type-face, font-lock-constant-face):
11436 * ido.el (ido-first-match, ido-only-match, ido-subdir)
11437 (ido-virtual, ido-indicator, ido-incomplete-regexp):
11438 * speedbar.el (speedbar-button-face, speedbar-file-face)
11439 (speedbar-directory-face, speedbar-tag-face)
11440 (speedbar-selected-face, speedbar-highlight-face)
11441 (speedbar-separator-face):
11442 * whitespace.el (whitespace-newline, whitespace-space)
11443 (whitespace-hspace, whitespace-tab, whitespace-trailing)
11444 (whitespace-line, whitespace-space-before-tab)
11445 (whitespace-space-after-tab, whitespace-indentation)
11446 (whitespace-empty):
11447 * emulation/cua-base.el (cua-global-mark):
11448 * eshell/em-prompt.el (eshell-prompt):
11449 * net/newst-plainview.el (newsticker-new-item-face)
11450 (newsticker-old-item-face, newsticker-immortal-item-face)
11451 (newsticker-obsolete-item-face, newsticker-date-face)
11452 (newsticker-statistics-face, newsticker-default-face):
11453 * net/newst-reader.el (newsticker-feed-face)
11454 (newsticker-extra-face, newsticker-enclosure-face):
11455 * net/newst-treeview.el (newsticker-treeview-face)
11456 (newsticker-treeview-new-face, newsticker-treeview-old-face)
11457 (newsticker-treeview-immortal-face)
11458 (newsticker-treeview-obsolete-face)
11459 (newsticker-treeview-selection-face):
11460 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
11461 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
11462 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
11463 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
11464 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
11465 (nxml-outline-active-indicator, nxml-outline-ellipsis):
11466 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
11467 (mpuz-text):
11468 * progmodes/vera-mode.el (vera-font-lock-number)
11469 (vera-font-lock-function, vera-font-lock-interface):
11470 * textmodes/table.el (table-cell): Use new-style face specs, and
11471 don't use the old :bold and :italic attributes.
11472
11473 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
11474 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
11475 (ebrowse-member-class, ebrowse-progress): Likewise.
11476 (ebrowse-tree-mark-face, ebrowse-root-class-face)
11477 (ebrowse-file-name-face, ebrowse-default-face)
11478 (ebrowse-member-attribute-face, ebrowse-member-class-face)
11479 (ebrowse-progress-face): Remove obsolete faces.
11480
11481 * progmodes/flymake.el (flymake-errline, flymake-warnline):
11482 Inherit from error and warning faces respectively.
11483
11484 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
11485 Likewise.
11486 (flyspell-incorrect-face, flyspell-duplicate-face):
11487 Remove obsolete aliases.
11488
11489 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
11490
11491 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
11492 Avoid infloop.
11493
11494 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
11495
11496 * startup.el (argv, argi): Make lexically scoped.
11497 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
11498 * emacs-lisp/cl-macs.el: Use lexical-binding.
11499 Rename cl-bind-* to cl--bind-*.
11500 * files.el: Don't require `cl' since it doesn't use it.
11501 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
11502
11503 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
11504
11505 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
11506 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
11507 instead of calling external sort utility.
11508 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
11509
11510 2012-06-08 Eli Zaretskii <eliz@gnu.org>
11511
11512 * descr-text.el (describe-char): Mention how to insert the
11513 character, if the current input method doesn't support it.
11514 See the discussion in this thread for the details:
11515 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
11516
11517 2012-06-08 Sam Steingold <sds@gnu.org>
11518
11519 * bindings.el (global-map): Bind XF86Forward to next-buffer and
11520 XF86Back to previous-buffer.
11521 (minibuffer-local-map): Bind them to next-history-element and
11522 previous-history-element respectively.
11523 * help-mode.el (help-mode-map): Bind them to help-go-forward and
11524 help-go-back respectively.
11525 * info.el (Info-mode-map): Bind them to Info-history-forward and
11526 Info-history-back respectively.
11527 These are the keys next to Up on the ThinkPad keyboard.
11528
11529 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
11530
11531 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
11532 * emacs-lisp/cl-macs.el: Provide itself.
11533 (cl--labels-convert-cache): New var.
11534 (cl--labels-convert): New function.
11535 (cl-flet, cl-labels): New implementation with new semantics, relying on
11536 lexical-binding.
11537 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
11538 (cl-closure-vars, cl--function-convert-cache)
11539 (cl--function-convert): Move from cl-macs.el.
11540 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
11541 rename by removing the "cl-" prefix.
11542 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
11543
11544 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
11545
11546 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
11547 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
11548 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
11549 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
11550 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
11551 (cl-hash-table-count): Add old compatibility aliases.
11552
11553 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
11554 Use macroexpand-all-environment instead.
11555 (cl--old-macroexpand): New var.
11556 (cl--sm-macroexpand): New function.
11557 (cl-symbol-macrolet): Use it during macro expansion.
11558 (cl--function-convert-cache): New var.
11559 (cl--function-convert): New function, extracted from
11560 cl-macroexpand-all.
11561 (cl-lexical-let): Use it.
11562
11563 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
11564 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
11565 (cl-member): Remove old alias.
11566
11567 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
11568 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
11569 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
11570 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
11571 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
11572 (cl-macroexpand-cmacs): Remove var.
11573 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
11574 Use macroexpand-all instead.
11575
11576 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
11577
11578 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
11579 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
11580 (macroexp-copyable-p): New functions and macros.
11581 * emacs-lisp/edebug.el (edebug-unwrap):
11582 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
11583 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
11584 (pcase--let*): Remove.
11585 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
11586 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
11587 macroexp-const-p instead.
11588 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
11589
11590 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
11591 instead of "cl-" for internal definitions. Use macroexp-const-p.
11592 (cl-old-bc-file-form): Remove var.
11593 (cl-const-exprs-p): Remove fun.
11594 (cl-labels, cl-macrolet): Use backquote.
11595 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
11596 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
11597 (cl-define-setf-expander): Rename from cl-define-setf-method.
11598 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
11599
11600 * international/mule-cmds.el: Don't require CL.
11601 (view-hello-file): Don't use `letf'.
11602
11603 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
11604
11605 * tmm.el (tmm-prompt): Use string-prefix-p.
11606 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
11607 (tmm-add-prompt): Use minibuffer-completion-help.
11608 (tmm-delete-map): Remove.
11609
11610 * subr.el (kbd): Make it its own function.
11611
11612 2012-06-07 Stefan Merten <smerten@oekonux.de>
11613
11614 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
11615 Silence compiler warnings. Fix versions.
11616 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
11617 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
11618 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
11619 (rst-package-emacs-version-alist): Correct Emacs version to
11620 represent major merge with upstream.
11621 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
11622
11623 2012-06-06 Glenn Morris <rgm@gnu.org>
11624
11625 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
11626 Only print environment variables if set.
11627
11628 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
11629
11630 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
11631 (macroexp--cons): Rename from maybe-cons.
11632 (macroexp--accumulate): Rename from macroexp-accumulate.
11633 (macroexp--all-forms): Rename from macroexpand-all-forms.
11634 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
11635 (macroexp--expand-all): Rename from macroexpand-all-1.
11636
11637 2012-06-06 Sam Steingold <sds@gnu.org>
11638
11639 * calendar/calendar.el (calendar-in-read-only-buffer):
11640 Call `special-mode' to enable the standard read-only keybindings.
11641
11642 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
11643
11644 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
11645 with "loading" messages (bug#11635).
11646
11647 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
11648
11649 * files.el (enable-remote-dir-locals): New option.
11650 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
11651
11652 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
11653 Ensure, that the temp directory is local.
11654
11655 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
11656 `temporary-file-directory'.
11657
11658 * progmodes/python.el (python-send-region): Ensure, that the
11659 temporary file is created also in the remote case.
11660
11661 2012-06-06 Glenn Morris <rgm@gnu.org>
11662
11663 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
11664 (vc-rcs-update-changelog): Use it.
11665
11666 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
11667
11668 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
11669 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
11670 (vc-sccs-diff): Replace use of the external vcdiff script.
11671
11672 2012-06-05 Glenn Morris <rgm@gnu.org>
11673
11674 * ledit.el: Move to obsolete/.
11675
11676 2012-06-05 Sam Steingold <sds@gnu.org>
11677
11678 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
11679 patch (Bug#11140).
11680
11681 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11682
11683 * emacs-lisp/cust-print.el: Move to obsolete.
11684
11685 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
11686 compiler-macro expansion.
11687
11688 Add native compiler-macro support.
11689 * emacs-lisp/macroexp.el (macroexpand-all-1):
11690 Support compiler-macros directly. Properly follow aliases and apply
11691 the compiler macros more thoroughly.
11692 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
11693 macroexpand now properly follows aliases.
11694 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
11695 (cl-compiler-macroexpand): Use new prop.
11696 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
11697
11698 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
11699
11700 2012-06-05 Martin Rudalics <rudalics@gmx.at>
11701
11702 * window.el (get-lru-window, get-mru-window, get-largest-window):
11703 New argument NOT-SELECTED to avoid picking the selected window.
11704 (window--display-buffer-1, window--display-buffer-2): Replace by
11705 new function window--display-buffer
11706 (display-buffer-same-window, display-buffer-reuse-window)
11707 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
11708 Use window--display-buffer.
11709 (display-buffer-use-some-window): Remove temporary dedication
11710 hack by calling get-lru-window and get-largest-window with
11711 NOT-SELECTED argument non-nil. Call window--display-buffer.
11712
11713 2012-06-05 Glenn Morris <rgm@gnu.org>
11714
11715 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
11716 Replace external vcdiff script.
11717
11718 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
11719
11720 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
11721
11722 2012-06-04 Chong Yidong <cyd@gnu.org>
11723
11724 * image.el (imagemagick-types-inhibit): Revert last change.
11725 Add INFO and M.
11726 (imagemagick-enabled-types): Remove CIN and EPS*.
11727
11728 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
11729
11730 * emacs-lisp/cl-lib.el: Rename from cl.el.
11731 * emacs-lisp/cl.el: New compatibility file.
11732 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
11733 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
11734 to obey the "cl-" prefix.
11735 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
11736
11737 2012-06-03 Glenn Morris <rgm@gnu.org>
11738
11739 * emacs-lisp/authors.el (authors-aliases): Addition.
11740
11741 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
11742 Fix :version.
11743
11744 2012-06-03 Stefan Merten <smerten@oekonux.de>
11745
11746 * textmodes/rst.el: Add comments.
11747 (rst-transition, rst-adornment): New faces.
11748 (rst-adornment-faces-alist): Make default safe to reevaluate.
11749 Fixes
11750 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
11751 Improve customization tags.
11752 (rst-define-level-faces): Clarify meaning.
11753
11754 2012-06-03 Chong Yidong <cyd@gnu.org>
11755
11756 * progmodes/compile.el (compilation-mode-line-fail)
11757 (compilation-mode-line-run, compilation-mode-line-exit):
11758 New faces.
11759 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
11760
11761 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
11762
11763 * progmodes/which-func.el (which-func-update-ediff-windows):
11764 New function. Use it in ediff-select-hook (Bug#11478).
11765
11766 2012-06-03 Chong Yidong <cyd@gnu.org>
11767
11768 * bindings.el: Remove explicit help text from format-mode-line.
11769 It is now supplied by mode-line-default-help-echo.
11770 (mode-line-front-space, mode-line-end-spaces)
11771 (mode-line-misc-info): New variables.
11772 (mode-line-modes, mode-line-position): Move the default value to
11773 the variable definition.
11774 (mode-line-default-help-echo): New defcustom.
11775 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
11776 (mode-line-modified-help-echo): New functions.
11777 (mode-line-mule-info, mode-line-modified): Use them.
11778 (mode-line-eol-desc, propertized-buffer-identification):
11779 Consistency fixes for help text.
11780 (mode-line-coding-system-map): Allow using mouse-3 to invoke
11781 set-buffer-file-coding-system (Bug#289).
11782 (mode-line-mule-info-help-echo): Update help text.
11783
11784 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
11785
11786 * simple.el (execute-extended-command): Set real-this-command
11787 (bug#11506).
11788
11789 2012-06-02 Chong Yidong <cyd@gnu.org>
11790
11791 Remove incorrect uses of "modeline" in comments, docstrings, and
11792 function/variable names (Bug#10329).
11793
11794 * cus-edit.el (mode-line):
11795 * dframe.el (dframe-mouse-hscroll):
11796 * emacs-lisp/re-builder.el:
11797 * emacs-lisp/easy-mmode.el (define-minor-mode):
11798 * frame.el (set-frame-name):
11799 * help.el (lookup-minor-mode-from-indicator):
11800 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
11801 * progmodes/cc-cmds.el (c-toggle-auto-newline)
11802 (c-toggle-hungry-state):
11803 * progmodes/antlr-mode.el (antlr-language-alist):
11804 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
11805 * progmodes/vhdl-mode.el (vhdl-mode):
11806 * progmodes/which-func.el (which-func, which-func-cleanup-function):
11807 * term/ns-win.el (ns-face-at-pos):
11808 * term/sup-mouse.el (sup-mouse-report):
11809 * textmodes/flyspell.el (flyspell-mode-line-string):
11810 * textmodes/ispell.el (ispell-highlight-face):
11811 * textmodes/reftex-global.el:
11812 * vc/vc-arch.el (vc-arch-mode-line-string):
11813 * vc/vc-cvs.el (vc-cvs-mode-line-string):
11814 * vc/vc-git.el (vc-git-mode-line-string):
11815 * vc/vc-hooks.el (vc-display-status)
11816 (vc-default-mode-line-string):
11817 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
11818
11819 * ansi-color.el (ansi-color-faces-vector): Change default faces.
11820
11821 * dired.el (dired-sort-set-mode-line): Rename from
11822 dired-sort-set-modeline. All callers changed.
11823
11824 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
11825 eshell-status-in-modeline.
11826
11827 * foldout.el (foldout-mode-line-string): Rename from
11828 foldout-modeline-string. All callers changed.
11829 (foldout-update-mode-line): Rename from foldout-update-modeline.
11830
11831 * subr.el (redraw-modeline): Make into obsolete alias.
11832
11833 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
11834 timeclock-modeline-display. Make old name an alias.
11835 (timeclock-update-mode-line): Likewise. All callers changed.
11836 (timeclock-mode-line-display): No need to check before using
11837 add-hook.
11838 (timeclock-relative, timeclock-day-over-hook)
11839 (timeclock-use-elapsed, timeclock-mode-string)
11840 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
11841
11842 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
11843 crisp-mode-modeline-string.
11844
11845 * play/solitaire.el (solitaire-build-mode-line): Rename from
11846 solitaire-build-modeline. All callers changed.
11847
11848 * play/zone.el (zone-hiding-mode-line): Rename from
11849 zone-hiding-modeline. All callers changed.
11850 (zone): Remove unusued `modeline-hidden-level' property.
11851
11852 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
11853 xscheme-modeline-initialize. All callers changed.
11854
11855 * strokes.el (strokes-lighter): Rename from
11856 strokes-modeline-string.
11857
11858 * textmodes/sgml-mode.el (html-face-tag-alist)
11859 (html-tag-face-alist): Use mode-line face instead of obsolete
11860 alias modeline.
11861
11862 2012-06-02 Stefan Merten <smerten@oekonux.de>
11863
11864 * textmodes/rst.el: Always require `cl'.
11865 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
11866
11867 2012-06-02 Chong Yidong <cyd@gnu.org>
11868
11869 * image.el (imagemagick-enabled-types): Rename from
11870 imagemagick-types-enable. Add many more types.
11871 (imagemagick-types-inhibit): Change default to nil.
11872 (imagemagick-filter-types): Caller changed.
11873
11874 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
11875
11876 * emacs-lisp/cl-macs.el: Use backquotes.
11877 (cl-transform-function-property): Use eval-and-compile rather than
11878 abusing `require'.
11879 (defstruct): Use declare-function instead of with-no-warnings.
11880
11881 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
11882 (byte-compile-output-docform): Re-add the print-circle bindings.
11883 (byte-compile-fix-header): Use #$ just because it's shorter.
11884 (byte-compile-output-file-form): Remove defun/defmacro.
11885
11886 2012-06-01 Martin Rudalics <rudalics@gmx.at>
11887
11888 * simple.el (choose-completion): Remove now obsolete binding for
11889 owindow.
11890
11891 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
11892
11893 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
11894 in order to avoid "Stack overflow in regexp matcher".
11895
11896 2012-05-31 Glenn Morris <rgm@gnu.org>
11897
11898 * image.el: For clarity, call imagemagick-register-types at
11899 top-level, rather than relying on a custom :initialize.
11900 (imagemagick-types-enable): New option. (Bug#11557)
11901 (imagemagick-filter-types): New function. (Bug#7406)
11902 (imagemagick-register-types): Use imagemagick-filter-types.
11903 If disabling support, remove elements altogether rather
11904 than using an impossible regexp.
11905 (imagemagick-types-inhibit): Give it the default init function.
11906
11907 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11908
11909 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
11910 Handle arbitrary file name lengths (Bug#11585).
11911
11912 2012-05-31 Martin Rudalics <rudalics@gmx.at>
11913
11914 * desktop.el (desktop-read): Clear previous and next buffers for
11915 all windows and bury *Messages* buffer (bug#11556).
11916
11917 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11918
11919 Add `declare' for `defun'. Align `defmacro's with it.
11920 * emacs-lisp/easy-mmode.el (define-minor-mode)
11921 (define-globalized-minor-mode): Don't autoload the var definitions.
11922 * emacs-lisp/byte-run.el: Use lexical-binding.
11923 (defun-declarations-alist, macro-declarations-alist): New vars.
11924 (defmacro, defun): Use them.
11925 (make-obsolete, define-obsolete-function-alias)
11926 (make-obsolete-variable, define-obsolete-variable-alias):
11927 Use `declare'.
11928 (macro-declaration-function): Mark obsolete.
11929 * emacs-lisp/autoload.el: Use lexical-binding.
11930 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
11931
11932 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11933
11934 * textmodes/ispell.el (ispell-with-no-warnings):
11935 Define as a macro.
11936 (ispell-kill-ispell, ispell-change-dictionary):
11937 Use `called-interactively-p' for Emacs instead of obsolete
11938 `interactive-p'.
11939
11940 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11941
11942 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
11943 (macro-declaration-function): Move var from C code.
11944 (macro-declaration-function): Define function with defalias.
11945 * emacs-lisp/macroexp.el (macroexpand-all-1):
11946 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
11947 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
11948 defun/defmacro any more.
11949 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
11950 Provide fallback for unknown arglist.
11951 (byte-compile-arglist-warn): Change calling convention.
11952 (byte-compile-output-file-form): Move print-vars binding.
11953 (byte-compile-output-docform): Simplify accordingly.
11954 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
11955 (byte-compile-defmacro-declaration): Remove.
11956 (byte-compile-file-form-defmumble): Generalize to defalias.
11957 (byte-compile-output-as-comment): Return byte-positions.
11958 Simplify callers accordingly.
11959 (byte-compile-lambda): Use `assert'.
11960 (byte-compile-defun, byte-compile-defmacro): Remove.
11961 (byte-compile-file-form-defalias):
11962 Use byte-compile-file-form-defmumble.
11963 (byte-compile-defalias-warn): Remove.
11964
11965 2012-05-29 Stefan Merten <smerten@oekonux.de>
11966
11967 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
11968 possible. Fix authors. Improve comments. Improve loading of `cl'.
11969
11970 (rst-mode-abbrev-table): Merge definition.
11971 (rst-mode): Make sure `font-lock-defaults' is buffer local.
11972 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
11973
11974 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
11975
11976 * calendar/icalendar.el
11977 (icalendar-export-region): Export UID properly.
11978
11979 2012-05-29 Leo Liu <sdl.web@gmail.com>
11980 * calendar/icalendar.el (icalendar-import-format):
11981 Add `icalendar-import-format-uid' (Bug#11525).
11982 (icalendar-import-format-uid): New.
11983 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
11984 Export UID.
11985
11986 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
11987
11988 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
11989 different alternative patterns.
11990 (pcase-codegen): Be more careful to preserve identity.
11991 (pcase--u1): Don't forget to mark vars as used.
11992
11993 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
11994 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
11995 (byte-compile-from-buffer): ...rather than here.
11996
11997 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
11998 functions from byte-compile-function-environment.
11999
12000 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
12001
12002 * window.el (window-deletable-p): Avoid deleting the root window
12003 of a frame with an active minibuffer.
12004
12005 2012-05-29 Martin Rudalics <rudalics@gmx.at>
12006
12007 * simple.el (choose-completion): Use quit-window (Bug#11567).
12008
12009 2012-05-29 Chong Yidong <cyd@gnu.org>
12010
12011 * whitespace.el (whitespace-cleanup): Fix usage of
12012 whitespace-empty-at-bob-regexp (Bug#11492).
12013
12014 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
12015
12016 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
12017 revert (Bug#11488).
12018
12019 2012-05-29 Juri Linkov <juri@jurta.org>
12020
12021 * isearch.el (isearch-mode-map): Bind `M-s _' to
12022 `isearch-toggle-symbol'. Bind `M-s c' to
12023 `isearch-toggle-case-fold'.
12024 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
12025 (isearch-forward): Add `M-s _' to the docstring.
12026 (isearch-forward-symbol, isearch-toggle-case-fold)
12027 (isearch-symbol-regexp): New functions. (Bug#11381)
12028
12029 2012-05-29 Juri Linkov <juri@jurta.org>
12030
12031 * isearch.el (isearch-word): Add docstring. (Bug#11381)
12032 (isearch-occur, isearch-search-and-update): If `isearch-word' is
12033 a function, call it to get the regexp.
12034 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
12035 property `isearch-message-prefix' instead of the string "word ".
12036 (isearch-search-fun-default): For the case of `isearch-word',
12037 return a lambda that calls re-search-forward/re-search-backward
12038 with a regexp returned by `word-search-regexp' or by the function
12039 in `isearch-word'.
12040
12041 2012-05-29 Juri Linkov <juri@jurta.org>
12042
12043 * isearch.el (isearch-search-fun-default): New function.
12044 (isearch-search-fun): Move default part to the new function
12045 `isearch-search-fun-default'.
12046 (isearch-search-fun-function): Set the default value to
12047 `isearch-search-fun-default'. (Bug#11381)
12048
12049 * comint.el (comint-history-isearch-end):
12050 Use `isearch-search-fun-default'.
12051 (comint-history-isearch-search): Use `isearch-search-fun-default'
12052 and remove spacial case for `isearch-word'.
12053 (comint-history-isearch-wrap): Remove spacial case for
12054 `isearch-word'.
12055
12056 * hexl.el (hexl-isearch-search-function):
12057 Use `isearch-search-fun-default'.
12058
12059 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
12060 Use `word-search-regexp' for `isearch-word'.
12061
12062 * misearch.el (multi-isearch-search-fun):
12063 Use `isearch-search-fun-default'.
12064
12065 * simple.el (minibuffer-history-isearch-search):
12066 Use `isearch-search-fun-default' and remove spacial case for
12067 `isearch-word'.
12068 (minibuffer-history-isearch-wrap): Remove spacial case for
12069 `isearch-word'.
12070
12071 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
12072 Remove spacial case for `isearch-word'.
12073 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
12074
12075 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12076
12077 Decrease XEmacs incompatibilities.
12078 * textmodes/flyspell.el (flyspell-check-pre-word-p):
12079 Use `string-match'.
12080 (flyspell-delete-region-overlays): Use alternative definition for
12081 XEmacs.
12082 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
12083 (flyspell-word): Use `process-kill-without-query' if XEmacs.
12084 (flyspell-mode-on): Use `interactive-p' if XEmacs.
12085 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
12086 `define-obsolete-face-alias' under XEmacs, but old method.
12087
12088 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
12089 `with-no-warnings' definition or Emacs alias.
12090 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
12091 (ispell-word): Do not use `region-p' if XEmacs.
12092
12093 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12094
12095 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
12096 Check for `ispell-dictionary-base-alist' instead of full
12097 `ispell-dictionary-alist'.
12098 (ispell-init-process): Show spellchecker when starting new Ispell
12099 process.
12100
12101 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
12102
12103 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
12104 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
12105
12106 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
12107
12108 * version.el (motif-version-string, gtk-version-string)
12109 (ns-version-string): Declare.
12110
12111 2012-05-27 Juri Linkov <juri@jurta.org>
12112
12113 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
12114 after the `eval-defun-1' specialcaseing
12115 like in `edebug-eval-defun' (bug#10181).
12116
12117 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
12118 like in `eval-defun-1'.
12119
12120 2012-05-27 Eli Zaretskii <eliz@gnu.org>
12121
12122 * mail/sendmail.el (mail-yank-region):
12123 Recognize rmail-yank-current-message in addition to insert-buffer.
12124 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
12125 a *mail* buffer created through rmail-start-mail with sendmail as
12126 mail-user-agent.
12127
12128 2012-05-27 Chong Yidong <cyd@gnu.org>
12129
12130 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
12131 Default to 256 (Bug#11267).
12132
12133 * help.el (describe-mode): Doc fix.
12134
12135 2012-05-26 Glenn Morris <rgm@gnu.org>
12136
12137 * w32-fns.el (w32-init-info): Remove.
12138 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
12139
12140 * info.el (info-initialize): For self-contained NS builds, put the
12141 included info/ directory at the front. (Bug#2791)
12142
12143 * paths.el (Info-default-directory-list): Make it a defcustom,
12144 mainly so that we can use custom-initialize-delay.
12145
12146 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
12147
12148 * subr.el (buffer-has-markers-at): Mark obsolete.
12149
12150 * subr.el (lambda): Use declare.
12151
12152 * emacs-lisp/lisp-mode.el (lambda):
12153 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
12154
12155 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
12156
12157 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
12158
12159 2012-05-26 Glenn Morris <rgm@gnu.org>
12160
12161 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
12162
12163 2012-05-25 Glenn Morris <rgm@gnu.org>
12164
12165 * paths.el: Remove no-byte-compile.
12166 * loadup.el: No need to load paths.el uncompiled.
12167
12168 * image.el (imagemagick-types-inhibit): Doc fix.
12169
12170 * version.el: Remove no-byte-compile and associated formatting.
12171 * loadup.el: No need to load version.el uncompiled. AFAICS, this
12172 is ancient code from when there was an "inc-vers.el".
12173
12174 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
12175
12176 * progmodes/gdb-mi.el: Minor style changes.
12177 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
12178 Turn into minor modes.
12179 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
12180 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
12181 (gdb-shell): Remove unneeded let-binding.
12182 (gdb-get-many-fields): Eliminate O(n²) behavior.
12183
12184 2012-05-25 Eli Zaretskii <eliz@gnu.org>
12185
12186 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
12187 platforms that don't link in fontset.c.
12188
12189 2012-05-25 Juri Linkov <juri@jurta.org>
12190
12191 Use the same diff color scheme as in modern VCSes (bug#10181).
12192
12193 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
12194 to avoid confusion with `diff-added' that now uses green colors.
12195 (diff-removed): Use shades of red.
12196 (diff-added): Use shades of green.
12197 (diff-changed): Leave just the yellow color.
12198 (diff-use-changed-face): New variable.
12199 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
12200 how to highlight context diff changes.
12201 (diff-refine-change): Use shades of yellow.
12202 (diff-refine-removed): New face that uses shades of red.
12203 (diff-refine-added): New face that uses shades of green.
12204 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
12205 `diff-refine-removed' in the call to `smerge-refine-subst'
12206 depending on the value of `diff-use-changed-face'.
12207
12208 * vc/smerge-mode.el (smerge-mine): Use shades of red.
12209 (smerge-other): Use shades of green.
12210 (smerge-base): Use shades of yellow.
12211 (smerge-refined-change): Empty face.
12212 (smerge-refined-removed): New face that uses shades of red.
12213 (smerge-refined-added): New face that uses shades of green.
12214 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
12215 args `props-r' and `props-a', and use them. Doc fix.
12216 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
12217 on its value use different faces `smerge-refined-change',
12218 `smerge-refined-removed', `smerge-refined-added' in the call to
12219 `smerge-refine-subst'.
12220
12221 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
12222 Add face condition `min-colors 88' with shades of red.
12223 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
12224 `min-colors 88' with shades of green.
12225 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
12226 `min-colors 88' with shades of yellow.
12227
12228 2012-05-24 Glenn Morris <rgm@gnu.org>
12229
12230 * paths.el (prune-directory-list, remote-shell-program): Move to...
12231 * files.el (prune-directory-list, remote-shell-program): ...here.
12232 For the latter, delay initialization, prefer ssh, just search PATH.
12233
12234 * paths.el (term-file-prefix): Move to faces.el (the only user).
12235 * faces.el (term-file-prefix): Move here, make it a defcustom.
12236
12237 * paths.el (news-directory, news-path, news-inews-program):
12238 Move to gnus/nnspool.el.
12239
12240 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
12241
12242 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
12243 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
12244 Make the latter a defcustom, with a delayed initialization.
12245
12246 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
12247 These were deleted from Gnus itself late 2010.
12248
12249 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
12250
12251 * progmodes/which-func.el (which-func-ff-hook):
12252 Check against user-error, not error.
12253
12254 * emacs-lisp/edebug.el (top): Do not load or set up loading of
12255 cl-specs.el, which no longer exists.
12256
12257 2012-05-22 Glenn Morris <rgm@gnu.org>
12258
12259 * info.el (info-emacs-bug): New command.
12260 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
12261 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
12262
12263 2012-05-21 Glenn Morris <rgm@gnu.org>
12264
12265 * makefile.w32-in (update-subdirs-SH):
12266 * Makefile.in (update-subdirs): Update for moved update-subdirs.
12267
12268 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
12269
12270 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
12271
12272 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12273 Simplify Maven regexp, and make sure the file can't start with a space
12274 (bug#11517).
12275
12276 2012-05-21 Glenn Morris <rgm@gnu.org>
12277
12278 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
12279 Scrap superfluous subshells.
12280
12281 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
12282
12283 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
12284 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
12285
12286 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
12287
12288 * calc/calc.el (calc-ensure-consistent-units): New variable.
12289
12290 * calc/calc-units.el (math-consistent-units-p)
12291 (math-check-unit-consistency): New functions.
12292 (calc-quick-units, calc-convert-units):
12293 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
12294 is non-nil.
12295 (calc-extract-units): Fix typo.
12296
12297 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
12298
12299 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
12300
12301 * textmodes/flyspell.el: Commenting style, plus code simplifications.
12302 (flyspell-default-deplacement-commands): Don't spell check after
12303 repeated window/frame switches (e.g. triggered by mouse-movement).
12304 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
12305 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
12306 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
12307 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
12308 Remove unused vars.
12309 (flyspell-get-casechars, flyspell-get-not-casechars):
12310 Simplify; Don't bother removing a ] just to add it back.
12311 * textmodes/ispell.el (ispell-program-name): Use executable-find.
12312
12313 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12314
12315 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
12316 New functions.
12317 (math-function-table): Add support for more C functions.
12318
12319 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12320
12321 * textmodes/flyspell.el (flyspell-check-pre-word-p)
12322 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
12323 Protect delay handling for otherchars against empty otherchars.
12324
12325 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
12326
12327 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
12328 their respective macro declarations.
12329 * skeleton.el (define-skeleton):
12330 * progmodes/compile.el (define-compilation-mode):
12331 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
12332 (define-ibuffer-filter):
12333 * emacs-lisp/generic.el (define-generic-mode):
12334 * emacs-lisp/easy-mmode.el (define-minor-mode)
12335 (define-globalized-minor-mode):
12336 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
12337 * emacs-lisp/byte-run.el (defsubst):
12338 * custom.el (deftheme): Add doc-string metadata.
12339
12340 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12341
12342 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
12343
12344 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12345
12346 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
12347
12348 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
12349 * emacs-lisp/cl-macs.el: Idem.
12350 * emacs-lisp/cl-specs.el: Remove.
12351
12352 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12353
12354 Minor renaming of internal CL functions and variables.
12355 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
12356 (cl--position): Rename from cl-position.
12357 (cl--delete-duplicates): Rename from cl-delete-duplicates.
12358 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
12359 (cl--random-state): Rename from *random-state*.
12360
12361 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12362
12363 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
12364 parens around the arg list (bug#11499).
12365
12366 2012-05-17 Juri Linkov <juri@jurta.org>
12367
12368 * isearch.el (word-search-regexp, word-search-backward)
12369 (word-search-forward, word-search-backward-lax)
12370 (word-search-forward-lax): Move functions from search.c
12371 (bug#10145, bug#11381).
12372
12373 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12374
12375 * textmodes/flyspell.el (flyspell-check-pre-word-p)
12376 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
12377 Delay for otherchars as for normal word components.
12378
12379 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
12380
12381 * minibuffer.el (completion--sifn-requote): Fix last change.
12382 (minibuffer-local-must-match-filename-map):
12383 Move define-obsolete-variable-alias before its var.
12384
12385 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
12386
12387 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
12388
12389 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
12390 behavior.
12391 (completion--string-equal-p): New function.
12392 (completion--twq-all): Use it to get better assertion failure data.
12393
12394 Only handle ".." and '..' quoting in shell-mode (bug#11466).
12395 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
12396 (shell--requote-argument): New functions.
12397 (shell-completion-vars): Use them.
12398 (shell--parse-pcomplete-arguments): Rename from
12399 shell-parse-pcomplete-arguments.
12400 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
12401 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
12402 Obey comint-file-name-quote-list.
12403
12404 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
12405 (smie-indent-keyword): Use it.
12406
12407 2012-05-14 Stefan Merten <smerten@oekonux.de>
12408
12409 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
12410
12411 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
12412
12413 * net/rlogin.el (rlogin-mode-map): Fix last change.
12414
12415 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
12416
12417 * mail/smtpmail.el (smtpmail-send-command): Send the command and
12418 the following \r\n using a single `process-send-string', since the
12419 Lotus SMTP server refuses to accept any commands if they are sent
12420 with two `process-send-string's (Bug#11444).
12421
12422 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
12423
12424 * shell.el (shell-parse-pcomplete-arguments):
12425 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
12426
12427 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
12428
12429 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
12430 (image-transform-scale, image-transform-right-angle-fudge): New vars.
12431 (image-transform-width, image-transform-fit-width): New functions.
12432 (image-transform-properties): Use them.
12433 (image-transform-check-size): New function.
12434 (image-toggle-display-image): Use it (for testing).
12435 (image-transform-set-rotation): Reduce angle mod 360.
12436 Delete obsolete comment.
12437
12438 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
12439
12440 * image-mode.el: Fix scaling (bug#11399).
12441 (image-transform-resize): Doc fix.
12442 (image-transform-properties): Default scale is 1 and height should
12443 be an integer.
12444
12445 2012-05-13 Johan Bockgård <bojohan@gnu.org>
12446
12447 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
12448 than hard-coding `car', to fix misbehavior when moving forward.
12449
12450 2012-05-13 Chong Yidong <cyd@gnu.org>
12451
12452 * emacs-lisp/tabulated-list.el (tabulated-list-format)
12453 (tabulated-list-entries, tabulated-list-padding)
12454 (tabulated-list-sort-key): Make permanent-local.
12455
12456 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
12457 (electric-buffer-list): Put electric buffer menu
12458 command descriptions in this docstring, instead of the docstring
12459 of electric-buffer-menu-mode. Code cleanups.
12460 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
12461 Electric-buffer-menu-mode.
12462 (electric-buffer-update-highlight): Minor code cleanup.
12463
12464 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
12465
12466 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
12467 (Bug#11447)
12468
12469 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
12470
12471 Move define-obsolete-variable-alias before the var's definition.
12472 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
12473 * tooltip.el (tooltip-hook):
12474 * textmodes/reftex-toc.el (reftex-toc-map):
12475 * textmodes/reftex-sel.el (reftex-select-label-map)
12476 (reftex-select-bib-map):
12477 * textmodes/reftex-index.el (reftex-index-map)
12478 (reftex-index-phrases-map):
12479 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
12480 * progmodes/meta-mode.el (meta-mode-map):
12481 * novice.el (disabled-command-hook):
12482 * loadhist.el (unload-hook-features-list):
12483 * frame.el (blink-cursor):
12484 * files.el (find-file-not-found-hooks, write-file-hooks)
12485 (write-contents-hooks):
12486 * emulation/tpu-edt.el (GOLD-map):
12487 * emacs-lock.el (emacs-lock-from-exiting):
12488 * emacs-lisp/generic.el (generic-font-lock-defaults):
12489 * emacs-lisp/chart.el (chart-map):
12490 * dos-fns.el (register-name-alist):
12491 * dired-x.el (dired-omit-files-p):
12492 * desktop.el (desktop-enable):
12493 * cus-edit.el (custom-mode-hook):
12494 * buff-menu.el (buffer-menu-mode-hook):
12495 * bookmark.el (bookmark-read-annotation-text-func)
12496 (bookmark-exit-hooks):
12497 * allout.el (allout-mode-deactivate-hook)
12498 (allout-exposure-change-hook, allout-structure-added-hook)
12499 (allout-structure-deleted-hook, allout-structure-shifted-hook):
12500 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
12501 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
12502 comes before the corresponding variable's definition.
12503
12504 2012-05-12 Chong Yidong <cyd@gnu.org>
12505
12506 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
12507 (Buffer-menu-mouse-select): Restore function (Bug#11459).
12508 (Buffer-menu-mode-map): Bind it.
12509 (Buffer-menu--pretty-name): Add a mouse-face property.
12510
12511 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
12512
12513 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
12514 (prolog-upper-case-string, prolog-lower-case-string)
12515 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
12516 (prolog-use-smie, prolog-smie-grammar): New vars.
12517 (prolog-smie-forward-token, prolog-smie-backward-token)
12518 (prolog-smie-rules): New funs.
12519 (prolog-comment-indent): Remove.
12520 (prolog-mode-variables): Use default comment indentation instead.
12521 Setup SMIE.
12522 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
12523 (prolog-mode): Don't call them any more.
12524 (prolog-electric-colon, prolog-electric-dash)
12525 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
12526
12527 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
12528
12529 * minibuffer.el (completion--twq-all): Again, allow case differences.
12530
12531 * term.el: Move keymap initialization code to be more idiomatic.
12532 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
12533 (term-terminal-menu): Move initialization into declaration.
12534 (term-escape-char): Let the user set it in her .emacs.
12535
12536 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
12537 Provide SMIE-based indentation (not enabled by default yet).
12538 (sh-mode-map): Don't bind electric keys.
12539 Use electric-pair-mode instead of skeleton-pair.
12540 (sh-assignment-regexp): Fit within 80 columns.
12541 (sh-indent-supported): Specify actual shell name instead of boolean.
12542 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
12543 (sh-maybe-here-document): Use it. Make obsolete.
12544 (sh-electric-here-document-mode) New minor mode.
12545 (sh-mode): Use it. Don't set sh-indent-supported-here here.
12546 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
12547 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
12548 (sh-smie-rc-grammar, sh-use-smie): New vars.
12549 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
12550 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
12551 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
12552 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
12553 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
12554 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
12555 (sh-set-shell): Use smie-setup if requested.
12556
12557 * term.el (term-set-escape-char): Properly set term-escape-char.
12558 See http://stackoverflow.com/questions/10524656.
12559
12560 2012-05-10 Chong Yidong <cyd@gnu.org>
12561
12562 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
12563 Use url-generic-parse-url, and handle host names and Windows
12564 filenames properly.
12565 (ffap-url-unwrap-remote): Use url-generic-parse-url.
12566 (ffap-url-unwrap-remote): Accept list values, specifying a list of
12567 URL schemes to work on.
12568 (ffap--toggle-read-only): New function.
12569 (ffap-read-only, ffap-read-only-other-window)
12570 (ffap-read-only-other-frame): Use it.
12571 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
12572 necessary for ffap-url-unwrap-remote.
12573
12574 2012-05-10 Dave Abrahams <dave@boostpro.com>
12575
12576 * cus-start.el (create-lockfiles): Add it.
12577
12578 2012-05-09 Chong Yidong <cyd@gnu.org>
12579
12580 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
12581 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
12582
12583 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
12584
12585 * shell.el (shell-completion-vars): Fix last change (bug#11348).
12586
12587 2012-05-09 Chong Yidong <cyd@gnu.org>
12588
12589 * ansi-color.el (ansi-color-process-output): Check for validity of
12590 comint-last-output-start before using it. This avoids a bad
12591 interaction with gdb-mi's input/output buffer.
12592
12593 2012-05-09 Glenn Morris <rgm@gnu.org>
12594
12595 * files.el (dir-locals-read-from-file):
12596 Mention dir-locals in any error message.
12597
12598 2012-05-09 Chong Yidong <cyd@gnu.org>
12599
12600 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
12601 package (Bug#11410).
12602
12603 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
12604 variables into description.
12605
12606 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
12607
12608 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
12609 shell-delimiter-argument-list (bug#11348).
12610 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
12611
12612 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
12613
12614 * textmodes/rst.el: Silence byte-compiler warnings.
12615 (rst-re-alist, rst-reset-section-caches): Move around.
12616 (rst-re): Use `characterp', not `char-valid-p'.
12617 (font-lock-beg, font-lock-end): Declare.
12618
12619 * progmodes/idlw-shell.el (specs): Remove reference to deleted
12620 variable `idlwave-shell-activate-alt-keybindings' and simplify.
12621
12622 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
12623
12624 2012-05-08 Glenn Morris <rgm@gnu.org>
12625
12626 * files.el (auto-mode-alist): Treat ".make" like ".mk".
12627
12628 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12629
12630 * vc/log-edit.el: Add GNU coding standards highlighting.
12631 (log-edit-font-lock-gnu-style)
12632 (log-edit-font-lock-gnu-keywords): New vars.
12633 (log-edit-font-lock-keywords): New fun.
12634 (log-edit-mode): Don't fold case in font-lock.
12635 (log-edit-font-lock-keywords): Do not assume case-folding.
12636
12637 * imenu.el: Misc cleanup. Make docstrings out of comments.
12638 Use lexical-binding.
12639 (imenu--index-alist, imenu--last-menubar-index-alist)
12640 (imenu-menubar-modified-tick): Use defvar-local.
12641 (imenu--split-menu): Remove unused var.
12642 (imenu--cleanup-seen): Declare as global.
12643 (imenu--cleanup): Use dolist.
12644
12645 * subr.el (defvar-local): Add debug spec and doc-string position.
12646
12647 2012-05-08 Glenn Morris <rgm@gnu.org>
12648
12649 * language/burmese.el, language/cham.el, language/czech.el:
12650 * language/english.el, language/georgian.el, language/greek.el:
12651 * language/japanese.el, language/khmer.el, language/korean.el:
12652 * language/lao.el, language/misc-lang.el, language/romanian.el:
12653 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
12654 * language/thai.el, language/utf-8-lang.el:
12655 Remove no-byte-compile setting.
12656
12657 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
12658
12659 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
12660
12661 * progmodes/make-mode.el (makefile-browse):
12662 Remove unnecessary interactive. (Bug#11324)
12663
12664 2012-05-07 Glenn Morris <rgm@gnu.org>
12665
12666 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
12667
12668 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
12669
12670 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
12671
12672 * loadup.el: Preload newcomment.el.
12673 * newcomment.el: Move autoload-only code to toplevel.
12674
12675 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
12676 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
12677 Handle new :right-align column property.
12678 (tabulated-list-print-col): Idem, plus use `display' text-property to
12679 try and preserve alignment for variable pitch fonts.
12680
12681 2012-05-07 Chong Yidong <cyd@gnu.org>
12682
12683 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
12684 (tabulated-list-use-header-line): New var.
12685 (tabulated-list-init-header): Use it.
12686 (tabulated-list-print-fake-header): New function.
12687 (tabulated-list-print): Use it.
12688 (tabulated-list-sort-button-map): Add non-header-line commands.
12689 (tabulated-list-init-header): Add column name property to basic
12690 labels as well.
12691 (tabulated-list-col-sort): Handle non-header-line button case.
12692 (tabulated-list--sort-by-column-name): Fix a corner case.
12693
12694 * buff-menu.el (list-buffers--refresh):
12695 Handle Buffer-menu-use-header-line.
12696
12697 2012-05-06 Chong Yidong <cyd@gnu.org>
12698
12699 * buff-menu.el: Convert to Tabulated List mode.
12700 (Buffer-menu-buffer+size-width): Make obsolete.
12701 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
12702 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
12703 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
12704 documentation into docstring of buffer-menu.
12705 (Buffer-menu-toggle-files-only): Add an informative message.
12706 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
12707 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
12708 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
12709 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
12710 (Buffer-menu-execute, Buffer-menu-select)
12711 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
12712 (Buffer-menu-bury): Use Tabulated List machinery.
12713 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
12714 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
12715 Delete.
12716 (list-buffers--refresh): New function.
12717 (list-buffers-noselect): Use it.
12718 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
12719 (Buffer-menu--pretty-file-name): New helper functions.
12720
12721 * loadup.el: Preload tabulated-list.
12722
12723 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
12724 tabulated-list-sort-column.
12725 (tabulated-list-init-header): Add the initial aligning space even
12726 if tabulated-list-padding is zero.
12727
12728 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
12729
12730 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
12731 whose cdr is not a cons cell correctly (bug#11038).
12732
12733 2012-05-06 Chong Yidong <cyd@gnu.org>
12734
12735 * emacs-lisp/tabulated-list.el (tabulated-list-format):
12736 Accept additional plist in column descriptors.
12737 (tabulated-list-init-header): Obey it.
12738 (tabulated-list-get-entry): New function.
12739 (tabulated-list-put-tag): Use it. Use string-width instead of
12740 length.
12741 (tabulated-list--column-number): New function.
12742 (tabulated-list-print): Use it.
12743 (tabulated-list-print-col): New function.
12744 Set `tabulated-list-column-name' property on each column's text.
12745 (tabulated-list-print-entry): Use it.
12746 (tabulated-list-delete-entry, tabulated-list-set-col):
12747 New functions.
12748 (tabulated-list-sort-column): New command (Bug#11337).
12749
12750 * buff-menu.el (list-buffers): Move C-x C-b binding from
12751 buff-menu.el to bindings.el.
12752
12753 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
12754 :advertised-binding feature.
12755
12756 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
12757
12758 * progmodes/compile.el (compilation-internal-error-properties):
12759 Calculate start position correctly when end-col is set but
12760 end-line is not (Bug#11382).
12761
12762 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
12763
12764 * man.el (Man-unindent): Use text-property-default-nonsticky to
12765 prevent untabify from inheriting face properties (Bug#11408).
12766
12767 2012-05-05 Stefan Merten <smerten@oekonux.de>
12768
12769 * textmodes/rst.el: Major merge with upstream development up to
12770 Docutils SVN r7399 / rst.el V1.2.1.
12771
12772 Clarify maintainership and authors.
12773
12774 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
12775 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
12776 (rst-official-version, rst-official-cvs-rev, rst-version)
12777 (rst-package-emacs-version-alist): New functions and variables
12778 for version information.
12779
12780 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
12781 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
12782 (rst-mode-syntax-table, rst-mode): New and corrected functions
12783 and variables representing reStructuredText features.
12784
12785 (rst-re): New function for reStructuredText regexes. Use in
12786 many places.
12787
12788 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
12789 (rst-mode-map): Rebind keys.
12790
12791 (rst-mode-lazy, rst-font-lock-keywords)
12792 (rst-font-lock-extend-region)
12793 (rst-font-lock-extend-region-internal)
12794 (rst-font-lock-extend-region-extend)
12795 (rst-font-lock-find-unindented-line-limit)
12796 (rst-font-lock-find-unindented-line-match)
12797 (rst-adornment-level, rst-font-lock-adornment-level)
12798 (rst-font-lock-adornment-match)
12799 (rst-font-lock-handle-adornment-pre-match-form)
12800 (rst-font-lock-handle-adornment-matcher): Major revision of
12801 font-locking. Integrate with other code. Use `jit-lock-mode'.
12802
12803 (rst-preferred-adornments, rst-adjust-hook)
12804 (rst-new-adornment-down, rst-preferred-bullets)
12805 (rst-preferred-bullets, rst-indent, rst-indent-width)
12806 (rst-indent-field, rst-indent-literal-normal)
12807 (rst-indent-literal-minimized, rst-indent-comment): Change,
12808 extend and improve customization.
12809
12810 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
12811 (rst-normalize-cursor-position, rst-get-decoration)
12812 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
12813 (rst-rstrip, rst-toc-insert-find-delete-contents)
12814 (rst-shift-fill-region, rst-compute-bullet-tabs)
12815 (rst-debug-print-tabs, rst-debug-mark-found)
12816 (rst-shift-region-guts, rst-shift-region-right)
12817 (rst-shift-region-left, rst-use-char-classes)
12818 (rst-font-lock-keywords-function)
12819 (rst-font-lock-indentation-point)
12820 (rst-font-lock-find-unindented-line-begin)
12821 (rst-font-lock-find-unindented-line-end)
12822 (rst-font-lock-find-unindented-line)
12823 (rst-font-lock-adornment-point, rst-font-lock-level)
12824 (rst-adornment-level-alist): Remove functions and variables.
12825
12826 (rst-compare-adornments, rst-get-adornment-match)
12827 (rst-suggest-new-adornment, rst-get-adornments-around)
12828 (rst-adornment-complete-p, rst-get-next-adornment)
12829 (rst-adjust-adornment, rst-display-adornments-hierarchy)
12830 (rst-straighten-adornments): Standardize function names to
12831 use "adornment" instead of "decoration". Correct callers.
12832 Similar standardizing in many places.
12833
12834 (rst-update-section, rst-adjust, rst-promote-region)
12835 (rst-enumerate-region, rst-bullet-list-region)
12836 (rst-repeat-last-character): Correct use of `interactive'.
12837
12838 (rst-classify-adornment, rst-find-all-adornments)
12839 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
12840 (rst-find-leftmost-column, rst-repeat-last-character):
12841 Refactor functions.
12842
12843 (rst-find-title-line, rst-reset-section-caches)
12844 (rst-get-adornments-around, rst-adjust-adornment-work)
12845 (rst-arabic-to-roman, rst-roman-to-arabic)
12846 (rst-insert-list-pos, rst-insert-list-new-item)
12847 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
12848 New functions.
12849
12850 (rst-all-sections, rst-section-hierarchy)
12851 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
12852 New variables.
12853
12854 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
12855 configuration instead of only buffer. Change where necessary.
12856
12857 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
12858 (rst-shift-region, rst-adaptive-fill): New functions for
12859 indentation and filling.
12860
12861 (rst-comment-line-break, rst-comment-indent)
12862 (rst-comment-insert-comment, rst-comment-region)
12863 (rst-uncomment-region): New functions for handling comments.
12864
12865 (rst-compile): Quote shell arguments.
12866
12867 (rst-compile-pdf-preview, rst-compile-slides-preview):
12868 Delete temporary files after use.
12869
12870 2012-05-05 Glenn Morris <rgm@gnu.org>
12871
12872 * calendar/cal-html.el: Optionally include holidays in the output.
12873 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
12874 (cal-html-holidays): New option.
12875 (cal-html-css-default): Add holiday entry.
12876 (holiday-in-range): Autoload it.
12877 (cal-html-htmlify-entry): Add optional class argument.
12878 (cal-html-htmlify-list): Add optional holidays argument.
12879 (cal-html-insert-agenda-days): Include holidays in the output.
12880 (cal-html-one-month): Maybe include holidays.
12881
12882 * calendar/holidays.el (holiday-in-range):
12883 Move here from cal-tex-list-holidays.
12884 * calendar/cal-tex.el (cal-tex-list-holidays):
12885 Make it an obsolete alias for holiday-in-range. Update all callers.
12886
12887 2012-05-05 Chong Yidong <cyd@gnu.org>
12888
12889 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
12890 Nextstep.
12891
12892 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
12893
12894 * files.el (file-auto-mode-skip): New var.
12895 (set-auto-mode-1): Use it.
12896
12897 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
12898
12899 * repeat.el: Use lexical-binding.
12900 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
12901 (repeat-undo-count): Remove.
12902 (repeat):
12903 * progmodes/octave-mod.el (octave-abbrev-start):
12904 * progmodes/f90.el (f90-abbrev-start):
12905 * face-remap.el (text-scale-adjust):
12906 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
12907
12908 * emacs-lisp/pcase.el (pcase--let*): New function.
12909 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
12910 a bit more.
12911 (pcase--split-pred): Be more clever about ruling out overlap between
12912 a predicate and some constant pattern.
12913 (pcase--q1): Use `null' instead of (eq foo nil).
12914
12915 * subr.el (setq-local, defvar-local): New macros.
12916 (kbd): Redefine as an alias.
12917 (with-selected-window): Leave unrelated frames alone.
12918 (set-temporary-overlay-map): New function.
12919
12920 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
12921
12922 * subr.el (user-error): New function.
12923 * window.el (switch-to-buffer):
12924 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
12925 (smerge-match-conflict):
12926 * simple.el (previous-matching-history-element)
12927 (next-matching-history-element, goto-history-element, undo-more)
12928 (undo-start):
12929 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
12930 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
12931 (next-file, tags-loop-scan, list-tags, complete-tag):
12932 * progmodes/compile.el (compilation-loop):
12933 * mouse.el (mouse-minibuffer-check):
12934 * man.el (Man-bgproc-sentinel, Man-goto-page):
12935 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
12936 (Info-history-forward, Info-follow-reference, Info-menu)
12937 (Info-extract-menu-item, Info-extract-menu-counting)
12938 (Info-forward-node, Info-backward-node, Info-next-menu-item)
12939 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
12940 (Info-next-reference, Info-prev-reference, Info-index)
12941 (Info-index-next, Info-follow-nearest-node)
12942 (Info-copy-current-node-name):
12943 * imenu.el (imenu--make-index-alist)
12944 (imenu-default-create-index-function, imenu-add-to-menubar):
12945 * files.el (basic-save-buffer, recover-file):
12946 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
12947 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
12948 (checkdoc-message-text, checkdoc-defun):
12949 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
12950 * cus-edit.el (customize-changed-options, customize-rogue)
12951 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
12952 (custom-variable-mark-to-reset-standard)
12953 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
12954 (custom-file):
12955 * completion.el (check-completion-length):
12956 * comint.el (comint-search-arg)
12957 (comint-previous-matching-input-string-position)
12958 (comint-previous-matching-input)
12959 (comint-replace-by-expanded-history-before-point, comint-send-input)
12960 (comint-copy-old-input, comint-backward-matching-input)
12961 (comint-goto-process-mark, comint-set-process-mark):
12962 * calendar/calendar.el (calendar-cursor-to-date): Use it.
12963 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
12964
12965 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
12966
12967 * dabbrev.el (dabbrev--ignore-case-p): New function.
12968 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
12969 Use it.
12970
12971 * files.el (automount-dir-prefix): Mark as obsolete.
12972
12973 2012-05-04 Glenn Morris <rgm@gnu.org>
12974
12975 * patcomp.el, play/bruce.el: Move to obsolete/.
12976
12977 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
12978
12979 Fix minor Y10k bugs.
12980 * arc-mode.el (archive-unixdate):
12981 * autoinsert.el (auto-insert-alist):
12982 * calc/calc-forms.el (math-this-year):
12983 * emacs-lisp/copyright.el (copyright-current-year)
12984 (copyright-update-year, copyright):
12985 * tar-mode.el (tar-clip-time-string):
12986 * time.el (display-time-update):
12987 Don't assume years have 4 digits.
12988
12989 2012-05-04 Chong Yidong <cyd@gnu.org>
12990
12991 * dos-w32.el (file-name-buffer-file-type-alist)
12992 (direct-print-region-use-command-dot-com):
12993 * ffap.el (ffap-menu-regexp):
12994 * find-file.el (ff-special-constructs):
12995 * follow.el (follow-debug):
12996 * forms.el (forms--debug):
12997 * iswitchb.el (iswitchb-all-frames):
12998 * ido.el (ido-all-frames):
12999 * emacs-lisp/timer.el (timer-max-repeats):
13000 * mail/feedmail.el (feedmail-mail-send-hook)
13001 (feedmail-mail-send-hook-queued):
13002 * mail/footnote.el (footnote-signature-separator):
13003 * mail/mailabbrev.el (mail-alias-separator-string)
13004 (mail-abbrev-mode-regexp):
13005 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
13006 * progmodes/idlwave.el (idlwave-libinfo-file)
13007 (idlwave-default-completion-case-is-down)
13008 (idlwave-library-routines): Convert defvars to defcustoms.
13009
13010 * mail/rmail.el (rmail-decode-mime-charset):
13011 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
13012 (idlwave-shell-fix-inserted-breaks)
13013 (idlwave-shell-activate-alt-keybindings)
13014 (idlwave-shell-use-breakpoint-glyph):
13015 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
13016
13017 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
13018
13019 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
13020
13021 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
13022
13023 * progmodes/verilog-mode.el (font-lock-keywords):
13024 Fix mis-highligting auto. Reported by Craig Barner.
13025 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
13026 defines from global name space. Reported by Dan Dever.
13027 (verilog-auto-reset, verilog-auto-reset-widths)
13028 (verilog-auto-tieoff): Support using unbased numbers for
13029 AUTORESET and AUTOTIEOFF.
13030 (verilog-submit-bug-report): Update variable list.
13031 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
13032 parenthesis from not matching. Reported by Michael Rytting.
13033 (verilog-auto-template-lint): Fix hash error when linting modules
13034 with no used templates.
13035 (verilog-warn, verilog-warn-error)
13036 (verilog-warn-fatal): When non-interactive report multiple
13037 warnings before exiting. Suggested by Brad Dobbie.
13038 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
13039 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
13040 to report unused template errors. Reported by Brad Dobbie.
13041 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
13042 nets, bug438. Reported by Vns Blore.
13043 (verilog-auto-inout-module, verilog-auto-reg)
13044 (verilog-read-decls, verilog-read-sub-decls-sig)
13045 (verilog-signals-edit-wire-reg, verilog-signals-with):
13046 Fix passing of Verilog data types in ANSI input/output ports
13047 such as "output logic" into the AUTOs. Special case "wire" and
13048 "reg" for backwards compatibility presuming Verilog 2001.
13049 (verilog-auto-ascii-enum): Add "auto enum" as alias.
13050 (verilog-preprocess): Fix replication of preprocess output.
13051 Reported by Brad Dobbie.
13052 (verilog-auto-inst-interfaced-ports):
13053 Create verilog-auto-inst-interfaced-ports, bug429.
13054 Reported by Julian Gorfajn.
13055 (verilog-after-save-font-hook)
13056 (verilog-before-save-font-hook): New variable.
13057 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
13058 (verilog-save-font-mods): Wrap disabling fontification, reported
13059 by David Rogoff.
13060 (verilog-do-indent, verilog-pretty-declarations-auto)
13061 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
13062 Reported by Pierre-David Pfister.
13063 (verilog-set-auto-endcomments): Fix endtask auto comments outside
13064 of class declarations, bug292. Reported by Kevin Heilman.
13065 (verilog-read-decls): Fix 'parameter type' not appearing in
13066 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
13067 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
13068 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
13069 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
13070 Reported by David Kravitz.
13071
13072 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
13073
13074 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
13075 assignment with tests in ifs and for loops.
13076 (verilog-extended-complete-re, verilog-complete-reg): Change so
13077 that DPI inport functions don't look like fuction declarations.
13078 (verilog-pretty-expr): Don't line up assignment
13079 operations to the test and increment in if and for loops
13080 (verilog-extended-complete-re, verilog-complete-reg): Change so
13081 that DPI inport functions don't look like fuction declarations.
13082
13083 2012-05-03 Kenichi Handa <handa@m17n.org>
13084
13085 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
13086 decoding, and show a warning message without signaling an error
13087 (Bug#11282).
13088
13089 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
13090
13091 * emacs-lisp/bytecomp.el
13092 (byte-compile-file-form-custom-declare-variable): Compile all elements,
13093 since cconv.el might have introduced :fun-body, internal-make-closure,
13094 and friends for bytecomp to handle (bug#11391).
13095 * custom.el (defcustom): Avoid ((λ ..) ..).
13096
13097 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
13098
13099 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
13100
13101 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
13102
13103 * notifications.el (dbus-debug):
13104 * term/linux.el (gpm-mouse-enable):
13105 * term/screen.el (xterm-register-default-colors): Declare.
13106
13107 2012-05-02 Chong Yidong <cyd@gnu.org>
13108
13109 * cus-start.el (gc-cons-percentage, exec-suffixes)
13110 (dos-display-scancodes, dos-hyper-key, dos-super-key)
13111 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
13112 (make-cursor-line-fully-visible, void-text-area-pointer)
13113 (font-list-limit): Add customization data.
13114
13115 * allout.el (allout-exposure-change-functions)
13116 (allout-structure-added-functions)
13117 (allout-structure-deleted-functions)
13118 (allout-structure-shifted-functions): Rename abnormal hooks from
13119 *-hook, and convert to defcustoms.
13120 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
13121 Convert to defcustoms.
13122 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
13123
13124 * allout-widgets.el: Hook callers changed.
13125
13126 2012-05-02 Eli Zaretskii <eliz@gnu.org>
13127
13128 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
13129 the yanked message in preference to the default value of
13130 buffer-file-coding-system.
13131
13132 2012-05-02 Martin Rudalics <rudalics@gmx.at>
13133
13134 * window.el (display-buffer--action-function-custom-type):
13135 Fix entry.
13136
13137 2012-05-02 Alan Mackenzie <acm@muc.de>
13138
13139 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
13140
13141 2012-05-01 Glenn Morris <rgm@gnu.org>
13142
13143 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
13144
13145 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
13146
13147 * cus-edit.el (custom-variable-documentation): Simplify with format.
13148
13149 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
13150 Stefan Monnier <monnier@iro.umontreal.ca>
13151
13152 * simple.el (suggest-key-bindings, execute-extended-command):
13153 Move from keyboard.c.
13154
13155 2012-05-01 Chong Yidong <cyd@gnu.org>
13156
13157 * follow.el: Eliminate advice.
13158 (set-process-filter, process-filter, sit-for): Advice deleted.
13159 (follow-mode-off-hook): Obsolete hook removed.
13160 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
13161 Vars deleted.
13162 (follow-auto): Use a :set function.
13163 (follow-mode): Rewritten. Don't advise process filters.
13164 (follow-switch-to-current-buffer-all, follow-scroll-up)
13165 (follow-scroll-down): Assume follow-mode is bound.
13166 (follow-comint-scroll-to-bottom)
13167 (follow-align-compilation-windows): New functions.
13168 (follow--window-sorter): New function.
13169 (follow-all-followers): Use it to explicitly sort windows by their
13170 positions; don't make assumptions about next-window order.
13171 (follow-windows-start-end, follow-delete-other-windows-and-split)
13172 (follow-calc-win-start): Doc fix.
13173 (follow-windows-aligned-p, follow-select-if-visible): Don't call
13174 vertical-motion unnecessarily.
13175 (follow-adjust-window): New function.
13176 (follow-post-command-hook): Use it.
13177 (follow-call-set-process-filter, follow-call-process-filter)
13178 (follow-intercept-process-output, follow-tidy-process-filter-alist)
13179 (follow-stop-intercept-process-output, follow-generic-filter):
13180 Functions deleted.
13181 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
13182 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
13183 New functions, replacing advice on scroll-bar-* commands.
13184 (follow-mwheel-scroll): New function (Bug#4112).
13185
13186 * comint.el (comint-adjust-point): New function.
13187 (comint-postoutput-scroll-to-bottom): Use it.
13188 Call follow-comint-scroll-to-bottom for Follow mode buffers.
13189
13190 2012-05-01 Glenn Morris <rgm@gnu.org>
13191
13192 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
13193 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
13194 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
13195 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
13196 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
13197 Remove no-byte-compile setting.
13198
13199 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
13200
13201 * minibuffer.el (completion-table-with-quoting): Fix compatibility
13202 all-completions code to not return a number in the last cdr.
13203
13204 2012-04-30 Leo Liu <sdl.web@gmail.com>
13205
13206 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
13207 read-only error.
13208
13209 2012-04-29 Chong Yidong <cyd@gnu.org>
13210
13211 * follow.el (follow-calc-win-end): Rewrite to handle partial
13212 screen lines correctly (Bug#8390).
13213 (follow-avoid-tail-recenter): Minor cleanup.
13214
13215 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
13216
13217 Avoid the obsolete `assoc' package.
13218 * speedbar.el (speedbar-refresh): Avoid adelete.
13219 (speedbar-file-lists): Simplify and avoid aput.
13220 * man.el (Man--sections, Man--refpages): New vars, replacing
13221 Man-sections-alist and Man-refpages-alist.
13222 (Man-build-section-alist, Man-build-references-alist):
13223 Use them; avoid aput.
13224 (Man--last-section, Man--last-refpage): New vars.
13225 (Man-follow-manual-reference): Use them.
13226 Use the `default' arg of completing-read.
13227 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
13228
13229 2012-04-27 Chong Yidong <cyd@gnu.org>
13230
13231 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
13232
13233 * startup.el (x-apply-session-resources): New function.
13234
13235 * term/ns-win.el (ns-initialize-window-system):
13236 * term/w32-win.el (w32-initialize-window-system):
13237 * term/x-win.el (x-initialize-window-system): Use it to properly
13238 set menu-bar-mode and other vars from X resources, even if the
13239 initial frame is not a window-system frame (Bug#2299).
13240
13241 * subr.el (read-key): Avoid running filter function when setting
13242 up temporary tool bar entries (Bug#9922).
13243
13244 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
13245
13246 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
13247 (Bug#11344)
13248
13249 2012-04-27 Chong Yidong <cyd@gnu.org>
13250
13251 * select.el (xselect--encode-string): New function, split from
13252 xselect-convert-to-string.
13253 (xselect-convert-to-string): Use it.
13254 (xselect-convert-to-filename, xselect-convert-to-os)
13255 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
13256 returned strings are properly encoded (Bug#11315).
13257
13258 2012-04-27 Chong Yidong <cyd@gnu.org>
13259
13260 * simple.el (delete-active-region): Move to killing custom group.
13261
13262 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
13263
13264 * progmodes/which-func.el (which-func-current): Quote %
13265 characters for mode-line processing.
13266
13267 2012-04-27 Chong Yidong <cyd@gnu.org>
13268
13269 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
13270 reaching eob (Bug#11286).
13271
13272 2012-04-27 Eli Zaretskii <eliz@gnu.org>
13273
13274 * progmodes/gdb-mi.el (gdb-control-level): New variable.
13275 (gdb): Make it buffer-local and init to zero.
13276 (gdb-control-commands-regexp): New variable.
13277 (gdb-send): Don't wrap in "-interpreter-exec console" if
13278 gdb-control-level is positive. Increment gdb-control-level
13279 whenever the command matches gdb-control-commands-regexp, and
13280 decrement it each time the command is "end". (Bug#11279)
13281
13282 2012-04-27 Martin Rudalics <rudalics@gmx.at>
13283
13284 * window.el (adjust-window-trailing-edge, enlarge-window)
13285 (shrink-window, window-resize):
13286 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
13287 windows (Bug#11276).
13288
13289 2012-04-27 Chong Yidong <cyd@gnu.org>
13290
13291 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
13292 fix "missing prefix" warning. All callers changed.
13293
13294 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
13295
13296 * emacs-lisp/assoc.el: Move to obsolete/.
13297
13298 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
13299
13300 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
13301
13302 * term/ns-win.el (ns-define-service):
13303 * progmodes/pascal.el (pascal-goto-defun):
13304 * progmodes/js.el (js--read-tab):
13305 * progmodes/etags.el (tags-lazy-completion-table):
13306 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
13307 * emacs-lisp/ewoc.el (ewoc--wrap):
13308 * emacs-lisp/assoc.el (aput, adelete, amake):
13309 * doc-view.el (doc-view-convert-current-doc):
13310 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
13311
13312 2012-04-26 Chong Yidong <cyd@gnu.org>
13313
13314 * image.el (image-type-from-buffer): Only return supported image
13315 type (Bug#9045).
13316
13317 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
13318 value, for symmetry with diff-end-of-hunk.
13319 (diff-split-hunk, diff-find-source-location)
13320 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
13321 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
13322 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
13323 compute the relevant hunk or file properly (Bug#6005).
13324 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
13325
13326 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
13327
13328 * vc/vc-mtn.el:
13329 * vc/vc-hg.el:
13330 * vc/vc-git.el:
13331 * vc/vc-dir.el:
13332 * vc/vc-cvs.el:
13333 * vc/vc-bzr.el:
13334 * vc/vc-arch.el:
13335 * vc/vc.el: Replace lexical-let by lexical-binding.
13336 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
13337 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
13338 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
13339
13340 2012-04-26 Chong Yidong <cyd@gnu.org>
13341
13342 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
13343 (diff-mode-shared-map): Bind it to / and [remap undo].
13344
13345 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
13346 (ediff-window-setup-function): Use it as the default, to set up
13347 windows based on whether the current frame is graphical (Bug#2138).
13348 (ediff-choose-window-setup-function-automatically): Make obsolete.
13349
13350 * vc/ediff-init.el: Always define ediff-pixel-width/height.
13351
13352 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
13353
13354 * ffap.el: Remove old code for obsolete package.
13355 (ffap-complete-as-file-p): Remove.
13356
13357 Use completion-table-with-quoting for comint and pcomplete.
13358 * comint.el (comint--unquote&requote-argument)
13359 (comint--unquote-argument, comint--requote-argument): New functions.
13360 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
13361 (comint-quote-filename): Use regexp-opt-charset.
13362 (comint--common-suffix, comint--common-quoted-suffix)
13363 (comint--table-subvert): Remove.
13364 (comint-unquote-function, comint-requote-function): New vars.
13365 (comint--complete-file-name-data): Use them with
13366 completion-table-with-quoting.
13367 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
13368 * pcomplete.el (pcomplete-arg-quote-list)
13369 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
13370 (pcomplete-unquote-argument-function): Default to non-nil.
13371 (pcomplete-unquote-argument): Simplify.
13372 (pcomplete--common-quoted-suffix): Remove.
13373 (pcomplete-requote-argument-function): New var.
13374 (pcomplete--common-suffix): New function.
13375 (pcomplete-completions-at-point): Use completion-table-with-quoting
13376 and completion-table-subvert.
13377
13378 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
13379 (minibuffer--double-dollars): Preserve properties.
13380 (completion--sifn-requote): New function.
13381 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
13382
13383 * minibuffer.el: Add support for completion of quoted/escaped data.
13384 (completion-table-with-quoting, completion-table-subvert): New funs.
13385 (completion--twq-try, completion--twq-all): New functions.
13386 (completion--nth-completion): New function.
13387 (completion-try-completion, completion-all-completions): Use it.
13388
13389 2012-04-25 Leo Liu <sdl.web@gmail.com>
13390
13391 * progmodes/python.el (python-pdbtrack-get-source-buffer):
13392 Use compilation-message if available to find real filename.
13393
13394 2012-04-25 Chong Yidong <cyd@gnu.org>
13395
13396 * vc/diff-mode.el (diff-setup-whitespace): New function.
13397 (diff-mode): Use it.
13398
13399 * vc/diff.el (diff-sentinel):
13400 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
13401 Whitespace mode variables based on diff style (Bug#8612).
13402
13403 2012-04-25 Leo Liu <sdl.web@gmail.com>
13404
13405 * progmodes/python.el (python-send-region): Add suffix .py to the
13406 temp file.
13407
13408 * files.el (auto-mode-alist): Use javascript-mode instead.
13409
13410 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
13411
13412 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
13413
13414 * net/soap-client.el (soap-resolve-references-for-sequence-type)
13415 (soap-resolve-references-for-array-type): Hack to prevent self
13416 references, see Bug#9.
13417 (soap-parse-envelope): Report the contents of the 'detail' node
13418 when receiving a fault reply.
13419 (soap-parse-envelope): Report the contents of the entire 'detail' node.
13420
13421 * net/soap-inspect.el (soap-sample-value-for-simple-type)
13422 (soap-inspect-simple-type): New function.
13423
13424 * net/soap-client.el (soap-simple-type): New struct.
13425 (soap-default-xsd-types, soap-default-soapenc-types)
13426 (soap-decode-basic-type, soap-encode-basic-type):
13427 support unsignedInt and double basic types.
13428 (soap-resolve-references-for-simple-type)
13429 (soap-parse-simple-type, soap-encode-simple-type): New function.
13430 (soap-parse-schema): Parse xsd:simpleType declarations.
13431
13432 * net/soap-client.el (soap-default-xsd-types)
13433 (soap-default-soapenc-types): Add integer, byte and anyURI types.
13434 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
13435 the local name of "soapenc:Array".
13436 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
13437 decoding integer, byte and anyURI xsd types.
13438
13439 2012-04-25 Chong Yidong <cyd@gnu.org>
13440
13441 * cus-edit.el (custom-buffer-create-internal): Update header text.
13442
13443 2012-04-25 Eli Zaretskii <eliz@gnu.org>
13444
13445 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
13446 settings on 'system-type', not on 'window-system'. On MS-Windows,
13447 set interactive-mode on in GDB.
13448
13449 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
13450
13451 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
13452 (ruby-syntax-propertize-regexp): Remove.
13453 (ruby-syntax-propertize-function): Split regexp into chunks.
13454 Match following code directly.
13455
13456 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
13457
13458 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
13459 (ruby-syntax-propertize-regexp): New function.
13460 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
13461 by a special keyword.
13462
13463 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
13464 (ruby-syntax-general-delimiters-goto-beg)
13465 (ruby-syntax-propertize-general-delimiters): New functions.
13466 (ruby-syntax-propertize-function): Use them to handle GDL.
13467 (ruby-font-lock-keywords): Move old handling of GDL...
13468 (ruby-font-lock-syntactic-keywords): .. to here.
13469 (ruby-calculate-indent): Adjust indentation for GDL.
13470
13471 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
13472
13473 * notifications.el (top): Remove unneeded declarations.
13474 (notifications-specification-version): Change to "1.2".
13475 (notifications-interface, notifications-notify-method)
13476 (notifications-close-notification-method): Fix docstring.
13477 (notifications-get-capabilities-method): New defconst.
13478 (notifications-notify): Add :action-items, :resident and
13479 :transient hints. Change "image_data" to "image-data" and
13480 "image_path" to "image-path".
13481 (notifications-get-capabilities): New defun.
13482
13483 2012-04-24 Leo Liu <sdl.web@gmail.com>
13484
13485 * progmodes/python.el: Move hideshow setup to the end.
13486
13487 2012-04-24 Martin Rudalics <rudalics@gmx.at>
13488
13489 * window.el (handle-select-window): Clear echo area since this is
13490 no more done by read_char (Bug#11304).
13491
13492 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
13493
13494 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
13495 and `/ M' to filter-derived-mode.
13496 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
13497 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
13498 (ibuffer-mark-by-mode): Use default rather than initial-input.
13499 (ibuffer-filter-by-derived-mode): Autoload and require-match.
13500
13501 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
13502
13503 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
13504 (ibuffer-filter-by-derived-mode): New filter.
13505 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
13506
13507 2012-04-23 Andreas Politz <politza@fh-trier.de>
13508
13509 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
13510
13511 2012-04-23 Chong Yidong <cyd@gnu.org>
13512
13513 * cus-edit.el (customize-apropos, customize-apropos-options):
13514 Disable matching of non-option variables (Bug#11176).
13515 (customize-option, customize-option-other-window)
13516 (customize-changed-options): Doc fix.
13517 (customize-apropos-options, customize-apropos-faces)
13518 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
13519
13520 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
13521 Fix word list splitting (Bug#11132).
13522 (apropos-symbol, apropos-keybinding, apropos-label)
13523 (apropos-property, apropos-function-button)
13524 (apropos-variable-button, apropos-misc-button): New faces.
13525 (apropos-symbol-face, apropos-keybinding-face)
13526 (apropos-label-face, apropos-property-face, apropos-match-face):
13527 Variables removed (Bug#8396).
13528 (apropos-library-button, apropos-format-plist, apropos-print)
13529 (apropos-print-doc, apropos-describe-plist): Callers changed.
13530
13531 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
13532
13533 * net/xesam.el (xesam-mode-map): Use let-bound map in
13534 initialization. (Bug#11292)
13535
13536 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13537
13538 Preserve ispell session localwords when switching back to
13539 original buffer.
13540
13541 * textmodes/ispell.el (ispell-buffer-session-localwords):
13542 New buffer-local variable to hold buffer session localwords.
13543 (ispell-kill-ispell): Add option 'clear to delete session
13544 localwords.
13545 (ispell-command-loop, ispell-change-dictionary)
13546 (ispell-buffer-local-words): Preserve session localwords when
13547 needed.
13548
13549 * textmodes/flyspell.el (flyspell-process-localwords)
13550 (flyspell-do-correct): Preserve session localwords when needed.
13551
13552 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13553
13554 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
13555 using obsolete `translation-table-for-input'.
13556 (ispell-word, ispell-process-line, ispell-complete-word):
13557 Use plain `insert' instead of removed `ispell-insert-word'.
13558
13559 2012-04-22 Chong Yidong <cyd@gnu.org>
13560
13561 * cus-edit.el (custom-variable-menu)
13562 (custom-variable-reset-saved, custom-face-menu)
13563 (custom-face-reset-saved): If there is no saved value, make the
13564 "reset-saved" operation bring back the default (Bug#9509).
13565 (custom-face-state): Properly detect themed faces.
13566
13567 * faces.el (face-spec-set): Stop supporting deprecated form of
13568 third arg.
13569
13570 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
13571
13572 Move functions from C to Lisp. Make non-blocking method calls
13573 the default. Implement further D-Bus standard interfaces.
13574
13575 * net/dbus.el (dbus-message-internal): Declare function.
13576 Remove unneeded function declarations.
13577 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
13578 (dbus-message-type-method-return, dbus-message-type-error)
13579 (dbus-message-type-signal): Declare variables. Remove local
13580 definitions.
13581 (dbus-interface-dbus, dbus-interface-peer)
13582 (dbus-interface-introspectable, dbus-interface-properties)
13583 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
13584 Adapt docstring.
13585 (dbus-interface-objectmanager): New defconst.
13586 (dbus-call-method, dbus-call-method-asynchronously)
13587 (dbus-send-signal, dbus-method-return-internal)
13588 (dbus-method-error-internal, dbus-register-service)
13589 (dbus-register-signal, dbus-register-method): New defuns, moved
13590 from dbusbind.c
13591 (dbus-call-method-handler, dbus-setenv)
13592 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
13593 New defuns.
13594 (dbus-call-method-non-blocking): Make it an obsolete function.
13595 (dbus-unregister-object, dbus-unregister-service)
13596 (dbus-handle-event, dbus-register-property)
13597 (dbus-property-handler): Obey the new structure of
13598 `bus-registered-objects'.
13599 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
13600 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
13601 Use `dbus-call-method'.
13602
13603 2012-04-22 Chong Yidong <cyd@gnu.org>
13604
13605 * cus-edit.el (custom-commands, custom-reset-menu)
13606 (Custom-reset-standard): Tweak labels.
13607 (custom-reset-button-menu): Change default to t.
13608 (custom-buffer-create-internal): For the custom-reset-button-menu
13609 case, put the revert button first.
13610 (custom-group-subtitle): New face.
13611 (custom-group-value-create): Align docstring to a specific column.
13612
13613 * wid-edit.el (widget-documentation-link-add): Don't handle
13614 indentation in this function.
13615 (widget-documentation-string-indent-to): New function.
13616 (widget-documentation-string-value-create): Use it.
13617
13618 * autorevert.el (auto-revert):
13619 * epg-config.el (epg):
13620 * ibuffer.el (ibuffer):
13621 * mpc.el (mpc):
13622 * ses.el (ses):
13623 * eshell/eshell.el (eshell):
13624 * net/ange-ftp.el (ange-ftp):
13625 * progmodes/ebnf2ps.el (postscript):
13626 * progmodes/flymake.el (flymake):
13627 * progmodes/prolog.el (prolog):
13628 * progmodes/verilog-mode.el (verilog-mode):
13629 * progmodes/which-func.el (which-func):
13630 * term/xterm.el (xterm):
13631 * textmodes/picture.el (picture):
13632 * textmodes/tildify.el (tildify):
13633 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
13634 customization buffers.
13635
13636 2012-04-22 Alan Mackenzie <acm@muc.de>
13637
13638 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
13639 Adding a ) can hide the resulting (..) from searches. Fix it.
13640 Bound the backward search to the position of the existing (.
13641
13642 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
13643
13644 * progmodes/verilog-mode.el (verilog-mode): Check whether
13645 which-func-modes is t before adding verilog-mode.
13646 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
13647
13648 2012-04-21 Leo Liu <sdl.web@gmail.com>
13649
13650 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
13651
13652 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
13653
13654 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
13655 filling of the last column of a table (Bug#5635).
13656 (woman-find-next-control-line): New arg, specifying an additional
13657 regexp component for the control line.
13658 (woman2-roff-buffer): Use it.
13659 (woman-break-table): New function.
13660 (woman2-TS): Use it.
13661
13662 2012-04-21 Chong Yidong <cyd@gnu.org>
13663
13664 * woman.el (woman-set-buffer-display-table, woman-decode-region)
13665 (woman-horizontal-escapes, woman-negative-vertical-space)
13666 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
13667 (WoMan-warn-ignored): Use ?\s instead of ?\ .
13668
13669 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13670
13671 * minibuffer.el (completion-file-name-table): Complete user names.
13672
13673 2012-04-20 Leo Liu <sdl.web@gmail.com>
13674
13675 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
13676 and pcase-let*.
13677
13678 2012-04-20 Chong Yidong <cyd@gnu.org>
13679
13680 * server.el (server-execute): Respect initial-buffer-choice if it
13681 is a string and there are no files to open (Bug#2825).
13682 (server-create-window-system-frame, server-create-tty-frame):
13683 Don't switch buffers here.
13684 (server-process-filter): Only try to open a window system frame if
13685 compiled with graphical support (Bug#8314).
13686
13687 2012-04-20 Dan Nicolaescu <dann@gnu.org>
13688
13689 * battery.el (battery-echo-area-format): Display remaining time
13690 for sysfs backend too (Bug#11269).
13691 (battery-linux-sysfs): Fix conditional for the charge.
13692
13693 2012-04-20 Chong Yidong <cyd@gnu.org>
13694
13695 * progmodes/gdb-mi.el (gdb): Revert previous change.
13696 (gdb-inferior-io--init-proc): New function.
13697 (gdb-init-1): Use it.
13698 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
13699 responsible for allocating a new pty and hooking it to gdb when
13700 the old pty gets an EIO due to process exit.
13701 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
13702 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
13703 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
13704
13705 2012-04-20 Eli Zaretskii <eliz@gnu.org>
13706
13707 * window.el (window-min-size, window-sizable, window-min-delta)
13708 (window-max-delta, window--resizable, window-resizable)
13709 (window-total-size, window-full-height-p, window-full-width-p)
13710 (window-in-direction, window--resize-mini-window, window-resize)
13711 (window--resize-child-windows-normal)
13712 (window--resize-child-windows, window--resize-siblings)
13713 (window--resize-this-window, adjust-window-trailing-edge)
13714 (enlarge-window, shrink-window): Doc fixes.
13715
13716 2012-04-20 Chong Yidong <cyd@gnu.org>
13717
13718 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
13719 New function to call delete-process on the gdb-inferior buffer's pty.
13720 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
13721 pty process (Bug#11273).
13722 (gdb-update): New arg to suppress talking to the gdb process.
13723 (gdb-done-or-error): Use it.
13724 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
13725 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
13726 sentinel not being called.
13727
13728 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
13729
13730 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
13731
13732 2012-04-20 Glenn Morris <rgm@gnu.org>
13733
13734 * net/network-stream.el (open-network-stream): Doc fix.
13735
13736 2012-04-20 Chong Yidong <cyd@gnu.org>
13737
13738 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
13739
13740 2012-04-20 Alan Mackenzie <acm@muc.de>
13741
13742 Ensure searching for keywords is case sensitive.
13743
13744 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
13745 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
13746 (c-defun-name, c-mark-function, c-cpp-define-name)
13747 (c-comment-indent, c-scan-conditionals, c-indent-defun)
13748 (c-context-line-break): Bind case-fold-search to nil.
13749
13750 * progmodes/cc-mode.el (c-font-lock-fontify-region):
13751 Bind case-fold-search to nil.
13752
13753 2012-04-20 Chong Yidong <cyd@gnu.org>
13754
13755 * mail/sendmail.el (mail-bury): Call return action with the right
13756 Rmail buffer (Bug#11242).
13757
13758 * server.el (server-process-filter): Handle corner case where both
13759 tty and nowait options are present (Bug#11102).
13760
13761 2012-04-20 Eli Zaretskii <eliz@gnu.org>
13762
13763 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
13764 (top level): Put into the executable the ident-style '$Id:' tag on
13765 windows-nt as well.
13766
13767 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
13768
13769 * electric.el (electric-indent-post-self-insert-function): Check that
13770 electric-indent-mode is enabled in current buffer.
13771
13772 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
13773
13774 * imenu.el (imenu-progress-message): Restore; it is "used" in
13775 erc/erc-imenu.el and net/snmp-mode.el.
13776
13777 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
13778
13779 * avoid.el (mouse-avoidance-mode): Mark unused arg.
13780 (mouse-avoidance-nudge-mouse): Remove unused binding.
13781
13782 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
13783
13784 * descr-text.el (describe-char):
13785 * progmodes/python.el (python-describe-symbol):
13786 Don't call `toggle-read-only', set `buffer-read-only'.
13787
13788 * imenu.el (imenu-default-goto-function): Mark unused args.
13789 (imenu-progress-message): Remove obsolete macro; all callers changed.
13790
13791 * subr.el (keymap-canonicalize): Remove unused binding.
13792 (read-passwd): Mark unused arg.
13793
13794 * tutorial.el (tutorial--display-changes): Remove unused binding.
13795 (tutorial--save-tutorial-to): Remove unused variable.
13796
13797 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
13798 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
13799 (package-generate-autoloads, package-menu--generate)
13800 (package-menu--find-upgrades): Remove unused bindings.
13801
13802 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
13803 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
13804 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
13805 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
13806 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
13807 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
13808 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
13809 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
13810 (cua-delete-char-rectangle): Mark unused args.
13811 (cua-align-rectangle): Remove unused binding.
13812
13813 * mail/rmail.el (compilation--message->loc)
13814 (epa--find-coding-system-for-mime-charset): Declare.
13815
13816 * net/dbus.el (dbus-register-service): Declare.
13817 (dbus-name-owner-changed-handler): Remove unused binding.
13818
13819 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
13820 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
13821 (nxml-scan-backward-within): Mark unused arg.
13822 (nxml-dynamic-markup-word): Remove unused binding.
13823
13824 * mouse.el (mouse-menu-major-mode-map):
13825 * emacs-lisp/authors.el (authors-scan-change-log)
13826 (authors-add-to-author-list):
13827 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
13828 * emacs-lisp/smie.el (smie-auto-fill):
13829 * mail/sendmail.el (mail-bury):
13830 * mail/unrmail.el (unrmail):
13831 * net/tls.el (open-tls-stream):
13832 * textmodes/picture.el (picture-mouse-set-point):
13833 Remove unused bindings.
13834
13835 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
13836
13837 * net/tramp.el (tramp-action-password): Let-bind
13838 `enable-recursive-minibuffers' to t.
13839
13840 2012-04-18 Sam Steingold <sds@gnu.org>
13841
13842 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
13843 instead of 'string to accommodate values like [f11].
13844 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
13845 * progmodes/gdb-mi.el: Likewise.
13846
13847 2012-04-18 Leo Liu <sdl.web@gmail.com>
13848
13849 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
13850 current buffer.
13851 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
13852 LOCAL is nil.
13853
13854 2012-04-18 Chong Yidong <cyd@gnu.org>
13855
13856 * simple.el (line-move): Use forward-line if in batch mode
13857 (Bug#11053).
13858
13859 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
13860
13861 * files.el (after-find-file): Do not try to add a final newline if
13862 the buffer is read-only (Bug#11156).
13863
13864 2012-04-17 Richard Stallman <rms@gnu.org>
13865
13866 * mail/rmail.el (rmail-start-mail):
13867 Pass (rmail-mail-return...) for the return-action.
13868 Pass (rmail-yank-current-message...) for the yank-action.
13869 (rmail-yank-current-message): New function.
13870 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
13871 (rmail-reply): Likewise.
13872 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
13873
13874 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
13875 buffer, not the last. Reject temp buffers. Use the rmail-mode
13876 buffer, not newbuf.
13877
13878 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
13879
13880 * server.el (server-ensure-safe-dir): Simplify.
13881
13882 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
13883
13884 * emacs-lisp/smie.el: Provide smarter auto-filling.
13885 (smie-auto-fill): New function.
13886 (smie-setup): Use it.
13887
13888 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
13889
13890 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
13891
13892 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
13893 (comment-indent): Use it.
13894
13895 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
13896
13897 * ses.el: The overall change is to add cell renaming, that is
13898 setting fancy names for cell symbols other than name matching
13899 "\\`[A-Z]+[0-9]+\\'" regexp .
13900 (ses-localvars): Add ses--renamed-cell-symb-list.
13901 (ses-create-cell-variable): New defun.
13902 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
13903 (ses-relocate-formula): Relocate formulas only for cells the
13904 symbols of which are not renamed, i.e. symbols whose names do not
13905 match regexp "\\`[A-Z]+[0-9]+\\'".
13906 (ses-relocate-all): Relocate values only for cells the symbols of
13907 which are not renamed.
13908 (ses-load): Create cells variables as the (ses-cell ...) are read,
13909 in order to check row col consistency with cell symbol name only
13910 for cells that are not renamed.
13911 (ses-replace-name-in-formula): New defun.
13912 (ses-rename-cell): New defun.
13913
13914 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
13915
13916 * progmodes/perl-mode.el (perl-indent-parens-as-block):
13917 New option (bug#11118).
13918 (perl-calculate-indent): Respect it.
13919
13920 2012-04-17 Glenn Morris <rgm@gnu.org>
13921
13922 * dired-aux.el (dired-mark-read-string): Doc fix.
13923
13924 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
13925
13926 * dired-aux.el (dired-mark-read-string): Offer optional completion.
13927 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
13928
13929 2012-04-17 Glenn Morris <rgm@gnu.org>
13930
13931 * mouse.el (mouse-drag-track):
13932 * speedbar.el (speedbar-frame-mode):
13933 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
13934
13935 2012-04-16 Leo Liu <sdl.web@gmail.com>
13936
13937 * progmodes/python.el: Trivial cleanup.
13938
13939 2012-04-16 Glenn Morris <rgm@gnu.org>
13940
13941 * vc/vc.el (vc-string-prefix-p):
13942 * vc/pcvs-util.el (cvs-string-prefix-p):
13943 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
13944 * mpc.el (mpc-string-prefix-p):
13945 Make all of these into obsolete aliases for string-prefix-p.
13946 Update callers.
13947 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
13948
13949 * textmodes/two-column.el: Move custom options to the start.
13950 (frame-width): Remove compat definition.
13951 (2C-associate-buffer, 2C-dissociate):
13952 Use with-current-buffer rather than save-excursion.
13953 (2C-dissociate): Force a mode-line update.
13954 (2C-autoscroll): Use ignore-errors.
13955
13956 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
13957 Autoload trivia.
13958
13959 * emacs-lisp/cl-extra.el (*random-state*):
13960 Remove unnecessary declaration.
13961
13962 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
13963
13964 * play/cookie1.el (cookie-snarf):
13965 Give an explicit error if input file cannot be read.
13966
13967 * play/yow.el (yow-file): Use expand-file-name rather than concat.
13968
13969 * progmodes/perl-mode.el (c-macro-expand):
13970 Remove unnecessary autoload (it is in loaddefs.el).
13971
13972 * textmodes/picture.el (picture-desired-column)
13973 (picture-update-desired-column): Convert comments to doc-strings.
13974 (picture-substitute): Remove function.
13975 (picture-mode-map): Initialize in the defvar.
13976
13977 * woman.el: Remove eval-after-load for tar-mode.
13978 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
13979 (woman-tar-extract-file): Autoload it.
13980
13981 * frame.el (automatic-hscrolling): Make this alias obsolete.
13982
13983 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13984
13985 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
13986 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
13987 (ispell-dictionary-base-alist): Revert to original XEmacs
13988 friendly version for default. [:alpha:] will be added in
13989 `ispell-set-spellchecker-params' if needed.
13990
13991 2012-04-16 Chong Yidong <cyd@gnu.org>
13992
13993 * image.el (imagemagick--file-regexp): New variable.
13994 (imagemagick-register-types): Use it.
13995 (imagemagick-types-inhibit): Add :set function. Allow new value
13996 of t to inhibit all types.
13997
13998 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
13999 so we can preload it.
14000
14001 * loadup.el (fboundp): Preload regexp-opt, needed by
14002 imagemagick-register-types.
14003
14004 2012-04-15 Chong Yidong <cyd@gnu.org>
14005
14006 * frame.el (scrolling): Remove nearly unused customization group.
14007
14008 * scroll-all.el (scroll-all-mode): Move to windows group.
14009
14010 2012-04-15 Chong Yidong <cyd@gnu.org>
14011
14012 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
14013
14014 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
14015
14016 Avoid the use of ((lambda ...) ...) in lexical-binding code.
14017 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
14018
14019 2012-04-15 Glenn Morris <rgm@gnu.org>
14020
14021 * simple.el (process-file-side-effects): Doc fix.
14022
14023 2012-04-15 Glenn Morris <rgm@gnu.org>
14024
14025 * international/mule-cmds.el (set-language-environment): Doc fix.
14026
14027 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
14028
14029 * server.el (server-auth-key, server-generate-key): Doc fixes.
14030 (server-get-auth-key): Doc fix. Use `string-match-p'.
14031 (server-start): Reflow docstring.
14032
14033 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
14034
14035 * server.el (server-generate-key): `called-interactively-p'
14036 requires a parameter.
14037
14038 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
14039
14040 * server.el (server-auth-key): New variable.
14041 (server-generate-key, server-get-auth-key): New function.
14042 (server-start): Use the new variable and functions to allow
14043 setting a permanent server key (bug#9423).
14044
14045 2012-04-14 Leo Liu <sdl.web@gmail.com>
14046
14047 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
14048
14049 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
14050
14051 Spelling fixes.
14052 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
14053 Emacs uses American spelling.
14054
14055 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
14056
14057 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
14058 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
14059 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
14060 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
14061
14062 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
14063
14064 * progmodes/which-func.el (which-func-modes): Change default.
14065
14066 2012-04-14 Kim F. Storm <storm@cua.dk>
14067
14068 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
14069 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
14070
14071 2012-04-14 Chong Yidong <cyd@gnu.org>
14072
14073 * custom.el (custom-theme-set-variables): Doc fix.
14074
14075 2012-04-14 Glenn Morris <rgm@gnu.org>
14076
14077 * international/mule.el (set-auto-coding-for-load): Doc fix.
14078
14079 2012-04-14 Alan Mackenzie <acm@muc.de>
14080
14081 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
14082 imenu work again for Objective C Mode. Correct the *-index values,
14083 these having been disturbed by a previous change in 2011-08.
14084
14085 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
14086 Correct two search limits.
14087
14088 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
14089
14090 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
14091
14092 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
14093
14094 * international/characters.el: Fix sorting.
14095
14096 2012-04-14 Eli Zaretskii <eliz@gnu.org>
14097
14098 * international/characters.el: Add more missing Latin case pairs.
14099
14100 2012-04-14 Glenn Morris <rgm@gnu.org>
14101
14102 * files.el (dir-locals-set-class-variables): Doc fix.
14103
14104 2012-04-14 Eli Zaretskii <eliz@gnu.org>
14105
14106 * international/characters.el: Add set-case-syntax-pair call for
14107 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
14108 counterpart. (Bug#11209)
14109
14110 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
14111
14112 2012-04-14 Glenn Morris <rgm@gnu.org>
14113
14114 * calendar/holidays.el (calendar-check-holidays): Doc fix.
14115
14116 2012-04-14 Eli Zaretskii <eliz@gnu.org>
14117
14118 * textmodes/ispell.el (ispell-dictionary-base-alist):
14119 Add data for Hebrew.
14120
14121 2012-04-14 Chong Yidong <cyd@gnu.org>
14122
14123 * net/rcirc.el (rcirc-cmd-quit):
14124 Revert 2012-03-18 change (Bug#11192).
14125
14126 2012-04-14 Glenn Morris <rgm@gnu.org>
14127
14128 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
14129
14130 2012-04-14 Eli Zaretskii <eliz@gnu.org>
14131
14132 * minibuffer.el (completion-in-region-mode-map):
14133 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
14134
14135 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
14136
14137 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
14138
14139 2012-04-13 Masatake YAMATO <yamato@redhat.com>
14140
14141 * minibuffer.el (minibuffer-local-filename-syntax): New variable
14142 to allow `C-M-f' and `C-M-b' to move to the nearest path
14143 separator (bug#9511).
14144
14145 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
14146
14147 * avoid.el: Require cl when compiling. And also move the
14148 `provide' to the end.
14149
14150 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14151
14152 * avoid.el (mouse-avoidance-banish-position): New variable.
14153 (mouse-avoidance-banish-destination): Use it (bug#10165).
14154
14155 2012-04-13 Leo Liu <sdl.web@gmail.com>
14156
14157 * progmodes/which-func.el (which-func-modes): Add objc-mode.
14158
14159 2012-04-13 Ken Brown <kbrown@cornell.edu>
14160
14161 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
14162 this is no longer needed now that cygstart understands file:// URLs.
14163 (browse-url-filename-alist): For the same reason, don't modify
14164 file:// URLs on Cygwin.
14165
14166 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
14167
14168 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
14169 the region on shift if the binding is already shifted (bug#11221).
14170
14171 2012-04-12 Glenn Morris <rgm@gnu.org>
14172
14173 * mail/mailpost.el: Move to obsolete/.
14174
14175 2012-04-12 Drew Adams <drew.adams@oracle.com>
14176
14177 * imenu.el (imenu--generic-function): Ignore invisible definitions
14178 (bug#10123).
14179
14180 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
14181
14182 * hexl.el (hexl-bits): New variable.
14183 (hexl-options): Mention the variable in the doc string.
14184 (hexl-rulerise, hexl-line-displen): New functions.
14185 (hexl-mode): Mention the new variable.
14186 (hexl-mode, hexl-current-address, hexl-current-address):
14187 Use the displen.
14188 (hexl-ascii-start-column): New function.
14189 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
14190 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
14191
14192 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14193
14194 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
14195 '("-i" ENCODING), in 2 separate command-line arguments, to specify
14196 the encoding, as expected by hunspell.
14197
14198 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
14199
14200 * battery.el (battery--linux-sysfs-regexp): New const.
14201 (battery-status-function): Use it. Remove yeeloong special case.
14202 (battery-yeeloong-sysfs): Remove.
14203 (battery-echo-area-format): Remove yeeloong special case.
14204
14205 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
14206
14207 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
14208 Reported by Noah Friedman.
14209
14210 * subr.el (read-passwd): Use read-string.
14211
14212 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
14213
14214 * vcursor.el (vcursor-move): Increase the priority of the overlay
14215 (bug#9663).
14216
14217 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
14218
14219 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
14220 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
14221
14222 2012-04-11 William Stevenson <yhvh2000@gmail.com>
14223
14224 * textmodes/artist.el (artist-mode): Convert artist-mode to use
14225 define-minor-mode (bug#10760).
14226
14227 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
14228
14229 * progmodes/grep.el (rgrep): Tweak the find command line so
14230 that directories matching `grep-find-ignored-files' won't be
14231 pruned (bug#10351).
14232
14233 2012-04-11 Chong Yidong <cyd@gnu.org>
14234
14235 * startup.el (command-line): Remove support for long-obsolete
14236 variable font-lock-face-attributes.
14237
14238 2012-04-11 Glenn Morris <rgm@gnu.org>
14239
14240 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
14241
14242 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
14243
14244 * window.el (window--state-get-1): Obey window-point-insertion-type.
14245
14246 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
14247
14248 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
14249 to previous function when point is on the first character of a
14250 function. Take care of that in `narrow-to-defun' (bug#6157).
14251
14252 2012-04-11 Glenn Morris <rgm@gnu.org>
14253
14254 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
14255 not just file-errors.
14256
14257 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
14258 (vc-bzr-sha1): Use internal sha1.
14259
14260 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
14261
14262 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
14263
14264 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
14265
14266 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
14267 that start in the middle of the line (bug#10496).
14268
14269 2012-04-10 Dan Nicolaescu <dann@gnu.org>
14270
14271 * battery.el (battery-linux-proc-acpi): Only one battery is
14272 discharged at a time, but that seems to confuse battery.el when
14273 computing `rate-type' for the battery not being discharged
14274 (bug#10332).
14275
14276 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
14277
14278 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
14279
14280 * international/quail.el: Use dolist and simplify.
14281 (quail-define-package, quail-update-keyboard-layout)
14282 (quail-define-rules): Use dolist.
14283 (quail-insert-kbd-layout, quail-get-translation): CSE.
14284
14285 * tmm.el: Use dolist, remove left over hook.
14286 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
14287 Use dolist.
14288 (calendar-load-hook): Don't mess with it.
14289
14290 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
14291 Use derived-mode-p. Run the diff asynchronously.
14292
14293 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
14294
14295 * obsolete/mouse-sel.el: Add an Obsolete-since header.
14296
14297 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
14298
14299 * misc.el: Display absolute path of loaded DLLs (bug#10424).
14300 (list-dynamic-libraries--loaded): New function.
14301 (list-dynamic-libraries--refresh): Use it.
14302
14303 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
14304
14305 * progmodes/python.el (python-fill-paragraph):
14306 Make python-fill-region in a multiline string work when font-lock is
14307 disabled (bug#7018).
14308
14309 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
14310
14311 * language/european.el (cp775): Add oem/legacy (en)coding on
14312 DOS/MS Windows for the Baltic languages. There are still plenty
14313 of texts written in this encoding/codepage (bug#6519).
14314
14315 2012-04-10 Glenn Morris <rgm@gnu.org>
14316
14317 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
14318 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
14319
14320 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
14321
14322 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
14323 next-line "n" and previous-line "p" in order to make recentf more
14324 consistent with ibuffer, dired or org-mode (bug#9387).
14325
14326 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
14327
14328 * image.el (put-image): Return the overlay created instead of the
14329 optional input string (bug#7834). Note that this may break code
14330 that is (for some reason or other) depending on `put-image'
14331 returning the string.
14332
14333 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
14334
14335 * simple.el (zap-to-char): Allow zapping using input methods
14336 (bug#1580).
14337
14338 * textmodes/fill.el (fill-region): Leave point and mark where they
14339 were before filling (bug#5399).
14340
14341 2012-04-09 Glenn Morris <rgm@gnu.org>
14342
14343 * version.el (emacs-bzr-get-version):
14344 Handle lightweight checkouts of local branches.
14345
14346 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
14347
14348 * international/characters.el: Recover lost case pairs. (Bug#11209)
14349
14350 2012-04-09 Chong Yidong <cyd@gnu.org>
14351
14352 * custom.el (custom-variable-p): Return nil for non-symbol
14353 arguments instead of signaling an error.
14354 (user-variable-p): Obsolete alias for custom-variable-p.
14355
14356 * apropos.el (apropos-variable):
14357 * files-x.el (read-file-local-variable):
14358 * simple.el (set-variable):
14359 * woman.el (woman-mini-help):
14360 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
14361
14362 2012-04-09 Glenn Morris <rgm@gnu.org>
14363
14364 * startup.el (normal-top-level): Don't look for leim-list.el
14365 in places where it will not be found. (Bug#910)
14366
14367 * international/mule-cmds.el (set-default-coding-systems):
14368 * files.el (normal-mode):
14369 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
14370 This function was removed with ucs-tables.el in 2008.
14371
14372 2012-04-08 Eli Zaretskii <eliz@gnu.org>
14373
14374 * textmodes/ispell.el (ispell-check-version): For hunspell, set
14375 ispell-encoding8-command to "-i", without a trailing space.
14376 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
14377 separate command-line arguments, to specify the encoding, since
14378 that's how hunspell expects it.
14379
14380 2012-04-08 Glenn Morris <rgm@gnu.org>
14381
14382 * loadup.el: Load bindings before cus-start.
14383 This reduces somewhat the number of "rogue" settings in emacs -Q.
14384
14385 2012-04-07 Glenn Morris <rgm@gnu.org>
14386
14387 * version.el (emacs-bzr-get-version): New function.
14388 (emacs-bzr-version): New variable.
14389 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
14390 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
14391
14392 2012-04-07 Eli Zaretskii <eliz@gnu.org>
14393
14394 * international/uni-bidi.el, international/uni-category.el:
14395 * international/uni-combining.el, international/uni-decimal.el:
14396 * international/uni-decomposition.el, international/uni-digit.el:
14397 * international/uni-lowercase.el, international/uni-mirrored.el:
14398 * international/uni-name.el, international/uni-numeric.el:
14399 * international/uni-titlecase.el, international/uni-uppercase.el:
14400 Update for Unicode 6.1.
14401
14402 2012-04-07 Eli Zaretskii <eliz@gnu.org>
14403
14404 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
14405
14406 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
14407
14408 * window.el (shrink-window): Mention the `window-min-height'
14409 variable in the doc string.
14410
14411 2012-04-05 Bastien Guerry <bzg@altern.org>
14412
14413 * color.el (color-lighten-name): Fix typo.
14414
14415 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
14416
14417 * server.el (server--on-display-p): New function.
14418 (server--on-display-p): Use it.
14419
14420 2012-04-04 Gábor Vida <vidagabor@gmail.com> (tiny change)
14421
14422 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
14423 (bug#11145).
14424
14425 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
14426
14427 * comint.el (comint--common-quoted-suffix): Check string boundary
14428 before comparing (bug#11158).
14429 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
14430
14431 2012-04-04 Chong Yidong <cyd@gnu.org>
14432
14433 * minibuffer.el (completion-extra-properties): Doc fix.
14434
14435 * subr.el (delayed-warnings-hook): Doc fix.
14436
14437 2012-04-04 Daiki Ueno <ueno@unixuser.org>
14438
14439 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
14440 selection (Bug#11159).
14441 (epa-insert-keys): Inform that the default public key will be
14442 exported if no key is selected.
14443
14444 2012-04-04 Richard Stallman <rms@gnu.org>
14445
14446 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
14447
14448 2012-04-03 Chong Yidong <cyd@gnu.org>
14449
14450 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
14451 mail-insert-file, not its obsolete alias mail-attach-file.
14452
14453 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
14454
14455 * notifications.el (notifications-notify): Fix docstring.
14456
14457 2012-04-02 Glenn Morris <rgm@gnu.org>
14458
14459 * emacs-lisp/authors.el (authors-aliases): Another addition.
14460
14461 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
14462
14463 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
14464 `tramp-compat-call-process' instead of `tramp-local-call-process'.
14465 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
14466
14467 2012-04-01 Chong Yidong <cyd@gnu.org>
14468
14469 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
14470 Handle root directory properly.
14471 (copy-directory): Caller changed.
14472
14473 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
14474 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
14475
14476 2012-03-31 Glenn Morris <rgm@gnu.org>
14477
14478 * term/xterm.el (xterm-extra-capabilities): Doc fix.
14479
14480 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
14481
14482 * calendar/calendar.el (calendar-window-list)
14483 (calendar-hide-window): Restore. (Bug#11140)
14484 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
14485
14486 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
14487
14488 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14489
14490 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
14491 Check if file is a symlink (Bug#10489).
14492
14493 * files.el (copy-directory): Likewise.
14494
14495 2012-03-30 Chong Yidong <cyd@gnu.org>
14496
14497 * image.el (imagemagick-types-inhibit)
14498 (imagemagick-register-types): Doc fix.
14499
14500 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14501
14502 * textmodes/ispell.el (ispell-get-extended-character-mode):
14503 Disable extended-char-mode for hunspell. hunspell does not support it
14504 and treats ~word as ordinary words in pipe mode.
14505
14506 2012-03-30 Glenn Morris <rgm@gnu.org>
14507
14508 * tutorial.el (help-with-tutorial): Ensure local variables don't
14509 happen to make the buffer read-only. (Bug#11127)
14510
14511 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
14512
14513 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
14514 (perl-calculate-indent): Return `noindent' in strings.
14515
14516 2012-03-28 Sam Steingold <sds@gnu.org>
14517
14518 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
14519 instead of the broken adhockery which does not prevent calendar
14520 buffers from being displayed at random after exit.
14521 (calendar-window-list, calendar-hide-window): Remove the broken
14522 adhockery.
14523
14524 2012-03-28 Glenn Morris <rgm@gnu.org>
14525
14526 * replace.el (query-replace-map): Doc fix.
14527
14528 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
14529
14530 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
14531 contents. (Bug#11109)
14532
14533 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
14534
14535 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
14536 (bug#11077).
14537 (avl-tree--check, avl-tree--check-node): New funs.
14538
14539 2012-03-27 Martin Rudalics <rudalics@gmx.at>
14540
14541 * window.el (switch-to-visible-buffer): New option.
14542 (switch-to-prev-buffer, switch-to-next-buffer):
14543 Observe switch-to-visible-buffer. Make sure that checking for a window
14544 showing a buffer already is done on the same frame.
14545
14546 2012-03-27 Glenn Morris <rgm@gnu.org>
14547
14548 * startup.el (mail-host-address): Doc fix.
14549
14550 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
14551
14552 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
14553 than 197 variables.
14554
14555 2012-03-26 Ami Fischman <ami@fischman.org>
14556
14557 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
14558
14559 2012-03-26 Glenn Morris <rgm@gnu.org>
14560
14561 * files.el (save-buffers-kill-emacs): Doc fix.
14562
14563 * startup.el (normal-top-level, command-line, command-line-1):
14564 Give them doc strings.
14565
14566 2012-03-25 Eli Zaretskii <eliz@gnu.org>
14567
14568 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
14569 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
14570
14571 2012-03-25 Chong Yidong <cyd@gnu.org>
14572
14573 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
14574 theme if it was previously enabled before (Bug#11031).
14575
14576 * cus-theme.el (custom-theme-write-faces): Retrieve current face
14577 spec with custom-face-get-current-spec if its :shown-value is not
14578 determined yet (Bug#9337).
14579 (customize-create-theme, custom-theme-revert): Doc fixes.
14580
14581 * button.el (button-at): Minor addition to docstring.
14582
14583 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
14584
14585 * vc/vc.el (vc-merge): Fix a prompt.
14586
14587 2012-03-24 Chong Yidong <cyd@gnu.org>
14588
14589 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
14590 point (Bug#9623).
14591
14592 * button.el (button-at): Minor addition to docstring.
14593
14594 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
14595
14596 * newcomment.el (comment-choose-indent): No space after BOL.
14597
14598 2012-03-22 Sam Steingold <sds@gnu.org>
14599
14600 * window.el (switch-to-prev-buffer): Revert last patch because the
14601 bug turned out to be an advertised feature (Elisp manual 28.14).
14602
14603 2012-03-22 Glenn Morris <rgm@gnu.org>
14604
14605 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
14606 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
14607
14608 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
14609
14610 * net/network-stream.el (network-stream-open-starttls): Make error
14611 message under Windows be less misleading.
14612
14613 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
14614
14615 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
14616 understands (bug#9942).
14617
14618 2012-03-22 Chong Yidong <cyd@gnu.org>
14619
14620 * simple.el (end-of-visible-line): Handle return value of
14621 next-single-property-change properly (Bug#9371).
14622
14623 2012-03-22 Kenichi Handa <handa@m17n.org>
14624
14625 * international/quail.el (quail-insert-kbd-layout): Fix previous
14626 change. To avoid unwanted bidi reordering, use
14627 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
14628
14629 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
14630
14631 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
14632 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
14633 (ruby-beginning-of-indent): Be more careful with the difference
14634 between word-boundary and symbol boundary.
14635 (ruby-mode-syntax-table): Make : a symbol constituent.
14636
14637 2012-03-21 Andreas Politz <politza@fh-trier.de>
14638
14639 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
14640
14641 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
14642
14643 * progmodes/etags.el (tags-completion-at-point-function):
14644 Improve last fix.
14645
14646 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
14647
14648 2012-03-21 Sam Steingold <sds@gnu.org>
14649
14650 * progmodes/etags.el (tags-completion-at-point-function):
14651 Avoid the error when point is inside the pattern.
14652
14653 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
14654
14655 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
14656 line (Bug#10855).
14657
14658 2012-03-21 Drew Adams <drew.adams@oracle.com>
14659
14660 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
14661
14662 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
14663
14664 * ido.el (ido-set-current-directory, ido-read-internal)
14665 (ido-choose-completion-string, ido-completion-help): Handle nil
14666 value of ido-completion-buffer (Bug#11008).
14667
14668 2012-03-21 Sam Steingold <sds@gnu.org>
14669
14670 * window.el (switch-to-prev-buffer): Do not switch to a visible
14671 window previous buffer, just like with the frame previous buffers.
14672
14673 2012-03-21 Chong Yidong <cyd@gnu.org>
14674
14675 * faces.el (make-face, make-empty-face, copy-face):
14676 * face-remap.el (face-remap-add-relative, face-remap-set-base):
14677 Doc fixes.
14678
14679 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
14680
14681 * wid-edit.el (widget-complete-field): Remove (bug#11051).
14682 (widget-complete): Remove broken use of it.
14683
14684 2012-03-20 Chong Yidong <cyd@gnu.org>
14685
14686 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
14687 Use string-width and truncate-string-width to handle arbitrary
14688 characters.
14689
14690 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
14691
14692 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
14693 to draw rectangles, not squares. (Regression introduced by revno
14694 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
14695
14696 2012-03-18 Chong Yidong <cyd@gnu.org>
14697
14698 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
14699 it is not yet defined (for temacs).
14700
14701 2012-03-18 Leo Liu <sdl.web@gmail.com>
14702
14703 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
14704 prefix.
14705
14706 2012-03-17 Eli Zaretskii <eliz@gnu.org>
14707
14708 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
14709 (ispell-choices-win-default-height, ispell-silently-savep)
14710 (ispell-dictionary-alist, ispell-encoding8-command)
14711 (ispell-check-version, ispell-aspell-find-dictionary)
14712 (ispell-valid-dictionary-list, ispell-words-keyword)
14713 (ispell-get-word, ispell-internal-change-dictionary)
14714 (ispell-region, ispell-skip-region-list)
14715 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
14716 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
14717 (ispell-message-text-end, ispell-message)
14718 (ispell-buffer-local-parsing): Doc fix.
14719
14720 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
14721
14722 * htmlfontify.el: Add support for code block fontification for ODT
14723 export (Bug #9914).
14724 (hfy-optimisations): Define new option
14725 `body-text-only'
14726 (hfy-fontify-buffer): Honor above setting.
14727 (hfy-begin-span, hfy-end-span): New routines factored out form
14728 `hfy-fontify-buffer'.
14729 (hfy-begin-span-handler, hfy-end-span-handler): New variables
14730 that permit insertion of custom tags.
14731 (hfy-fontify-buffer): Use above handlers.
14732 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
14733 (hfy-face-to-css): Re-defined to be a variable.
14734 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
14735 over multiple runs. This is made possible by having the caller let
14736 bind a special variable `hfy-user-sheet-assoc'.
14737 (htmlfontify-string): New defun.
14738 (hfy-compile-face-map): Make sure that the last char in the
14739 buffer is correctly fontified.
14740 (hfy-face-resolve-face): Whitespace only change.
14741
14742 2012-03-17 Eli Zaretskii <eliz@gnu.org>
14743
14744 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
14745 message more clear.
14746
14747 2012-03-16 Leo Liu <sdl.web@gmail.com>
14748
14749 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
14750
14751 2012-03-16 Alan Mackenzie <acm@muc.de>
14752
14753 Further optimize the handling of large macros.
14754
14755 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
14756 limit to a call of `c-literal-limits'.
14757 (c-determine-+ve-limit): New function.
14758 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
14759 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
14760 In CASE 5B, restrict a search limit to 500.
14761 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
14762
14763 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
14764 Restrict macro bounds to +-500 from after-change's BEG END.
14765
14766 2012-03-16 Leo Liu <sdl.web@gmail.com>
14767
14768 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
14769
14770 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
14771
14772 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
14773 `special-mode' setting of `buffer-read-only'. (Bug#11010)
14774
14775 2012-03-16 Glenn Morris <rgm@gnu.org>
14776
14777 * view.el (view-buffer, view-buffer-other-window)
14778 (view-buffer-other-frame): Doc fixes re special mode-class.
14779
14780 * subr.el (eval-after-load): If named feature is provided not from
14781 a file, run after-load forms. (Bug#10946)
14782
14783 * calendar/calendar.el (calendar-insert-at-column):
14784 Handle non-unit-width characters a bit better. (Bug#10978)
14785
14786 2012-03-15 Chong Yidong <cyd@gnu.org>
14787
14788 * emacs-lisp/ring.el (ring-extend): New function.
14789 (ring-insert+extend): Extend the ring correctly (Bug#11019).
14790
14791 * comint.el (comint-read-input-ring)
14792 (comint-add-to-input-history): Grow comint-input-ring lazily.
14793
14794 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
14795
14796 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
14797 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
14798
14799 * imenu.el: Fix multiple inheritance breakage (bug#9199).
14800 (imenu-add-to-menubar): Don't add a redundant index.
14801 (imenu-update-menubar): Handle a dynamically composed keymap.
14802
14803 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
14804
14805 * mail/sendmail.el (mail-encode-header):
14806 Bind rfc2047-encode-encoded-words to nil.
14807
14808 2012-03-13 Glenn Morris <rgm@gnu.org>
14809
14810 * calendar/calendar.el (calendar-string-spread):
14811 Handle non-unit-width characters a bit better. (Bug#10978)
14812
14813 2012-03-13 Leo Liu <sdl.web@gmail.com>
14814
14815 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
14816 directory and file as argument (Bug#10822).
14817
14818 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
14819
14820 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
14821 For dynamically generated code, follow $PC.
14822 (gdb-disassembly-handler-custom): Handle no function name case.
14823
14824 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
14825
14826 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
14827 * emulation/ws-mode.el (ws-query-replace):
14828 * sort.el (sort-regexp-fields):
14829 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
14830
14831 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14832
14833 * dabbrev.el: Fix cycle completion order (bug#10963).
14834 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
14835 (dabbrev-completion): Don't use an obarray; provide
14836 a cycle-sort-function.
14837
14838 2012-03-12 Leo Liu <sdl.web@gmail.com>
14839
14840 * simple.el (kill-new): Use equal-including-properties for comparison.
14841 (kill-do-not-save-duplicates): Doc fix.
14842
14843 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14844
14845 * dabbrev.el: Fix cycle completion (bug#10963).
14846 Use lexical binding and wrap to 80 columns.
14847 (dabbrev-completion): Delay computing the list of completions.
14848
14849 2012-03-12 Kenichi Handa <handa@m17n.org>
14850
14851 * international/quail.el (quail-insert-kbd-layout): Surround each
14852 row by LRO and PDF instead of inserting many LRMs. Pad the left
14853 and right of each non-spacing marks. Insert invisible space
14854 between lower and upper characters to prevent composition.
14855
14856 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14857
14858 * minibuffer.el (minibuffer-complete): Don't get confused when the
14859 function is run twice via different commands (bug#10958).
14860 (complete-with-action): Fix docstring.
14861
14862 2012-03-12 Chong Yidong <cyd@gnu.org>
14863
14864 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
14865 (nxml-completion-at-point-function): New function.
14866 (nxml-mode): Use it.
14867 (nxml-bind-meta-tab-to-complete-flag): Default to t.
14868
14869 * emacs-lisp/package.el (package-unpack, package-unpack-single):
14870 Load generated autoloads file before byte compiling (Bug#10970).
14871 (package--make-autoloads-and-compile): New helper fun.
14872
14873 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
14874
14875 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
14876
14877 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
14878
14879 * autorevert.el (auto-revert-handler): Ensure, that
14880 file-readable-p is applied only for local files or in
14881 auto-revert-tail-mode.
14882
14883 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
14884
14885 * server.el (server-eval-at): Handle non-tcp connections.
14886 Decode result string.
14887
14888 * server.el (server-msg-size): New constant.
14889 (server-reply-print): New function.
14890 (server-eval-and-print): Use it.
14891 (server-eval-at): Use server-quote-arg and server-unquote-arg.
14892 Handle -print-nonl.
14893
14894 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
14895
14896 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
14897 (Bug#10987).
14898
14899 2012-03-11 Chong Yidong <cyd@gnu.org>
14900
14901 * simple.el (goto-line): Doc fix (Bug#9938).
14902
14903 * subr.el (save-window-excursion): Doc fix (Bug#9979).
14904
14905 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
14906 when finished (Bug#10963).
14907
14908 2012-03-11 Martin Rudalics <rudalics@gmx.at>
14909
14910 * window.el (split-window-below): Fix bug in case where
14911 split-window-keep-point is nil (Bug#10971).
14912
14913 2012-03-11 Juri Linkov <juri@jurta.org>
14914
14915 * replace.el (replace-highlight): Set isearch-word to nil
14916 unconditionally. (Bug#10887)
14917
14918 2012-03-10 Eli Zaretskii <eliz@gnu.org>
14919
14920 * net/mairix.el (mairix-replace-invalid-chars): Rename from
14921 mairix-replace-illegal-chars; all callers changed. Don't remove
14922 ^, ~, and = characters: they are meaningful in mairix search specs.
14923 (mairix-widget-create-query): Add usage information about mairix
14924 search forms: negating words, searching for substrings, etc.
14925
14926 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
14927
14928 * international/fontset.el (font-encoding-alist): Add an entry for
14929 ksx1001 (Bug#5667).
14930
14931 2012-03-10 Richard Stallman <rms@gnu.org>
14932
14933 * mail/sendmail.el (mail-encode-header):
14934 Set rfc2047-encode-encoded-words.
14935
14936 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
14937
14938 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
14939 view buffer means not swapped.
14940 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
14941 (rmail-write-region-annotate): Error if real text has disappeared.
14942
14943 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
14944
14945 2012-03-10 Chong Yidong <cyd@gnu.org>
14946
14947 * emulation/cua-rect.el (cua--init-rectangles):
14948 * emulation/cua-base.el (cua--init-keymaps):
14949 Add delete-forward-char to remappings (Bug#9666).
14950
14951 2012-03-10 Martin Rudalics <rudalics@gmx.at>
14952
14953 * speedbar.el (speedbar-unhighlight-one-tag-line):
14954 Avoid unhighlighting due to frame switching (Bug#10275).
14955
14956 2012-03-10 Chong Yidong <cyd@gnu.org>
14957
14958 * minibuffer.el (completion-in-region, completion-help-at-point):
14959 Give the completion field overlay a high priority (Bug#6830).
14960
14961 * dired.el (dired-goto-file): Recognize absolute file name
14962 listings (Bug#7126).
14963 (dired-goto-file-1): New helper function.
14964 (dired-toggle-read-only): Inhibit warnings.
14965
14966 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
14967
14968 * net/dbus.el (dbus-property-handler): Return empty array if
14969 there are no properties.
14970
14971 2012-03-09 Leo Liu <sdl.web@gmail.com>
14972
14973 * savehist.el (savehist-printable): Stricter check for string
14974 value (Bug#10937).
14975
14976 2012-03-09 Eli Zaretskii <eliz@gnu.org>
14977
14978 * mail/smtpmail.el (smtpmail-send-it):
14979 Bind coding-system-for-write to *-unix, so that FCC files are kept in
14980 valid mbox format.
14981
14982 2012-03-09 Glenn Morris <rgm@gnu.org>
14983
14984 * files.el (dir-locals-find-file):
14985 Don't check result is regular, readable.
14986 (dir-locals-read-from-file): Demote errors.
14987
14988 2012-03-08 Eli Zaretskii <eliz@gnu.org>
14989
14990 * international/quail.el (quail-insert-kbd-layout):
14991 Insert invisible LRM characters before each character in a keyboard
14992 layout cell, to prevent their reordering by bidi display engine.
14993 For details, see the discussion in
14994 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
14995
14996 2012-03-08 Alan Mackenzie <acm@muc.de>
14997
14998 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
14999 the starting position; make it extend the marked region when
15000 invoked repeatedly - all under appropriate circumstances.
15001 Fixes bugs #5525, #10906.
15002
15003 2012-03-08 Glenn Morris <rgm@gnu.org>
15004
15005 * files.el (locate-dominating-file, dir-locals-find-file):
15006 Undo 2012-03-06 change.
15007
15008 2012-03-07 Eli Zaretskii <eliz@gnu.org>
15009
15010 * international/quail.el (quail-help):
15011 Force bidi-paragraph-direction be left-to-right. See discussion in
15012 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
15013 for the reason.
15014
15015 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
15016
15017 Avoid superfluous registering of signals. (Bug#10807)
15018
15019 * notifications.el (notifications-on-action-object)
15020 (notifications-on-close-object): New defvars.
15021 (notifications-on-action-signal, notifications-on-closed-signal):
15022 Unregister the signal if not needed any longer.
15023 (notifications-notify): Register `notifications-action-signal' or
15024 `notifications-closed-signal', if :on-action or :on-close has been
15025 passed as argument.
15026
15027 2012-03-07 Chong Yidong <cyd@gnu.org>
15028
15029 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
15030 non-X platforms.
15031
15032 2012-03-06 Glenn Morris <rgm@gnu.org>
15033
15034 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
15035 (x-disown-selection-internal, x-get-selection-internal):
15036 Doc fix (add arglist signatures). (Bug#10783)
15037
15038 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
15039
15040 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
15041 Handle breakpoints with no "type".
15042
15043 2012-03-06 Glenn Morris <rgm@gnu.org>
15044
15045 * files.el (locate-dominating-file): Add optional predicate argument.
15046 (dir-locals-find-file): Make use of above change.
15047
15048 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
15049
15050 * info.el (Info-insert-dir): Also try "dir.gz".
15051
15052 2012-03-06 Glenn Morris <rgm@gnu.org>
15053
15054 * files.el (dir-locals-find-file):
15055 Ignore non-readable or non-regular files. (Bug#10928)
15056
15057 * files.el (locate-dominating-file): Doc fix.
15058
15059 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
15060
15061 * calendar/calendar.el (calendar-set-mode-line):
15062 `getenv' returns a string. (Bug#10951)
15063
15064 2012-03-05 Leo Liu <sdl.web@gmail.com>
15065
15066 * simple.el (backward-delete-char-untabify): Constrain point to
15067 field (Bug#10939).
15068
15069 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
15070
15071 2012-03-05 Chong Yidong <cyd@gnu.org>
15072
15073 * simple.el (count-words): If called from Lisp, return the word
15074 count, for symmetry with `count-lines'. Arglist changed.
15075 (count-words--message): Args changed. Consolidate counting code
15076 from count-words and count-words-region.
15077 (count-words-region): Caller changed.
15078 (count-lines-region): Make it an obsolete alias.
15079
15080 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
15081
15082 * saveplace.el (save-place-to-alist)
15083 (save-place-ignore-files-regexp): Allow value nil to disable this
15084 feature.
15085
15086 2012-03-04 Chong Yidong <cyd@gnu.org>
15087
15088 * faces.el (face-spec-reset-face): For the default face, reset the
15089 attributes to default values (Bug#10748).
15090
15091 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
15092
15093 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
15094 previous patch: Check `message-send-mail-function', and not the
15095 default function (bug#10897).
15096
15097 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
15098
15099 * notifications.el (notifications-on-action-signal)
15100 (notifications-on-closed-signal): Check for unique service name of
15101 incoming event. Fix error in removing entry.
15102 (top): Register for signals with wildcard service name.
15103 (notifications-notify): Use daemon unique service name for map entries.
15104
15105 2012-03-04 Chong Yidong <cyd@gnu.org>
15106
15107 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
15108
15109 2012-03-04 Glenn Morris <rgm@gnu.org>
15110
15111 * abbrev.el (copy-abbrev-table, abbrev-table-p)
15112 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
15113 (expand-abbrev, define-abbrev-table): Doc fixes.
15114
15115 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
15116
15117 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
15118 `message-default-send-mail-function' and not `send-mail-function'
15119 when doing the prompting for `sendmail-query-once' before sending
15120 in Message buffers (bug#10897).
15121
15122 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
15123 This is inconsistent with all the other stream functions, which leave
15124 the setting up to the higher levels (if so wanted) (bug#10931).
15125
15126 2012-03-02 Alan Mackenzie <acm@muc.de>
15127
15128 Depessimize the handling of very large macros.
15129
15130 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
15131 (c-macro-cache-syntactic): New variables to implement a one
15132 element macro cache.
15133 (c-invalidate-macro-cache): New function.
15134 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
15135 Adapt to use the new cache.
15136 (c-state-safe-place): Use better the cache of safe positions.
15137 (c-state-semi-nonlit-pos-cache)
15138 (c-state-semi-nonlit-pos-cache-limit):
15139 New variables for...
15140 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
15141 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
15142 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
15143 Use c-state-semi-safe-place.
15144
15145 * progmodes/cc-langs.el (c-get-state-before-change-functions):
15146 Add c-invalidate-macro-cache to the C, C++, Obj entries.
15147
15148 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
15149
15150 * jka-compr.el (jka-compr-call-process):
15151 Apply `file-accessible-directory-p' only when the default directory is
15152 not remote.
15153
15154 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
15155
15156 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
15157 access of FILE2, if FILE1 does not exist.
15158
15159 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
15160 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
15161
15162 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
15163 Add "PAGER=" to `process-environment'.
15164
15165 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
15166
15167 * progmodes/sql.el: Bug fix
15168 (sql-get-login-ext): Save login values in globals.
15169 (sql-get-login): Use new version of `sql-get-login-ext'.
15170 (sql-interactive-mode): Set global `sql-connection' to nil.
15171 (sql-connect): Set global values for connection.
15172 (sql-product-interactive): Save global values as buffer local.
15173
15174 2012-02-29 Leo Liu <sdl.web@gmail.com>
15175
15176 * abbrev.el (define-abbrevs): Reset sys to nil.
15177
15178 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15179
15180 * files.el (file-equal-p): Rename from `files-equal-p'.
15181 Return nil when one or both files don't exist.
15182 (file-subdir-of-p): Now only top directory must exists,
15183 return nil if it doesn't.
15184 (copy-directory): No need to test with `file-subdir-of-p' after
15185 creating dir.
15186 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
15187 to `file-equal-p'.
15188
15189 2012-02-28 Glenn Morris <rgm@gnu.org>
15190
15191 * shell.el (shell-mode):
15192 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
15193 * play/landmark.el (landmark-font-lock-face-O):
15194 * play/handwrite.el (handwrite):
15195 * play/gomoku.el (gomoku-O):
15196 * net/browse-url.el (browse-url-browser-display):
15197 * international/mule.el (define-charset):
15198 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
15199 * filesets.el (filesets-find-file-delay):
15200 * eshell/em-xtra.el (eshell-xtra):
15201 * eshell/em-unix.el (eshell-grep):
15202 * emulation/viper.el (viper-mode):
15203 * emacs-lisp/regexp-opt.el (regexp-opt-group):
15204 * emacs-lisp/easymenu.el (easy-menu-define):
15205 * calendar/timeclock.el (timeclock-use-display-time):
15206 * bs.el (bs-mode):
15207 * bookmark.el (bookmark-save-flag):
15208 Doc fix (standardize possessive apostrophe usage).
15209
15210 2012-02-27 Chong Yidong <cyd@gnu.org>
15211
15212 * emulation/viper-cmd.el (viper-intercept-ESC-key):
15213 Fix key-binding lookup for ESC key (Bug#9146).
15214
15215 * font-lock.el (font-lock-specified-p): Rename from
15216 font-lock-spec-present. Callers changed.
15217
15218 2012-02-27 Daniel Hackney <dan@haxney.org>
15219
15220 * emacs-lisp/package.el (package-compute-transaction):
15221 Handle holding a package version to t in package-load-list.
15222
15223 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
15224
15225 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
15226 (tramp-get-inode, tramp-get-device): Use cached values.
15227
15228 2012-02-26 Alan Mackenzie <acm@muc.de>
15229
15230 Check there is a font-lock specification before doing initial
15231 fontification.
15232
15233 * font-core.el (font-lock-mode): Move the conditional from
15234 :after-hook to font-lock-initial-fontify.
15235 (font-lock-default-function): Move the check for a specification
15236 to font-lock-spec-present.
15237
15238 * font-lock.el (font-lock-initial-fontify): Call ...
15239 (font-lock-spec-present): New function.
15240
15241 2012-02-26 Jim Blandy <jimb@red-bean.com>
15242
15243 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
15244 (gdb-send): Apply it to the operand of the '-interpreter-exec
15245 console' command, so that we can pass arguments with (say) quotes
15246 in them. Store exact string sent in gdb-debug-log (Bug#10765).
15247
15248 2012-02-26 Chong Yidong <cyd@gnu.org>
15249
15250 * help-fns.el (describe-function-1): Clarify description of
15251 remapping (Bug#10844).
15252
15253 * files.el (files-equal-p): Doc fix.
15254 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
15255 and quit the loop once a mismatch is found.
15256
15257 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
15258
15259 * bs.el (bs--show-with-configuration): Don't throw an error
15260 if the window cannot be split; otherwise, subsequent calls to
15261 bs-show fail, restoring a stale window config. (Bug#10882)
15262
15263 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
15264
15265 * term/ns-win.el (global-map): Bind ns-drag-file to
15266 ns-find-file (Bug#5855, Bug#10050).
15267
15268 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
15269
15270 * calendar/parse-time.el (parse-time-string): Allow extractor to
15271 return nil.
15272
15273 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
15274
15275 * net/tramp.el (tramp-file-name-for-operation):
15276 Add `files-equal-p' and `file-subdir-of-p'.
15277
15278 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
15279 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
15280 Add COPY-CONTENTS argument.
15281
15282 2012-02-25 Chong Yidong <cyd@gnu.org>
15283
15284 Add custom groups for VC backends, for consistency with vc-bzr.
15285
15286 * vc/vc-arch.el (vc-arch):
15287 * vc/vc-cvs.el (vc-cvs):
15288 * vc/vc-git.el (vc-git):
15289 * vc/vc-hg.el (vc-hg):
15290 * vc/vc-mtn.el (vc-mtn):
15291 * vc/vc-rcs.el (vc-rcs):
15292 * vc/vc-sccs.el (vc-sccs):
15293 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
15294 All relevant defcustoms reassigned.
15295
15296 2012-02-25 Chong Yidong <cyd@gnu.org>
15297
15298 * newcomment.el (comment-styles): Add autoload (Bug#10868).
15299
15300 * term/x-win.el (x-initialize-window-system): Reduce default for
15301 x-selection-timeout to 5 seconds (Bug#8869).
15302
15303 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15304
15305 * files.el (files-equal-p, file-subdir-of-p): New functions.
15306 (copy-directory): Error when trying to copy a directory on itself.
15307 Add missing copy-contents arg to tramp handler.
15308 * dired-aux.el (dired-copy-file-recursive): Same.
15309 (dired-create-files): Modify destination when source is equal to
15310 dest when copying files.
15311 Return also when dest is a subdir of source. (Bug#10489)
15312
15313 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
15314
15315 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
15316 (Bug#10874)
15317
15318 2012-02-23 Alan Mackenzie <acm@muc.de>
15319
15320 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
15321 parameter "after-hook:" to allow the expansion to run code after
15322 the execution of the mode hooks.
15323
15324 * font-lock.el (font-lock-initial-fontify): New function extracted
15325 from font-lock-mode-internal.
15326
15327 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
15328 :after-hook.
15329
15330 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
15331
15332 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
15333 (completion--cache-all-sorted-completions): New function.
15334 (completion-all-sorted-completions): Use it.
15335 (completion--do-completion, minibuffer-force-complete):
15336 Use it to re-instate the flush hook.
15337
15338 * icomplete.el (icomplete-completions): Replace last fix with a better
15339 one (bug#10850).
15340
15341 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
15342
15343 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
15344 when it might call us back infinitely (bug#10797).
15345
15346 2012-02-23 Glenn Morris <rgm@gnu.org>
15347
15348 * minibuffer.el (completion-category-overrides): Doc fix.
15349
15350 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
15351
15352 * minibuffer.el (completion-table-with-context): Fix inf-loop.
15353 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
15354
15355 2012-02-23 Glenn Morris <rgm@gnu.org>
15356
15357 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
15358 (authors-obsolete-files-regexps, authors-ignored-files)
15359 (authors-ambiguous-files, authors-renamed-files-alist):
15360 Add more entries.
15361
15362 2012-02-23 Juri Linkov <juri@jurta.org>
15363
15364 * isearch.el (isearch-occur): Sync interactive spec with occur's
15365 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
15366
15367 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
15368
15369 2012-02-22 Juri Linkov <juri@jurta.org>
15370
15371 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
15372 (ucs-insert): Doc fix. Check for hex digits in the string.
15373 Don't display `nil' in the error message. (Bug#10857)
15374
15375 2012-02-22 Alan Mackenzie <acm@muc.de>
15376
15377 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
15378
15379 2012-02-22 Glenn Morris <rgm@gnu.org>
15380
15381 * ffap.el (ffap-c-path):
15382 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
15383
15384 2012-02-22 Chong Yidong <cyd@gnu.org>
15385
15386 * custom.el (load-theme): Doc fix.
15387
15388 2012-02-22 Glenn Morris <rgm@gnu.org>
15389
15390 * dired-x.el (dired-guess-shell-alist-default):
15391 Remove escape sequences from nroff output. (Bug#172)
15392
15393 2012-02-21 Glenn Morris <rgm@gnu.org>
15394
15395 * vc/emerge.el (emerge-defvar-local):
15396 Set `permanent-local' property rather than unused `preserved'.
15397
15398 * textmodes/picture.el (picture-delete-char): New alias.
15399 (picture-mode-map): Use it. (Bug#10860)
15400 (picture-mode): Doc fix.
15401
15402 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
15403
15404 * newcomment.el (uncomment-region-default): Remove unused binding.
15405
15406 2012-02-21 Glenn Morris <rgm@gnu.org>
15407
15408 * textmodes/picture.el (picture-motion, picture-motion-reverse)
15409 (picture-self-insert, picture-tab-chars): Doc fix.
15410 (picture-mode-map): Fix C-a, C-e.
15411
15412 2012-02-20 Glenn Morris <rgm@gnu.org>
15413
15414 * emacs-lisp/authors.el (authors-aliases): Add another entry.
15415
15416 2012-02-20 Leo Liu <sdl.web@gmail.com>
15417
15418 * icomplete.el (icomplete-completions): Check FROM arg before
15419 passing to substring (Bug#10850).
15420
15421 2012-02-19 Chong Yidong <cyd@gnu.org>
15422
15423 * comint.el: Require ansi-color.
15424 (comint-output-filter-functions): Add ansi-color-process-output.
15425
15426 * ansi-color.el: Don't set comint-output-filter-functions; it is
15427 now in the initial value defined in comint.el.
15428 (ansi-color-apply-face-function): New variable.
15429 (ansi-color-apply-on-region): Use it.
15430 (ansi-color-apply-overlay-face): New function.
15431
15432 * shell.el (shell): No need to require ansi-color.
15433 (shell-mode): Use ansi-color-apply-face-function to highlight
15434 color escapes using font-lock-face property (Bug#10835).
15435
15436 2012-02-19 Chong Yidong <cyd@gnu.org>
15437
15438 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
15439 mode-line formats (Bug#10839).
15440
15441 2012-02-18 Glenn Morris <rgm@gnu.org>
15442
15443 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
15444
15445 * mail/undigest.el (unforward-rmail-message): Doc fix.
15446
15447 * saveplace.el (save-place-ignore-files-regexp): Add :version.
15448
15449 2012-02-18 Eli Zaretskii <eliz@gnu.org>
15450
15451 * international/characters.el (script-list): Sync with the latest
15452 Unicode Character Database.
15453
15454 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
15455
15456 * international/titdic-cnv.el: Remove duplicate coding tag.
15457 * language/cham.el: Likewise.
15458 * language/tai-viet.el: Likewise.
15459
15460 2012-02-18 Glenn Morris <rgm@gnu.org>
15461
15462 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
15463 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
15464 (calendar-bahai-all-holidays-flag, calendar-other-dates):
15465 * calendar/diary-lib.el (diary-abbreviated-year-flag):
15466 * calendar/holidays.el (holiday-bahai-holidays)
15467 (calendar-holidays, list-holidays):
15468 Use utf-8 Bahá'í in doc-strings, menus, etc.
15469
15470 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
15471
15472 * saveplace.el (save-place-ignore-files-regexp): New variable
15473 allowing for excluding files from saving their location of point.
15474 The default value matches the temporary commit message editing
15475 files from Git, SVN, Bazaar, and Mercurial.
15476 (save-place-to-alist): Use it.
15477
15478 2012-02-17 Lawrence Mitchell <wence@gmx.li>
15479 Stefan Monnier <monnier@iro.umontreal.ca>
15480
15481 * newcomment.el (uncomment-region-default): Don't leave extra space
15482 when an arg is provided (bug#8150).
15483
15484 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
15485
15486 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
15487
15488 2012-02-17 Glenn Morris <rgm@gnu.org>
15489
15490 * net/socks.el: Require network-stream. (Bug#10599)
15491
15492 2012-02-17 Kenichi Handa <handa@m17n.org>
15493
15494 * international/charprop.el:
15495 * international/uni-name.el:
15496 * international/uni-old-name.el:
15497 * international/uni-comment.el: Regenerate.
15498
15499 2012-02-16 Glenn Morris <rgm@gnu.org>
15500
15501 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
15502 Interactively in calendar buffer, give an error if not on a date.
15503
15504 2012-02-15 Glenn Morris <rgm@gnu.org>
15505
15506 * shell.el (shell-delimiter-argument-list):
15507 Revert 2011-02-17 change. (Bug#8027)
15508
15509 2012-02-15 Chong Yidong <cyd@gnu.org>
15510
15511 * minibuffer.el (completion-at-point-functions): Doc fix.
15512
15513 * custom.el (defcustom): Doc fix; note use of defvar.
15514
15515 2012-02-15 Glenn Morris <rgm@gnu.org>
15516
15517 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
15518 Doc fixes.
15519
15520 2012-02-14 Glenn Morris <rgm@gnu.org>
15521
15522 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
15523
15524 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
15525
15526 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
15527 way the ports list is computed.
15528 (smtpmail-query-smtp-server): Prompt the user for a port number if
15529 we can't connect to any of the standard ports (bug#10810).
15530
15531 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
15532
15533 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
15534
15535 2012-02-13 Glenn Morris <rgm@gnu.org>
15536
15537 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
15538
15539 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
15540
15541 * net/gnutls.el (gnutls-trustfiles): New variable.
15542 (gnutls-negotiate): Use it.
15543
15544 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
15545
15546 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
15547 does its stuff if Gnus is running.
15548
15549 2012-02-13 Alan Mackenzie <acm@muc.de>
15550
15551 Fix a loop in c-set-fl-decl-start.
15552
15553 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
15554 c-backward-syntactic-ws actually moves backwards.
15555
15556 2012-02-13 Leo Liu <sdl.web@gmail.com>
15557
15558 * net/rcirc.el (rcirc-markup-attributes): Move point to the
15559 beginning so that all \C-o chars are removed.
15560
15561 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
15562
15563 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
15564
15565 2012-02-12 Alan Mackenzie <acm@muc.de>
15566
15567 Fix infinite loop with long macros.
15568 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
15569
15570 2012-02-12 Chong Yidong <cyd@gnu.org>
15571
15572 * window.el (display-buffer): Doc fix (Bug#10785).
15573
15574 2012-02-12 Glenn Morris <rgm@gnu.org>
15575
15576 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
15577 (x-disown-selection-internal, x-get-selection-internal):
15578 Sync docs with the xselect.c versions.
15579
15580 * allout-widgets.el: Add missing license notice.
15581
15582 2012-02-11 Glenn Morris <rgm@gnu.org>
15583
15584 * select.el (x-get-selection-internal, x-own-selection-internal)
15585 (x-disown-selection-internal):
15586 * x-dnd.el (x-get-selection-internal): Update declarations.
15587
15588 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
15589
15590 * window.el (window-sides-slots):
15591 * tool-bar.el (tool-bar-position):
15592 * term/xterm.el (xterm-extra-capabilities):
15593 * ses.el (ses-self-reference-early-detection):
15594 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
15595 (verilog-auto-wire-type)
15596 (verilog-auto-delete-trailing-whitespace)
15597 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
15598 (verilog-auto-tieoff-declaration):
15599 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
15600 (sql-oracle-statement-starters, sql-oracle-scan-on):
15601 * progmodes/prolog.el (prolog-align-comments-flag)
15602 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
15603 (prolog-left-indent-regexp, prolog-paren-indent-p)
15604 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
15605 (prolog-types, prolog-mode-specificators)
15606 (prolog-determinism-specificators, prolog-directives)
15607 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
15608 (prolog-electric-dot-flag)
15609 (prolog-electric-dot-full-predicate-template)
15610 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
15611 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
15612 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
15613 (prolog-program-switches, prolog-prompt-regexp)
15614 (prolog-debug-on-string, prolog-debug-off-string)
15615 (prolog-trace-on-string, prolog-trace-off-string)
15616 (prolog-zip-on-string, prolog-zip-off-string)
15617 (prolog-use-standard-consult-compile-method-flag)
15618 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
15619 (prolog-imenu-max-lines, prolog-info-predicate-index)
15620 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
15621 (prolog-char-quote-workaround):
15622 * progmodes/cc-vars.el (c-defun-tactic):
15623 * net/tramp.el (tramp-encoding-command-interactive)
15624 (tramp-local-end-of-line):
15625 * net/soap-client.el (soap-client):
15626 * net/netrc.el (netrc-file):
15627 * net/gnutls.el (gnutls):
15628 * minibuffer.el (completion-category-overrides)
15629 (completion-cycle-threshold)
15630 (completion-pcm-complete-word-inserts-delimiters):
15631 * man.el (Man-name-local-regexp):
15632 * mail/feedmail.el (feedmail-display-full-frame):
15633 * international/characters.el (glyphless-char-display-control):
15634 * eshell/em-ls.el (eshell-ls-date-format):
15635 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
15636 (lisp-lambda-list-keyword-parameter-indentation)
15637 (lisp-lambda-list-keyword-parameter-alignment):
15638 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
15639 * dired-x.el (dired-omit-verbose):
15640 * cus-theme.el (custom-theme-allow-multiple-selections):
15641 * calc/calc.el (calc-highlight-selections-with-faces)
15642 (calc-lu-field-reference, calc-lu-power-reference)
15643 (calc-note-threshold):
15644 * battery.el (battery-mode-line-limit):
15645 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
15646 (archive-7z-update):
15647 * allout.el (allout-prefixed-keybindings)
15648 (allout-unprefixed-keybindings)
15649 (allout-inhibit-auto-fill-on-headline)
15650 (allout-flattened-numbering-abbreviation):
15651 * allout-widgets.el (allout-widgets-auto-activation)
15652 (allout-widgets-icons-dark-subdir)
15653 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
15654 (allout-widgets-theme-dark-background)
15655 (allout-widgets-theme-light-background)
15656 (allout-widgets-item-image-properties-emacs)
15657 (allout-widgets-item-image-properties-xemacs)
15658 (allout-widgets-run-unit-tests-on-load)
15659 (allout-widgets-time-decoration-activity)
15660 (allout-widgets-hook-error-post-time)
15661 (allout-widgets-track-decoration):
15662 Add missing :version tags to new defcustoms and defgroups.
15663
15664 * progmodes/sql.el (sql-ansi-statement-starters)
15665 (sql-oracle-statement-starters): Add custom type.
15666
15667 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
15668 (prolog-system-version): Give it a type.
15669
15670 2012-02-11 Eli Zaretskii <eliz@gnu.org>
15671
15672 * term/pc-win.el (x-select-text, x-selection-owner-p)
15673 (x-own-selection-internal, x-disown-selection-internal)
15674 (x-get-selection-internal): Sync doc strings and argument lists
15675 with xselect.c, common-win.el and x-win.el. (Bug#10783)
15676
15677 2012-02-11 Leo Liu <sdl.web@gmail.com>
15678
15679 * progmodes/python.el (python-end-of-statement): Fix infinite
15680 loop. (Bug#10788)
15681
15682 2012-02-10 Glenn Morris <rgm@gnu.org>
15683
15684 * international/mule-cmds.el (unify-8859-on-encoding-mode)
15685 (unify-8859-on-decoding-mode): Properly mark as obsolete.
15686
15687 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
15688
15689 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
15690 about SMTP before checking the From header.
15691
15692 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
15693 into own function for reuse by emacsbug.el.
15694
15695 2012-02-10 Leo Liu <sdl.web@gmail.com>
15696
15697 * subr.el (condition-case-unless-debug): Rename from
15698 condition-case-no-debug. All callers changed.
15699 (with-demoted-errors): Fix caller.
15700
15701 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
15702 * nxml/rng-valid.el (rng-do-some-validation):
15703 * emacs-lisp/package.el (package-refresh-contents)
15704 (package-menu-execute):
15705 * desktop.el (desktop-create-buffer):
15706 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
15707
15708 2012-02-10 Glenn Morris <rgm@gnu.org>
15709
15710 * textmodes/bibtex.el:
15711 Add missing :version tags for new/changed defcustoms.
15712
15713 * files.el (remote-file-name-inhibit-cache): Doc fixes.
15714
15715 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
15716
15717 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
15718 (smtpmail-via-smtp): Use it, or fall back on the From address.
15719 (smtpmail-send-it): Ditto.
15720
15721 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
15722
15723 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
15724 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
15725 (byte-compile-tmp-var): New const.
15726 (byte-compile-defvar): Use it to minimize .elc size.
15727 Just use `defvar' rather than simulate it (bug#10761).
15728
15729 2012-02-09 Glenn Morris <rgm@gnu.org>
15730
15731 * files.el (rename-uniquely): Doc fix. (Bug#3806)
15732
15733 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
15734 Add :version tags.
15735
15736 * progmodes/compile.el (compilation-error-screen-columns)
15737 (compilation-first-column, compilation-filter-start): Doc fixes.
15738
15739 * vc/log-view.el (log-view-toggle-entry-display):
15740 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
15741
15742 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
15743 (report-emacs-bug-can-use-xdg-email):
15744 (report-emacs-bug-insert-to-mailer): Doc fixes.
15745 (report-emacs-bug): Message fix.
15746
15747 * net/browse-url.el (browse-url-can-use-xdg-open)
15748 (browse-url-xdg-open): Doc fixes.
15749
15750 * electric.el (electric-indent-mode, electric-pair-mode)
15751 (electric-layout-rules, electric-layout-mode): Doc fixes.
15752 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
15753
15754 2012-02-08 Martin Rudalics <rudalics@gmx.at>
15755
15756 * server.el (server-unselect-display): Don't inadvertently kill
15757 the current buffer. (Bug#10729)
15758
15759 2012-02-08 Glenn Morris <rgm@gnu.org>
15760
15761 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
15762 (sql-list-table): Doc fixes.
15763
15764 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
15765 Comment out (does nothing).
15766
15767 * completion.el (dynamic-completion-mode):
15768 * dirtrack.el (dirtrack-debug-mode):
15769 * electric.el (electric-layout-mode):
15770 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
15771 * face-remap.el (text-scale-mode, buffer-face-mode):
15772 * iimage.el (iimage-mode):
15773 * image-mode.el (image-transform-mode):
15774 * minibuffer.el (completion-in-region-mode):
15775 * scroll-lock.el (scroll-lock-mode):
15776 * simple.el (next-error-follow-minor-mode):
15777 * tar-mode.el (tar-subfile-mode):
15778 * tooltip.el (tooltip-mode):
15779 * vcursor.el (vcursor-use-vcursor-map):
15780 * wid-browse.el (widget-minor-mode):
15781 * emulation/tpu-edt.el (tpu-edt-mode):
15782 * emulation/tpu-extras.el (tpu-cursor-free-mode):
15783 * international/iso-ascii.el (iso-ascii-mode):
15784 * language/thai-util.el (thai-word-mode):
15785 * mail/supercite.el (sc-minor-mode):
15786 * net/goto-addr.el (goto-address-mode):
15787 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
15788 * progmodes/cwarn.el (cwarn-mode):
15789 * progmodes/flymake.el (flymake-mode):
15790 * progmodes/glasses.el (glasses-mode):
15791 * progmodes/hideshow.el (hs-minor-mode):
15792 * progmodes/pascal.el (pascal-outline-mode):
15793 * textmodes/enriched.el (enriched-mode):
15794 * vc/smerge-mode.el (smerge-mode):
15795 Doc fixes (minor mode argument).
15796
15797 2012-02-07 Eli Zaretskii <eliz@gnu.org>
15798
15799 * ls-lisp.el (ls-lisp-sanitize): New function.
15800 (ls-lisp-insert-directory): Use it to fix or remove any elements
15801 in file-alist with missing attributes. (Bug#4673)
15802
15803 2012-02-07 Alan Mackenzie <acm@muc.de>
15804
15805 Fix spurious recognition of c-in-knr-argdecl.
15806
15807 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
15808 putative K&R region.
15809
15810 2012-02-07 Alan Mackenzie <acm@muc.de>
15811
15812 * progmodes/cc-engine.el (c-forward-objc-directive):
15813 Prevent looping in "#pragma mark @implementation".
15814
15815 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
15816
15817 * notifications.el (notifications-on-closed-signal): Make `reason'
15818 optional. (Bug#10744)
15819
15820 2012-02-07 Glenn Morris <rgm@gnu.org>
15821
15822 * emacs-lisp/easy-mmode.el (define-minor-mode):
15823 Doc fixes for the macro and the mode it defines.
15824
15825 * image.el (imagemagick-types-inhibit): Doc fix.
15826
15827 * cus-start.el (imagemagick-render-type): Add it.
15828
15829 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
15830
15831 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
15832 Set the default at load time, too, so that `font-lock-fontify-buffer'
15833 can be called without setting up the entire mode first. This fixes
15834 a bug in `mm-inline-text' with C MIME parts.
15835
15836 2012-02-06 Chong Yidong <cyd@gnu.org>
15837
15838 * simple.el (list-processes--refresh): Delete exited processes
15839 (Bug#8094).
15840
15841 * comint.el (comint-next-prompt): next-single-char-property-change
15842 and prev-single-char-property-change never return nil (Bug#8657).
15843
15844 * custom.el (defcustom): Doc fix (Bug#9711).
15845
15846 2012-02-05 Chong Yidong <cyd@gnu.org>
15847
15848 * cus-edit.el (custom-variable-reset-backup): Quote the value
15849 before storing it in the customized-value property (Bug#6712).
15850 (custom-display): Add a customization type tag.
15851 (custom-buffer-create-internal): Improve tooltip message.
15852
15853 * wid-edit.el (widget-field-value-get): New optional arg to
15854 suppress trailing whitespace truncation.
15855 (character): Use it (Bug#2689).
15856
15857 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
15858
15859 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
15860 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
15861
15862 2012-02-05 Chong Yidong <cyd@gnu.org>
15863
15864 * cus-edit.el (custom-variable-value-create): For mismatched
15865 types, show the current value (Bug#7600).
15866
15867 * custom.el (defcustom): Doc fix.
15868
15869 2012-02-05 Glenn Morris <rgm@gnu.org>
15870
15871 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
15872
15873 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
15874
15875 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
15876 (pp-buffer): Use `ignore-errors', `looking-at-p'.
15877 (pp-last-sexp): Use `looking-at-p'.
15878
15879 2012-02-04 Glenn Morris <rgm@gnu.org>
15880
15881 * files.el (revert-buffer):
15882 Doc fix (mention revert-buffer-in-progress-p).
15883
15884 * emacs-lisp/ert-x.el (ert-simulate-command):
15885 Check deferred-action-list (which is obsolete) is bound.
15886
15887 * subr.el (with-wrapper-hook): Doc fixes.
15888
15889 * simple.el (filter-buffer-substring-functions)
15890 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
15891
15892 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
15893
15894 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
15895 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
15896
15897 2012-02-04 Leo Liu <sdl.web@gmail.com>
15898
15899 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
15900
15901 2012-02-04 Glenn Morris <rgm@gnu.org>
15902
15903 * image.el (image-extension-data): Add obsolete alias.
15904
15905 * isearch.el (isearch-update): Doc fix.
15906
15907 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
15908
15909 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
15910
15911 2012-02-03 Glenn Morris <rgm@gnu.org>
15912
15913 * image.el (image-animated-p): Doc fix. Use image-animated-types.
15914 (image-animate-timeout): Doc fix.
15915
15916 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
15917
15918 2012-02-02 Glenn Morris <rgm@gnu.org>
15919
15920 * server.el (server-auth-dir): Doc fix.
15921 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
15922
15923 * subr.el (run-mode-hooks): Doc fix.
15924
15925 2012-02-02 Juri Linkov <juri@jurta.org>
15926
15927 * image-mode.el (image-toggle-display-image): Remove tautological
15928 `major-mode' from the `derived-mode-p' test.
15929
15930 2012-02-02 Kenichi Handa <handa@m17n.org>
15931
15932 * composite.el (compose-region): Cancel previous change.
15933
15934 2012-02-02 Kenichi Handa <handa@m17n.org>
15935
15936 * composite.el (compose-region, compose-string): Signal error for
15937 a null string component (Bug#6988).
15938
15939 2012-02-01 Chong Yidong <cyd@gnu.org>
15940
15941 * view.el (view-buffer-other-window, view-buffer-other-frame):
15942 Handle special modes like view-buffer (Bug#10650).
15943 (view-buffer): Simplify.
15944
15945 * frame.el (set-frame-font): Tweak meaning of third argument.
15946
15947 * dynamic-setting.el (font-setting-change-default-font):
15948 Use set-frame-font (Bug#9982).
15949
15950 2012-02-01 Glenn Morris <rgm@gnu.org>
15951
15952 * progmodes/compile.el (compilation-internal-error-properties):
15953 Respect compilation-first-column in the "*compilation*" buffer.
15954
15955 * emacs-lisp/easy-mmode.el (define-minor-mode):
15956 Relax :variable's test for a named function.
15957
15958 2012-01-31 Alan Mackenzie <acm@muc.de>
15959
15960 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
15961 off by one error.
15962
15963 2012-01-31 Chong Yidong <cyd@gnu.org>
15964
15965 * frame.el (set-frame-font): New arg ALL-FRAMES.
15966
15967 * menu-bar.el (menu-set-font): Use set-frame-font.
15968
15969 * faces.el (face-spec-reset-face): Don't apply unspecified
15970 attribute values to the default face.
15971
15972 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
15973
15974 * progmodes/cwarn.el (cwarn): Remove dead link.
15975 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
15976 Remove * from defcustom docstrings.
15977 (turn-on-cwarn-mode): Make obsolete.
15978 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
15979 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
15980
15981 2012-01-31 Glenn Morris <rgm@gnu.org>
15982
15983 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
15984 Fix :variable handling of mode a symbol not equal to modefun.
15985 Allow named functions to be used as the cdr of :variable.
15986
15987 2012-01-30 Glenn Morris <rgm@gnu.org>
15988
15989 * emacs-lisp/authors.el (authors-fixed-entries):
15990 Remove reference to deleted file rnewspost.el.
15991
15992 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
15993
15994 * window.el (window-with-parameter): Remove unused variable `windows'.
15995 (window--side-check): Remove unused variable `code'.
15996 (window--resize-siblings): Remove unused variable `first'.
15997 (adjust-window-trailing-edge): Remove unused variable `failed'.
15998 (window-deletable-p, window--delete): Remove unused variable `buffer'.
15999 Use `let', not `let*'.
16000 (balance-windows-2): Remove unused variable `found'.
16001 (window--state-put-2): Remove unused variable `splits'.
16002 (window-state-put): Remove unused variable `selected'.
16003 (same-window-p): Use `string-match-p'.
16004 (display-buffer-assq-regexp): Remove unused variable `value'.
16005 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
16006 Mark argument ALIST as ignored.
16007 (pop-to-buffer): Remove unused variable `old-window'.
16008
16009 2012-01-29 Eli Zaretskii <eliz@gnu.org>
16010
16011 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
16012 and .lzma compressed files.
16013
16014 2012-01-29 Chong Yidong <cyd@gnu.org>
16015
16016 * frame.el (window-system-default-frame-alist): Doc fix.
16017
16018 * dynamic-setting.el (font-setting-change-default-font): Don't
16019 change the default face if SET-FONT argument is non-nil (Bug#9982).
16020
16021 2012-01-29 Samuel Bronson <naesten@gmail.com>
16022
16023 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
16024
16025 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
16026
16027 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
16028 breakpoints in files outside current directory (Bug#6098).
16029
16030 2012-01-29 Chong Yidong <cyd@gnu.org>
16031
16032 * progmodes/python.el: Require ansi-color at top-level.
16033
16034 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
16035 Define and use in Emacs Lisp mode (Bug#9360).
16036 (lisp-mode-abbrev-table): Add doc.
16037 (lisp-mode-variables): Don't set local-abbrev-table.
16038 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
16039
16040 2012-01-28 Roland Winkler <winkler@gnu.org>
16041
16042 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
16043
16044 2012-01-28 Roland Winkler <winkler@gnu.org>
16045
16046 * textmodes/bibtex.el (bibtex-entry-alist): New function.
16047 (bibtex-set-dialect): Use it. Either set global values of
16048 dialect-dependent variables or bind these variables buffer-locally
16049 (Bug#10254).
16050 (bibtex-mode): Call bibtex-set-dialect via
16051 hack-local-variables-hook.
16052 (bibtex-dialect): Update docstring.
16053 Add safe-local-variable predicate.
16054 (bibtex-entry-alist, bibtex-field-alist): Initialize via
16055 bibtex-set-dialect.
16056 (bibtex-mode-map): Define menu for each dialect.
16057 (bibtex-entry): Fix docstring.
16058
16059 2012-01-28 Chong Yidong <cyd@gnu.org>
16060
16061 * eshell/esh-arg.el (eshell-quote-argument): New function.
16062
16063 * eshell/esh-ext.el (eshell-invoke-batch-file):
16064 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
16065 first arg to eshell-parse-command (Bug#10523).
16066
16067 2012-01-28 Drew Adams <drew.adams@oracle.com>
16068
16069 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
16070 `default-directory' is non-nil.
16071
16072 2012-01-28 Eli Zaretskii <eliz@gnu.org>
16073
16074 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
16075 line that displays system-configuration-options. (Bug#9924)
16076
16077 2012-01-28 Drew Adams <drew.adams@oracle.com>
16078
16079 * descr-text.el (describe-char): Show information about POS, in
16080 addition to information about the character at POS. Improve and
16081 update the doc string. Change "code point" to "code point in
16082 charset", to avoid confusion with the character's Unicode code
16083 point shown above that. (Bug#10129)
16084
16085 2012-01-28 Eli Zaretskii <eliz@gnu.org>
16086
16087 * descr-text.el (describe-char): Show the raw character, not only
16088 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
16089 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
16090 for the reasons.
16091
16092 2012-01-28 Phil Hagelberg <phil@hagelb.org>
16093
16094 * emacs-lisp/package.el (package-install):
16095 Run package-refresh-contents if there is no archive yet (Bug#9798).
16096
16097 2012-01-28 Chong Yidong <cyd@gnu.org>
16098
16099 * emacs-lisp/package.el (package-maybe-load-descriptor):
16100 New function, split from package-maybe-load-descriptor.
16101 (package-maybe-load-descriptor): Use it.
16102 (package-download-transaction): Fully load required packages
16103 inside the loop, so that `require' calls work (Bug#10593).
16104 (package-install): No need to call package-initialize now.
16105
16106 2012-01-28 Chong Yidong <cyd@gnu.org>
16107
16108 * simple.el (deactivate-mark): Doc fix (Bug#8614).
16109
16110 * tooltip.el (tooltip-mode): Doc fix.
16111 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
16112
16113 * frame.el (set-cursor-color): Doc fix (Bug#352).
16114
16115 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
16116 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
16117
16118 * cus-edit.el (custom-buffer-create-internal): Fix search button
16119 action (Bug#10542).
16120 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
16121
16122 2012-01-27 Eduard Wiebe <usenet@pusto.de>
16123
16124 * dired.el (dired-mark-files-regexp):
16125 Include any subdirectory components. (Bug#10445)
16126
16127 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
16128
16129 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
16130 Handle [host]:port syntax. (Bug#10533)
16131
16132 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
16133
16134 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
16135
16136 2012-01-26 Glenn Morris <rgm@gnu.org>
16137
16138 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
16139 * term.el (term-raw-escape-map): Use Control-X-prefix.
16140 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
16141
16142 2012-01-25 Martin Rudalics <rudalics@gmx.at>
16143
16144 * window.el (window-state-get, window--state-get-1): Don't deal
16145 with fixed-sizeness of windows. Simplify code.
16146
16147 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
16148
16149 * window.el (window--state-get-1, window--state-put-2):
16150 Don't save and restore the mark.
16151
16152 2012-01-25 Chong Yidong <cyd@gnu.org>
16153
16154 * custom.el (custom-variable-p): Doc fix.
16155
16156 2012-01-25 Glenn Morris <rgm@gnu.org>
16157
16158 * dired.el (dired-goto-file): Handle some of the more common
16159 characters that `ls -b' escapes. (Bug#10596)
16160
16161 * progmodes/compile.el (compilation-next-error-function):
16162 Respect compilation-first-column in the "*compilation*" buffer.
16163 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
16164
16165 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
16166
16167 2012-01-24 Glenn Morris <rgm@gnu.org>
16168
16169 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
16170
16171 2012-01-24 Julien Danjou <julien@danjou.info>
16172
16173 * color.el (color-rgb-to-hsl): Fix value computing.
16174 (color-hue-to-rgb): New function.
16175 (color-hsl-to-rgb): New function.
16176 (color-clamp, color-saturate-hsl, color-saturate-name)
16177 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
16178 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
16179
16180 2012-01-24 Glenn Morris <rgm@gnu.org>
16181
16182 * vc/vc-rcs.el (vc-rcs-create-tag):
16183 * vc/vc-sccs.el (vc-sccs-create-tag):
16184 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
16185
16186 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
16187
16188 * eshell/esh-util.el (eshell-read-hosts-file):
16189 Skip comment lines. (Bug#10549)
16190
16191 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
16192
16193 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
16194
16195 * subr.el (display-delayed-warnings): Doc fix.
16196 (collapse-delayed-warnings): New function to collapse identical
16197 adjacent warnings.
16198 (delayed-warnings-hook): Add it.
16199
16200 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
16201
16202 * net/tramp.el (tramp-action-login): Set connection property "login-as".
16203
16204 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
16205 (tramp-default-user-alist): Don't add "pscp".
16206 (tramp-do-copy-or-rename-file-out-of-band): Use connection
16207 property "login-as", if set. (Bug#10530)
16208
16209 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
16210
16211 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
16212 "plink1" and "psftp". (Bug#10530)
16213
16214 2012-01-21 Kenichi Handa <handa@m17n.org>
16215
16216 * international/mule-cmds.el (prefer-coding-system): Show a
16217 warning message if the default value of file-name-coding-system
16218 was not changed.
16219
16220 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
16221
16222 * windmove.el (windmove-reference-loc):
16223 Fix windmove-reference-loc miscalculation.
16224
16225 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
16226
16227 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
16228 default unit.
16229
16230 2012-01-21 Glenn Morris <rgm@gnu.org>
16231
16232 * international/mule.el (auto-coding-alist): Add .tbz.
16233
16234 * files.el (local-enable-local-variables): Doc fix.
16235 (inhibit-local-variables-regexps): Rename from
16236 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
16237 Doc fix. Add some extensions from auto-coding-alist.
16238 (inhibit-local-variables-suffixes):
16239 Rename from inhibit-first-line-modes-suffixes. Doc fix.
16240 (inhibit-local-variables-p):
16241 New function, extracted from set-auto-mode-1.
16242 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
16243 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
16244 (hack-local-variables): Doc fix. Make the mode-only case
16245 respect enable-local-variables and friends.
16246 Respect inhibit-local-variables-regexps for file-locals, but
16247 not for directory-locals.
16248 (set-visited-file-name):
16249 Take account of inhibit-local-variables-regexps.
16250 Whether it applies may change as the file name is changed.
16251 * jka-cmpr-hook.el (jka-compr-install):
16252 * jka-compr.el (jka-compr-uninstall):
16253 Update for inhibit-first-line-modes-suffixes name change.
16254
16255 2012-01-20 Martin Rudalics <rudalics@gmx.at>
16256
16257 * help-macro.el (make-help-screen): Temporarily restore original
16258 binding for minor-mode-map-alist (Bug#10454).
16259
16260 2012-01-19 Julien Danjou <julien@danjou.info>
16261
16262 * color.el (color-name-to-rgb): Use the white color to find the max
16263 color component value and return correctly computed values.
16264 (color-name-to-rgb): Add missing float conversion for max value.
16265
16266 2012-01-19 Martin Rudalics <rudalics@gmx.at>
16267
16268 * window.el (window--state-get-1, window-state-get): Do not use
16269 special state value for window-persistent-parameters.
16270 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
16271 (window--state-put-2): Reset all window parameters to nil before
16272 assigning values of persistent parameters.
16273
16274 2012-01-18 Alan Mackenzie <acm@muc.de>
16275
16276 Eliminate sluggishness and hangs in fontification of "semicolon
16277 deserts".
16278
16279 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
16280 Change value 10000 -> 3000.
16281 (c-state-safe-place): Reformulate so it doesn't stack up an
16282 infinite number of wrong entries in c-state-nonlit-pos-cache.
16283 (c-determine-limit-get-base, c-determine-limit): New functions to
16284 determine backward search limits disregarding literals.
16285 (c-find-decl-spots): Amend commenting.
16286 (c-cheap-inside-bracelist-p): New function which detects "={".
16287
16288 * progmodes/cc-fonts.el
16289 (c-make-font-lock-BO-decl-search-function): Give a limit to a
16290 backward search.
16291 (c-font-lock-declarations): Fix an occurrence of point being
16292 undefined. Check additionally for point being in a bracelist or
16293 near a macro invocation without a semicolon so as to avoid a
16294 fruitless time consuming search for a declarator. Give a more
16295 precise search limit for declarators using the new
16296 c-determine-limit.
16297
16298 2012-01-18 Glenn Morris <rgm@gnu.org>
16299
16300 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
16301 (set-auto-mode): Doc fixes.
16302
16303 2012-01-17 Glenn Morris <rgm@gnu.org>
16304
16305 * isearch.el (search-nonincremental-instead): Fix doc typo.
16306
16307 * dired.el (dired-insert-directory): Handle newlines in directory name.
16308 (dired-build-subdir-alist): Unescape newlines in directory name.
16309
16310 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
16311
16312 * net/tramp.el (tramp-local-end-of-line): New defcustom.
16313 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
16314 (tramp-action-terminal): Use it. (Bug#10530)
16315
16316 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
16317
16318 * minibuffer.el (completion--replace): Strip properties (bug#10062).
16319
16320 2012-01-16 Martin Rudalics <rudalics@gmx.at>
16321
16322 * window.el (window-state-ignored-parameters): Remove variable.
16323 (window--state-get-1): Rename argument MARKERS to IGNORE.
16324 Handle persistent window parameters. Make copy of clone-of
16325 parameter only if requested. (Bug#10348)
16326 (window--state-put-2): Install a window parameter only if it has
16327 a non-nil value or an existing parameter shall be overwritten.
16328
16329 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
16330
16331 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
16332
16333 2012-01-14 Eli Zaretskii <eliz@gnu.org>
16334
16335 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
16336 don't pass the (nil) value of `upnode' to string-match.
16337
16338 2012-01-14 Chong Yidong <cyd@gnu.org>
16339
16340 * startup.el (command-line): Fix X resource class for cursorColor.
16341 Fix values recognized by the cursorBlink resource.
16342
16343 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
16344
16345 * epg.el (epg--make-temp-file): Avoid permission race condition
16346 when running on old Emacs versions (bug#10403).
16347
16348 2012-01-14 Glenn Morris <rgm@gnu.org>
16349
16350 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
16351
16352 2012-01-13 Alan Mackenzie <acm@muc.de>
16353
16354 Fix filling for when filladapt mode is enabled.
16355
16356 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
16357 c-mask-paragraph, pass in `fill-paragraph' rather than
16358 `fill-region-as-paragraph'. (This is a reversion of a previous
16359 change.)
16360 * progmodes/cc-mode.el (c-basic-common-init):
16361 Make fill-paragraph-handle-comment buffer local and set it to nil.
16362
16363 2012-01-13 Glenn Morris <rgm@gnu.org>
16364
16365 * dired.el (dired-switches-escape-p): New function.
16366 (dired-insert-directory): Use dired-switches-escape-p.
16367 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
16368
16369 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
16370
16371 2012-01-12 Glenn Morris <rgm@gnu.org>
16372
16373 * mail/sendmail.el (mail-mode): Update paragraph-separate for
16374 changes in adaptive-fill-regexp. (Bug#10276)
16375
16376 2012-01-11 Alan Mackenzie <acm@muc.de>
16377
16378 Fix Emacs bug #10463 - put `widen's around the critical spots.
16379
16380 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
16381 widen around each invocation of c-state-pp-to-literal. Remove an
16382 unused let variable.
16383
16384 2012-01-11 Glenn Morris <rgm@gnu.org>
16385
16386 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
16387 Doc fix.
16388
16389 2012-01-10 Chong Yidong <cyd@gnu.org>
16390
16391 * net/network-stream.el (network-stream-open-starttls):
16392 Avoid emitting a confusing error message when the server gives a bad
16393 response to the capability command.
16394
16395 2012-01-10 Glenn Morris <rgm@gnu.org>
16396
16397 * mail/unrmail.el (unrmail): Tweak previous change.
16398
16399 2012-01-09 Chong Yidong <cyd@gnu.org>
16400
16401 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
16402
16403 2012-01-08 Alan Mackenzie <acm@muc.de>
16404
16405 Optimize font locking in long enum definitions.
16406
16407 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
16408 arm to a cond form to handle enums.
16409 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
16410 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
16411
16412 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
16413
16414 * files.el (move-file-to-trash): Preserve default file modes on error.
16415 (Bug#10401)
16416
16417 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
16418
16419 * faces.el (set-face-attribute): Clarify the meaning of the nil
16420 frame (bug#10294).
16421
16422 * subr.el (with-selected-frame): Mention that the selected frame
16423 is restored (bug#9980).
16424
16425 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
16426 (bug#9759).
16427
16428 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
16429 (password-read): Don't autoload unused function.
16430
16431 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
16432
16433 * progmodes/which-func.el (which-func-mode): Turn into a
16434 non-interactive function and mark as obsolete (bug#10428).
16435
16436 2012-01-06 Chong Yidong <cyd@gnu.org>
16437
16438 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
16439 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
16440 functions, along with 1 and -1.
16441
16442 2012-01-06 Eli Zaretskii <eliz@gnu.org>
16443
16444 * time.el (display-time-load-average)
16445 (display-time-default-load-average): Doc fixes. See the thread
16446 starting at
16447 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
16448 for the details.
16449
16450 2012-01-06 Glenn Morris <rgm@gnu.org>
16451
16452 * mail/unrmail.el (unrmail): Give an explicit error if the input file
16453 has no messages. (Bug#10377)
16454
16455 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
16456 than Info-edit. (Bug#10385)
16457
16458 * time.el (display-time-load-average, display-time-next-load-average):
16459 Doc fixes.
16460
16461 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
16462 local setting of buffer-read-only to the input buffer. (Bug#10419)
16463
16464 * calendar/calendar.el (calendar-mode):
16465 Locally set scroll-margin to 0. (Bug#10379)
16466
16467 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
16468
16469 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
16470
16471 2012-01-05 Glenn Morris <rgm@gnu.org>
16472
16473 * eshell/em-unix.el (diff-no-select): Autoload it.
16474 (eshell/diff): Use diff-no-select. (Bug#10420)
16475
16476 2012-01-05 Chong Yidong <cyd@gnu.org>
16477
16478 * shell.el (shell-dynamic-complete-functions): Revert last change.
16479 (shell-command-completion-function): New function.
16480 (shell-completion-vars): Use it to implement
16481 shell-completion-execonly (Bug#10417).
16482
16483 * custom.el (enable-theme): Don't set custom-safe-themes.
16484
16485 * cus-theme.el (custom-theme-merge-theme):
16486 Ignore custom-enabled-themes and custom-safe-themes.
16487
16488 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
16489
16490 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
16491 first prompt in `sql-interacive-mode'.
16492 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
16493 keywords.
16494 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
16495 (sql-product-interactive): Bug fix: Set `sql-buffer' in
16496 context of original buffer. Invoke `sql-login-hook'.
16497
16498 2012-01-04 Eli Zaretskii <eliz@gnu.org>
16499
16500 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
16501 letters in cite-prefix.
16502
16503 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16504
16505 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
16506
16507 2012-01-03 Chong Yidong <cyd@gnu.org>
16508
16509 * shell.el (shell-dynamic-complete-functions):
16510 Put pcomplete-completions-at-point, so as to try
16511 comint-filename-completion first (Bug#10417).
16512
16513 2012-01-02 Richard Stallman <rms@gnu.org>
16514
16515 * battery.el (battery-status-function):
16516 Detect when to use battery-yeeloong-sysfs.
16517 (battery-echo-area-format): Add string for Yeeloong.
16518 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
16519 (battery-yeeloong-sysfs): New function.
16520
16521 2012-01-02 Chong Yidong <cyd@gnu.org>
16522
16523 * dirtrack.el (dirtrack-list): Eliminate unused third element.
16524 (dirtrack): Merge code for handling relative filenames in prompt
16525 from shell-dir-cookie-watcher.
16526 (dirtrack-debug-message): New arg to avoid excess format calls.
16527
16528 * shell.el (shell-dir-cookie-re): Variable deleted.
16529 (shell-dir-cookie-watcher): Function deleted.
16530 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
16531 with dirtrack-mode.
16532
16533 2012-01-01 Eli Zaretskii <eliz@gnu.org>
16534
16535 * term/w32-win.el (dynamic-library-alist) <gnutls>:
16536 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
16537 libgnutls-26.dll.
16538
16539 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
16540
16541 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
16542
16543 2011-12-31 Eli Zaretskii <eliz@gnu.org>
16544
16545 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
16546 headers of non-MIME messages, when rmail-enable-mime is non-nil.
16547
16548 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
16549
16550 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
16551 also for alternative shells.
16552 (tramp-open-connection-setup-interactive-shell): Check, whether
16553 the shell is a busybox.
16554 (tramp-send-command): Don't suppress multiple prompts for
16555 busyboxes, it hurts.
16556
16557 2011-12-28 Chong Yidong <cyd@gnu.org>
16558
16559 * progmodes/gdb-mi.el (gdb-get-source-file-list)
16560 (gdb-get-source-file): Move mode line update to
16561 gdb-get-source-file (Bug#10087).
16562
16563 2011-12-25 Chong Yidong <cyd@gnu.org>
16564
16565 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
16566 gud-gdb-marker-filter without taking it as an argument.
16567 (gud-gdb-run-command-fetch-lines): Caller changed.
16568 (gud-gdb-completion-function): New variable.
16569 (gud-gdb-completion-at-point): Use it.
16570 (gud-gdb-completions-1): Split from gud-gdb-completions.
16571
16572 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
16573 function as separate arguments.
16574 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
16575 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
16576 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
16577 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
16578 (gdb-stopped, def-gdb-auto-update-trigger)
16579 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
16580 (gdb-get-changed-registers, gdb-get-main-selected-frame):
16581 Callers changed.
16582 (gud-gdbmi-completions): New function.
16583 (gdb): Use it for generating the completion table.
16584
16585 2011-12-24 Alan Mackenzie <acm@muc.de>
16586
16587 Introduce a mechanism to widen the region used in context font
16588 locking. Use this to protect declarations from losing their contexts.
16589
16590 * progmodes/cc-langs.el (c-before-font-lock-functions):
16591 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
16592 (c-before-context-fontification-functions): New defvar, a list of
16593 functions to be run just before context (etc.) font locking.
16594
16595 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
16596 New, functionality extracted from
16597 c-neutralize-syntax-in-and-mark-CPP.
16598 (c-in-after-change-fontification): New variable.
16599 (c-after-change): Set c-in-after-change-fontification.
16600 (c-set-fl-decl-start): Rejig its interface, so it can be called
16601 from both after-change and context fontifying.
16602 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
16603 New functions.
16604 (c-standard-font-lock-fontify-region-function): New variable.
16605 (c-font-lock-fontify-region): New function.
16606
16607 2011-12-24 Juri Linkov <juri@jurta.org>
16608
16609 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
16610 (Bug#10348)
16611
16612 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
16613
16614 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
16615 existence of source file. (Bug#10325)
16616
16617 2011-12-23 Alan Mackenzie <acm@muc.de>
16618
16619 Fix unstable fontification inside templates.
16620
16621 * progmodes/cc-langs.el (c-before-font-lock-functions):
16622 Newly created from the singular version. The (c c++ objc) entry now
16623 additionally has c-set-fl-decl-start. The other languages (apart
16624 from AWK) have that as a single entry.
16625
16626 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
16627 The functionality for "local" declarations has been extracted to
16628 c-set-fl-decl-start.
16629
16630 * progmodes/cc-mode.el (c-common-init, c-after-change):
16631 Changes due to pluralisation of c-before-font-lock-functions.
16632 (c-set-fl-decl-start): New function, extracted from
16633 c-font-lock-enclosing-decls and enhanced.
16634
16635 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
16636
16637 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
16638
16639 2011-12-22 Juri Linkov <juri@jurta.org>
16640
16641 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
16642
16643 2011-12-22 Chong Yidong <cyd@gnu.org>
16644
16645 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
16646
16647 2011-12-21 Drew Adams <drew.adams@oracle.com>
16648
16649 * files.el (file-remote-p): Fix docstring. (Bug#10319)
16650
16651 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
16652
16653 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
16654
16655 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
16656
16657 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
16658 highlighting and support. Fix up comments for capitalization.
16659 (cfengine-mode-debug): New var.
16660 (cfengine3-mode): Change the modeline indicator to "CFE3".
16661 (cfengine3-font-lock-keywords): Improve defun highlighting.
16662 (cfengine2-actions): Rename from `cfengine-actions'.
16663 (cfengine2-font-lock-keywords): Rename from
16664 `cfengine-font-lock-keywords'.
16665 (cfengine2-imenu-expression): Rename from
16666 `cfengine-imenu-expression'.
16667 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
16668 (cfengine2-beginning-of-defun): Rename from
16669 `cfengine-beginning-of-defun'.
16670 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
16671 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
16672 (cfengine2-mode): Rename from `cfengine-mode'. Change the
16673 modeline indicator to "CFE2".
16674 (cfengine-mode): Defalias to `cfengine-auto-mode'.
16675 (cfengine-mode-abbrevs): Mark obsolete.
16676
16677 2011-12-21 Chong Yidong <cyd@gnu.org>
16678
16679 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
16680 filename argument.
16681
16682 2011-12-20 Martin Rudalics <rudalics@gmx.at>
16683
16684 * window.el (window-normalize-buffer-to-display): Remove.
16685 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
16686
16687 2011-12-19 Chong Yidong <cyd@gnu.org>
16688
16689 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
16690 Don't signal an error in a predicate function; return non-nil.
16691 (vc-dir-mark-file): Move the error here.
16692 (vc-dir-mark-unmark): If acting on the region, keep going if one
16693 of the entries cannot be marked/unmarked.
16694 (vc-dir-mark-all-files): If current entry is a directory, mark
16695 only child files, as documented.
16696
16697 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
16698
16699 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
16700 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
16701 addition.
16702
16703 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
16704
16705 * term/ns-win.el (ns-get-selection-internal)
16706 (ns-store-selection-internal): Declare.
16707 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
16708 Declare as obsolete.
16709 (ns-get-pasteboard, ns-paste-secondary):
16710 Use ns-get-selection-internal.
16711 (ns-set-pasteboard, ns-copy-including-secondary):
16712 Use ns-store-selection-internal.
16713
16714 2011-12-17 Chong Yidong <cyd@gnu.org>
16715
16716 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
16717 (vc-deduce-fileset): Doc fix.
16718
16719 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
16720
16721 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
16722
16723 2011-12-13 Sam Steingold <sds@gnu.org>
16724
16725 * man.el (Man-getpage-in-background): When running under a
16726 window-system, ignore $MANWIDTH and $COLUMNS.
16727
16728 2011-12-15 Kenichi Handa <handa@m17n.org>
16729
16730 * language/ethio-util.el: Change coding tag to utf-8-emacs.
16731 (setup-ethiopic-environment-internal): Comment out key-binding for
16732 ethio-toggle-punctuation.
16733
16734 2011-12-13 Alan Mackenzie <acm@muc.de>
16735
16736 Add the switch statement to AWK Mode.
16737
16738 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
16739 "default" to the keywords regexp.
16740
16741 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
16742 expression as the rest.
16743 (c-nonlabel-token-key): Allow string literals for AWK.
16744 Refactor for the other modes.
16745
16746 Large brace-block initialisation makes CC Mode slow: Fix.
16747 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
16748 routines. Limit backward searching in c-font-lock-enclosing.decl.
16749
16750 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
16751 pp-state and literal type in addition to the limits.
16752 (c-state-safe-place): New defun, extracted from c-state-literal-at.
16753 (c-state-literal-at): Use the above new defun.
16754 (c-slow-in-literal, c-fast-in-literal): Remove.
16755 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
16756
16757 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
16758 being in a literal. Add a limit for backward searching.
16759
16760 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
16761 c-slow-in-literal.
16762
16763 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
16764
16765 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
16766
16767 2011-12-13 Martin Rudalics <rudalics@gmx.at>
16768
16769 * window.el (delete-other-windows): Use correct frame in call to
16770 window-with-parameter.
16771
16772 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
16773
16774 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
16775 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
16776 (makefile-gmake-statements, makefile-makepp-statements):
16777 Use it and add new makepp keywords.
16778 (makefile-makepp-font-lock-keywords): Add new patterns.
16779 (makefile-match-function-end): Match new [...] and [[...]].
16780
16781 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
16782
16783 * ses.el (ses-call-printer-return, ses-cell-property-get)
16784 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
16785 (ses-create-cell-variable, ses-reset-header-string)
16786 (ses-cell-set-formula, ses-repair-cell-reference-all)
16787 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
16788 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
16789 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
16790 (ses-aset-with-undo, ses-load, ses-truncate-cell)
16791 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
16792 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
16793 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
16794 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
16795 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
16796 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
16797 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
16798 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
16799
16800 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
16801
16802 * ses.el: The overall change is to add cell renaming, that is
16803 setting fancy names for cell symbols other than name matching
16804 "\\`[A-Z]+[0-9]+\\'" regexp .
16805 (ses-create-cell-variable): New defun.
16806 (ses-relocate-formula): Relocate formulas only for cells the
16807 symbols of which are not renamed, i.e. symbols whose names do not
16808 match regexp "\\`[A-Z]+[0-9]+\\'".
16809 (ses-relocate-all): Relocate values only for cells the symbols of
16810 which are not renamed.
16811 (ses-load): Create cells variables as the (ses-cell ...) are read,
16812 in order to check row col consistency with cell symbol name only
16813 for cells that are not renamed.
16814 (ses-replace-name-in-formula): New defun.
16815 (ses-rename-cell): New defun.
16816
16817 2011-12-11 Chong Yidong <cyd@gnu.org>
16818
16819 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
16820 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
16821
16822 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
16823
16824 * window.el (other-window): Fix docstring.
16825
16826 2011-12-10 Eli Zaretskii <eliz@gnu.org>
16827
16828 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
16829 `from' or `to' address before taking its substring.
16830 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
16831 encoded name is chopped in the middle of the encoded string, and
16832 thus displayed encoded.
16833
16834 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
16835
16836 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
16837
16838 2011-12-10 Eli Zaretskii <eliz@gnu.org>
16839
16840 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
16841 to use texinfo-update-node and commands that call it if the
16842 Texinfo file uses @node lines without next/prev/up pointers.
16843 Correct outdated description about texinfo-master-menu.
16844 (texinfo-all-menus-update, texinfo-master-menu)
16845 (texinfo-update-node, texinfo-every-node-update)
16846 (texinfo-multiple-files-update): Doc fix. Warn against updating
16847 all the @node lines.
16848 (texinfo-master-menu): Only call texinfo-update-node if the prefix
16849 argument is numeric. Explain better in the doc string what the
16850 function really does.
16851 (texinfo-insert-master-menu-list): Improve the error message
16852 displayed if there's no menu in the Top node.
16853 (Bug#2975) See also this thread:
16854 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
16855
16856 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
16857
16858 * speedbar.el (speedbar-supported-extension-expressions):
16859 Add .adb and .ads, commonly used for Ada source code (bug#10256).
16860
16861 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
16862
16863 * printing.el (pr-mode-alist):
16864 * simple.el (filter-buffer-substring-functions)
16865 (completion-list-insert-choice-function):
16866 * window.el (window-with-parameter, window-atom-root)
16867 (window-sides-slots, window-size-fixed, window-min-delta)
16868 (window-max-delta, window--resize-mini-window)
16869 (window--resize-child-windows-normal, window-tree)
16870 (delete-other-windows, quit-window, split-window)
16871 (display-buffer-record-window, special-display-buffer-names)
16872 (special-display-regexps, special-display-popup-frame)
16873 (same-window-p, split-window-sensibly)
16874 (display-buffer-overriding-action, display-buffer-alist)
16875 (display-buffer-base-action, display-buffer, switch-to-buffer)
16876 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
16877 (fit-window-to-buffer, recenter-positions)
16878 (mouse-autoselect-window-state, mouse-autoselect-window-select):
16879 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
16880 and remove unneeded backslashes in docstrings.
16881
16882 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
16883
16884 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
16885
16886 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
16887 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
16888 end in ".mk".
16889 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
16890 when reading the makefile (bug#10116).
16891
16892 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
16893
16894 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
16895 (bug#10116).
16896
16897 2011-12-06 Glenn Morris <rgm@gnu.org>
16898
16899 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
16900
16901 2011-12-06 Chong Yidong <cyd@gnu.org>
16902
16903 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
16904
16905 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
16906
16907 * textmodes/table.el (table-shorten-cell): Fix typo.
16908
16909 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
16910
16911 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
16912
16913 2011-12-05 Eli Zaretskii <eliz@gnu.org>
16914
16915 * descr-text.el (describe-char): Fix display of strong
16916 right-to-left characters and directional embeddings and overrides.
16917
16918 * simple.el (what-cursor-position): Fix display of codepoints of
16919 strong right-to-left characters.
16920
16921 2011-12-05 Chong Yidong <cyd@gnu.org>
16922
16923 * faces.el (read-color): Doc fix.
16924
16925 2011-12-05 Glenn Morris <rgm@gnu.org>
16926
16927 * align.el (align--set-marker): Add doc-string.
16928 Don't try to move something that is not a marker. (Bug#10216)
16929
16930 2011-12-04 Glenn Morris <rgm@gnu.org>
16931
16932 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
16933 overly zealous deletion of trailing whitespace.
16934
16935 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
16936
16937 * server.el (server-delete-client): On Windows, do not try to delete
16938 the only terminal.
16939 (server-process-filter): On Windows, treat requests for a tty frame as
16940 if they were for a GUI frame if the running server is in GUI mode.
16941
16942 2011-12-03 Glenn Morris <rgm@gnu.org>
16943
16944 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
16945
16946 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
16947
16948 * electric.el: Streamline electric-indent's hook.
16949 (electric-indent-chars): Revert to simple list.
16950 (electric-indent-functions): New var.
16951 (electric-indent-post-self-insert-function): Use it.
16952
16953 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
16954 there's no inferior buffer (bug#10196).
16955 (prolog-consult-compile): Don't use toggle-read-only.
16956
16957 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
16958
16959 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
16960 interrupt. (Bug#10187)
16961
16962 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
16963
16964 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
16965 (bug#9160).
16966
16967 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
16968 (bug#10191).
16969
16970 2011-12-02 Juri Linkov <juri@jurta.org>
16971
16972 * info.el (Info-search): Display "end of manual" when Isearch
16973 reaches the end of single-file Info manual. (Bug#9918)
16974
16975 2011-12-02 Eli Zaretskii <eliz@gnu.org>
16976
16977 * isearch.el (isearch-message-prefix): Run the input method part
16978 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
16979
16980 2011-12-02 Juri Linkov <juri@jurta.org>
16981
16982 * isearch.el (isearch-occur): Use `word-search-regexp' for
16983 `isearch-word'.
16984 (isearch-search-and-update): Add condition for `isearch-word' and
16985 call `word-search-regexp'. (Bug#10145)
16986
16987 2011-12-01 Glenn Morris <rgm@gnu.org>
16988
16989 * eshell/em-hist.el (eshell-hist-initialize):
16990 Handle eshell-history-size nil and HISTSIZE set or unset.
16991 (eshell-history-file-name, eshell-history-size): Fix custom type.
16992
16993 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
16994
16995 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
16996
16997 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
16998
16999 * progmodes/verilog-mode.el (verilog-pretty-expr):
17000 Rework verilog-pretty-expr to handle new assignment operators in system
17001 verilog, such as += *= and the like.
17002 (verilog-assignment-operator-re): Regular expression to find the
17003 assigment operator in a verilog assignment.
17004 (verilog-assignment-operation-re): Regular expression to find an
17005 assignment statement for pretty-expr.
17006 (verilog-in-attribute-p): Query returns true if point is in an
17007 attribute context; used to skip these for expression line up from
17008 pretty-expr.
17009 (verilog-in-parameter-p): Query returns true if point is in an
17010 parameter definition context; used to skip these for expression
17011 line up from pretty-expr.
17012 (verilog-in-parenthesis-p): Query returns true if point is in a
17013 parenthetical expression, specifically ( ) but not [ ] or { };
17014 used by pretty-expr.
17015 (verilog-just-one-space): If there is no space, don't add one.
17016 (verilog-get-lineup-indent-2): Specifically skip just attribute
17017 contexts for expression lineup, rather than skipping all
17018 parenthetical expressions.
17019 (verilog-calculate-indent): Fix comment, and fix indent.
17020 (verilog-do-indent): Indent declarations in lists (suggested by
17021 Joachim Lechner).
17022 (verilog-mode-abbrev-table): Populate abbrev mode with the various
17023 skeleton items.
17024 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
17025 by Alain Mellan).
17026
17027 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
17028
17029 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
17030 parameters with embedded comments. Reported by Ray Stevens.
17031 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
17032 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
17033 Reported by Tim Holt.
17034 (verilog-auto): Fix AUTOing a upper module then AUTOing module
17035 instantiated by upper module causing wrong expansion until AUTOed a
17036 second time. Reported by K C Buckenmaier.
17037 (verilog-diff-auto): Fix showing .* as a difference when
17038 `verilog-auto-star-save' off. Reported by Dan Dever.
17039 (verilog-auto-reset, verilog-read-always-signals)
17040 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
17041 temporary signals in reset list if
17042 verilog-auto-reset-blocking-in-non is nil, and match assignment
17043 style to each signal's assignment type, bug381.
17044 Reported by Thomas Esposito.
17045 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
17046 (verilog-uvm-statement-re): Support UVM indentation and
17047 highlighting, with old OVM keywords only.
17048 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
17049 Support AUTOTIEOFF creating non-wire data types.
17050 Suggested by Jonathan Greenlaw.
17051 (verilog-auto-insert-lisp, verilog-delete-to-paren)
17052 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
17053 (verilog-inject-sense, verilog-read-inst-pins)
17054 (verilog-read-sub-decls, verilog-read-sub-decls-line):
17055 Fix mismatching parenthesis inside commented out code when deleting
17056 AUTOINST, bug383. Reported by Jonathan Greenlaw.
17057 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
17058 non-numeric vector width. Reported by Alex Reed.
17059 (verilog-auto-ascii-enum): Add "onehot" option to work around not
17060 detecting signals with parameter widths. Reported by Alex Reed.
17061 (verilog-auto-delete-trailing-whitespace):
17062 With `verilog-auto-delete-trailing-whitespace' remove trailing
17063 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
17064 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
17065 Fix verilog-scan-cache corruption when running user AUTO expansion
17066 hooks that call indentation routines.
17067 (verilog-simplify-range-expression): Fix typo ignoring lower case
17068 identifiers.
17069 (verilog-delete-auto): Fix delete-autos to also remove user created
17070 automatics, as long as they start with AUTO.
17071 (verilog-batch-diff-auto, verilog-diff-auto)
17072 (verilog-diff-function): Add `verilog-diff-auto' and bind to
17073 "C-c?" to report differences in AUTO expansion, ignoring spaces.
17074 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
17075 (verilog-in-paren-quick, verilog-re-search-backward-quick)
17076 (verilog-re-search-forward-quick, verilog-syntax-ppss):
17077 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
17078 is disabled and its cache will get corrupt, causing AUTOS not to
17079 expand. Instead use only -quick functions.
17080 (verilog-scan-region): Fix scanning over escaped quotes.
17081 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
17082 (verilog-re-search-backward-quick)
17083 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
17084 related functions now ignore strings, to fix misparsing of strings
17085 with magic comments embedded in them.
17086 (verilog-read-auto-template):
17087 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
17088 Reported by Brad Dobbie.
17089 (verilog-read-auto-template):
17090 Fix 'verilog-auto-inst-template-numbers' with comments.
17091 Reported by Brad Dobbie.
17092 (verilog-auto-inst, verilog-auto-inst-param)
17093 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
17094 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
17095 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
17096 debugging templates without merge conflicts, bug357.
17097 Reported by Brad Dobbie.
17098 (verilog-read-auto-template):
17099 Fix verilog-auto-inst-template-numbers with multiple templates.
17100 Reported by Brad Dobbie.
17101 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
17102 abbrevs so user won't be asked to save.
17103 (verilog-read-auto-lisp-present): Fix to start at beginning of
17104 buffer in case called outside of verilog-auto.
17105 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
17106 to "X-2". Reported by Matthew Myers.
17107 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
17108 all inputs from module templates. Reported by Leith Johnson.
17109 (verilog-module-inside-filename-p): Fix locating programs as with
17110 modules.
17111 (verilog-auto-inst-port): Fix vl-width expressions when using
17112 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
17113 (verilog-decls-get-regs, verilog-decls-get-signals,
17114 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
17115 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
17116 verilog-read-decls): Combine reg and wire structures into one var
17117 structure to represent SystemVerilog concepts.
17118 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
17119 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
17120 (verilog-auto-wire-type, verilog-insert-definition):
17121 Add verilog-auto-wire-type and AUTOLOGIC to support using
17122 SystemVerilog "logic" keyword instead of "wire"/"reg".
17123 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
17124 to declares outputs that also have assignments (presumably in an
17125 ifdef or generate if so there's not a driver conflict).
17126 Reported by Matthew Myers.
17127 (verilog-auto-declare-nettype, verilog-insert-definition):
17128 Add verilog-auto-declare-nettype to fix declarations using
17129 `default_nettype none. Reported by Julian Gorfajn.
17130 (verilog-read-always-signals-recurse, verilog-read-decls)
17131 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
17132 malformed end statement, bug325. Reported by Joshua Wise and
17133 Andrew Drake.
17134 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
17135 (verilog-inst-comment-re): Fix not deleting Interfaced comment
17136 when expanding .* in interfaces, bug320.
17137 Reported by Pierre-David Pfister.
17138 (verilog-read-module-name): Fix import statements between module
17139 name and open parenthesis, bug317.
17140 Reported by Pierre-David Pfister.
17141 (verilog-simplify-range-expression): Fix simplification of
17142 multiplications inside AUTOWIRE connections, bug303.
17143 (verilog-auto-inst-port): Support parameter expansion in
17144 multidimensional arrays.
17145 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
17146 after "assert property". Reported by Julian Gorfajn.
17147 (verilog-simplify-range-expression): Fix "couldn't merge" errors
17148 with multiplication, bug303.
17149 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
17150 Reported by Jan Frode Lonnum.
17151
17152 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
17153
17154 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
17155 (hfy-shell-file-name, hfy-shell):
17156 * international/fontset.el (x-decompose-font-name): Fix typos.
17157
17158 2011-11-29 Ken Brown <kbrown@cornell.edu>
17159
17160 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
17161 (gdb-version): Remove defvar.
17162 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
17163 (gdb-gud-context-command, gdb-non-stop-handler)
17164 (gdb-current-context-command, gdb-stopped): Use it.
17165 (gdb-init-1): Enable pretty printing here.
17166 (gdb-non-stop-handler): Don't enable pretty-printing here.
17167 Check to see if the target supports non-stop mode; if not, turn off
17168 non-stop mode. Use the following.
17169 (gdb-check-target-async): New defun.
17170 (gud-watch, gdb-stopped): Fix whitespace.
17171 (gdb-get-source-file): Don't try to display the source file if
17172 `gdb-main-file' is nil.
17173
17174 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
17175
17176 * align.el: Try to generate fewer markers (bug#10047).
17177 (align--set-marker): New macro.
17178 (align-region): Use it.
17179
17180 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
17181
17182 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
17183
17184 2011-11-29 Chong Yidong <cyd@gnu.org>
17185
17186 * indent.el (indent-for-tab-command, indent-according-to-mode):
17187 Doc fix.
17188 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
17189
17190 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
17191
17192 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
17193 aware of remote file names. (Bug#10124)
17194
17195 2011-11-29 Chong Yidong <cyd@gnu.org>
17196
17197 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
17198
17199 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
17200
17201 * files.el (find-file): Don't use force-same-window (bug#10144).
17202 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
17203 use pop-to-buffer if the selected window can't be used.
17204 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
17205
17206 2011-11-28 Eli Zaretskii <eliz@gnu.org>
17207
17208 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
17209 special-mode-map.
17210
17211 2011-11-28 Chong Yidong <cyd@gnu.org>
17212
17213 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
17214
17215 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
17216
17217 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
17218 gdb-get-source-file-list on gdb-create-source-file-list.
17219
17220 2011-11-26 Eli Zaretskii <eliz@gnu.org>
17221
17222 * whitespace.el (whitespace-newline): Use a different foreground
17223 color for 16-color light-background displays.
17224
17225 2011-11-24 Chong Yidong <cyd@gnu.org>
17226
17227 * window.el (display-buffer--special-action): Doc fix.
17228
17229 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
17230
17231 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
17232 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
17233 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
17234 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
17235 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
17236 (avl-tree-stack-first):
17237 * emacs-lisp/cconv.el (cconv--analyse-use):
17238 * net/gnutls.el (gnutls-negotiate): Fix typos.
17239
17240 2011-11-24 Glenn Morris <rgm@gnu.org>
17241
17242 * lpr.el (lpr-windows-system, lpr-lp-system):
17243 * mail/binhex.el (binhex-begin-line):
17244 * progmodes/grep.el (grep-history, grep-find-history):
17245 * textmodes/flyspell.el:
17246 * vc/pcvs-defs.el (cvs-global-menu):
17247 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
17248 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
17249 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
17250
17251 * net/tls.el: Fix case of "GnuTLS".
17252
17253 * paths.el (rmail-file-name): Format doc-string for make-docfile.
17254
17255 * version.el (emacs-build-system): Give it a doc-string.
17256
17257 2011-11-24 Juri Linkov <juri@jurta.org>
17258
17259 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
17260
17261 2011-11-24 Glenn Morris <rgm@gnu.org>
17262
17263 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
17264 if called on a non-mime message just toggle the headers. (Bug#8006)
17265
17266 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
17267
17268 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
17269 (allout-lead-with-comment-string, allout-structure-deleted-hook)
17270 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
17271 (allout-rebullet-heading, allout-open-sibtopic)
17272 (allout-toggle-current-subtree-encryption)
17273 (allout-toggle-subtree-encryption, allout-encrypt-string)
17274 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
17275 (allout-distinctive-bullets-string, allout-auto-activation):
17276 * window.el (window-normalize-buffer-to-display):
17277 * progmodes/verilog-mode.el (verilog-batch-indent):
17278 * textmodes/bibtex.el (bibtex-field-braces-opt)
17279 (bibtex-field-strings-opt):
17280 * vc/cvs-status.el (cvs-tree-merge):
17281 Fix typos.
17282
17283 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
17284
17285 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
17286 `non-essential' to t, in order to avoid remote connections.
17287
17288 2011-11-23 Eli Zaretskii <eliz@gnu.org>
17289
17290 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
17291 On MS-DOS and MS-Windows, compare with loaddefs.el
17292 case-insensitively.
17293
17294 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
17295
17296 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
17297
17298 2011-11-23 Glenn Morris <rgm@gnu.org>
17299
17300 * paths.el (rmail-file-name): Reformat the doc-string so that it
17301 is picked up.
17302
17303 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
17304 (rmail-auto-file): Ignore case in the "special" field names,
17305 as mail-fetch-field does for all others.
17306
17307 * mail/rmail.el (rmail-forward):
17308 * mail/rmailkwd.el (rmail-set-label):
17309 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
17310 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
17311
17312 * mail/rmail.el (rmail-current-message): Doc fix.
17313
17314 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
17315
17316 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
17317
17318 * server.el (server-eval-and-print): Allow C-g (bug#6585).
17319
17320 2011-11-22 Glenn Morris <rgm@gnu.org>
17321
17322 * mail/rmailmm.el (test-rmail-mime-handler)
17323 (test-rmail-mime-bulk-handler)
17324 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
17325
17326 2011-11-21 Juri Linkov <juri@jurta.org>
17327
17328 * calc/calc.el (calc-read-key-sequence):
17329 Let-bind `input-method-function' to nil. (Bug#10018)
17330
17331 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
17332
17333 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
17334 Tell the caller that the next line needs recomputation, even
17335 though it doesn't start a sexp (bug#10094).
17336
17337 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
17338
17339 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
17340
17341 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
17342
17343 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
17344 Use force-same-window.
17345
17346 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
17347
17348 * descr-text.el (describe-char-unicode-data):
17349 * json.el (json-string-escape):
17350 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
17351 (Footnote-unicode, Footnote-style-p):
17352 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
17353
17354 2011-11-20 Chong Yidong <cyd@gnu.org>
17355
17356 * window.el (replace-buffer-in-windows): Restore interactive spec.
17357
17358 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
17359
17360 * electric.el (electric-indent-mode): Fix last change (too optimistic).
17361
17362 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
17363 (byte-compile-global-not-obsolete-vars): New var.
17364 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
17365 Use it.
17366 (byte-compile-warn-obsolete): Align text with the one in *Help*.
17367
17368 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
17369
17370 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
17371 * progmodes/pascal.el (electric-pascal-equal):
17372 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
17373 * xml.el (xml-substitute-special): Fix typos.
17374
17375 2011-11-20 Glenn Morris <rgm@gnu.org>
17376
17377 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
17378 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
17379 Doc fixes.
17380 (rmail-decode-mime-charset): Mark as obsolete.
17381
17382 * mail/rmailsum.el (rmail-message-regexp-p-1):
17383 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
17384 Before using mime functions, check they are set. (Bug#10077)
17385
17386 2011-11-19 Juri Linkov <juri@jurta.org>
17387
17388 * info.el (Info-finder-find-node): Use `package--builtins' instead
17389 of `package-alist'. Use node names formed by the pattern "Keyword "
17390 and the keyword name.
17391
17392 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
17393
17394 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
17395
17396 2011-11-19 Juri Linkov <juri@jurta.org>
17397
17398 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
17399 that calls `revert-buffer' on all Info buffers. (Bug#9915)
17400 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
17401 `old-history', `old-history-forward'. Add let-binding
17402 `window-selected'. Remove calls to `kill-buffer',
17403 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
17404 before calling `Info-find-node', so `Info-find-node-2' will reread
17405 the Info file. Restore window positions only when `window-selected'
17406 is non-nil.
17407
17408 2011-11-19 Juri Linkov <juri@jurta.org>
17409
17410 * isearch.el (isearch-lazy-highlight-new-loop):
17411 Remove condition `(not isearch-error)'. (Bug#9918)
17412
17413 * misearch.el (multi-isearch-search-fun): Add condition
17414 `(not bound)' to ignore lazy-highlighting search.
17415 Add the search-failed message "end of multi" when the end of
17416 multi-sequence is reached. Uncapitalize the search-failed
17417 message "Repeat for next buffer".
17418
17419 * info.el (Info-search): Add the search-failed message
17420 "end of the manual" when the end of the manual is reached
17421 in Isearch mode.
17422
17423 2011-11-19 Juri Linkov <juri@jurta.org>
17424
17425 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
17426 Use non-destructive `remove' instead of `delete' because
17427 `Info-history-list' stored to `Info-isearch-initial-history-list' in
17428 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
17429
17430 2011-11-19 Juri Linkov <juri@jurta.org>
17431
17432 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
17433 to nil instead of binding `search-ring' and `regexp-search-ring'.
17434 (Bug#9185)
17435
17436 2011-11-19 Eli Zaretskii <eliz@gnu.org>
17437
17438 * simple.el (line-move): Force movement by logical lines for any
17439 hscrolled window, not only when auto-hscroll-mode is on.
17440 (line-move-visual): Update doc string to that effect. (Bug#10076)
17441
17442 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
17443
17444 * language/european.el (macintosh): Define as alias for mac-roman.
17445
17446 2011-11-19 Eli Zaretskii <eliz@gnu.org>
17447
17448 * mail/rmailmm.el (rmail-mime-display-header)
17449 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
17450 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
17451 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
17452 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
17453 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
17454 of a raw aref.
17455 (rmail-mime-entity-segment): To get past the tagline, move forward
17456 2 more lines, to account for the 2 empty lines that precede and
17457 follow the line with the buttons.
17458 (rmail-mime-update-tagline): Move one more line, to get past the
17459 empty line that follows the buttons in the tagline. (Bug#9520)
17460
17461 2011-11-19 Martin Rudalics <rudalics@gmx.at>
17462
17463 * window.el (window-max-delta-1, window-min-delta-1)
17464 (window-min-size-1, window-state-get-1, window-state-put-1)
17465 (window-state-put-2): Use "window--" prefix.
17466
17467 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
17468
17469 * emacs-lisp/smie.el: Improve warnings and conflict detection.
17470 (smie-warning-count): New var.
17471 (smie-set-prec2tab): Use it.
17472 (smie-bnf->prec2): Improve warnings. Add docstring.
17473 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
17474 (smie-bnf--set-class): New function.
17475 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
17476 corner case.
17477
17478 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
17479 (compilation-error-properties, compilation-move-to-column):
17480 Handle compilation-first-column while in the target buffer.
17481
17482 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
17483 Don't hardcode point-min==1.
17484
17485 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
17486 (eshell-rewrite-for-command): Remove workaround.
17487 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
17488 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
17489 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
17490
17491 * files-x.el (modify-file-local-variable): Obey commenting conventions.
17492
17493 2011-11-17 Glenn Morris <rgm@gnu.org>
17494
17495 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
17496 Ignore buffer-local generated-autoload-file if it is the same
17497 as the global value. (Bug#10049)
17498
17499 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
17500
17501 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
17502 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
17503 (reftex-toc-previous-heading, reftex-toc-max-level)
17504 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
17505 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
17506 (reftex-toc-do-promote, reftex-toc-promote-prepare)
17507 (reftex-toc-promote-action, reftex-toc-extract-section-number)
17508 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
17509 (reftex-toc-rename-label, reftex-toc-visit-location)
17510 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
17511 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
17512 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
17513 leaving "*toc*" only for references to the buffer.
17514
17515 2011-11-17 Martin Rudalics <rudalics@gmx.at>
17516
17517 * window.el (window-resize, delete-window, split-window):
17518 Replace window-splits by window-combination-resize.
17519 * cus-start.el (window-splits): Replace by window-combination-resize.
17520
17521 2011-11-17 Glenn Morris <rgm@gnu.org>
17522
17523 * progmodes/sh-script.el (sh-font-lock-keywords-var):
17524 Make bash entry derive from sh entry, not shell entry.
17525
17526 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
17527
17528 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
17529 local file name.
17530
17531 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
17532
17533 * menu-bar.el (menu-bar-file-menu):
17534 * printing.el (pr-ps-utility):
17535 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
17536 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
17537 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
17538 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
17539 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
17540 (icalendar--convert-cyclic-to-ical)
17541 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
17542 (icalendar--convert-ical-to-diary)
17543 (icalendar--convert-recurring-to-diary)
17544 (icalendar--convert-non-recurring-all-day-to-diary)
17545 (icalendar-import-format-sample):
17546 * progmodes/idlw-shell.el (idlwave-shell-mode):
17547 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
17548 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
17549 (vhdl-ps-print-init): Fix typos.
17550
17551 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
17552
17553 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
17554 FSF and collapse date sequence, obscure author/maintainer email address
17555 better, remove extra version line, track relocation of author's webpage.
17556
17557 * progmodes/python.el (python-pdbtrack-input-prompt)
17558 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
17559 regular python pdb prompts. Adjustments shamelessly taken exactly as
17560 suggested in EmacsWiki page (tiny change):
17561 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
17562
17563 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
17564
17565 * expand.el (expand-pos, expand-index, expand-point):
17566 Remove redundant info from docstring.
17567 (expand-add-abbrevs): Doc fix.
17568 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
17569 (expand-sample-perl-mode-expand-list): Fix typos.
17570
17571 * net/dbus.el (dbus-event-member-name):
17572 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
17573 * term/pc-win.el (msdos-create-frame-with-faces):
17574 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
17575
17576 2011-11-16 Martin Rudalics <rudalics@gmx.at>
17577
17578 * window.el (split-window, window-state-get-1)
17579 (window-state-put-1, window-state-put-2): Rename occurrences of
17580 window-nest to window-combination-limit.
17581 * cus-start.el (window-nest): Rename to window-combination-limit.
17582
17583 2011-11-16 Chong Yidong <cyd@gnu.org>
17584
17585 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
17586 regexp (Bug#10033).
17587
17588 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
17589
17590 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
17591 `completing-read' will remove *Completions* and will preserve
17592 current-buffer for us.
17593 (tmm-add-prompt): Users of *Completions* will always (re)set its
17594 major mode.
17595 (tmm-old-comp-map): Remove.
17596
17597 2011-11-16 Glenn Morris <rgm@gnu.org>
17598
17599 * mail/rmailedit.el: Require rmailmm when compiling.
17600 (rmail-old-mime-state): New declaration.
17601 (rmail-edit-current-message): If editing a mime message,
17602 edit the "raw" message from the mbox buffer.
17603 (rmail-cease-edit): Handle mime messages. (Bug#9840)
17604
17605 2011-11-15 Glenn Morris <rgm@gnu.org>
17606
17607 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
17608 which wasn't being used. Add optional arg to force given state.
17609 (rmail-mime): Add optional arg to force given state.
17610
17611 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
17612
17613 * allout.el (allout-encryption-plaintext-sanitization-regexps):
17614 * frame.el (display-mm-dimensions-alist):
17615 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
17616 (outline-move-subtree-down):
17617 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
17618 (newsticker--treeview-do-get-node):
17619 * net/quickurl.el (quickurl-list-buffer-name):
17620 * progmodes/dcl-mode.el (dcl-mode):
17621 * progmodes/gdb-mi.el (gdb-mapcar*):
17622 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
17623
17624 2011-11-15 Glenn Morris <rgm@gnu.org>
17625
17626 * mail/rmail.el (rmail-file-coding-system): It's only ever used
17627 in a boolean sense, so just make it a boolean, and fix the doc.
17628 (rmail-show-mime-function, rmail-mime-feature)
17629 (rmail-require-mime-maybe): Doc fixes.
17630 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
17631
17632 * mail/rmailmm.el (rmail-show-mime): Doc fix.
17633
17634 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
17635
17636 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
17637 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
17638 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
17639 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
17640
17641 2011-11-15 Glenn Morris <rgm@gnu.org>
17642
17643 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
17644 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
17645 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
17646 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
17647 (rmail-mime, rmail-show-mime): Doc fixes.
17648
17649 * term/ns-win.el (mode-line-frame-identification):
17650 Leave it alone. (Bug#10051)
17651
17652 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
17653
17654 * mail/rmailout.el (rmail-output-to-rmail-buffer):
17655 Handle empty buffers. (Bug#9978)
17656
17657 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
17658
17659 * international/mule.el (define-charset):
17660 * mail/rmailmm.el (rmail-mime-find-header-encoding):
17661 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
17662 * progmodes/verilog-mode.el (verilog-backward-token):
17663 * textmodes/ispell.el (lookup-words):
17664 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
17665
17666 2011-11-14 Glenn Morris <rgm@gnu.org>
17667
17668 * progmodes/executable.el
17669 (executable-make-buffer-file-executable-if-script-p):
17670 Handle file-modes returning nil.
17671
17672 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
17673 message - not necessary, and causes problems. (Bug#9831)
17674
17675 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
17676
17677 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
17678
17679 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
17680 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
17681 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
17682
17683 2011-11-12 Martin Rudalics <rudalics@gmx.at>
17684
17685 * window.el (window-resize, delete-window): Use window-splits
17686 variable instead of function.
17687 (window-state-get-1, window-state-put-2, window-state-put):
17688 Don't deal with windows' splits status.
17689
17690 2011-11-12 Glenn Morris <rgm@gnu.org>
17691
17692 * apropos.el (apropos-do-all, apropos-library, apropos-value)
17693 (apropos-documentation): Doc fixes.
17694
17695 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
17696
17697 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
17698 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
17699
17700 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
17701
17702 * electric.el (electric-indent-post-self-insert-function): Make it
17703 possible for a char to only indent in some circumstances.
17704 (electric-indent-mode): Simplify.
17705
17706 2011-11-11 Martin Rudalics <rudalics@gmx.at>
17707
17708 * window.el (windows-with-parameter): Remove unused function.
17709 (windows-at-side): Rename to window-at-side-list.
17710 (window-check, window-atom-check, window-atom-check-1)
17711 (window-side-check, window-size-ignore, window-size-fixed-1)
17712 (window-in-direction-2): Prefix with "window--".
17713 (window-tree-1): Rename to window--subtree, fix doc-string.
17714
17715 2011-11-11 Glenn Morris <rgm@gnu.org>
17716
17717 * subr.el (eval-after-load): If FILE is already loaded,
17718 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
17719
17720 2011-11-10 Glenn Morris <rgm@gnu.org>
17721
17722 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
17723 Call svn via vc-svn-command rather than vc-do-command.
17724 (vc-svn-command): Add --non-interactive. (Bug#9993)
17725 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
17726
17727 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
17728 Add toggle-read-only. (Bug#7292)
17729 * files.el (toggle-read-only): Mention that it should only
17730 be used interactively. (Bug#10006)
17731
17732 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
17733
17734 * progmodes/compile.el (compilation-error-regexp-alist-alist):
17735 Adjust regexp for OCaml warnings.
17736
17737 * electric.el (electric-pair-post-self-insert-function): Let user
17738 turn it off buffer-locally (bug#9932).
17739
17740 * progmodes/python.el (python-beginning-of-statement):
17741 Rewrite (bug#2703).
17742
17743 * progmodes/compile.el: Better handle TABs (bug#9749).
17744 (compilation-internal-error-properties)
17745 (compilation-next-error-function): Obey the target buffer's
17746 compilation-error-screen-columns.
17747
17748 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
17749
17750 * progmodes/meta-mode.el: Remove obsolete comments.
17751 (meta-right-comment-regexp, meta-ignore-comment-regexp):
17752 Fix typos in docstrings.
17753
17754 2011-11-09 Martin Rudalics <rudalics@gmx.at>
17755
17756 * window.el (window-size-fixed-p): Rewrite doc-string.
17757 (window-resizable-p): Rename to window--resizable-p. Update callers.
17758 (window--resizable): New function. Make all callers of
17759 window-resizable call window--resizable instead.
17760 (window-resizable): Rewrite in terms of window--resizable.
17761
17762 2011-11-08 Glenn Morris <rgm@gnu.org>
17763
17764 * progmodes/delphi.el (delphi-mode-syntax-table):
17765 Let define-derived-mode define a proper syntax table. (Bug#9994)
17766
17767 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
17768
17769 * window.el: Stay away from defsubst.
17770 (window-list-no-nils): Remove.
17771 (window-state-get-1, window-state-get): Use backquote instead.
17772
17773 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
17774
17775 * emacs-lisp/find-func.el (find-function-read):
17776 Fix incorrect use of default argument in `completing-read'.
17777
17778 2011-11-08 Martin Rudalics <rudalics@gmx.at>
17779
17780 * window.el (display-buffer-function, special-display-function):
17781 Mention display-buffer-record-window but do not mention
17782 help-setup parameter in doc-strings.
17783 (window-min-delta): Fix doc-string typo.
17784
17785 2011-11-08 Chong Yidong <cyd@gnu.org>
17786
17787 * window.el (window-total-height, window-total-width): Doc fix.
17788 (window-body-size): Move from C.
17789 (window-body-height, window-body-width): Move to C.
17790
17791 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
17792
17793 * window.el: Make special-display like display-buffer-alist (bug#9532).
17794 (display-buffer--special-action): New function, morphed
17795 from display-buffer--special.
17796 (display-buffer): Use it to handle special-display-buffers at higher
17797 priority (just after display-buffer-alist).
17798 (display-buffer-fallback-action, display-buffer--other-frame-action)
17799 (pop-to-buffer-same-window): Remove display-buffer--special.
17800
17801 2011-11-07 Glenn Morris <rgm@gnu.org>
17802
17803 * calendar/cal-menu.el (cal-menu-set-date-title):
17804 Do nothing if not in a calendar. (Bug#9976)
17805
17806 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
17807
17808 * files.el (find-file): Always use selected-window.
17809
17810 2011-11-07 Martin Rudalics <rudalics@gmx.at>
17811
17812 * window.el (window-combinations): Make WINDOW argument
17813 mandatory. Rewrite doc-string.
17814 (walk-window-subtree, window-atom-check, window-min-delta)
17815 (window-max-delta, window--resize-this-window)
17816 (window--resize-root-window-vertically, window-tree)
17817 (balance-windows, window-state-put): Rewrite doc-strings as to
17818 not mention the term "subwindow".
17819 (window--resize-subwindows-skip-p): Rename to
17820 window--resize-child-windows-skip-p.
17821 (window--resize-subwindows-normal): Rename to
17822 window--resize-child-windows-normal.
17823 (window--resize-subwindows): Rename to
17824 window--resize-child-windows.
17825 (window-or-subwindow-p): Rename to window--in-subtree-p.
17826
17827 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
17828
17829 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
17830 Ensure that mbox format messages end in two newlines (Bug#9974).
17831
17832 2011-11-06 Chong Yidong <cyd@gnu.org>
17833
17834 * window.el (window-combination-p): Function deleted; its
17835 side-effect is not used in any existing code.
17836 (window-combinations, window-combined-p): Call window-*-child
17837 directly.
17838
17839 2011-11-05 Chong Yidong <cyd@gnu.org>
17840
17841 * window.el (window-valid-p): Rename from window-any-p.
17842 (window-size-ignore, window-state-get): Callers changed.
17843 (window-normalize-window): Rename from window-normalize-any-window.
17844 New arg LIVE-ONLY, replacing window-normalize-live-window.
17845 (window-normalize-live-window): Delete.
17846 (window-combination-p, window-combined-p, window-combinations)
17847 (walk-window-subtree, window-atom-root, window-min-size)
17848 (window-sizable, window-sizable-p, window-size-fixed-p)
17849 (window-min-delta, window-max-delta, window-resizable)
17850 (window-resizable-p, window-full-height-p, window-full-width-p)
17851 (window-current-scroll-bars, window-point-1, set-window-point-1)
17852 (window-at-side-p, window-in-direction, window-resize)
17853 (adjust-window-trailing-edge, maximize-window, minimize-window)
17854 (window-deletable-p, delete-window, delete-other-windows)
17855 (record-window-buffer, unrecord-window-buffer)
17856 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
17857 (quit-window, split-window, window-state-put)
17858 (set-window-text-height, fit-window-to-buffer)
17859 (shrink-window-if-larger-than-buffer): Callers changed.
17860
17861 2011-11-04 Eli Zaretskii <eliz@gnu.org>
17862
17863 * mail/rmail.el (rmail-simplified-subject): Decode subject with
17864 rfc2047-decode-string.
17865 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
17866 warnings.
17867
17868 * window.el (window-body-height, window-body-width): Mention in
17869 the doc string that the return values are in frame's canonical
17870 units. (Bug#9949)
17871
17872 2011-11-03 Alan Mackenzie <acm@muc.de>
17873
17874 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
17875 change in cc-engine.el.
17876
17877 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
17878
17879 * window.el (switch-to-buffer): Use `force-same-window' interactively.
17880
17881 2011-11-02 Martin Rudalics <rudalics@gmx.at>
17882
17883 * window.el (quit-window): Call unrecord-window-buffer after
17884 showing another buffer in the window. (Bug#9937)
17885 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
17886
17887 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
17888
17889 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
17890 Accept status with more than 9 shelves. (Bug#9935)
17891 Reported by Colin D Bennett <colin@gibibit.com>.
17892
17893 2011-11-01 Martin Rudalics <rudalics@gmx.at>
17894
17895 * help.el (with-help-window): Don't reference
17896 temp-buffer-show-specifiers in doc-string.
17897
17898 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
17899
17900 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
17901 menu-item.
17902
17903 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
17904
17905 * whitespace.el: New version 13.2.2.
17906 (whitespace-newline-mode): Disable properly. Reported by Sarah
17907 <EmacsWiki>.
17908
17909 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
17910
17911 * net/newst-treeview.el: Remove "Time-stamp".
17912 (newsticker--group-manage-orphan-feeds): Do not call
17913 newsticker--treeview-tree-update.
17914 (newsticker-treeview-update, newsticker-treeview):
17915 Call newsticker--treeview-tree-update if necessary.
17916
17917 2011-10-30 Martin Rudalics <rudalics@gmx.at>
17918
17919 * window.el (window-iso-combination-p, window-iso-combined-p)
17920 (window-iso-combinations): Remove "iso-" infix.
17921 Suggested by Chong Yidong.
17922 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
17923 (window-max-delta-1, window-resize, window--resize-siblings)
17924 (window--resize-this-window, adjust-window-trailing-edge)
17925 (split-window, balance-windows-1)
17926 (shrink-window-if-larger-than-buffer):
17927 * calendar/calendar.el (calendar-generate-window):
17928 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
17929
17930 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
17931
17932 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
17933 in place (bug#9907).
17934 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
17935 (eshell-rewrite-if-command, eshell-rewrite-for-command)
17936 (eshell-structure-basic-command, eshell-rewrite-while-command)
17937 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
17938 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
17939 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
17940 (eshell-do-pipelines-synchronously, eshell-eval-command):
17941 Use backquotes and prefer setq to set.
17942 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
17943 (eshell-macrop): Use functionp.
17944 (eshell-do-eval): Handle multiple expressions in `while' body.
17945
17946 2011-10-30 Chong Yidong <cyd@gnu.org>
17947
17948 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
17949 instead of set-mark (Bug#9810).
17950
17951 2011-10-30 Chong Yidong <cyd@gnu.org>
17952
17953 * window.el (split-window-below, split-window-right): Rename from
17954 split-window-above-each-other and split-window-side-by-side
17955 respectively. All callers changed.
17956 (split-window-sensibly, split-window-sensibly): Use them.
17957 (split-window-keep-point): Doc fix.
17958
17959 * isearch.el: Add isearch-scroll property to split-window-below
17960 and split-window-right.
17961
17962 * follow.el (follow-mode):
17963 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
17964 * progmodes/ada-xref.el (ada-gdb-application):
17965 * emulation/vip.el (vip-buffer-in-two-windows):
17966 * image-dired.el (image-dired-dired-with-window-configuration):
17967 * dired-x.el (dired-do-find-marked-files):
17968 * dired.el (dired-pop-to-buffer):
17969 * bs.el (bs--show-with-configuration):
17970 * vc/emerge.el (emerge-setup-windows):
17971 * textmodes/two-column.el (2C-two-columns):
17972 * textmodes/reftex-toc.el (reftex-toc):
17973 * progmodes/gdb-mi.el (gdb-setup-windows):
17974 * progmodes/fortran.el (fortran-window-create):
17975 * net/newst-treeview.el (newsticker--treeview-window-init):
17976 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
17977 * emulation/tpu-edt.el (tpu-gold-map):
17978 * emulation/crisp.el (crisp-mode-map):
17979 * calendar/calendar.el (calendar-basic-setup): Callers changed.
17980
17981 2011-10-29 Chong Yidong <cyd@gnu.org>
17982
17983 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
17984
17985 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
17986
17987 * textmodes/flyspell.el (flyspell-word): Fix char offset for
17988 forged Ispell output (Bug#7904).
17989
17990 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
17991
17992 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
17993
17994 * doc-view.el: Avoid ugly errors about not finding nil.
17995 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
17996 (doc-view-dvipdf-program, doc-view-unoconv-program)
17997 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
17998 Avoid nil or absolute file name as default value.
17999 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
18000
18001 2011-10-28 Alan Mackenzie <acm@muc.de>
18002
18003 * progmodes/cc-defs.el (c-version): -> 5.32.2.
18004
18005 2011-10-28 Alan Mackenzie <acm@muc.de>
18006
18007 Amend the handling of c-beginning/end-of-defun in nested declaration
18008 scopes.
18009
18010 * progmodes/cc-vars.el (c-defun-tactic): Move here from
18011 cc-langs.el. Change it to a defcustom.
18012
18013 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
18014 cc-vars.el.
18015
18016 * progmodes/cc-engine.el (c-beginning-of-statement-1):
18017 Prevent "class foo : bar" being spuriously recognized as a label.
18018
18019 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
18020 Add parameter `inclusive' (to include enclosing braces in the region).
18021 (c-widen-to-enclosing-decl-scope): New function.
18022 (c-while-widening-to-decl-block): New macro.
18023 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
18024 outward for defun boundaries, and correspondingly change symbol
18025 `respect-enclosure' to `go-outward'.
18026 (c-declaration-limits): Change algorithm to report only the "innermost"
18027 defun's boundaries.
18028
18029 2011-10-28 Deniz Dogan <deniz@dogan.se>
18030
18031 * net/rcirc.el (rcirc-mode): Use hard newlines.
18032
18033 2011-10-28 Alan Mackenzie <acm@muc.de>
18034
18035 Amend to indent and fontify macros "which include their own semicolon"
18036 correctly, using the "virtual semicolon" mechanism.
18037
18038 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
18039
18040 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
18041 Recode to scan one line at a time rather than having \n and \r
18042 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
18043 (c-forward-label): Amend for virtual semicolons.
18044 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
18045
18046 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
18047 of the new C macros.
18048
18049 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
18050 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
18051 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
18052 (c-opt-cpp-macro-define): Make into a full language variable.
18053 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
18054 AWK Mode (including \n, \r) removed, no longer needed.
18055
18056 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
18057 Invoke c-make-macro-with-semi-re.
18058
18059 * progmodes/cc-vars.el (c-macro-with-semi-re):
18060 (c-macro-names-with-semicolon): New variables.
18061 (c-make-macro-with-semi-re): New function.
18062
18063 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
18064
18065 * vc/log-edit.el: Fill empty field rather than adding new one.
18066 (log-edit-add-field): New function.
18067 (log-edit-insert-changelog): Use it.
18068
18069 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
18070
18071 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
18072
18073 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
18074
18075 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
18076 (gdb--check-interpreter): New function.
18077 (gdb): Use it.
18078
18079 2011-10-27 Glenn Morris <rgm@gnu.org>
18080
18081 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
18082 (least-positive-float, least-negative-float)
18083 (least-positive-normalized-float, least-negative-normalized-float)
18084 (float-epsilon, float-negative-epsilon):
18085 Remove unnecessary declarations.
18086
18087 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
18088 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
18089 (least-positive-float, least-negative-float)
18090 (least-positive-normalized-float, least-negative-normalized-float)
18091 (float-epsilon, float-negative-epsilon): Add doc-strings,
18092 based on those in cl.texi.
18093
18094 * files.el (set-visited-file-name): If the major-mode changed,
18095 reload the local variables. (Bug#9796)
18096
18097 2011-10-27 Chong Yidong <cyd@gnu.org>
18098
18099 * subr.el (change-major-mode-after-body-hook): New hook.
18100 (run-mode-hooks): Run it.
18101
18102 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
18103 Use change-major-mode-before-body-hook.
18104
18105 * simple.el (fundamental-mode):
18106 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
18107 change introducing fundamental-mode-hook.
18108
18109 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
18110
18111 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
18112
18113 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
18114
18115 * ido.el (ido-file-name-all-completions-1): Do not require
18116 tramp.el explicitly. (Bug#7583)
18117
18118 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
18119
18120 * progmodes/octave-mod.el:
18121 * progmodes/octave-inf.el: Update maintainer.
18122
18123 2011-10-26 Chong Yidong <cyd@gnu.org>
18124
18125 * subr.el (with-wrapper-hook): Rewrite doc.
18126
18127 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
18128
18129 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
18130 filenames "/method:foo:". (Bug#9793)
18131
18132 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
18133
18134 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
18135 (bug#9865).
18136
18137 2011-10-24 Glenn Morris <rgm@gnu.org>
18138
18139 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
18140
18141 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
18142
18143 * notifications.el: Add the requirement of a running D-Bus session
18144 bus to the Commentary.
18145
18146 2011-10-24 Juri Linkov <juri@jurta.org>
18147
18148 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
18149 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
18150 (Bug#9364)
18151
18152 2011-10-24 Juri Linkov <juri@jurta.org>
18153
18154 * info.el (Info-following-node-name-re): Add newline to the list
18155 of allowed characters for leading space. (Bug#9824)
18156
18157 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
18158
18159 * progmodes/octave-inf.el (inferior-octave-mode-map):
18160 Fix C-c C-h binding.
18161 * progmodes/octave-mod.el (octave-help): Remove.
18162
18163 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
18164
18165 Sync with Tramp 2.2.3.
18166
18167 * net/tramp-cache.el (top): Pacify byte-compiler using
18168 `init-file-user' and `site-run-file'.
18169
18170 * net/trampver.el: Update release number.
18171
18172 2011-10-23 Chong Yidong <cyd@gnu.org>
18173
18174 * files.el (toggle-read-only): Remove obsolete comment about
18175 version control.
18176
18177 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
18178 for toggle-read-only. Note that this hasn't called vc-next-action
18179 since 2008-05-02, though it wasn't documented at the time.
18180
18181 * vc/ediff-init.el (ediff-toggle-read-only-function):
18182 Use toggle-read-only.
18183
18184 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
18185
18186 Fix bug #9560, sporadic wrong indentation; improve instrumentation
18187 of c-parse-state.
18188
18189 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
18190 correct faulty logical expression.
18191 (c-parse-state-state, c-record-parse-state-state):
18192 (c-replay-parse-state-state): New defvar/defuns.
18193 (c-debug-parse-state): Use new functions.
18194
18195 2011-10-22 Martin Rudalics <rudalics@gmx.at>
18196
18197 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
18198 last fix. Use window-in-direction correctly.
18199
18200 2011-10-21 Chong Yidong <cyd@gnu.org>
18201
18202 * progmodes/idlwave.el (idlwave-mode):
18203 * progmodes/vera-mode.el (vera-mode): No need to set
18204 require-final-newline; that's done in prog-mode.
18205 Suggested by Stefan Monnier.
18206
18207 2011-10-21 Martin Rudalics <rudalics@gmx.at>
18208
18209 * mouse.el (mouse-drag-window-above)
18210 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
18211 (mouse-drag-mode-line-1, mouse-drag-header-line)
18212 (mouse-drag-vertical-line-rightward-window): Remove.
18213 (mouse-drag-line): New function.
18214 (mouse-drag-mode-line, mouse-drag-header-line)
18215 (mouse-drag-vertical-line): Call mouse-drag-line.
18216 * window.el (window-at-side-p, windows-at-side): New functions.
18217
18218 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
18219
18220 * tar-mode.el (tar-grind-file-mode):
18221 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
18222
18223 2011-10-21 Chong Yidong <cyd@gnu.org>
18224
18225 * progmodes/idlwave.el (idlwave-mode):
18226 * progmodes/vera-mode.el (vera-mode):
18227 Use mode-require-final-newline.
18228
18229 2011-10-20 Glenn Morris <rgm@gnu.org>
18230
18231 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
18232
18233 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
18234
18235 * emulation/cua-base.el (cua-set-mark): Fix case of string.
18236
18237 2011-10-20 Chong Yidong <cyd@gnu.org>
18238
18239 * emulation/cua-base.el (cua-mode):
18240 * mail/footnote.el (footnote-mode):
18241 * mail/mailabbrev.el (mail-abbrevs-mode):
18242 * net/xesam.el (xesam-minor-mode):
18243 * progmodes/bug-reference.el (bug-reference-mode):
18244 * progmodes/cap-words.el (capitalized-words-mode):
18245 * progmodes/compile.el (compilation-minor-mode)
18246 (compilation-shell-minor-mode):
18247 * progmodes/gud.el (gud-tooltip-mode):
18248 * progmodes/hideif.el (hide-ifdef-mode):
18249 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
18250 * progmodes/subword.el (subword-mode):
18251 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
18252 * progmodes/which-func.el (which-function-mode):
18253 * term/tvi970.el (tvi970-set-keypad-mode):
18254 * term/vt100.el (vt100-wide-mode):
18255 * textmodes/flyspell.el (flyspell-mode):
18256 * textmodes/ispell.el (ispell-minor-mode):
18257 * textmodes/nroff-mode.el (nroff-electric-mode):
18258 * textmodes/paragraphs.el (use-hard-newlines):
18259 * textmodes/refill.el (refill-mode):
18260 * textmodes/reftex.el (reftex-mode):
18261 * textmodes/rst.el (rst-minor-mode):
18262 * textmodes/sgml-mode.el (html-autoview-mode)
18263 (sgml-electric-tag-pair-mode):
18264 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
18265 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
18266 * emulation/crisp.el (crisp-mode):
18267 * emacs-lisp/eldoc.el (eldoc-mode):
18268 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
18269 minor mode behavior.
18270
18271 2011-10-19 Juri Linkov <juri@jurta.org>
18272
18273 * descr-text.el (describe-char): Add #x2010 and #x2011 to
18274 the list of hard-coded chars with escape-glyph face.
18275
18276 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
18277
18278 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
18279
18280 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
18281
18282 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
18283 running process.
18284
18285 2011-10-19 Glenn Morris <rgm@gnu.org>
18286
18287 * vc/vc-bzr.el (vc-bzr-after-dir-status):
18288 Ignore ignored files. (Bug#9726)
18289
18290 2011-10-19 Chong Yidong <cyd@gnu.org>
18291
18292 Doc fix for minor modes, stating that an omitted argument enables
18293 the mode unconditionally when called from Lisp.
18294
18295 * abbrev.el (abbrev-mode):
18296 * allout.el (allout-mode):
18297 * autoinsert.el (auto-insert-mode):
18298 * autoarg.el (autoarg-mode, autoarg-kp-mode):
18299 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
18300 (global-auto-revert-mode):
18301 * battery.el (display-battery-mode):
18302 * composite.el (global-auto-composition-mode)
18303 (auto-composition-mode):
18304 * delsel.el (delete-selection-mode):
18305 * desktop.el (desktop-save-mode):
18306 * dired-x.el (dired-omit-mode):
18307 * dirtrack.el (dirtrack-mode):
18308 * doc-view.el (doc-view-minor-mode):
18309 * double.el (double-mode):
18310 * electric.el (electric-indent-mode, electric-pair-mode):
18311 * emacs-lock.el (emacs-lock-mode):
18312 * epa-hook.el (auto-encryption-mode):
18313 * follow.el (follow-mode):
18314 * font-core.el (font-lock-mode):
18315 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
18316 * help.el (temp-buffer-resize-mode):
18317 * hilit-chg.el (highlight-changes-mode)
18318 (highlight-changes-visible-mode):
18319 * hi-lock.el (hi-lock-mode):
18320 * hl-line.el (hl-line-mode, global-hl-line-mode):
18321 * icomplete.el (icomplete-mode):
18322 * ido.el (ido-everywhere):
18323 * image-file.el (auto-image-file-mode):
18324 * image-mode.el (image-minor-mode):
18325 * iswitchb.el (iswitchb-mode):
18326 * jka-cmpr-hook.el (auto-compression-mode):
18327 * linum.el (linum-mode):
18328 * longlines.el (longlines-mode):
18329 * master.el (master-mode):
18330 * mb-depth.el (minibuffer-depth-indicate-mode):
18331 * menu-bar.el (menu-bar-mode):
18332 * minibuf-eldef.el (minibuffer-electric-default-mode):
18333 * mouse-sel.el (mouse-sel-mode):
18334 * msb.el (msb-mode):
18335 * mwheel.el (mouse-wheel-mode):
18336 * outline.el (outline-minor-mode):
18337 * paren.el (show-paren-mode):
18338 * recentf.el (recentf-mode):
18339 * reveal.el (reveal-mode, global-reveal-mode):
18340 * rfn-eshadow.el (file-name-shadow-mode):
18341 * ruler-mode.el (ruler-mode):
18342 * savehist.el (savehist-mode):
18343 * scroll-all.el (scroll-all-mode):
18344 * scroll-bar.el (scroll-bar-mode):
18345 * server.el (server-mode):
18346 * shell.el (shell-dirtrack-mode):
18347 * simple.el (auto-fill-mode, transient-mark-mode)
18348 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
18349 (line-number-mode, column-number-mode, size-indication-mode)
18350 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
18351 * strokes.el (strokes-mode):
18352 * time.el (display-time-mode):
18353 * t-mouse.el (gpm-mouse-mode):
18354 * tool-bar.el (tool-bar-mode):
18355 * tooltip.el (tooltip-mode):
18356 * type-break.el (type-break-mode-line-message-mode)
18357 (type-break-query-mode):
18358 * view.el (view-mode):
18359 * whitespace.el (whitespace-mode, whitespace-newline-mode)
18360 (global-whitespace-mode, global-whitespace-newline-mode):
18361 * xt-mouse.el (xterm-mouse-mode): Doc fix.
18362
18363 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
18364 Fix autogenerated docstring.
18365
18366 2011-10-19 Juri Linkov <juri@jurta.org>
18367
18368 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
18369 by checking environment variables "DESKTOP_SESSION" and
18370 "XDG_CURRENT_DESKTOP". (Bug#9779)
18371
18372 2011-10-19 Juri Linkov <juri@jurta.org>
18373
18374 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
18375 (browse-url-chromium-program, browse-url-chromium-arguments):
18376 New defcustoms.
18377 (browse-url-default-browser): Check for `browse-url-chromium' and
18378 call `browse-url-chromium-program'.
18379 (browse-url-chromium): New command. (Bug#9779)
18380
18381 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
18382
18383 * facemenu.el (list-colors-duplicates): On Windows, detect more
18384 duplicates by assuming that only colors matching "^System" are
18385 special "system colors". (Bug#9722)
18386
18387 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
18388
18389 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
18390 to distinguish the author from the committer.
18391
18392 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
18393
18394 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
18395
18396 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
18397
18398 * international/mule.el (sgml-html-meta-auto-coding-function):
18399 Add support for detecting encoding in HTML5 specified only as
18400 <meta charset="UTF-8">. Implementation just makes http-equiv and
18401 content-type parts from HTML4 encoding string optional. (Bug#9716)
18402
18403 2011-10-18 Glenn Morris <rgm@gnu.org>
18404
18405 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
18406
18407 2011-10-18 Chong Yidong <cyd@gnu.org>
18408
18409 * faces.el (cursor): Doc fix.
18410
18411 2011-10-17 Chong Yidong <cyd@gnu.org>
18412
18413 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
18414
18415 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
18416
18417 * dirtrack.el (dirtrack): Support shell buffers with path
18418 prefixes, e.g. tramp-based remote shells. (Bug#9647)
18419
18420 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
18421
18422 * json.el: Bump version to 1.3 and note change in History.
18423 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
18424
18425 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
18426
18427 * comint.el (comint-insert-input, comint-send-input)
18428 (comint-get-old-input-default, comint-backward-matching-input)
18429 (comint-next-prompt): Use nil instead of `input' for field property of
18430 past user input (bug#114).
18431
18432 * minibuffer.el (completion--replace): Inherit surrounding properties
18433 (bug#114).
18434 (minibuffer-complete-and-exit): Use it.
18435
18436 * comint.el (comint--table-subvert): Quote the all-completions output
18437 (bug#9160).
18438
18439 2011-10-17 Martin Rudalics <rudalics@gmx.at>
18440
18441 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
18442
18443 * menu-bar.el (menu-bar-file-menu): Add entry for making new
18444 window on right of selected. (Bug#9350) Reword other window
18445 entries and separate them from frame entries.
18446
18447 2011-10-15 Glenn Morris <rgm@gnu.org>
18448
18449 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
18450 Doc fixes.
18451
18452 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
18453
18454 * net/network-stream.el (network-stream-open-starttls):
18455 Improve detection of failure due to lack of TLS support.
18456
18457 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
18458 putting the input text in front and in bold.
18459
18460 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
18461
18462 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
18463
18464 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
18465 empty buffer.
18466
18467 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
18468 unread-command-events rather than pushing yet-another event.
18469
18470 2011-10-14 Eli Zaretskii <eliz@gnu.org>
18471
18472 * mail/sendmail.el (sendmail-query-once): Improve the wording of
18473 the explanation of the possible choices. Make the options passed
18474 to completing-read shorter.
18475
18476 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
18477
18478 * textmodes/flyspell.el (flyspell-large-region): Make sure
18479 extended character mode is used if defined (Bug#1339).
18480
18481 2011-10-13 Eli Zaretskii <eliz@gnu.org>
18482
18483 * simple.el (what-cursor-position): Fix the display of the
18484 character info for LRE, LRO, RLE, and RLO characters by appending
18485 an invisible PDF.
18486
18487 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
18488
18489 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
18490 even in case of error; add debug spec; simplify data flow.
18491 (with-timeout-handler): Remove.
18492
18493 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
18494
18495 Fix Bug#6019, Bug#9315.
18496
18497 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
18498 complete `buffer-file-name', the local file name part could look
18499 remotely (for example on VMS).
18500
18501 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
18502 `tramp-run-real-handler'.
18503 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
18504 already quoted by '"'.
18505
18506 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
18507 Let `file-name-handler-alist' be nil, the local file name part
18508 could look remotely (for example on VMS).
18509
18510 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
18511
18512 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
18513 from here...
18514 (flyspell-post-command-hook): ...to here.
18515
18516 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
18517
18518 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
18519 if not needed.
18520 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
18521 using completion. Protect against "slow" callers.
18522 Remove the "message hack".
18523
18524 2011-10-11 Juri Linkov <juri@jurta.org>
18525
18526 * isearch.el (isearch-lazy-highlight-word): New variable.
18527 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
18528 Use it. (Bug#9727)
18529
18530 2011-10-11 Glenn Morris <rgm@gnu.org>
18531
18532 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
18533 like f90-previous-statement does.
18534
18535 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
18536
18537 * eshell/eshell.el (eshell-command): History should be saved
18538 only in interactive use, to avoid error.
18539
18540 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
18541
18542 * minibuffer.el (completion-file-name-table): Fix last change,
18543 i.e. ignore normal errors but not the other ones.
18544
18545 2011-10-10 Martin Rudalics <rudalics@gmx.at>
18546
18547 * window.el (special-display-buffer-names)
18548 (special-display-regexps): Remove some remnants of earlier
18549 changes from doc-strings.
18550 (quit-windows-on): New function.
18551
18552 * vc/vc.el (vc-revert, vc-rollback):
18553 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
18554 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
18555 (Bug#6183) (Bug#7074) (Bug#7447)
18556
18557 2011-10-09 Martin Rudalics <rudalics@gmx.at>
18558
18559 * window.el (frame-auto-hide-function): Add version tag.
18560 (Bug#9699)
18561
18562 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
18563
18564 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
18565 condition.
18566
18567 2011-10-09 Leo Liu <sdl.web@gmail.com>
18568
18569 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
18570 (Bug#9701)
18571
18572 2011-10-08 Glenn Morris <rgm@gnu.org>
18573
18574 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
18575 before the first code statement zero indent. (Bug#9690)
18576
18577 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
18578
18579 * simple.el (count-words-region): Always count in the region.
18580 Report the number of lines and characters too.
18581 (count-words): New command, which counts in the buffer if the
18582 region is inactive, as count-words-region used to.
18583 (count-words--message): New function. Handle plurals.
18584 (count-lines-region): Make it an alias for count-words-region.
18585
18586 * bindings.el (esc-map): Replace count-lines-region with
18587 count-words-region.
18588
18589 2011-10-08 Martin Rudalics <rudalics@gmx.at>
18590
18591 * window.el (window--delete): Delete dedicated frame
18592 unconditionally when argument KILL is non-nil. (Bug#9699)
18593 (switch-to-buffer): Fix doc-string typo.
18594
18595 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
18596
18597 * eshell/eshell.el (eshell-command): Avoid using hooks.
18598
18599 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
18600
18601 * bindings.el ([M-left],[M-right]): Bind to left-word and
18602 right-word respectively.
18603
18604 2011-10-07 Glenn Morris <rgm@gnu.org>
18605
18606 * cus-start.el (debug-on-quit): Fix custom type.
18607
18608 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
18609
18610 * subr.el (define-key-after): Clarify that the function is not
18611 useful for non-menu keymaps.
18612
18613 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
18614
18615 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
18616
18617 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
18618 in current minibuffer (Fix bug with recursive minibuffers).
18619
18620 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
18621
18622 * progmodes/gdb-mi.el (gdb): Doc fix.
18623
18624 2011-10-05 Martin Rudalics <rudalics@gmx.at>
18625
18626 * window.el (frame-auto-hide-function): New option replacing
18627 frame-auto-delete. Suggested by Stefan Monnier.
18628 (window--delete): Call frame-auto-hide-function instead of
18629 investigating frame-auto-delete.
18630 (window-point-1, set-window-point-1): New functions.
18631 (window-in-direction, record-window-buffer, window-state-get-1)
18632 (display-buffer-record-window): Use window-point-1 instead of
18633 window-point.
18634 (set-window-buffer-start-and-point): Use set-window-point-1.
18635
18636 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
18637
18638 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
18639
18640 2011-10-05 Glenn Morris <rgm@gnu.org>
18641
18642 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
18643 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
18644
18645 2011-10-05 Leo Liu <sdl.web@gmail.com>
18646
18647 * subr.el (read-char-choice): Fix argument to buffer-live-p which
18648 works with buffer object.
18649
18650 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
18651
18652 * mpc.el (mpc-tool-bar-map): Add labels.
18653
18654 2011-10-04 Glenn Morris <rgm@gnu.org>
18655
18656 * calendar/holidays.el (calendar-check-holidays): Doc fix.
18657
18658 2011-10-04 Martin Rudalics <rudalics@gmx.at>
18659
18660 * window.el (window--delete): New function.
18661 (frame-auto-delete): Resuscitate option.
18662 (bury-buffer, replace-buffer-in-windows)
18663 (quit-window): Rewrite using window--delete.
18664 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
18665 Pass display-buffer-mark-dedicated to window--display-buffer-2
18666 (Bug#9639).
18667
18668 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
18669
18670 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
18671 returns a list (bug#9554). Add remote file name completion.
18672 * comint.el (comint--table-subvert): Curry and get quote&unquote
18673 functions as arguments.
18674 (comint--complete-file-name-data): Adjust call accordingly.
18675 * pcomplete.el (pcomplete--table-subvert): Remove.
18676 (pcomplete-completions-at-point): Use comint--table-subvert instead.
18677
18678 * minibuffer.el (completion-table-case-fold): Use currying.
18679 (completion--styles-type, completion--cycling-threshold-type):
18680 New constants.
18681 (completion-styles, completion-category-overrides)
18682 (completion-cycle-threshold): Use them.
18683 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
18684 completion-table-case-fold.
18685
18686 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
18687
18688 * minibuffer.el (completion-category-overrides): Fix type of styles
18689 and add more user friendly tags (bug#9660).
18690
18691 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
18692
18693 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
18694 (mule-input-method-string): New widget.
18695 (default-input-method, language-info-custom-alist): Use it.
18696
18697 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
18698
18699 * pcomplete.el: Require comint.
18700 (pcomplete--common-suffix): Remove.
18701 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
18702 (pcomplete--table-subvert): Sync with comint--table-subvert.
18703 (pcomplete--entries): Use comint-completion-file-name-table.
18704 * comint.el (comint-unquote-filename): Simplify.
18705 (comint-completion-file-name-table): New function (bug#9616).
18706 (comint--complete-file-name-data): Use it.
18707
18708 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
18709 (pcmpl-gnu-tar-buffer): Remove.
18710 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
18711 around. Make sure pcomplete-suffix-list is only changed temporarily.
18712 Don't look inside the tar's file if it's too large.
18713
18714 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
18715
18716 * cus-edit.el (custom-mode-map):
18717 * epa.el (epa-key-list-mode-map):
18718 * man.el (Man-mode-map):
18719 * startup.el (splash-screen-keymap):
18720 * simple.el (special-mode-map): Use scroll-up-command and
18721 scroll-down-command.
18722
18723 * progmodes/idlw-help.el (idlwave-help-mode-map):
18724 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
18725 * net/newst-plainview.el (newsticker-mode-map):
18726 * emulation/ws-mode.el (wordstar-mode-map):
18727 * emulation/vi.el (vi-com-map):
18728 * calc/calc-graph.el (calc-graph-show-dumb):
18729 * term/sun.el (terminal-init-sun):
18730 * term/ns-win.el (global-map):
18731 * progmodes/grep.el (grep-mode-map):
18732 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
18733 * mail/rmail.el (rmail-mode-map):
18734 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
18735
18736 * custom.el (custom-safe-themes, load-theme): Treat value of t for
18737 custom-safe-themes as special.
18738
18739 2011-10-01 Julien Danjou <julien@danjou.info>
18740
18741 * notifications.el (notifications-notify): Fix docstring.
18742
18743 2011-10-01 Per Starbäck <per@starback.se>
18744
18745 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
18746
18747 2011-09-30 Martin Rudalics <rudalics@gmx.at>
18748
18749 * startup.el (command-line-1): Fix last fix by inserting
18750 initial-scratch-message into *scratch* before displaying it.
18751 (Bug#9605) and (Bug#9636)
18752
18753 2011-09-29 Eli Zaretskii <eliz@gnu.org>
18754
18755 * simple.el (line-move): If auto-hscroll-mode is disabled and the
18756 window is hscrolled, move by logical lines. (Bug#9607)
18757 (line-move-visual): Update the doc string to the above effect.
18758
18759 2011-09-29 Martin Rudalics <rudalics@gmx.at>
18760
18761 * window.el (display-buffer-record-window): When WINDOW is the
18762 selected window use `point' instead of `window-point'. (Bug#9626)
18763
18764 * startup.el (command-line-1): Use insert-before-markers when
18765 inserting initial-scratch-message. (Bug#9605)
18766
18767 * help.el (help-window): Remove variable.
18768
18769 2011-09-29 Glenn Morris <rgm@gnu.org>
18770
18771 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
18772
18773 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
18774
18775 * descr-text.el (describe-char-categories): Accept category
18776 descriptions more than one line long.
18777
18778 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
18779
18780 * simple.el (delete-trailing-whitespace): Fix last change.
18781
18782 * progmodes/perl-mode.el (perl-syntax-propertize-function):
18783 Don't confuse "y => 3" as the beginning of a `y' operation.
18784
18785 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
18786 object has more than 4 slots (bug#9613).
18787
18788 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
18789
18790 * subr.el (with-output-to-temp-buffer):
18791 * net/quickurl.el (quickurl, quickurl-browse-url):
18792 Fix typos in docstrings.
18793
18794 2011-09-27 Eli Zaretskii <eliz@gnu.org>
18795
18796 * minibuffer.el (completion-styles)
18797 (completion-category-overrides): Cross reference each other in doc
18798 strings.
18799
18800 2011-09-27 Glenn Morris <rgm@gnu.org>
18801
18802 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
18803 to split-string. (Bug#9606)
18804
18805 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
18806
18807 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
18808 (bug#9615).
18809
18810 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
18811
18812 * emacs-lisp/package.el (list-packages): Fix echo area message.
18813
18814 2011-09-27 Leo Liu <sdl.web@gmail.com>
18815
18816 * ido.el (ido-read-internal): Accept cons cell HIST arg.
18817
18818 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
18819
18820 * net/dbus.el (dbus-unregister-object): Don't release services for
18821 registered signals. (Bug#9581)
18822
18823 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
18824
18825 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
18826 function that picks between cfengine 2 and 3 support
18827 automatically. Update docs accordingly.
18828
18829 2011-09-22 Kenichi Handa <handa@m17n.org>
18830
18831 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
18832 ZERO.
18833 (indian-itrans-v5-table-for-tamil): New variable.
18834 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
18835
18836 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
18837
18838 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
18839 that's true if the current command involved collapsing of text.
18840 It's reset to false at the beginning of the next command.
18841 (allout-post-command-business): Move the cursor to the beginning
18842 of entry if the cursor is hidden and collapsing activity just
18843 happened.
18844
18845 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
18846
18847 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
18848 tracking (Bug#9541).
18849
18850 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
18851
18852 * net/newst-reader.el (newsticker-html-renderer)
18853 (newsticker-show-news): Automatically load html rendering package
18854 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
18855 because w3m-fill-column is let-bound" and the error "Symbol's value
18856 as variable is void: w3m-fill-column".
18857
18858 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
18859
18860 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
18861 Release services only if they are defined. (Bug#9581)
18862
18863 2011-09-23 Richard Stallman <rms@gnu.org>
18864
18865 * textmodes/paragraphs.el (forward-sentence): For backwards case,
18866 distinguish start of paragraph from start of its text.
18867
18868 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
18869
18870 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
18871 (rmail-generate-viewer-buffer): Put that hook on view buffer.
18872 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
18873
18874 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
18875
18876 * international/mule-diag.el (mule-diag): Insert a newline after
18877 each fontset description.
18878
18879 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
18880
18881 * simple.el (delete-trailing-whitespace):
18882 Document last change; simplify.
18883
18884 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
18885
18886 * simple.el (delete-trailing-whitespace): Also delete
18887 extra newlines at the end of the buffer.
18888
18889 * textmodes/picture.el: Make motion commands obey shift-select-mode.
18890 (picture-newline): Use forward-line so as to ignore fields.
18891
18892 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
18893
18894 * subr.el (with-wrapper-hook): Fix edebug spec.
18895
18896 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
18897
18898 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
18899 (bug#4538).
18900
18901 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
18902
18903 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
18904 Fix nasty bug using wrong cached values.
18905
18906 2011-09-23 Alan Mackenzie <acm@muc.de>
18907
18908 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
18909
18910 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
18911
18912 * window.el (pop-to-buffer): Ensure right window is selected if we
18913 chose another frame.
18914
18915 2011-09-22 Eli Zaretskii <eliz@gnu.org>
18916
18917 * simple.el (what-cursor-position): Use get-char-property-change
18918 and next-single-char-property-change, to be able to show display
18919 properties that come from overlays as well as text properties.
18920
18921 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
18922
18923 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
18924
18925 * cmuscheme.el (run-scheme, switch-to-scheme):
18926 * cus-edit.el (customize-group, custom-buffer-create)
18927 (customize-browse):
18928 * info.el (info):
18929 * shell.el (shell):
18930 * mail/sendmail.el (mail):
18931 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
18932
18933 2011-09-22 Richard Stallman <rms@gnu.org>
18934
18935 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
18936 move back only to line beg, don't move back over blank lines.
18937
18938 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
18939
18940 * files.el (copy-directory): Set directory attributes only in case
18941 they could be retrieved from the source directory. (Bug#9565)
18942
18943 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
18944
18945 * progmodes/hideshow.el (hs-looking-at-block-start-p)
18946 (hs-find-block-beginning, hs-hide-level-recursive):
18947 Ignore strings as well as comments. (Bug#9502)
18948
18949 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
18950
18951 * progmodes/sql.el (sql-comint-postgres):
18952 Convert port number to a string. (Bug#9566)
18953
18954 2011-09-22 Martin Rudalics <rudalics@gmx.at>
18955
18956 * window.el (quit-window): Undedicate window when switching to
18957 previous buffer. Reported by Thierry Volpiatto
18958 <thierry.volpiatto@gmail.com>.
18959 (special-display-popup-frame): When popping up a new frame reset
18960 its previous buffers to nil. Simplify code.
18961
18962 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
18963
18964 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
18965 and process filter, as done also in `shell-command'.
18966
18967 2011-09-21 Martin Rudalics <rudalics@gmx.at>
18968
18969 * window.el (set-window-buffer-start-and-point):
18970 Call set-window-start with NOFORCE argument t.
18971 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
18972 (quit-window): Reword doc-string. Handle new format of
18973 quit-restore parameter. Don't delete window if it has a
18974 previous buffer we can show instead of the present one.
18975 (display-buffer-record-window): Rewrite using a new format for
18976 the quit-restore window parameter
18977 (special-display-popup-frame, display-buffer-same-window)
18978 (display-buffer-reuse-window, display-buffer-pop-up-frame)
18979 (display-buffer-pop-up-window, display-buffer-use-some-window):
18980 Adapt symbol passed to display-buffer-record-window.
18981 * help.el (help-window-setup): Handle new format of quit-restore
18982 parameter.
18983
18984 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
18985
18986 * faces.el (face-list): Fix docstring (bug#9564).
18987
18988 * window.el (display-buffer--action-function-custom-type):
18989 Don't include internal functions in the Custom interface.
18990
18991 2011-09-20 Juri Linkov <juri@jurta.org>
18992
18993 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
18994 (Info-forward-node, Info-backward-node, Info-next-preorder)
18995 (Info-last-preorder): Use it. (Bug#9528)
18996
18997 2011-09-20 Juri Linkov <juri@jurta.org>
18998
18999 * info.el (Info-last-preorder): Visit last menu item only when
19000 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
19001
19002 2011-09-20 Julien Danjou <julien@danjou.info>
19003
19004 * password-cache.el (password-cache-remove): Remove entries even if the
19005 value is nil, so that password with a nil value (negative caching) is
19006 possible to invalidate.
19007
19008 2011-09-20 Lawrence Mitchell <wence@gmx.li>
19009
19010 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
19011 all whitespace around breakpoint. (Bug#9553)
19012 (f90-find-breakpoint): Only break at whitespace inside a comment.
19013
19014 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
19015
19016 * minibuffer.el (completion-file-name-table): Keep track of errors.
19017 (completion-table-with-predicate): Handle the case where pred1 is nil.
19018 * pcomplete.el (pcomplete-completions-at-point): Simplify.
19019
19020 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
19021
19022 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
19023 (debugger-return-value): Signal an error if the debugging context does
19024 not await any return value.
19025
19026 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
19027 * image-mode.el (image-toggle-display-text)
19028 (image-toggle-display-image): Stay away from evil `intangible'.
19029
19030 2011-09-19 Leo Liu <sdl.web@gmail.com>
19031
19032 * replace.el (occur-revert-arguments): Make it permanent-local.
19033 (occur-mode): Don't call font-lock-defontify.
19034
19035 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
19036
19037 * net/ldap.el (ldap-search-internal): Don't push empty search
19038 result (Bug#9508).
19039
19040 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
19041
19042 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
19043
19044 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
19045
19046 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
19047 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
19048
19049 2011-09-18 Juri Linkov <juri@jurta.org>
19050
19051 * buff-menu.el (Buffer-menu-mode-map):
19052 * dired.el (dired-mode-map):
19053 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
19054 (lisp-interaction-mode-map):
19055 * emacs-lisp/package.el (package-menu-mode-map):
19056 * epa.el (epa-key-list-mode-map):
19057 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
19058 (menu-bar-options-menu):
19059 * outline.el (outline-mode-menu-bar-map):
19060 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
19061 * vc/vc-dir.el (vc-dir-menu-map):
19062 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
19063 Capitalize non-function content words in menu item strings.
19064
19065 * dired.el (dired-mode-map): Add menu item for
19066 `image-dired-dired-toggle-marked-thumbs'.
19067
19068 2011-09-18 Juri Linkov <juri@jurta.org>
19069
19070 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
19071 to `isearch-case-fold-search' and restore its original value
19072 after the `isearch-mode' call.
19073
19074 2011-09-18 Juri Linkov <juri@jurta.org>
19075
19076 * progmodes/grep.el (grep-process-setup): Don't check code for 1
19077 because `zgrep' returns 1 for successful matches (bug#9226).
19078
19079 2011-09-18 Juri Linkov <juri@jurta.org>
19080
19081 * info.el (Info-extract-menu-node-name): Check the second match
19082 for empty string (second test-case of bug#9528).
19083 (Info-last-preorder): Let-bind `Info-history' to nil to not add
19084 intermediate nodes to the history (first test-case of bug#9528).
19085
19086 2011-09-18 Juri Linkov <juri@jurta.org>
19087
19088 * info.el (Info-mode-syntax-table): New variable.
19089 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
19090
19091 2011-09-18 Juri Linkov <juri@jurta.org>
19092
19093 * info.el (Info-file-supports-index-cookies):
19094 Increment line-beginning-position's arg from 3 to 4 because makeinfo
19095 outputs one more line for long file names (bug#4142).
19096
19097 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
19098
19099 * newcomment.el (comment-normalize-vars): If prompting for
19100 comment-start, set comment-start-skip too (Bug#8424).
19101
19102 2011-09-18 Johan Bockgård <bojohan@gnu.org>
19103
19104 * icomplete.el: Fix previous fix of Bug#5849.
19105 (icomplete-mode): Don't set completion-show-inline-help.
19106 (icomplete-minibuffer-setup): Set completion-show-inline-help
19107 locally during icompletion.
19108
19109 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
19110
19111 * woman.el (woman2-process-escapes): Don't delete unrecognized
19112 escapes (Bug#7843).
19113
19114 * files.el (inhibit-first-line-modes-regexps): Add image files.
19115 (hack-local-variables-prop-line): Return nil for malformed
19116 prop-lines (Bug#9044).
19117
19118 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
19119
19120 * net/tramp.el (top): Don't require 'shell.
19121 (tramp-methods): Fix docstring.
19122 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
19123 Return complete remote file name. Handle "smb" case.
19124 Use `tramp-tmpdir', if defined for the respective method.
19125 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
19126
19127 * net/tramp-compat.el (top): Require 'shell.
19128
19129 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
19130 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
19131 `tramp-current-host'.
19132 (tramp-get-remote-tmpdir): Remove.
19133
19134 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
19135 `tramp-tmpdir' entries.
19136 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
19137 (tramp-smb-handle-file-attributes): Ignore errors.
19138 (tramp-smb-wait-for-output): Check also for process end.
19139
19140 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
19141
19142 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
19143 when sending QUIT (bug#9312).
19144
19145 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
19146
19147 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
19148 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
19149 occur-mode-display-occurrence.
19150 (occur-edit-mode): Add usage message.
19151 (occur-cease-edit): New command.
19152 (occur-after-change-function): Use text properties to find the
19153 position of the prefix text.
19154 (occur-engine): Set stickiness of prefix text properties.
19155
19156 2011-09-17 Glenn Morris <rgm@gnu.org>
19157
19158 * progmodes/etags.el (complete-tag):
19159 Fix call to completion-in-region. (Bug#9526)
19160
19161 2011-09-17 Juri Linkov <juri@jurta.org>
19162
19163 * textmodes/ispell.el (ispell-word): Add to the error message
19164 the word, ispell program name and current dictionary (bug#9121).
19165 (ispell-tex-arg-end): Capitalize "error" in the error message.
19166
19167 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
19168
19169 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
19170 check. (Bug#4251)
19171
19172 2011-09-17 Juri Linkov <juri@jurta.org>
19173
19174 * window.el (window-safe-min-height, window-safe-min-width):
19175 Fix typos (followup to bug#9522).
19176
19177 2011-09-17 Sven Joachim <svenjoac@gmx.de>
19178
19179 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
19180
19181 2011-09-16 Eli Zaretskii <eliz@gnu.org>
19182
19183 * simple.el (line-move): If goal-column is set, move by logical
19184 lines, not by display lines. (Bug#971)
19185 (next-line, previous-line, goal-column, line-move-visual): Doc fix
19186 to reflect the above change.
19187
19188 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
19189
19190 * image.el (imagemagick-register-types): Use regexp-opt.
19191
19192 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
19193
19194 * window.el (display-buffer-base-action): Rename from
19195 display-buffer-default-action. Make default value empty.
19196 (display-buffer-overriding-action): Convert to defvar.
19197 (display-buffer-fallback-action): New var.
19198
19199 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
19200
19201 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
19202 declaration.
19203 (package--add-to-archive-contents): If there is a duplicate entry
19204 with an older version, remove it.
19205 (package-menu-mark-delete, package-menu-mark-install)
19206 (package-menu-mark-unmark): Make unused args optional.
19207 (package-menu-mark-obsolete-for-deletion):
19208 Use package-menu-get-status instead of a regexp search.
19209 (package-menu-get-status): Use tabulated-list-entry.
19210 (package-menu-mark-upgrades): New command.
19211 (package-menu-mode-map): Bind it to U. Add it to menu bar.
19212 (package-menu-execute): Do installation before deletion.
19213 (package-menu-refresh, package-menu-execute): Use derived-mode-p
19214 instead of checking major-mode.
19215 (package-menu--find-upgrades): New function.
19216
19217 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
19218
19219 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
19220 passwords in the log buffer.
19221 (smtpmail-process-filter): Update the process marker so that the
19222 "broken by peer" status message is inserted in the right place.
19223
19224 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
19225
19226 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
19227 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
19228 bibtex-completion-at-point-function.
19229 (bibtex-completion-at-point-function): Use them.
19230
19231 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
19232
19233 * mpc.el (mpc-constraints-tag-lookup): New function.
19234 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
19235 also to browser "album|playlist".
19236
19237 2011-09-14 Juri Linkov <juri@jurta.org>
19238
19239 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
19240 (isearch-edit-string): Use length of `isearch-string' when
19241 `isearch-fail-pos' returns nil.
19242 (isearch-message): Remove duplicate code and call
19243 `isearch-fail-pos' with arg `t'.
19244
19245 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
19246
19247 * replace.el (occur-mode-goto-occurrence): Don't force using other
19248 window (Bug#9499).
19249
19250 * dired-aux.el (dired-do-chmod): Don't provide initial input.
19251
19252 2011-09-14 Martin Rudalics <rudalics@gmx.at>
19253
19254 * window.el (display-buffer-window): Remove.
19255 (display-buffer-record-window): Use help-setup window parameter
19256 instead of variable display-buffer-window.
19257 (display-buffer-function, special-display-buffer-names)
19258 (special-display-function): Mention help-setup parameter instead
19259 of display-buffer-window in doc-string.
19260 * help.el (help-window-setup): New argument help-window.
19261 Use help-window-setup parameter instead of display-buffer-window.
19262 Reword some messages.
19263 (with-help-window): Pass window used for displaying the buffer
19264 to help-window-setup. Don't set display-buffer-window.
19265
19266 2011-09-13 Glenn Morris <rgm@gnu.org>
19267
19268 * emacs-lisp/debug.el (debugger-make-xrefs):
19269 Preserve point. (Bug#9462)
19270
19271 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
19272
19273 * window.el (window-deletable-p): Use next-frame.
19274
19275 2011-09-13 Martin Rudalics <rudalics@gmx.at>
19276
19277 * window.el (window-auto-delete): Remove.
19278 (window-deletable-p): Remove argument FORCE. Don't deal with
19279 dedication and previous buffers.
19280 (switch-to-prev-buffer): Don't delete window.
19281 (delete-windows-on): Delete a window's frame if and only if the
19282 window is dedicated.
19283 (replace-buffer-in-windows): Delete buffer's window or frame if
19284 and only if window is dedicated.
19285 (quit-window): Handle quit-restore as before last change.
19286 (bury-buffer): Delete window only if window-deletable-p returns t.
19287
19288 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
19289
19290 * window.el (window-deletable-p): Never delete the last frame on a
19291 given terminal.
19292
19293 2011-09-13 Glenn Morris <rgm@gnu.org>
19294
19295 * help.el (describe-key-briefly): Copy previous standard-output change.
19296
19297 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
19298
19299 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
19300
19301 2011-09-13 Glenn Morris <rgm@gnu.org>
19302
19303 * emacs-lisp/lisp-mode.el (lisp-indent-function):
19304 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
19305
19306 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
19307
19308 * dired-aux.el (dired-mark-read-string): Don't return default
19309 value on empty input (Bug#9361).
19310 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
19311 Omit initial minibuffer contents.
19312 (dired-do-chmod): Signal an error on empty input.
19313 (dired-mark-read-string): Don't return default on empty input.
19314
19315 * files.el (file-modes-symbolic-to-number): Doc fix.
19316
19317 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
19318
19319 * international/mule-cmds.el (ucs-completions): Remove.
19320 (read-char-by-name): Use complete-with-action instead; add metadata.
19321
19322 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
19323
19324 * window.el (display-buffer--action-function-custom-type)
19325 (display-buffer--action-custom-type): New vars.
19326 (display-buffer-alist, display-buffer-default-action)
19327 (display-buffer-overriding-action): Add defcustom types.
19328
19329 * frame.el (delete-other-frames): Doc fix (Bug#276).
19330
19331 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
19332
19333 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
19334
19335 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
19336
19337 Change modes that used same-window-* vars to use switch-to-buffer.
19338
19339 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
19340 Use switch-to-buffer.
19341
19342 * cus-edit.el (customize-group, custom-buffer-create)
19343 (customize-browse, custom-buffer-create-other-window):
19344 Use switch-to-buffer or switch-to-buffer-other-window.
19345
19346 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
19347 (Info-prev, Info-up, Info-speedbar-goto-node)
19348 (info-display-manual): Use switch-to-buffer.
19349 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
19350
19351 * mail/sendmail.el (mail): Use switch-to-buffer.
19352 (mail-recover): Use switch-to-buffer-other-window.
19353
19354 * cmuscheme.el (run-scheme, switch-to-scheme):
19355 * ielm.el (ielm):
19356 * shell.el (shell):
19357 * net/rlogin.el (rlogin):
19358 * net/telnet.el (telnet, rsh):
19359 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
19360
19361 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
19362
19363 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
19364
19365 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
19366
19367 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
19368 so don't mention it (bug#9301).
19369 (dired-sort-toggle-or-edit): Clarify string further.
19370
19371 * faces.el (face-spec-set-match-display): Make `(type graphic)'
19372 match `x', `w32' and `ns', like the manual says (bug#9029).
19373
19374 * subr.el (eval-after-load): Doc string clarification (bug#9125).
19375 (process-kill-buffer-query-function): Mention the buffer name in
19376 the query.
19377
19378 * image-mode.el (image-next-line): The line parameter is mandatory
19379 (bug#9258).
19380
19381 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
19382 which can be useful (bug#9301).
19383
19384 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
19385
19386 * subr.el (match-string): Mention that the current buffer should
19387 be the same as the search was done in (bug#9282).
19388
19389 * facemenu.el: Disable the remove-* commands if the mark isn't
19390 active (bug#9162).
19391
19392 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
19393
19394 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
19395 of display-buffer.
19396 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
19397
19398 * replace.el (occur-mode-goto-occurrence)
19399 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
19400 and display-buffer.
19401
19402 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
19403 display-buffer.
19404
19405 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
19406 special-display and same-window variables.
19407 (mail-other-window): Use switch-to-buffer-other-window.
19408 (mail-other-frame): USe switch-to-buffer-other-frame.
19409
19410 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
19411 Use display-buffer-other-frame.
19412 (gdb-display-gdb-buffer): Use pop-to-buffer.
19413
19414 * progmodes/gud.el (gud-goto-info): Use info-other-window.
19415
19416 * progmodes/python.el: Don't set same-window-buffer-names.
19417
19418 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
19419
19420 * window.el (display-buffer-alist): Add *Python*.
19421
19422 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
19423
19424 * window.el (display-buffer-alist): Add entry for buffers
19425 previously handled same-window-*.
19426 (display-buffer-alist, display-buffer-default-action)
19427 (display-buffer-overriding-action): Mark as risky.
19428 (display-buffer-alist): Document action function changes.
19429 (display-buffer--same-window-action)
19430 (display-buffer--other-frame-action): New variables.
19431 (switch-to-buffer, display-buffer-other-frame): Use them.
19432 (display-buffer): Rename reuse-frame entry to reusable-frames.
19433 (display-buffer-reuse-selected-window): Function deleted.
19434 (display-buffer-reuse-window): Handle reusable-frames alist entry.
19435 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
19436 (display-buffer-special): New function.
19437 (display-buffer--maybe-pop-up-frame-or-window): Rename from
19438 display-buffer-reuse-or-pop-window. Split off special-display
19439 part into display-buffer-special.
19440 (display-buffer-use-some-window): Don't perform any special
19441 pop-up-frames handling.
19442 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
19443 (display-buffer--maybe-same-window): Rename from
19444 display-buffer-maybe-same-window.
19445
19446 * info.el: Don't set same-window-regexps.
19447 (info-setup): New function.
19448 (info-other-window, info): Call it.
19449
19450 * cus-edit.el: Don't set same-window-regexps.
19451 (customize-group): New argument.
19452 (customize-group-other-window): Use it.
19453 (customize-face, customize-face-other-window): Likewise.
19454 (custom-buffer-create-other-window): Use pop-to-buffer directly.
19455
19456 * net/rlogin.el:
19457 * net/telnet.el:
19458 * progmodes/gud.el: Don't set same-window-regexps.
19459
19460 * cmuscheme.el:
19461 * ielm.el:
19462 * shell.el:
19463 * mail/sendmail.el:
19464 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
19465
19466 2011-09-10 Juri Linkov <juri@jurta.org>
19467
19468 * isearch.el (isearch-edit-string): Remove obsolete mention of
19469 `C-w' (`isearch-yank-word-or-char') from docstring.
19470 (isearch-query-replace): Fix typo in docstring (bug#9466).
19471
19472 2011-09-10 Juri Linkov <juri@jurta.org>
19473
19474 * paren.el (show-paren-function): Don't show escaped parens.
19475 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
19476
19477 2011-09-10 Eli Zaretskii <eliz@gnu.org>
19478
19479 * mail/sendmail.el (mml-to-mime, mml-attach-file)
19480 (mm-default-file-encoding): Remove autoload forms, they are
19481 replaced with autoload cookies in mml.el and mm-encode.el.
19482 (mail-add-attachment): New command.
19483 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
19484 (mail-mode): Mention mail-insert-file and mail-add-attachment in
19485 the doc string.
19486 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
19487
19488 2011-09-10 Reuben Thomas <rrt@sc3d.org>
19489
19490 * simple.el (count-words-region): Use buffer if there's no region
19491 (bug#9429).
19492
19493 2011-09-09 Juri Linkov <juri@jurta.org>
19494
19495 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
19496 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
19497 (wdired-isearch-filter-read-only): New function. (Bug#6362)
19498
19499 2011-09-09 Alan Mackenzie <acm@muc.de>
19500
19501 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
19502 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
19503
19504 2011-09-09 Eli Zaretskii <eliz@gnu.org>
19505
19506 Fix for Savannah bug#9392.
19507 * simple.el (mail-encode-mml): New defvar.
19508
19509 * mail/rmail.el (mail-encode-mml): Add a defvar.
19510 (rmail-enable-mime-composing): Default to t.
19511 (rmail-forward): Use MIME method of forwarding only if both
19512 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
19513 Set mail-encode-mml non-nil if the MIME method was used.
19514
19515 * mail/sendmail.el (mml-to-mime): Add autoload form.
19516 (mail-encode-mml): Add a defvar.
19517 (mail-mode): Make mail-encode-mml buffer-local and initialize it
19518 to nil.
19519 (mail-send): If mail-encode-mml is non-nil, run the outgoing
19520 message through mml-to-mime, and reset mail-encode-mml to nil.
19521
19522 2011-09-09 Glenn Morris <rgm@gnu.org>
19523
19524 * woman.el (woman-if-body): When processing an .el block,
19525 do not delete the next .el block as well. (Bug#9447)
19526 (woman-special-characters): Add oq, cq, and hy characters.
19527
19528 2011-09-08 Martin Rudalics <rudalics@gmx.at>
19529
19530 * window.el (window-deletable-p): Make sure window is live before
19531 invoking window-prev-buffers.
19532
19533 2011-09-08 Leo Liu <sdl.web@gmail.com>
19534
19535 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
19536
19537 2011-09-08 Juri Linkov <juri@jurta.org>
19538
19539 * progmodes/compile.el (compilation-environment): Make it
19540 a defcustom (bug#8340).
19541
19542 2011-09-08 Martin Rudalics <rudalics@gmx.at>
19543
19544 * window.el (frame-auto-delete): Rename to window-auto-delete.
19545 Make it control auto-deletion of windows and/or frames.
19546 (window-deletable-p): New argument FORCE. Rewrite conditions
19547 for deleting window/frame. (Bug#9419)
19548 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
19549 Rewrite handling of case when window/frame can be deleted.
19550 (delete-windows-on): Call window-deletable-p with new FORCE
19551 argument t. (Bug#9456)
19552
19553 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
19554
19555 * help-mode.el (help-mode): Restore autoload.
19556
19557 2011-09-07 Juri Linkov <juri@jurta.org>
19558
19559 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
19560 `compilation-environment'. Set buffer-local
19561 `compilation-environment' to `thisenv' later after (funcall mode).
19562 (Bug#8340)
19563
19564 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
19565 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
19566 instead of replacing its value. (Bug#8340)
19567
19568 2011-09-07 Juri Linkov <juri@jurta.org>
19569
19570 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
19571 based on text properties put by `grep-filter' instead of matching
19572 escape sequences.
19573 (grep-mode): Set buffer-local `compilation-error-screen-columns'
19574 to the value of `grep-error-screen-columns' (bug#9438).
19575
19576 2011-09-07 Juri Linkov <juri@jurta.org>
19577
19578 * simple.el (next-error-highlight, next-error-highlight-no-select):
19579 Doc fix (bug#9432).
19580
19581 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
19582
19583 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
19584 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
19585
19586 2011-09-07 Leo Liu <sdl.web@gmail.com>
19587
19588 * net/rcirc.el (rcirc-mode): Conditionally initialize
19589 rcirc-input-ring.
19590
19591 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
19592
19593 * emacs-lisp/find-func.el (find-function-C-source): Only set
19594 find-function-C-source-directory after checking that we found a source
19595 file there (bug#9440).
19596
19597 2011-09-06 Alan Mackenzie <acm@muc.de>
19598
19599 * isearch.el (isearch-other-meta-char): Wherever a key list is
19600 unread, "unread" the prefix arg, too. This fixes bug #8901.
19601
19602 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
19603
19604 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
19605
19606 2011-09-05 Juri Linkov <juri@jurta.org>
19607
19608 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
19609
19610 2011-09-05 Juri Linkov <juri@jurta.org>
19611
19612 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
19613 keeping point where processing of grep matches begins, and
19614 continue to delete remaining escape sequences from the same point.
19615 (grep-filter): Make leading zero optional in "0?1;31m" because
19616 git-grep emits "\033[1;31m" escape sequences unlike expected
19617 "\033[01;31m" as GNU Grep does (bug#9408).
19618 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
19619
19620 2011-09-05 Juri Linkov <juri@jurta.org>
19621
19622 * subr.el (y-or-n-p): Capitalize "yes".
19623
19624 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
19625
19626 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
19627 `tramp-cache-unload-hook' where appropriate.
19628 (tramp-methods): Rename `tramp-remote-sh' to
19629 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
19630 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
19631
19632 * net/tramp-sh.el (top): Don't require 'shell.
19633 (tramp-methods): Add `tramp-remote-shell' and
19634 `tramp-remote-shell-args' entries.
19635 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
19636 (tramp-sh-handle-shell-command): Remove.
19637 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
19638 Use `tramp-remote-shell'.
19639
19640 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
19641
19642 * mail/sendmail.el (sendmail-query-once-function): Delete.
19643 (sendmail-query-once): Save directly to send-mail-function.
19644 Update message-send-mail-function too.
19645
19646 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
19647
19648 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
19649
19650 * progmodes/python.el (python-mode-map): Use correct function to
19651 start python interpreter from menu-bar (as reported by Geert
19652 Kloosterman).
19653 (inferior-python-mode-map): Fix typo.
19654 (python-shell-map): Remove.
19655
19656 2011-09-03 Deniz Dogan <deniz@dogan.se>
19657
19658 * net/rcirc.el (rcirc-print): Simplify code for
19659 rcirc-scroll-show-maximum-output. There is no need to walk
19660 through all windows to find the right one.
19661
19662 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
19663
19664 * help.el (help-return-method): Doc fix.
19665
19666 2011-09-03 Martin Rudalics <rudalics@gmx.at>
19667
19668 * window.el (window-deletable-p): Don't return a non-nil value
19669 when there's a buffer that was shown in the window before.
19670 (Bug#9419)
19671 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
19672 Set window's previous buffers to nil.
19673
19674 2011-09-03 Eli Zaretskii <eliz@gnu.org>
19675
19676 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
19677 newline before and after the tag line, so it doesn't interfere
19678 with determining the paragraph direction of bidirectional text.
19679
19680 2011-09-03 Leo Liu <sdl.web@gmail.com>
19681
19682 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
19683
19684 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
19685
19686 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
19687 (pop-to-buffer): Change interactive spec. Pass second argument
19688 directly to display-buffer.
19689 (display-buffer): Fix interactive spec. Use functionp to
19690 distinguish between a function and a list of functions.
19691
19692 * abbrev.el (edit-abbrevs):
19693 * arc-mode.el (archive-extract):
19694 * autoinsert.el (auto-insert):
19695 * bookmark.el (bookmark-bmenu-list):
19696 * files.el (find-file):
19697 * view.el (view-buffer):
19698 * progmodes/compile.el (compilation-goto-locus):
19699 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
19700
19701 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
19702
19703 * window.el (display-buffer-alist): Doc fix.
19704 (display-buffer): Add docstring. Don't treat
19705 display-buffer-default specially.
19706 (display-buffer-reuse-selected-window)
19707 (display-buffer-same-window, display-buffer-maybe-same-window)
19708 (display-buffer-reuse-window, display-buffer-pop-up-frame)
19709 (display-buffer-pop-up-window)
19710 (display-buffer-reuse-or-pop-window)
19711 (display-buffer-use-some-window): New functions.
19712 (display-buffer-default-action): Use them.
19713 (display-buffer-default): Delete.
19714 (pop-to-buffer-1): Fix choice of actions.
19715
19716 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
19717
19718 * minibuffer.el (completion--insert-strings): Don't get confused by
19719 completion entries that end with an LF char.
19720
19721 2011-09-01 Eli Zaretskii <eliz@gnu.org>
19722
19723 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
19724
19725 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
19726
19727 * window.el (display-buffer): Restore interactive spec.
19728 (display-buffer-same-window, display-buffer-other-window):
19729 New functions.
19730 (pop-to-buffer-1): New function. Use the above.
19731 (pop-to-buffer, pop-to-buffer-same-window): Use it.
19732 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
19733
19734 * view.el (view-buffer-other-window, view-buffer-other-frame):
19735 Just use pop-to-buffer.
19736
19737 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
19738
19739 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
19740
19741 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
19742
19743 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
19744
19745 2011-08-31 Richard Stallman <rms@gnu.org>
19746
19747 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
19748 of the separation of rmail-view-buffer from rmail-buffer.
19749 If you say no to "replace original", the decrypt is in the
19750 view buffer. If you say yes, the decrypt goes into the
19751 rmail buffer also.
19752
19753 2011-08-31 Martin Rudalics <rudalics@gmx.at>
19754
19755 * window.el (display-buffer-window): Rewrite doc-string.
19756 (display-buffer-record-window): New function.
19757 (display-buffer-macro-specifiers)
19758 (display-buffer-even-window-sizes, display-buffer-set-height)
19759 (display-buffer-set-width, display-buffer-in-window)
19760 (display-buffer-reuse-window, display-buffer-split-specifiers)
19761 (display-buffer-side-specifiers, display-buffer-split-window-1)
19762 (display-buffer-split-window, display-buffer-split-atom-window)
19763 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
19764 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
19765 (display-buffer-other-window-means-other-frame)
19766 (display-buffer-normalize-special)
19767 (display-buffer-normalize-default)
19768 (display-buffer-normalize-argument)
19769 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
19770 (display-buffer-normalize-specifiers, display-buffer-frame)
19771 (display-buffer-same-window, display-buffer-same-frame)
19772 (display-buffer-other-window)
19773 (display-buffer-same-frame-other-window)
19774 (display-buffer-other-frame, pop-to-buffer-same-window)
19775 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
19776 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
19777 (switch-to-buffer-same-frame)
19778 (switch-to-buffer-other-window-same-frame)
19779 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
19780 (display-buffer-alist-set-1, display-buffer-alist-set-2)
19781 (display-buffer-alist-set): Remove.
19782 (display-buffer-function, special-display-buffer-names)
19783 (special-display-regexps, special-display-function):
19784 In doc-string refer to display-buffer-window and quit-restore
19785 parameter.
19786 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
19787 (special-display-frame-alist, special-display-popup-frame)
19788 (same-window-buffer-names, same-window-regexps, same-window-p)
19789 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
19790 (split-window-preferred-function, split-height-threshold)
19791 (split-width-threshold, window-splittable-p)
19792 (split-window-sensibly, window--try-to-split-window)
19793 (window--frame-usable-p, even-window-heights)
19794 (window--even-window-heights, window--display-buffer-1)
19795 (window--display-buffer-2, display-buffer-other-frame):
19796 Restore old Emacs 23 code, order and doc-strings where applicable.
19797 (display-buffer-default, display-buffer-assq-regexp): New functions.
19798 (display-buffer-alist): Rewrite doc-string.
19799 (display-buffer-default-action)
19800 (display-buffer-overriding-action): New variables.
19801 (display-buffer, switch-to-buffer): Rewrite.
19802 (pop-to-buffer): Restore Emacs 23 behavior but use
19803 window-normalize-buffer-to-display.
19804 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
19805 Restore Emacs 23 behavior but use
19806 window-normalize-buffer-to-switch-to.
19807 (pop-to-buffer-same-window): Rewrite.
19808 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
19809 Rewrite using Emacs 23 options.
19810
19811 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
19812
19813 * net/tramp.el (tramp-root-regexp): Remove.
19814 (tramp-completion-file-name-regexp-unified)
19815 (tramp-completion-file-name-regexp-separate)
19816 (tramp-completion-file-name-regexp-url): Don't use leading volume
19817 letter on w32 systems. (Bug#5303, Bug#9311)
19818 (tramp-drop-volume-letter): Simplify definition.
19819 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
19820
19821 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
19822
19823 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
19824 (bug#9356).
19825
19826 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
19827
19828 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
19829
19830 2011-08-29 Juri Linkov <juri@jurta.org>
19831
19832 * isearch.el (isearch-done): Don't display message "Mark saved"
19833 when arg `edit' is non-nil to prevent its flicker in the echo area.
19834
19835 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
19836
19837 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
19838 obsolete packages for deletion.
19839
19840 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
19841
19842 * help-mode.el (help-mode-map): Add special-mode-map to parent.
19843 (help-mode): Derive help-mode from special-mode. Don't invoke
19844 view-mode from help-mode.
19845 (help-xref-override-view-map): Remove.
19846 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
19847 view-mode is not used anymore.
19848
19849 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
19850
19851 * server.el (server-port): Doc fix.
19852
19853 * cus-theme.el (custom-theme-choose-mode): Inherit from
19854 special-mode (Bug#9124).
19855 (custom-theme-choose-mode-map): Add special-mode to parent.
19856
19857 2011-08-28 Alan Mackenzie <acm@muc.de>
19858
19859 * progmodes/cc-fonts.el
19860 (c-make-font-lock-BO-decl-search-function): New function.
19861 (c-basic-matchers-after - "Fontify the clauses after various
19862 keywords"): Extract the three keyword lists for the 3 erroneous
19863 constructs from the list of four, and use the new function above
19864 in place of an old one.
19865
19866 2011-08-28 Deniz Dogan <deniz@dogan.se>
19867
19868 * net/rcirc.el (rcirc-insert-prev-input)
19869 (rcirc-insert-next-input): Remove unused argument.
19870
19871 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
19872
19873 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
19874
19875 2011-08-27 Alan Mackenzie <acm@muc.de>
19876
19877 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
19878 handle function pointer parameters properly.
19879
19880 2011-08-27 Martin Rudalics <rudalics@gmx.at>
19881
19882 * window.el (display-buffer-reuse-window): Fix case where
19883 selected window was reused with non-nil OTHER-WINDOW argument.
19884 (Bug#9381)
19885
19886 2011-08-27 Deniz Dogan <deniz@dogan.se>
19887
19888 * net/rcirc.el (rcirc-check-auth-status): Adding support for
19889 oftc's NickServ messages.
19890
19891 2011-08-27 Glenn Morris <rgm@gnu.org>
19892
19893 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
19894
19895 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
19896
19897 * emacs-lisp/package.el (package-install): Call package-initialize
19898 if called interactively.
19899
19900 2011-08-26 Leo Liu <sdl.web@gmail.com>
19901
19902 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
19903
19904 2011-08-25 Juri Linkov <juri@jurta.org>
19905
19906 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
19907 `search-whitespace-regexp' (bug#9364).
19908
19909 2011-08-25 Juri Linkov <juri@jurta.org>
19910
19911 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
19912 `regexp-search-ring' to their global values to protect from
19913 updating by `read-from-minibuffer' (bug#9185).
19914
19915 2011-08-25 Juri Linkov <juri@jurta.org>
19916
19917 * textmodes/ispell.el (ispell-command-loop): Add newline
19918 at the end of the "Use option `i'..." line.
19919
19920 2011-08-25 Juri Linkov <juri@jurta.org>
19921
19922 * battery.el (display-battery-mode): If `battery-status-function'
19923 or `battery-mode-line-format' is nil, display the message and set
19924 `display-battery-mode' to nil (bug#9363).
19925
19926 2011-08-25 Eli Zaretskii <eliz@gnu.org>
19927
19928 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
19929 bidi-string-mark-left-to-right; they are unnecessary now.
19930
19931 2011-08-25 Deniz Dogan <deniz@dogan.se>
19932
19933 * net/quickurl.el: Documentation typo fixes.
19934
19935 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
19936
19937 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
19938
19939 2011-08-25 Glenn Morris <rgm@gnu.org>
19940
19941 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
19942
19943 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
19944 (smtpmail-via-smtp): Handle nil response from smtp.
19945
19946 2011-08-24 Juri Linkov <juri@jurta.org>
19947
19948 * proced.el (proced-marked): Inherit from `error' instead of
19949 `font-lock-warning-face'.
19950
19951 * ibuffer.el (ibuffer-marked-face): Change default face from
19952 `font-lock-warning-face' to `warning'.
19953 (ibuffer-deletion-face): Change default face from
19954 `font-lock-type-face' to `error'.
19955
19956 * battery.el (battery-update): Use the face `error' instead of
19957 `font-lock-warning-face' (bug#6117).
19958
19959 2011-08-24 Juri Linkov <juri@jurta.org>
19960
19961 * faces.el (success): Change face color from "Green3" to
19962 "ForestGreen" on light background (bug#9353).
19963
19964 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
19965
19966 * window.el (quit-window): Rename from quit-restore-window.
19967 Use same arglist as old quit-window.
19968 (frame-auto-delete): Doc fix.
19969
19970 * view.el (view-mode-exit): Use quit-window.
19971
19972 2011-08-24 Juri Linkov <juri@jurta.org>
19973
19974 * isearch.el (isearch-ring-adjust1): Start visiting previous
19975 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
19976 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
19977 for empty search string (when the last search string is reused
19978 automatically) to adjust the isearch ring to the last element and
19979 prepare the correct index for further M-p commands (bug#9185).
19980
19981 2011-08-24 Kenichi Handa <handa@m17n.org>
19982
19983 * international/ucs-normalize.el: If decomposition property of
19984 CHAR is the default one (i.e. a list of CHAR itself), treat it as
19985 nil.
19986 (nfd, nfkd): Likewise.
19987
19988 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
19989
19990 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
19991 from process filters aren't reliably transmitted to the surrounding
19992 accept-process-output.
19993 (mpc-proc-check): New function.
19994 (mpc-proc-sync): Use it (bug#8293)
19995
19996 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
19997
19998 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
19999 Add compatibility functions (bug#9313).
20000
20001 2011-08-23 Eli Zaretskii <eliz@gnu.org>
20002
20003 * cus-start.el (all): Add entry for bidi-paragraph-direction.
20004
20005 * international/uni-bidi.el: Regenerate.
20006
20007 2011-08-23 Kenichi Handa <handa@m17n.org>
20008
20009 * international/charprop.el:
20010 * international/uni-bidi.el:
20011 * international/uni-category.el:
20012 * international/uni-combining.el:
20013 * international/uni-comment.el:
20014 * international/uni-decimal.el:
20015 * international/uni-decomposition.el:
20016 * international/uni-digit.el:
20017 * international/uni-lowercase.el:
20018 * international/uni-mirrored.el:
20019 * international/uni-name.el:
20020 * international/uni-numeric.el:
20021 * international/uni-old-name.el:
20022 * international/uni-titlecase.el:
20023 * international/uni-uppercase.el: Regenerate.
20024
20025 2011-08-23 Martin Rudalics <rudalics@gmx.at>
20026
20027 * help.el (help-window-setup): Fix message displayed when other
20028 window is reused. (Bug#9341)
20029
20030 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
20031
20032 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
20033 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
20034
20035 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
20036 Mark obsolete.
20037 * shell.el (shell-parse-pcomplete-arguments): New function.
20038 (shell-completion-vars): Use it instead (bug#9160).
20039
20040 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
20041
20042 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
20043 strings and comments (bug#9333).
20044
20045 * emacs-lisp/debug.el (debug-arglist): New function.
20046 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
20047 (debug-on-entry-1): Handle interpreted closures (bug#9120).
20048
20049 2011-08-22 Juri Linkov <juri@jurta.org>
20050
20051 * progmodes/compile.el (compilation-mode-font-lock-keywords):
20052 Revert regexp that highlights output switches to its old
20053 pre-2010-10-28 value and remove one `?' from it (bug#9319).
20054
20055 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
20056 to check for empty output (bug#9226).
20057
20058 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
20059
20060 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
20061 symbol-constituent as the default, as that stops font-lock from
20062 working properly (Bug#8843).
20063
20064 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
20065
20066 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
20067 `coding-system-for-*' around the process open call to avoid
20068 auth-source side effects.
20069 (smtpmail-try-auth-methods): Expand the secret password.
20070 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
20071 probe hangs.
20072
20073 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
20074
20075 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
20076
20077 * emacs-lisp/find-func.el (find-function-noselect): New arg
20078 lisp-only.
20079
20080 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
20081 signal an error for built-in functions (Bug#6664).
20082
20083 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
20084
20085 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
20086 (smtpmail-try-auth-methods): Use it.
20087
20088 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
20089
20090 * font-lock.el (font-lock-fontify-region)
20091 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
20092 (font-lock-default-unfontify-buffer)
20093 (font-lock-default-fontify-region)
20094 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
20095
20096 * progmodes/compile.el (compilation-error-properties):
20097 Fix confusion between file struct and message struct (Bug#9319).
20098 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
20099 `ant' regexp.
20100
20101 * net/browse-url.el (browse-url-firefox): Don't call
20102 browse-url-firefox-sentinel unless using -remote (Bug#9328).
20103
20104 2011-08-20 Glenn Morris <rgm@gnu.org>
20105
20106 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
20107
20108 * tutorial.el (tutorial--default-keys): Update some default bindings.
20109
20110 * files.el (hack-local-variables): Fully ignore case for "mode:".
20111
20112 2011-08-20 Alan Mackenzie <acm@muc.de>
20113
20114 Resolve invalid use of a regexp in regexp-opt.
20115
20116 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
20117 detection for a java annotation.
20118
20119 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
20120 detection for a java annotation.
20121
20122 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
20123 handling for java.
20124 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
20125
20126 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
20127
20128 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
20129 (Bug#9274).
20130
20131 2011-08-20 Alan Mackenzie <acm@muc.de>
20132
20133 Fontify CPP expressions correctly when starting in the middle of
20134 such a construct. Mainly for when jit-lock etc. starts a chunk
20135 here.
20136
20137 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
20138 variable.
20139 (c-make-font-lock-search-form): New function, extracted from
20140 c-make-font-lock-search-function.
20141 (c-make-font-lock-search-function): Use the above function.
20142 (c-make-font-lock-context-search-function): New function.
20143 (c-cpp-matchers): Enhance the preprocessor expression case with
20144 the above function
20145 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
20146 which takes an expression.
20147
20148 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
20149
20150 2011-08-20 Martin Rudalics <rudalics@gmx.at>
20151
20152 * window.el (display-buffer-reuse-window)
20153 (display-buffer-pop-up-window): Don't reuse or split a side
20154 window.
20155
20156 2011-08-19 Glenn Morris <rgm@gnu.org>
20157
20158 * files.el (hack-local-variables-prop-line, hack-local-variables):
20159 Downcase "Mode:". (Bug#9331)
20160
20161 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
20162
20163 * international/characters.el: Add L and R categories.
20164
20165 * subr.el (bidi-string-mark-left-to-right): Rename from
20166 string-mark-left-to-right. Use category search.
20167
20168 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
20169
20170 2011-08-18 Juri Linkov <juri@jurta.org>
20171
20172 * faces.el (error, warning, success): New faces with definitions
20173 copied from old default values of `font-lock-warning-face',
20174 `compilation-warning', `compilation-info' (bug#6117).
20175
20176 * font-lock.el (font-lock-warning-face): Inherit from `error'.
20177
20178 * progmodes/compile.el (compilation-error): Inherit from `error'.
20179 (compilation-warning): Inherit from `warning'.
20180 (compilation-info): Inherit from `success'.
20181
20182 * dired.el (dired-marked): Inherit from `warning'.
20183 (dired-flagged): Inherit from `error'.
20184
20185 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
20186
20187 * mail/smtpmail.el (auth-source): Require to avoid problems with
20188 binding variables (bug#9298). Also clean up some unused
20189 autoloads.
20190
20191 * net/network-stream.el (network-stream-open-starttls):
20192 Support using starttls.el without using gnutls-cli.
20193
20194 2011-08-17 Juri Linkov <juri@jurta.org>
20195
20196 * progmodes/grep.el (rgrep): Handle the case when
20197 `grep-find-command' is a cons cell (bug#9278).
20198
20199 2011-08-17 Martin Rudalics <rudalics@gmx.at>
20200
20201 * window.el (display-buffer-pop-up-frame): Run frame creation
20202 function with BUFFER current (as special-display-popup-frame
20203 does). Reported by Drew Adams.
20204
20205 2011-08-17 Daiki Ueno <ueno@unixuser.org>
20206
20207 * epa-mail.el: Simplify GnuPG group expansion using
20208 epg-expand-group.
20209 (epa-mail-group-alist, epa-mail-group-modtime)
20210 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
20211 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
20212 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
20213 Remove.
20214
20215 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
20216
20217 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
20218
20219 2011-08-16 Alan Mackenzie <acm@muc.de>
20220
20221 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
20222 Correct, to avoid the inside of macros.
20223
20224 2011-08-16 Richard Stallman <rms@gnu.org>
20225
20226 * epa-mail.el: Handle GnuPG group definitions.
20227 (epa-mail-group-alist, epa-mail-group-modtime)
20228 (epa-mail-gnupg-conf-file): New variables.
20229 (epa-mail-parse-groups, epa-mail-sync-groups)
20230 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
20231 (epa-mail-expand-recipients): New functions.
20232 (epa-mail-encrypt): Call epa-mail-expand-recipients.
20233
20234 * mail/rmail.el (rmail-epa-decrypt): New command.
20235
20236 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
20237 Don't bind buffer-read-only, just inhibit-read-only.
20238 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
20239 (epa-decrypt-armor-in-region): Make error message clearer.
20240
20241 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
20242
20243 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
20244 and "a2b" to "ab" for `prefix'.
20245
20246 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
20247
20248 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
20249 filter groups.
20250 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
20251 Fourquet (Bug#8804).
20252
20253 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
20254
20255 * startup.el (argi): Declare as global variable (bug#9275).
20256
20257 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
20258
20259 * subr.el (string-mark-left-to-right): Search the entire string
20260 for RTL script, not just the terminating character. Doc fix.
20261
20262 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
20263
20264 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
20265 New function.
20266 (js--regexp-literal, js-syntax-propertize-function): Remove.
20267 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
20268 (js-mode-map): Don't rebind electric keys.
20269 (js-insert-and-indent): Remove.
20270 (js-mode): Setup electric-layout and electric-indent instead.
20271
20272 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
20273
20274 2011-08-12 Daiki Ueno <ueno@unixuser.org>
20275
20276 * epa.el (epa-progress-callback-function): Fix the logic of
20277 displaying progress.
20278 * epa-file.el (epa-file-insert-file-contents): Make progress
20279 display more user-friendly.
20280 (epa-file-write-region): Ditto.
20281
20282 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
20283
20284 * subr.el (string-mark-left-to-right): New function.
20285
20286 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
20287 Use string-mark-left-to-right.
20288 (list-buffers-noselect): Caller changed.
20289
20290 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
20291 Use string-mark-left-to-right.
20292 (tabulated-list-print): Recenter after moving point.
20293
20294 2011-08-10 Juri Linkov <juri@jurta.org>
20295
20296 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
20297 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
20298 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
20299
20300 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
20301
20302 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
20303 (Bug#7554).
20304
20305 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
20306
20307 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
20308 character. (Bug#6594)
20309
20310 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
20311
20312 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
20313 (image-dired--with-db-file): New macro.
20314 (image-dired-write-tags, image-dired-remove-tag)
20315 (image-dired-create-gallery-lists, image-dired-write-comments)
20316 (image-dired-get-comment, image-dired-mark-tagged-files)
20317 (image-dired-list-tags, image-dired-gallery-generate): Use it.
20318 (image-dired-gallery-generate): Use insert-file-contents.
20319
20320 * time.el (display-time-world-list, display-time-world-display):
20321 * time-stamp.el (time-stamp-string):
20322 * vc/add-log.el (add-change-log-entry): Use setenv instead of
20323 set-time-zone-rule (Bug#7337).
20324
20325 2011-08-08 Daiki Ueno <ueno@unixuser.org>
20326
20327 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
20328 (epg-error-to-string, epg-errors-to-string): New function.
20329 (epg-wait-for-completion): Reverse errors list.
20330 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
20331 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
20332 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
20333 (epg-sign-keys, epg-generate-key-from-file)
20334 (epg-generate-key-from-string): Format errors by using
20335 epg-errors-to-string (bug#9255).
20336 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
20337
20338 2011-08-07 Juri Linkov <juri@jurta.org>
20339
20340 * faces.el (list-faces-display): Remove extra angle bracket
20341 from `help-mode-map'.
20342
20343 * info.el (Info-history-toc-nodes): Doc fix.
20344
20345 * longlines.el (longlines-mode): Doc fix.
20346
20347 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
20348
20349 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
20350 of statements and in a few more cases (bug#9183).
20351
20352 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
20353 New functions.
20354 (cl-transform-lambda): Use them (bug#9239).
20355
20356 2011-08-05 Martin Rudalics <rudalics@gmx.at>
20357
20358 * window.el (display-buffer-same-window)
20359 (display-buffer-same-frame, display-buffer-other-window)
20360 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
20361 (pop-to-buffer-other-window)
20362 (pop-to-buffer-same-frame-other-window)
20363 (pop-to-buffer-other-frame): Make them defuns.
20364 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
20365
20366 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
20367
20368 * subr.el (make-composed-keymap): Move from C. Change calling
20369 convention, and improve docstring to bring attention to a subtle point.
20370 * minibuffer.el (completing-read-default): Adjust accordingly.
20371
20372 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
20373
20374 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
20375 (tramp-open-shell): Use `tramp-shell-quote-argument'.
20376
20377 * net/trampver.el: Update release number.
20378
20379 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
20380
20381 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
20382 "in" (bug#9190).
20383
20384 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
20385
20386 * mail/sendmail.el (sendmail-query-once): Restore the current
20387 buffer after querying (bug#9074).
20388
20389 * dired.el (dired-flagged): Use different faces for marked and
20390 flagged files (bug#6117).
20391
20392 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
20393 (bug#4433).
20394
20395 * ido.el (ido-mode): Switch off the message if called
20396 non-interactively.
20397
20398 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
20399 before 587, since it appears that that's more likely to work for
20400 more people.
20401
20402 * cus-edit.el (custom-file): When running under emacs -q, always
20403 refuse to save the customizations, even if the .emacs file doesn't
20404 exist.
20405
20406 * info.el: Remove the `Info-beginning-of-buffer' function
20407 (bug#8325).
20408
20409 * net/network-stream.el (network-stream-open-starttls):
20410 Use `starttls-available-p' to see whether starttls.el can be used.
20411
20412 2011-08-01 Martin Rudalics <rudalics@gmx.at>
20413
20414 * window.el (display-buffer-in-window): Don't set dedicated status
20415 of window here (Bug#9215).
20416 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
20417 (display-buffer-pop-up-side-window)
20418 (display-buffer-in-side-window): Set dedicated status of window here.
20419
20420 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
20421
20422 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
20423 before binding generated-autoload-file.
20424
20425 2011-08-01 Deniz Dogan <deniz@dogan.se>
20426
20427 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
20428
20429 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
20430
20431 Sync with Tramp 2.2.2.
20432
20433 * net/trampver.el: Update release number.
20434
20435 2011-07-30 Juri Linkov <juri@jurta.org>
20436
20437 * dired-aux.el (dired-touch-initial): Remove function.
20438 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
20439 current time, and `default' to the last modification time of the
20440 current marked file (bug#6887).
20441
20442 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
20443
20444 * simple.el (goto-line): Use string-to-number to provide a
20445 numeric argument to read-number (bug#9163).
20446
20447 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
20448
20449 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
20450 connection process, it could be nil.
20451
20452 2011-07-27 Leo Liu <sdl.web@gmail.com>
20453
20454 Simplify url handling in rcirc-mode.
20455
20456 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
20457 (rcirc-browse-url-at-mouse): Remove.
20458 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
20459
20460 2011-07-26 Alan Mackenzie <acm@muc.de>
20461
20462 Fontify bitfield declarations properly.
20463
20464 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
20465 (c-symbol-chars): Now exported as a lang variable.
20466 (c-not-primitive-type-keywords): New lang variable.
20467
20468 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
20469 QT keyword "more" to prevent "more slots: ...." being spuriously
20470 parsed as a bitfield declaration.
20471
20472 * progmodes/cc-engine.el (c-beginning-of-statement-1):
20473 Refactor and enhance to handle bitfield declarations.
20474 (c-punctuation-in): New function.
20475 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
20476 declarations properly.
20477
20478 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
20479
20480 * calendar/icalendar.el (icalendar--all-events): Take care of
20481 multiple vcalendars in a single file.
20482 (icalendar--convert-float-to-ical): Checkdoc fixes.
20483
20484 2011-07-25 Deniz Dogan <deniz@dogan.se>
20485
20486 * image.el (insert-image): Clarifying docstring.
20487
20488 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
20489
20490 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
20491 `tramp-send-command-and-check' if there is no error.
20492 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
20493
20494 2011-07-22 Alan Mackenzie <acm@muc.de>
20495
20496 Prevent cc-langs.elc being loaded at run time.
20497
20498 * progmodes/cc-mode.el: Remove two autoload forms which loaded
20499 cc-langs.
20500
20501 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
20502 "(require 'cc-langs)". Quote a form so it will evaluate at
20503 (cc-mode's) compilation time.
20504
20505 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
20506
20507 * net/tramp.el (tramp-file-name-handler): Avoid recursive
20508 loading. (Bug#9114)
20509
20510 2011-07-21 Martin Rudalics <rudalics@gmx.at>
20511
20512 * window.el (display-buffer-pop-up-window)
20513 (display-buffer-pop-up-side-window)
20514 (display-buffer-in-side-window): Call display-buffer-set-height
20515 and display-buffer-set-width after setting the new window's
20516 buffer so `fit-window-to-buffer' and friends work on the right buffer.
20517
20518 2011-07-20 Sam Steingold <sds@gnu.org>
20519
20520 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
20521 (etags-tags-included-tables): Call `convert-standard-filename' on
20522 the file names contained in TAGS so that windows Emacs can handle
20523 TAGS files created by cygwin ctags.
20524
20525 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
20526
20527 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
20528 which apparently didn't work.
20529
20530 2011-07-19 Roland Winkler <winkler@gnu.org>
20531
20532 * proced.el (proced-send-signal): For *Marked Processes* buffer
20533 put point at beginning of buffer.
20534
20535 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
20536
20537 * proced.el (proced-format): Make header lines align with the text
20538 (bug#1779).
20539
20540 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
20541
20542 * view.el (view-buffer): Allow running in `special' modes if we're
20543 visiting a file (bug#8615).
20544
20545 2011-07-19 Martin Rudalics <rudalics@gmx.at>
20546
20547 * window.el (display-buffer-alist-of-strings-p)
20548 (display-buffer-alist-set-1, display-buffer-alist-set-2):
20549 New functions.
20550 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
20551 more accurately.
20552
20553 2011-07-18 Alan Mackenzie <acm@muc.de>
20554
20555 Fontify declarators properly when, e.g., a jit-lock chunk begins
20556 inside a declaration.
20557
20558 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
20559
20560 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
20561 New function.
20562 (c-complex-decl-matchers): Insert reference to
20563 c-font-lock-enclosing-decls.
20564
20565 * progmodes/cc-engine.el (c-backward-single-comment):
20566 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
20567 to nil around calls to (forward-comment -1).
20568
20569 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
20570
20571 * image.el (put-image): Doc typo fix.
20572
20573 * progmodes/etags.el (tags-search): Doc typo fix.
20574
20575 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
20576 password if we get errors 550 to 554.
20577
20578 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
20579
20580 * net/gnutls.el (gnutls-log-level): Remove.
20581
20582 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
20583 indentation character (bug#6380).
20584
20585 * files.el (buffer-offer-save): Made permanently local (bug#6241).
20586
20587 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
20588 to clarify what the problem is (bug#4291).
20589
20590 * simple.el (current-kill): Clarify what
20591 `interprogram-paste-function' does (bug#7500).
20592 (auto-fill-mode): Document `auto-fill-function' in relation to
20593 `auto-fill-mode' (bug#2470).
20594
20595 2011-07-16 Lawrence Mitchell <wence@gmx.li>
20596
20597 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
20598 method if slot is read-only (bug#9035).
20599
20600 2011-07-16 Martin Rudalics <rudalics@gmx.at>
20601
20602 * frame.el (select-frame-set-input-focus): New argument NORECORD.
20603 * window.el (pop-to-buffer): Select window used even if it was
20604 selected before, see discussion of (Bug#8615), (Bug#6954).
20605 Pass argument NORECORD on to select-frame-set-input-focus.
20606
20607 2011-07-15 Glenn Morris <rgm@gnu.org>
20608
20609 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
20610 Respect help-form.
20611
20612 2011-07-09 Lawrence Mitchell <wence@gmx.li>
20613
20614 * net/gnutls.el (gnutls-min-prime-bits): New variable.
20615 (gnutls-negotiate): Use it.
20616
20617 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
20618
20619 * net/gnutls.el (gnutls-negotiate):
20620 Upcase `gnutls-algorithm-priority'.
20621
20622 2011-07-15 Glenn Morris <rgm@gnu.org>
20623
20624 * jka-compr.el (jka-compr-verbose): Move from here...
20625 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
20626 Add missing :version tag.
20627 * info.el: No need to require jka-compr when compiling.
20628
20629 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
20630
20631 * net/gnutls.el (gnutls-algorithm-priority): New variable.
20632 (gnutls-negotiate): Use it.
20633
20634 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
20635
20636 * info.el (Info-beginning-of-buffer): New command.
20637 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
20638 announcing `b' as the key (bug#8325).
20639 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
20640
20641 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
20642
20643 * international/mule-cmds.el
20644 (describe-specified-language-support): Make the error message
20645 clearer (bug#8905).
20646
20647 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
20648
20649 * isearch.el (isearch-barrier): Add a doc string, since it's
20650 mentioned in a function doc string (bug#8678).
20651
20652 2011-07-15 Martin Rudalics <rudalics@gmx.at>
20653
20654 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
20655 buffer argument (Bug#9083) and self-identifying label argument.
20656
20657 2011-07-15 Glenn Morris <rgm@gnu.org>
20658
20659 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
20660
20661 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
20662
20663 * man.el (Man-fontify-manpage): Fix message when formatting the
20664 man page (bug#7929).
20665
20666 2011-07-14 Eli Zaretskii <eliz@gnu.org>
20667
20668 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
20669 argument LRM; if non-nil, append an invisible LRM character to the
20670 buffer name.
20671 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
20672 last argument non-nil, when formatting buffer names.
20673 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
20674 paragraph direction.
20675
20676 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
20677
20678 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
20679 the man page name (bug#7929).
20680
20681 * image.el (put-image): Mention the `put-image' overlay property
20682 (bug#7834).
20683
20684 * scroll-bar.el (set-scroll-bar-mode): Mention that
20685 `scroll-bar-mode' lists the values (bug#7772).
20686
20687 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
20688 command (bug#7729).
20689
20690 * rect.el (apply-on-rectangle): Return the point after the last
20691 operation.
20692 (string-rectangle): Go to the point after the last operation
20693 (bug#7522).
20694
20695 * printing.el (pr-toggle-region): Clarify the documentation
20696 slightly (bug#7493).
20697
20698 * time.el (display-time-update):
20699 Allow `display-time-mail-function' to return nil (bug#7158).
20700 Fix suggested by Detlev Zundel.
20701
20702 * vc/diff.el (diff): Clarify the order the file names are read
20703 (bug#7111).
20704
20705 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
20706 the doc string (bug#7015).
20707
20708 * font-lock.el (font-lock-maximum-decoration): Mention what
20709 numeric levels mean (bug#6935).
20710
20711 * startup.el (initial-buffer-choice): Don't mention the `none'
20712 selection, which is against policy.
20713
20714 2011-07-14 Martin Rudalics <rudalics@gmx.at>
20715
20716 * window.el (display-buffer-normalize-special):
20717 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
20718
20719 2011-07-14 Eli Zaretskii <eliz@gnu.org>
20720
20721 * subr.el (version<, version<=, version=): Mention "-CVS" and
20722 "-12345" alpha version numbers.
20723
20724 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
20725
20726 * bindings.el: Add advertised binding for set-mark-command
20727 (Bug#5772).
20728
20729 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
20730
20731 * bindings.el (mode-line-other-buffer):
20732 * bookmark.el (bookmark-bmenu-2-window):
20733 * bs.el (bs-cycle-next, bs-cycle-previous):
20734 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
20735 switch-to-buffer.
20736
20737 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
20738 Delete.
20739
20740 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
20741
20742 * follow.el (follow-debug-message, follow-redisplay):
20743 * jka-cmpr-hook.el (with-auto-compression-mode):
20744 Fix typos in docstrings.
20745
20746 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20747
20748 * subr.el (with-silent-modifications): Clarify somewhat what the
20749 macro inhibits (bug#6525).
20750
20751 * simple.el (eval-expression): Note what it does if called
20752 interactively (bug#6495).
20753
20754 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
20755
20756 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
20757 Use pop-to-buffer buffer-or-name if it is nil.
20758
20759 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
20760 Remove switch-to-buffer.
20761
20762 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20763
20764 * files.el (make-directory): Clarify that an error will be raised
20765 if there's an error (bug#6397).
20766
20767 * startup.el (initial-buffer-choice): Add `none' as a choice
20768 (bug#6234).
20769
20770 * subr.el (add-hook): Clarify section about buffer-local hooks
20771 (bug#6218).
20772
20773 * dired.el (dired-flagged): Clarify doc string (bug#6117).
20774
20775 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
20776
20777 * tabify.el (untabify): Preserve the current column so that point
20778 doesn't move (bug#6032).
20779
20780 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20781
20782 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
20783 Rewrite to avoid awkward possessive "s" (bug#5986).
20784
20785 2011-07-13 Glenn Morris <rgm@gnu.org>
20786
20787 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
20788 (dired-insert-directory): Give a message the first time
20789 if ls is found not to support --dired.
20790
20791 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20792
20793 * simple.el (toggle-truncate-lines): Clarify what is toggled
20794 (bug#5580). Text by Drew Adams.
20795
20796 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
20797
20798 * simple.el (blink-matching-open): Make the error message from the
20799 last change less verbose.
20800
20801 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
20802
20803 * font-lock.el (font-lock-comment-face): Use the high contrast
20804 "yellow" color for font-lock-comment-face on low color terminals
20805 using a dark background color (bug#4221).
20806
20807 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20808
20809 * dired.el (dired-insert-set-properties): Make the doc string
20810 reflect what it does now (bug#5325).
20811
20812 * simple.el (blink-matching-open): Say that we were unable to find
20813 the match within the limit, if we're limited (bug#5122).
20814
20815 * international/mule-cmds.el (prefer-coding-system): Add an
20816 example (bug#4869).
20817
20818 * progmodes/etags.el (tags-search): Document `file-list-form'
20819 (bug#4731).
20820
20821 2011-07-13 Lawrence Mitchell <wence@gmx.li>
20822
20823 * net/browse-url.el (browse-url-default-browser)
20824 (browse-url-browser-function): Make the default browser choice a
20825 bit more logical (bug#4300). Also clean up the doc string.
20826
20827 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
20828
20829 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
20830 binary endings (bug#4440).
20831
20832 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20833
20834 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
20835 which can be pretty annoying (bug#8971).
20836
20837 * jka-compr.el (jka-compr-verbose): New variable, and use
20838 throughout (bug#8971).
20839
20840 * info.el (Info-find-file): Fall back on the installation
20841 directory if we can't find the info node anywhere else.
20842
20843 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
20844
20845 * vc/vc.el (vc-revert-file):
20846 Don't set file time-stamp in the past. (Bug#5181)
20847
20848 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
20849
20850 * files.el (after-find-file): Give a better error message when
20851 trying to find a symlink that points to a file that doesn't exist
20852 (bug#4398).
20853
20854 * progmodes/cc-vars.el: Remove (probably) misleading comment
20855 (bug#4396).
20856
20857 2011-07-12 Johan Bockgård <bojohan@gnu.org>
20858
20859 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
20860
20861 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
20862
20863 * mouse-sel.el: Hack restoring functionality, while keeping
20864 compatibility with 2010-07-03 changes to mouse selection.
20865 (mouse-sel-primary-overlay): New var.
20866 (mouse-sel-selection-alist): Use it.
20867 (mouse-sel-mode): Doc fix; remove points that are default features
20868 of mouse.el.
20869
20870 2011-07-12 Johan Bockgård <bojohan@gnu.org>
20871
20872 * progmodes/compile.el (compilation-error-regexp-alist-alist):
20873 Fix previous fix (bug#2490).
20874
20875 2011-07-12 Roland Winkler <winkler@gnu.org>
20876
20877 * textmodes/bibtex.el (bibtex-initialize):
20878 Use pop-to-buffer-same-window.
20879 (bibtex-search-entries): Fix interactive call.
20880
20881 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
20882
20883 * progmodes/compile.el (compilation-error-regexp-alist-alist):
20884 Fontise bytecomp Error lines more correctly (bug#2490).
20885 Fix suggested by Johan Bockgård.
20886
20887 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
20888
20889 * dired-x.el (dired-guess-default): Use `delete-dups'.
20890
20891 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
20892
20893 * dired.el (dired-mark-prompt):
20894 * dired-aux.el (dired-read-shell-command): Doc fix.
20895
20896 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
20897
20898 * mail/sendmail.el (sendmail-query-once):
20899 Use `customize-save-variable' unconditionally, now that it works under
20900 emacs -Q.
20901
20902 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
20903
20904 * cus-edit.el (custom-file): Take an optional no-error variable.
20905 (customize-save-variable): Set the variable, and give a warning if
20906 running under "emacs -q".
20907
20908 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
20909
20910 * loadhist.el (unload-feature-special-hooks):
20911 Add `auto-coding-functions', `fill-nobreak-predicate' and
20912 `find-directory-functions' (bug#5327).
20913
20914 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
20915
20916 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
20917
20918 * cus-edit.el (custom-guess-name-alist): -alist variables should
20919 use the `alist' type (bug#3120). Suggested by Drew Adams.
20920
20921 * printing.el: Add documentation to all the `pr-toggle-' commands.
20922
20923 2011-07-11 Leo Liu <sdl.web@gmail.com>
20924
20925 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
20926 backends where it makes sense (bug#2623).
20927
20928 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
20929
20930 * dired-x.el (dired-guess-default): Remove duplicate shell command
20931 entries (bug#2028).
20932 (dired-guess-default): Fix grammar in doc string (bug#2028).
20933 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
20934
20935 * subr.el (remove-duplicates): New conveniency function.
20936
20937 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
20938
20939 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
20940 (bug#1526).
20941
20942 2011-07-10 Martin Rudalics <rudalics@gmx.at>
20943
20944 * window.el (display-buffer-normalize-default): Don't invert
20945 meaning of even-window-heights. Reported by Eli Zaretskii
20946 <eliz@gnu.org>.
20947
20948 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
20949
20950 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
20951
20952 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
20953
20954 * window.el (display-buffer): Fix arguments to
20955 display-buffer-reuse-window in last change.
20956
20957 * faces.el (link): Use a less saturated blue on light backgrounds.
20958
20959 * startup.el (fancy-startup-text, fancy-about-text)
20960 (fancy-startup-tail): Use font-lock faces, for background safety.
20961
20962 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
20963
20964 * emulation/viper-cmd.el (viper-change-state-to-vi):
20965 Limit triggering of abbrev expansion (Bug#9038).
20966
20967 2011-07-09 Martin Rudalics <rudalics@gmx.at>
20968
20969 * window.el (display-buffer-default-specifiers): Remove.
20970 (display-buffer-macro-specifiers): Remove default specifiers.
20971 (display-buffer-alist): Default to nil.
20972 (display-buffer-reuse-window): New optional argument other-window.
20973 (display-buffer-pop-up-window): Allow splitting internal
20974 windows. Check whether a live window was created.
20975 (display-buffer-other-window-means-other-frame)
20976 (display-buffer-normalize-arguments): Rename to
20977 display-buffer-normalize-argument and rewrite. Set the
20978 other-window specifier.
20979 (display-buffer-normalize-special): New function.
20980 (display-buffer-normalize-options): Rename to
20981 display-buffer-normalize-default and rewrite.
20982 (display-buffer-normalize-options-inhibit): Remove.
20983 (display-buffer-normalize-specifiers): Rewrite.
20984 (display-buffer): Process other-window specifier and call
20985 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
20986 more faithfully.
20987 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
20988 (display-buffer-alist-set): Don't handle 'unset default values.
20989 (display-buffer-in-window, display-buffer-alist-set):
20990 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
20991 <tassilo@member.fsf.org>.
20992
20993 2011-07-09 Leo Liu <sdl.web@gmail.com>
20994
20995 * register.el (insert-register): Restore accidental change on
20996 2011-06-26. (Bug#9028)
20997
20998 2011-07-09 Glenn Morris <rgm@gnu.org>
20999
21000 * subr.el (remq): Handle the empty list. (Bug#9024)
21001
21002 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
21003
21004 * mail/sendmail.el (send-mail-function): No longer delay custom
21005 initialization.
21006 * custom.el (custom-initialize-delay): Doc fix.
21007
21008 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
21009
21010 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
21011
21012 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
21013
21014 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
21015 human-friendly prompt.
21016
21017 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
21018
21019 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
21020 provided by a particular plugin.
21021
21022 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
21023
21024 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
21025 save customizations (with "emacs -Q"), just set the variable
21026 instead of erroring out.
21027
21028 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
21029
21030 2011-07-08 Juri Linkov <juri@jurta.org>
21031
21032 * arc-mode.el (archive-zip-expunge, archive-zip-update)
21033 (archive-zip-update-case): Use 7z if found by `executable-find'.
21034 The order of searching the available programs is the same as in
21035 `archive-zip-extract' (bug#8968).
21036
21037 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
21038
21039 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
21040 (menu-bar-options-menu): Tweak descriptions.
21041
21042 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
21043
21044 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
21045 menu items into verb phrases (bug#1421). Also refill to fit under
21046 80 columns.
21047
21048 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
21049
21050 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
21051 (Info-read-node-name): Doc fix (Bug#1084).
21052
21053 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
21054 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
21055 (end-of-sexp, beginning-of-sexp)
21056 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
21057 (forward-symbol, forward-same-syntax, word-at-point)
21058 (sentence-at-point): Doc fix (Bug#1144).
21059
21060 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
21061
21062 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
21063 should cover it (bug#1281).
21064
21065 * cus-edit.el (custom-show): Mark as obsolete.
21066
21067 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
21068 negotiation fails, then possibly try again with a non-encrypted
21069 connection (bug#9017).
21070
21071 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
21072 be used.
21073
21074 2011-07-07 Richard Stallman <rms@gnu.org>
21075
21076 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
21077 property, and handle its changed format.
21078 Look for the correct line number.
21079 Use file's line contents (but not past first =) to find
21080 correct line in message.
21081
21082 2011-07-07 Kenichi Handa <handa@m17n.org>
21083
21084 * international/characters.el (build-unicode-category-table):
21085 Delete it.
21086 (unicode-category-table): Set it by unicode-property-table-internal.
21087
21088 * international/mule-cmds.el (char-code-property-alist): Move to
21089 to src/chartab.c.
21090 (get-char-code-property): Call unicode-property-table-internal to
21091 load a file. Call get-unicode-property-internal where necessary.
21092 (put-char-code-property): Call unicode-property-table-internal to
21093 load a file. Call put-unicode-property-internal where necessary.
21094 put-unicode-property-internal where necessary.
21095 (char-code-property-description):
21096 Call unicode-property-table-internal to load a file.
21097
21098 * international/charprop.el:
21099 * international/uni-bidi.el:
21100 * international/uni-category.el:
21101 * international/uni-combining.el:
21102 * international/uni-comment.el:
21103 * international/uni-decimal.el:
21104 * international/uni-decomposition.el:
21105 * international/uni-digit.el:
21106 * international/uni-lowercase.el:
21107 * international/uni-mirrored.el:
21108 * international/uni-name.el:
21109 * international/uni-numeric.el:
21110 * international/uni-old-name.el:
21111 * international/uni-titlecase.el:
21112 * international/uni-uppercase.el: Regenerate.
21113
21114 * loadup.el: Load international/charprop.el before
21115 international/characters.
21116
21117 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
21118
21119 * window.el (next-buffer, previous-buffer): Signal an error if
21120 called from a minibuffer window.
21121
21122 * bindings.el: Revert 2011-07-04 change.
21123
21124 2011-07-06 Richard Stallman <rms@gnu.org>
21125
21126 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
21127 (rmail-mime-insert-bulk, rmail-mime-insert-text):
21128 Treat markers like ints.
21129 (rmail-mime-entity): Doc fix.
21130
21131 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
21132
21133 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
21134 defcustom again for backwards compatibility.
21135
21136 * simple.el (shell-command-on-region): Fill.
21137
21138 * dired-aux.el (dired-kill-line): Add a doc string.
21139
21140 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
21141 to "\\sw\\|\\s_" (bug#358).
21142
21143 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
21144 (dired-unmark-backward): Ditto.
21145 (dired-flag-backup-files): Ditto.
21146
21147 * dired-x.el (dired-mark-sexp): Ditto.
21148
21149 2011-07-06 Richard Stallman <rms@gnu.org>
21150
21151 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
21152 (rmail-mime-entity): New arg TRUNCATED.
21153 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
21154 New functions.
21155 (rmail-mime-save): Warn if entity is truncated.
21156 (rmail-mime-toggle-hidden): Likewise, for showing.
21157 (rmail-mime-process-multipart): Record when an entity is truncated.
21158
21159 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
21160 if ENTITY is a string.
21161
21162 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
21163
21164 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
21165 of faces when `M-C-x'-ing their definitions (bug#8378).
21166 Also clean up the code slightly.
21167
21168 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
21169 because that makes the colors go away.
21170
21171 * mail/sendmail.el (send-mail-function): Change the default to
21172 `sendmail-query-once'.
21173 (sendmail-query-once): Add an autoload cookie.
21174
21175 * net/network-stream.el (network-stream-open-starttls): Try using
21176 a plain connection even if the server offered STARTTLS, and we
21177 kinda wanted to use it, if Emacs doesn't have any STARTTLS
21178 capability. This should make smtpmail.el work in slightly more
21179 configurations.
21180
21181 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
21182
21183 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
21184 New defun.
21185 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
21186
21187 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
21188
21189 * progmodes/sql.el: Version 3.0
21190 (sql-product-alist): Add product :completion-object,
21191 :completion-column, and :statement attributes.
21192 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
21193 (sql-mode-syntax-table): Mark all punctuation.
21194 (sql-font-lock-keywords-builder): Temporarily remove fallback on
21195 ansi keywords.
21196 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
21197 (sql-mode-oracle-font-lock-keywords): Improve.
21198 (sql-oracle-show-reserved-words): New function for development.
21199 (sql-product-font-lock): Simplify for source code buffers.
21200 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
21201 New functions.
21202 (sql-highlight-product): Set product specific syntax table.
21203 (sql-mode-map): Add statement movement functions.
21204 (sql-ansi-statement-starters, sql-oracle-statement-starters):
21205 New variable.
21206 (sql-statement-regexp, sql-beginning-of-statement)
21207 (sql-end-of-statement, sql-signum): New functions.
21208 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
21209 (sql-show-sqli-buffer): Bug fix.
21210 (sql-interactive-mode): Store connection data as buffer local.
21211 (sql-connect): Add NEW-NAME parameter. Redesign interaction
21212 with sql-interactive-mode.
21213 (sql-save-connection): Save buffer local settings.
21214 (sql-connection-menu-filter): Change menu entry name.
21215 (sql-product-interactive): Bug fix.
21216 (sql-preoutput-hold): New variable.
21217 (sql-interactive-remove-continuation-prompt): Bug fixes.
21218 (sql-debug-redirect): New variable.
21219 (sql-str-literal): New function.
21220 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
21221 Redesign.
21222 (sql-oracle-save-settings, sql-oracle-restore-settings)
21223 (sql-oracle-list-all, sql-oracle-list-table): New functions.
21224 (sql-completion-object, sql-completion-column)
21225 (sql-completion-sqlbuf): New variables.
21226 (sql-build-completions-1, sql-build-completions)
21227 (sql-try-completion): New functions.
21228 (sql-read-table-name): Use them.
21229 (sql-contains-names): New buffer local variable.
21230 (sql-list-all, sql-list-table): Use it.
21231 (sql-oracle-completion-types): New variable.
21232 (sql-oracle-completion-object, sql-sqlite-completion-object)
21233 (sql-postgres-completion-object): New functions.
21234
21235 2011-07-06 Glenn Morris <rgm@gnu.org>
21236
21237 * window.el (pop-to-buffer): Doc fix.
21238
21239 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
21240
21241 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
21242
21243 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
21244
21245 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
21246
21247 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
21248
21249 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
21250
21251 * button.el (button): Inherit from link face. Suggested by Dan
21252 Nicolaescu.
21253
21254 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
21255
21256 * progmodes/gdb-mi.el: Fit in 80 columns.
21257 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
21258 switch-to-buffer.
21259
21260 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
21261 if imenu is simply not configured (bug#8941).
21262
21263 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
21264
21265 * allout.el (allout-post-undo-hook): New allout outline-change
21266 event hook to signal undo activity.
21267 (allout-post-command-business): Run allout-post-undo-hook if an
21268 undo just occurred.
21269 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
21270 * allout-widgets.el (allout-widgets-after-undo-function):
21271 Ensure the integrity of the current item's decoration after it has been
21272 in the vicinity of an undo.
21273 (allout-widgets-mode): Include allout-widgets-after-undo-function
21274 on the new allout-post-undo-hook.
21275
21276 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
21277
21278 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
21279 Let define-derived-mode define it.
21280 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
21281 cycles of abbrev-table inheritance (bug#8998).
21282
21283 2011-07-05 Roland Winkler <winkler@gnu.org>
21284
21285 * textmodes/bibtex.el: Add support for biblatex.
21286 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
21287 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
21288 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
21289 (bibtex-entry-alist, bibtex-field-alist): New variables.
21290 (bibtex-entry-field-alist): Obsolete alias for
21291 bibtex-BibTeX-entry-alist.
21292 (bibtex-entry-alist, bibtex-field-alist): New widgets.
21293 (bibtex-set-dialect): New command.
21294 (bibtex-entry-type, bibtex-entry-head)
21295 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
21296 Bind via bibtex-set-dialect.
21297 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
21298 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
21299 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
21300 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
21301 Define via bibtex-set-dialect.
21302 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
21303 Obey bibtex-no-opt-remove-re.
21304 (bibtex-vec-push, bibtex-vec-incr): New functions.
21305 (bibtex-format-entry, bibtex-field-list)
21306 (bibtex-print-help-message, bibtex-validate)
21307 (bibtex-search-entries): Use new format of bibtex-entry-alist.
21308
21309 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
21310
21311 * progmodes/compile.el (compilation-goto-locus):
21312 * net/tramp-cmds.el (tramp-append-tramp-buffers):
21313 * bs.el (bs-cycle-next, bs-cycle-previous):
21314 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
21315 * bindings.el (mode-line-other-buffer):
21316 * autoinsert.el (auto-insert):
21317 * arc-mode.el (archive-extract):
21318 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
21319
21320 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
21321
21322 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
21323 Fix check of `emacs-lock-unlockable-modes'.
21324 Coerce true values of `emacs-lock--try-unlocking' to t.
21325
21326 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
21327
21328 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
21329 * emacs-lock.el: New file.
21330
21331 2011-07-05 Julien Danjou <julien@danjou.info>
21332
21333 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
21334 than `boundp' to check if face is set.
21335
21336 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
21337
21338 * register.el (registerv-make):
21339 * window.el (window-min-height): Fix typos in docstrings.
21340
21341 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
21342
21343 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
21344 Update doc string.
21345
21346 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
21347
21348 * server.el (server-execute): Catch quit and call
21349 `server-return-error' to pass the error back to emacsclient and
21350 close the connection (bug#8942).
21351
21352 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
21353
21354 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
21355 insecure exception for current topic. Also note that auto-saves
21356 are handled differently.
21357
21358 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
21359 State variables for tracking auto-save inhibition situation.
21360
21361 (allout-write-contents-hook-handler): Rename from
21362 'allout-write-file-hook-handler', and describe how it depends on
21363 write-contents-functions sensitivity to non-nil value to prevent
21364 file write.
21365
21366 (allout-auto-save-hook-handler): Remove. auto-save does not check
21367 this in individual buffers, only in the starting buffer, so this
21368 is not the right way for us to inhibit auto-save in a buffer
21369 according to its condition.
21370
21371 (allout-mode): Use new allout-write-contents-hook-handler, and
21372 only with write-contents-functions. Remove auto-save provisions -
21373 they're implemented elsewhere.
21374
21375 (allout-before-change-handler): If undo is in progress, note that
21376 for attention of allout-post-command-business.
21377
21378 (allout-post-command-business): If the command we're following was
21379 an undo, check for change in the status of encrypted items and
21380 adjust auto-save inhibitions accordingly.
21381
21382 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
21383 according to whether there are or aren't any plain-text topics
21384 pending encryption.
21385
21386 (allout-inhibit-auto-save-info-for-decryption):
21387 Adjust buffer-saved-size and some allout state to inhibit auto-saves
21388 if there are plain-text topics pending encryption.
21389
21390 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
21391 buffer-saved-size and some allout state to not inhibit auto-saves
21392 if there are no longer any plain-text topics pending encryption.
21393
21394 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
21395 No longer provide for exemption of the current topic.
21396
21397 2011-07-04 Juri Linkov <juri@jurta.org>
21398
21399 Add 7z operations to delete and save changed members (bug#8968).
21400 * arc-mode.el (archive-7z-expunge, archive-7z-update):
21401 New defcustoms.
21402 (archive-7z-write-file-member): New function.
21403 (archive-7z-summarize): Fix the number of dashes in the
21404 listing output.
21405
21406 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
21407
21408 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
21409 (bug#8958).
21410
21411 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
21412
21413 * bindings.el: Ignore next-buffer and previous-buffer in
21414 minibuffer-local-map.
21415
21416 * font-lock.el (font-lock-builtin-face): Change light background
21417 color to dark slate blue (Bug#6693).
21418
21419 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
21420
21421 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
21422
21423 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
21424
21425 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
21426 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
21427 Add switch-to-buffer.
21428
21429 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
21430
21431 * isearch.el (isearch-search-fun-function): Clarify further the
21432 meaning of the function returned.
21433
21434 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
21435
21436 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
21437
21438 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
21439 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
21440 Use it.
21441 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
21442 `tramp-default-remote-path' does not exist.
21443 (tramp-send-command-and-read): New optional argument NOERROR.
21444 (tramp-open-connection-setup-interactive-shell)
21445 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
21446 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
21447 (tramp-process-sentinel): Flush also process' connection property.
21448 (tramp-sh-handle-start-file-process): Do not set process
21449 sentinel. It is done now ...
21450 (tramp-maybe-open-connection): ... here. (Bug#8929)
21451
21452 2011-07-04 MON KEY <monkey@sandpframing.com>
21453
21454 * play/animate.el (animate-string): Doc fixes and allow changing
21455 the buffer name (bug#5417).
21456
21457 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
21458
21459 * play/animate.el (animation-buffer-name): Rename from *animate*.
21460
21461 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
21462
21463 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
21464 This is simpler and helps future-proof the code.
21465 (timer-until): Use time-subtract and float-time.
21466 (timer--time-less-p): Use time-less-p.
21467
21468 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
21469
21470 * type-break.el (timep): Use the value of `float-time' to avoid a
21471 byte-compiler warning.
21472
21473 * server.el (server-eval-and-print): Return any result, even nil.
21474
21475 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
21476
21477 * type-break.el: Accept time formats that the builtins accept.
21478 (timep, type-break-time-difference): Accept any format that
21479 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
21480 This is simpler and helps future-proof the code.
21481 (type-break-time-difference): Round rather than ignoring
21482 subseconds components.
21483
21484 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
21485
21486 * info.el (Info-apropos-matches): Make non-interactive, since it
21487 doesn't seem to do anything useful as a command (bug#8829).
21488
21489 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
21490
21491 * frame.el (frame-background-mode, frame-set-background-mode):
21492 Move from faces.el.
21493 (frame-default-terminal-background): New function.
21494
21495 * custom.el (custom-push-theme): Don't record faces in `changed'
21496 theme; this doesn't work correctly for per-frame face settings.
21497 (disable-theme): Use face-set-after-frame-default to reset faces.
21498 (custom--frame-color-default): New function.
21499
21500 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
21501
21502 * dired.el (dired-flagging-regexp): Remove unused variable
21503 (bug#8769).
21504
21505 2011-03-29 Kevin Ryde <user42@zip.com.au>
21506
21507 * progmodes/compile.el (compilation-error-regexp-alist-alist):
21508 `perl-Test2' extend to match possible "fail #N" rep count
21509 (bug#8377).
21510
21511 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
21512
21513 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
21514 `smtpmail-via-smtp' now returns the error instead of nil.
21515
21516 * isearch.el (isearch-search-fun-function): Clarify the doc string
21517 (bug#8101).
21518
21519 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
21520
21521 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
21522 unnecessary spaces (bug#8987).
21523
21524 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
21525
21526 * net/network-stream.el (open-network-stream): Use the
21527 :end-of-capability command thoughout.
21528
21529 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
21530
21531 * net/network-stream.el (open-network-stream): Add the
21532 :end-of-capability command parameter, used by pop3.el.
21533
21534 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
21535
21536 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
21537
21538 * fringe.el (fringe-query-style): Remove redundant text " (type ?
21539 for list)" (bug#6475).
21540
21541 * files.el (file-expand-wildcards): Ignore non-readable
21542 sub-directories while trying to find matches instead of signaling
21543 an error (bug#6297).
21544
21545 * man.el (Man-reference-regexp): Allow matching possible
21546 word-wrapped references (bug#6289).
21547
21548 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
21549 for consistency with the other vc buffers (bug#6197).
21550 (vc-checkin): Ditto.
21551
21552 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
21553
21554 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
21555
21556 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
21557
21558 * custom.el (defcustom): Clarify that :set is only used in the
21559 Customize user interface (bug#6089).
21560
21561 * progmodes/flymake.el (flymake-mode): If the buffer isn't
21562 associated with a file, refuse to run instead of erroring out
21563 (bug#6084).
21564
21565 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
21566 the doc string, since it appears that using `fill-column' always
21567 controls the width (bug#7845).
21568
21569 * simple.el (shell-command-on-region): Say where the error output
21570 went if `shell-command-default-error-buffer' is set (bug#6857).
21571
21572 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
21573
21574 * allout.el (allout-yank-processing): Adjust cursor position for
21575 backwards-deleted space.
21576
21577 (allout-rebullet-heading): Register changes with
21578 allout-exposure-changed-hook, so the modified topic is properly
21579 decorated.
21580
21581 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
21582
21583 * minibuffer.el (completion-in-region): Document PREDICATE
21584 (bug#7136).
21585
21586 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
21587 of keyword/argument pairs (bug#6904).
21588
21589 * replace.el (multi-occur):
21590 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
21591
21592 2011-07-02 Drew Adams <drew.adams@oracle.com>
21593
21594 * dired.el (dired-mark-if): Make the message about whether it's
21595 marking or unmarking clearer (bug#8523).
21596
21597 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
21598
21599 * disp-table.el (display-table-print-array): New function.
21600 (describe-display-table): Use it to print the vectors more pretty
21601 (Bug#8859).
21602
21603 2011-07-02 Martin Rudalics <rudalics@gmx.at>
21604
21605 * window.el (window-state-get-1): Don't assign clone numbers.
21606 Add clone-of item to list of window parameters.
21607 (window-state-put-2): Don't process clone numbers.
21608 (display-buffer-alist): Fix doc-string.
21609
21610 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
21611
21612 * subr.el (remq): Don't allocate if it's not needed.
21613 (keymap--menu-item-binding, keymap--menu-item-with-binding)
21614 (keymap--merge-bindings): New functions.
21615 (keymap-canonicalize): Use them to refine the canonicalization.
21616 * minibuffer.el (minibuffer-local-completion-map)
21617 (minibuffer-local-must-match-map): Move initialization from C.
21618 (minibuffer-local-filename-completion-map): Move initialization from C;
21619 don't inherit from anything here.
21620 (minibuffer-local-filename-must-match-map): Make obsolete.
21621 (completing-read-default): Use make-composed-keymap to combine
21622 minibuffer-local-filename-completion-map with either
21623 minibuffer-local-must-match-map or
21624 minibuffer-local-filename-completion-map.
21625
21626 2011-07-01 Glenn Morris <rgm@gnu.org>
21627
21628 * type-break.el (type-break-time-sum): Use dolist.
21629
21630 * textmodes/flyspell.el (flyspell-word-search-backward):
21631 Replace CL function.
21632
21633 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
21634
21635 * mouse.el (mouse--strip-first-event): New function.
21636 (function-key-map): Use it to map fringe clicks to normal clicks
21637 by default.
21638
21639 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
21640 (vc-bzr-revision-completion-table): Add support for annotate and date.
21641
21642 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
21643 inherit from parent.
21644
21645 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
21646
21647 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
21648 (dired-show-file-type): Doc fixup (bug#8818).
21649
21650 * dired.el (dired-mode): Fix up the doc string as suggested by
21651 Drew Adams (bug#8817).
21652
21653 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
21654 cookie, since the manual says that it should be possible to add
21655 this function to `find-file-hook' (bug#8709).
21656
21657 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
21658
21659 * progmodes/cfengine.el: Moved all cfengine3.el functionality
21660 here. Noted Ted Zlatanov as the maintainer.
21661 (cfengine-common-settings, cfengine-common-syntax): New functions
21662 to set up common things between `cfengine-mode' and
21663 `cfengine3-mode'.
21664 (cfengine3-mode): New mode.
21665 (cfengine3-defuns cfengine3-defuns-regex
21666 (cfengine3-class-selector-regex cfengine3-category-regex)
21667 (cfengine3-vartypes cfengine3-font-lock-keywords)
21668 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
21669 (cfengine3-indent-line): Add from cfengine3.el.
21670
21671 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
21672
21673 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
21674
21675 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
21676
21677 2011-07-01 Martin Rudalics <rudalics@gmx.at>
21678
21679 * window.el (same-window-buffer-names, same-window-regexps)
21680 (same-window-p, special-display-frame-alist)
21681 (special-display-popup-frame, special-display-function)
21682 (special-display-buffer-names, special-display-regexps)
21683 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
21684 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
21685 (split-window-preferred-function, split-height-threshold)
21686 (split-width-threshold, even-window-heights)
21687 (display-buffer-mark-dedicated, window-splittable-p)
21688 (split-window-sensibly, window-safely-shrinkable-p):
21689 Un-obsolete.
21690 (display-buffer): Don't spread args with function specifier
21691 because special-display-popup-frame won't like it.
21692
21693 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
21694
21695 Time-stamp simplifications and fixes.
21696 These improve accuracy slightly, and future-proof the code
21697 against some potential changes to current-time format.
21698
21699 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
21700 by using time-since and float-time.
21701
21702 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
21703 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
21704 + NNN microseconds".
21705
21706 * type-break.el (type-break-time-sum): Rewrite using time-add.
21707
21708 * play/hanoi.el (hanoi-current-time-float): Remove.
21709 All uses replaced by float-time.
21710
21711 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
21712 This yields a more-accurate answer.
21713 (rng-time-to-float): Remove; no longer needed.
21714
21715 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
21716
21717 * calendar/timeclock.el (timeclock-seconds-to-time):
21718 Defalias to seconds-to-time, since they're the same thing.
21719
21720 * emacs-lisp/elp.el (elp-elapsed-time):
21721 * emacs-lisp/benchmark.el (benchmark-elapse):
21722 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
21723
21724 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
21725
21726 * window.el (bury-buffer): Don't iconify the only frame.
21727 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
21728 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
21729
21730 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
21731
21732 * eshell/em-smart.el (eshell-smart-display-navigate-list):
21733 Add mouse-yank-primary.
21734
21735 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
21736
21737 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
21738
21739 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
21740
21741 * emacs-lisp/find-func.el (find-library--load-name): New fun.
21742 (find-library-name): Use it to find relative load names when provided
21743 absolute file name (bug#8803).
21744
21745 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
21746
21747 * textmodes/flyspell.el (flyspell-word): Consider words that
21748 differ only in case as potential doublons (bug#5687).
21749
21750 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
21751 Remove two rather uninteresting debugging-like messages to make
21752 debbugs.el more silent.
21753
21754 * comint.el (comint-password-prompt-regexp): Accept "Response" as
21755 a password-like phrase.
21756
21757 2011-06-30 Masatake YAMATO <yamato@redhat.com>
21758
21759 * progmodes/cc-guess.el: New file.
21760
21761 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
21762
21763 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
21764 derived from `c-basic-common-init'.
21765
21766 * progmodes/cc-mode.el (top-level): Require cc-guess.
21767 (c-basic-common-init): Use `cc-choose-style-for-mode'.
21768
21769 2011-06-30 Lawrence Mitchell <wence@gmx.li>
21770
21771 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
21772
21773 2011-06-30 Alan Mackenzie <acm@muc.de>
21774
21775 * progmodes/cc-engine.el (c-guess-continued-construct):
21776 Correct the handling of template-args-cont, particularly for when font
21777 lock is disabled. Name this case as "CASE G".
21778
21779 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
21780
21781 * allout.el (allout-yank-processing): Fix injection of extra space
21782 between bullet and non-whitespace character in first topic when
21783 pasting, ensuring that the actual spacing in the pasted topic
21784 following the bullet char is preserved. This extra space was
21785 causing pasted encrypted topics to get a decrypted status even
21786 when the content was actually still encrypted. Now the decryption
21787 status from before the paste is preserved.
21788
21789 (allout-flag-region): Set all allout overlays so they evaporate
21790 when reduced to zero length (evanescent), to prevent overlay
21791 leakage.
21792
21793 2011-06-30 Glenn Morris <rgm@gnu.org>
21794
21795 * w32-fns.el (w32-charset-info-alist): Declare.
21796
21797 * find-dired.el (find-grep-options): Simplify.
21798
21799 * term/ns-win.el (ns-set-resource): Declare.
21800
21801 * ses.el (row, col): Declare dynamic variables honestly.
21802
21803 * textmodes/reftex-parse.el (index-tags): Declare.
21804
21805 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
21806
21807 * cus-edit.el (customize-push-and-save): New function.
21808
21809 * files.el (hack-local-variables-confirm): Use it.
21810
21811 * custom.el (load-theme): New arg NO-CONFIRM.
21812 Use customize-push-and-save (Bug#8720).
21813 (custom-enabled-themes): Doc fix.
21814
21815 * cus-theme.el (customize-create-theme)
21816 (custom-theme-merge-theme): Callers to load-theme changed.
21817
21818 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
21819
21820 * thingatpt.el (thing-at-point-short-url-regexp): Require that
21821 short URLs have at least one dot in them (bug #7614).
21822
21823 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
21824 nil, because using a pty is apparently too slow (bug #895).
21825
21826 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
21827
21828 * mail/sendmail.el (sendmail-query-once): New function.
21829 (sendmail-query-once-function): New variable.
21830
21831 2011-06-29 Glenn Morris <rgm@gnu.org>
21832
21833 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
21834
21835 * ses.el (top-level): Require cl when compiling.
21836 (ses-set-localvars): Fix error statement.
21837 Call it at compile time to silence a storm of warnings.
21838
21839 2011-06-29 Martin Rudalics <rudalics@gmx.at>
21840
21841 * window.el (normalize-live-buffer): Rename to
21842 window-normalize-buffer.
21843 (normalize-live-frame): Rename to window-normalize-frame.
21844 (normalize-any-window): Rename to window-normalize-any-window.
21845 (normalize-live-window): Rename to window-normalize-live-window.
21846 (make-window-atom): Rename to window-make-atom.
21847 (window-resize-reset): Rename to window--resize-reset.
21848 (window-resize-reset-1): Rename to window--resize-reset-1.
21849 (resize-mini-window): Rename to window--resize-mini-window.
21850 (resize-subwindows-skip-p): Rename to
21851 window--resize-subwindows-skip-p.
21852 (resize-subwindows-normal): Rename to
21853 window--resize-subwindows-normal.
21854 (resize-subwindows): Rename to window--resize-subwindows.
21855 (resize-other-windows): Rename to window--resize-siblings.
21856 (resize-this-window): Rename to window--resize-this-window.
21857 (resize-root-window): Rename to window--resize-root-window.
21858 (resize-root-window-vertically): Rename to
21859 window--resize-root-window-vertically.
21860 (normalize-buffer-to-display): Rename to
21861 window-normalize-buffer-to-display.
21862 (normalize-buffer-to-switch-to): Rename to
21863 window-normalize-buffer-to-switch-to.
21864 Correspondingly update all callers of the functions listed
21865 above.
21866 (display-buffer-alist, display-buffer-normalize-arguments)
21867 (display-buffer-normalize-options, display-buffer)
21868 (display-buffer-alist-set): Use "function" instead of
21869 "fun-with-args".
21870
21871 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
21872
21873 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
21874 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
21875 debbugs.gnu.org. Mention acknowledgment email.
21876
21877 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
21878
21879 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
21880 buffer multibyteness, since it shouldn't matter.
21881
21882 2011-06-28 Martin Rudalics <rudalics@gmx.at>
21883
21884 * window.el (display-buffer-in-side-window): Handle dedicated
21885 windows as in display-buffer-reuse-window.
21886 (display-buffer-normalize-alist): Use value of override
21887 specifier.
21888 (display-buffer-normalize-specifiers): Use value of
21889 other-window-means-other-frame specifier.
21890 (display-buffer-alist): Rewrite some texts in widgets.
21891 (display-buffer): Spread arguments when calling function
21892 specified by fun-with-args.
21893
21894 2011-06-28 Deniz Dogan <deniz@dogan.se>
21895
21896 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
21897 Unnest `let'.
21898
21899 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
21900 selectors (Bug#5732).
21901 (css-proprietary-nmstart-re): Use `regexp-opt'.
21902
21903 2011-06-27 Jari Aalto <jari.aalto@cante.net>
21904
21905 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
21906 (eshell-ls-date-format): New defcustom.
21907 (eshell-ls-file): Use it.
21908
21909 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
21910
21911 * help-fns.el (describe-variable): Fix message for terminal-local vars.
21912
21913 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
21914
21915 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
21916 (ange-ftp-make-tmp-name): New arg.
21917 (ange-ftp-file-local-copy): Use it.
21918
21919 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
21920
21921 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
21922 no-conversion (Bug#8870).
21923
21924 2011-06-27 Martin Rudalics <rudalics@gmx.at>
21925
21926 * window.el (window-right, window-left, window-child)
21927 (window-child-count, window-last-child)
21928 (window-iso-combination-p, walk-window-tree-1)
21929 (window-atom-check-1, window-tree-1, delete-window)
21930 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
21931 new naming conventions - window-vchild, window-hchild,
21932 window-next and window-prev are now called window-top-child,
21933 window-left-child, window-next-sibling and window-prev-sibling
21934 respectively.
21935 (resize-window-reset): Rename to window-resize-reset.
21936 (resize-window-reset-1): Rename to window-resize-reset-1.
21937 (resize-window): Rename to window-resize.
21938 (window-min-height, window-min-width)
21939 (resize-mini-window, resize-this-window, resize-root-window)
21940 (resize-root-window-vertically, adjust-window-trailing-edge)
21941 (enlarge-window, shrink-window, maximize-window)
21942 (minimize-window, delete-window, quit-restore-window)
21943 (split-window, balance-windows, balance-windows-area-adjust)
21944 (balance-windows-area, window-state-put-2)
21945 (display-buffer-even-window-sizes, display-buffer-set-height)
21946 (display-buffer-set-width, set-window-text-height)
21947 (fit-window-to-buffer): Rename all "resize-window" prefixed
21948 calls to use the "window-resize" prefix convention.
21949 (display-buffer-alist): Fix symbol for label specifier.
21950 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
21951 corresponding specifier.
21952 Reported by Juanma Barranquero <lekktu@gmail.com>.
21953
21954 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
21955
21956 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
21957 convention.
21958 (ses-call-printer): Does not pass an empty string to formatter when the
21959 cell is empty to keep from barking printer Calc math-format-value.
21960
21961 2011-06-27 Richard Stallman <rms@gnu.org>
21962
21963 * battery.el (battery-mode-line-limit): New variable.
21964 (battery-update): Handle it.
21965
21966 * mail/rmailmm.el (rmail-mime-process-multipart):
21967 Handle truncated messages.
21968
21969 2011-06-27 Glenn Morris <rgm@gnu.org>
21970
21971 * progmodes/flymake.el (flymake-err-line-patterns):
21972 Allow for column numbers in the ant/javac pattern. (Bug#8866)
21973
21974 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
21975
21976 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
21977 (ses--clean-!, ses--clean-_): New functions.
21978 (ses-range): Add configurability of readout order, and conversion
21979 to Calc vector.
21980
21981 * ses.el (ses-repair-cell-reference-all): New function.
21982 (ses-cell-symbol): Set macro as safe, so that it can be used in
21983 formulas.
21984
21985 * ses.el: Update cycle detection algorithm.
21986 (ses-localvars): Add ses--Dijkstra-attempt-nb and
21987 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
21988 (ses-set-localvars): New function.
21989 (ses-make-cell): Add property-list as a cell element.
21990 (ses-cell-property-get-fun, ses-cell-property-get)
21991 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
21992 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
21993 New functions.
21994 (ses-cell-property-set, ses-cell-property-pop)
21995 (ses-cell-property-get-handle): New macro.
21996 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
21997 New aliases, used for code readability.
21998 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
21999 cycle detection.
22000 (ses-self-reference-early-detection): New defcustom.
22001 (ses-formula-references): Robustify against self-referring cells.
22002 (ses-mode): Use ses-set-localvars.
22003 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
22004 before lauching the update processing.
22005 (ses-initialize-Dijkstra-attempt): New function.
22006 (ses-recalculate-cell): Update for cycle detection based on
22007 Dijkstra algorithm.
22008
22009 * ses.el: Fix commenting and indenting convention.
22010
22011 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
22012
22013 * bs.el (bs-cycle-next): Complete last change.
22014
22015 2011-06-27 Drew Adams <drew.adams@oracle.com>
22016
22017 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
22018
22019 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
22020
22021 * net/network-stream.el (network-stream-open-starttls):
22022 Don't re-get capabilities unless we've reestablished connection.
22023 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
22024
22025 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
22026 to binary to possibly avoid line encoding issues on Windows (among
22027 other things).
22028
22029 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
22030
22031 * net/network-stream.el (open-network-stream): Return an :error
22032 saying what the problem was, if possible.
22033
22034 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
22035 server.
22036
22037 * net/network-stream.el (network-stream-open-starttls): If we
22038 wanted to use STARTTLS, and the server offered it, but we weren't
22039 able to because we had no STARTTLS support, then close the connection.
22040 (open-network-stream): Return an :error element, if present.
22041
22042 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
22043
22044 * hl-line.el (hl-line-sticky-flag): Doc fix.
22045 (global-hl-line-sticky-flag): New option (Bug#8323).
22046 (global-hl-line-highlight): Obey it.
22047
22048 * vc/vc.el (vc-revert-show-diff): Default to t.
22049
22050 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
22051
22052 * allout-widgets.el (allout-widgets-post-command-business):
22053 Stop decorating intermediate isearch matches. They're not being
22054 undecorated when an isearch is continued past, and isearch
22055 automatically collapses them. This leads to "widget leaks", where
22056 decorated items accumulate in collapsed areas. Lines with lots of
22057 hidden widgets can slow down cursor travel, substantially.
22058 Too much complicated machinery would be needed to ensure undecoration,
22059 so we're doing without this nicety.
22060
22061 (allout-widgets-tally-string): Don't try to do a hash-table-count
22062 of allout-widgets-tally when it's nil. This eliminates spurious "Error
22063 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
22064 *Messages* when allout-widgets-maintain-tally is t.
22065
22066 2011-06-26 Martin Rudalics <rudalics@gmx.at>
22067
22068 * window.el (display-buffer-normalize-argument): Rename to
22069 display-buffer-normalize-arguments. Handle special meaning of
22070 LABEL argument. Respect special-display-function when popping up
22071 a new frame. Fix code searching for a window showing the buffer
22072 on another frame.
22073 (display-buffer-normalize-specifiers):
22074 Call display-buffer-normalize-arguments.
22075 (display-buffer-in-window): Don't undedicate the window if its
22076 buffer remains the same.
22077 Reported by Drew Adams <drew.adams@oracle.com>.
22078 (display-buffer-alist): Add choice for same-window macro
22079 specfier.
22080 (display-buffer): Mention special meaning of LABEL argument in
22081 doc-string. Fix quoting. Don't pop up a new frame even as
22082 fallback.
22083
22084 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
22085
22086 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
22087 avoid deleting the current window in some cases (bug#8911).
22088
22089 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
22090
22091 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
22092 (Bug#8934)
22093
22094 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
22095
22096 * net/network-stream.el (network-stream-open-starttls):
22097 Use built-in TLS support if `gnutls-available-p' is true.
22098 (network-stream-open-tls): Ditto.
22099
22100 2011-06-26 Leo Liu <sdl.web@gmail.com>
22101
22102 * register.el (registerv): New struct.
22103 (registerv-make): New function.
22104 (jump-to-register, describe-register-1, insert-register):
22105 Support the jump-func, print-func and insert-func slot of a registerv
22106 struct. (Bug#8415)
22107
22108 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
22109
22110 * vc/vc.el (vc-revert-show-diff): New defcustom.
22111 (vc-diff-internal): New arg specifying diff buffer.
22112 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
22113 reuse an existing *vc-diff* buffer (Bug#8927).
22114
22115 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
22116
22117 2011-06-26 Glenn Morris <rgm@gnu.org>
22118
22119 * progmodes/f90.el (f90-critical-indent): New option.
22120 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
22121 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
22122 (f90-mode): Doc fix.
22123 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
22124 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
22125 (f90-beginning-of-block, f90-next-block, f90-indent-region)
22126 (f90-match-end): Handle block, critical.
22127
22128 2011-06-25 Glenn Morris <rgm@gnu.org>
22129
22130 * calendar/diary-lib.el (diary-included-files): Doc fix.
22131 (diary-include-files): New function, extracted from
22132 diary-include-other-diary-files and diary-mark-included-diary-files.
22133 (diary-include-other-diary-files, diary-mark-included-diary-files):
22134 Just call diary-include-files.
22135 (diary-mark-entries): Reset diary-included-files on first call.
22136
22137 * calendar/diary-lib.el (diary-mark-entries)
22138 (diary-mark-included-diary-files):
22139 Visit included diary-files in temp buffers.
22140
22141 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
22142 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
22143 (f90-start-block-re, f90-imenu-generic-expression)
22144 (f90-looking-at-program-block-start, f90-no-block-limit):
22145 Add support for submodules.
22146
22147 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
22148 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
22149
22150 2011-06-25 Eli Zaretskii <eliz@gnu.org>
22151
22152 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
22153 buffer-file-type before setting its value, to avoid disastrous
22154 global effects on decoding files for DOS/Windows systems. (Bug#8780)
22155
22156 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
22157
22158 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
22159
22160 * ses.el (ses-unload-function):
22161 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
22162
22163 * proced.el (proced-unload-function):
22164 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
22165
22166 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
22167
22168 * server.el (server-create-window-system-frame): Add parameters arg.
22169 (server-process-filter): Doc fix. Handle frame-parameters.
22170
22171 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
22172
22173 Fix bug#8730, bug#8781.
22174
22175 * loadhist.el (unload--set-major-mode): New function.
22176 (unload-feature): Use it.
22177
22178 * progmodes/python.el (python-after-info-look): Add autoload cookie.
22179 (python-unload-function): New function.
22180
22181 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
22182
22183 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
22184
22185 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
22186
22187 * net/browse-url.el (browse-url-firefox-program): Add icecat to
22188 the candidates list.
22189
22190 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
22191
22192 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
22193
22194 2011-06-23 Richard Stallman <rms@gnu.org>
22195
22196 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
22197 (rmail-variables): Set next-error-move-function.
22198 (rmail-what-message): Take argument POS.
22199 (rmail-next-error-move): New function.
22200
22201 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
22202
22203 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
22204 messages for adjacent non-terminals.
22205
22206 2011-06-23 Richard Stallman <rms@gnu.org>
22207
22208 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
22209 (rmail-show-message-1): Preserve buffer modified flag.
22210 (rmail-start-mail): Don't specify use of rmail-mail-return;
22211 that's done by mail-bury now.
22212 (rmail-mail-return): Handle arg NEWBUF.
22213
22214 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
22215
22216 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
22217 SIZE is a number.
22218
22219 2011-06-23 Martin Rudalics <rudalics@gmx.at>
22220
22221 * window.el (get-lru-window, get-mru-window)
22222 (get-largest-window): Never return a minibuffer window.
22223 (display-buffer-pop-up-window): Fix a bug that could lead to
22224 reusing the minibuffer window.
22225 (display-buffer): Pass original specifier argument to
22226 display-buffer-function instead of the normalized one.
22227 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
22228
22229 2011-06-22 Leo Liu <sdl.web@gmail.com>
22230
22231 * minibuffer.el (completing-read-function)
22232 (completing-read-default): Move from minibuf.c.
22233
22234 2011-06-22 Richard Stallman <rms@gnu.org>
22235
22236 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
22237 to Rmail even if not started by a special Rmail command.
22238
22239 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
22240 Copy the buffer currently showing just one message.
22241
22242 2011-06-22 Roland Winkler <winkler@gnu.org>
22243
22244 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
22245 (bibtex-clean-entry): First delete the old key so that a
22246 customized algorithm for generating the new key does not get
22247 confused by the old key.
22248 (bibtex-url): Obey regexp of first step.
22249 (bibtex-search-entries): Do not use add-to-list with local
22250 list-var.
22251
22252 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
22253
22254 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
22255 stored a user name, then query for the password first, instead of
22256 waiting for SMTP to give an error message and the trying again.
22257
22258 2011-06-22 Lawrence Mitchell <wence@gmx.li>
22259
22260 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
22261 BUFFER in call-process.
22262
22263 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
22264
22265 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
22266 QUIT twice.
22267 (smtpmail-try-auth-methods): Require user name and password from
22268 auth-source.
22269
22270 2011-06-22 Martin Rudalics <rudalics@gmx.at>
22271
22272 * window.el (display-buffer-default-specifiers)
22273 (display-buffer-alist): Remove entries for pop-up-frame-alist.
22274 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
22275 (split-window): Normalize SIDE argument (Bug#8916).
22276
22277 * frame.el (pop-up-frame-alist, pop-up-frame-function)
22278 (special-display-frame-alist, special-display-popup-frame):
22279 Remove duplicate declarations. These are now in window.el.
22280
22281 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
22282
22283 * mail/smtpmail.el (smtpmail-via-smtp):
22284 Set :use-starttls-if-possible so that we always use STARTTLS if the
22285 server supports it. SMTP servers that support STARTTLS commonly
22286 require it.
22287
22288 * net/network-stream.el (network-stream-open-starttls): Support
22289 upgrading to STARTTLS always, even if we don't have built-in support.
22290 (open-network-stream): Add the :always-query-capabilities keyword.
22291
22292 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
22293 upgrades with `open-network-stream', and rely solely on
22294 auth-source for all credentials. Big changes throughout the file,
22295 but in particular:
22296 (smtpmail-auth-credentials): Remove.
22297 (smtpmail-starttls-credentials): Remove.
22298 (smtpmail-via-smtp): Check for servers saying they want AUTH after
22299 MAIL FROM, too.
22300
22301 * net/network-stream.el (network-stream-open-starttls):
22302 Provide support for client certificates both for external and built-in
22303 STARTTLS.
22304 (auth-source): Require.
22305 (open-network-stream): Document the :client-certificate keyword.
22306 (network-stream-certificate): Change cert-cert to cert and
22307 cert-key to key.
22308
22309 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
22310
22311 * net/tramp-cache.el (top): Don't load the persistency file when
22312 "emacs -Q" has been called.
22313
22314 2011-06-21 Tim Harper <timcharper@gmail.com>
22315
22316 * term/ns-win.el (ns-initialize-window-system):
22317 Set application-specific `ApplePressAndHoldEnabled' system
22318 resource to NO as it is not yet supported by the NS port.
22319
22320 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
22321
22322 * misc.el (list-dynamic-libraries--refresh): Compute header here...
22323 (list-dynamic-libraries): ...not here.
22324
22325 2011-06-21 Leo Liu <sdl.web@gmail.com>
22326
22327 * subr.el (sha1): Implement sha1 using secure-hash.
22328
22329 2011-06-21 Martin Rudalics <rudalics@gmx.at>
22330
22331 * window.el (display-buffer-alist): In default value do not
22332 enforce searching a window on any but the selected frame.
22333 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
22334 (display-buffer-select-window): Remove function.
22335 (display-buffer-in-window): When a window on another frame gets
22336 reused, do not select it any more but just raise its frame if
22337 necessary (Bug#8851) and (Bug#8856).
22338 (display-buffer-normalize-options): Handle pop-up-frames related
22339 options more faithfully.
22340 (pop-to-buffer): Don't rely on `display-buffer' selecting the
22341 window if it is on another frame.
22342 (display-buffer-alist, display-buffer-default-specifiers):
22343 Don't make new frame unsplittable by default.
22344 (display-buffer-normalize-argument): Fix doc-string typo and use
22345 'same-frame-other-window instead of 'other-window when associating
22346 with display-buffer-macro-specifiers.
22347
22348 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
22349
22350 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
22351 New functions.
22352 (5x5-mode-map, 5x5-mode-menu): Bind them.
22353 (5x5-draw-grid): Tweak the solver's rendering.
22354
22355 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
22356
22357 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
22358 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
22359
22360 2011-06-21 Drew Adams <drew.adams@oracle.com>
22361
22362 * menu-bar.el: Use function variable instead of switch-to-buffer.
22363 (menu-bar-select-buffer-function): New variable.
22364 (menu-bar-update-buffers): Use it (bug#8876).
22365
22366 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
22367
22368 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
22369 variable's status.
22370
22371 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
22372
22373 * x-dnd.el (x-dnd-version-from-flags)
22374 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
22375 and long as number (Bug#8899).
22376 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
22377
22378 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
22379
22380 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
22381 (completion-try-completion, completion-all-completions): Compute the
22382 metadata argument if it's missing; make it optional (bug#8795).
22383
22384 * wid-edit.el: Use lex-bind and move towards completion-at-point.
22385 (widget-complete): Use new :completion-function property.
22386 (widget-completions-at-point): New function.
22387 (default): Use :completion-function instead of :complete.
22388 (widget-default-completions): Rename from widget-default-complete;
22389 Rewrite.
22390 (widget-string-complete, widget-file-complete, widget-color-complete):
22391 Remove functions.
22392 (file, symbol, function, variable, coding-system, color):
22393 * international/mule-cmds.el (default-input-method, charset)
22394 (language-info-custom-alist):
22395 * cus-edit.el (face): Use new property :completions.
22396
22397 * progmodes/pascal.el (pascal-completions-at-point): New function.
22398 (pascal-mode): Use it.
22399 (pascal-mode-map): Use completion-at-point.
22400 (pascal-toggle-completions): Make obsolete.
22401 (pascal-complete-word, pascal-show-completions):
22402 * progmodes/octave-mod.el (octave-complete-symbol):
22403 Redefine as obsolete alias.
22404 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
22405 Signal absence of completion info for old Octave,
22406 (inferior-octave-complete): Redefine as obsolete alias.
22407 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
22408 (meta-completions-at-point): Rename from meta-complete-symbol and
22409 adapt it for use on completion-at-point-functions.
22410 (meta-common-mode): Use it.
22411 (meta-looking-at-backward, meta-match-buffer): Remove.
22412 (meta-complete-symbol): Redefine as obsolete alias.
22413 (meta-common-mode-map): Use completion-at-point.
22414 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
22415 (makefile-mode-map): Use completion-at-point.
22416 (makefile-completions-at-point): Rename from makefile-complete and
22417 adapt it for use on completion-at-point-functions.
22418 (makefile-mode): Use it.
22419 (makefile-complete): Redefine as obsolete alias.
22420
22421 2011-06-20 Deniz Dogan <deniz@dogan.se>
22422
22423 * net/rcirc.el: Delete trailing whitespaces once and for all.
22424
22425 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
22426
22427 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
22428
22429 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
22430
22431 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
22432
22433 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
22434
22435 2011-06-19 Martin Rudalics <rudalics@gmx.at>
22436
22437 * window.el (display-buffer-other-window-means-other-frame):
22438 Call display-buffer-normalize-alist.
22439 (display-buffer-normalize-specifiers-1): Rename to
22440 display-buffer-normalize-argument. New argument other-frame.
22441 Rewrite.
22442 (display-buffer-normalize-specifiers-2): Rename to
22443 display-buffer-normalize-options.
22444 (display-buffer-normalize-alist-1): New function.
22445 (display-buffer-normalize-specifiers-3): Rename to
22446 display-buffer-normalize-alist.
22447 Call display-buffer-normalize-alist-1.
22448 (display-buffer-normalize-options-inhibit): New variable.
22449 (display-buffer-normalize-specifiers): Rewrite calling
22450 display-buffer-normalize-alist,
22451 display-buffer-normalize-argument, and
22452 display-buffer-normalize-options. Don't call the latter if
22453 display-buffer-normalize-options-inhibit is non-nil.
22454 (frame-auto-delete): New option.
22455 (window-deletable-p): Use frame-auto-delete.
22456 (window-list-no-nils, window-state-ignored-parameters)
22457 (window-state-get-1, window-state-get, window-state-put-list)
22458 (window-state-put-1, window-state-put-2, window-state-put):
22459 New functions.
22460 (display-buffer-normalize-options): Move special-display-p group
22461 after pop-up-frame group (Bug#8851) and (Bug#8856).
22462
22463 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
22464
22465 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
22466 groups (Bug#8776).
22467 (rx-submatch-n): New function.
22468 (rx): Document it.
22469
22470 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
22471 (Bug#8768).
22472
22473 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
22474
22475 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
22476
22477 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
22478 anytime existing face settings are present (Bug#8889).
22479
22480 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
22481 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
22482 Remove unused argument.
22483
22484 2011-06-18 Martin Rudalics <rudalics@gmx.at>
22485
22486 * window.el (display-buffer-default-specifiers):
22487 Remove pop-up-frame. Add pop-up-window-min-height,
22488 pop-up-window-min-width, and another reuse-window specifier
22489 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
22490 (display-buffer-normalize-specifiers-2):
22491 Handle split-height-threshold and split-width-threshold also when
22492 pop-up-windows is unset. Add a reuse-window specifier for the
22493 case popping up a new window fails.
22494 (special-display-popup-frame): Remove double quoting.
22495 (display-buffer-normalize-specifiers-1): Fix thinko.
22496
22497 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
22498
22499 * shell.el (shell-completion-vars): Set pcomplete-termination-string
22500 according to comint-completion-addsuffix.
22501
22502 * pcomplete.el: Convert to lexical binding and fix bug#8819.
22503 (pcomplete-suffix-list): Mark as obsolete.
22504 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
22505 pcomplete-seen in the closure.
22506 (pcomplete-comint-setup): Setup completion-at-point as well.
22507 (pcomplete--entries): New function.
22508 (pcomplete--env-regexp): New var.
22509 (pcomplete-entries): Rewrite to work with partial-completion and
22510 without relying on pcomplete-suffix-list.
22511 (pcomplete-pare-list): Remove, unused.
22512
22513 2011-06-17 Martin Rudalics <rudalics@gmx.at>
22514
22515 * window.el (display-buffer-alist): Set pop-up-window-min-height
22516 and pop-up-window-min-width in default value. Reported by
22517 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
22518 other-window-means-other-frame.
22519 (display-buffer-macro-specifiers): Comment out entry for
22520 other-window specifier.
22521 (display-buffer-other-window-means-other-frame): New function.
22522 (display-buffer-normalize-specifiers-1): New arguments
22523 buffer-name and label. Treat other-window case specially.
22524 (display-buffer-normalize-specifiers-2): Treat other-window case
22525 specially.
22526 (display-buffer-normalize-specifiers-3): New function.
22527 (display-buffer-normalize-specifiers):
22528 Call display-buffer-normalize-specifiers-3.
22529
22530 2011-06-17 Martin Rudalics <rudalics@gmx.at>
22531
22532 * window.el (same-window-p): Fix two typos introduced when
22533 adding with-no-warnings.
22534 (display-buffer-normalize-specifiers-1): Don't check
22535 pop-up-frames for 'unset initialization.
22536 (display-buffer-normalize-specifiers-2): Major rewrite using
22537 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
22538 (pop-up-frames, display-buffer-reuse-frames)
22539 (display-buffer-mark-dedicated): Don't initialize to 'unset.
22540 Suggested by David Engster <deng@randomsample.de>.
22541 (even-window-heights): Initialize to 'unset.
22542 (display-buffer-alist-set): Handle new 'unset initializations.
22543 (display-buffer-macro-specifiers): Don't pop up a new frame in the
22544 other window case.
22545
22546 2011-06-16 Martin Rudalics <rudalics@gmx.at>
22547
22548 * window.el (display-buffer-normalize-specifiers-1):
22549 Respect current value of pop-up-frames for most reasonable values of
22550 second argument of display-buffer (Bug#8865).
22551 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
22552 (switch-to-buffer-other-window-same-frame)
22553 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
22554 Adams (Bug#8875).
22555 (display-buffer): Don't check noninteractive when calling
22556 display-buffer-pop-up-frame.
22557 (display-buffer-pop-up-frame): Never pop up a frame in
22558 noninteractive mode (Bug#8857).
22559 (enlarge-window, shrink-window): Don't report an error when the
22560 window can't be resized as requested (Bug#8862).
22561
22562 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
22563
22564 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
22565
22566 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
22567
22568 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
22569
22570 2011-06-15 Alan Mackenzie <acm@muc.de>
22571
22572 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
22573 for declarators, disable knr checking to speed up for normal files.
22574 2: Refactor, replacing a sequence of nested if forms by a cond form.
22575
22576 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
22577
22578 * net/network-stream.el (open-network-stream): Add the keyword
22579 :always-query-capabilities for the case where you want to force a
22580 `plain' network connection, but the protocol still requires the
22581 capabilitiy command (i.e., SMTP and EHLO).
22582
22583 * subr.el (process-live-p): Rename from `process-alive-p' for
22584 consistency with other `-live-p' functions.
22585
22586 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
22587
22588 * window.el (same-window-buffer-names, same-window-regexps)
22589 (special-display-frame-alist, special-display-popup-frame)
22590 (special-display-function, special-display-buffer-names)
22591 (special-display-regexps, pop-up-frame-alist)
22592 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
22593 (pop-up-windows, split-window-preferred-function)
22594 (split-height-threshold, split-width-threshold, even-window-heights)
22595 (display-buffer-mark-dedicated): Don't encourage the use of
22596 display-buffer-alist from Elisp code.
22597
22598 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
22599
22600 * progmodes/python.el (python-mode): Derive from prog-mode.
22601 * progmodes/ps-mode.el (ps-mode):
22602 * progmodes/mixal-mode.el (mixal-mode):
22603 * progmodes/cfengine.el (cfengine-mode):
22604 * progmodes/ld-script.el (ld-script-mode): Likewise.
22605
22606 2011-06-15 Martin Rudalics <rudalics@gmx.at>
22607
22608 * window.el (display-buffer-alist): Trim default value to avoid
22609 popping up a new frame (Bug#8857) or reusing an arbitrary window
22610 on another frame.
22611 (display-buffer): Do not fall back on popping up a new frame in
22612 batch mode (Bug#8857).
22613
22614 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
22615
22616 * cus-theme.el (describe-theme-1): Use custom-theme-p.
22617 (custom-theme-summary): New function.
22618 (customize-themes): Use it.
22619
22620 2011-06-13 Glenn Morris <rgm@gnu.org>
22621
22622 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
22623
22624 2011-06-13 Martin Rudalics <rudalics@gmx.at>
22625
22626 * help.el (help-window): Remove variable.
22627 (help-window-point-marker, temp-buffer-max-height)
22628 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
22629 (help-print-return-message): Don't set help-window.
22630 (resize-temp-buffer-window): Rewrite cod eand doc-string.
22631 (help-window-setup-finish): Remove.
22632 (help-window-display-message, help-window-setup)
22633 (with-help-window): Major rewrite based on new
22634 display-buffer-window variable.
22635
22636 * help-mode.el (help-mode-finish): Remove help-window related
22637 code.
22638
22639 * view.el (view-exits-all-viewing-windows): Remove reference to
22640 view-return-to-alist in doc-string.
22641 (view-return-to-alist): Make obsolete.
22642 (view-buffer): Call pop-to-buffer-same-window and remove
22643 undo-window code.
22644 (view-buffer-other-window): Call pop-to-buffer-other-window and
22645 simplify code. Ignore second argument.
22646 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
22647 simplify code. Ignore second argument.
22648 (view-return-to-alist-update): Make obsolete.
22649 (view-mode-enter): Rename second argument to QUIT-RESTORE.
22650 Rewrite using quit-restore window parameters.
22651 (view-mode-exit): Rename second argument to EXIT-ONLY.
22652 Rewrite using quit-restore-window.
22653 (View-exit, View-exit-and-edit, View-leave, View-quit)
22654 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
22655 appropriate arguments.
22656 (view-end-message): Use quit-restore window parameter.
22657
22658 * window.el (display-buffer-function): Rewrite doc-string.
22659 (display-buffer-window, display-buffer-alist): New variables.
22660 (display-buffer-split-specifiers)
22661 (display-buffer-side-specifiers)
22662 (display-buffer-macro-specifiers): New constants.
22663 (display-buffer-even-window-sizes, display-buffer-set-height)
22664 (display-buffer-set-width, display-buffer-select-window)
22665 (display-buffer-in-window, display-buffer-reuse-window)
22666 (display-buffer-split-window-1, display-buffer-split-window)
22667 (display-buffer-split-atom-window, display-buffer-pop-up-window)
22668 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
22669 (display-buffer-in-side-window, normalize-buffer-to-display)
22670 (display-buffer-normalize-specifiers-1)
22671 (display-buffer-normalize-specifiers-2)
22672 (display-buffer-normalize-specifiers, display-buffer-frame):
22673 New functions.
22674 (display-buffer): Major rewrite.
22675 (display-buffer-other-window, display-buffer-other-frame)
22676 (pop-to-buffer, switch-to-buffer-other-window)
22677 (switch-to-buffer-other-frame): Rewrite.
22678 (display-buffer-same-window, display-buffer-same-frame)
22679 (display-buffer-same-frame-other-window)
22680 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
22681 (pop-to-buffer-other-window)
22682 (pop-to-buffer-same-frame-other-window)
22683 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
22684 (switch-to-buffer-other-window-same-frame): New functions.
22685 (same-window-p, special-display-p): Rewrite disabling warnings.
22686 Make obsolete.
22687 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
22688 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
22689 Make obsolete
22690 (same-window-buffer-names, same-window-regexps)
22691 (special-display-frame-alist, special-display-popup-frame)
22692 (special-display-function, special-display-buffer-names)
22693 (special-display-regexps, pop-up-frame-alist)
22694 (pop-up-frame-function, split-window-preferred-function)
22695 (split-height-threshold, split-width-threshold)
22696 (even-window-heights): Make obsolete.
22697
22698 2011-06-12 Glenn Morris <rgm@gnu.org>
22699
22700 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
22701 Misc simplifications.
22702
22703 2011-06-12 Martin Rudalics <rudalics@gmx.at>
22704
22705 * window.el (window-safely-shrinkable-p): Restore function which
22706 was inadvertently removed in change from 2011-06-11. Declare as
22707 obsolete.
22708
22709 * calendar/calendar.el (calendar-generate-window):
22710 Use window-iso-combined-p instead of combination of one-window-p and
22711 window-safely-shrinkable-p.
22712
22713 2011-06-12 Glenn Morris <rgm@gnu.org>
22714
22715 * progmodes/fortran.el (fortran-mode-syntax-table):
22716 * progmodes/f90.el (f90-mode-syntax-table):
22717 Set % to punctuation. (Bug#8820)
22718 (f90-find-tag-default): Remove, no longer needed.
22719
22720 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
22721
22722 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
22723
22724 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
22725
22726 * image.el (image-animated-p): Return animation delay in seconds.
22727 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
22728 (image-animate-timeout): Remove DELAY argument. Don't assume
22729 every subimage has the same delay; get it from image-animated-p.
22730 (image-animate): Caller changed.
22731
22732 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
22733
22734 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
22735 to ignored backtrace functions.
22736
22737 2011-06-11 Glenn Morris <rgm@gnu.org>
22738
22739 * calendar/appt.el (appt-disp-window-function): Doc fix.
22740 (appt-check): Handle overlapping appointments. (Bug#8337)
22741
22742 2011-06-11 Martin Rudalics <rudalics@gmx.at>
22743
22744 * window.el (window-tree-1, window-tree): New functions, moving
22745 the latter to window.el.
22746 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
22747 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
22748 (bw-refresh-edges): Remove.
22749 (balance-windows-1, balance-windows-2): New functions.
22750 (balance-windows): Rewrite in terms of window tree functions,
22751 balance-windows-1 and balance-windows-2.
22752 (bw-adjust-window): Remove.
22753 (balance-windows-area-adjust): New function with functionality of
22754 bw-adjust-window but using resize-window.
22755 (set-window-text-height): Rewrite doc-string.
22756 Use normalize-live-window and resize-window.
22757 (enlarge-window-horizontally, shrink-window-horizontally):
22758 Rename argument to DELTA.
22759 (window-buffer-height): New function.
22760 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
22761 Rewrite using new window resize routines.
22762 (kill-buffer-and-window, mouse-autoselect-window-select):
22763 Use ignore-errors instead of condition-case.
22764 (quit-window): Call delete-frame instead of delete-windows-on
22765 for the only buffer on frame.
22766
22767 2011-06-10 Martin Rudalics <rudalics@gmx.at>
22768
22769 * loadup.el (top-level): Load window before files for the sake
22770 of replace-buffer-in-windows.
22771
22772 * files.el (read-buffer-to-switch)
22773 (switch-to-buffer-other-window)
22774 (switch-to-buffer-other-frame, display-buffer-other-frame):
22775 Move to window.el.
22776
22777 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
22778 (previous-buffer): Move to window.el.
22779
22780 * bindings.el (unbury-buffer): Move to window.el.
22781
22782 * window.el (delete-other-windows-vertically): Move after
22783 definition of delete-other-windows.
22784 (other-window, delete-windows-on, replace-buffer-in-windows):
22785 Move here from window.c.
22786 (record-window-buffer, unrecord-window-buffer)
22787 (set-window-buffer-start-and-point, switch-to-prev-buffer)
22788 (switch-to-next-buffer): New functions.
22789 (get-next-valid-buffer, last-buffer, next-buffer): Move here
22790 from simple.el. Call switch-to-next-buffer.
22791 (previous-buffer): Move here from simple.el.
22792 Call switch-to-prev-buffer.
22793 (bury-buffer): Move here from buffer.c. Switch to previous
22794 buffer when window cannot be deleted.
22795 (unbury-buffer): Move here from bindings.el.
22796 (ctl-x-map): Move binding for other-window from window.c to
22797 here.
22798 (read-buffer-to-switch, switch-to-buffer-other-window)
22799 (switch-to-buffer-other-frame): Move here from files.el.
22800 (normalize-buffer-to-switch-to): New functions.
22801 (switch-to-buffer): Move here from buffer.c.
22802 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
22803
22804 2011-06-10 Martin Rudalics <rudalics@gmx.at>
22805
22806 * window.el (window-min-height, window-min-width): Move here
22807 from window.c. Add defcustoms and rewrite doc-strings.
22808 (resize-mini-window, resize-window): New functions.
22809 (adjust-window-trailing-edge, enlarge-window, shrink-window):
22810 Move here from window.c.
22811 (maximize-window, minimize-window): New functions.
22812 (delete-window, delete-other-windows, split-window): Move here
22813 from window.c.
22814 (window-split-min-size): New function.
22815 (split-window-keep-point): Mention split-window-above-each-other
22816 instead of split-window-vertically.
22817 (split-window-above-each-other, split-window-vertically):
22818 Rename split-window-vertically to split-window-above-each-other
22819 and provide defalias for old definition.
22820 (split-window-side-by-side, split-window-horizontally):
22821 Rename split-window-horizontally to split-window-side-by-side
22822 and provide defalias for the old definition.
22823 (ctl-x-map): Move bindings for delete-window,
22824 delete-other-windows and enlarge-window here from window.c.
22825 Replace bindings for split-window-vertically and
22826 split-window-horizontally by bindings for
22827 split-window-above-each-other and split-window-side-by-side.
22828
22829 * cus-start.el (all): Remove entries for window-min-height and
22830 window-min-width. Add entries for window-splits and
22831 window-nest.
22832
22833 2011-06-09 Glenn Morris <rgm@gnu.org>
22834
22835 * calendar/appt.el (appt-mode-line): New function.
22836 (appt-check, appt-disp-window): Use it.
22837
22838 * files.el (hack-one-local-variable-eval-safep):
22839 Allow minor-modes with explicit +/-1 arguments.
22840
22841 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
22842
22843 * term/xterm.el (xterm): Add defgroup.
22844 (xterm-extra-capabilities): Add defcustom to supply known xterm
22845 capabilities, skip querying them, or query them (default).
22846 (terminal-init-xterm): Use it.
22847 (terminal-init-xterm-modify-other-keys): New function to set up
22848 modifyOtherKeys support to simplify `terminal-init-xterm'.
22849
22850 2011-06-09 Martin Rudalics <rudalics@gmx.at>
22851
22852 * window.el (resize-window-reset, resize-window-reset-1)
22853 (resize-subwindows-skip-p, resize-subwindows-normal)
22854 (resize-subwindows, resize-other-windows, resize-this-window)
22855 (resize-root-window, resize-root-window-vertically)
22856 (window-deletable-p, window-or-subwindow-p)
22857 (frame-root-window-p): New functions.
22858
22859 2011-06-09 Glenn Morris <rgm@gnu.org>
22860
22861 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
22862 (ange-ftp-get-files): Use it.
22863
22864 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
22865
22866 * mail/sendmail.el (mail-recover-1, mail-recover):
22867 * files.el (recover-file, recover-session):
22868 Handle dired-listing-switches not being just a single short option.
22869
22870 2011-06-09 Glenn Morris <rgm@gnu.org>
22871
22872 * calendar/appt.el (appt-display-message, appt-disp-window):
22873 Handle lists of appointments.
22874
22875 2011-06-08 Martin Rudalics <rudalics@gmx.at>
22876
22877 * window.el (one-window-p): Move down in code.
22878 Rewrite doc-string.
22879 (window-current-scroll-bars): Rewrite doc-string.
22880 Normalize live window argument.
22881 (walk-windows, get-window-with-predicate, count-windows):
22882 Rewrite doc-string. Use window-list-1.
22883 (window-in-direction-2, window-in-direction, get-mru-window):
22884 New functions.
22885
22886 2011-06-08 Reuben Thomas <rrt@sc3d.org>
22887
22888 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
22889 Doc fix (Bug#8713).
22890
22891 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
22892
22893 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
22894
22895 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
22896
22897 * loadhist.el (unload-feature-special-hooks):
22898 Add `comint-output-filter-functions'.
22899
22900 2011-06-08 Ivan Kanis <gnu@kanis.fr>
22901
22902 * calendar/appt.el (appt-check): Move some initializations into the let.
22903
22904 2011-06-08 Martin Rudalics <rudalics@gmx.at>
22905
22906 * window.el (window-height): Defalias to window-total-height.
22907 (window-width): Defalias to window-body-width.
22908
22909 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
22910
22911 * image-mode.el (image-toggle-animation): New command.
22912 (image-mode-map): Bind it to RET.
22913 (image-mode): Update message.
22914 (image-toggle-display-image): Avoid a spurious cache flush.
22915 (image-transform-rotation): Doc fix.
22916 (image-transform-properties): Return quickly in the normal case.
22917 (image-animate-loop): Rename from image-animate-max-time.
22918
22919 * image.el (image-animate-max-time): Move to image-mode.el.
22920 (create-animated-image): Remove unnecessary function.
22921 (image-animate): Rename from image-animate-start. New arg.
22922 (image-animate-stop): Remove; just use image-animate-timer.
22923 (image-animate-timer): Use car-safe.
22924 (image-animate-timeout): Rename argument.
22925
22926 2011-06-07 Martin Rudalics <rudalics@gmx.at>
22927
22928 * window.el (get-lru-window, get-largest-window): Move here from
22929 window.c. Rename first argument to ALL-FRAMES.
22930 Rephrase doc-strings.
22931 (get-buffer-window-list): Rewrite using window-list-1.
22932 Rephrase doc-string.
22933 (window-safe-min-height, window-safe-min-width): New constants.
22934 (window-size-ignore, window-min-size, window-min-size-1)
22935 (window-sizable, window-sizable-p, window-size-fixed-1)
22936 (window-size-fixed-p, window-min-delta-1, window-min-delta)
22937 (window-max-delta-1, window-max-delta, window-resizable)
22938 (window-resizable-p, window-total-height, window-total-width)
22939 (window-body-width): New functions.
22940 (window-full-height-p, window-full-width-p): Rewrite using
22941 window-total-size.
22942 (window-body-height): Rewrite using window-body-size.
22943
22944 2011-06-06 Martin Rudalics <rudalics@gmx.at>
22945
22946 * window.el (window-right, window-left, window-child)
22947 (window-child-count, window-last-child, window-any-p)
22948 (normalize-live-buffer, normalize-live-frame)
22949 (normalize-any-window, normalize-live-window)
22950 (window-iso-combination-p, window-iso-combined-p)
22951 (window-iso-combinations)
22952 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
22953 (windows-with-parameter, window-with-parameter)
22954 (window-atom-root, make-window-atom, window-atom-check-1)
22955 (window-atom-check, window-side-check, window-check):
22956 New functions.
22957 (ignore-window-parameters, window-sides, window-sides-vertical)
22958 (window-sides-slots): New variables.
22959 (window-size-fixed): Move down in code. Minor doc-string fix.
22960
22961 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
22962
22963 * comint.el (comint-dynamic-complete-as-filename)
22964 (comint-dynamic-complete-filename): Correctly call
22965 completion-in-region.
22966
22967 2011-06-05 Deniz Dogan <deniz@dogan.se>
22968
22969 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
22970 in last change.
22971
22972 2011-06-05 Deniz Dogan <deniz@dogan.se>
22973
22974 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
22975 (rcirc): Use it to prompt for encryption.
22976
22977 2011-06-05 Roland Winkler <winkler@gnu.org>
22978
22979 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
22980 (bibtex-search-entries): New command bound to C-c C-a.
22981 (bibtex-display-entries): New function.
22982
22983 2011-06-05 Roland Winkler <winkler@gnu.org>
22984
22985 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
22986 (bibtex-insert-kill): After yanking insert newline if necessary.
22987 (bibtex-initialize): Call bibtex-string-files-init only once.
22988 (bibtex-mode): Do not call easy-menu-add.
22989 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
22990 (bibtex-yank): Set arg properly if nil.
22991
22992 2011-06-05 Roland Winkler <winkler@gnu.org>
22993
22994 * textmodes/bibtex.el (bibtex-search-entry-globally):
22995 New variable.
22996 (bibtex-search-entry): Use it.
22997
22998 2011-06-05 Roland Winkler <winkler@gnu.org>
22999
23000 * textmodes/bibtex.el (bibtex-entry-format): New option
23001 sort-fields.
23002 (bibtex-format-entry, bibtex-reformat): Honor this option.
23003 (bibtex-parse-entry): Return fields in proper order.
23004
23005 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
23006
23007 * doc-view.el (doc-view-remove-if): Move computation of result out
23008 of `dolist' to silence misleading lexical-binding warning.
23009
23010 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
23011
23012 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
23013 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
23014
23015 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
23016
23017 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
23018 "SunOS 5.10".
23019
23020 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
23021
23022 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
23023 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
23024 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
23025 (tramp-parse-putty):
23026 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
23027 (tramp-completion-function-alist-ssh)
23028 (tramp-completion-function-alist-telnet)
23029 (tramp-completion-function-alist-su)
23030 (tramp-completion-function-alist-putty): Set `tramp-autoload'
23031 cookie.
23032
23033 * net/tramp-ftp.el:
23034 * net/tramp-sh.el:
23035 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
23036 load "tramp.el" `tramp-set-completion-function'.
23037
23038 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
23039
23040 * shell.el: Require and use pcomplete.
23041 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
23042 (shell-completion-vars): Set pcomplete-default-completion-function.
23043
23044 2011-06-04 Deniz Dogan <deniz@dogan.se>
23045
23046 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
23047 `memq' (Bug#8799).
23048
23049 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
23050
23051 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
23052
23053 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
23054
23055 * bs.el (bs--mark-unmark, bs--nth-wrapper):
23056 * mpc.el (mpc-select-extend, mpc-songpointer-context):
23057 * vc/log-view.el (log-view-beginning-of-defun):
23058 * vc/smerge-mode.el (smerge-apply-resolution-patch)
23059 (smerge-refine-forward, smerge-refine-chopup-region):
23060 Silence warning for unused `dotimes' counter variables.
23061
23062 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
23063
23064 * net/tramp.el (tramp-with-progress-reporter): Rename from
23065 with-progress-reporter. Use `declare'.
23066 * net/tramp-smb.el:
23067 * net/tramp-sh.el:
23068 * net/tramp-gvfs.el: Update all uses.
23069
23070 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
23071
23072 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
23073 buffer isn't killed before making it current.
23074
23075 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
23076
23077 Silence various byte-compiler warnings.
23078 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
23079 `access-type' and new obsolescence format.
23080 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
23081 new format.
23082 (byte-compile-check-variable): New `access-type' argument.
23083 Only warn if the access-type is obsolete.
23084 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
23085 (byte-compile-variable-set): Adjust callers.
23086 * help-fns.el (describe-variable): Adjust to new obsolescence format.
23087 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
23088 setting it as obsolete.
23089 * simple.el (minibuffer-completing-symbol):
23090 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
23091 access as obsolete.
23092 * minibuffer.el (minibuffer-completing-file-name): Don't make it
23093 obsolete yet.
23094 * international/quail.el (quail-mouse-choose-completion): Remove unused
23095 code referring to obsolete var.
23096 (quail-choose-completion-string): Remove.
23097 * server.el (server-clients-with, server-kill-buffer-query-function)
23098 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
23099 * proced.el (proced-send-signal):
23100 * emacs-lisp/lisp.el (lisp-complete-symbol):
23101 Replace completion-annotate-function with completion-extra-properties.
23102
23103 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
23104
23105 * simple.el (goto-line): Use read-number.
23106 (overriding-map-is-bound): Remove.
23107 (saved-overriding-map): Change default.
23108 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
23109 Take the map as argument.
23110 (universal-argument, negative-argument, digit-argument): Use it.
23111 (restore-overriding-map): Adjust.
23112 (do-auto-fill): Use fill-forward-paragraph.
23113 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
23114
23115 * minibuffer.el (minibuffer-inactive-mode-map): New var.
23116 (minibuffer-inactive-mode): New major mode.
23117 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
23118 the *Messages* buffer" hack.
23119 (mouse-popup-menubar): Don't burp if the event is a normal key.
23120
23121 Miscellaneous tweaks.
23122 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
23123 lexical scoping as in subr.el's dolist and dotimes.
23124 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
23125 Silence compiler warning.
23126 * thingatpt.el (forward-whitespace): Trivial coding style fix.
23127 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
23128 * international/ccl.el (ccl-compile): Trivial simplification.
23129 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
23130 * emacs-lisp/testcover.el (testcover-end): Remove spurious
23131 `printflag' argument.
23132 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
23133 Purecopy the whole obsolescence data.
23134
23135 2011-06-01 Leo Liu <sdl.web@gmail.com>
23136
23137 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
23138 improve doc-string as suggested by Marco Pessotto
23139 <melmothx@gmail.com>.
23140 (rcirc-print): Fix last change.
23141
23142 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
23143
23144 * minibuffer.el (complete-with-action): Return nil for the metadata and
23145 boundaries of non-functional tables.
23146 (completion-table-dynamic): Return nil for the metadata.
23147 (completion-table-with-terminator): Add default case, using
23148 complete-with-action.
23149 (completion--metadata): New function.
23150 (completion-all-sorted-completions, minibuffer-completion-help): Use it
23151 to try and avoid pathological performance problems.
23152 (completion--embedded-envvar-table): Return `category' metadata.
23153
23154 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
23155
23156 * subr.el (process-alive-p): New tiny convenience function.
23157
23158 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
23159
23160 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
23161 content but also its previous major mode.
23162
23163 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
23164
23165 * emacs-lisp/debug.el (debug): Restore the previous content of the
23166 *Backtrace* buffer when we exit with C-M-c.
23167
23168 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
23169
23170 * minibuffer.el: Add metadata method to completion tables.
23171 (completion-category-overrides): New defcustom.
23172 (completion-metadata, completion--field-metadata)
23173 (completion-metadata-get, completion--styles)
23174 (completion--cycle-threshold): New functions.
23175 (completion-try-completion, completion-all-completions):
23176 Add `metadata' argument to choose completion-styles.
23177 (completion--do-completion): Use metadata to choose cycling.
23178 (completion-all-sorted-completions): Use metadata for sorting.
23179 Remove :completion-cycle-penalty which is not needed any more.
23180 (completion--try-word-completion): Add `metadata' argument.
23181 (minibuffer-completion-help): Check metadata for annotation function
23182 and sorting.
23183 (completion-file-name-table): Return `category' metadata.
23184 (minibuffer-completing-file-name): Make obsolete.
23185 * simple.el (minibuffer-completing-symbol): Make obsolete.
23186 * icomplete.el (icomplete-completions): Pass new `metadata' param to
23187 completion-try-completion.
23188
23189 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
23190
23191 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
23192
23193 2011-05-30 Leo Liu <sdl.web@gmail.com>
23194
23195 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
23196 (rcirc-print): Decode all incoming messages (bug#8744).
23197 (rcirc-decode-coding-system): Allow value nil for automatic coding
23198 system detection.
23199
23200 2011-06-01 Glenn Morris <rgm@gnu.org>
23201
23202 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
23203
23204 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
23205
23206 * image.el (image-animate-max-time): Allow nil and t values.
23207 Default to nil.
23208 (create-animated-image): Doc fix.
23209 (image-animate-start): Remove second arg; just use
23210 image-animate-max-time.
23211 (image-animate-timeout): Doc fix. Args changed.
23212
23213 * image-mode.el (image-toggle-display-image): Ensure that the
23214 image spec passed to the animate timer is the same object as in
23215 the buffer's display property (Bug#6981).
23216 (image-transform-properties): Doc fix.
23217
23218 * image.el (image-animate-max-time): Default to nil.
23219
23220 2011-05-29 Martin Rudalics <rudalics@gmx.at>
23221
23222 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
23223 entire buffer list (Bug#8184).
23224
23225 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
23226
23227 * image.el (imagemagick-types-inhibit)
23228 (imagemagick-register-types): Doc fix.
23229
23230 2011-05-29 Deniz Dogan <deniz@dogan.se>
23231
23232 * net/rcirc.el (rcirc): Use the user's stored encryption method by
23233 default.
23234
23235 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
23236
23237 * select.el: Don't perform clipboard-manager saving in hooks;
23238 leave the hooks empty.
23239
23240 2011-05-28 Leo Liu <sdl.web@gmail.com>
23241
23242 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
23243 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
23244 (occur-edit-mode): New major mode (Bug#8463).
23245 (occur-after-change-function): New function.
23246 (occur-engine): Give Occur tags a read-only property.
23247
23248 2011-05-28 Kevin Ryde <user42@zip.com.au>
23249
23250 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
23251
23252 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
23253
23254 * bindings.el (help-echo): Make the initial non-indicator dash
23255 empty on graphical terminals (Bug#7295).
23256
23257 * files.el (auto-mode-alist): Move config rule after the
23258 in-stripping one (Bug#8547).
23259
23260 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
23261
23262 * startup.el (normal-splash-screen): Remove gratuitous mode-line
23263 setting (Bug#8740).
23264
23265 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
23266
23267 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
23268 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
23269 (Bug#8539).
23270
23271 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
23272
23273 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
23274
23275 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
23276
23277 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
23278 (hs-hide-block-at-point, hs-find-block-beginning)
23279 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
23280 (Bug#8279).
23281
23282 2011-05-28 Glenn Morris <rgm@gnu.org>
23283
23284 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
23285
23286 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
23287
23288 * help-fns.el (describe-function-1): If the function is a derived
23289 major mode, print the parent mode.
23290
23291 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
23292 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
23293
23294 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
23295
23296 * minibuffer.el (completion--capf-wrapper): Check applicability before
23297 returning non-nil for non-exclusive completion data.
23298 * progmodes/etags.el (tags-completion-at-point-function):
23299 * info-look.el (info-lookup-completions-at-point): Mark as
23300 non-exclusive.
23301 (info-complete): Adjust accordingly.
23302
23303 * info-look.el: Convert to lexical-binding and completion-at-point.
23304 (info-lookup-completions-at-point): New function.
23305 (info-complete): Use it and completion-in-region.
23306
23307 2011-05-28 Drew Adams <drew.adams@oracle.com>
23308
23309 * isearch.el: Let M-e start with point at the first mismatched char.
23310 (isearch-fail-pos): New function.
23311 (isearch-edit-string): Use it.
23312
23313 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
23314
23315 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
23316
23317 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
23318
23319 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
23320 traversal functions for avl-trees.
23321 (avl-tree--stack): New struct.
23322 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
23323 (avl-tree-enter): Add optional `updatefun' arg.
23324 (avl-tree--do-enter): Add optional `updatefun' arg.
23325 Change return value.
23326 (avl-tree-delete): Add optional `test' and `nilflag' args.
23327 (avl-tree--do-delete): Add `test' and `nilflag' args.
23328 Change return value.
23329 (avl-tree-member): Add optional `nilflag'
23330 (avl-tree-member-p): New function.
23331 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
23332 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
23333 (avl-tree-stack-empty-p): New functions.
23334
23335 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
23336 avl-tree--del-balance1 and make it work both ways.
23337 (avl-tree--del-balance2): Remove.
23338 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
23339 make it work both ways.
23340 (avl-tree--enter-balance2): Remove.
23341 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
23342 New macros.
23343 (avl-tree--mapc, avl-tree-map): Add direction argument.
23344
23345 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
23346
23347 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
23348
23349 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
23350
23351 * select.el: Support clipboard managers with built-in function
23352 x-clipboard-manager-save, via delete-frame-functions and
23353 kill-emacs-hook.
23354 (xselect-convert-to-targets): Add MULTIPLE target to list.
23355 (xselect-convert-to-save-targets): New function.
23356
23357 2011-05-27 Kenichi Handa <handa@m17n.org>
23358
23359 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
23360 let-binding rfc2047-encode-encoded-words to nil.
23361
23362 2011-05-27 Glenn Morris <rgm@gnu.org>
23363
23364 * mail/emacsbug.el: Don't require url-util.
23365
23366 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
23367
23368 * files.el (set-auto-mode):
23369 Also respect mode: entries at the end of the file. (Bug#8586)
23370
23371 2011-05-26 Glenn Morris <rgm@gnu.org>
23372
23373 * files.el (hack-local-variables-prop-line, hack-local-variables):
23374 Downcase mode names, as seems to be traditional.
23375 (hack-local-variables, hack-local-variables-apply): Doc fixes.
23376
23377 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
23378 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
23379
23380 2011-05-25 Julien Danjou <julien@danjou.info>
23381
23382 * textmodes/rst.el (rst-define-level-faces): Do not define face
23383 symbol if it is already defined.
23384
23385 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
23386
23387 * play/5x5.el (5x5-new-game, 5x5-randomize):
23388 Reset 5x5-solver-output to nil when a new grid is cast.
23389 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
23390 these debugging traces, as defmacro breaks the compiled code.
23391
23392 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
23393
23394 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
23395
23396 2011-05-24 Leo Liu <sdl.web@gmail.com>
23397
23398 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
23399 (vc-bzr-sha1): Adapt.
23400
23401 * sha1.el: Remove. Function `sha1' is now builtin.
23402
23403 * bindings.el: Provide sha1 feature.
23404
23405 2011-05-24 Kenichi Handa <handa@m17n.org>
23406
23407 * mail/sendmail.el: Require `rfc2047'.
23408 (mail-insert-from-field): Do not perform RFC2047 encoding.
23409 (mail-encode-header): New function.
23410 (sendmail-send-it): Set buffer-file-coding-system of the work
23411 buffer to the return value of select-message-coding-system.
23412 Call mail-encode-header.
23413
23414 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
23415
23416 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
23417
23418 * mail/supercite.el (sc-default-cite-frame):
23419 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
23420
23421 2011-05-24 Glenn Morris <rgm@gnu.org>
23422
23423 * progmodes/python.el (brm-menu): Declare.
23424
23425 * emulation/viper.el (viper-set-hooks): Declare.
23426
23427 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
23428 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
23429 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
23430 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
23431 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
23432 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
23433
23434 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
23435
23436 Add an :exit-function for completion-at-point.
23437
23438 * minibuffer.el (completion--done): New fun.
23439 (completion--do-completion): Use it. New arg `expect-exact'.
23440 (minibuffer-complete, minibuffer-complete-word): Don't output message,
23441 since completion--do-completion does it for us now.
23442 (minibuffer-force-complete): Use completion--done and
23443 completion--replace. Handle sole-completion case with more care.
23444 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
23445 (completion-extra-properties): New var.
23446 (completion-annotate-function): Make obsolete.
23447 (minibuffer-completion-help): Adjust accordingly.
23448 Use completion-list-insert-choice-function.
23449 (completion-at-point, completion-help-at-point):
23450 Bind completion-extra-properties.
23451 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
23452 * simple.el (completion-list-insert-choice-function): New var.
23453 (completion-setup-function): Preserve it.
23454 (choose-completion): Pay attention to it, shuffle the code a bit.
23455 (choose-completion-string): New arg `insert-function'.
23456
23457 * textmodes/bibtex.el: Convert to lexical binding.
23458 (bibtex-mode-map): Use completion-at-point.
23459 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
23460 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
23461 (bibtex-complete): Define as obsolete alias.
23462 (bibtex-complete-internal): Remove.
23463 (bibtex-format-entry): Remove unused sub-group in regexp.
23464 * shell.el (shell--command-completion-data)
23465 (shell-environment-variable-completion):
23466 * pcomplete.el (pcomplete-completions-at-point):
23467 * comint.el (comint--complete-file-name-data): Use :exit-function
23468 instead of completion-table-with-terminator so it also works for
23469 choose-completion.
23470
23471 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
23472
23473 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
23474
23475 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
23476 (bug#8710).
23477
23478 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
23479
23480 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
23481
23482 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
23483 customization variable and implement: If non-nil, auto-fill will
23484 be inhibited while on topic's header line.
23485
23486 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
23487
23488 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
23489 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
23490 always have a solution in grid size = 5 cases.
23491 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
23492 (5x5-solver-output, 5x5-log-buffer): New vars.
23493 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
23494 Make these variables buffer local to achieve 5x5 multi-session-ness.
23495 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
23496 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
23497 (5x5-solve-suggest): New funs.
23498 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
23499 randomize a grid so that we ensure that there is always a solution.
23500 (5x5-make-random-grid): Allow other movement than flipping.
23501
23502 2011-05-23 Kevin Ryde <user42@zip.com.au>
23503
23504 * emacs-lisp/advice.el (ad-read-advised-function):
23505 Use `function-called-at-point' as the default, if it has
23506 advice and passes PREDICATE.
23507
23508 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
23509
23510 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
23511 byte-compile-lambda if it's actually a lambda.
23512
23513 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
23514 Fix function quoting. Use backquote better.
23515
23516 2011-05-22 Yuanle Song <sylecn@gmail.com>
23517
23518 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
23519 matching (Bug#8516).
23520
23521 2011-05-22 Jari Aalto <jari.aalto@cante.net>
23522
23523 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
23524 different face (Bug#8178).
23525
23526 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
23527
23528 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
23529 defface (Bug#8144).
23530
23531 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
23532
23533 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
23534 funcall as well (bug#8712). Warn when performing those conversions.
23535 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
23536
23537 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
23538
23539 2011-05-22 Glenn Morris <rgm@gnu.org>
23540
23541 * files.el (hack-local-variables-prop-line): Small simplifications.
23542 (hack-local-variables, hack-local-variables-prop-line):
23543 If MODE-ONLY, return the mode, rather than just `t'.
23544
23545 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
23546
23547 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
23548
23549 2011-05-21 Glenn Morris <rgm@gnu.org>
23550
23551 * files.el (hack-local-variables-prop-line, hack-local-variables):
23552 If only interested in the mode, don't bother doing the other stuff.
23553
23554 * image-mode.el (image-after-revert-hook):
23555 Redraw all frames on which the image is visible. (Bug#8567)
23556
23557 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
23558
23559 * wid-edit.el (widget-checklist-match-inline):
23560 Fix 2011-04-19 change. (Bug#8649)
23561
23562 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
23563
23564 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
23565 Also allow singlespace after single-letter capitals followed by a dot.
23566
23567 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
23568 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
23569
23570 2011-05-20 Nix <nix@esperi.org.uk>
23571
23572 * files.el (basic-save-buffer-2):
23573 Fix handling of break-hardlink-on-save with non-existent files.
23574
23575 2011-05-19 Deniz Dogan <deniz@dogan.se>
23576
23577 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
23578 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
23579
23580 2011-05-19 Glenn Morris <rgm@gnu.org>
23581
23582 * progmodes/f90.el (f90-type-def-re):
23583 Handle "type, bind(c)". (Bug#8691)
23584
23585 * emacs-lisp/autoload.el (batch-update-autoloads):
23586 Set autoload-excludes by parsing loadup.el rather than Makefiles.
23587
23588 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
23589
23590 * net/tramp.el (tramp-process-actions): Set "first-password-request"
23591 property for the correct connection in case of multihops.
23592
23593 2011-05-18 Glenn Morris <rgm@gnu.org>
23594
23595 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
23596 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
23597
23598 Rationalize calendar handling of day and month abbrev-arrays.
23599 * calendar/calendar.el (calendar-customized-p): New function.
23600 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
23601 (calendar-day-name-array, calendar-month-name-array): Doc fix.
23602 Add :set function.
23603 (calendar-abbrev-length, calendar-day-abbrev-array)
23604 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
23605 (calendar-day-abbrev-array, calendar-month-abbrev-array):
23606 Elements may no longer be nil.
23607 (calendar-day-name, calendar-month-name):
23608 Update for changed nature of abbrev arrays.
23609 * calendar/diary-lib.el (diary-name-pattern):
23610 Update for changed nature of abbrev arrays.
23611 (diary-mark-entries-1): Update calendar-make-alist calls.
23612 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
23613 * calendar/cal-html.el (cal-html-day-abbrev-array):
23614 Simply inherit from calendar-day-abbrev-array.
23615
23616 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
23617
23618 * progmodes/grep.el (grep-mode): Disable default
23619 compilation-directory-matcher setting (bug#8684).
23620
23621 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
23622
23623 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
23624 instead of "head" and "tail". There were problems with SunOS 5.9,
23625 and it performs better.
23626
23627 2011-05-17 Glenn Morris <rgm@gnu.org>
23628
23629 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
23630
23631 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
23632 Replace obsolete function.
23633
23634 * shell.el (pcomplete-parse-arguments-function): Declare.
23635
23636 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
23637 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
23638 (appt-check): Doc fixes.
23639 (appt-disp-window-function, appt-delete-window-function):
23640 Remove needless special case in custom :type.
23641 (appt-display-count): Default to 0, not nil.
23642 (appt-check): Reset appt-display-count to 0, not nil.
23643
23644 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
23645
23646 * progmodes/python.el (python-font-lock-keywords):
23647 Add the Python 3.X keyword "nonlocal" (bug#8639).
23648
23649 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
23650
23651 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
23652
23653 2011-05-16 Kevin Ryde <user42@zip.com.au>
23654
23655 * info-look.el (makefile-automake-mode): New setups, looking in
23656 automake manual, then makefile-mode.
23657 (makefile-mode): Remove automake manual, have it just in
23658 makefile-automake-mode since there's various things different or
23659 not relevant to plain make.
23660 (makefile-mode): Remove "other-modes" non-existent automake-mode,
23661 believe a hypothetical automake-mode would go to makefile-mode,
23662 not the other way around.
23663
23664 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
23665
23666 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
23667 hunk-end tags (Bug#8672).
23668
23669 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
23670 vc-annotate-show-diff-revision-at-line (Bug#8671).
23671
23672 2011-05-14 Glenn Morris <rgm@gnu.org>
23673
23674 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
23675 in the middle of an existing one with multiple authors. (Bug#8645)
23676 (change-log-font-lock-keywords): Also handle multiple author lines
23677 with leading tabs. (Bug#8644)
23678
23679 * calendar/appt.el (appt-check): Rename some local variables.
23680 Some simplification/reordering.
23681
23682 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
23683 (feedmail-sendmail-f-doesnt-sell-me-out)
23684 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
23685 (feedmail-debug-sit-for, feedmail-queue-express-hook)
23686 (feedmail-queue-runner-message-sender): Set :version.
23687 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
23688 (bbdb-dwim-net-address, vm-mail): Declare.
23689 (feedmail-binmail-gnulinuxish-template):
23690 Rename from feedmail-binmail-linuxish-template.
23691 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
23692 Use insert-buffer-substring.
23693
23694 2011-05-14 Bill Carpenter <bill@carpenter.org>
23695
23696 * mail/feedmail.el (feedmail-patch-level): Increase.
23697 (feedmail-debug): New custom group.
23698 (feedmail-confirm-outgoing-timeout)
23699 (feedmail-sendmail-f-doesnt-sell-me-out)
23700 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
23701 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
23702 (feedmail-sender-line, feedmail-from-line)
23703 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
23704 (feedmail-spray-this-address)
23705 (feedmail-spray-address-fiddle-plex-list)
23706 (feedmail-queue-use-send-time-for-date)
23707 (feedmail-queue-use-send-time-for-message-id)
23708 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
23709 (feedmail-buffer-eating-function):
23710 Doc fixes.
23711 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
23712 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
23713 (feedmail-message-action-scroll-down): New functions.
23714 (feedmail-queue-directory, feedmail-queue-draft-directory):
23715 Use expand-file-name.
23716 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
23717 Remove C-v help entry.
23718 (feedmail-queue-buffer-file-name): New variable.
23719 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
23720 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
23721 (feedmail-message-action-send-strong, feedmail-message-action-edit)
23722 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
23723 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
23724 (feedmail-message-action-toggle-spray)
23725 (feedmail-run-the-queue-no-prompts)
23726 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
23727 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
23728 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
23729 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
23730 (feedmail-envelope-deducer, feedmail-fiddle-from)
23731 (feedmail-fiddle-sender, feedmail-default-date-generator)
23732 (feedmail-fiddle-date, feedmail-fiddle-message-id)
23733 (feedmail-fiddle-spray-address)
23734 (feedmail-fiddle-list-of-spray-fiddle-plexes)
23735 (feedmail-fiddle-list-of-fiddle-plexes)
23736 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
23737 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
23738 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
23739 Change default. Doc fix.
23740 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
23741 (feedmail-binmail-linuxish-template): New constant.
23742 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
23743 Respect feedmail-sendmail-f-doesnt-sell-me-out.
23744 (feedmail-send-it): Add debug call.
23745 Use feedmail-queue-buffer-file-name, and
23746 feedmail-send-it-immediately-wrapper.
23747 (feedmail-message-action-send): Add debug call.
23748 Use feedmail-send-it-immediately-wrapper.
23749 (feedmail-queue-express-to-queue): Add debug call.
23750 Run feedmail-queue-express-hook.
23751 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
23752 (feedmail-message-action-help-blat):
23753 Rename from feedmail-queue-send-edit-prompt-help-first.
23754 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
23755 Check line-endings. Handle errors better.
23756 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
23757 Doc fix. Add debug call.
23758 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
23759 Use feedmail-queue-send-edit-prompt-inner.
23760 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
23761 (feedmail-queue-send-edit-prompt-inner): New function, extracted
23762 from feedmail-queue-send-edit-prompt.
23763 (feedmail-queue-send-edit-prompt-help)
23764 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
23765 (feedmail-tidy-up-slug): Add debug call.
23766 Respect feedmail-queue-slug-suspect-regexp.
23767 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
23768 (feedmail-dump-message-to-queue): Add debug call.
23769 Expand queue-directory.
23770 (feedmail-dump-message-to-queue): Change message slightly.
23771 Use feedmail-say-chatter.
23772 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
23773 (feedmail-send-it-immediately-wrapper): New function.
23774 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
23775 Insert empty string rather than newline. Handle full-frame case.
23776 Use catch/throw. Use feedmail-say-chatter.
23777 (feedmail-fiddle-from): Try mail-host-address.
23778 (feedmail-default-message-id-generator): Doc fix.
23779 Bind system-time-locale. Handle missing end.
23780 (feedmail-fiddle-x-mailer): Add debug call.
23781 Handle feedmail-x-mailer-line being nil.
23782 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
23783 Add debug call. Use buffer-substring-no-properties.
23784 (feedmail-say-debug, feedmail-say-chatter): New functions.
23785 (feedmail-find-eoh): Give an explicit error.
23786
23787 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
23788
23789 * net/newst-treeview.el (newsticker-treeview-face): Change default
23790 family from helvetica to sans.
23791 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
23792 etc/images/newsticker.
23793
23794 * net/newst-reader.el (newsticker-feed-face): Change default
23795 family from helvetica to sans.
23796
23797 * net/newst-plainview.el (newsticker-new-item-face)
23798 (newsticker-old-item-face, newsticker-immortal-item-face)
23799 (newsticker-obsolete-item-face, newsticker-date-face)
23800 (newsticker-statistics-face): Change default family from
23801 helvetica to sans.
23802 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
23803 etc/images/newsticker.
23804
23805 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
23806 (newsticker--process-auto-mark-filter-match): Tell user about
23807 auto-marking.
23808
23809 2011-05-13 Didier Verna <didier@xemacs.org>
23810
23811 Common Lisp indentation improvements on defmethod and lambda-lists.
23812 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
23813 TODO entries.
23814 (lisp-lambda-list-keyword-parameter-indentation)
23815 (lisp-lambda-list-keyword-parameter-alignment)
23816 (lisp-lambda-list-keyword-alignment): New customizable user options.
23817 (lisp-indent-defun-method): Improve docstring.
23818 (extended-loop-p): Fix comment.
23819 (lisp-indent-lambda-list-keywords-regexp): New variable.
23820 (lisp-indent-lambda-list): New function.
23821 (lisp-indent-259): Use it.
23822 (lisp-indent-defmethod): Support for more than one
23823 method qualifier and properly indent methods lambda-lists.
23824 (defgeneric): Provide a missing common-lisp-indent-function property.
23825
23826 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
23827
23828 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
23829 bounds for the empty string (bug#8667).
23830
23831 2011-05-13 Glenn Morris <rgm@gnu.org>
23832
23833 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
23834
23835 * mail/sendmail.el (sendmail-program): Try executable-find first.
23836 (sendmail-send-it): `sendmail-program' cannot be unbound.
23837
23838 * calendar/appt.el (appt-make-list): Simplify.
23839 (appt-time-msg-list): Doc fix.
23840 (appt-check): Change mode-line message at the time of the appointment.
23841
23842 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
23843
23844 * progmodes/ld-script.el (ld-script-keywords)
23845 (ld-script-builtins): Update keywords list.
23846
23847 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
23848
23849 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
23850
23851 * shell.el (shell-completion-vars): New function.
23852 (shell-mode):
23853 * simple.el (read-shell-command): Use it.
23854 (blink-matching-open): No need for " [...]" in minibuffer-message.
23855
23856 2011-05-12 Glenn Morris <rgm@gnu.org>
23857
23858 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
23859 (appt-check): Simplify.
23860
23861 2011-05-12 Eli Zaretskii <eliz@gnu.org>
23862
23863 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
23864 literal "/dev/null".
23865
23866 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
23867
23868 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
23869 Fix typo.
23870
23871 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
23872
23873 * progmodes/which-func.el (which-function):
23874 Use add-log-current-defun instead of add-log-current-defun-function,
23875 which might not be defined (Bug#8260).
23876
23877 2011-05-12 Glenn Morris <rgm@gnu.org>
23878
23879 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
23880 Let byte-compile-initial-macro-environment always take precedence.
23881
23882 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
23883
23884 * net/rcirc.el: Add support for SSL/TLS connections.
23885 (rcirc-server-alist): New field `encryption'.
23886 (rcirc): Check `encryption' settings.
23887 (rcirc-connect): New arg `encryption'. Use open-network-stream.
23888 Merge make-local-variable into `set'.
23889 (rcirc--connection-open-p): New function.
23890 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
23891 the process is not a network process (e.g. running gnutls-cli).
23892 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
23893 Make rcirc-(en|de)code-coding-system local here.
23894 (rcirc-mode): Merge make-local-variable into `set'.
23895 (rcirc-parent-buffer): Make permanent buffer-local.
23896 (rcirc-multiline-minor-mode): Don't do it here.
23897 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
23898 there's no server buffer.
23899
23900 2011-05-11 Glenn Morris <rgm@gnu.org>
23901
23902 * newcomment.el (comment-kill): Prefix "unused" local.
23903
23904 * term/w32console.el (get-screen-color): Declare.
23905
23906 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
23907 Handle symbol elements of byte-compile-initial-macro-environment.
23908
23909 2011-05-10 Leo Liu <sdl.web@gmail.com>
23910
23911 * bookmark.el (bookmark-bmenu-mode-map):
23912 Bind bookmark-bmenu-search to `/'.
23913
23914 * mail/footnote.el: Convert to utf-8 encoding.
23915 (footnote-unicode-string, footnote-unicode-regexp): New variable.
23916 (Footnote-unicode): New function.
23917 (footnote-style-alist): Add unicode style to the list.
23918 (footnote-style): Doc fix.
23919
23920 2011-05-10 Jim Meyering <meyering@redhat.com>
23921
23922 Fix doubled-word typos.
23923 * international/quail.el (quail-insert-kbd-layout): and and -> and
23924 * kermit.el: and and -> and
23925 * net/ldap.el (ldap-search-internal): to to -> to
23926 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
23927 * progmodes/js.el (js-mode): and and -> and
23928 * textmodes/artist.el (artist-move-to-xy): at at -> at
23929 (artist-draw-region-trim-line-endings): if if -> if
23930 And Safetyc -> Safety.
23931 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
23932
23933 2011-05-10 Glenn Morris <rgm@gnu.org>
23934 Stefan Monnier <monnier@iro.umontreal.ca>
23935
23936 * files.el (hack-one-local-variable-eval-safep):
23937 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
23938
23939 2011-05-10 Glenn Morris <rgm@gnu.org>
23940
23941 * calendar/diary-lib.el (diary-list-entries-hook)
23942 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
23943 (diary-nongregorian-marking-hook, diary-list-entries)
23944 (diary-include-other-diary-files, diary-mark-entries)
23945 (diary-mark-included-diary-files): Doc fixes.
23946
23947 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
23948
23949 * misc.el: Require tabulated-list.el during compilation.
23950
23951 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
23952
23953 * progmodes/compile.el (compilation-start):
23954 Run compilation-filter-hook for the async case too.
23955 (compilation-filter-hook): Doc fix.
23956
23957 2011-05-09 Deniz Dogan <deniz@dogan.se>
23958
23959 * wdired.el: Remove outdated installation comment. Fix usage
23960 comment.
23961
23962 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
23963
23964 * misc.el: Implement new command `list-dynamic-libraries'.
23965 (list-dynamic-libraries--loaded-only-p): New variable.
23966 (list-dynamic-libraries--refresh): New function.
23967 (list-dynamic-libraries): New command.
23968
23969 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
23970
23971 * progmodes/compile.el (compilation-error-regexp-alist-alist):
23972 Fix the ant regexp to handle end-line and end-column info from jikes.
23973 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
23974 higher priority to avoid clobbering by gnu.
23975
23976 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
23977
23978 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
23979 if the face has existing theme settings (Bug#8454).
23980
23981 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
23982
23983 * progmodes/perl-mode.el (perl-imenu-generic-expression):
23984 Only match variables declared via `my' or `our' (Bug#8261).
23985
23986 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
23987 special file names `.' and `..' (Bug#8259).
23988
23989 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
23990
23991 * progmodes/grep.el (grep-mode-font-lock-keywords):
23992 Remove buffer-changing entries.
23993 (grep-filter): New function.
23994 (grep-mode): Add it to compilation-filter-hook.
23995
23996 * progmodes/compile.el (compilation-filter-hook)
23997 (compilation-filter-start): New defvars.
23998 (compilation-filter): Call compilation-filter-hook prior to
23999 updating the process mark.
24000
24001 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
24002
24003 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
24004
24005 2011-05-07 Eli Zaretskii <eliz@gnu.org>
24006
24007 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
24008 mailclient-send-it even if window-system is nil. (Bug#8595)
24009
24010 * term/w32console.el (terminal-init-w32console):
24011 Call get-screen-color and use its output to set the frame
24012 background-mode. (Bug#8597)
24013
24014 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
24015
24016 Make bytecomp.el understand that defmethod defines funs (bug#8631).
24017 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
24018 New functions.
24019 (defgeneric, eieio--defmethod): Use them.
24020 (eieio-defgeneric): Remove.
24021 (defmethod): Call defgeneric in a way visible to the byte-compiler.
24022
24023 2011-05-07 Glenn Morris <rgm@gnu.org>
24024
24025 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
24026 Use let rather than let*.
24027 (timeclock-find-discrep): Remove unused local.
24028
24029 * calendar/diary-lib.el (diary-comment-start): Doc fix.
24030
24031 * calendar/appt.el (appt-time-msg-list): Doc fix.
24032
24033 2011-05-06 Noah Friedman <friedman@splode.com>
24034
24035 * apropos.el (apropos-print-doc): Only use
24036 emacs-lisp-docstring-fill-column when it is bound to an integer,
24037 per that variable's documentation.
24038
24039 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
24040
24041 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
24042 and warnings are not silently discarded (e.g. use -d instead of -P).
24043
24044 2011-05-06 Glenn Morris <rgm@gnu.org>
24045
24046 * calendar/appt.el (appt-message-warning-time): Doc fix.
24047 (appt-warning-time-regexp): New option.
24048 (appt-make-list): Respect appt-message-warning-time.
24049
24050 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
24051 New options.
24052 (diary-add-to-list): Strip comments from the displayed string.
24053 (diary-mode): Set comment-start and comment-end.
24054
24055 * vc/diff-mode.el (smerge-refine-subst): Declare.
24056 (diff-refine-hunk): Don't require smerge-mode when compiling.
24057
24058 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
24059
24060 * simple.el (list-processes): Return nil as the docstring says.
24061
24062 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
24063
24064 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
24065 to "".
24066 (ange-ftp-write-region, ange-ftp-insert-file-contents)
24067 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
24068 determining of binary transfer. (Bug#7383)
24069
24070 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
24071
24072 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
24073 Fix port computation bug. (Bug#8618)
24074
24075 2011-05-05 Glenn Morris <rgm@gnu.org>
24076
24077 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
24078
24079 * simple.el (shell-dynamic-complete-functions)
24080 (comint-dynamic-complete-functions): Declare.
24081
24082 * net/network-stream.el (gnutls-negotiate):
24083 * simple.el (tabulated-list-print): Fix declarations.
24084
24085 * progmodes/gud.el (syntax-symbol, syntax-point):
24086 Remove unnecessary and incorrect declarations.
24087
24088 * emacs-lisp/check-declare.el (check-declare-scan):
24089 Handle byte-compile-initial-macro-environment in bytecomp.el.
24090
24091 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
24092
24093 Fix earlier half-done eieio-defmethod change (bug#8338).
24094 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
24095 Streamline and change calling convention.
24096 (defmethod): Adjust accordingly and simplify.
24097 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
24098 new eieio--defmethod.
24099 (slot-boundp): Minor CSE simplification.
24100
24101 2011-05-05 Milan Zamazal <pdm@zamazal.org>
24102
24103 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
24104 (glasses-make-readable): Use glasses-separate-capital-groups.
24105
24106 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
24107
24108 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
24109 (warning-series): Doc fix.
24110 (display-warning): Don't try to create the buffer if we just found it.
24111
24112 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
24113
24114 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
24115 (autoload-find-generated-file): New function.
24116 (generate-file-autoloads): Bind generated-autoload-file to
24117 buffer-file-name.
24118 (update-file-autoloads, update-directory-autoloads):
24119 Use autoload-find-generated-file. If called interactively, prompt for
24120 output file (Bug#7989).
24121 (batch-update-autoloads): Doc fix.
24122
24123 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
24124
24125 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
24126
24127 2011-05-04 Glenn Morris <rgm@gnu.org>
24128
24129 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
24130 function, so it follows changes in calendar-date-style.
24131 (diary-fancy-date-matcher): New function.
24132 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
24133 (diary-fancy-font-lock-fontify-region-function):
24134 Use diary-fancy-date-pattern as a function.
24135
24136 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
24137 non-numbers for `year' etc pseudo-variables. (Bug#8583)
24138
24139 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
24140
24141 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
24142 instead of positional arguments. Allow :keylist and :crlfiles
24143 arguments.
24144 (open-gnutls-stream): Call it.
24145
24146 * net/network-stream.el (network-stream-open-starttls): Adjust to
24147 call `gnutls-negotiate' with :process and :hostname arguments.
24148
24149 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
24150
24151 * minibuffer.el (completion--message): New function.
24152 (completion--do-completion, minibuffer-complete)
24153 (minibuffer-force-complete, minibuffer-complete-word): Use it.
24154 (completion--do-completion): Don't ignore completion-auto-help when in
24155 icomplete-mode.
24156
24157 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
24158 internal encoding (e.g. tibetan zero is not whitespace).
24159 (global-whitespace-mode): Prefer save-current-buffer.
24160 (whitespace-trailing-regexp): Remove useless save-match-data.
24161 (whitespace-empty-at-bob-regexp): Minor simplification.
24162
24163 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
24164
24165 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
24166
24167 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
24168
24169 * textmodes/ispell.el (ispell-add-per-file-word-list):
24170 Use `concat' to create string for insertion.
24171
24172 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
24173
24174 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
24175 Avoid open-line which runs post-self-insert-hook.
24176 (bibtex-fill-entry): Remove unused `end' var.
24177
24178 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
24179
24180 * textmodes/ispell.el (ispell-add-per-file-word-list):
24181 Protect against `nil' value of `comment-start' (Bug#8579).
24182
24183 2011-05-03 Leo Liu <sdl.web@gmail.com>
24184
24185 * isearch.el (isearch-yank-pop): New command.
24186 (isearch-mode-map): Bind it to `M-y'.
24187 (isearch-forward): Mention it.
24188
24189 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
24190
24191 * simple.el (minibuffer-complete-shell-command): Remove.
24192 (minibuffer-local-shell-command-map): Use completion-at-point.
24193 (read-shell-command): Setup completion vars here instead.
24194 (read-expression-map): Bind TAB to symbol completion.
24195
24196 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
24197 error directly rather via storing it into `results'.
24198
24199 2011-05-02 Leo Liu <sdl.web@gmail.com>
24200
24201 * vc/diff.el: Fix description.
24202
24203 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
24204
24205 * server.el (server-eval-at): New function.
24206
24207 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
24208
24209 * net/network-stream.el (open-network-stream): Take a :nowait
24210 parameter and pass it on to `make-network-process'.
24211 (network-stream-open-plain): Ditto.
24212
24213 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
24214
24215 * faces.el (face-spec-set-match-display): Don't match toolkit
24216 options on terminal frames.
24217
24218 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
24219
24220 * progmodes/pascal.el: Use lexical binding.
24221 (pascal-mode-map): Remove author preferences.
24222
24223 * pcomplete.el (pcomplete-std-complete): Don't abuse
24224 completion-at-point.
24225
24226 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
24227
24228 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
24229 removing code that has been dead since 1991 or so.
24230
24231 * startup.el (command-line): When warning about "_emacs", use a
24232 delayed warning to allow the user to filter it out.
24233
24234 2011-04-28 Deniz Dogan <deniz@dogan.se>
24235
24236 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
24237 user has not joined.
24238
24239 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
24240
24241 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
24242 aren't any completions at point.
24243
24244 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
24245
24246 * subr.el (display-delayed-warnings): New function.
24247 (delayed-warnings-hook): New variable.
24248
24249 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
24250
24251 * minibuffer.el (completion-at-point, completion-help-at-point):
24252 Don't presume that a given completion-at-point-function will always
24253 use the same calling convention.
24254
24255 * pcomplete.el (pcomplete-completions-at-point):
24256 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
24257 pcomplete-seen is non-nil.
24258 (pcomplete-comint-setup): Also recognize the new comint/shell
24259 completion functions.
24260 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
24261 pcomplete-seen is non-nil.
24262
24263 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
24264
24265 * calendar/icalendar.el (diary-lib): Add require statement.
24266 (icalendar--create-uid): Read out a uid from a text-property on
24267 the first character in the entry. This allows for code to add its
24268 own uid to the entry.
24269 (icalendar--convert-float-to-ical): Add export of
24270 `diary-float'-entries save for those with the optional DAY
24271 argument.
24272
24273 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
24274
24275 * subr.el (shell-quote-argument): Use alternate escaping strategy
24276 when we spot a variable reference in a string.
24277
24278 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
24279
24280 * cus-start.el (all): Define customization for debug-on-event.
24281
24282 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
24283
24284 * subr.el (shell-quote-argument): Escape correctly under Windows.
24285
24286 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
24287
24288 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
24289
24290 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
24291
24292 * net/tramp.el (tramp-process-actions): Add POS argument.
24293 Delete region between POS and (pos).
24294
24295 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
24296 Use `nil' position in `tramp-process-actions' call.
24297 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
24298
24299 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
24300 position in `tramp-process-actions' call.
24301
24302 * net/trampver.el: Update release number.
24303
24304 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
24305
24306 * custom.el (defcustom): Obey lexical-binding.
24307
24308 Fix octave-inf completion problems reported by Alexander Klimov.
24309 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
24310 Inherit from octave-mode-syntax-table.
24311 (inferior-octave-mode): Set info-lookup-mode.
24312 (inferior-octave-completion-at-point): New function.
24313 (inferior-octave-complete): Use it and completion-in-region.
24314 (inferior-octave-dynamic-complete-functions): Use it as well, and use
24315 comint-filename-completion.
24316 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
24317 symbol elements which shouldn't be word elements.
24318 (octave-font-lock-keywords, octave-beginning-of-defun)
24319 (octave-function-header-regexp): Adjust regexps accordingly.
24320 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
24321
24322 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
24323
24324 * net/gnutls.el (gnutls-errorp): Declare before first use.
24325
24326 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
24327
24328 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
24329 verify-error, and verify-hostname-error parameters. Check whether
24330 default trustfile exists before going to use it. Add missing
24331 argument to gnutls-message-maybe call. Return value.
24332 Reported by Claudio Bley <claudio.bley@gmail.com>.
24333 (open-gnutls-stream): Add usage example.
24334
24335 * net/network-stream.el (network-stream-open-starttls): Give host
24336 parameter to `gnutls-negotiate'.
24337 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
24338 * subr.el (shell-quote-argument): Escape correctly under Windows.
24339
24340 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
24341
24342 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
24343 Use correct match group (bug#8438).
24344
24345 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
24346
24347 * emacs-lisp/package.el (package-built-in-p): Fix typo.
24348 (package-menu--generate): New arg specifying packages to show.
24349 (package-menu-refresh, package-menu-execute, list-packages):
24350 Callers changed.
24351 (package-show-package-list): New function, replacing deleted
24352 package--list-packages (renamed because it is non-internal).
24353
24354 * finder.el (finder-list-matches): Use package-show-package-list
24355 instead of deleted package--list-packages.
24356
24357 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
24358 Based on a previous implementation by Juanma Barranquero (Bug#8366).
24359 (vc-annotate-mode-map): Bind it to RET.
24360
24361 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
24362
24363 * progmodes/etags.el (next-file): Don't use set-buffer to change
24364 buffers (Bug#8478).
24365
24366 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
24367
24368 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
24369
24370 * apropos.el (apropos-label-face): Avoid variable-pitch face.
24371 (apropos-accumulator): Doc fix.
24372 (apropos-function, apropos-macro, apropos-command)
24373 (apropos-variable, apropos-face, apropos-group, apropos-widget)
24374 (apropos-plist): Add face property.
24375 (apropos-symbols-internal): Fix indentation.
24376 (apropos-print): Simplify help, and recognize apropos-multi-type.
24377 (apropos-print-doc): Use button-type-get to extract the button's
24378 face property. Fill docstring (Bug#8352).
24379
24380 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
24381
24382 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
24383
24384 * play/mpuz.el (mpuz-silent): Doc fix.
24385 (mpuz-mode-map): Use mapc.
24386 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
24387 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
24388 Fix typos in docstrings.
24389
24390 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
24391 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
24392
24393 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
24394
24395 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
24396
24397 * minibuffer.el (completion--do-completion): Avoid the "Next char
24398 not unique" prompt if icomplete-mode is enabled (Bug#5849).
24399
24400 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
24401 mouse-2 into unread-command-events, it is interpreted correctly.
24402
24403 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
24404 (image-toggle-display): Doc fix.
24405
24406 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
24407
24408 * textmodes/page.el (what-page): Use line-number-at-pos to
24409 calculate line number (Bug#6825).
24410
24411 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
24412
24413 * eshell/esh-mode.el (find-tag-interactive): Declare function.
24414 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
24415 Pass argument NO-DEFAULT to `find-tag-interactive'.
24416
24417 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
24418
24419 Lexical-binding cleanup.
24420
24421 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
24422 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
24423 * progmodes/ada-prj.el (ada-prj-initialize-values)
24424 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
24425 (ada-prj-show-value):
24426 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
24427 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
24428 (antlr-invalidate-context-cache, antlr-options-menu-filter)
24429 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
24430 * progmodes/bug-reference.el (bug-reference-push-button):
24431 * progmodes/fortran.el (fortran-line-length):
24432 * progmodes/glasses.el (glasses-change):
24433 * progmodes/octave-mod.el (octave-fill-paragraph):
24434 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
24435 (python-pdbtrack-grub-for-buffer, python-sentinel):
24436 * progmodes/sql.el (sql-save-connection):
24437 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
24438 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
24439 Mark unused parameters.
24440
24441 * progmodes/compile.el (compilation--flush-directory-cache)
24442 (compilation--flush-parse, compile-internal): Mark unused parameters.
24443 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
24444 (compilation-next-error-function): Remove unused variable `timestamp'.
24445
24446 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
24447 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
24448
24449 * progmodes/dcl-mode.el (dcl-end-of-command):
24450 Remove unused variable `start'.
24451 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
24452 (dcl-option-value-basic, dcl-option-value-offset)
24453 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
24454 Mark unused parameters.
24455 (dcl-save-local-variable): Remove unused variable `val'.
24456 (mode): Declare.
24457
24458 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
24459 Mark unused parameters.
24460 (delphi-ignore-changes): Move before first use.
24461 (delphi-charset-token-at): Remove unused variable `start'.
24462 (delphi-else-start): Remove unused variable `if-count'.
24463 (delphi-comment-block-start, delphi-comment-block-end):
24464 Remove unused variable `kind'.
24465 (delphi-indent-line): Remove unused variable `new-point'.
24466
24467 * progmodes/ebrowse.el (ebrowse-files-list)
24468 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
24469 Mark unused parameters. Don't quote `lambda'.
24470 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
24471 Don't quote `lambda'.
24472 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
24473 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
24474 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
24475 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
24476 Use `ignore-errors'.
24477 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
24478 (ebrowse-view/find-file-and-search-pattern)
24479 (ebrowse-view/find-member-declaration/definition):
24480 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
24481 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
24482 Rename parameter PREFIX-ARG to PREFIX.
24483 (ebrowse-tags-read-name): Remove unused variables `start' and
24484 `member-info'.
24485 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
24486 to `tags-file'.
24487
24488 * progmodes/etags.el (local-find-tag-hook): Declare.
24489 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
24490 Mark unused parameters.
24491
24492 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
24493 (executable-interpret): Mark unused parameter.
24494
24495 * progmodes/flymake.el (flymake-process-sentinel)
24496 (flymake-after-change-function)
24497 (flymake-create-temp-with-folder-structure)
24498 (flymake-get-include-dirs-dot): Mark unused parameters.
24499 (flymake-safe-delete-directory): Remove unused variable `err'.
24500
24501 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
24502 (speedbar-timer-fn, speedbar-line-text)
24503 (speedbar-change-expand-button-char, speedbar-delete-subblock)
24504 (speedbar-center-buffer-smartly): Declare functions.
24505 (gdb-find-watch-expression): Remove unused variable `array'.
24506 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
24507 (gdb-starting): Mark unused parameters.
24508 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
24509 (gdb-table-string): Remove unused variable `res'.
24510 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
24511 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
24512 (gdb-display-buffer): Remove unused variable `cur-size'.
24513
24514 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
24515 allow lexical-binding compilation.
24516 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
24517 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
24518 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
24519 Mark unused parameters.
24520 (gud-gdb-marker-filter): Remove unused variable `match'.
24521 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
24522 lambda expressions and funcall them, instead of using `fset'.
24523
24524 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
24525 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
24526
24527 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
24528 variable `header-beg'; use `let'.
24529
24530 * progmodes/icon.el (indent-icon-exp): Remove unused variables
24531 `restart', `last-sexp' and `at-do'.
24532
24533 * progmodes/js.el (js--debug): Mark unused parameter.
24534 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
24535 (js--splice-into-items): Remove unused variable `item'.
24536 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
24537
24538 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
24539 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
24540 (makefile-complete): Remove unused variable `try'.
24541 (makefile-fill-paragraph, makefile-match-function-end):
24542 Mark unused parameters.
24543
24544 * progmodes/octave-inf.el (inferior-octave-complete):
24545 Remove unused variable `proc'.
24546 (inferior-octave-output-digest): Mark unused parameter.
24547
24548 * progmodes/perl-mode.el (perl-calculate-indent):
24549 Remove unused variable `err'.
24550
24551 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
24552 (prolog-indent-line): Mark unused parameters.
24553 (prolog-indent-line): Remove unused variable `beg'.
24554
24555 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
24556 (reporter-dont-compact-list): Declare.
24557
24558 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
24559 Remove unused variable `char'.
24560 (sh-debug): Mark unused parameter.
24561 (sh-get-indent-info): Remove unused variable `start'.
24562 (sh-calculate-indent): Remove unused variable `var'.
24563
24564 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
24565 (simula-electric-keyword): Remove unused variable `null'.
24566 (simula-search-backward, simula-search-forward): Remove unused
24567 variables `begin' and `end'.
24568
24569 * progmodes/vera-mode.el (vera-guess-basic-syntax):
24570 Remove unused variable `pos'.
24571 (vera-electric-tab, vera-comment-uncomment-region):
24572 Mark unused parameters.
24573 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
24574
24575 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
24576
24577 * emacs-lisp/package.el (package--builtins, package-alist)
24578 (package-load-descriptor, package-built-in-p, package-activate)
24579 (define-package, package-installed-p)
24580 (package-compute-transaction, package-buffer-info)
24581 (package--push): Doc fix. Distinguish more clearly between
24582 version strings and version lists.
24583
24584 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
24585
24586 Lexical-binding cleanup.
24587
24588 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
24589 (5x5-make-mutate-best):
24590 * play/fortune.el (fortune-in-buffer):
24591 * play/gomoku.el (gomoku-init-display):
24592 * play/solitaire.el (solitaire, solitaire-do-check):
24593 * play/tetris.el (tetris-default-update-speed-function):
24594 Mark unused parameters.
24595
24596 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
24597 (bubbles--shift): Remove unused variable `char-org'.
24598 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
24599 (bubbles--show-images): Remove unused variable `char'.
24600
24601 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
24602 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
24603 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
24604 (decipher-analyze-buffer): Use ?\s.
24605 (decipher-make-checkpoint): Remove unused variable `mapping'.
24606
24607 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
24608
24609 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
24610 Remove unused variable `result'; use `let'.
24611
24612 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
24613 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
24614 (gametree-children-shown-p, gametree-compute-reduced-score):
24615 Use `ignore-errors'.
24616
24617 * play/handwrite.el (ps-lpr-switches): Declare.
24618 (handwrite): Remove unused variables `pmin' and `lastp'.
24619
24620 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
24621
24622 * play/landmark.el (landmark-init-display)
24623 (landmark-update-naught-weights): Mark unused parameters.
24624 (landmark-y): Remove unused variable `noise'. Simplify.
24625 (landmark-human-plays): Remove unused variable `score'.
24626
24627 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
24628 (mpuz-try-proposal): Remove unused variable `game'.
24629
24630 * play/zone.el (life-patterns): Declare.
24631
24632 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
24633
24634 * vc/vc.el (ediff-vc-internal): Declare function.
24635
24636 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
24637
24638 * shell.el: Use lexical-binding and std completion UI.
24639 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
24640 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
24641 comint-preoutput-filter-functions rather than on
24642 comint-output-filter-functions.
24643 (shell-command-completion, shell--command-completion-data)
24644 (shell-filename-completion, shell-environment-variable-completion)
24645 (shell-c-a-p-replace-by-expanded-directory): New functions.
24646 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
24647 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
24648 (shell-dynamic-complete-environment-variable): Use them.
24649 (shell-dynamic-complete-as-environment-variable)
24650 (shell-dynamic-complete-as-command): Remove.
24651 (shell-match-partial-variable): Match past point.
24652 * comint.el: Clean up use of completion-at-point-functions.
24653 (comint-completion-at-point): New function.
24654 (comint-mode): Use it completion-at-point-functions.
24655 (comint-dynamic-complete): Make it obsolete.
24656 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
24657 (comint-c-a-p-replace-by-expanded-history): New function.
24658 (comint-dynamic-complete-functions)
24659 (comint-replace-by-expanded-history): Use it.
24660 * minibuffer.el (completion-table-with-terminator): Allow dynamic
24661 termination strings. Try harder to avoid second try-completion.
24662 (completion-in-region-mode-map): Disable bindings that don't work yet.
24663
24664 * comint.el: Use lexical-binding. Require CL.
24665 (comint-dynamic-complete-functions): Use comint-filename-completion.
24666 (comint-completion-addsuffix): Tweak custom type.
24667 (comint-filename-completion, comint--common-suffix)
24668 (comint--common-quoted-suffix, comint--table-subvert)
24669 (comint--complete-file-name-data): New functions.
24670 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
24671 (comint-dynamic-list-filename-completions): Use them.
24672 (comint-dynamic-simple-complete): Make obsolete.
24673
24674 * minibuffer.el (completion-in-region-mode):
24675 Keep completion-in-region-mode--predicate global.
24676 (completion-in-region--postch):
24677 Assume completion-in-region-mode--predicate is not null.
24678
24679 * progmodes/flymake.el (flymake-start-syntax-check-process):
24680 Obey `dir'. Simplify.
24681
24682 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
24683 we're in VC after all.
24684
24685 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
24686
24687 * vc/vc.el (vc-diff-build-argument-list-internal)
24688 (vc-version-ediff, vc-ediff): New commands.
24689 (vc-version-diff): Use vc-diff-build-argument-list-internal.
24690
24691 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
24692
24693 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
24694 add sanity check.
24695
24696 * obsolete/erc-hecomplete.el: Make obsolete.
24697 * obsolete/: Standardize obsolescence info in the header.
24698
24699 2011-04-20 Glenn Morris <rgm@gnu.org>
24700
24701 * calendar/solar.el (solar-horizontal-coordinates):
24702 Use the longitude argument rather than `calendar-longitude'.
24703 (solar-date-next-longitude): Remove unused locals.
24704
24705 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
24706
24707 * whitespace.el: New version 13.2.1.
24708
24709 2011-04-20 felix <EmacsWiki> (tiny change)
24710
24711 * whitespace.el (global-whitespace-mode): Keep highlight when
24712 switching between major modes on a file.
24713
24714 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
24715
24716 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
24717 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
24718 multi-line comments as well.
24719
24720 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
24721
24722 Lexical-binding cleanup.
24723
24724 * arc-mode.el (archive-mode-revert):
24725 * cmuscheme.el (scheme-interactively-start-process):
24726 * custom.el (custom-initialize-delay):
24727 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
24728 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
24729 * emacs-lock.el (emacs-lock-clear-sentinel):
24730 * ezimage.el (defezimage):
24731 * follow.el (follow-avoid-tail-recenter):
24732 * fringe.el (set-fringe-mode-1):
24733 * generic-x.el (bat-generic-mode-compile):
24734 * help-mode.el (help-info-variable, help-do-xref)
24735 (help-mode-revert-buffer):
24736 * help.el (view-emacs-todo):
24737 * iswitchb.el (iswitchb-completion-help):
24738 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
24739 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
24740 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
24741 * locate.el (locate-update):
24742 * longlines.el (longlines-encode-region)
24743 (longlines-after-change-function):
24744 * outline.el (outline-isearch-open-invisible):
24745 * ps-def.el (declare-function, charset-dimension, char-width)
24746 (encode-char):
24747 * ps-mule.el (ps-mule-plot-string):
24748 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
24749 (recentf-edit-list-select, recentf-edit-list-validate)
24750 (recentf-open-files-action):
24751 * rect.el (delete-whitespace-rectangle-line)
24752 (rectangle-number-line-callback):
24753 * register.el (window-configuration-to-register)
24754 (frame-configuration-to-register):
24755 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
24756 * select.el (xselect-convert-to-string, xselect-convert-to-length)
24757 (xselect-convert-to-targets, xselect-convert-to-delete)
24758 (xselect-convert-to-filename, xselect-convert-to-charpos)
24759 (xselect-convert-to-lineno, xselect-convert-to-colno)
24760 (xselect-convert-to-os, xselect-convert-to-host)
24761 (xselect-convert-to-user, xselect-convert-to-class)
24762 (xselect-convert-to-name, xselect-convert-to-integer)
24763 (xselect-convert-to-atom, xselect-convert-to-identity):
24764 * subr.el (declare, ignore, process-kill-without-query)
24765 (text-clone-maintain):
24766 * terminal.el (te-get-char, te-tic-sentinel):
24767 * tool-bar.el (tool-bar-make-keymap):
24768 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
24769 * type-break.el (type-break-mode, type-break-noninteractive-query):
24770 * view.el (View-back-to-mark):
24771 * wid-browse.el (widget-browse-action, widget-browse-widget)
24772 (widget-browse-widgets, widget-browse-sexp):
24773 * widget.el (define-widget-keywords):
24774 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
24775 Mark unused parameters.
24776
24777 * align.el (align-adjust-col-for-rule): Mark unused parameter.
24778 (align-areas): Remove unused variable `look'.
24779 (align-region): Remove unused variables `real-end' and `pos-list'.
24780
24781 * apropos.el (apropos-score-doc): Remove unused variable `i'.
24782
24783 * bindings.el (mode-line-modified, mode-line-remote):
24784 Mark unused parameters.
24785 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
24786
24787 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
24788 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
24789
24790 * comint.el (comint-history-isearch-pop-state)
24791 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
24792 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
24793 (comint-substitute-in-file-name): Doc fix.
24794
24795 * completion.el (cmpl-statistics-block): Mark unused parameter.
24796 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
24797 (save-completions-to-file, load-completions-from-file):
24798 Remove unused local variable `e'.
24799
24800 * composite.el (compose-chars): Remove unused variable `len'.
24801 (lgstring-insert-glyph): Remove unused variable `g'.
24802 (compose-glyph-string): Remove unused variables `ascent',
24803 `descent', `lbearing' and `rbearing'.
24804 (compose-glyph-string-relative): Remove unused variables
24805 `lbearing', `rbearing' and `wadjust'.
24806 (compose-gstring-for-graphic): Remove unused variables `header',
24807 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
24808 (compose-gstring-for-terminal): Remove unused variables `header'
24809 and `nchars'. Use `let', not `let*'.
24810
24811 * cus-edit.el (Custom-set, Custom-save, custom-reset)
24812 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
24813 (Custom-buffer-done, custom-buffer-create-internal)
24814 (custom-browse-visibility-action, custom-browse-group-tag-action)
24815 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
24816 (widget-magic-mouse-down-action, custom-toggle-parent)
24817 (custom-add-parent-links, custom-toggle-hide-variable)
24818 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
24819 (custom-toggle-hide-face, face, hook, custom-group-link-action)
24820 (custom-face-menu-create, custom-variable-menu-create, get)
24821 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
24822 (custom-reset-standard-save-and-update): Remove unused variable `value'.
24823 (customize-apropos): Remove unused variable `tests'.
24824 (custom-group-value-create): Remove unused variable `hidden-p'.
24825 (sort-fold-case): Declare.
24826
24827 * cus-theme.el (custom-reset-standard-faces-list)
24828 (custom-reset-standard-variables-list): Declare.
24829 (customize-create-theme, custom-theme-revert, custom-theme-write)
24830 (custom-theme-choose-mode, customize-themes, custom-theme-save):
24831 Mark unused parameters.
24832
24833 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
24834
24835 * delim-col.el (delimit-columns-max): Move defvar before first use.
24836
24837 * descr-text.el (describe-char-categories): Don't quote `lambda'.
24838 (describe-char): Don't quote `lambda'. Mark unused parameter.
24839
24840 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
24841 (auto-insert): Declare.
24842 (desktop-restore-file-buffer): Rename desktop-* parameters;
24843 mark unused ones.
24844 (desktop-create-buffer): Rename desktop-* parameters and bind them.
24845 (desktop-buffer): Rename desktop-* parameters.
24846
24847 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
24848 (dframe-reposition-frame-xemacs, dframe-help-echo)
24849 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
24850 Mark unused parameters.
24851
24852 * dired-aux.el (backup-extract-version-start, overwrite-query)
24853 (overwrite-backup-query, rename-regexp-query)
24854 (rename-non-directory-query): Declare.
24855 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
24856 (dired-add-entry): Remove unused variable `orig-file-name'.
24857 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
24858 Use parameter PRESERVE-TIME instead of accessing dynamic variable
24859 `dired-copy-preserve-time' directly.
24860 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
24861 (dired-insert-subdir-newpos): Rename unused variable `pos'.
24862
24863 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
24864 (dired-virtual-revert, dired-make-relative-symlink):
24865 Mark unused parameters.
24866 (manual-program): Declare.
24867 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
24868 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
24869 wrapped in `with-no-warnings' to avoid replacing one warning by another.
24870
24871 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
24872
24873 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
24874
24875 * echistory.el (electric-history-in-progress, Helper-return-blurb):
24876 Declare.
24877
24878 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
24879
24880 * electric.el (Electric-command-loop): Rename parameter
24881 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
24882
24883 * expand.el (expand-in-literal): Remove unused variable `here'.
24884
24885 * facemenu.el (facemenu-add-new-color):
24886 Remove unused variable `docstring'.
24887
24888 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
24889 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
24890 (face-attr-construct): Mark unused parameter. Doc fix.
24891 (read-color): Remove unused variable `hex-string'.
24892
24893 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
24894 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
24895 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
24896 (display-buffer-other-frame): Remove unused variable `old-window'.
24897 (kill-buffer-hook): Declare.
24898 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
24899 Mark unused parameters.
24900 (after-find-file): Pass 1 to `auto-save-mode', not t.
24901
24902 * files-x.el (auto-insert): Declare.
24903 (modify-file-local-variable-prop-line): Remove unused variable `val'.
24904
24905 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
24906 variable `buf'. Mark unused parameter.
24907 (find-lisp-insert-directory): Mark unused parameter.
24908
24909 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
24910 (format-encode-region): Remove unused variables `cur-buf' and `result'.
24911 (format-common-tail): Remove, unused.
24912 (format-deannotate-region): Remove unused variable `loc'.
24913 (format-annotate-region): Remove unused variable `p'.
24914 (format-annotate-single-property-change): Remove unused variables
24915 `default' and `tail'.
24916
24917 * forms.el (read-file-filter): Declare.
24918 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
24919
24920 * frame.el (frame-creation-function-alist): Mark unused parameter.
24921 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
24922
24923 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
24924 Remove unused parameters.
24925 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
24926 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
24927
24928 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
24929 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
24930 (hfy-prepare-tag-map): Mark unused parameters.
24931 (htmlfontify-buffer): Use `called-interactively-p'.
24932
24933 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
24934 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
24935 (ibuffer-do-occur): Mark unused parameters.
24936 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
24937 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
24938
24939 * ibuffer.el: Don't quote `lambda'.
24940 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
24941 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
24942 Mark unused parameters.
24943
24944 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
24945 (ido-completing-read): Mark unused parameters.
24946 (ido-copy-current-word): Mark unused parameters;
24947 remove unused variable `name'.
24948 (ido-sort-merged-list): Remove unused parameter `dirs'.
24949
24950 * ielm.el (ielm-input-sender): Mark unused parameter.
24951 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
24952 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
24953 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
24954 `ielm-string' as a dynamic variable accessible from the IELM prompt.
24955 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
24956
24957 * image-dired.el (image-dired-display-thumbs): Remove unused
24958 variables `curr-file' and `count'.
24959 (image-dired-remove-tag): Remove unused variable `start'.
24960 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
24961 variable `curr-file'
24962 (image-dired-rotate-original): Remove unused variable `temp-file'.
24963 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
24964 Remove unused variable `file'.
24965 (image-dired-gallery-generate): Remove unused variable `curr'.
24966 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
24967
24968 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
24969
24970 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
24971
24972 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
24973
24974 * isearch.el (minibuffer-history-symbol): Declare.
24975 (isearch-edit-string): Remove unused variable `err'.
24976 (isearch-message-prefix, isearch-message-suffix):
24977 Mark unused parameters.
24978
24979 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
24980
24981 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
24982
24983 * makesum.el (double-column): Remove unused variable `cnt'.
24984
24985 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
24986 (ido-ignore-item-temp-list): Declare.
24987
24988 * mouse-drag.el (mouse-drag-throw): Remove unused variables
24989 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
24990 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
24991 (mouse-drag-drag): Remove unused variables `mouse-delta' and
24992 `mouse-col-delta'.
24993
24994 * mouse-sel.el (mouse-extend-internal):
24995 Remove unused variable `orig-window-frame'.
24996
24997 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
24998 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
24999 Move declarations before first use.
25000 (pcomplete-opt): Mark unused parameters; doc fix.
25001
25002 * proced.el (proced-revert): Mark unused parameter.
25003 (proced-send-signal): Remove unused variable `err'.
25004
25005 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
25006 Rename parameter PREFIX-ARG to ARG.
25007 (ps-basic-plot-string, ps-basic-plot-whitespace):
25008 Mark unused parameters.
25009
25010 * replace.el (replace-count): Define.
25011 (occur-revert-function): Mark unused parameters.
25012 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
25013 (isearch-case-fold-search, isearch-string): Declare.
25014 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
25015 bind `case-fold-search'. Remove unused variables `beg' and `end',
25016 and simplify.
25017 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
25018 COUNT and bind `replace-count'.
25019 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
25020 to COUNT.
25021
25022 * savehist.el (print-readably, print-string-length): Declare.
25023
25024 * shadowfile.el (shadow-expand-cluster-in-file-name):
25025 Remove unused variable `cluster'.
25026 (shadow-copy-file): Remove unused variable `i'.
25027 (shadow-noquery, shadow-clusters, shadow-site-cluster)
25028 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
25029 (shadow-define-literal-group, shadow-define-regexp-group)
25030 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
25031
25032 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
25033 (shell): Use `called-interactively-p'.
25034 (shell-directory-tracker): Remove unused variable `chdir-failure'.
25035
25036 * simple.el (compilation-context-lines, comint-file-name-quote-list)
25037 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
25038 (delete-backward-char): Remove unused variable `ocol'.
25039 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
25040 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
25041 (event-apply-hyper-modifier, event-apply-shift-modifier)
25042 (event-apply-control-modifier, event-apply-meta-modifier):
25043 Mark unused parameters.
25044 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
25045 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
25046
25047 * speedbar.el (speedbar-ignored-directory-expressions)
25048 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
25049 (speedbar-find-file, speedbar-dir-follow)
25050 (speedbar-directory-buttons-follow, speedbar-tag-find)
25051 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
25052 (speedbar-buffers-line-directory, speedbar-buffer-click):
25053 Mark unused parameters.
25054 (speedbar-tag-file): Remove unused variable `mode'.
25055 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
25056
25057 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
25058
25059 * talk.el (talk): Remove unused variable `display'.
25060
25061 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
25062 (tar-write-region-annotate): Mark unused parameter.
25063
25064 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
25065 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
25066 Declare them, wrapped in `with-no-warnings' to avoid replacing one
25067 warning by another.
25068
25069 * time-stamp.el (time-stamp-string-preprocess):
25070 Remove unused variable `require-padding'.
25071
25072 * tree-widget.el (widget-glyph-enable): Declare.
25073 (tree-widget-action): Mark unused parameter.
25074
25075 * w32-fns.el (x-get-selection): Mark unused parameter.
25076 (autoload-make-program, generated-autoload-file): Declare.
25077
25078 * wdired.el (wdired-revert): Mark unused parameters.
25079 (wdired-xcase-word): Remove unused variable `err'.
25080
25081 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
25082 (whitespace-help-scroll): Remove unused variable `data-help'.
25083
25084 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
25085 (widget-image-insert, widget-after-change, default)
25086 (widget-default-format-handler, widget-default-notify)
25087 (widget-default-prompt-value, widget-info-link-action)
25088 (widget-url-link-action, widget-function-link-action)
25089 (widget-variable-link-action, widget-file-link-action)
25090 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
25091 (widget-field-prompt-internal, widget-field-action, widget-field-match)
25092 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
25093 (widget-insert-button-action, widget-delete-button-action, visibility)
25094 (widget-documentation-link-action, widget-documentation-string-action)
25095 (widget-const-prompt-value, widget-regexp-match, symbol)
25096 (widget-coding-system-prompt-value)
25097 (widget-key-sequence-value-to-external, sexp)
25098 (widget-sexp-value-to-internal, character, vector, cons)
25099 (widget-choice-prompt-value, widget-boolean-prompt-value)
25100 (widget-color--choose-action): Mark unused parameters.
25101 (widget-item-match-inline, widget-choice-match-inline)
25102 (widget-checklist-match, widget-checklist-match-inline)
25103 (widget-group-match): Rename parameter VALUES to VALS.
25104 (widget-field-value-set): Remove unused variable `size'.
25105 (widget-color-action): Remove unused variables `value' and `start'.
25106
25107 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
25108 variable `dir'. Doc fix.
25109 (windmove-find-other-window): Don't pass it.
25110
25111 * window.el (count-windows): Mark unused parameter.
25112 (bw-adjust-window): Remove unused variable `err'.
25113
25114 * woman.el (woman-file-name): Remove unused variable `default'.
25115 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
25116 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
25117 (global-font-lock-mode): Declare.
25118 (woman-decode-region): Mark unused parameter.
25119 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
25120
25121 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
25122 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
25123 (x-dnd-handle-moz-url): Remove unused variable `title'.
25124 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
25125
25126 * xml.el (xml-parse-tag, xml-parse-attlist):
25127 Remove unused variable `pos'.
25128
25129 2011-04-19 Glenn Morris <rgm@gnu.org>
25130
25131 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
25132 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
25133 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
25134 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
25135 * calendar/cal-html.el (cal-html-insert-minical):
25136 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
25137 (calendar-mark-date-pattern):
25138 Prefix "unused" locals.
25139
25140 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
25141 optional argument `style'.
25142
25143 * calendar/appt.el (appt-make-list):
25144 * calendar/cal-china.el (calendar-chinese-date-string):
25145 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
25146 (diary-hebrew-yahrzeit):
25147 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
25148 * calendar/calendar.el (calendar-generate-window):
25149 * calendar/time-date.el (time-to-days):
25150 Remove unused local variables.
25151
25152 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
25153
25154 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
25155 glyphless-char-display table.
25156 (tabulated-list-glyphless-char-display): New var.
25157
25158 2011-04-18 Sam Steingold <sds@gnu.org>
25159
25160 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
25161 to acknowledgments.
25162
25163 2011-04-17 Glenn Morris <rgm@gnu.org>
25164
25165 * calendar/diary-lib.el (diary-sexp-entry):
25166 * calendar/holidays.el (holiday-sexp):
25167 Set debug-on-error rather than the removed stack-trace-on-error.
25168
25169 2011-04-16 Glenn Morris <rgm@gnu.org>
25170
25171 * progmodes/f90.el: Use lexical-binding.
25172 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
25173
25174 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
25175
25176 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
25177 (mail-mode): Setup mailalias completion here instead.
25178 * mail/mailalias.el: Use lexical-binding.
25179 (pattern, mailalias-done): Declare dynamic.
25180 (mail-completion-at-point-function): New function, from mail-complete.
25181 (mail-complete): Use it.
25182 (mail-completion-expand): New function.
25183 (mail-get-names): Use it.
25184 (mail-directory, mail-directory-process, mail-directory-stream):
25185 Don't use `pattern' for lexically bound arg.
25186
25187 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
25188
25189 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
25190 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
25191 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
25192
25193 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
25194 (byte-save-window-excursion, byte-temp-output-buffer-setup)
25195 (byte-interactive-p): Define them again, for use when inlining
25196 old code.
25197
25198 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
25199
25200 * loadup.el: Use `string-to-number', not `string-to-int'.
25201
25202 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
25203
25204 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
25205 gud-gdb-complete-command.
25206 (gud-gdb-completions): New function, from gud-gdb-complete-command.
25207 (gud-gdb-completion-at-point): New function.
25208 (gud-gdb-completions): Remove.
25209
25210 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
25211
25212 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
25213 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
25214 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
25215 whether `executable-find' is bound.
25216
25217 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
25218
25219 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
25220
25221 * minibuffer.el (completion-in-region-mode-predicate)
25222 (completion-in-region-mode--predicate): New vars.
25223 (completion-in-region, completion-in-region--postch)
25224 (completion-in-region-mode): Use them.
25225 (completion--capf-wrapper): Also return the hook function.
25226 (completion-at-point, completion-help-at-point):
25227 Adjust and provide a predicate.
25228
25229 Preserve arg names for advice of subr and lexical functions (bug#8457).
25230 * help-fns.el (help-function-arglist): Consolidate the subr and
25231 new-byte-code cases. Add argument `preserve-names' to extract names
25232 from the docstring when needed.
25233 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
25234 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
25235 (ad-arglist): Use help-function-arglist's new arg.
25236 (ad-definition-type): Use cond.
25237
25238 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
25239
25240 * autorevert.el (auto-revert-handler):
25241 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
25242 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
25243 Don't quote lambda.
25244
25245 * image-mode.el (image-transform-set-scale):
25246 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
25247
25248 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
25249
25250 * net/network-stream.el (network-stream-open-starttls): Only do
25251 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
25252 Upgrades via gnutls-cli are too slow to be done opportunistically.
25253
25254 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
25255
25256 * dframe.el (dframe-current-frame): Remove spurious quote.
25257
25258 2011-04-12 Glenn Morris <rgm@gnu.org>
25259
25260 * calendar/cal-tex.el (cal-tex-end-document):
25261 Try to automatically use latin1 input if needed.
25262
25263 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
25264 Don't try to cons a mark onto an empty element.
25265
25266 2011-04-11 Leo Liu <sdl.web@gmail.com>
25267
25268 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
25269 buffers.
25270 (ido-kill-buffer-at-head): Support killing virtual buffers.
25271
25272 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
25273
25274 * minibuffer.el (completion-show-inline-help): New var.
25275 (completion--do-completion, minibuffer-complete)
25276 (minibuffer-force-complete, minibuffer-complete-word):
25277 Inhibit minibuffer messages if completion-show-inline-help is nil.
25278
25279 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
25280 to avoid interference from inline help (Bug#5849).
25281
25282 2011-04-10 Leo Liu <sdl.web@gmail.com>
25283
25284 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
25285 Fix typo.
25286
25287 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
25288
25289 * image-mode.el (image-toggle-display-image): Signal an error if
25290 not in Image mode.
25291 (image-transform-mode, image-transform-resize)
25292 (image-transform-set-rotation): Doc fix.
25293 (image-transform-set-resize): Delete.
25294 (image-transform-set-scale, image-transform-fit-to-height)
25295 (image-transform-fit-to-width): Handle image-toggle-display-image
25296 and image-transform-resize directly.
25297
25298 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
25299
25300 * doc-view.el (doc-view-fit-width-to-window)
25301 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
25302 New functions for fitting the shown image to the Emacs window size.
25303 (doc-view-mode-map): Add bindings for the new functions.
25304
25305 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
25306
25307 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
25308 Fix typo in docstring.
25309
25310 2011-04-08 Eli Zaretskii <eliz@gnu.org>
25311
25312 * files.el (file-size-human-readable): Produce one digit after
25313 decimal, like "ls -lh" does.
25314
25315 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
25316 the file size representation.
25317
25318 * simple.el (list-processes): If async subprocesses are not
25319 available, error out with a clear error message.
25320
25321 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
25322
25323 * help.el (help-form-show): New function, to be called from C.
25324 Put help-form output in a buffer named differently than *Help*.
25325
25326 2011-04-08 Eli Zaretskii <eliz@gnu.org>
25327
25328 * files.el (file-size-human-readable): New function.
25329
25330 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
25331 computing the representation inline. Don't require `cl'.
25332
25333 2011-04-08 Glenn Morris <rgm@gnu.org>
25334
25335 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
25336
25337 * net/browse-url.el (browse-url-firefox):
25338 Test system-type, not system-configuration.
25339
25340 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
25341 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
25342 Use log-edit-empty-buffer-p. (Bug#7598)
25343
25344 * net/rlogin.el (rlogin-process-connection-type): Simplify.
25345 (rlogin-mode-map): Initialize in the defvar.
25346 (rlogin): Use ignore-errors.
25347
25348 * replace.el (occur-mode-map): Some fixes for menu items.
25349
25350 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
25351
25352 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
25353
25354 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
25355
25356 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
25357 issuing unused warnings.
25358
25359 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
25360 macro directly.
25361
25362 * simple.el: Lisp reimplement of list-processes. Based on an
25363 earlier reimplementation by Leo Liu, but using tabulated-list.el.
25364 (process-menu-mode): New major mode.
25365 (list-processes--refresh, list-processes):
25366 (process-menu-visit-buffer): New functions.
25367
25368 * files.el (save-buffers-kill-emacs): Don't assume any return
25369 value of list-processes, which is undocumented anyway.
25370
25371 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
25372
25373 * emacs-lisp/tabulated-list.el: New file.
25374
25375 * emacs-lisp/package.el: Use Tabulated List mode.
25376 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
25377 (package-menu-mode): Derive from tabulated-list-mode. Set up the
25378 table format using Tabulated List mode variables.
25379 (package--push): New macro, replacing package-list-maybe-add.
25380 (package-menu--generate): Use package--push. Renamed from
25381 package--generate-package-list.
25382 (package-menu-refresh, list-packages): Use it.
25383 (package-menu--print-info): Rename from package-print-package.
25384 Return insertion data instead of inserting it directly.
25385 (package-menu-describe-package, package-menu-execute):
25386 Use tabulated-list-get-id.
25387 (package-menu-mark-delete, package-menu-mark-install)
25388 (package-menu-mark-unmark, package-menu-backup-unmark)
25389 (package-menu-mark-obsolete-for-deletion):
25390 Use tabulated-list-put-tag.
25391 (package--list-packages, package-menu-revert)
25392 (package-menu-get-package, package-menu-get-version)
25393 (package-menu-sort-by-column): Functions deleted.
25394 (package-menu-package-list, package-menu-sort-key): Vars deleted.
25395 (package-menu--status-predicate, package-menu--version-predicate)
25396 (package-menu--name-predicate)
25397 (package-menu--description-predicate): Handle arguments in the
25398 Tabulated List format.
25399 (package-list-packages-no-fetch): Call list-packages.
25400
25401 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
25402
25403 * files.el (after-find-file-from-revert-buffer): Remove variable.
25404 (after-find-file): Don't bind it.
25405 (revert-buffer-in-progress-p): New variable.
25406 (revert-buffer): Bind it.
25407 Pass nil for `after-find-file-from-revert-buffer'.
25408
25409 * saveplace.el (save-place-find-file-hook): Use new variable
25410 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
25411
25412 2011-04-06 Glenn Morris <rgm@gnu.org>
25413
25414 * Makefile.in (AUTOGEN_VCS): New variable.
25415 (autoloads): Use $AUTOGEN_VCS.
25416
25417 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
25418 * calendar/calendar.el (calendar-mode-map):
25419 Check for toolkit scroll bars. (Bug#8305)
25420
25421 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
25422
25423 * minibuffer.el (completion-in-region--postch)
25424 (completion-in-region-mode): Remove unnecessary messages.
25425
25426 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
25427
25428 * font-lock.el (font-lock-refresh-defaults):
25429 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
25430 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
25431
25432 * info.el (Info-directory-list, Info-read-node-name-2)
25433 (Info-split-parameter-string): Doc fixes.
25434 (Info-virtual-nodes): Reflow docstring.
25435 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
25436 (Info-apropos-toc-nodes, info-finder, Info-get-token)
25437 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
25438 Fix typos in docstrings.
25439 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
25440 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
25441 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
25442 (Info-restore-desktop-buffer): Mark unused parameters.
25443 (Info-directory-find-file, Info-directory-find-node)
25444 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
25445 (Info-virtual-index-find-node, Info-apropos-find-file)
25446 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
25447 Mark unused parameters; fix typos in docstrings.
25448 (Info-virtual-index): Remove unused local variable `nodename'.
25449
25450 2011-04-05 Deniz Dogan <deniz@dogan.se>
25451
25452 * net/rcirc.el: Update my e-mail address.
25453 (rcirc-mode-map): Remove M-o binding.
25454
25455 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
25456
25457 * startup.el (command-line): Save the cursor's theme-face
25458 directly, instead of using face-override-spec.
25459
25460 * custom.el (load-theme): Minor optimization in assigning faces.
25461
25462 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
25463
25464 * help-fns.el (describe-variable): Complete all variables having
25465 documentation, including keywords.
25466 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
25467
25468 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
25469
25470 Convert to lexical-binding.
25471
25472 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
25473 (bs--get-marked-string, bs--get-modified-string)
25474 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
25475 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
25476 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
25477
25478 * ehelp.el (electric-help-execute-extended)
25479 (electric-help-ctrl-x-prefix):
25480 * hexl.el (hexl-revert-buffer-function):
25481 * linum.el (linum-after-change, linum-after-scroll):
25482 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
25483
25484 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
25485
25486 2011-04-04 Daiki Ueno <ueno@unixuser.org>
25487
25488 * epa-dired.el:
25489 * epa-mail.el:
25490 * epa-hook.el:
25491 * epa-file.el:
25492 * epa.el:
25493 * epg.el: Use lexical binding.
25494
25495 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
25496
25497 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
25498
25499 * textmodes/flyspell.el (flyspell-word): Recognize default
25500 dictionary case for flyspell-mark-duplications-exceptions.
25501 Use regexp matching for languages.
25502 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
25503 default dictionary (Bug#7926).
25504
25505 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
25506
25507 * emacs-lisp/package.el (package--with-work-buffer):
25508 Recognize https URLs.
25509
25510 * net/network-stream.el: Move from gnus/proto-stream.el.
25511 Change prefix to network-stream throughout.
25512 (open-protocol-stream): Merge into open-network-stream, leaving
25513 open-protocol-stream as an alias. Handle nil BUFFER args.
25514
25515 * subr.el (open-network-stream): Move to net/network-stream.el.
25516
25517 2011-04-02 Glenn Morris <rgm@gnu.org>
25518
25519 * find-dired.el (find-exec-terminator): New option.
25520 (find-ls-option): Test for -ls support.
25521 (find-ls-subdir-switches): Test for -b in find-ls-option.
25522 (find-dired, find-grep-dired): Doc fixes.
25523 (find-dired): Use find-exec-terminator.
25524
25525 * find-dired.el (find-ls-option, find-ls-subdir-switches)
25526 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
25527 (find-name-arg): Remove purecopy.
25528
25529 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
25530 (grep-compute-defaults): Check for `-exec COMMAND +' support.
25531 Set grep-find-use-xargs, grep-find-command, and grep-find-template
25532 accordingly. Don't add the null-device if not needed.
25533
25534 * files.el (save-some-buffers): Doc fix.
25535
25536 2011-04-02 Eli Zaretskii <eliz@gnu.org>
25537
25538 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
25539
25540 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
25541
25542 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
25543 Use `dolist' rather than `mapcar'.
25544
25545 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
25546
25547 Add lexical binding.
25548
25549 * subr.el (apply-partially): Use new closures rather than CL.
25550 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
25551 (dolist, dotimes): Use slightly different expansion for lexical code.
25552 (functionp): Move to C.
25553 (letrec): New macro.
25554 (with-wrapper-hook): Use it and apply-partially instead of CL.
25555 (eval-after-load): Preserve lexical-binding.
25556 (save-window-excursion, with-output-to-temp-buffer): Turn them
25557 into macros.
25558
25559 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
25560
25561 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
25562 than the arglist.
25563 (help-add-fundoc-usage): Don't add `Not documented'.
25564 (help-function-arglist): Handle closures, subroutines, and new
25565 byte-code-functions.
25566 (help-make-usage): Remove leading underscores.
25567 (describe-function-1): Handle closures.
25568 (describe-variable): Use special-variable-p for completion.
25569
25570 * files.el (lexical-binding): Declare safe.
25571
25572 * emacs-lisp/pcase.el: Don't use destructuring-bind.
25573 (pcase--memoize): Rename from pcase-memoize. Change weakness.
25574 (pcase): Add `let' pattern.
25575 Change memoization so it actually works.
25576 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
25577 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
25578 <let>: New case.
25579
25580 * emacs-lisp/macroexp.el: Use lexical binding.
25581 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
25582 Don't convert ' to #' without checking that it's indeed quoting
25583 a lambda.
25584
25585 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
25586 Use eval-sexp-add-defvars.
25587 (eval-sexp-add-defvars): New fun.
25588
25589 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
25590
25591 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
25592 Don't autoload.
25593 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
25594 than the internal `byte-compile-lambda'.
25595 (defmethod): Don't hide code under quotes.
25596 (eieio-defmethod): New `code' argument.
25597
25598 * emacs-lisp/eieio-comp.el: Remove.
25599
25600 * emacs-lisp/edebug.el (edebug-eval-defun)
25601 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
25602 (edebug-toggle): Avoid `eval'.
25603
25604 * emacs-lisp/disass.el (disassemble-internal): Handle new
25605 `closure' objects.
25606 (disassemble-1): Handle new byte codes.
25607
25608 * emacs-lisp/cl.el (pushnew): Silence warning.
25609
25610 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
25611 (cl-byte-compile-throw): Remove.
25612 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
25613
25614 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
25615 closures.
25616
25617 * emacs-lisp/cconv.el: New file.
25618
25619 * emacs-lisp/bytecomp.el: Use lexical binding instead of
25620 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
25621 (byte-compile-initial-macro-environment):
25622 Handle declare-function here.
25623 (byte-compile--lexical-environment): New var.
25624 (byte-stack-ref, byte-stack-set, byte-discardN)
25625 (byte-discardN-preserve-tos): New lap codes.
25626 (byte-interactive-p): Don't use any more.
25627 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
25628 New macros.
25629 (byte-compile-lapcode): Use them and handle new lap codes.
25630 (byte-compile-obsolete): Remove.
25631 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
25632 (byte-compile-arglist-warn): Check late def of inlinable funs.
25633 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
25634 since they should have been expanded by now.
25635 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
25636 (byte-compile-from-buffer): Remove unused second arg.
25637 (byte-compile-preprocess): New function.
25638 (byte-compile-toplevel-file-form): New function to distinguish
25639 file-form calls from outside from file-form calls from hunk-handlers.
25640 (byte-compile-file-form): Simplify.
25641 (byte-compile-file-form-defsubst): Remove.
25642 (byte-compile-file-form-defmumble): Simplify now that
25643 byte-compile-lambda always returns a byte-code-function.
25644 (byte-compile): Preprocess.
25645 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
25646 Remove, not used any more.
25647 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
25648 (byte-compile-make-args-desc): New funs.
25649 (byte-compile-lambda): Handle lexical functions. Always return
25650 a byte-code-function.
25651 (byte-compile-reserved-constants): New var, to make up room for
25652 closed-over variables.
25653 (byte-compile-constants-vector): Obey it.
25654 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
25655 (byte-compile-macroexpand-declare-function): New function.
25656 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
25657 byte-code-functions.
25658 (byte-compile-form): Check obsolescence here.
25659 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
25660 (byte-compile-variable-ref): Remove.
25661 (byte-compile-dynamic-variable-op): New fun.
25662 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
25663 (byte-compile-variable-set): New funs.
25664 (byte-compile-discard): Add 2 args.
25665 (byte-compile-stack-ref, byte-compile-stack-set)
25666 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
25667 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
25668 macroexpand-all instead.
25669 (byte-compile-quote-form): Remove.
25670 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
25671 (byte-compile-bind, byte-compile-unbind): New funs.
25672 (byte-compile-let): Handle let* and lexical binding.
25673 (byte-compile-let*): Remove.
25674 (byte-compile-catch, byte-compile-unwind-protect)
25675 (byte-compile-track-mouse, byte-compile-condition-case):
25676 Handle a new :fun-body form, used for lexical scoping.
25677 (byte-compile-save-window-excursion)
25678 (byte-compile-with-output-to-temp-buffer): Remove.
25679 (byte-compile-defun): Simplify.
25680 (byte-compile-stack-adjustment): New fun.
25681 (byte-compile-out): Use it.
25682 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
25683
25684 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
25685 handler any more.
25686
25687 * emacs-lisp/byte-opt.el: Use lexical binding.
25688 (byte-inline-lapcode): Remove (to bytecomp).
25689 (byte-compile-inline-expand): Pay attention to inlining to/from
25690 lexically bound code.
25691 (byte-compile-unfold-lambda): Don't handle byte-code-functions
25692 any more.
25693 (byte-optimize-form-code-walker): Don't handle save-window-excursion
25694 any more and don't call compiler-macros.
25695 (byte-compile-splice-in-already-compiled-code): Remove.
25696 (byte-code): Don't inline any more.
25697 (disassemble-offset): Receive `bytes' as argument rather than via
25698 dynamic scoping.
25699 (byte-compile-tag-number): Declare before first use.
25700 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
25701 `return' even if make-spliceable.
25702 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
25703 obsolete interactive-p.
25704 (byte-optimize-lapcode): Optimize new lap-codes.
25705 Don't trip up on new form of `byte-constant' lap code.
25706
25707 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
25708
25709 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
25710
25711 * custom.el (custom-initialize-default, custom-declare-variable):
25712 Use `defvar'.
25713
25714 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
25715 New variables.
25716 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
25717 (COMPILE_FIRST): Add macroexp and cconv.
25718 * makefile.w32-in: Mirror changes in Makefile.in.
25719
25720 * vc/cvs-status.el:
25721 * vc/diff-mode.el:
25722 * vc/log-edit.el:
25723 * vc/log-view.el:
25724 * vc/smerge-mode.el:
25725 * textmodes/bibtex-style.el:
25726 * textmodes/css-mode.el:
25727 * startup.el:
25728 * uniquify.el:
25729 * minibuffer.el:
25730 * newcomment.el:
25731 * reveal.el:
25732 * server.el:
25733 * mpc.el:
25734 * emacs-lisp/smie.el:
25735 * doc-view.el:
25736 * dired.el:
25737 * abbrev.el: Use lexical binding.
25738
25739 2011-04-01 Eli Zaretskii <eliz@gnu.org>
25740
25741 * info.el (info-display-manual): New function.
25742
25743 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
25744
25745 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
25746
25747 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
25748
25749 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
25750 an entry for that server in rcirc-authinfo. (Bug#8385)
25751
25752 2011-03-31 Glenn Morris <rgm@gnu.org>
25753
25754 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
25755
25756 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
25757
25758 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
25759
25760 * progmodes/python.el (python-default-interpreter)
25761 (python-python-command-args, python-jython-command-args)
25762 (python-which-shell, python-which-args, python-which-bufname)
25763 (python-file-queue, python-comint-output-filter-function)
25764 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
25765 variables and functions.
25766
25767 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
25768
25769 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
25770 (completion-in-region-mode): New minor mode.
25771 (completion-in-region): Use it.
25772 (completion-in-region--data, completion-in-region-mode-map): New vars.
25773 (completion-in-region--postch): New function.
25774 (completion--capf-misbehave-funs, completion--capf-safe-funs):
25775 New vars.
25776 (completion--capf-wrapper): New function.
25777 (completion-at-point): Use it to track well-behavedness of
25778 hook functions.
25779 (completion-help-at-point): New command.
25780
25781 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
25782
25783 * vc/add-log.el (add-change-log-entry): Don't use whitespace
25784 syntax class to search for whitespace on a single line
25785 (Message-ID: <4D938140.4030905@redhat.com>).
25786
25787 2011-03-30 Leo Liu <sdl.web@gmail.com>
25788
25789 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
25790 New commands.
25791 (edit-abbrevs-map): Bind them here.
25792 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
25793
25794 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
25795
25796 * allout.el (allout-hide-by-annotation, allout-flag-region):
25797 Reduce possibility of overlay leakage by making them volatile.
25798
25799 * allout-widgets.el (allout-widgets-tally): Define as nil so the
25800 hash is not shared between buffers. Mode initialization is
25801 responsible for giving it a useful starting value.
25802 (allout-item-span): Reduce possibility of overlay leakage by
25803 making them volatile.
25804 (allout-widgets-count-buttons-in-region): Add diagnostic function
25805 for tracking down button overlay leaks.
25806
25807 2011-03-29 Leo Liu <sdl.web@gmail.com>
25808
25809 * ido.el (ido-read-internal): Use the default history var
25810 minibuffer-history if no HISTORY is specified.
25811
25812 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
25813
25814 * net/imap.el (imap-shell-open, imap-process-connection-type):
25815 Use imap-process-connection-type for 'shell' streams as well as
25816 Kerberos, SSL, other subprocesses.
25817
25818 2011-03-28 Leo Liu <sdl.web@gmail.com>
25819
25820 * abbrev.el (abbrev-table-empty-p): New function.
25821 (prepare-abbrev-list-buffer): Place empty abbrev tables after
25822 nonempty ones. (Bug#5937)
25823
25824 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
25825
25826 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
25827
25828 2011-03-27 Leo Liu <sdl.web@gmail.com>
25829
25830 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
25831 for foreground and background colors.
25832 (ansi-color-make-color-map): Adapt.
25833
25834 2011-03-25 Leo Liu <sdl.web@gmail.com>
25835
25836 * midnight.el (midnight-time-float): Remove. Note it calculates
25837 the microsecond component incorrectly and seconds-to-time does the
25838 same job.
25839 Remove redundant (require 'timer).
25840
25841 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
25842 (ido-completions): Remove unused arguments. (Bug#8329)
25843
25844 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
25845
25846 * minibuffer.el (completion--flush-all-sorted-completions):
25847 Remove itself from hook.
25848 (completion-at-point): Let the functions perform the completion
25849 immediately and return nil or t.
25850 * comint.el (comint-dynamic-complete-functions): Now identical to
25851 completion-at-point-functions.
25852 (comint-dynamic-list-input-ring): Remove unused var `index'.
25853 (comint--match-partial-filename, comint--unquote&expand-filename):
25854 New funs, split from comint-match-partial-filename.
25855 (comint-dynamic-complete): Use completion-at-point.
25856 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
25857
25858 2011-03-24 Drew Adams <drew.adams@oracle.com>
25859
25860 * thingatpt.el: Support `defun'.
25861
25862 2011-03-23 Leo Liu <sdl.web@gmail.com>
25863
25864 * abbrevlist.el: Move to obsolete/abbrevlist.el.
25865
25866 * help-mode.el (help-mode-finish): Tweak regexp.
25867
25868 2011-03-23 Glenn Morris <rgm@gnu.org>
25869
25870 * eshell/esh-opt.el (eshell-eval-using-options):
25871 Do not bind unused local variable `eshell-option-stub'.
25872
25873 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
25874
25875 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
25876
25877 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
25878 keymap variable in `with-no-warnings' to avoid a warning when the
25879 keymap has been already `defconst'ed.
25880
25881 2011-03-22 Leo Liu <sdl.web@gmail.com>
25882
25883 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
25884 encode all chars in abbrevs; otherwise use emacs-mule or
25885 utf-8-emacs. (Bug#8308)
25886
25887 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
25888
25889 * simple.el (backward-delete-char-untabify):
25890 Avoid warning about using `delete-backward-char'.
25891
25892 * image.el (image-type-file-name-regexps): Make it variable.
25893 `imagemagick-register-types' modifies it, and the user may want
25894 to add new extensions for known image types.
25895 (imagemagick-register-types): Throw error if not using ImageMagick.
25896
25897 2011-03-22 Leo Liu <sdl.web@gmail.com>
25898
25899 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
25900 located before rcirc-prompt-end-marker.
25901 (rcirc-complete): Error if point is not after rcirc prompt.
25902 Handle the case when table is nil.
25903 (rcirc-user-authenticated): Define to fix compiler warning.
25904
25905 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
25906
25907 * custom.el (custom--inhibit-theme-enable): Make it affect only
25908 custom-theme-set-variables and custom-theme-set-faces.
25909 (provide-theme): Ignore custom--inhibit-theme-enable.
25910 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
25911 (custom-enabling-themes): Delete variable.
25912 (enable-theme): Accept only loaded themes as arguments.
25913 Ignore the special custom-enabled-themes variable.
25914 (custom-enabled-themes): Forbid themes from setting this.
25915 Eliminate use of custom-enabling-themes.
25916 (custom-push-theme): Quote "changed" custom var entry.
25917
25918 2011-03-21 Leo Liu <sdl.web@gmail.com>
25919
25920 * ido.el (ido-read-internal): Add ido-selected to history instead
25921 of user input.
25922
25923 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
25924
25925 * subr.el (deferred-action-list, deferred-action-function):
25926 Mark obsolete.
25927
25928 2011-03-21 Leo Liu <sdl.web@gmail.com>
25929
25930 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
25931 change on 2011-02-13 (bug#8309).
25932
25933 * minibuffer.el (read-file-name-function): Change default value.
25934 (read-file-name--defaults): Rename from read-file-name-defaults.
25935 (read-file-name-default): Rename from read-file-name.
25936 (read-file-name): Call read-file-name-function.
25937
25938 2011-03-21 Glenn Morris <rgm@gnu.org>
25939
25940 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
25941 Doc fixes.
25942
25943 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
25944
25945 * cus-theme.el: Add missing provide statement.
25946 (customize-create-theme): Extract theme value correctly.
25947 (custom-theme-visit-theme): Autoload.
25948 (customize-create-theme): Prompt before inserting default faces.
25949
25950 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
25951
25952 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
25953 units and musical notes.
25954
25955 2011-03-20 Leo Liu <sdl.web@gmail.com>
25956
25957 * ido.el (ido-read-internal): Use completing-read-default.
25958 (ido-completing-read): Fix compatibility with completing-read.
25959
25960 2011-03-20 Christian Ohler <ohler@gnu.org>
25961
25962 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
25963 (ert-delete-all-tests): Use `called-interactively-p' rather than
25964 `interactive-p'.
25965 (ert--make-xrefs-region): Respect END.
25966
25967 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
25968
25969 * dired-aux.el (dired-create-directory): Signal an error if the
25970 directory already exists (Bug#8246).
25971
25972 * facemenu.el (list-colors-display): Call list-faces-display
25973 inside with-help-window.
25974 (list-colors-print): Use display property to align the final
25975 column, instead of checking window-width.
25976
25977 2011-03-19 Eli Zaretskii <eliz@gnu.org>
25978
25979 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
25980 windows-nt systems.
25981 (emerge-protect-metachars): Quote correctly for ms-dos and
25982 windows-nt systems.
25983
25984 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
25985
25986 * info.el (info-initialize): Replace all uses of `:' with
25987 path-separator for compatibility with non-Unix systems.
25988 Cache quoting of path-separator. (Bug#8258)
25989
25990 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
25991
25992 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
25993 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
25994 (mouse-avoidance-mode): Fix typos in docstrings.
25995
25996 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
25997
25998 * startup.el (package-subdirectory-regexp): Move from package.el.
25999 Omit \\` and \\', and let callers add them.
26000
26001 * emacs-lisp/package.el (package-strip-version)
26002 (package-load-all-descriptors): Add \\` and \\' to
26003 package-subdirectory-regexp before using it.
26004 (package-untar-buffer): New arg DIR; ensure that file untars only
26005 into this expected directory. Remove superfluous delete-region.
26006 (package-unpack): Caller changed.
26007 (package-tar-file-info): Use package-subdirectory-regexp.
26008
26009 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
26010
26011 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
26012 diff-mode-shared-map (bug#8284).
26013 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
26014
26015 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
26016
26017 * calendar/time-date.el (format-seconds): Use assoc instead of
26018 assoc-string, since assoc-string doesn't exist in XEmacs.
26019
26020 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
26021
26022 * custom.el (custom-known-themes): Reflow docstring.
26023 (custom-theme-load-path): Fix typo in docstring.
26024 (load-theme): Fix typo in error message.
26025 (custom-available-themes, custom-variable-theme-value):
26026 Use `let', not `let*'.
26027
26028 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
26029
26030 * calc/README: Mention inclusion of musical notes.
26031
26032 * calc/calc-units.el (calc-lu-quant): Rename from
26033 `calc-logunits-quantity'.
26034 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
26035 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
26036 (calc-db): Rename from `calc-dblevel'.
26037 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
26038 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
26039 (calc-np): Rename from `calc-nplevel'.
26040 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
26041 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
26042 (calc-lu-plus): Rename from `calc-logunits-add'.
26043 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
26044 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
26045 (calc-lu-minus): Rename from `calc-logunits-sub'.
26046 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
26047 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
26048 (calc-lu-times): Rename from `calc-logunits-mul'.
26049 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
26050 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
26051 (calc-lu-divide): Rename from `calc-logunits-div'.
26052 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
26053 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
26054
26055 * calc/calc-ext.el (calc-init-extensions): Update the names of the
26056 functions being autoloaded.
26057
26058 * calc/calc.el (calc-lu-power-reference): Rename from
26059 `calc-logunits-power-reference'.
26060 (calc-lu-field-reference): Rename from
26061 `calc-logunits-field-reference'.
26062
26063 * calc/calc-help.el (calc-l-prefix-help):
26064 Mention musical note functions.
26065
26066 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
26067
26068 * minibuffer.el (completion-all-sorted-completions):
26069 Use :completion-cycle-penalty text property if present.
26070
26071 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
26072
26073 * allout.el (allout-yank-processing): Adjust for new rebulleting
26074 regime so bullet being yanked is used without prompting the user
26075 for a choice.
26076
26077 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
26078
26079 * startup.el (command-line): Warn the user that _emacs is deprecated.
26080
26081 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
26082
26083 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
26084 (delphi-verbose, delphi-comment-face, delphi-string-face)
26085 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
26086 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
26087 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
26088 (delphi-new-comment-line, delphi-font-lock-defaults)
26089 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
26090 Fix typos in docstrings.
26091
26092 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
26093
26094 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
26095 Invert the roles of character and string values for INSTEAD, so a
26096 string is used for the more common case of a defaulting prompt.
26097
26098 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
26099
26100 * progmodes/ruby-mode.el (ruby-backward-sexp):
26101 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
26102 * play/gamegrid.el (gamegrid-make-face):
26103 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
26104 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
26105 * notifications.el (notifications-notify):
26106 * net/xesam.el (xesam-search-engines):
26107 * net/quickurl.el (quickurl-list-insert):
26108 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
26109
26110 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
26111
26112 * startup.el (command-line): Update package subdirectory regexp.
26113
26114 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
26115
26116 * allout.el (allout-abbreviate-flattened-numbering)
26117 (allout-mode-deactivate-hook): Fix up obsolescence "date".
26118
26119 * subr.el (read-char-choice): Only show the cursor after the prompt,
26120 not after the answer.
26121
26122 2011-03-15 Kevin Ryde <user42@zip.com.au>
26123
26124 * help-fns.el (variable-at-point): Skip leading quotes, if any
26125 (bug#8253).
26126
26127 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
26128
26129 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
26130 warning message.
26131
26132 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
26133
26134 * shell.el (shell): When called interactively, offer to change the
26135 shell file name on remote hosts.
26136
26137 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
26138
26139 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
26140 integration for LDAP parameters. The host, base, user or binddn,
26141 and secret tokens can be specified in a netrc file, for instance.
26142 This is optional because an `auth-source' parameter must be
26143 specified in the search attributes.
26144
26145 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
26146
26147 * help.el (describe-mode): Link to the mode's definition (bug#8185).
26148
26149 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
26150
26151 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
26152 into declaration. Remove redundant and harmful binding.
26153
26154 2011-03-12 Eli Zaretskii <eliz@gnu.org>
26155
26156 * files.el (file-ownership-preserved-p): Pass `integer' as an
26157 explicit 2nd argument to `file-attributes'. If the file's owner
26158 is the Administrators group on Windows, and the current user is
26159 Administrator, consider that a match.
26160
26161 * server.el (server-ensure-safe-dir): Consider server directory
26162 safe on MS-Windows if its owner is the Administrators group while
26163 the current Emacs user is Administrator. Use `=' to compare
26164 numerical UIDs, since they could be integers or floats.
26165
26166 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
26167
26168 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
26169
26170 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
26171
26172 Sync with Tramp 2.2.1.
26173
26174 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
26175
26176 * net/trampver.el: Update release number.
26177
26178 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
26179
26180 * progmodes/compile.el (compilation--previous-directory): Fix up
26181 various nil/dead-marker mismatches (bug#8014).
26182 (compilation-directory-properties, compilation-error-properties):
26183 Don't call it at a position past the one we're about to change.
26184
26185 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
26186 Disable obsolescence warnings in the file that declares it.
26187
26188 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
26189
26190 * allout-widgets.el (allout-widgets-tally):
26191 Initialize allout-widgets-tally as a hash table rather than nil to
26192 prevent mode-line redisplay warnings. Also, clarify the module
26193 description and fix a comment typo.
26194
26195 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
26196
26197 * help-fns.el (describe-variable): Don't complete keywords.
26198 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
26199
26200 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
26201
26202 * emacs-lisp/package.el (package-version-join): Impose a standard
26203 string representation for pre/alpha/beta version lists.
26204 (package-unpack-single): Standardize the directory name by passing
26205 it through package-version-join.
26206 (package-strip-rcs-id): Accept any version string that does not
26207 signal an error in version-to-list.
26208
26209 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
26210
26211 * simple.el (delete-trailing-whitespace): Return nil for the
26212 benefit of `write-file-functions'.
26213
26214 2011-03-10 Glenn Morris <rgm@gnu.org>
26215
26216 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
26217
26218 * vc/vc-git.el (vc-git-program): New option.
26219 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
26220 (vc-git--call): Use it.
26221
26222 * eshell/esh-util.el (eshell-condition-case): Doc fix.
26223
26224 * cus-edit.el (Custom-newline): If no button at point, look
26225 for a subgroup button at start-of-line. (Bug#2298)
26226
26227 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
26228
26229 2011-03-10 Julien Danjou <julien@danjou.info>
26230
26231 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
26232 `cursor-type' is nil.
26233
26234 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
26235
26236 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
26237
26238 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
26239
26240 * allout.el: Change so yank of distinctive-bullet items
26241 preserves the existing header prefix, rebulleting it if necessary,
26242 rather than replacing it. This is necessary for proper operation
26243 of cooperative addons like allout-widgets.
26244 (allout-make-topic-prefix, allout-rebullet-heading):
26245 Change SOLICIT arg to INSTEAD, and interpret additionally a string
26246 value as alternate bullet to be used, instead of prompting the user
26247 for a bullet character.
26248
26249 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
26250
26251 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
26252 Do not use `tramp-file-name-port', because this returns also
26253 `tramp-default-port'.
26254
26255 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
26256
26257 * net/rcirc.el (rcirc-handler-001): Remove useless
26258 with-rcirc-process-buffer.
26259 (rcirc-check-auth-status): Swap arguments to string-match.
26260
26261 2011-03-09 Glenn Morris <rgm@gnu.org>
26262
26263 * shell.el (shell-mode):
26264 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
26265
26266 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
26267 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
26268
26269 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
26270
26271 * emacs-lisp/package.el (package-refresh-contents)
26272 (package-menu-execute): Use condition-case-no-debug.
26273
26274 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
26275
26276 * simple.el (shell-command-to-string): Use `process-file'.
26277
26278 * emacs-lisp/package.el (package-tar-file-info): Handle also
26279 remote files.
26280
26281 * emacs-lisp/package-x.el (package-upload-buffer-internal):
26282 Use `equal' for upload base check.
26283
26284 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
26285
26286 * textmodes/texinfo.el (texinfo-environments):
26287 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
26288
26289 2011-03-08 Glenn Morris <rgm@gnu.org>
26290
26291 * cus-start.el (cursor-in-non-selected-windows):
26292 Fix :set quoting oddness. (Bug#8192)
26293
26294 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
26295 in some setf expressions. (Bug#2159)
26296
26297 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
26298
26299 * custom.el (custom-available-themes): Return themes in
26300 alphabetical order.
26301
26302 See ChangeLog.15 for earlier changes.
26303
26304 ;; Local Variables:
26305 ;; coding: utf-8
26306 ;; End:
26307
26308 Copyright (C) 2011-2013 Free Software Foundation, Inc.
26309
26310 This file is part of GNU Emacs.
26311
26312 GNU Emacs is free software: you can redistribute it and/or modify
26313 it under the terms of the GNU General Public License as published by
26314 the Free Software Foundation, either version 3 of the License, or
26315 (at your option) any later version.
26316
26317 GNU Emacs is distributed in the hope that it will be useful,
26318 but WITHOUT ANY WARRANTY; without even the implied warranty of
26319 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
26320 GNU General Public License for more details.
26321
26322 You should have received a copy of the GNU General Public License
26323 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.