textmodes/flyspell.el: Don't check pre-word if buffer was switched.
[bpt/emacs.git] / lisp / ChangeLog
1 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
2
3 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
4 command changed buffer (ie. `flyspell-pre-buffer' is not current
5 buffer), which prevents making decisions based on invalid value of
6 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
7 cause an error when `flyspell-pre-point' was nil after switching
8 buffers
9 (flyspell-post-command-hook): No longer needs to change buffers when
10 checking pre-word. While at it remove unnecessary progn.
11
12 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
13
14 * textmodes/ispell.el (ispell-add-per-file-word-list):
15 Fix `flyspell-correct-word-before-point' error when accepting
16 words and `coment-padding' is an integer by using
17 `comment-normalize-vars' (Bug #14214).
18
19 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
20
21 New defun movement commands.
22 * progmodes/python.el (python-nav--syntactically)
23 (python-nav--forward-defun, python-nav-backward-defun)
24 (python-nav-forward-defun): New functions.
25
26 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
27
28 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
29 (python-syntax-context): Use named compiler-macro for backwards
30 compatibility with Emacs 24.x.
31
32 2013-04-17 Leo Liu <sdl.web@gmail.com>
33
34 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
35 octave-hide-process-buffer.
36
37 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
38
39 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
40 (bug#14216).
41
42 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
43
44 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
45 Fix adjustment of offset when receiving incomplete responses from GDB
46 (bug#14129).
47
48 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
49
50 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
51 python-mode-abbrev-table.
52 (python-skeleton-define): Adjust accordingly.
53 (python-mode-abbrev-table): New table that inherits from it so that
54 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
55
56 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
57 (abbrev-symbol): Use it.
58 (abbrev--before-point): Use it since we already handle inheritance.
59
60 2013-04-16 Leo Liu <sdl.web@gmail.com>
61
62 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
63 binding to info-lookup-symbol.
64
65 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
66
67 * minibuffer.el (completion--twq-all):
68 * term/ns-win.el (ns-initialize-window-system):
69 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
70
71 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
72
73 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
74 global bindings.
75
76 * doc-view.el (doc-view-start-process): Handle url-handler directories.
77
78 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
79
80 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
81 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
82 to nil.
83 (ruby-end-of-defun): Remove the unused arg, change the docstring
84 to reflect that this function is only used as the value of
85 `end-of-defun-function'.
86 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
87 to reflect an earlier change that beginning/end-of-defun functions
88 jump between methods in a class definition, as well as top-level
89 functions.
90
91 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
92
93 * minibuffer.el (minibuffer-complete): Don't just scroll
94 a *Completions* that's been iconified.
95 (minibuffer-force-complete): Make sure repetitions do cycle when going
96 through completion-in-region -> minibuffer-complete.
97
98 2013-04-15 Alan Mackenzie <acm@muc.de>
99
100 Correct the placement of c-cpp-delimiters when there're #s not at
101 col 0.
102
103 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
104 place a submatch around the #.
105 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
106 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
107 on the #, not BOL.
108
109 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
110
111 * emacs-lisp/nadvice.el: Properly test names when adding advice.
112 (advice--member-p): New arg `name'.
113 (advice--add-function, advice-member-p): Use it (bug#14202).
114
115 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
116
117 Reformulate java imenu-generic-expression.
118 The old expression contained ill formed regexps.
119
120 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
121 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
122 (cc-imenu-java-method-arg-regexp): New defconsts.
123 (cc-imenu-java-build-type-args-regex): New defun.
124 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
125 handling of spaces in the regexp.
126
127 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
128
129 * textmodes/ispell.el (ispell-command-loop): Remove
130 flyspell highlight of a word when ispell accepts it (bug #14178).
131
132 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
133
134 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
135 uses code from the previous `ange-ftp-run-real-handler'.
136 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
137 only in case that function exist. This is needed for proper
138 unloading of Tramp.
139
140 2013-04-15 Tassilo Horn <tsdh@gnu.org>
141
142 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
143
144 * textmodes/reftex.el (reftex-compile-variables): Use it.
145
146 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
147
148 * files.el (normal-mode): Only use default major-mode if no other mode
149 was specified.
150
151 * emacs-lisp/trace.el (trace-values): New function.
152
153 * files.el: Allow : in local variables (bug#14089).
154 (hack-local-variable-regexp): New var.
155 (hack-local-variables-prop-line, hack-local-variables): Use it.
156
157 2013-04-13 Roland Winkler <winkler@gnu.org>
158
159 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
160 data before it gets modified by bibtex-beginning-of-entry.
161
162 2013-04-13 Roland Winkler <winkler@gnu.org>
163
164 * textmodes/bibtex.el (bibtex-url): Doc fix.
165
166 2013-04-13 Roland Winkler <winkler@gnu.org>
167
168 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
169 does not visit a BibTeX file, exclude it from the list of buffers
170 returned by bibtex-initialize.
171
172 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
173
174 * window.el (split-window): Remove interactive form, since as a
175 command this function is a special case of split-window-below.
176 Correct doc string.
177
178 2013-04-12 Roland Winkler <winkler@gnu.org>
179
180 * faces.el (read-face-name): Do not override value of arg default.
181 Allow single faces and strings as default values. Remove those
182 elements from return value that are not faces.
183 (describe-face): Simplify.
184 (face-at-point): New optional args thing and multiple so that this
185 function can provide the same functionality previously provided by
186 read-face-name.
187 (make-face-bold, make-face-unbold, make-face-italic)
188 (make-face-unitalic, make-face-bold-italic, invert-face)
189 (modify-face, read-face-and-attribute): Use face-at-point.
190
191 * cus-edit.el (customize-face, customize-face-other-window)
192 * cus-theme.el (custom-theme-add-face)
193 * face-remap.el (buffer-face-set)
194 * facemenu.el (facemenu-set-face): Use face-at-point.
195
196 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
197
198 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
199
200 2013-04-10 Tassilo Horn <tsdh@gnu.org>
201
202 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
203 off leading { and trailing } from field values.
204
205 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
206
207 * emacs-lisp/timer.el (timer--check): New function.
208 (timer--time, timer-set-function, timer-event-handler): Use it.
209 (timer-set-idle-time): Simplify.
210 (timer--activate): CSE.
211 (timer-event-handler): Give more info in error message.
212 (internal-timer-start-idle): New function, moved from C.
213
214 * mpc.el (mpc-proc): Add `restart' argument.
215 (mpc-proc-cmd): Use it.
216 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
217 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
218 less often.
219
220 2013-04-10 Masatake YAMATO <yamato@redhat.com>
221
222 * progmodes/sh-script.el: Implement `sh-mode' own
223 `add-log-current-defun-function' (bug#14112).
224 (sh-current-defun-name): New function.
225 (sh-mode): Use the function.
226
227 2013-04-09 Bastien Guerry <bzg@gnu.org>
228
229 * simple.el (choose-completion-string): Fix docstring (bug#14163).
230
231 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
232
233 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
234
235 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
236 timer (bug#14156).
237
238 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
239
240 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
241 declaration.
242
243 2013-04-07 Leo Liu <sdl.web@gmail.com>
244
245 * pcmpl-x.el: New file.
246
247 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
248
249 Do not set x-display-name until X connection is established.
250 This is needed to prevent from weird situation described at
251 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
252 * frame.el (make-frame): Set x-display-name after call to
253 window system initialization function, not before.
254 * term/x-win.el (x-initialize-window-system): Add optional
255 display argument and use it.
256 * term/w32-win.el (w32-initialize-window-system):
257 * term/ns-win.el (ns-initialize-window-system):
258 * term/pc-win.el (msdos-initialize-window-system):
259 Add compatible optional display argument.
260
261 2013-04-06 Eli Zaretskii <eliz@gnu.org>
262
263 * files.el (normal-backup-enable-predicate): On MS-Windows and
264 MS-DOS compare truenames of temporary-file-directory and of the
265 file, so that 8+3 aliases (usually found in $TEMP on Windows)
266 don't fail comparison by compare-strings. Also, compare file
267 names case-insensitively on MS-Windows and MS-DOS.
268
269 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
270
271 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
272 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
273
274 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
275
276 * whitespace.el (whitespace-color-on, whitespace-color-off):
277 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
278
279 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
280
281 * ispell.el (ispell-set-spellchecker-params):
282 Really set `ispell-args' for all equivs.
283
284 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
285
286 * ido.el (ido-completions): Use extra elements of ido-decorations
287 (bug#14143).
288 (ido-decorations): Update docstring.
289
290 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
291
292 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
293 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
294 nil during initialization, in order not to miss changes since the
295 file was opened. (Bug#14140)
296
297 2013-04-05 Leo Liu <sdl.web@gmail.com>
298
299 * kmacro.el (kmacro-call-macro): Fix bug#14135.
300
301 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
302
303 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
304
305 2013-04-04 Glenn Morris <rgm@gnu.org>
306
307 * electric.el (electric-pair-inhibit-predicate): Add :version.
308
309 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
310
311 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
312 when a package is required several times (bug#14082).
313
314 2013-04-04 Roland Winkler <winkler@gnu.org>
315
316 * faces.el (read-face-name): Behave as promised by the docstring.
317 Assume that arg default is a list of faces.
318 (describe-face): Call read-face-name with list of default faces.
319
320 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
321
322 * bookmark.el: Fix deletion of bookmarks (bug#13972).
323 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
324 (bookmark-bmenu-execute-deletions): Only skip first line if it's
325 the header.
326 (bookmark-exit-hook-internal): Save even if list is empty.
327
328 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
329
330 * emacs-lisp/package.el (package-pinned-packages): New var.
331 (package--add-to-archive-contents): Obey it (bug#14118).
332
333 2013-04-03 Alan Mackenzie <acm@muc.de>
334
335 Handle `parse-partial-sexp' landing inside a comment opener
336 (Bug#13244). Also adapt to the new values of element 7 of a parse
337 state.
338
339 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
340 parameter `not-in-delimiter'. Handle being inside comment opener.
341 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
342 character in case we're typing a '*' after a '/'.
343 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
344 instead by passing the parameter to c-state-pp-to-literal.
345
346 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
347 for elt. 7 of a parse state.
348
349 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
350
351 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
352 * international/latin1-disp.el, international/mule-util.el:
353 * language/cyril-util.el, language/european.el, language/ind-util.el:
354 * language/lao-util.el, language/thai.el, language/tibet-util.el:
355 * language/tibetan.el, language/viet-util.el:
356 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
357
358 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
359
360 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
361 (electric-pair-post-self-insert-function): Use it.
362 (electric-pair-default-inhibit): New function, extracted from
363 electric-pair-post-self-insert-function.
364
365 2013-03-31 Roland Winkler <winkler@gnu.org>
366
367 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
368
369 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
370
371 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
372
373 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
374
375 Un-indent after "pass" and "return" statements (Bug#13888)
376 * progmodes/python.el (python-indent-block-enders): New var.
377 (python-indent-calculate-indentation): Use it.
378
379 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
380
381 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
382 defun. Defining it as defalias could introduce too eager
383 byte-compiler optimization. (Bug#14030)
384
385 2013-03-30 Chong Yidong <cyd@gnu.org>
386
387 * iswitchb.el (iswitchb-read-buffer): Fix typo.
388
389 2013-03-30 Leo Liu <sdl.web@gmail.com>
390
391 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
392 (kmacro-execute-from-register): Pass the keyboard macro to
393 kmacro-call-macro or repeating won't work correctly.
394
395 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
396
397 * progmodes/subword.el: Back to using `forward-symbol'.
398
399 * subr.el (forward-whitespace, forward-symbol)
400 (forward-same-syntax): Move from thingatpt.el.
401
402 2013-03-29 Leo Liu <sdl.web@gmail.com>
403
404 * kmacro.el (kmacro-to-register): New command.
405 (kmacro-execute-from-register): New function.
406 (kmacro-keymap): Bind to 'x'. (Bug#14071)
407
408 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
409
410 * mpc.el: Use defvar-local and setq-local.
411 (mpc--proc-connect): Connection failures are not bugs.
412 (mpc-mode-map): `follow-link' only applies to the buffer's content.
413 (mpc-volume-map): Bind to the up-events.
414
415 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
416
417 * progmodes/subword.el (superword-mode): Use `forward-sexp'
418 instead of `forward-symbol'.
419
420 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
421
422 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
423 (edebug--recursive-edit): Use it.
424 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
425 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
426
427 2013-03-28 Leo Liu <sdl.web@gmail.com>
428
429 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
430
431 2013-03-27 Eli Zaretskii <eliz@gnu.org>
432
433 * facemenu.el (list-colors-callback): New defvar.
434 (list-colors-redisplay): New function.
435 (list-colors-display): Install list-colors-redisplay as the
436 revert-buffer-function. (Bug#14063)
437
438 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
439
440 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
441 and suffixes don't overlap (bug#14061).
442
443 * case-table.el: Use lexical-binding.
444 (case-table-get-table): New function.
445 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
446
447 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
448
449 * progmodes/subword.el: Add `superword-mode' to do word motion
450 over symbol_words (parallels and leverages `subword-mode' which
451 does word motion inside MixedCaseWords).
452
453 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
454
455 * eshell/em-unix.el: Move su and sudo to...
456 * eshell/em-tramp.el: ...Eshell tramp module.
457
458 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
459
460 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
461 Change return value to be a sexp. Delay `get-buffer' to after
462 restoring the desktop (bug#13951).
463
464 2013-03-26 Leo Liu <sdl.web@gmail.com>
465
466 * register.el: Move semantic tag handling back to
467 cedet/semantic/senator.el. (Bug#14052)
468
469 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
470
471 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
472 into the prompt either (bug#13963).
473
474 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
475
476 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
477 part of "(error-foo)".
478
479 2013-03-24 Juri Linkov <juri@jurta.org>
480
481 * replace.el (list-matching-lines-prefix-face): New defcustom.
482 (occur-1): Pass `list-matching-lines-prefix-face' to the function
483 `occur-engine' if `face-differs-from-default-p' returns t.
484 (occur-engine): Add `,' inside backquote construct to evaluate
485 `prefix-face'. Propertize the prefix with the `prefix-face' face.
486 Pass `prefix-face' to the functions `occur-context-lines' and
487 `occur-engine-add-prefix'.
488 (occur-engine-add-prefix, occur-context-lines): Add optional arg
489 `prefix-face' and propertize the prefix with `prefix-face'.
490 (Bug#14017)
491
492 2013-03-24 Leo Liu <sdl.web@gmail.com>
493
494 * nxml/rng-valid.el (rng-validate-while-idle)
495 (rng-validate-quick-while-idle): Guard against deleted buffer.
496 (Bug#13999)
497
498 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
499 is the last entry in kill-buffer-hook.
500
501 * files.el (kill-buffer-hook): Doc fix.
502
503 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
504
505 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
506 Make it safe-local.
507
508 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
509
510 2013-03-23 Leo Liu <sdl.web@gmail.com>
511
512 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
513 Remove.
514
515 * nxml/rng-valid.el (rng-validate-mode)
516 (rng-after-change-function, rng-do-some-validation):
517 * nxml/rng-maint.el (rng-validate-buffer):
518 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
519 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
520 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
521 (nxml-extend-after-change-region): Use with-silent-modifications.
522
523 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
524 timer-idle-list.
525
526 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
527 (rng-next-error-1, rng-previous-error-1): Do not let-bind
528 timer-idle-list. (Bug#13999)
529
530 2013-03-23 Juri Linkov <juri@jurta.org>
531
532 * info.el (info-index-match): New face.
533 (Info-index, Info-apropos-matches): Add a nested subgroup to the
534 main pattern and add text properties with the new face to matches
535 in index entries relative to the beginning of the index entry.
536 (Bug#14015)
537
538 2013-03-21 Eric Ludlam <zappo@gnu.org>
539
540 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
541 Inhibit read only while inserting objects.
542
543 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
544
545 * progmodes/cfengine.el: Update docs to mention
546 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
547 symbol motion. Remove "_" from the word syntax.
548
549 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
550
551 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
552 syntax for both `cfengine2-mode' and `cfengine3-mode'.
553
554 2013-03-20 Juri Linkov <juri@jurta.org>
555
556 * info.el (Info-next-reference-or-link)
557 (Info-prev-reference-or-link): New functions.
558 (Info-next-reference, Info-prev-reference): Use them.
559 (Info-try-follow-nearest-node): Handle footnote navigation.
560 (Info-fontify-node): Fontify footnotes. (Bug#13989)
561
562 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
563
564 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
565 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
566
567 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
568
569 Suppress unnecessary non-ASCII chatter during build process.
570 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
571 (batch-skkdic-convert): Suppress most of the chatter.
572 It's not needed so much now that machines are faster,
573 and its non-ASCII component was confusing; see Dmitry Gutov in
574 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
575
576 2013-03-20 Leo Liu <sdl.web@gmail.com>
577
578 * ido.el (ido-chop): Fix bug#10994.
579
580 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
581
582 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
583 Remove vars.
584 (whitespace-color-on, whitespace-color-off):
585 Use `font-lock-fontify-buffer' (Bug#13817).
586
587 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
588
589 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
590 remapping in mode-line.
591 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
592
593 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
594
595 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
596 value for `whitespace-line' face (Bug#13875).
597 (whitespace-font-lock-keywords): Change description.
598 (whitespace-color-on): Don't save `font-lock-keywords' value, save
599 the constructed keywords instead.
600 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
601
602 2013-03-19 Leo Liu <sdl.web@gmail.com>
603
604 * progmodes/compile.el (compilation-display-error): New command.
605 (compilation-mode-map, compilation-minor-mode-map): Bind it to
606 C-o. (Bug#13992)
607
608 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
609
610 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
611
612 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
613
614 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
615
616 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
617
618 * net/tramp-compat.el (tramp-compat-user-error): New defun.
619
620 * net/tramp-adb.el (tramp-adb-handle-shell-command):
621 * net/tramp-gvfs.el (top):
622 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
623 (tramp-handle-shell-command): Use it.
624 (tramp-dissect-file-name): Raise an error when hostname is a
625 method name, and neither method nor user is specified.
626
627 * net/trampver.el: Update release number.
628
629 2013-03-18 Leo Liu <sdl.web@gmail.com>
630
631 Make sure eldoc can be turned off properly.
632 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
633 eldoc-mode.
634 (eldoc-display-message-p): Revert last change.
635 (eldoc-display-message-no-interference-p)
636 (eldoc-print-current-symbol-info): Tweak.
637
638 2013-03-18 Tassilo Horn <tsdh@gnu.org>
639
640 * doc-view.el (doc-view-new-window-function): Check the new window
641 overlay's display property instead the char property of the
642 buffer's first char. Use `with-selected-window' instead of
643 `save-window-excursion' with `select-window'.
644 (doc-view-document->bitmap): Check the current doc-view overlay's
645 display property instead the char property of the buffer's first char.
646
647 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
648
649 Automate the build of ja-dic.el (Bug#13984).
650 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
651 from the input, rather than assume that it's been done for us by the
652 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
653 the current date into a ja-dic.el comment, as that complicates
654 regression testing.
655
656 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
657
658 * whitespace.el: Fix double evaluation.
659 (whitespace-space, whitespace-hspace, whitespace-tab)
660 (whitespace-newline, whitespace-trailing, whitespace-line)
661 (whitespace-space-before-tab, whitespace-indentation)
662 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
663 obsolete defvars.
664 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
665 (whitespace-color-on): Use a single font-lock-add-keywords call.
666 Fix double-evaluation of face variables.
667
668 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
669
670 * net/tramp-adb.el (tramp-adb-parse-device-names):
671 Use `start-process' instead of `call-process'. Otherwise, the
672 function might be blocked under MS Windows. (Bug#13299)
673
674 2013-03-17 Leo Liu <sdl.web@gmail.com>
675
676 Extend eldoc to display info in the mode-line. (Bug#13978)
677 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
678 (eldoc-mode-line-string): New variable.
679 (eldoc-minibuffer-message): New function.
680 (eldoc-message-function): New variable.
681 (eldoc-message): Use it.
682 (eldoc-display-message-p)
683 (eldoc-display-message-no-interference-p):
684 Support eldoc-post-insert-mode.
685
686 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
687 (eval-expression): Run it.
688
689 2013-03-17 Roland Winkler <winkler@gnu.org>
690
691 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
692 strings in the list of return values.
693
694 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
695
696 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
697 radix before checking for HMS forms.
698
699 2013-03-16 Leo Liu <sdl.web@gmail.com>
700
701 * progmodes/scheme.el: Add indentation and font-locking for λ.
702 (Bug#13975)
703
704 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
705
706 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
707 token before point (bug#13942).
708
709 2013-03-16 Leo Liu <sdl.web@gmail.com>
710
711 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
712
713 2013-03-16 Eli Zaretskii <eliz@gnu.org>
714
715 * startup.el (command-line-normalize-file-name): Fix handling of
716 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
717 <xfq.free@gmail.com> in
718 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
719
720 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
721
722 Sync with Tramp 2.2.7.
723
724 * net/trampver.el: Update release number.
725
726 2013-03-14 Tassilo Horn <tsdh@gnu.org>
727
728 * doc-view.el Fix bug#13887.
729 (doc-view-insert-image): Don't modify overlay associated to
730 non-live windows, and implement horizontal centering of image in
731 case it's smaller than the window.
732 (doc-view-new-window-function): Force redisplay of new windows on
733 doc-view buffers.
734
735 2013-03-13 Karl Fogel <kfogel@red-bean.com>
736
737 * saveplace.el (save-place-alist-to-file): Don't sort
738 `save-place-alist', just pretty-print it (bug#13882).
739
740 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
741
742 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Check,
743 whether `default-file-name-coding-system' is bound. It isn't in
744 XEmacs.
745
746 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
747
748 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
749 backquotes for `obsolete' (bug#13929).
750
751 * international/mule.el (find-auto-coding): Include file name in
752 obsolescence warning (bug#13922).
753
754 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
755
756 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
757 for CFEngine 3-specific indentation.
758 (cfengine3-indent-line): Use it. Fix up category regex.
759 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
760
761 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
762
763 * type-break.el (type-break-file-name):
764 * textmodes/remember.el (remember-data-file):
765 * strokes.el (strokes-file):
766 * shadowfile.el (shadow-initialize):
767 * saveplace.el (save-place-file):
768 * ps-bdf.el (bdf-cache-file):
769 * progmodes/idlwave.el (idlwave-config-directory):
770 * net/quickurl.el (quickurl-url-file):
771 * international/kkc.el (kkc-init-file-name):
772 * ido.el (ido-save-directory-list-file):
773 * emulation/viper.el (viper-custom-file-name):
774 * emulation/vip.el (vip-startup-file):
775 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
776 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
777
778 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
779
780 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
781 * language/thai-word.el: Switch to UTF-8.
782
783 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
784
785 * recentf.el (recentf-save-file): Use locate-user-emacs-file (bug#13870).
786
787 2013-03-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
788
789 * net/net-utils.el (net-utils-remove-ctrl-m-filter):
790 Use with-current-buffer and don't move point.
791 (net-utils-run-simple): Remove useless code.
792 (net-utils-remove-ctl-m): Remove unused custom.
793
794 2013-03-11 Per Starbäck <starback@stp.lingfil.uu.se>
795
796 * international/characters.el (glyphless-set-char-table-range): New fun.
797 (update-glyphless-char-display): Use it (bug#13744).
798
799 2013-03-11 Teodor Zlatanov <tzz@lifelogs.com>
800
801 * progmodes/cfengine.el: Update for CFEngine 3.4.2 and higher:
802 namespaces in the syntax, indent closer for hanging brace
803 correctly, allow single-quote delimited 'strings', and make
804 `cfengine3-mode' the default.
805
806 2013-03-11 Jean-Philippe Gravel <jpgravel@gmail.com>
807
808 * progmodes/gdb-mi.el: Speed up initialization (bug#10580).
809 Use lexical-binding. Fix up docstring according to conventions.
810 (gdbmi-debug-mode): New var.
811 (gdbmi-start-with, gdbmi-same-start, gdbmi-is-number, gdbmi-bnf-init)
812 (gdbmi-bnf-output, gdbmi-bnf-skip-unrecognized, gdbmi-bnf-gdb-prompt)
813 (gdbmi-bnf-result-record, gdbmi-bnf-out-of-band-record)
814 (gdbmi-bnf-async-record, gdbmi-bnf-stream-record)
815 (gdbmi-bnf-console-stream-output, gdbmi-bnf-target-stream-output)
816 (gdbmi-bnf-log-stream-output, gdbmi-bnf-result-and-async-record-impl)
817 (gdbmi-bnf-incomplete-record-result): New functions.
818 (gdb-car<): Remove function.
819 (gdbmi-record-list): Remove variable.
820 (gdbmi-bnf-state, gdbmi-bnf-offset): New vars.
821 (gdbmi-bnf-result-state-configs): New const.
822 (gud-gdbmi-marker-filter): Rewrite.
823 (gdb-ignored-notification, gdb-thread-created, gdb-thread-exited)
824 (gdb-thread-selected, gdb-running, gdb-starting, gdb-stopped):
825 Add `token' argument.
826 (gdb-done, gdb-error): New functions.
827 (gdb-done-or-error): Add `is-complete' argument. Change arg order.
828
829 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
830
831 * term/xterm.el (xterm--report-background-handler): Don't burp
832 upon timeout.
833 (xterm--version-handler): Extract from terminal-init-xterm.
834 (xterm--query): Don't mishandle timeout. Remove debugging messages.
835 Allow multiple handlers.
836 (terminal-init-xterm): Handle OSX's Terminal.app's incorrect answer.
837
838 * term/xterm.el: Don't discard input (bug#6758). Use lexical-binding.
839 (xterm--report-background-handler, xterm--query): New functions.
840 (terminal-init-xterm): Use them.
841
842 2013-03-11 Michael R. Mauger <michael@mauger.com>
843
844 * progmodes/sql.el Version 3.2
845 Please note that my address changed to <michael@mauger.com>;
846 the <mmaug@yahoo.com> address remains active.
847 (sql-connection-alist): Updates documentation to fix bug#13715.
848 (sql-connect): Handle missing `sql-connection-alist' correctly.
849 (sql-mode-oracle-font-lock-keywords): Add missing keywords.
850 (sql-magic-go, sql-magic-semicolon): Mark with `delete-selection'
851 property.
852 (sql-default-value): New function.
853 (sql-get-login-ext, sql-get-login): Fixes bug where buffer-local
854 values were not used.
855 (sql-rename-buffer): Make sure alternate buffer name has no text
856 properties.
857 (sql-input-sender, sql-execute-feature): Fetch variable with
858 `buffer-local-value' rather than `with-current-buffer'.
859 (sql-*): Use #' function syntax consistently.
860 (sql-*): Use message/error/user-error consistently.
861
862 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
863
864 * xt-mouse.el (xterm-mouse-event-read): Remove.
865 (xterm-mouse--read-event-sequence-1000)
866 (xterm-mouse--read-event-sequence-1006): Use read-event instead.
867
868 2013-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
869
870 * term/xterm.el (xterm-function-map): Support format used with
871 formatOtherKeys=1 (bug#13839).
872
873 * emacs-lisp/byte-run.el (dont-compile): Declare obsolete.
874 (with-no-warnings): Use `declare'.
875
876 * whitespace.el (whitespace-enable-predicate): New variable.
877 (whitespace-enable-predicate): Use it.
878
879 * comint.el (comint-send-input, comint-snapshot-last-prompt)
880 (comint-output-filter, comint-update-fence):
881 Use with-silent-modifications.
882
883 2013-03-10 Jambunathan K <kjambunathan@gmail.com>
884
885 * replace.el (occur-read-regexp-defaults-function): New var.
886 (occur-read-regexp-defaults): New defun.
887 (occur-read-primary-args): Propagate above change (bug#13892).
888
889 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
890
891 * mouse.el (mouse-drag-track): Remove left-over debugging code.
892
893 2013-03-09 Michael Albinus <michael.albinus@gmx.de>
894
895 Major rewrite due to changed D-Bus interface of GVFS 1.14.
896
897 * net/tramp-gvfs.el (top): Extend check for gvfs availability.
898 (tramp-gvfs-methods-mounttracker, tramp-gvfs-listmounts)
899 (tramp-gvfs-mountlocation, tramp-gvfs-mountlocation-signature):
900 New defconst.
901 (tramp-gvfs-file-name-handler-alist) [directory-files]
902 [directory-files-and-attributes, file-exists-p, file-modes]:
903 Use Tramp default handler.
904 [file-acl, file-selinux-context, process-file, set-file-acl]:
905 [set-file-modes, set-file-selinux-context, shell-command]:
906 [start-file-process]: Remove handler.
907 [verify-visited-file-modtime]: New handler.
908 (tramp-gvfs-dbus-string-to-byte-array)
909 (tramp-gvfs-dbus-byte-array-to-string): New defuns. Replace all
910 calls of `dbus-string-to-byte-array' and
911 `tramp-gvfs-dbus-byte-array-to-string'.
912 (tramp-gvfs-handle-copy-file)
913 (tramp-gvfs-handle-delete-directory)
914 (tramp-gvfs-handle-delete-file, tramp-gvfs-handle-file-attributes)
915 (tramp-gvfs-handle-file-directory-p)
916 (tramp-gvfs-handle-file-executable-p)
917 (tramp-gvfs-handle-file-name-all-completions)
918 (tramp-gvfs-handle-file-readable-p)
919 (tramp-gvfs-handle-file-writable-p)
920 (tramp-gvfs-handle-insert-directory)
921 (tramp-gvfs-handle-insert-file-contents)
922 (tramp-gvfs-handle-make-directory, tramp-gvfs-handle-rename-file)
923 (tramp-gvfs-handle-set-visited-file-modtime)
924 (tramp-gvfs-handle-write-region): Rewrite.
925 (tramp-gvfs-handle-file-acl)
926 (tramp-gvfs-handle-file-selinux-context)
927 (tramp-gvfs-handle-process-file, tramp-gvfs-handle-set-file-acl)
928 (tramp-gvfs-handle-set-file-modes)
929 (tramp-gvfs-handle-set-file-selinux-context)
930 (tramp-gvfs-handle-shell-command)
931 (tramp-gvfs-handle-start-file-process)
932 (tramp-gvfs-handle-verify-visited-file-modtime): Remove defuns.
933 (tramp-gvfs-url-file-name): Do not use `file-truename', we work
934 over the symlinks. Fix user handling.
935 (top, tramp-gvfs-handler-mounted-unmounted): Handle different names
936 of the D-Bus signals.
937 (tramp-gvfs-connection-mounted-p): Handle different names of the
938 D-Bus methods.
939 (tramp-gvfs-mount-spec-entry): New defun.
940 (tramp-gvfs-mount-spec): Use it.
941 (tramp-gvfs-maybe-open-connection): Check, that in case of "smb"
942 there is a share name. Handle different names of the D-Bus
943 signals and methods. Set connection properties needed for
944 `tramp-check-cached-permissions'.
945 (tramp-gvfs-send-command): Apply `tramp-gvfs-maybe-open-connection'.
946 Return t or nil.
947
948 * net/tramp.el (tramp-backtrace): Move up.
949 (tramp-error): Dump a backtrace into the debug buffer when
950 `tramp-verbose > 9.
951 (tramp-file-mode-type-map, tramp-file-mode-from-int)
952 (tramp-file-mode-permissions, tramp-get-local-uid)
953 (tramp-get-local-gid, tramp-check-cached-permissions): Move from
954 tramp-sh.el.
955
956 * net/tramp-sh.el (tramp-file-mode-type-map)
957 (tramp-check-cached-permissions, tramp-file-mode-from-int)
958 (tramp-file-mode-permissions, tramp-get-local-uid)
959 (tramp-get-local-gid): Move to tramp.el.
960
961 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
962
963 Separate mouse-1-click-follows-link from mouse-drag-region.
964 * mouse.el (mouse--down-1-maybe-follows-link): New function.
965 (key-translation-map): Use it to implement mouse-1-click-follows-link.
966 (mouse-drag-line, mouse-drag-track):
967 Remove mouse-1-click-follows-link code.
968 (mouse--remap-link-click-p): Remove.
969
970 2013-03-08 Jambunathan K <kjambunathan@gmail.com>
971
972 * hi-lock.el (hi-lock-read-regexp-defaults-function): New var.
973 (hi-lock-read-regexp-defaults): New defun.
974 (hi-lock-line-face-buffer, hi-lock-face-buffer)
975 (hi-lock-face-phrase-buffer): Propagate above change.
976 Update docstring (bug#13892).
977
978 * subr.el (find-tag-default-as-regexp): New defun.
979 * replace.el (read-regexp): Propagate above change.
980
981 2013-03-08 Jay Belanger <jay.p.belanger@gmail.com>
982
983 * calc/calc-units.el (calc-convert-units): Fix the way that default
984 new units are stored.
985
986 2013-03-07 Matthias Meulien <orontee@gmail.com>
987
988 * bookmark.el: Define a face to highlight bookmark names in
989 bookmark menu buffers, where the default is a bold face similarly
990 to buffer names in buffer menu buffers.
991 (bookmark-menu-bookmark): New face to highlight bookmark names.
992 (bookmark-insert-location): Remove duplicated text property to
993 conform to buffer list (see `list-buffers').
994 (bookmark-bmenu-list, bookmark-bmenu-hide-filenames): Apply face
995 `bookmark-menu-bookmark' to bookmark names.
996
997 2013-03-07 Matthias Meulien <orontee@gmail.com>
998 Karl Fogel <kfogel@red-bean.com>
999
1000 * bookmark.el: Display the bookmark list header similarly to the
1001 buffer list header (see `list-buffers'), where the default is now
1002 an immovable/immutable header line.
1003 (bookmark-bmenu-use-header-line): New variable.
1004 (bookmark-bmenu-inline-header-height): New name for
1005 `bookmark-bmenu-header-height', to avoid confusion with the code
1006 for the new immovable header. All references changed.
1007 (bookmark-bmenu-set-header): New function.
1008 (bookmark-bmenu-list, bookmark-bmenu-toggle-filenames):
1009 Conditionalize header construction accordingly.
1010 (bookmark-bmenu-ensure-position): Conditionalize the skipping of
1011 the inline header height.
1012 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
1013 Conditionalize the skipping of the inline header height.
1014
1015 2013-03-07 Dmitry Gutov <dgutov@yandex.ru>
1016
1017 * progmodes/js.el (js--multi-line-declaration-indentation):
1018 Merge from js2-mode (https://github.com/mooz/js2-mode/issues/89).
1019
1020 2013-03-06 Dmitry Gutov <dgutov@yandex.ru>
1021
1022 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1023 Only propertize regexp when not inside a string (Bug#13885).
1024
1025 2013-03-06 Alan Mackenzie <acm@muc.de>
1026
1027 Correct the position of point in some line-up functions.
1028 * progmodes/cc-align.el (c-lineup-whitesmith-in-block)
1029 (c-lineup-assignments, c-lineup-gcc-asm-reg ): take position of
1030 point at column 0 rather than at a random place in the line.
1031
1032 2013-03-05 Michael Albinus <michael.albinus@gmx.de>
1033
1034 * net/tramp-compat.el (tramp-compat-delete-directory):
1035 Implement TRASH argument.
1036
1037 2013-03-05 Dmitry Gutov <dgutov@yandex.ru>
1038
1039 Keep pre-existing highlighting in completion candidates (Bug#13250).
1040 * minibuffer.el (completions-first-difference): State that the
1041 face is "added" in the docstring.
1042 (completions-common-part): Same. And don't inherit from default.
1043 (completion-hilit-commonality): Prepend 'completions-common-part
1044 and 'completion-first-difference faces to the 'face property,
1045 instead of replacing the value(s).
1046 (completion--insert-strings): Same with 'completions-annotations face.
1047 (completion-hilit-commonality): Use 'face instead of
1048 'font-lock-face, because it gets priority if the completion
1049 strings already have 'face set.
1050
1051 2013-03-04 Alan Mackenzie <acm@muc.de>
1052
1053 Replace `last-command-event' by `last-command-char' in XEmacs.
1054 * progmodes/cc-defs.el (c-last-command-char): New macro.
1055 * progmodes/cc-align.el (c-semi&comma-inside-parenlist)
1056 (c-semi&comma-no-newlines-before-nonblanks)
1057 (c-semi&comma-no-newlines-for-oneline-inliners): Use the new macro
1058 in place of `last-command-event'.
1059 * progmodes/cc-cmds.el (c-electric-pound, c-electric-brace)
1060 (c-electric-slash, c-electric-semi&comma, c-electric-lt-gt)
1061 (c-electric-paren, c-electric-continued-statement): Use the new
1062 macro in place of `last-command-event'.
1063
1064 2013-03-04 Glenn Morris <rgm@gnu.org>
1065
1066 * files.el (inhibit-local-variables-regexps):
1067 Add .diff and .patch. (Bug#13862)
1068
1069 2013-03-03 Michael Albinus <michael.albinus@gmx.de>
1070
1071 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Cache,
1072 whether the "su" command is available on the device.
1073
1074 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
1075
1076 * net/tramp-adb.el (tramp-adb-prompt): Extend regexp.
1077 (tramp-adb-handle-process-file): Remove superfluous setting.
1078 (tramp-adb-command-exit-status): Handle case that COMMAND is nil.
1079 (tramp-adb-barf-unless-okay): Use `tramp-adb-command-exit-status'.
1080 (tramp-adb-maybe-open-connection): Apply "su" if user is defined.
1081
1082 2013-03-01 Stefan Monnier <monnier@iro.umontreal.ca>
1083
1084 * textmodes/ispell.el: Fix nitpicks and byte-compiler warnings.
1085 (ispell-print-if-debug): Build `format' in. Avoid end-of-buffer.
1086 (ispell-parse-hunspell-affix-file): Avoid beginning-of-buffer.
1087 Use dict-key rather than dict-name for the error message.
1088
1089 2013-03-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1090
1091 * net/net-utils.el (net-utils-run-simple): Don't display-buffer
1092 when reverting (bug#13831).
1093
1094 2013-03-01 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1095
1096 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
1097 Always expand affix-file before storing to protect against changed
1098 `default-directory'.
1099 (ispell-print-if-debug): Make sure message is printed at the end
1100 of the debug buffer.
1101
1102 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
1103
1104 * net/tramp.el (tramp-obsolete-methods): New defconst.
1105 (tramp-warned-obsolete-methods): New defvar.
1106 (tramp-find-method): Check for obsolete methods. Map them to a
1107 replacement method if appropriate.
1108
1109 * net/tramp-sh.el (tramp-methods) [scp1, scp2, ssh1, ssh2, plink1]:
1110 Remove methods.
1111 (top): Remove completion functions for "scp1", "scp2", "ssh1",
1112 "ssh2" and "plink1".
1113
1114 2013-02-28 Dale Sedivec <dale@codefu.org>
1115
1116 * textmodes/sgml-mode.el (sgml-syntax-propertize-function):
1117 Return valid syntax-table property value when converting
1118 quotes within text from string syntax to punctuation syntax (bug#13844).
1119
1120 2013-02-28 Juri Linkov <juri@jurta.org>
1121
1122 * dired-aux.el (dired-diff): If file at point is a backup file,
1123 use its original as the default value, and reverse the order
1124 of arguments to the `diff' call. Doc fix. (Bug#13772)
1125
1126 2013-02-28 Michael Albinus <michael.albinus@gmx.de>
1127
1128 * net/tramp-adb.el (tramp-adb-sdk-dir): Remove. Replaced by ...
1129 (tramp-adb-program): New defcustom. Remove function. Adapt calls.
1130
1131 2013-02-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1132
1133 Initial support for hunspell dictionaries auto-detection (Bug#13639)
1134
1135 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
1136 Ask hunspell about available and default dictionaries.
1137 (ispell-parse-hunspell-affix-file): Extract relevant info from
1138 hunspell affix file.
1139 (ispell-hunspell-fill-dictionary-entry): Fill non-initialized
1140 `ispell-dictionary-alist' entry for given dictionary after info
1141 provided by `ispell-parse-hunspell-affix-file'.
1142 (ispell-hunspell-dict-paths-alist): New defvar to contain an alist
1143 of parsed hunspell dicts and associated affix files.
1144 (ispell-hunspell-dictionary-alist): New defvar to contain an alist
1145 of parsed hunspell dicts and associated parameters.
1146 (ispell-set-spellchecker-params):
1147 Call `ispell-find-hunspell-dictionaries' if hunspell and not
1148 previously done.
1149 (ispell-start-process):
1150 Call `ispell-hunspell-fill-dictionary-entry' for current
1151 dictionary if it is not initialized.
1152
1153 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
1154
1155 * imenu.el: Comment nitpicks.
1156
1157 2013-02-28 Sam Steingold <sds@gnu.org>
1158
1159 * vc/diff-mode.el (diff-hunk-file-names): Handle filenames with spaces.
1160 See <http://stackoverflow.com/questions/14720205>.
1161
1162 2013-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1163
1164 * net/net-utils.el (net-utils--revert-function): New fun (bug#13831).
1165 (net-utils-mode): Use it.
1166 (net-utils--revert-cmd): New var.
1167 (net-utils-run-simple): Set it, and remove bogus interactive spec.
1168 (traceroute): Use net-utils-run-simple.
1169
1170 2013-02-28 Glenn Morris <rgm@gnu.org>
1171
1172 * textmodes/paragraphs.el (mark-paragraph): Doc fix.
1173
1174 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
1175
1176 * doc-view.el: Preserve h&v scroll across C-c C-c C-c C-c.
1177 (doc-view-fallback-mode): Remove overlays here.
1178 (doc-view-toggle-display): Instead of here. Don't throw away
1179 image-mode-winprops-alist.
1180 (doc-view-goto-page): Don't mess with hscroll.
1181
1182 2013-02-27 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1183
1184 * font-lock.el (lisp-font-lock-keywords-2): Fix highlighting of
1185 &optional (bug#13819).
1186
1187 2013-02-27 Michael Albinus <michael.albinus@gmx.de>
1188
1189 * net/tramp-adb.el (tramp-adb-parse-device-names)
1190 (tramp-adb-maybe-open-connection): Add timeouts. (Bug#13299)
1191
1192 2013-02-26 Michael Albinus <michael.albinus@gmx.de>
1193
1194 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
1195 Add "2>/dev/null" to the ls command, in case "en_US.utf8" is not
1196 defined. POSIX environments fall back to the "C" locale then and
1197 emit a warning, which shall be suppressed.
1198
1199 2013-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
1200
1201 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): Tweak logic.
1202 (easy-mmode-set-keymap-parents): Use make-composed-keymap.
1203
1204 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
1205
1206 * emacs-lisp/bytecomp.el (byte-compile-file): Use let.
1207
1208 2013-02-25 Juri Linkov <juri@jurta.org>
1209
1210 * replace.el (read-regexp): Let-bind `default' to the first
1211 element of `defaults' if it's a list, otherwise it should be
1212 a string or nil. Let-bind `suggestions' to `defaults' if it's
1213 a list, otherwise make a list with the string value. Doc fix.
1214 (Bug#13805)
1215
1216 2013-02-25 Eli Zaretskii <eliz@gnu.org>
1217
1218 * emacs-lisp/bytecomp.el (byte-recompile-directory): Reject files
1219 that match "\`\.#", to avoid compiling lock files, even if they
1220 are readable (as they are on MS-Windows).
1221
1222 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
1223
1224 * files.el (basic-save-buffer): Remove redundant directory-creation.
1225
1226 2013-02-24 Jay Belanger <jay.p.belanger@gmail.com>
1227
1228 * calc/calc-ext.el (math-to-radians-2, math-from-radians-2):
1229 Add option to force `pi' to remain symbolic.
1230 * calc/calcalg2.el (calcFunc-sin, calcFunc-cos, calcFunc-tan)
1231 (calcFunc-cot, calcFunc-csc, calcFunc-sec, calcFunc-arcsin)
1232 (calcFunc-arccos, calcFunc-arctan): Use symbolic `pi' in the
1233 derivatives, when necessary.
1234
1235 2013-02-23 Peter Kleiweg <p.c.j.kleiweg@rug.nl>
1236
1237 * progmodes/ps-mode.el (ps-mode-version): Bump to 1.1i.
1238 (ps-mode-octal-region): Use string-make-unibyte.
1239
1240 2013-02-23 Glenn Morris <rgm@gnu.org>
1241
1242 * emulation/viper-cmd.el (viper-submit-report):
1243 * progmodes/ps-mode.el (ps-mode-maintainer-address):
1244 * progmodes/vera-mode.el (vera-mode-help-address):
1245 * textmodes/artist.el (artist-maintainer-address):
1246 * textmodes/reftex.el (reftex-report-bug):
1247 * vc/ediff-util.el (ediff-submit-report):
1248 Add bug-gnu-emacs to bug report address.
1249
1250 * progmodes/simula.el (simula-mode-menu, simula-mode-map):
1251 Remove bug report entries.
1252 (simula-mode-help-address, simula-submit-bug-report): Make obsolete.
1253
1254 * emacs-lisp/bytecomp.el (byte-compile-level): New.
1255 (byte-compile-file, byte-compile-from-buffer):
1256 Use separate input/output buffers for each level of recursive
1257 byte-compile-file calls. (Bug#13787)
1258
1259 2013-02-23 Michael Albinus <michael.albinus@gmx.de>
1260
1261 * net/tramp.el (tramp-methods): Fix docstring.
1262 (tramp-ssh-controlmaster-options): Rename it from
1263 `tramp-ssh-controlmaster-template'. Return a string.
1264 (tramp-default-method): Adapt check for
1265 `tramp-ssh-controlmaster-options'.
1266
1267 * net/tramp-sh.el (tramp-methods):
1268 Replace `tramp-ssh-controlmaster-template' by "%c".
1269 (tramp-do-copy-or-rename-file-out-of-band)
1270 (tramp-maybe-open-connection): Use it in format spec. Ensure,
1271 that it is applied for the first hop only.
1272
1273 2013-02-22 Juri Linkov <juri@jurta.org>
1274
1275 * isearch.el (isearch-lazy-highlight-new-loop):
1276 Set `isearch-lazy-highlight-start' and `isearch-lazy-highlight-end'
1277 to `isearch-other-end' if it is not nil. (Bug#13402)
1278
1279 * replace.el (replace-highlight): Let-bind `isearch-other-end'
1280 to `match-beg'.
1281
1282 * textmodes/ispell.el (ispell-highlight-spelling-error-overlay):
1283 Let-bind `isearch-other-end' to `start', `isearch-forward' to t
1284 and `isearch-error' to nil.
1285
1286 2013-03-16 Fabián Ezequiel Gallina <fgallina@cuca>
1287
1288 * progmodes/python.el (python-info-current-defun):
1289 Enhance match-data cluttering prevention.
1290
1291 2013-02-22 Michael Albinus <michael.albinus@gmx.de>
1292
1293 * net/tramp.el (tramp-tramp-file-p): Fix docstring.
1294
1295 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
1296 Handle multibyte file names.
1297
1298 2013-02-22 Glenn Morris <rgm@gnu.org>
1299
1300 * textmodes/sgml-mode.el (sgml-xml-mode): Move before use.
1301 (sgml-transformation-function): Give it a :set function.
1302 (sgml-tag): Doc fix.
1303
1304 * cmuscheme.el (scheme-buffer):
1305 * progmodes/inf-lisp.el (inferior-lisp-buffer):
1306 * progmodes/tcl.el (inferior-tcl-buffer):
1307 * textmodes/tex-mode.el (tex-command): Doc fixes.
1308
1309 * image-mode.el (image-mode): Add mouse bindings for mode-line-process.
1310
1311 * htmlfontify.el (hfy-default-header): Encode title string. (Bug#7457)
1312
1313 2013-02-21 Bastien Guerry <bzg@gnu.org>
1314
1315 * cmuscheme.el (scheme-buffer): Fix docstring. (Bug#13778)
1316
1317 2013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
1318
1319 * progmodes/python.el (python-info-current-defun):
1320 Enhance match-data cluttering prevention.
1321
1322 2013-02-21 Glenn Morris <rgm@gnu.org>
1323
1324 * net/tramp.el (tramp-get-debug-buffer): Ensure outline.el is not
1325 loaded while outline-regexp is let bound. (Bug#9584)
1326
1327 2013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
1328
1329 * progmodes/python.el (python-info-current-defun): Fix failed
1330 defun name retrieval because of unwanted match-data cluttering.
1331
1332 2013-02-21 Michael Albinus <michael.albinus@gmx.de>
1333
1334 * net/tramp.el (tramp-ssh-controlmaster-template): Make it a
1335 defconst. Apply independent check for ControlPersist.
1336
1337 * net/tramp-sh.el (tramp-sh-handle-set-file-times): Set $UTC only
1338 temporarily, via "env".
1339
1340 2013-02-21 Glenn Morris <rgm@gnu.org>
1341
1342 * info.el (Info-enable-edit): Remove.
1343 (Info-edit): Disable it rather than using Info-enable.
1344 (Info-edit-mode-hook, Info-edit-map, Info-edit-mode, Info-edit)
1345 (Info-cease-edit): Make editing of Info files obsolete.
1346
1347 * informat.el (Info-tagify):
1348 Handle buffers not visiting files. (Bug#13763)
1349
1350 2013-02-21 Juanma Barranquero <lekktu@gmail.com>
1351
1352 * calc/calc-graph.el (calc-graph-show-dumb): Fix typo.
1353
1354 2013-02-21 Glenn Morris <rgm@gnu.org>
1355
1356 * files.el (basic-save-buffer): Move check for existing parent
1357 directory after hooks. (Bug#13773)
1358
1359 2013-02-20 Stefan Monnier <monnier@iro.umontreal.ca>
1360
1361 * simple.el (command-execute): Move from C. Add obsolete check.
1362 (extended-command-history): Move from C.
1363
1364 2013-02-20 Ulrich Müller <ulm@gentoo.org>
1365
1366 * jka-cmpr-hook.el (jka-compr-compression-info-list)
1367 (jka-compr-mode-alist-additions): Handle .txz suffix for
1368 XZ-compressed tar archives (bug#13770).
1369
1370 2013-02-20 Bastien Guerry <bzg@gnu.org>
1371
1372 * outline.el (outline-regexp, outline-heading-end-regexp):
1373 Make variables, not options (bug#13731).
1374
1375 2013-02-20 Glenn Morris <rgm@gnu.org>
1376
1377 * image.el (image-current-frame): Change from variable to function.
1378 (image-show-frame): Rename from image-nth-frame. Update callers.
1379 * image-mode.el (image-multi-frame): New variable.
1380 (image-mode-map, image-mode, image-goto-frame):
1381 Use image-multi-frame rather than image-current-frame.
1382 (image-mode, image-goto-frame): Use image-current-frame as
1383 function rather than as variable.
1384
1385 * emacs-lisp/cl-lib.el (cl-floatp-safe): Make it an alias for floatp.
1386 * emacs-lisp/cl-macs.el (cl--make-type-test)
1387 (cl--compiler-macro-assoc): Use floatp rather than cl-floatp-safe.
1388
1389 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
1390
1391 * net/tramp-cache.el (tramp-get-hash-table): New defun.
1392 (tramp-get-file-property, tramp-set-file-property)
1393 (tramp-get-connection-property, tramp-set-connection-property): Use it.
1394 (tramp-flush-file-property, tramp-flush-directory-property):
1395 Rename argument to KEY.
1396 (tramp-flush-connection-property): Simplify a little bit.
1397 (tramp-connection-property-p): New defun.
1398 (top): Reapply saved values only if there isn't a corresponding
1399 entry in `tramp-connection-properties'.
1400
1401 2013-02-19 Fabián Ezequiel Gallina <fgallina@cuca>
1402
1403 * progmodes/python.el (python-indent-context):
1404 Fix python-info-line-ends-backslash-p call.
1405 (python-info-line-ends-backslash-p)
1406 (python-info-beginning-of-backslash): Respect line-number argument.
1407 (python-info-current-line-comment-p):
1408 Fix behavior when not at beginning-of-line.
1409 (python-util-position): Remove function.
1410 (python-util-goto-line): New function.
1411
1412 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
1413
1414 * eshell/em-unix.el (eshell/su): Require tramp.
1415 (eshell/sudo): Require tramp. Remove now unnecessary check.
1416
1417 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Let-bind
1418 `tramp-current-connection' in order to avoid an error when several
1419 commands are invoked in a short time in eshell and friends.
1420
1421 2013-02-19 Stefan Monnier <monnier@iro.umontreal.ca>
1422
1423 Cleanup some of EIEIO's namespace.
1424 * emacs-lisp/eieio.el (eieio--define-field-accessors): New macro.
1425 Use it to define all the class-* and object-* field accessors (renamed
1426 to eieio--class-* and eieio--object-*). Update all uses.
1427 (eieio--class-num-slots, eieio--object-num-slots): Rename from
1428 class-num-slots and object-num-slots.
1429 (eieio--check-type): New macro.
1430 (eieio-defclass, eieio-oref, eieio-oref-default, same-class-p)
1431 (object-of-class-p, child-of-class-p, object-slots, class-slot-initarg)
1432 (eieio-oset, eieio-oset-default, object-assoc, object-assoc-list)
1433 (object-assoc-list-safe): Use it.
1434 (eieio-defclass): Tighten regexp.
1435 (eieio--defmethod): Use `memq'. Signal an error for unknown method kind.
1436 Remove unreachable code.
1437 (object-class-fast): Declare obsolete.
1438 (eieio-class-name, eieio-object-name, eieio-object-set-name-string)
1439 (eieio-object-class, eieio-object-class-name, eieio-class-parents)
1440 (eieio-class-children, eieio-class-precedence-list, eieio-class-parent):
1441 Rename from class-name, object-name, object-set-name-string,
1442 object-class, object-class-name, class-parents, class-children,
1443 class-precedence-list, class-parent; with obsolete alias.
1444 (class-of, class-direct-superclasses, class-direct-subclasses):
1445 Declare obsolete.
1446 (eieio-defmethod): Use `memq'; remove unreachable code.
1447 * emacs-lisp/eieio-base.el (eieio-persistent-read):
1448 * emacs-lisp/eieio-opt.el (eieio-class-button, eieio-describe-generic)
1449 (eieio-browse-tree, eieio-browse): Use eieio--check-type.
1450
1451 2013-02-18 Aidan Gauland <aidalgol@no8wireless.co.nz>
1452
1453 * eshell/em-cmpl.el: Correct "context-related help" keybinding in
1454 commentary.
1455
1456 2013-02-18 Michael Heerdegen <michael_heerdegen@web.de>
1457
1458 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument):
1459 Use font-lock-keyword-face for macros and special forms (bug#8345).
1460
1461 2013-02-17 Didier Verna <didier@didierverna.net>
1462
1463 * net/network-stream.el (network-stream-open-starttls):
1464 Check that response to the starttls-command is non-nil. (Bug#13706)
1465
1466 2013-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
1467
1468 * font-lock.el (lisp-font-lock-keywords-1, lisp-font-lock-keywords-2):
1469 Don't assume all identifier chars have syntax word.
1470 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
1471 Remove bar-not-symbol. Adjust callers.
1472 (lisp-mode-variables): Don't set a font-lock-syntax-table.
1473
1474 2013-02-17 Leo Liu <sdl.web@gmail.com>
1475
1476 * net/rcirc.el (rcirc-keepalive): Fix invalid timer error.
1477
1478 2013-02-17 Glenn Morris <rgm@gnu.org>
1479
1480 * menu-bar.el (menu-bar-tools-menu): Fix case of EDE entry.
1481
1482 * image-mode.el (image-mode-map): Add image-dired menu entry.
1483
1484 * image-dired.el (tumme): Make this alias obsolete.
1485
1486 2013-02-16 Glenn Morris <rgm@gnu.org>
1487
1488 * image.el (image-animated-types): Remove.
1489 (image-multi-frame-p): Rename from image-animated-p, and generalize.
1490 (image-animated-p): Make obsolete alias.
1491 (image-animate, image-nth-frame, image-animate-timeout):
1492 Use image-multi-frame-p.
1493 (image-animate-timeout): If no delay, use image-default-frame-delay.
1494 * image-mode.el (image-mode, image-toggle-animation):
1495 Use image-multi-frame-p. (Bug#763, bug#10739)
1496 (image-mode): Adjust startup message for a multi-frame image.
1497
1498 * image-mode.el (image-mode-map): Give it a menu.
1499
1500 2013-02-16 Michael Albinus <michael.albinus@gmx.de>
1501
1502 * net/tramp-cache.el (tramp-connection-properties): New customer
1503 option.
1504 (tramp-get-connection-property): Use it.
1505
1506 * net/tramp-compat.el (top): Require 'trampver.
1507
1508 * net/tramp-sh.el (tramp-remote-process-environment):
1509 Set tramp-autoload cookie.
1510
1511 2013-02-16 Kevin Ryde <user42@zip.com.au>
1512
1513 * info-look.el (info-lookup-select-mode): If major-mode has no
1514 info-lookup-alist entry then search up derived-mode-parent (bug#8660).
1515
1516 2013-02-16 Jambunathan K <kjambunathan@gmail.com>
1517
1518 * replace.el (read-regexp): Tighten the regexp that matches tag.
1519 When tag is retrieved with `find-tag-default', use regexp that
1520 matches tag at point. Also update docstring (Bug#13687).
1521
1522 2013-02-16 Eli Zaretskii <eliz@gnu.org>
1523
1524 * autorevert.el (auto-revert-notify-add-watch): With 'w32notify',
1525 add watch for the file, not its parent directory, since w32notify
1526 sets up the watch for the directory internally. (Bug#13725)
1527
1528 2013-02-16 Glenn Morris <rgm@gnu.org>
1529
1530 * image.el (image-default-frame-delay): New variable.
1531 (image-animated-p): Use image-default-frame-delay.
1532 (image-minimum-frame-delay): New constant.
1533 (image-animate-timeout): Use image-minimum-frame-delay.
1534
1535 * image.el (image-nth-frame): New, split from image-animate-timeout.
1536 (image-animate-timeout): Use image-nth-frame.
1537 * image-mode.el (image-goto-frame, image-next-frame)
1538 (image-previous-frame): New commands.
1539 (image-mode-map): Add new frame commands.
1540
1541 2013-02-16 Jonas Bernoulli <jonas@bernoul.li>
1542
1543 * emacs-lisp/tabulated-list.el (tabulated-list-print-col):
1544 If col-desc already has help-echo, use it. (Bug#13563)
1545
1546 2013-02-16 Glenn Morris <rgm@gnu.org>
1547
1548 * image.el (image-current-frame): New variable.
1549 (image-animate-timeout): Set image-current-frame.
1550 * image-mode.el (image-mode): For animated images,
1551 display a frame counter via mode-line-process.
1552
1553 * font-lock.el (lisp-font-lock-keywords-1): Add defvar-local.
1554
1555 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
1556
1557 * simple.el (eval-expression): Let `exp' set the mark (bug#13724).
1558
1559 2013-02-15 Alan Mackenzie <acm@muc.de>
1560
1561 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): When a
1562 global minor mode has been enabled, call the minor mode function
1563 for a new buffer once only, after the major mode hook, whilst
1564 allowing that hook explicitly to disable the minor mode.
1565 (MODE-disable-in-buffer): New (generated) function.
1566 (disable-MODE): New (generated) buffer local variable.
1567
1568 2013-02-15 Jambunathan K <kjambunathan@gmail.com>
1569
1570 * iswitchb.el (iswitchb-read-buffer): Bind `C-.' and `C-,' to
1571 `iswitchb-next-match' and `iswitchb-prev-match' resply.
1572 * ido.el (ido-init-completion-maps): Bind `C-.' and `C-,' to
1573 `ido-next-match' and `ido-prev-match' resply.
1574 * icomplete.el (icomplete-minibuffer-map): Unbind `C-s' and `C-r'.
1575 Bind `C-.' and `C-,' to `icomplete-forward-completions' and
1576 `icomplete-backward-completions' (Bug#13708).
1577
1578 2013-02-15 Glenn Morris <rgm@gnu.org>
1579
1580 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
1581
1582 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
1583
1584 * net/goto-addr.el (goto-address-fontify): Add start and end args.
1585 (goto-address-fontify-region): Use them instead of narrowing, so
1586 syntax-ppss has access to the whole buffer.
1587
1588 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
1589
1590 * progmodes/python.el: Explain how to restore "cc-mode"-like
1591 forward-sexp movement in header documentation (Bug#13642).
1592 (python-nav--forward-sexp): Behave like emacs-lisp-mode in
1593 comments and strings (GH bug 114).
1594
1595 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
1596
1597 * progmodes/python.el (python-info-current-defun): Fix current
1598 defun detection (Bug#13618).
1599
1600 2013-02-15 Chong Yidong <cyd@gnu.org>
1601
1602 * xml.el (xml-parse-string): Fix typo in handling of bad character
1603 references.
1604
1605 2013-02-15 Glenn Morris <rgm@gnu.org>
1606
1607 * play/fortune.el (fortune-compile): Simplify and fix previous change.
1608
1609 2013-02-14 Michael Albinus <michael.albinus@gmx.de>
1610
1611 * net/tramp.el (tramp-debug-message):
1612 Add `tramp-condition-case-unless-debug'.
1613 (tramp-debug-on-error): New defvar.
1614 (tramp-condition-case-unless-debug): New defun.
1615 (tramp-file-name-handler): Use it.
1616
1617 2013-02-14 Juri Linkov <juri@jurta.org>
1618
1619 * info.el (Info-isearch-filter): Treat non-nil values of
1620 `search-invisible' including its default value `open'
1621 like the value `t' to match hidden text. (Bug#13402)
1622
1623 2013-02-14 Glenn Morris <rgm@gnu.org>
1624
1625 * help-fns.el (find-lisp-object-file-name): Give special treatment
1626 to all ~/.foo.elc files, not just ~/.emacs. (Bug#9007)
1627
1628 2013-02-14 David Biesack <sasdjb@d72933.na.sas.com> (tiny change)
1629
1630 * net/quickurl.el (quickurl-save-urls):
1631 Ensure quickurl-urls is not truncated on printing. (Bug#9276)
1632
1633 2013-02-14 Dmitry Gutov <dgutov@yandex.ru>
1634
1635 * progmodes/ruby-mode.el (ruby-parse-partial): Don't increase
1636 depth for unfinished percent literal. Not using it in the caller.
1637 (ruby-move-to-block): Jump over multiline literals of all types,
1638 ignoring code-looking contents inside them.
1639 (ruby-add-log-current-method): Improve performance at the expense
1640 of accuracy. `ruby-block-contains-point' is relatively slow, so
1641 only use it for method and singleton class blocks.
1642
1643 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
1644
1645 Use ControlMaster where applicable. (Bug#13677)
1646
1647 * net/tramp.el (tramp-ssh-controlmaster-template): New defvar,
1648 replacing `tramp-detect-ssh-controlmaster'.
1649 (tramp-default-method): Use it.
1650
1651 * net/tramp-sh.el (tramp-methods) [scp, scp1, scp2, scpx, sftp]:
1652 [rsync, ssh, ssh1, ssh2, sshx]: Add ControlPath and ControlMaster
1653 arguments.
1654 [scpc, rsyncc]: Remove methods.
1655 (top): Remove completion functions for "scpc", "rsyncc", "ssh1_old"
1656 and "ssh2_old".
1657 (tramp-do-copy-or-rename-file-out-of-band): Change trace level.
1658 (tramp-maybe-open-connection): Reuse tmpfile for ControlPath.
1659
1660 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
1661
1662 * emacs-lisp/package.el (package--initialized): Move before first use.
1663
1664 2013-02-13 Jambunathan K <kjambunathan@gmail.com>
1665
1666 * icomplete.el (icomplete-hide-common-prefix): New user option.
1667 (icomplete-first-match): New face.
1668 (icomplete-completions): Correct handling of "complete but not
1669 unique" (Bug#12638).
1670
1671 2013-02-13 YE Qianchuan <stool.ye@gmail.com> (tiny change)
1672
1673 * descr-text.el (describe-char): Display the script (bug#13698).
1674
1675 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
1676
1677 * tmm.el: Use lexical-binding and current-active-maps.
1678 (tmm-menubar): Use map-keymap and pcase.
1679 (tmm--completion-table): New function.
1680 (tmm-prompt): Use it to fix the menu order.
1681 (tmm-get-keybind): Use current-active-maps.
1682
1683 2013-02-12 Christopher Schmidt <christopher@ch.ristopher.com>
1684
1685 Add dired-hide-details-mode. (Bug#6799)
1686
1687 * locate.el (locate-mode): Set parent mode property to dired-mode.
1688
1689 * find-dired.el (find-dired): Call dired-insert-set-properties on
1690 initial information line. Set process mark on end of buffer.
1691 (find-dired-sentinel):
1692 Call dired-insert-set-properties on summary.
1693
1694 * dired.el (dired-hide-details-hide-symlink-targets)
1695 (dired-hide-details-hide-information-lines): New options.
1696 (dired-insert-directory):
1697 Set properties after final treatment of output.
1698 (dired-insert-set-properties):
1699 Set dired-hide-details-* properties.
1700 (dired-mode-map): Bind dired-hide-details-mode.
1701 (dired-mode): Set buffer-invisibility-spec to a list.
1702 (dired-next-line): Skip hidden lines.
1703 (dired-previous-line): Use dired-next-line.
1704 (dired-hide-details-mode): New minor mode.
1705 (dired-hide-details-update-invisibility-spec): New function.
1706
1707 2013-02-13 Glenn Morris <rgm@gnu.org>
1708
1709 * play/yow.el: Move to obsolete/. (Bug#9384)
1710
1711 2013-02-13 Juri Linkov <juri@jurta.org>
1712
1713 * vc/ediff-util.el (ediff-recenter): Use `select-frame-set-input-focus'
1714 to select `ediff-control-frame' and set input focus correctly on Xfce.
1715 (Bug#12218)
1716
1717 2013-02-13 Juri Linkov <juri@jurta.org>
1718
1719 * image-mode.el (image-mode-map):
1720 * doc-view.el (doc-view-mode-map):
1721 * vc/ediff-util.el (ediff-setup-keymap):
1722 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
1723
1724 2013-02-13 Dmitry Gutov <dgutov@yandex.ru>
1725
1726 * progmodes/ruby-mode.el (ruby-move-to-block): Improve
1727 performance. Instead of recalculating indentation fully for each
1728 line, sum up indentation depth based only on visited lines.
1729 (ruby-parse-partial): Increase the depth after "do" even when END
1730 is right after it.
1731 (ruby-parse-partial): When END is in the middle of a percent
1732 literal, increase the depth if the delimiter chars belong to the
1733 paren syntax class.
1734
1735 2013-02-13 Kirill A. Korinskiy <catap@catap.ru>
1736
1737 * play/fortune.el (fortune-compile): Also make the compiled file
1738 if it does not exist at all, not just if it is old. (Bug#5338)
1739
1740 2013-02-13 Glenn Morris <rgm@gnu.org>
1741
1742 * emacs-lisp/package.el (package-menu-execute): Doc fix.
1743
1744 2013-02-13 Yves Baumes <ybaumes@gmail.com> (tiny change)
1745
1746 * lisp/emacs-lisp/package.el (package-menu-execute):
1747 Add optional noquery argument. (Bug#13625)
1748
1749 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
1750
1751 * net/ange-ftp.el (ange-ftp-make-directory): Don't raise an error,
1752 if DIR exists and PARENTS is non-nil.
1753
1754 2013-02-13 Juanma Barranquero <lekktu@gmail.com>
1755
1756 * progmodes/js.el (js--multi-line-declaration-indentation):
1757 Silence byte-compiler warning.
1758
1759 2013-02-12 Michael Albinus <michael.albinus@gmx.de>
1760
1761 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Rewrite.
1762
1763 * net/tramp-compat.el (top): Declare `remote-file-name-inhibit-cache'
1764 only if it doesn't exist.
1765
1766 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1767 Set process marker.
1768
1769 2013-02-12 Tassilo Horn <tsdh@gnu.org>
1770
1771 * doc-view.el (doc-view-odf->pdf-converter-soffice): Use separate
1772 UserInstallation when calling soffice to work around LibreOffice
1773 bug 37531.
1774
1775 2013-02-12 Glenn Morris <rgm@gnu.org>
1776
1777 * files.el (basic-save-buffer):
1778 Offer to create a non-existing directory. (Bug#3016)
1779
1780 * calc/calc-graph.el (calc-graph-show-dumb):
1781 * calendar/calendar.el (calendar-mode-map):
1782 * cus-edit.el (custom-mode-map):
1783 * ehelp.el (electric-help-map):
1784 * emulation/vip.el (vip-mode-map):
1785 * epa.el (epa-key-list-mode-map):
1786 * info.el (Info-mode-map):
1787 * mail/rmail.el (rmail-mode-map):
1788 * mail/rmailsum.el (rmail-summary-mode-map):
1789 * man.el (Man-mode-map):
1790 * net/newst-plainview.el (newsticker-mode-map):
1791 * progmodes/cpp.el (cpp-edit-mode-map):
1792 * progmodes/grep.el (grep-mode-map):
1793 * progmodes/idlw-help.el (idlwave-help-mode-map):
1794 * simple.el (special-mode-map):
1795 * startup.el (splash-screen-keymap):
1796 * view.el (view-mode-map):
1797 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
1798
1799 2013-02-11 Elias Pipping <pipping@lavabit.com>
1800
1801 * doc-view.el (doc-view-current-cache-dir): Beware % escapes
1802 (bug#13679).
1803
1804 2013-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
1805
1806 * cus-start.el (all): Remove inhibit-local-menu-bar-menus.
1807
1808 2013-02-11 Glenn Morris <rgm@gnu.org>
1809
1810 * vc/diff.el (diff-use-labels): New variable.
1811 (diff-no-select): Use --label rather than -L, and first
1812 check that it is supported. (Bug#11067)
1813
1814 * files.el (enable-dir-local-variables): New variable.
1815 (hack-dir-local-variables): Respect enable-dir-local-variables.
1816 * tutorial.el (help-with-tutorial):
1817 Ignore directory-local variables. (Bug#11127)
1818
1819 * vc/vc-svn.el (vc-svn-command): Move --non-interactive from here...
1820 (vc-svn-global-switches): ... to here. (Bug#13513)
1821
1822 2013-02-10 Christopher Schmidt <christopher@ch.ristopher.com>
1823
1824 * minibuf-eldef.el (minibuffer-default--in-prompt-regexps):
1825 Handle "foo (bar, default: xxx): " prompts.
1826
1827 2013-02-10 Chong Yidong <cyd@gnu.org>
1828
1829 * files.el (basic-save-buffer-1): Do not set
1830 buffer-file-coding-system-explicit (Bug#4533).
1831
1832 * mail/emacsbug.el (report-emacs-bug): Change binding of
1833 report-emacs-bug-insert-to-mailer to C-c M-i (Bug#13510).
1834
1835 2013-02-09 Jay Belanger <jay.p.belanger@gmail.com>
1836
1837 * calc/calc.el (calc-allow-units-as-numbers): New variable.
1838 * calc/calc-units.el (calc-convert-units): Use new variable.
1839
1840 2013-02-09 Eli Zaretskii <eliz@gnu.org>
1841
1842 * subr.el (buffer-file-type, default-buffer-file-type): Remove.
1843
1844 * net/ange-ftp.el (ange-ftp-insert-file-contents): Don't reference
1845 buffer-file-type.
1846
1847 * mail/feedmail.el (feedmail-force-binary-write): Doc fix.
1848 (feedmail-run-the-queue, feedmail-dump-message-to-queue)
1849 (feedmail-send-it-immediately): Don't bind buffer-file-type, bind
1850 coding-system-for-write instead.
1851
1852 * jka-compr.el (jka-compr-write-region): Don't bind
1853 buffer-file-type.
1854
1855 * emacs-lisp/bytecomp.el (byte-compile-file): Don't bind
1856 buffer-file-type.
1857
1858 * files.el (file-name-buffer-file-type-alist): Remove defvar.
1859 (insert-file-contents-literally): Remove reference to
1860 file-name-buffer-file-type-alist.
1861
1862 * dos-w32.el (file-name-buffer-file-type-alist): Deprecate and
1863 make-obsolete.
1864 (find-buffer-file-type-match, find-buffer-file-type): Remove.
1865 (find-buffer-file-type-coding-system): Remove references to
1866 find-buffer-file-type-match, find-buffer-file-type, and
1867 buffer-file-type.
1868 Don't put find-buffer-file-type-coding-system into
1869 file-coding-system-alist.
1870 (find-file-binary, find-file-text): Bind coding-system-for-read
1871 instead of file-name-buffer-file-type-alist.
1872
1873 2013-02-09 Jambunathan K <kjambunathan@gmail.com>
1874
1875 * doc-view.el: Use (and prefer) soffice as default ODF->PDF
1876 converter (Bug#13622).
1877 (doc-view-unoconv-program): Make obsolete alias.
1878 (doc-view-odf->pdf-converter-program): New variable.
1879 (doc-view-odf->pdf-converter-function): New variable.
1880 (doc-view-mode-p): Use it.
1881 (doc-view-odf->pdf-converter-unoconv):
1882 Rename from `doc-view-odf->pdf-converter-unoconv'.
1883 (doc-view-odf->pdf-converter-soffice): New function.
1884 (doc-view-convert-current-doc):
1885 Use `doc-view-odf->pdf-converter-function'.
1886
1887 2013-02-09 Chong Yidong <cyd@gnu.org>
1888
1889 * minibuffer.el (minibuffer-inactive-mode-map): Bind mouse-1 to
1890 view-echo-area-messages (Bug#13340).
1891
1892 * help.el (view-echo-area-messages): Use display-buffer.
1893
1894 * dired-x.el (dired-do-run-mail): Prompt for confirmation
1895 (Bug#13561).
1896
1897 2013-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
1898
1899 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
1900 Eval body right away, now that we do eager macroexpansion (bug#13605).
1901
1902 * simple.el (end-of-buffer): Don't touch unrelated windows (bug#13466).
1903 (fundamental-mode): Use run-mode-hooks.
1904
1905 * eshell/esh-proc.el (eshell/kill): Fix last change.
1906 * eshell/em-ls.el (eshell-ls-dir): Fix use of CL in last change.
1907
1908 2013-02-08 Aidan Gauland <aidalgol@no8wireless.co.nz>
1909
1910 * eshell/esh-proc.el (eshell/kill): Rewrite.
1911
1912 * eshell/em-ls.el (show-almost-all): Declare.
1913 (eshell-do-ls): Add support for -A argument.
1914
1915 2013-02-08 Jambunathan K <kjambunathan@gmail.com>
1916
1917 * icomplete.el (icomplete-forward-completions)
1918 (icomplete-backward-completions): Handle corner case (bug#13602).
1919
1920 2013-02-07 Michael Albinus <michael.albinus@gmx.de>
1921
1922 * vc/vc-hooks.el (vc-find-file-hook): `buffer-file-truename' can
1923 be nil. Handle this. (Bug#13636)
1924
1925 2013-02-07 Richard Stallman <rms@gnu.org>
1926
1927 * mail/rmail.el (rmail-variables): Specify `no-conversion' for
1928 `save-buffer-coding-system'.
1929
1930 2013-02-07 Alan Mackenzie <acm@muc.de>
1931
1932 Fix bug in state cache mechanism. Remove 'BOD "strategy". Refactor.
1933 * progmodes/cc-engine.el (c-get-fallback-scan-pos): Remove.
1934 (c-parse-state-get-strategy): Don't return 'BOD any more.
1935 (c-append-lower-brace-pair-to-state-cache):
1936 Extra parameter HERE instead of narrowing.
1937 Widen to top of buffer before searching backwards for a brace pair.
1938 (c-state-push-any-brace-pair): Add HERE parameter to function call.
1939 (c-append-to-state-cache): Extra parameter HERE in place of narrowing.
1940 Narrow to parameter HERE, in place of being called narrowed.
1941 (c-remove-stale-state-cache): Extra parameter HERE in place of
1942 narrowing. Check there's an open brace in the cache before
1943 searching for its match.
1944 (c-invalidate-state-cache-1): Add HERE parameter to function call.
1945 (c-parse-state-1): Don't narrow here for 'forward strategy,
1946 instead passing extra parameter HERE to several functions.
1947 Remove 'BOD strategy.
1948
1949 2013-02-06 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
1950
1951 * emacs-lisp/package.el (describe-package-1): Tell what archive is
1952 used to install the package.
1953
1954 2013-02-06 Glenn Morris <rgm@gnu.org>
1955
1956 * vc/vc-hooks.el (vc-find-file-hook): Don't ask about following links
1957 if we can't get user input. (Bug#6567)
1958
1959 * startup.el (command-line): If simple.el is missing,
1960 test and warn about for some possible causes.
1961
1962 2013-02-05 Jan Djärv <jan.h.d@swipnet.se>
1963
1964 * cus-start.el (all): Add ns-use-native-fullscreen.
1965
1966 2013-02-05 Glenn Morris <rgm@gnu.org>
1967
1968 * profiler.el (profiler-report-mode-map): Add a restart menu entry.
1969
1970 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
1971 Fix directory creation in fallback case.
1972
1973 2013-02-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1974
1975 * vc/vc.el (vc-next-action): Fix inf-loop (bug#13610).
1976 (vc-update-change-log): Use dolist.
1977
1978 2013-02-04 Chong Yidong <cyd@gnu.org>
1979
1980 * thingatpt.el: Rewrite the URL detection routines, absorbing some
1981 code from ffap.el.
1982 (thing-at-point-beginning-of-url-regexp): New var.
1983 (thing-at-point-uri-schemes): Update list of URI schemes.
1984 (thing-at-point-url-regexp): Variable deleted.
1985 (thing-at-point-markedup-url-regexp): Disallow newlines.
1986 (thing-at-point-newsgroup-regexp)
1987 (thing-at-point-newsgroup-heads)
1988 (thing-at-point-default-mail-uri-scheme): New variables.
1989 (thing-at-point-bounds-of-url-at-point): Rewrite. Use ffap's
1990 method to find the possible bounds of the URI at point.
1991 New optional argument to find ill-formed URIs.
1992 (thing-at-point-url-at-point): Rewrite. New arguments for finding
1993 ill-formed URIs. Use thing-at-point-bounds-of-url-at-point, and
1994 the scheme-adding heuristics from ffap-url-at-point.
1995 (thing-at-point--bounds-of-well-formed-url): New function.
1996 Do parens matching to decide whether to include parens in the URI
1997 (Bug#9153).
1998
1999 * ffap.el: Require thingatpt.
2000 (ffap-url-at-point): Delegate URI detection to thing-at-point.
2001 All URI-valid characters are now recognized (Bug#5673).
2002 (ffap-string-at-point): Use use-region-p.
2003 (ffap-url-regexp): Extra character is handled by thing-at-point.
2004 (ffap-string-at-point-mode-alist): Allow parentheses.
2005 (ffap-newsgroup-regexp, ffap-newsgroup-heads, ffap-newsgroup-p):
2006 Convert to aliases; code moved to thingatpt.el.
2007 (ffap-gnus-hook): Use setq-local.
2008
2009 2013-02-04 Glenn Morris <rgm@gnu.org>
2010
2011 * emacs-lisp/ert.el (ert--explain-format-atom):
2012 Don't try to print non-characters as characters. (Bug#13543)
2013
2014 2013-02-03 Michael Albinus <michael.albinus@gmx.de>
2015
2016 * net/tramp.el (tramp-debug-message): Extend function exclude list.
2017 (tramp-backtrace): New defun.
2018 (tramp-handle-insert-file-contents): Use `visit' when inserting
2019 the local copy.
2020
2021 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime):
2022 Use `remote-file-name-inhibit-cache'.
2023
2024 2013-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
2025
2026 * progmodes/cperl-mode.el (cperl-mode): Avoid byte-compile warning
2027 (bug#13614).
2028
2029 * subr.el (internal--called-interactively-p--get-frame): Avoid filling
2030 current-load-list (bug#13366).
2031
2032 2013-02-02 Christopher Schmidt <christopher@ch.ristopher.com>
2033
2034 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2035 Identify g++ template instantiation trace. (Bug#12287)
2036 (compilation-mode-hook, compilation-start-hook)
2037 (compilation-window-height): Simplify docstrings. (Bug#13379)
2038
2039 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
2040
2041 * mouse.el (mouse-drag-track): Always deactivate the mark before
2042 running the final event's command since that command is in charge of
2043 activating the mark if needed (bug#13523).
2044
2045 2013-02-02 Juri Linkov <juri@jurta.org>
2046
2047 * replace.el (perform-replace): Move let-bindings of isearch-*
2048 variables deeper to the loop that searches for the next match.
2049 Add bindings for `isearch-nonincremental' and `isearch-adjusted'.
2050 Use `isearch-search-fun-default' instead of `isearch-search-fun'.
2051 (Bug#13579)
2052
2053 * isearch.el (isearch-search-fun-default): Check for null
2054 first element of isearch-cmds as a precaution when it's used
2055 with inactive isearch.
2056
2057 2013-02-02 Andrew W. Nosenko <andrew.w.nosenko@gmail.com> (tiny change)
2058
2059 * net/tramp.el (tramp-check-for-regexp): Avoid "Args out of range"
2060 error when buffer in question is narrowed so position 1 is out of
2061 visible part.
2062
2063 2013-02-02 Glenn Morris <rgm@gnu.org>
2064
2065 * textmodes/remember.el (remember-clipboard): Doc fix.
2066
2067 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
2068
2069 * progmodes/make-mode.el (makefile-fill-paragraph): Reset syntax-table
2070 properties (bug#13179).
2071
2072 2013-02-02 Juri Linkov <juri@jurta.org>
2073
2074 * progmodes/grep.el (grep-regexp-alist): Use variable grep-match-face
2075 instead of hard-coded default face `match'. (Bug#9438)
2076
2077 2012-02-01 Christopher Schmidt <christopher@ch.ristopher.com>
2078
2079 * vc/vc-arch.el (vc-arch-registered):
2080 * vc/vc-bzr.el (vc-bzr-registered):
2081 * vc/vc-cvs.el (vc-cvs-registered):
2082 * vc/vc-git.el (vc-git-registered):
2083 * vc/vc-hg.el (vc-hg-registered):
2084 * vc/vc-mtn.el (vc-mtn-registered):
2085 * vc/vc-svn.el (vc-svn-registered): Suppress load messages.
2086 (Bug#13139)
2087
2088 * info.el (Info-next-reference, Info-prev-reference): Add numeric
2089 prefix argument. (Bug#11656)
2090
2091 2013-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
2092
2093 * help-fns.el (help-split-fundoc): Don't insert byte-compiled body.
2094
2095 2013-02-01 Glenn Morris <rgm@gnu.org>
2096
2097 * vc/vc-hooks.el (vc-menu-map): Disable vc-rollback menu item
2098 if the backend is known not to support it.
2099
2100 * imenu.el (imenu-default-create-index-function):
2101 Tweak infinite loop test to check for forward motion as well as none.
2102
2103 2013-02-01 Alex Harsanyi <AlexHarsanyi@gmail.com>
2104
2105 * net/soap-client.el (soap-invoke): Encode the string for
2106 `url-request-data' as UTF-8.
2107 Fixes <http://code.google.com/p/emacs-soap-client/issues/detail?id=16>.
2108
2109 2013-02-01 Glenn Morris <rgm@gnu.org>
2110
2111 * calc/calc-help.el (calc-view-news): Use view-emacs-news.
2112
2113 * calc/README, calc/README.prev: Rename/merge to etc/CALC-NEWS.
2114
2115 2013-01-31 Michael Albinus <michael.albinus@gmx.de>
2116
2117 * net/tramp.el (tramp-tramp-file-p): Comment check for
2118 `string-as-unibyte'. The function does not exist on XEmacs, and
2119 likely we need another approach.
2120
2121 * net/tramp-sh.el (tramp-compute-multi-hops): Check, whether
2122 `tramp-gw-*' variables are bound.
2123
2124 2013-01-31 Glenn Morris <rgm@gnu.org>
2125
2126 * files.el (basic-save-buffer-2): Choose coding system for
2127 writing the file before backing it up, to reduce delay between
2128 backing up and writing the new version. (Bug#13522)
2129
2130 2013-01-31 Michal Nazarewicz <mina86@mina86.com>
2131
2132 * simple.el (cycle-spacing): New command.
2133 (just-one-space): Use it.
2134
2135 2013-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
2136
2137 * progmodes/opascal.el: Rename from delphi.el. Use lexical-binding.
2138 (opascal-newline-always-indents): Remove custom.
2139 (opascal-tab, opascal-newline): Remove commands.
2140 (opascal-new-comment-line): Insert "\n" instead of calling newline.
2141 (opascal-mode-map): Keep default bindings for RET and TAB and DEL.
2142 (opascal-save-match-data): Remove, use save-match-data instead.
2143 (opascal-save-state): Use with-silent-modifications.
2144
2145 * progmodes/pascal.el (pascal-mode-syntax-table): Accept //..\n comments
2146 (bug#13585).
2147
2148 2013-01-30 Juri Linkov <juri@jurta.org>
2149
2150 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
2151 Use fullboth as an alias for fullscreen. Suggested by Jan Djärv in
2152 <http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00203.html>.
2153
2154 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
2155
2156 * progmodes/make-mode.el (makefile-backslash-region): Don't compute
2157 column if we're just deleting the backslashes.
2158 (makefile-fill-paragraph): Use eolp.
2159
2160 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
2161
2162 * autorevert.el (auto-revert-use-notify): Fix docstring.
2163
2164 2013-01-30 Leo Liu <sdl.web@gmail.com>
2165
2166 * imenu.el (imenu--truncate-items): Fix subalist checking (bug#13576).
2167
2168 2013-01-30 Glenn Morris <rgm@gnu.org>
2169
2170 * mouse.el (mouse-drag-line): Avoid pushing same event onto
2171 unread-command-events twice in some cases. This tries to implement
2172 the 2012-07-26 changes in a different way. (Bug#13560)
2173
2174 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
2175
2176 * progmodes/python.el
2177 (python-pdbtrack-comint-output-filter-function): Enhancements on
2178 stacktrace detection. (thanks @gnovak)
2179
2180 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
2181
2182 * jit-lock.el (jit-lock-stealth-chunk-start): Don't widen (bug#13542).
2183 (jit-lock-mode, jit-lock-functions, jit-lock-context-unfontify-pos):
2184 Use defvar-local.
2185 (jit-lock-register): Use setq-local.
2186
2187 2013-01-30 Jay Belanger <jay.p.belanger@gmail.com>
2188
2189 * calc-units.el (math-default-units-table): Remove initial value.
2190 (calc-convert-units): Treat expressions where all the units cancel as
2191 if they didn't have units.
2192
2193 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
2194
2195 * net/tramp.el (tramp-process-connection-type): Fix docstring.
2196 (tramp-completion-reread-directory-timeout): Fix type.
2197 (tramp-connection-min-time-diff): New defcustom.
2198
2199 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
2200
2201 2013-01-30 Glenn Morris <rgm@gnu.org>
2202
2203 * imenu.el (imenu-default-create-index-function):
2204 Put back a version of the infinite loop test removed 2013-01-23.
2205
2206 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
2207
2208 * progmodes/python.el (python-shell-parse-command):
2209 Find python-shell-interpreter with modified environment.
2210
2211 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
2212
2213 * emacs-lisp/cl.el (cl-set-getf): Add compatibility alias.
2214
2215 2013-01-29 Alan Mackenzie <acm@muc.de>
2216
2217 Amend to fontify /regexp/s in actions correctly.
2218 * cc-awk.el (c-awk-harmless-char-re, c-awk-harmless-string*-re):
2219 (c-awk-harmless-string*-here-re): Braces, parens and semicolons
2220 are no longer included.
2221 (c-awk-harmless-line-char-re, c-awk-harmless-line-string*-re):
2222 What used to be these variables without "-line" in the name.
2223 (c-awk-neutral-re): { is no longer neutral. Escaped newlines now are.
2224 (c-awk-non-arith-op-bra-re): Now also matches {.
2225 (c-awk-pre-exp-alphanum-kwd-re): New regexp to match "print",
2226 "return", and "case".
2227 (c-awk-kwd-regexp-sign-re): New, to match "print", etc., followed
2228 by /.
2229 (c-awk-syntax-tablify-/): Check special cases "print /re/", etc.
2230 (c-awk-set-syntax-table-properties): Extend FSM to handle {,},(,),;.
2231
2232 2013-01-29 Michael Albinus <michael.albinus@gmx.de>
2233
2234 * autorevert.el (auto-revert-use-notify):
2235 Use `custom-initialize-default' for initialization. (Bug#13583)
2236
2237 * net/ange-ftp.el (ange-ftp-skip-msgs): Add another message.
2238
2239 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2240 Catch `suppress'. Otherwise, `tramp-run-real-handler' might be called
2241 in `tramp-file-name-handler'.
2242 (tramp-gw-tunnel-method, tramp-gw-socks-method): Declare for
2243 compatibility.
2244 (tramp-compute-multi-hops): Check, whether
2245 `tramp-gw-tunnel-method' and `tramp-gw-socks-method' are non-nil.
2246
2247 2013-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
2248
2249 * hi-lock.el (hi-lock-unface-buffer): Don't assume `face' is a symbol
2250 (bug#13297).
2251
2252 2013-01-27 Dmitry Gutov <dgutov@yandex.ru>
2253
2254 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove some
2255 checks made superfluous by the \_< operator.
2256 * progmodes/ruby-mode.el (ruby-move-to-block): Work with (maybe
2257 temporarily) broken indentation.
2258 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2259 Highlight nested constants, too. \_< broke that.
2260
2261 2013-01-27 Nobuyoshi Nakada <nobu@ruby-lang.org>
2262
2263 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Use "\\_<"
2264 instead of "\\b".
2265
2266 2013-01-27 Michael Albinus <michael.albinus@gmx.de>
2267
2268 * autorevert.el (auto-revert-handler): Notifications which result
2269 from a saved file shall not be taken into account. (Bug#13557)
2270
2271 2013-01-26 Andreas Schwab <schwab@linux-m68k.org>
2272
2273 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Add optional
2274 parameter BAR-NOT-SYMBOL to control syntax of | for font-lock.
2275 (lisp-mode): Pass t for it. (Bug#13556)
2276
2277 2013-01-25 Alan Mackenzie <acm@muc.de>
2278
2279 AWK Mode: Fix indentation bug at top level. Bug #12274.
2280
2281 * progmodes/cc-engine.el (c-guess-basic-syntax): Move CASE 5P to
2282 just before CASE 5D.
2283
2284 2013-01-25 Dmitry Antipov <dmantipov@yandex.ru>
2285
2286 * net/socks.el (socks-nslookup-host): Use string-to-number.
2287
2288 2013-01-25 Michael Albinus <michael.albinus@gmx.de>
2289
2290 * autorevert.el (auto-revert-remote-files)
2291 (auto-revert-notify-exclude-dir-regexp): New defcustoms.
2292 (auto-revert-notify-enabled, auto-revert-use-notify)
2293 (auto-revert-notify-watch-descriptor-hash-list)
2294 (auto-revert-notify-modified-p, auto-revert-notify-event-p)
2295 (auto-revert-notify-event-descriptor)
2296 (auto-revert-notify-event-action)
2297 (auto-revert-notify-event-file-name): Doc fix.
2298 (global-auto-revert-mode): Reorder checks.
2299 (auto-revert-notify-rm-watch): Respect changed values of
2300 `auto-revert-notify-watch-descriptor-hash-list'.
2301 (auto-revert-notify-add-watch): Check for
2302 `auto-revert-notify-exclude-dir-regexp'. Adapt filters for
2303 `inotify-add-watch'. Watch `default-directory' instead of
2304 `buffer-file-name'. `auto-revert-notify-watch-descriptor-hash-list'
2305 has a changed meaning now. (Bug#13540)
2306 (auto-revert-notify-handler): Change implementation wrt events
2307 returning from a directory.
2308 (auto-revert-handler): Reorder implementation for checks of remote
2309 files.
2310 (auto-revert-buffers): Fix parentheses error.
2311
2312 2013-01-25 Fabián Ezequiel Gallina <fgallina@cuca>
2313
2314 * progmodes/python.el: Enhancements to header documentation about
2315 skeletons. (Bug#5716)
2316
2317 * imenu.el (imenu-default-create-index-function): Remove useless
2318 infinite loop check. (Bug#13438)
2319
2320 2013-01-25 Alan Mackenzie <acm@muc.de>
2321
2322 Fix a bug in the state cache mechanism. Refactor this a bit.
2323
2324 * progmodes/cc-engine.el (c-parse-state-get-strategy): Remove the
2325 `cache-pos' element from the return value.
2326 (c-append-lower-brace-pair-to-state-cache): "Narrow" to end of
2327 buffer to enable proper searching from beyond HERE. Amend the
2328 test for detecting the sought brace pair. Amend the value written
2329 to the "brace desert cache" when the brace isn't found.
2330 (c-remove-stale-state-cache): Rename `good-pos' to `start-point',
2331 and several other variables analogously.
2332 (c-remove-stale-state-cache-backwards): Change `cache-pos' from a
2333 parameter to a locally calculated variable.
2334 (c-parse-state-1): Change the calling conventions to the two
2335 defuns involving `cache-pos'.
2336
2337 2013-01-25 Chong Yidong <cyd@gnu.org>
2338
2339 * xml.el (xml-entity-or-char-ref-re): Fix regexp.
2340
2341 2013-01-24 Aaron Ecay <aaronecay@gmail.com> (tiny change)
2342
2343 * paren.el (show-paren-function): Make sure to set 'priority and
2344 'face only if the overlay does exist.
2345
2346 2013-01-24 Michael Albinus <michael.albinus@gmx.de>
2347
2348 * net/tramp.el (tramp-tramp-file-p): Check, whether NAME is unibyte.
2349
2350 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Do not suppress
2351 basic attributes.
2352 (tramp-sh-handle-set-file-acl): Improve error checking.
2353
2354 2013-01-24 Dmitry Antipov <dmantipov@yandex.ru>
2355
2356 * doc-view.el (doc-view-display): Force mode line update until all
2357 document is converted. Suggested by Stefan Monnier (Bug#13164).
2358
2359 2013-01-23 Bastien Guerry <bzg@gnu.org>
2360
2361 * paren.el (show-paren-function): Make sure an overlay exists
2362 before trying to delete it. Also use `pos' as a position only
2363 when it is an integer.
2364
2365 2013-01-23 Dmitry Antipov <dmantipov@yandex.ru>
2366
2367 * play/gametree.el (gametree-break-line-here): Use point-marker.
2368
2369 2013-01-22 Michael Albinus <michael.albinus@gmx.de>
2370
2371 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
2372 Mark descriptive parts with `display' property.
2373
2374 2013-01-21 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2375
2376 * textmodes/ispell.el (ispell-hunspell-dictionary-equivs-alist):
2377 New variable to map standard dict names to hunspell ones.
2378 (ispell-set-spellchecker-params): Make sure specific dict names
2379 are used for standard dicts with hunspell.
2380
2381 2013-01-21 Tassilo Horn <tsdh@gnu.org>
2382
2383 * textmodes/reftex-cite.el (reftex-format-citation): Add format
2384 chars for note (%N) and url (%U).
2385 * textmodes/reftex-vars.el (reftex-cite-format): Document them.
2386
2387 2013-01-21 Juri Linkov <juri@jurta.org>
2388
2389 * frame.el: Bind `f10' in `esc-map' to `toggle-frame-maximized'
2390 in addition to existing separate binding `meta f10' in `global-map'.
2391 (Bug#13484)
2392
2393 2013-01-21 Michael Albinus <michael.albinus@gmx.de>
2394
2395 Improve XEmacs compatibility.
2396
2397 * net/tramp.el (tramp-replace-environment-variables): Make it a defun.
2398
2399 * net/tramp-adb.el (top): Require `time-date'.
2400 (tramp-adb-ls-output-time-less-p): Use `tramp-time-less-p'.
2401 (tramp-adb-handle-copy-file, tramp-adb-handle-rename-file):
2402 Use `tramp-file-name-handler'.
2403 (tramp-adb-maybe-open-connection):
2404 Use `tramp-compat-set-process-query-on-exit-flag'.
2405
2406 * net/tramp-sh.el (tramp-sh-handle-file-acl):
2407 Use `tramp-compat-funcall'.
2408
2409 * net/tramp-smb.el (tramp-smb-handle-file-acl): Use `looking-at' and
2410 `tramp-compat-funcall'.
2411
2412 2013-01-21 Jürgen Hötzel <juergen@archlinux.org>
2413
2414 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Complete
2415 reimplementation using "adb shell command ..." instead of running
2416 remote shell interactively.
2417
2418 2013-01-20 Glenn Morris <rgm@gnu.org>
2419
2420 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
2421 Add native profiler menu entries.
2422
2423 * profiler.el (profiler-running-p): New function.
2424 (profiler-cpu-profile): Use profiler-running-p.
2425 (profiler-report-mode-map): Add some more menu entries.
2426
2427 2013-01-19 Glenn Morris <rgm@gnu.org>
2428
2429 * mail/unrmail.el (unrmail): Do not mangle the mbox From line;
2430 fixes 2012-12-07 change. (Bug#13499)
2431
2432 2013-01-19 Leo Liu <sdl.web@gmail.com>
2433
2434 * dired.el (dired-get-marked-files): Prune erroneous values due to
2435 last change. (Bug#13152)
2436
2437 2013-01-19 Glenn Morris <rgm@gnu.org>
2438
2439 * progmodes/etags.el (tags-table-check-computed-list):
2440 Preserve point in tags buffer. (Bug#13412)
2441
2442 * emacs-lisp/lisp-mode.el (lisp-indent-function): Doc fix.
2443
2444 2013-01-19 Christian Wittern <cwittern@gmail.com> (tiny change)
2445 Chong Yidong <cyd@gnu.org>
2446
2447 * image-mode.el (image-next-file, image-previous-file):
2448 New commands (Bug#8453).
2449 (image-mode-map): Bind them to n and p.
2450 (image-mode--images-in-directory): New helper function.
2451
2452 2013-01-19 Chong Yidong <cyd@gnu.org>
2453
2454 * image-mode.el (image-mode-fit-frame): Add a frame argument.
2455 Suggested by Drew Adams (Bug#7730). Handle window decorations;
2456 save and restore the old window configuration.
2457
2458 2013-01-18 Leo Liu <sdl.web@gmail.com>
2459
2460 * progmodes/js.el: Tweak autoload cookie for alias.
2461
2462 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
2463
2464 * autorevert.el (auto-revert-notify-watch-descriptor): Make it
2465 buffer local, again. This was lost with the fix on 2013-01-12.
2466
2467 2013-01-17 Jürgen Hötzel <juergen@archlinux.org>
2468
2469 * eshell/esh-util.el (eshell-path-env): Make it buffer local, in
2470 order to support several eshell buffers in parallel.
2471
2472 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
2473
2474 * autorevert.el (auto-revert-use-notify): In the :set function, do
2475 not modify `kill-buffer-hook'.
2476 (auto-revert-notify-rm-watch):
2477 Remove `auto-revert-notify-rm-watch' from `kill-buffer-hook'.
2478 (auto-revert-notify-add-watch): Do not call
2479 `auto-revert-notify-rm-watch', but add it to a buffer local
2480 `kill-buffer-hook'.
2481
2482 2013-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
2483
2484 * emacs-lisp/trace.el (trace--read-args): Use a closure and an honest
2485 call to `eval' rather than a backquoted lambda.
2486
2487 2013-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
2488
2489 * emacs-lisp/nadvice.el (advice--tweak): Make it possible for `tweak'
2490 to return an explicit nil.
2491 (advice--remove-function): Change accordingly.
2492
2493 * emacs-lisp/advice.el (ad-preactivate-advice): Adjust the cleanup to
2494 the use of nadvice.el.
2495
2496 * progmodes/which-func.el (which-function): Silence imenu errors
2497 (bug#13433).
2498
2499 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
2500
2501 * progmodes/sql.el (sql-imenu-generic-expression):
2502 (sql-mode-font-lock-object-name): Match schema qualified names.
2503 (sql-connect): Use string keys.
2504 (sql-product-interactive): Wait for interpreter prompt.
2505 (sql-comint-oracle): Set process coding based on NLS_LANG.
2506
2507 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
2508
2509 * progmodes/sql.el (sql-output-to-send): Remove, unused.
2510 (sql-interactive-remove-continuation-prompt):
2511 (sql-send-magic-terminator, sql-interactive-mode): Remove references.
2512
2513 2013-01-14 Leo Liu <sdl.web@gmail.com>
2514
2515 * calendar/calendar.el (calendar-redraw): Sync window-point and point.
2516 (Bug#13420)
2517
2518 2013-01-14 Glenn Morris <rgm@gnu.org>
2519
2520 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2521 Fix interpretation of gnu line.col1-col2 format. (Bug#13335)
2522
2523 2013-01-13 Fabián Ezequiel Gallina <fgallina@cuca>
2524
2525 * progmodes/python.el (python-nav-end-of-statement):
2526 Fix cornercase when handling multiline strings.
2527
2528 2013-01-13 Richard Stallman <rms@gnu.org>
2529
2530 * mail/sendmail.el (mail-position-on-field): Add doc string.
2531
2532 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
2533 Get current message boundaries and pass them to
2534 message-forward-make-body-mime. Minor style changes.
2535
2536 2013-01-13 Eli Zaretskii <eliz@gnu.org>
2537
2538 * cus-start.el (all): Avoid warnings about
2539 scroll-bar-adjust-thumb-portion on platforms where it is not defined.
2540
2541 2013-01-11 Jan Djärv <jan.h.d@swipnet.se>
2542
2543 * cus-start.el (all): Add scroll-bar-adjust-thumb-portion.
2544
2545 2013-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
2546
2547 * jit-lock.el (jit-lock-debug-mode): New minor mode.
2548 (jit-lock--debug-fontifying): New var.
2549 (jit-lock--debug-fontify): New function.
2550 * subr.el (condition-case-unless-debug): Don't prevent catching the
2551 error, just let the debbugger run.
2552 * emacs-lisp/timer.el (timer-event-handler): Don't prevent debugging
2553 timer code and don't drop errors silently.
2554
2555 2013-01-12 Michael Albinus <michael.albinus@gmx.de>
2556
2557 * autorevert.el (auto-revert-notify-watch-descriptor): Give it
2558 `permanent-local' property.
2559 (auto-revert-notify-handler): Use `file-equal-p'.
2560
2561 2013-01-12 Eli Zaretskii <eliz@gnu.org>
2562
2563 * autorevert.el (auto-revert-notify-handler): Fix filtering of
2564 file notification by ACTION. For filtering by file name, compare
2565 only the non-directory part of the file name.
2566
2567 2013-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
2568
2569 * autorevert.el: Use cl-lib instead of cl.
2570
2571 * vc/vc-bzr.el (vc-bzr--sanitize-header): New function (bug#13307).
2572 (vc-bzr-checkin): Use it.
2573 * vc/log-edit.el (log-edit-extract-headers): Don't presume FUNCTION
2574 will preserve match-data.
2575
2576 2013-01-11 Felix H. Dahlke <fhd@ubercode.de>
2577
2578 * progmodes/js.el: Fix multiline declarations's indentation (bug#8576).
2579 (js--declaration-keyword-re): New var.
2580 (js--multi-line-declaration-indentation): New function.
2581 (js--proper-indentation): Use it.
2582
2583 2013-01-11 Aaron S. Hawley <Aaron.Hawley@vtinfo.com>
2584
2585 * calc/calc.el (calc-highlight-selections-with-faces)
2586 (calc-dispatch):
2587 * comint.el (comint-history-isearch-message):
2588 * emacs-lisp/edebug.el (edebug-read, edebug-eval-defun):
2589 * ffap.el (ffap-string-at-point-region, ffap-next)
2590 (ffap-string-at-point, ffap-string-around)
2591 (ffap-copy-string-as-kill, ffap-highlight-overlay)
2592 (ffap-literally):
2593 * font-lock.el (font-lock-keywords-alist)
2594 (font-lock-removed-keywords-alist):
2595 * help-mode.el (help-xref-symbol-regexp):
2596 * info.el (Info-find-emacs-command-nodes):
2597 * international/mule.el (add-to-coding-system-list):
2598 * isearch.el (isearch-message-function, isearch-fail-pos):
2599 * misearch.el (multi-isearch-next-buffer-function):
2600 * newcomment.el (comment-box):
2601 * printing.el (pr-txt-printer-alist, pr-ps-printer-alist)
2602 (pr-setting-database):
2603 * progmodes/cc-fonts.el (c-font-lock-keywords-3)
2604 (c++-font-lock-keywords-3, objc-font-lock-keywords-3)
2605 (java-font-lock-keywords-3, idl-font-lock-keywords-3)
2606 (pike-font-lock-keywords-3):
2607 * progmodes/compile.el (compile):
2608 * progmodes/etags.el (tags-table-files)
2609 (tags-table-files-function, tags-included-tables-function):
2610 * progmodes/gdb-mi.el (gdb, gdb-setup-windows)
2611 (gdb-restore-windows):
2612 * ps-print.el (ps-even-or-odd-pages, ps-spool-buffer-with-faces)
2613 (ps-n-up-filling-database):
2614 * server.el (server-buffer, server-log):
2615 * simple.el (newline, delete-backward-char, delete-forward-char)
2616 (minibuffer-history-isearch-message, kill-line, track-eol)
2617 (temporary-goal-column):
2618 * textmodes/flyspell.el (flyspell-mark-duplications-flag)
2619 (flyspell-default-deplacement-commands):
2620 * textmodes/ispell.el (ispell-accept-output):
2621 * textmodes/sgml-mode.el (html-tag-help):
2622 * vc/compare-w.el (compare-ignore-whitespace)
2623 (compare-ignore-case, compare-windows-dehighlight):
2624 * vc/diff.el (diff):
2625 * whitespace.el (whitespace-point)
2626 (whitespace-font-lock-refontify, whitespace-bob-marker)
2627 (whitespace-eob-marker): Fix ambiguous doc string cross-reference(s).
2628
2629 2013-01-11 Michael Albinus <michael.albinus@gmx.de>
2630
2631 * autorevert.el (top): Require 'cl in order to pacify byte compiler.
2632 (auto-revert-notify-rm-watch): Ignore errors.
2633 (auto-revert-notify-add-watch): Ignore errors. Use '(modify) for
2634 inotify, and '(size last-write-time) for w32notify.
2635 Set buffer-local `auto-revert-use-notify' to nil when adding a file
2636 watch fails - this is a fallback to the file modification check.
2637 (auto-revert-notify-event-p, auto-revert-notify-event-descriptor)
2638 (auto-revert-notify-event-action)
2639 (auto-revert-notify-event-file-name): New defuns.
2640 (auto-revert-notify-handler): Use them. Implement first
2641 plausibility checks.
2642 (auto-revert-handler): Handle also `auto-revert-tail-mode'.
2643
2644 2013-01-11 Julien Danjou <julien@danjou.info>
2645
2646 * color.el (color-rgb-to-hsv): Fix conversion computing in case min and
2647 max are almost equal. Also return the correct value for V which is
2648 already between 0 and 1.
2649
2650 2013-01-11 Dmitry Antipov <dmantipov@yandex.ru>
2651
2652 * emacs-lisp/ert.el (ert-run-test): Use point-max-marker.
2653
2654 2013-01-11 Eli Zaretskii <eliz@gnu.org>
2655
2656 * autorevert.el (auto-revert-notify-rm-watch)
2657 (auto-revert-notify-add-watch): Fix typos in w32notify function
2658 names.
2659
2660 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
2661
2662 * autorevert.el (auto-revert-notify-enabled): Move up.
2663 (auto-revert-use-notify): New defcustom.
2664 (auto-revert-mode, global-auto-revert-mode)
2665 (auto-revert-notify-add-watch, auto-revert-handler)
2666 (auto-revert-buffers): Use `auto-revert-use-notify' instead of
2667 `auto-revert-notify-enabled'.
2668
2669 2013-01-10 Elias Pipping <pipping@exherbo.org>
2670
2671 * files.el (auto-mode-alist): Use doc-view for djvu files (bug#13164).
2672 * doc-view.el (doc-view-document->bitmap):
2673 Use doc-view-single-page-converter-function instead of
2674 single-page-converter arg; adjust callers.
2675
2676 2013-01-10 Feng Li <fengli@gmail.com> (tiny change)
2677
2678 * progmodes/which-func.el (which-function): Understand Semantic's use
2679 of overlays in imenu--index-alist.
2680
2681 2013-01-10 Wolfgang Jenkner <wjenkner@inode.at>
2682
2683 * man.el: Handle different "man -k" behaviors (bug#13160). Use utf-8.
2684 (Man-man-k-use-anchor): New var.
2685 (Man-parse-man-k): New function.
2686 (Man-completion-table): Use it.
2687 (man): Flush the completion cache between uses.
2688
2689 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
2690
2691 * autorevert.el: Add file watch support.
2692 (auto-revert-notify-enabled): New defconst.
2693 (auto-revert-notify-watch-descriptor-hash-list)
2694 (auto-revert-notify-watch-descriptor)
2695 (auto-revert-notify-modified-p): New defvars.
2696 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
2697 (auto-revert-notify-handler): New defuns.
2698 (auto-revert-mode, global-auto-revert-mode): Remove file watches
2699 when mode is disabled.
2700 (auto-revert-handler): Check for `auto-revert-notify-modified-p'.
2701 (auto-revert-buffers): Add file watches for active buffers.
2702
2703 2013-01-10 Dmitry Antipov <dmantipov@yandex.ru>
2704
2705 * cus-start.el (toplevel): Only allow float values for
2706 scroll-up-aggressively and scroll-down-aggressively.
2707 Allow any number for line-spacing.
2708
2709 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
2710
2711 * doc-view.el (doc-view-pdfdraw-program): Allow "pdfdraw" name.
2712 (doc-view-pdf->png-converter-function): Use mupdf if available.
2713 (doc-view-djvu->png-converter-function)
2714 (doc-view-ps->png-converter-function): Remove.
2715 (doc-view--image-file-pattern): Replace doc-view--image-file-extension.
2716 (doc-view-goto-page, doc-view-convert-current-doc, doc-view-display)
2717 (doc-view-already-converted-p): Adjust accordingly.
2718 (doc-view-mode-p): Simplify.
2719 (doc-view-enlarge): Use setq-local.
2720 (doc-view-pdf->png-converter-ghostscript)
2721 (doc-view-djvu->png-converter-ddjvu)
2722 (doc-view-pdf->png-converter-mupdf): Rework to call
2723 doc-view-start-process directly.
2724 (doc-view-pdf/ps->png): Simplify accordingly.
2725 (doc-view-pdf->png-1, doc-view-djvu->png-1): Remove.
2726 (doc-view-document->bitmap): Rename from doc-view-document->png.
2727 (doc-view-convert-current-doc): Merge pdf and djvu cases.
2728 (doc-view-set-slice-from-bounding-box): Fix completion table.
2729 (doc-view-mode): Use add-hook for after-revert-hook.
2730
2731 2013-01-10 Glenn Morris <rgm@gnu.org>
2732
2733 * emacs-lisp/authors.el (authors-ignored-files)
2734 (authors-valid-file-names, authors-renamed-files-alist):
2735 Add some more entries.
2736
2737 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
2738
2739 * image-mode.el (image-mode-winprops): Don't throw away the fallback
2740 `t' pseudo-window entry.
2741
2742 2013-01-10 Alan Mackenzie <acm@muc.de>
2743
2744 Fix bugs in the c-parse-state mechanism. Reuse some markers
2745 instead of continually generating new ones.
2746
2747 * progmodes/cc-engine.el (c-state-old-cpp-beg-marker)
2748 (c-state-old-cpp-end-marker): New variables.
2749 (c-append-lower-brace-pair-to-state-cache): Start a backward
2750 search for "}" definitively outside CPP constructs.
2751 (c-remove-stale-state-cache): Inform the caller of a need to
2752 search back for a brace pair in certain circumstances.
2753 (c-state-maybe-marker): New macro.
2754 (c-parse-state): Reuse markers when appropriate.
2755
2756 2013-01-10 Glenn Morris <rgm@gnu.org>
2757
2758 * simple.el (execute-extended-command): Doc fix.
2759 Bind prefix-arg around read-extended-command, for prompt. (Bug#13395)
2760
2761 2013-01-10 Chong Yidong <cyd@gnu.org>
2762
2763 * faces.el (read-face-name): Doc fix.
2764
2765 2013-01-10 Roland Winkler <winkler@gnu.org>
2766
2767 * emacs-lisp/crm.el: Allow any regexp for separators.
2768 (crm-default-separator): All spaces around the default comma separator.
2769 (crm--completion-command): New macro.
2770 (crm-completion-help, crm-complete, crm-complete-word): Use it.
2771 (crm-complete-and-exit): Handle non-single-char separators.
2772
2773 2013-01-09 Elias Pipping <pipping@lavabit.com>
2774
2775 * doc-view.el: Add support for DjVu (bug#13164).
2776 (doc-view-djvu->png-converter-function): New config var.
2777 (doc-view-single-page-converter-function, doc-view--image-type)
2778 (doc-view--image-file-extension): New vars.
2779 (doc-view-mode): Initialize them.
2780 (doc-view-goto-page): Use them.
2781 (doc-view-mode-p): Add support for ddjvu.
2782 (doc-view-djvu->png-converter-ddjvu, doc-view-djvu->png-1)
2783 (doc-view-set-up-single-converter): New funs.
2784 (doc-view-pdf/ps->png): Extend for djvu.
2785 (doc-view-document->png): Rename from doc-view-pdf->png.
2786 (doc-view-convert-current-doc): Handle djvu.
2787 (doc-view-insert-image, doc-view-display)
2788 (doc-view-already-converted-p): Don't hardcode png.
2789 (doc-view-set-doc-type): Recognize djvu docs.
2790
2791 2013-01-09 Elias Pipping <pipping@lavabit.com>
2792
2793 * doc-view.el: Add support for mupdf converter (bug#13164).
2794 (doc-view-pdfdraw-program, doc-view-pdf->png-converter-function)
2795 (doc-view-ps->png-converter-function): New config vars.
2796 (doc-view-pdf->png-converter-ghostscript)
2797 (doc-view-ps->png-converter-ghostscript)
2798 (doc-view-pdf->png-converter-mupdf): New functions.
2799 (doc-view-pdf/ps->png, doc-view-pdf->png-1): Use them.
2800
2801 2013-01-09 Jürgen Hötzel <juergen@archlinux.org>
2802
2803 * net/tramp.el (tramp-eshell-directory-change): Check remote-path
2804 first in session cache: When `tramp-own-remote-path' is in
2805 `tramp-remote-path', the remote path is only set in the session
2806 cache.
2807
2808 2013-01-09 Glenn Morris <rgm@gnu.org>
2809
2810 * emacs-lisp/trace.el (trace-function-foreground)
2811 (trace-function-background): Doc fix.
2812
2813 2013-01-09 Juri Linkov <juri@jurta.org>
2814
2815 * international/mule-cmds.el (read-char-by-name): Move let-binding
2816 of completion-ignore-case around completing-read to fix regression
2817 exhibited by the test case `C-x 8 RET *acc TAB' and caused by
2818 `string-match-p' using the nil value of `case-fold-search' and
2819 `completion-ignore-case' in `completion-pcm--all-completions'.
2820 (Bug#12615).
2821
2822 2013-01-09 Glenn Morris <rgm@gnu.org>
2823
2824 * progmodes/compile.el (compilation-parse-errors):
2825 Fix typo. (Bug#13369)
2826
2827 2013-01-09 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
2828
2829 * comint.el (comint-send-input): Check size of buffer before
2830 waiting for process output, in case already accepted. (Bug#13290)
2831
2832 2013-01-09 Paul Eggert <eggert@cs.ucla.edu>
2833
2834 Spelling fixes.
2835 * net/tramp-adb.el (tramp-adb-get-toolbox):
2836 Fix misspelling of 'unknown'.
2837
2838 2013-01-08 Juri Linkov <juri@jurta.org>
2839
2840 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
2841 * progmodes/flymake.el (flymake-errline, flymake-warnline):
2842 Use underline style wave on terminals that support it. (Bug#13000)
2843
2844 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2845
2846 * emacs-lisp/pcase.el (pcase--split-equal): Also take advantage if
2847 the predicate returns nil.
2848
2849 * simple.el: Use lexical-binding.
2850 (primitive-undo): Use pcase.
2851 (minibuffer-history-isearch-push-state): Use a closure.
2852
2853 2013-01-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2854
2855 * simple.el (primitive-undo): Move from undo.c.
2856
2857 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2858
2859 * vc/pcvs.el (cvs-cleanup-collection): Extend meaning of `rm-handled'.
2860 (cvs-mode-remove-handled): Use it (bug#13380).
2861
2862 * emacs-lisp/nadvice.el (advice--tweak): New function.
2863 (advice--remove-function, advice--subst-main): Use it.
2864
2865 * emacs-lisp/advice.el: Update commentary.
2866
2867 2013-01-08 Michael Albinus <michael.albinus@gmx.de>
2868
2869 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
2870 Remove spurious entry.
2871
2872 2013-01-08 Glenn Morris <rgm@gnu.org>
2873
2874 * net/tramp.el (tramp-default-host-alist): Add :version.
2875
2876 2013-01-08 Juri Linkov <juri@jurta.org>
2877
2878 * info.el (Info-read-node-name-2): Don't duplicate suffixes for
2879 single completion. (Bug#12456)
2880 (info--manual-names): Expand node completions into an explicit list
2881 before appending it to another list. Filter out internal buffers
2882 with the leading space in the buffer name. (Bug#10771)
2883
2884 2013-01-08 Juri Linkov <juri@jurta.org>
2885
2886 * info.el (Info-read-node-name-1): Allow empty node name in (FILENAME)
2887 that defaults to the Top node.
2888 (Info-goto-node, Info-read-node-name): Doc fix to mention that
2889 the short format (FILENAME) goes to the Top node.
2890 (Info-build-node-completions): Rename arg `file' to `filename'.
2891 (Bug#13365)
2892
2893 2013-01-07 Bastien Guerry <bzg@gnu.org>
2894
2895 * menu-bar.el (menu-bar-search-documentation-menu):
2896 Use `apropos-user-option' and fix the help message.
2897
2898 2013-01-07 Bastien Guerry <bzg@gnu.org>
2899
2900 * apropos.el (apropos-do-all): Update docstring.
2901 (apropos-user-option-button): New face.
2902 (apropos-user-option): Rename from `apropos-variable' and update
2903 docstring.
2904 (apropos-variable): Rewrite, now show all variables by default.
2905 (apropos-print): Mention "User option" instead of "Variable" when
2906 printing doc for user options. (Bug#13276)
2907
2908 2013-01-07 Jürgen Hötzel <juergen@archlinux.org>
2909
2910 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
2911 Handle filename correctly, when parsing "source -> target" symlink
2912 output.
2913 (tramp-adb-handle-set-file-times): New defun.
2914
2915 2013-01-07 Stefan Monnier <monnier@iro.umontreal.ca>
2916
2917 * emacs-lisp/advice.el (ad-activate-advised-definition): Refresh the
2918 advice list when the interactive-spec of ad-Advice-* changes.
2919
2920 2013-01-07 Katsumi Yamaoka <yamaoka@jpl.org>
2921
2922 * wid-edit.el (widget-default-get): Work for inlined elements.
2923 (Bug#12670)
2924
2925 2013-01-07 Michael Albinus <michael.albinus@gmx.de>
2926
2927 * net/tramp.el (tramp-default-host-alist): New defcustom.
2928 (tramp-find-host): Use it.
2929 (tramp-eshell-directory-change): Move from tramp-sh.el. Add to
2930 `eshell-directory-change-hook'.
2931
2932 * net/tramp-adb.el (top): Add adb specific entry in
2933 `tramp-default-host-alist'.
2934 (tramp-adb-file-name-host): Remove function.
2935 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
2936 Use `tramp-file-name-host' instead of `tramp-adb-file-name-host'.
2937
2938 * net/tramp-sh.el: Move eshell integration code to tramp.el.
2939
2940 2013-01-06 Jürgen Hötzel <juergen@archlinux.org>
2941
2942 * net/tramp-adb.el (tramp-methods): Add `tramp-tmpdir' entry.
2943
2944 2013-01-06 Michael Albinus <michael.albinus@gmx.de>
2945
2946 * net/tramp-adb.el (tramp-adb-ls-toolbox-regexp): The file size can
2947 consist of more than one digit.
2948 (tramp-adb-file-name-handler-alist):
2949 Use `tramp-handle-file-exists-p' consistently.
2950 (tramp-adb-file-name-handler): Don't tweak `tramp-default-host'.
2951 (tramp-adb-handle-file-exists-p): Remove function.
2952 (tramp-adb-file-name-host): New defun.
2953 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
2954 Use it.
2955 (tramp-adb-maybe-open-connection): Set "remote-path" property.
2956
2957 2013-01-06 Chong Yidong <cyd@gnu.org>
2958
2959 * vc/vc.el (vc-next-action): Detect buffer modifications
2960 conflicting with locking VCS operation (Bug#11490).
2961
2962 * vc/vc-hooks.el (vc-after-save): DTRT for locking VCSes.
2963
2964 2013-01-05 Michael Albinus <michael.albinus@gmx.de>
2965
2966 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
2967 (tramp-adb-handle-directory-files-and-attributes): Fix typos.
2968
2969 2013-01-05 Jürgen Hötzel <juergen@archlinux.org>
2970
2971 * net/tramp-adb.el (tramp-adb-handle-file-attributes): More robust
2972 parsing of ls output using regular expression (handle filenames
2973 with spaces). Use virtual device number.
2974 (tramp-do-parse-file-attributes-with-ls): New defun (Code
2975 cleanup).
2976
2977 2013-01-04 Daiki Ueno <ueno@gnu.org>
2978
2979 * epg.el: Silence byte-compiler warnings.
2980 (epg--start): Use delete-char instead of delete-backward-char.
2981 (epg-wait-for-completion): Pass FRAME arg to redraw-frame.
2982
2983 2013-01-04 Daiki Ueno <ueno@gnu.org>
2984
2985 * epg.el (epg--start): Don't call "tty" program on W32 platforms.
2986 Suggested by Eli Zaretskii <eliz@gnu.org>.
2987
2988 2013-01-04 Michael Albinus <michael.albinus@gmx.de>
2989
2990 * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
2991 non-negative integers. Otherwise, the default values are used.
2992 (tramp-convert-file-attributes): Convert uid and gid to integers.
2993
2994 2013-01-04 Glenn Morris <rgm@gnu.org>
2995
2996 * term.el (term-handle-colors-array): Ensure face attributes
2997 are fully specified, not nil. (Bug#13337)
2998
2999 * term.el (term-default-fg-color, term-default-bg-color):
3000 Fix custom type.
3001
3002 * progmodes/etags.el (tags-compression-info-list): Doc fix.
3003 (tag-find-file-of-tag-noselect): Check auto-compression-mode
3004 rather than 'jka-compr being loaded. (Bug#13338)
3005
3006 2013-01-04 Wesley Dawson <whd@lavabit.com> (tiny change)
3007
3008 * icomplete.el (icomplete-completions):
3009 Honor icomplete-prospects-height once more following
3010 2012-11-29 changes. (Bug#13224)
3011
3012 2013-01-04 Stefan Monnier <monnier@iro.umontreal.ca>
3013
3014 * subr.el (internal--called-interactively-p--get-frame): Find aliases
3015 of called-interactively-p as well (bug#13237).
3016
3017 * view.el (view--enable, view--disable): Rename from view-mode-enable
3018 and view-mode-disable and assume it's called from view-mode.
3019 (view-mode-enable, view-mode-disable): Redefine as obsolete
3020 compatibility layer above view-mode.
3021 (view-mode-enter): Call `view-mode'.
3022
3023 * files.el (after-find-file): Call `view-mode'.
3024
3025 * doc-view.el (doc-view-scale-internally): New var.
3026 (doc-view-enlarge, doc-view-insert-image): Obey it.
3027
3028 2013-01-03 Daiki Ueno <ueno@gnu.org>
3029
3030 * epg.el (epg--start): Ignore errors when /dev/fd/0 does not
3031 exist. (Bug#13344)
3032
3033 2013-01-03 Glenn Morris <rgm@gnu.org>
3034
3035 * mail/rmail.el (rmail-set-header-1): Ignore case.
3036 Handle multi-line headers. (Bug#13330)
3037
3038 * progmodes/make-mode.el (makefile-fill-paragraph): Add doc.
3039 Handle paragraph starting at beginning of buffer.
3040
3041 * subr.el (eval-after-load): Don't purecopy the form, so that it
3042 can be nconc'd later on; reverts 2009-11-11 change. (Bug#13331)
3043
3044 * emacs-lisp/byte-run.el (defun): Place cl declarations
3045 after any interactive spec. (Bug#13265)
3046
3047 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
3048
3049 * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
3050 defun. Don't check for DECL if DOCSTRING isn't a string.
3051 (defun): Likewise.
3052
3053 2013-01-02 Glenn Morris <rgm@gnu.org>
3054
3055 * eshell/em-cmpl.el (eshell-pcomplete):
3056 More thoroughly imitate pcomplete. (Bug#13293)
3057
3058 * files.el (parse-colon-path): Doc fix. (Bug#12351)
3059 Return nil for empty path elements. (Bug#13296)
3060
3061 2013-01-02 Fabián Ezequiel Gallina <fgallina@cuca>
3062
3063 * progmodes/python.el (python-nav-end-of-statement): Rewrite in
3064 order to improve efficiency (Based on Daniel Colascione's
3065 <dancol@dancol.org> patch). (Bug#13182)
3066
3067 2013-01-02 Glenn Morris <rgm@gnu.org>
3068
3069 * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
3070
3071 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
3072
3073 * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
3074 neither DOCSTRING nor DECL was given. (Bug#13316)
3075
3076 2013-01-02 Michael Albinus <michael.albinus@gmx.de>
3077
3078 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Add argument to
3079 `error' call.
3080 (tramp-do-copy-or-rename-file): Ignore errors when calling
3081 `set-file-extended-attributes'.
3082
3083 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
3084 Add handler for `file-acl'.
3085 (tramp-smb-handle-file-acl): New defun.
3086
3087 2013-01-02 Jay Belanger <jay.p.belanger@gmail.com>
3088
3089 * calc/README: Mention ISO 8601 week-numbering dates.
3090
3091 2013-01-01 Martin Rudalics <rudalics@gmx.at>
3092
3093 * view.el (view-mode-enable): New argument run-view-mode-hook.
3094 Run view-mode-hook only when it's non-nil (Bug#13315).
3095 (view-mode-enter): Call view-mode-enable with run-view-mode-hook
3096 argument t.
3097
3098 2012-12-31 Jürgen Hötzel <juergen@archlinux.org>
3099
3100 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Handle errors
3101 (No device connected, invalid device name). (Bug #13299)
3102
3103 2012-12-31 Martin Rudalics <rudalics@gmx.at>
3104
3105 * window.el (window-resizable--p): Rename to window-resizable-p.
3106 (window-resize-no-error): New function.
3107
3108 * mail/rmail.el (rmail-maybe-display-summary): Restore behavior
3109 broken in fix from 2012-12-28.
3110
3111 2012-12-31 Stefan Monnier <monnier@iro.umontreal.ca>
3112
3113 * subr.el (special-form-p): Don't signal errors on undef aliases.
3114
3115 2012-12-31 Jay Belanger <jay.p.belanger@gmail.com>
3116
3117 * calc/calc-forms.el (math-parse-date): Try using
3118 `math-parse-iso-date' when it looks like it might be needed.
3119 Allow times of 24:00.
3120 (math-parse-date-validate, math-parse-iso-date-validate): Allow times
3121 of 24:00.
3122
3123 2012-12-30 Glenn Morris <rgm@gnu.org>
3124
3125 * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
3126 Remove unnecessary/buggy autoloads (missing interactive). (Bug#13294)
3127 (rmail-summary-displayed, rmail-summary): Declare.
3128 (mairix-rmail-display): Just require rmail.
3129
3130 2012-12-30 Chong Yidong <cyd@gnu.org>
3131
3132 * emacs-lisp/package.el (package-untar-buffer): Improve integrity
3133 check for the tarball contents.
3134
3135 2012-12-30 Matt Fidler <matt.fidler@alcon.com> (tiny change)
3136
3137 * emacs-lisp/package.el (package-untar-buffer): Handle problematic
3138 tarfile content listings (Bug#13136).
3139
3140 2012-12-30 Mark Lillibridge <mark.lillibridge@hp.com>
3141
3142 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
3143 Insert the undecoded text of the message being forwarded. (Bug#9521)
3144
3145 2012-12-30 Michael Albinus <michael.albinus@gmx.de>
3146
3147 * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
3148 integers, if they are real numbers. (Bug#13282)
3149
3150 * net/tramp-sh.el (tramp-sh-handle-set-file-selinux-context):
3151 Return `t' on success.
3152
3153 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
3154 Add handler for `set-file-selinux-context'.
3155
3156 2012-12-29 Michael Albinus <michael.albinus@gmx.de>
3157
3158 * net/tramp-sh.el (tramp-sh-handle-file-acl): Suppress basic attributes.
3159 (tramp-sh-handle-set-file-acl): Return `t' on success.
3160
3161 2012-12-29 Eli Zaretskii <eliz@gnu.org>
3162
3163 * files.el (backup-buffer-copy, basic-save-buffer-2):
3164 If set-file-extended-attributes fails, fall back on set-file-modes
3165 instead of signaling an error. (Bug#13298)
3166 (basic-save-buffer): Likewise.
3167
3168 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
3169
3170 * progmodes/python.el: Support other commands triggering
3171 python-indent-line so indentation cycling continues to work.
3172 (python-indent-trigger-commands): New defcustom.
3173 (python-indent-line): Use it.
3174
3175 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
3176
3177 * progmodes/python.el (python-shell-send-region): Add blank lines
3178 for non sent code so backtraces remain correct.
3179
3180 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
3181
3182 * progmodes/python.el: Remove cl dependency.
3183 (python-syntax-count-quotes): Replace incf call.
3184 (python-fill-string): Replace setf call.
3185
3186 2012-12-29 Damien Cassou <damien.cassou@gmail.com>
3187
3188 * info.el (info-other-window): New arg, for consistency with info.
3189
3190 2012-12-28 Martin Rudalics <rudalics@gmx.at>
3191
3192 * mail/rmail.el (rmail-maybe-display-summary):
3193 Rewrite (Bug#13066).
3194
3195 2012-12-28 Andreas Schwab <schwab@linux-m68k.org>
3196
3197 * epg.el (epg--start): Modify process-environment locally.
3198
3199 2012-12-28 Daiki Ueno <ueno@gnu.org>
3200
3201 * epg.el: Support pinentry-curses.
3202 Suggested by Werner Koch in
3203 <http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00755.html>.
3204 (epg-agent-file, epg-agent-mtime): New variable.
3205 (epg--start): Record the modified time of gpg-agent socket file,
3206 to restore Emacs frame after pinentry-curses termination.
3207 (epg-wait-for-completion): Restore Emacs frame here.
3208
3209 2012-12-27 Juri Linkov <juri@jurta.org>
3210
3211 * info.el (Info-file-completions): New variable.
3212 (Info-read-node-name-1): Complete node names in the Info file
3213 when a file name is given. Call `Info-build-node-completions'
3214 with a file name.
3215 (Info-build-node-completions): Add new arg `file'. When it is
3216 non-nil, visit it in a temporary buffer and cache its completions in
3217 `Info-current-file-completions'. Move most of the function body to
3218 `Info-build-node-completions-1'.
3219 (Info-build-node-completions-1): New function with the body from
3220 `Info-build-node-completions'. (Bug#12456)
3221
3222 2012-12-27 Juri Linkov <juri@jurta.org>
3223
3224 * frame.el (frame-maximization-style): Remove user option.
3225 (cycle-frame-maximized): Remove function.
3226 (toggle-frame-maximized): Rewrite and bind to M-<f10>.
3227 (toggle-frame-fullscreen): New command bound to <f11> instead of
3228 `toggle-frame-maximized'.
3229 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html
3230
3231 2012-12-27 Michael Albinus <michael.albinus@gmx.de>
3232
3233 * net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.
3234
3235 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3236 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3237 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
3238 for `file-accessible-directory-p'. (Bug#13275)
3239
3240 2012-12-27 Sam Steingold <sds@gnu.org>
3241
3242 * progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
3243 continuations, see <http://stackoverflow.com/questions/3582436>.
3244
3245 2012-12-27 Dmitry Gutov <dgutov@yandex.ru>
3246
3247 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
3248 "module" and "def" to have indentation before them.
3249 Regression from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).
3250
3251 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
3252
3253 2012-12-27 Alan Mackenzie <acm@muc.de>
3254
3255 Speed up fontification where there's large brace blocks.
3256 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
3257 to a call of c-beginning-of-decl-1.
3258
3259 2012-12-27 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
3260
3261 * comint.el (comint-adjust-window-point): New function.
3262 (comint-postoutput-scroll-to-bottom):
3263 Call comint-adjust-window-point (Bug#13248).
3264
3265 2012-12-26 Dmitry Gutov <dgutov@yandex.ru>
3266
3267 * progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
3268 Rakefile regexp.
3269 (auto-mode-alist): Associate .gemspec files with ruby-mode
3270 (https://bugs.ruby-lang.org/issues/5453).
3271
3272 2012-12-26 Jürgen Hötzel <juergen@archlinux.org>
3273
3274 * net/tramp-adb.el (tramp-adb-get-ls-command): New defun.
3275 Suppress coloring, if possible (required for BusyBox based systems like
3276 CyanogenMod).
3277 (tramp-adb-handle-file-attributes)
3278 (tramp-adb-handle-insert-directory)
3279 (tramp-adb-handle-file-name-all-completions): Use it.
3280 (tramp-adb-get-toolbox): New defun. Check for remote shell
3281 implementation (BusyBox or Toolbox).
3282
3283 2012-12-24 Constantin Kulikov <zxnotdead@gmail.com> (tiny change)
3284
3285 * startup.el (initial-buffer-choice): Allow function as value
3286 (Bug#13251).
3287 (command-line-1): Handle case where initial-buffer-choice
3288 specifies a function.
3289 * server.el (server-execute): Handle case where
3290 initial-buffer-choice specifies a function.
3291
3292 2012-12-24 Lars Ingebrigtsen <larsi@gnus.org>
3293
3294 * mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
3295 its own function.
3296 (smtpmail-try-auth-methods): Forget the user name/password if the
3297 login is unsuccessful (bug#12424).
3298
3299 2012-12-22 Michael Albinus <michael.albinus@gmx.de>
3300
3301 * notifications.el (notifications-notify): Protect body with
3302 `with-demoted-errors'.
3303
3304 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3305 Check properties of remote device. Restart connection, if there is a
3306 change.
3307
3308 2012-12-21 Chong Yidong <cyd@gnu.org>
3309
3310 * sort.el (sort-subr): Doc fix (Bug#13056).
3311
3312 2012-12-21 Bastien Guerry <bzg@gnu.org>
3313
3314 * progmodes/etags.el (tags-search): Fix typo. Bug #13232.
3315
3316 2012-12-21 Michael Albinus <michael.albinus@gmx.de>
3317
3318 * simple.el (process-file): Overwrite stderr file, if exists.
3319
3320 2012-12-21 Daiki Ueno <ueno@gnu.org>
3321
3322 * epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
3323 (epg-error): Set `error-message' property.
3324
3325 2012-12-21 Chong Yidong <cyd@gnu.org>
3326
3327 * international/mule-cmds.el (read-char-by-name): Signal an error
3328 if the user does not supply a valid character (Bug#13177).
3329
3330 * simple.el (transpose-subr-1): Preserve marker positions by
3331 changing the insertion sequence (Bug#13122).
3332
3333 2012-12-21 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
3334
3335 * simple.el (kill-region): Deactivate mark even for empty regions
3336 (Bug#13169).
3337
3338 2012-12-21 Chong Yidong <cyd@gnu.org>
3339
3340 * help-fns.el (describe-variable): Make sure we get the right
3341 buffer name (Bug#13105). Suggested by Kelly Dean.
3342
3343 2012-12-20 Michael R. Mauger <mmaug@yahoo.com>
3344
3345 * comint.el (comint-redirect-previous-input-string): New variable.
3346 (comint-redirect-setup, comint-redirect-cleanup)
3347 (comint-redirect-preoutput-filter): Use it. Fixes redirection bug.
3348 (comint-redirect-preoutput-filter): Fix verbose message.
3349
3350 2012-12-20 Michael Albinus <michael.albinus@gmx.de>
3351
3352 * progmodes/grep.el (rgrep): Escape command line. Sometimes, it
3353 is too long for Tramp. See discussion in
3354 <http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.
3355
3356 * progmodes/compile.el (compilation-start): Remove line escape
3357 template.
3358
3359 2012-12-20 Dmitry Antipov <dmantipov@yandex.ru>
3360
3361 * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
3362 Adjust comment.
3363
3364 2012-12-19 Jonas Bernoulli <jonas@bernoul.li>
3365
3366 * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
3367 following non-comment text (bug#13207).
3368 (lm-header-multiline): Continuation lines need to be indented more than
3369 the first line.
3370 (lm-homepage): New function.
3371 (lm-with-file): Don't be confused if narrowing is in effect.
3372
3373 2012-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
3374
3375 * vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
3376 very beginning of a hunk (e.g. killing the first line).
3377
3378 2012-12-19 Michael Albinus <michael.albinus@gmx.de>
3379
3380 * net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
3381 and text properties from returned ACL string.
3382 (tramp-sh-handle-set-file-acl): Do not use additional parentheses
3383 for "setfacl" command.
3384
3385 2012-12-18 Michael Albinus <michael.albinus@gmx.de>
3386
3387 * net/tramp.el (tramp-error-with-buffer): Give a hint to use
3388 `tramp-cleanup-this-connection', when the process has died.
3389 (Bug#13151)
3390
3391 2012-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
3392
3393 * icomplete.el (icomplete-completions): Also use … to truncate prefix.
3394
3395 2012-12-17 Kevin Ryde <user42@zip.com.au>
3396
3397 * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
3398
3399 2012-12-17 Michael Albinus <michael.albinus@gmx.de>
3400
3401 Add support for preserving ACL entries of files.
3402
3403 * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
3404 `set-file-acl' handlers.
3405
3406 * net/tramp-adb.el (tramp-adb-handle-copy-file):
3407 Handle PRESERVE-EXTENDED-ATTRIBUTES.
3408
3409 * net/tramp-compat.el (tramp-compat-copy-file):
3410 Handle PRESERVE-EXTENDED-ATTRIBUTES.
3411
3412 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3413 Add `file-acl' and `set-file-acl' handlers.
3414 (tramp-gvfs-handle-copy-file):
3415 Handle PRESERVE-EXTENDED-ATTRIBUTES.
3416 (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
3417 New defuns.
3418
3419 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3420 Add `file-acl' and `set-file-acl' handlers.
3421 (tramp-remote-acl-p, tramp-sh-handle-file-acl)
3422 (tramp-sh-handle-set-file-acl): New defuns.
3423 (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
3424 Handle PRESERVE-EXTENDED-ATTRIBUTES.
3425
3426 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
3427 Add `file-acl' and `set-file-acl' handlers.
3428 (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
3429
3430 2012-12-17 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
3431
3432 * help-macro.el (make-help-screen): Instead of switch-to-buffer
3433 use pop-to-buffer with NORECORD argument t. As buffer name, use
3434 *Metahelp* with a leading space (Bug#13190).
3435
3436 2012-12-16 Romain Francoise <romain@orebokech.com>
3437
3438 * files.el (file-extended-attributes)
3439 (set-file-extended-attributes): New functions.
3440 (backup-buffer): Use them to handle both SELinux context and ACL
3441 entries.
3442 (backup-buffer-copy): Work with an alist of extended attributes,
3443 rather than an SELinux context.
3444 (basic-save-buffer-2): Ditto.
3445
3446 2012-12-16 Timo Myyrä <timo.myyra@gmail.com>
3447
3448 * battery.el (battery-bsd-apm): New function.
3449
3450 2012-12-16 Jay Belanger <jay.p.belanger@gmail.com>
3451
3452 * calc/calc.el (calc-standard-date-formats): Adjust one of the
3453 standard date formats.
3454
3455 2012-12-15 Juri Linkov <juri@jurta.org>
3456
3457 * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
3458 `isearch-insert-char-by-name'.
3459 (with-isearch-suspended): New defmacro with body mostly from
3460 `isearch-edit-string' except the part that sets
3461 `isearch-new-string' and `isearch-new-message'.
3462 (isearch-edit-string): Use new macro `with-isearch-suspended' with
3463 body that sets `isearch-new-string' and `isearch-new-message'.
3464 (isearch-insert-char-by-name): New command.
3465 * international/mule-cmds.el (read-char-by-name): Let-bind
3466 `enable-recursive-minibuffers' to t.
3467 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
3468
3469 2012-12-15 Juri Linkov <juri@jurta.org>
3470
3471 * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
3472 (Bug#13175)
3473
3474 2012-12-15 Christopher Schmidt <christopher@ch.ristopher.com>
3475
3476 * dired-x.el (dired-guess-shell-command): Put colon at the end of
3477 the prompt. (Bug#13045)
3478
3479 2012-12-14 Glenn Morris <rgm@gnu.org>
3480
3481 * emacs-lisp/macroexp.el (macroexp--warn-and-return):
3482 Try to include filename in non-bytecomp warning. (Bug#13132)
3483
3484 2012-12-14 Paul Eggert <eggert@cs.ucla.edu>
3485
3486 Fix permissions bugs with setgid directories etc. (Bug#13125)
3487 * files.el (backup-buffer): Don't rely on 9th output of
3488 file-attributes, as it's now a placeholder. Instead, use the new
3489 optional arg of file-ownership-preserved-p.
3490 (file-ownership-preserved-p): New optional arg GROUP.
3491 Fix mishandling of setuid directories that would cause this
3492 function to return t when it should have returned nil.
3493 Document what happens if the file does not exist, and when
3494 it's not known whether the ownership will be preserved.
3495 * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
3496 Likewise.
3497 (tramp-get-local-gid): Use group-gid for integer, as that's
3498 faster and more reliable.
3499
3500 2012-12-14 Julien Danjou <julien@danjou.info>
3501
3502 * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
3503 Update keywords list, data type and PL/pgSQL.
3504
3505 2012-12-14 Dave Abrahams <dave@boostpro.com>
3506
3507 * vc/ediff-util.el (ediff-buffer-type): New function.
3508 (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
3509 rather than taking it as as argument.
3510 (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
3511
3512 2012-12-14 Ryan Crum <ryan.crum@eleostech.com>
3513
3514 * json.el: Add pretty-print option (bug#12634).
3515 (json-encoding-separator, json-encoding-default-indentation)
3516 (json--encoding-current-indentation, json-encoding-pretty-print)
3517 (json-encoding-lisp-style-closings): New vars.
3518 (json--with-indentation): New macro.
3519 (json-encode-hash-table, json-encode-alist, json-encode-plist)
3520 (json-encode-array): Use it to obey json-encoding-pretty-print.
3521 (json-pretty-print-buffer, json-pretty-print): New commands.
3522
3523 2012-12-14 Dmitry Gutov <dgutov@yandex.ru>
3524
3525 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
3526 Extract `ruby-syntax-propertize-expansions'.
3527 (ruby-syntax-propertize-expansions): Only change syntax on
3528 certain string delimiters, to punctuation. This way the common
3529 functions like forward-word and thing-at-point still work.
3530 (ruby-match-expression-expansion): Improve readability.
3531 (ruby-block-contains-point): New function.
3532 (ruby-add-log-current-method): Handle several edge cases.
3533
3534 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
3535
3536 * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
3537 unload-feature finishes even when aborting an ongoing edebug session.
3538 Also, do not worry about edebug-mode, unload-feature takes care of it.
3539
3540 2012-12-13 Andreas Schwab <schwab@suse.de>
3541
3542 * net/tls.el (tls-program): Update customize type.
3543
3544 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
3545
3546 * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
3547 (edebug-setup-hook, cl-read-load-hooks): Use it.
3548 (edebug-unload-function): New function. (Bug#13163)
3549
3550 2012-12-13 Michael Albinus <michael.albinus@gmx.de>
3551
3552 * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
3553 Otherwise, there could be errors in autoloading. (Bug#13151)
3554
3555 2012-12-13 Jürgen Hötzel <juergen@archlinux.org>
3556
3557 * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
3558 sequences.
3559
3560 2012-12-13 Alan Mackenzie <acm@muc.de>
3561
3562 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
3563 * progmodes/cc-engine.el (c-backward-comments): Add code to work
3564 around `forward-comment' not recognizing ^M as whitespace.
3565
3566 2012-12-13 Fabián Ezequiel Gallina <fgallina@cuca>
3567
3568 * progmodes/python.el (python-skeleton-class)
3569 (python-skeleton-def): Do not add space after defun name.
3570
3571 2012-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
3572
3573 * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
3574 (cl--symbol-function): Remove (now that funbound is like nil).
3575
3576 2012-12-12 Glenn Morris <rgm@gnu.org>
3577
3578 * button.el (button--area-button-p): Fix typo.
3579
3580 2012-12-12 Sam Steingold <sds@gnu.org>
3581
3582 * frame.el (frame-maximization-style): New user option.
3583 (toggle-frame-maximized): Toggle frame maximization according to
3584 `frame-maximization-style', bound to <f11>.
3585 (cycle-frame-maximized): Cycle between all maximization styles and
3586 non-maximized frame, bound to shift-<f11>.
3587
3588 2012-12-12 David Cadé <codename68@gmail.com>
3589
3590 * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
3591
3592 2012-12-12 Jonas Bernoulli <jonas@bernoul.li>
3593
3594 * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
3595 (eieio-override-prin1): Don't quote kewords and booleans.
3596 (object-write) <eieio-default-superclass>: Don't put closing parens
3597 on new line, avoid needless empty lines, align values that are objects
3598 with the slot keyword (instead of beginning on the same line).
3599 (eieio-list-prin1): Align value with slot keyword; increase
3600 eieio-print-depth before printing members of the list.
3601
3602 2012-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
3603
3604 * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
3605 a display text-property.
3606 (report-emacs-bug-hook): Don't bother deleting it any more.
3607
3608 * hilit-chg.el (highlight-save-buffer-state): Delete.
3609 Use with-silent-modifications instead.
3610 (hilit-chg-set-face-on-change): Only fixup the text that's modified.
3611
3612 * button.el: Handle buttons in display text-properties.
3613 (button--area-button-p, button--area-button-string):
3614 Use (STRING . STRING-POS) representation instead of just STRING.
3615
3616 2012-12-11 Eli Zaretskii <eliz@gnu.org>
3617
3618 * makefile.w32-in (compile4-SH): Fix a typo that caused term
3619 subdirectory be skipped.
3620
3621 2012-12-11 Glenn Morris <rgm@gnu.org>
3622
3623 * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
3624
3625 * progmodes/f90.el (f90-line-continued, f90-indent-region):
3626 Treat preprocessor lines embedded in continuations like comments.
3627 (f90-indent-line): Special-case preprocessor lines. (Bug#13138)
3628
3629 2012-12-11 Jay Belanger <jay.p.belanger@gmail.com>
3630
3631 * calc/calc.el (calc-standard-date-formats): Add more date
3632 formats.
3633 * calc/calc-forms.el (math-parse-iso-date): New function.
3634 (math-parse-date): Use `math-parse-iso-date' when appropriate.
3635 (math-parse-iso-date-validate): Add extra error checking.
3636 (calc-date-notation): Add ability to access new date formats.
3637
3638 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
3639
3640 * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
3641 font-lock as well as when there's no text-property.
3642
3643 2012-12-10 Jambunathan K <kjambunathan@gmail.com>
3644
3645 * hi-lock.el: Refine the choice of default face.
3646 (hi-lock-keyword->face): New function. Use it wherever we used
3647 cadadadr instead.
3648 (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
3649 (hi-lock--last-face): Remove var.
3650 (hi-lock--unused-faces): New var to replace it.
3651 (hi-lock-read-face-name): Use/maintain it.
3652 (hi-lock-unface-buffer): Maintain it. Fix error for the C-u case.
3653 (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
3654 if it has another face.
3655
3656 2012-12-10 Eli Zaretskii <eliz@gnu.org>
3657
3658 * subr.el (w32notify-handle-event): New function.
3659 (inotify-handle-event): Doc fix.
3660
3661 2012-12-10 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3662
3663 * subr.el (inotify-event-p, inotify-handle-event): New functions.
3664
3665 2012-12-10 Dani Moncayo <dmoncayo@gmail.com>
3666
3667 * simple.el (just-one-space): Doc fix.
3668
3669 2012-12-10 Eli Zaretskii <eliz@gnu.org>
3670
3671 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
3672
3673 2012-12-10 Le Wang <l26wang@gmail.com>
3674
3675 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
3676 narrowed buffer (bug#12361).
3677
3678 2012-12-10 Juanma Barranquero <lekktu@gmail.com>
3679
3680 * vc/vc-hooks.el (vc-state): Doc fix.
3681
3682 2012-12-10 Glenn Morris <rgm@gnu.org>
3683
3684 * mail/rmail.el (rmail-maybe-display-summary):
3685 Preserve buffer, in case select-window changes it. (Bug#13066)
3686
3687 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
3688
3689 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
3690 cl-load-hook where they belong.
3691
3692 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
3693
3694 * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
3695
3696 2012-12-09 Eli Zaretskii <eliz@gnu.org>
3697
3698 Parallelize byte compilation on MS-Windows.
3699 * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
3700 (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
3701 (WINS_BASIC): Define as concatenation of the above.
3702 (compile): Subdivide into 4 separate and independent jobs that can
3703 be run in parallel.
3704 (compile0-CMD, compile0-SH): New targets for compiling
3705 COMPILE_FIRST files, which are prerequisites for the rest of the
3706 byte-compilation.
3707 (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
3708 New targets for parallel compilation with cmd.exe.
3709 (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
3710 compiling under a Unixy shell.
3711
3712 2012-12-09 Chong Yidong <cyd@gnu.org>
3713
3714 * simple.el (set-mark-default-inactive): Delete this
3715 accidentally-introduced option.
3716 (set-mark-command, exchange-point-and-mark): Remove calls.
3717
3718 2012-12-09 Glenn Morris <rgm@gnu.org>
3719
3720 * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
3721 Respect a defcustom's :set function, if appropriate. (Bug#109)
3722 (eval-defun): Doc fix.
3723
3724 2012-12-08 Juri Linkov <juri@jurta.org>
3725
3726 * info.el (Info-copy-current-node-name, Info-breadcrumbs)
3727 (Info-fontify-node, Info-bookmark-make-record): Remove the
3728 file extension from Info-current-file (Bug#13016).
3729
3730 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
3731
3732 * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
3733 point, still provide some default.
3734 (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
3735 names, since we don't use it right now. Actually return the list.
3736 (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
3737
3738 2012-12-07 Chong Yidong <cyd@gnu.org>
3739
3740 * novice.el (disabled-command-function): Remove a spurious help
3741 xref (Bug#13043). Suggested by Kelly Dean.
3742
3743 * subr.el (text-clone-maintain): Fix clone overlay deletion when a
3744 syntax is specified (Bug#13025).
3745
3746 * info.el (Info-set-mode-line): Remove the file extension from
3747 Info-current-file if there is one (Bug#13016).
3748
3749 2012-12-07 Glenn Morris <rgm@gnu.org>
3750
3751 * mail/rmail.el (rmail-mime-decoded): New permanent local.
3752 (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
3753 * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
3754 and rmail-mime-decoded. (Bug#9841)
3755
3756 * mail/unrmail.el (unrmail-mbox-format): New option. (Bug#6574)
3757 (batch-unrmail, unrmail): Doc fixes.
3758 (unrmail): Respect unrmail-mbox-format.
3759 * mail/rmail.el (rmail-mbox-format): New option.
3760 (rmail-show-message-1): Respect rmail-mbox-format.
3761
3762 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
3763
3764 * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
3765
3766 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3767
3768 Further cleanup of the "cl-" namespace. Fit CL in 80 columns.
3769 * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
3770 (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
3771 (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
3772 (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
3773 (cl-progv): Don't rely on dynamic scoping to find the body.
3774 * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
3775 (cl--proclaims-deferred): Rename from the "cl-" prefix.
3776 (cl-declaim): Use backquotes.
3777 * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
3778 Use "cl--" prefix for the object's tag.
3779
3780 * ses.el: Use advice-add/remove.
3781 (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
3782 (copy-region-as-kill, yank): Use advice-add.
3783 (ses-unload-function): Use advice-remove.
3784
3785 2012-12-06 Jonas Bernoulli <jonas@bernoul.li>
3786
3787 * button.el: Make them work in header-lines (bug#12817).
3788 (button-map): Add bindings for header-line and mode-line use.
3789 (button-get, button-put, button-label): `button' may now be a string.
3790 (button-activate): Don't make it a defsubst.
3791 (button--area-button-p, button--area-button-string): New functions.
3792 (make-text-button): Fix the return value when `beg' was a string.
3793 (push-button): Handle the mode-line case.
3794
3795 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3796
3797 * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
3798 (sql-signum): Remove. Use `cl-signum' instead.
3799 (sql-read-passwd): Remove; use read-passwd instread.
3800 (sql-get-login-ext): Use read-string.
3801 (sql-get-login): Use dolist and pcase.
3802 (sql--completion-table): Rename from sql-try-completion.
3803 Use complete-with-action.
3804 (sql-mode): Don't change abbrev-all-caps globally.
3805 (sql-connect): Don't rely on dynamic scoping for `new-name'.
3806 (sql-postgres-completion-object): Initialize vars in their `let'.
3807 (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
3808 (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
3809 (sql-comint-interbase): Use a single append, without setq.
3810 (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
3811
3812 * hi-lock.el: Rework the default face and the serialize regexp code.
3813 (hi-lock--auto-select-face-defaults): Remove.
3814 (hi-lock-string-serialize-serial): Remove.
3815 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
3816 make weak.
3817 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
3818 equal string.
3819 (hi-lock-set-pattern): Adjust accordingly.
3820 (hi-lock--regexps-at-point): Simplify accordingly.
3821 (hi-lock--auto-select-face-defaults): Remove.
3822 (hi-lock--last-face): New var to replace it.
3823 (hi-lock-read-face-name): Rewrite (bug#11095).
3824 (hi-lock-unface-buffer): Arrange for the face to be the next default.
3825
3826 2012-12-06 Michael Albinus <michael.albinus@gmx.de>
3827
3828 * net/tramp.el (tramp-replace-environment-variables):
3829 Hide compiler warning.
3830 (tramp-file-name-for-operation): Remove `executable-find',
3831 `start-process', `call-process' and `call-process-region'.
3832
3833 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
3834
3835 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
3836 compatibility.
3837
3838 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
3839
3840 2012-12-06 Chong Yidong <cyd@gnu.org>
3841
3842 * ffap.el (ffap-replace-file-component): Fix typo.
3843
3844 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3845
3846 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
3847 fix open-paren-like token test (bug#12785).
3848
3849 2012-12-06 Glenn Morris <rgm@gnu.org>
3850
3851 * mail/rmailsum.el (rmail-new-summary): Tweak for
3852 rmail-maybe-display-summary changing buffer. (Bug#13066)
3853
3854 2012-12-06 Juri Linkov <juri@jurta.org>
3855
3856 * info.el (Info-fontify-node): Don't hide the last newline.
3857 (Bug#12272)
3858
3859 2012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
3860
3861 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
3862 so as to enable message-read-from-minibuffer to expand mail aliases.
3863
3864 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3865
3866 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
3867 the `intangible' property.
3868 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
3869
3870 2012-12-05 Deniz Dogan <deniz@dogan.se>
3871
3872 * net/rcirc.el (rcirc-urls): Update documentation.
3873 (rcirc-condition-filter): New function.
3874 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
3875 and exclude consecutive duplicate URLs (Bug#6082).
3876
3877 2012-12-05 Michael Albinus <michael.albinus@gmx.de>
3878
3879 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
3880 Check return code of copy command.
3881
3882 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
3883 Use group `tramp'. Add version.
3884
3885 2012-12-05 Chong Yidong <cyd@gnu.org>
3886
3887 * ffap.el (ffap-url-regexp): Don't require matching at front of
3888 string (Bug#4952).
3889 (ffap-url-p): If only a substring matches, return that.
3890 (ffap-url-at-point): Use the return value of ffap-url-p.
3891 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
3892 (find-file-at-point, dired-at-point, dired-at-point-prompter)
3893 (ffap-guess-file-name-at-point): Likewise.
3894 (ffap-replace-file-component): Fix typo.
3895
3896 * info.el (info-display-manual): Add existing Info buffers, whose
3897 files may not be in Info-directory-list, to the completion.
3898 (info--manual-names): New helper function.
3899
3900 2012-12-05 Glenn Morris <rgm@gnu.org>
3901
3902 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
3903 New functions, for detecting and resolving conflicts. (Bug#10709)
3904
3905 2012-12-04 Jambunathan K <kjambunathan@gmail.com>
3906
3907 * hi-lock.el (hi-lock-auto-select-face): New user variable.
3908 (hi-lock-auto-select-face-defaults): New buffer local variable.
3909 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
3910 (hi-lock-unface-buffer): Prompt user with useful defaults.
3911 With prefix arg, unhighlight all hi-lock patterns in buffer.
3912
3913 2012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
3914
3915 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
3916
3917 2012-12-04 Michael Albinus <michael.albinus@gmx.de>
3918
3919 * Makefile.in (TRAMP_SRC):
3920 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
3921
3922 2012-12-04 Juergen Hoetzel <juergen@archlinux.org>
3923
3924 * net/tramp-adb.el: New package.
3925
3926 2012-12-04 Chong Yidong <cyd@gnu.org>
3927
3928 * terminal.el: Move to obsolete/.
3929
3930 * longlines.el: Move to obsolete/.
3931
3932 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
3933 Remove code referring to longlines mode.
3934
3935 2012-12-03 Juri Linkov <juri@jurta.org>
3936
3937 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
3938
3939 2012-12-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3940
3941 * textmodes/ispell.el (ispell-init-process)
3942 (ispell-start-process, ispell-internal-change-dictionary):
3943 Make sure personal dictionary name is expanded after initial
3944 `default-directory' value. Use expanded strings for
3945 keep/restart checks and for value (Bug#13019).
3946
3947 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
3948
3949 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
3950
3951 2012-12-03 Leo Liu <sdl.web@gmail.com>
3952
3953 * files.el (dir-locals-read-from-file): Check file non-empty
3954 before reading. (Bug#13038)
3955
3956 2012-12-03 Glenn Morris <rgm@gnu.org>
3957
3958 * jka-cmpr-hook.el (jka-compr-get-compression-info):
3959 Remove any version extension before checking filename. (Bug#13006)
3960 (jka-compr-compression-info-list): Belated :version bump.
3961
3962 2012-12-03 Chong Yidong <cyd@gnu.org>
3963
3964 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
3965
3966 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
3967 (buffer-menu): Doc fix (Bug#12294).
3968
3969 2012-12-03 Roland Winkler <winkler@gnu.org>
3970
3971 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
3972 of diary-show-all-entries in the diary buffer (Bug#12994).
3973
3974 2012-12-03 Michael Albinus <michael.albinus@gmx.de>
3975
3976 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
3977 "<STDIN>". This is binary safe.
3978
3979 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
3980
3981 * calc/calc-forms.el (math-absolute-from-iso-dt)
3982 (math-date-to-iso-dt, math-parse-iso-date-validate)
3983 (math-iso-dt-to-date): New functions.
3984 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
3985 (math-fd-isoweekday): New variables.
3986 (calc-date-notation, math-parse-standard-date, math-format-date)
3987 (math-format-date-part): Add support for more formatting codes.
3988
3989 2012-12-02 Dmitry Gutov <dgutov@yandex.ru>
3990
3991 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
3992 current buffer's file name when called interactively (Bug#12488).
3993
3994 2012-12-02 Juri Linkov <juri@jurta.org>
3995
3996 * info.el (info-display-manual): Don't clobber an existing Info
3997 buffer (Bug#10770). Add completion (Bug#10771).
3998
3999 2012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
4000
4001 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
4002 before using it for comparison (Bug#5297).
4003
4004 2012-12-01 Jari Aalto <jari.aalto@cante.net>
4005
4006 * textmodes/css-mode.el (css-current-defun-name): New function.
4007 (css-mode): Use it.
4008
4009 * textmodes/sgml-mode.el (html-current-defun-name): New function.
4010 (html-mode): Use it.
4011
4012 2012-12-01 Chong Yidong <cyd@gnu.org>
4013
4014 Modularize add-log-current-defun (Bug#2224).
4015 Suggested by Jari Aalto.
4016
4017 * vc/add-log.el (add-log-current-defun-function): Doc fix.
4018 (add-log-current-defun): Move mode-specific code to other files.
4019 (add-log-lisp-like-modes, add-log-c-like-modes)
4020 (add-log-tex-like-modes): Variables deleted.
4021
4022 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
4023 (lisp-mode-variables): Use it.
4024
4025 * progmodes/cc-mode.el (c-common-init):
4026 * progmodes/cperl-mode.el (cperl-mode): Set a value for
4027 add-log-current-defun-function.
4028
4029 * progmodes/m4-mode.el (m4-current-defun-name): New function.
4030 (m4-mode): Use it.
4031
4032 * progmodes/perl-mode.el (perl-current-defun-name): New.
4033 (perl-mode): Use it.
4034
4035 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
4036 Use lisp-current-defun-name.
4037
4038 * textmodes/tex-mode.el (tex-current-defun-name): New.
4039 (tex-common-initialization): Use it.
4040
4041 * textmodes/texinfo.el (texinfo-current-defun-name): New.
4042 (texinfo-mode): Use it.
4043
4044 2012-12-01 Chong Yidong <cyd@gnu.org>
4045
4046 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
4047 * progmodes/autoconf.el (autoconf-mode):
4048 * progmodes/js.el (js-mode):
4049 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
4050 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
4051 * progmodes/perl-mode.el (perl-mode):
4052 * progmodes/sh-script.el (sh-mode, sh-set-shell):
4053 * textmodes/css-mode.el (css-mode):
4054 * textmodes/sgml-mode.el (html-mode, sgml-mode)
4055 (sgml-tags-invisible, sgml-guess-indent):
4056 * textmodes/tex-mode.el (tex-common-initialization)
4057 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
4058 (doctex-mode, plain-tex-mode, latex-mode):
4059 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
4060
4061 2012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
4062
4063 * vc/vc-hg.el (vc-hg-next-revision):
4064 Ensure use of default "tip" output format. (Bug#6968)
4065
4066 2012-12-01 Kim F. Storm <storm@cua.dk>
4067
4068 * startup.el (fancy-startup-tail): Add a clickable link
4069 (Bug#2176).
4070
4071 2012-12-01 Chong Yidong <cyd@gnu.org>
4072
4073 * startup.el (fancy-startup-tail): Improve the message about
4074 auto-save files (Bug#2176).
4075
4076 * files.el (recover-session): Improve the descriptive message, and
4077 use substitute-command-keys.
4078
4079 2012-12-01 Glenn Morris <rgm@gnu.org>
4080
4081 * ido.el (ido-file-internal):
4082 Handle other-window, other-frame for dired. (Bug#13036)
4083
4084 2012-11-30 Glenn Morris <rgm@gnu.org>
4085
4086 * icomplete.el (icomplete-separator): Fix :version.
4087
4088 2012-11-30 Chong Yidong <cyd@gnu.org>
4089
4090 * shell.el (shell): For C-u M-x shell, use an inactive shell
4091 buffer as the default (Bug#1975).
4092 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
4093 (shell-mode): Use them to reapply ansi colorization if Shell mode
4094 is re-enabled.
4095
4096 2012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
4097
4098 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
4099
4100 2012-11-30 Samuel Bronson <naesten@gmail.com>
4101
4102 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
4103 flag to xargs, for compatibility with BSD xargs (Bug#11703).
4104
4105 2012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
4106
4107 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
4108 by move-to-column (Bug#3234).
4109
4110 2012-11-30 Chong Yidong <cyd@gnu.org>
4111
4112 * longlines.el (longlines-wrap-line, longlines-encode-region):
4113 Preserve text properties (Bug#1425).
4114
4115 2012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
4116
4117 * vc/vc.el (vc-register): Allow registering a file which is
4118 already registered with a different backend (Bug#10589).
4119
4120 2012-11-29 Jambunathan K <kjambunathan@gmail.com>
4121 Stefan Monnier <monnier@iro.umontreal.ca>
4122
4123 * icomplete.el: Change separator; add ido-style commands.
4124 (icomplete-show-key-bindings): Remove custom var.
4125 (icomplete-get-keys): Remove function.
4126 (icomplete-forward-completions, icomplete-backward-completions):
4127 New commands.
4128 (icomplete-minibuffer-map): New var.
4129 (icomplete-minibuffer-setup): Use it.
4130 (icomplete-exhibit): Don't delay if the list of completions is known.
4131 (icomplete-separator): New custom.
4132 (icomplete-completions): Use it.
4133 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
4134 (minibuffer-force-complete-and-exit): New command.
4135 (minibuffer--complete-and-exit): New function extracted from
4136 minibuffer-complete-and-exit.
4137 (minibuffer-complete-and-exit): Use it.
4138
4139 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
4140 error message when the file doesn't exist (bug#12974).
4141
4142 2012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
4143
4144 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
4145
4146 2012-11-29 Glenn Morris <rgm@gnu.org>
4147
4148 * files.el (hack-dir-local-variables): Warn if try to set
4149 coding via dir-locals, since it doesn't work. (Bug#7169)
4150
4151 Add desktop support for restoring vc-dir buffers. (Bug#10606)
4152 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
4153 Set buffer-local value of desktop-save-buffer.
4154 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
4155 New functions.
4156 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
4157 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
4158
4159 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
4160 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
4161 Doc fix.
4162 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
4163 Doc fixes.
4164
4165 2012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
4166
4167 * calc/calc-forms.el (calc-date-notation): Fix regexp
4168 used to find time codes. Fix symbol for seconds.
4169
4170 2012-11-27 Glenn Morris <rgm@gnu.org>
4171
4172 * emacs-lisp/derived.el (derived-mode-make-docstring):
4173 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
4174
4175 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
4176
4177 * textmodes/table.el (table-insert): Don't use `symbol-name' on
4178 lexically scoped variables (bug#13005).
4179
4180 2012-11-27 Glenn Morris <rgm@gnu.org>
4181
4182 * vc/vc-hooks.el (vc-mistrust-permissions):
4183 Default to t, to avoid data-loss. (Bug#11490)
4184
4185 2012-11-27 Fabián Ezequiel Gallina <fgallina@cuca>
4186
4187 * progmodes/python.el (python-indent-guess-indent-offset):
4188 If indentation is guessed make python-indent-offset buffer-local.
4189
4190 Fix Imenu regression.
4191 * progmodes/python.el (python-nav-beginning-of-defun):
4192 Fix forward movement when statement(s) separates point from defun.
4193 (python-imenu-prev-index-position): New function.
4194
4195 2012-11-27 Eli Zaretskii <eliz@gnu.org>
4196
4197 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
4198
4199 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
4200 Don't set buffer-file-type. Return nil. (Bug#12989)
4201
4202 2012-11-27 Glenn Morris <rgm@gnu.org>
4203
4204 * hippie-exp.el (hippie-expand-try-functions-list):
4205 Re-autoload it. (Bug#12982)
4206
4207 2012-11-27 Eli Zaretskii <eliz@gnu.org>
4208
4209 * descr-text.el (describe-char-padded-string):
4210 Call internal-char-font only on GUI frames. (Bug#11964)
4211
4212 2012-11-27 Andreas Schwab <schwab@linux-m68k.org>
4213
4214 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
4215 and obsoletion message.
4216
4217 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
4218
4219 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
4220 the constructs to keep outside of the `cl-block' (bug#12977).
4221
4222 2012-11-27 Chong Yidong <cyd@gnu.org>
4223
4224 * mouse.el (mouse-drag-line): Even if the line is not draggable,
4225 keep reading until we get the up-event anyway, in order to process
4226 the up-event for mouse-1-click-follows-link (Bug#12971).
4227
4228 2012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
4229
4230 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
4231 base function is not yet defined (bug#12965).
4232 (ad-activate-advised-definition): Use ad-compile-function.
4233 (ad-activate): Use cond.
4234
4235 2012-11-25 Leo Liu <sdl.web@gmail.com>
4236
4237 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
4238 (Bug#12979)
4239
4240 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
4241
4242 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
4243 reftex-section-info-function in order to be compatible with
4244 Texinfo integration.
4245
4246 * textmodes/reftex.el (reftex-section-pre-regexp)
4247 (reftex-section-post-regexp, reftex-section-info-function):
4248 New variable.
4249 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
4250 reftex-section-post-regexp, and reftex-section-info-function in order
4251 to be compatible with Texinfo integration.
4252
4253 * textmodes/reftex-toc.el (reftex-toc-promote-action):
4254 use reftex-section-pre-regexp variable in order to be compatible with
4255 Texinfo integration.
4256
4257 2012-11-25 Chong Yidong <cyd@gnu.org>
4258
4259 * faces.el: Make face-spec-set more analogous to setq.
4260 (face-spec-set): Change the third arg to specify whether this
4261 function is being called via defface, customize, or a third party.
4262 Set the appropriate symbol properties. Clear the override spec if
4263 setting via Custom. Initialize face if necessary. (Bug#4988)
4264 (face-spec-recalc): Allow theme faces to completely replace the
4265 defface spec, in the same way as custom faces (Bug#8454).
4266
4267 * cus-face.el (custom-declare-face): Move face initialization to
4268 face-spec-set.
4269 (custom-theme-set-faces): Don't initialize the face name here, as
4270 that is now done in face-spec-set.
4271
4272 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
4273 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
4274 Simplify by using the new arg to face-spec-set.
4275
4276 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
4277 reset face-override-spec too, and use custom-declare-face.
4278
4279 2012-11-24 Jan Djärv <jan.h.d@swipnet.se>
4280
4281 * term/ns-win.el (ns-initialize-window-system): Move creation of
4282 fontsets here (Bug#11964).
4283
4284 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
4285
4286 * ses.el (ses-rename-cell): Correct bug on mode-line update after
4287 cell renaming.
4288
4289 2012-11-24 Chong Yidong <cyd@gnu.org>
4290
4291 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
4292 obsolete.
4293
4294 * custom.el (custom-theme-set-variables): Use a topological sort
4295 for ordering by custom dependencies (Bug#12952).
4296 (custom--sort-vars, custom--sort-vars-1): New functions.
4297
4298 2012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
4299
4300 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
4301 lexical-binding (bug#12938).
4302
4303 2012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
4304
4305 * image-mode.el (image-transform-check-size): Use assertions only
4306 for images of type imagemagick.
4307
4308 Otherwise no error, image-transform-fit-to-{width,height} is
4309 silently ignored, as before. Doc fix.
4310
4311 2012-11-24 Chong Yidong <cyd@gnu.org>
4312
4313 * faces.el (color-defined-p): Doc fix (Bug#12853).
4314
4315 2012-11-24 Juri Linkov <juri@jurta.org>
4316
4317 * dired.el (dired-mark): Add optional arg `interactive'.
4318 Check for `use-region-p' if `interactive' is non-nil.
4319 (dired-unmark, dired-flag-file-deletion): Add optional arg
4320 `interactive'. Call `dired-mark' with the arg `interactive'.
4321 (Bug#10624)
4322
4323 * wdired.el: Revert 2012-10-17 change partly and replace it with
4324 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
4325 (wdired-finish-edit): Add marks for new file names to
4326 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
4327 after `revert-buffer'.
4328 (wdired-do-renames): Remove calls to `dired-remove-file',
4329 `dired-add-file', `dired-add-entry'. (Bug#11795)
4330
4331 2012-11-24 Alan Mackenzie <acm@muc.de>
4332
4333 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
4334
4335 Fix bugs in the state cache. Enhance a debugging mechanism.
4336 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
4337 "brace at column zero" strategy for C++.
4338 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
4339 (c-parse-state-point): New variable.
4340 (c-record-parse-state-state): Record old parse state with
4341 `copy-tree'. Record previous value of point.
4342 (c-debug-parse-state-double-cons): New debugging function.
4343 (c-debug-parse-state): Call the above new function.
4344 (c-toggle-parse-state-debug): Output a confirmatory message.
4345
4346 * progmodes/cc-mode.el (c-before-change, c-after-change):
4347 Call c-invalidate-state-cache from `c-before-change' instead of
4348 `c-after-change'.
4349
4350 2012-11-23 Chong Yidong <cyd@gnu.org>
4351
4352 * find-cmd.el (find-constituents): Add executable, ipath,
4353 readable, samefile, writable, daystart, regextype (Bug#12856).
4354
4355 2012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
4356
4357 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
4358
4359 2012-11-22 Paul Eggert <eggert@cs.ucla.edu>
4360
4361 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
4362 definition. This fixes a bootstrap failure.
4363 (calc-gregorian-switch): In menu, put dates before regions.
4364 This is easier to follow, lines up better in the menu, and lets us
4365 coalesce regions that switch at the same time. Give country
4366 names, not "Vatican", as that's better for non-expert users.
4367 Use names that are stable between the date of switch and now, e.g.,
4368 Bohemia and Moravia (which existed then and now) and not
4369 Czechoslovakia (which didn't exist then and doesn't exist now).
4370 What is now the U.S. mostly did not switch at the same time as
4371 Britain, so omit the U.S. Correct spelling of "Britain".
4372 Catholic Switzerland was too much of a mess, so omit it.
4373
4374 2012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
4375
4376 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
4377 after the variable is changed.
4378
4379 2012-11-21 Daniel Colascione <dancol@dancol.org>
4380
4381 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
4382 in SQL declarations for font-lock.
4383 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
4384
4385 2012-11-21 Glenn Morris <rgm@gnu.org>
4386
4387 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
4388 (face-italic-p): Add optional argument "inherit".
4389
4390 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
4391 Remove -p suffix from names, for consistency with other set-face-*.
4392 (set-face-inverse-video): Fix interactive spec.
4393 * play/gamegrid.el (gamegrid-make-mono-tty-face):
4394 * textmodes/table.el (table--update-cell-face):
4395 Use set-face-inverse-video rather than now obsolete alias.
4396
4397 2012-11-21 Eli Zaretskii <eliz@gnu.org>
4398
4399 * simple.el (line-move): Don't call line-move-partial if
4400 scroll-conservatively is in effect. (Bug#12927)
4401
4402 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4403
4404 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
4405 Fallback on completion-at-point rather than
4406 pcomplete-expand-and-complete, and only if pcomplete actually failed.
4407 (eshell-cmpl-initialize): Setup completion-at-point.
4408
4409 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
4410
4411 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
4412
4413 2012-11-21 Michael Albinus <michael.albinus@gmx.de>
4414
4415 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
4416 are remote, check out-of-band property for both.
4417
4418 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4419
4420 * window.el (switch-to-buffer): Re-add the warning that was lost in the
4421 code rewrite.
4422
4423 2012-11-21 Paul Eggert <eggert@cs.ucla.edu>
4424
4425 More minor time fixes.
4426 * calendar/time-date.el: Commentary fix.
4427 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
4428 too much other code depends on (0 0) time stamps.
4429 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
4430 Add a couple of FIXME comments.
4431
4432 Minor cleanup for times as lists of four integers.
4433 * files.el (dir-locals-directory-cache):
4434 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
4435 Doc fixes.
4436 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
4437 * ps-bdf.el (bdf-file-newer-than-time):
4438 Process four-integers time stamps, not two. Doc fixes.
4439
4440 2012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
4441
4442 * uniquify.el (uniquify-managed): Use defvar-local.
4443 (rename-buffer, create-file-buffer): Advise with advice-add.
4444 (uniquify-unload-function): Unadvise accordingly.
4445
4446 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
4447 (trace-buffer): Don't purecopy.
4448 (trace-entry-message, trace-exit-message): Add `context' arg.
4449 (trace--timer): New var.
4450 (trace-make-advice): Adjust for use in nadvice.
4451 Add `context' argument. Delay `display-buffer' via a timer.
4452 (trace-function-internal): Use advice-add.
4453 (trace--read-args): New function.
4454 (trace-function-foreground, trace-function-background): Use it.
4455 (trace-function): Rename to trace-function-foreground and redefine as
4456 an alias to that new name.
4457 (untrace-function, untrace-all): Adjust to the use of nadvice.
4458
4459 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
4460
4461 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
4462
4463 * subr.el (called-interactively-p-functions): New var.
4464 (internal--called-interactively-p--get-frame): New macro.
4465 (called-interactively-p, interactive-p): Rewrite in Lisp.
4466 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
4467 (called-interactively-p-functions): Use it.
4468 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
4469 (called-interactively-p-functions): Use it.
4470 * allout.el (allout-called-interactively-p): Don't assume
4471 called-interactively-p is a subr.
4472
4473 2012-11-20 Glenn Morris <rgm@gnu.org>
4474
4475 * profiler.el (profiler-report-mode-map): Add a menu.
4476 No need to bind `q' because we derive from special-mode.
4477 (profiler-report-find-entry): Handle calls from the menu-bar.
4478
4479 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
4480
4481 * emacs-lisp/byte-run.el (defun-declarations-alist):
4482 Allow a compiler-macro to be a lambda expression.
4483
4484 * progmodes/python.el: Use cl-lib. Move var declarations outside of
4485 eval-when-compile.
4486 (python-syntax-context): Add compiler-macro.
4487 (python-font-lock-keywords): Simplify with De Morgan.
4488
4489 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
4490
4491 * files.el (load-file): Require match in minibuffer selection, as was
4492 the case in Emacs-20 before we changed the spec to allow .elc files
4493 (bug#12935).
4494
4495 * json.el: Don't require cl since we don't use it.
4496 * color.el: Don't require cl.
4497 (color-complement): `caddr' -> `nth 2'.
4498
4499 * calendar/time-date.el (time-to-seconds): De-obsolete.
4500
4501 2012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
4502
4503 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
4504 year numbers.
4505 (math-date-to-julian-dt): Adjust the initial approximation for the
4506 year to deal with the new definition of the DATE.
4507
4508 2012-11-19 Daniel Colascione <dancol@dancol.org>
4509
4510 * term/w32-win.el (cygwin-convert-path-from-windows):
4511 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
4512
4513 2012-11-18 Chong Yidong <cyd@gnu.org>
4514
4515 * filecache.el (file-cache--read-list): New function.
4516 (file-cache-add-directory-list, file-cache-add-file-list)
4517 (file-cache-delete-file-list, file-cache-delete-directory-list):
4518 Use it to read a list of files or directories (Bug#12846).
4519 (file-cache-add-file, file-cache-add-directory)
4520 (file-cache-delete-file-list, file-cache-delete-file-regexp)
4521 (file-cache-delete-directory): Print an message.
4522
4523 2012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
4524
4525 * calc/calc-forms.el (math-date-to-dt): Use integer date when
4526 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
4527
4528 2012-11-18 Glenn Morris <rgm@gnu.org>
4529
4530 * image.el (insert-image, insert-sliced-image): Doc fix.
4531
4532 2012-11-18 Chong Yidong <cyd@gnu.org>
4533
4534 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
4535 (Bug#12810).
4536
4537 2012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
4538
4539 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
4540 response when the target file is in a subdirectory (Bug#12757).
4541
4542 2012-11-18 Chong Yidong <cyd@gnu.org>
4543
4544 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
4545
4546 2012-11-18 Glenn Morris <rgm@gnu.org>
4547
4548 * emacs-lisp/cl-lib.el (face-underline-p):
4549 Use set-face-underline rather than the alias set-face-underline-p.
4550
4551 * window.el (with-temp-buffer-window): Doc fix.
4552 * subr.el (with-output-to-temp-buffer):
4553 Add doc xref to with-temp-buffer-window.
4554
4555 2012-11-18 Juanma Barranquero <lekktu@gmail.com>
4556
4557 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
4558 * calc/calc.el (math-format-date-cache): Declare.
4559
4560 2012-11-17 Paul Eggert <eggert@cs.ucla.edu>
4561
4562 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
4563 It also uses January 1, 1 AD as its day number 1.
4564 * calc/calc-forms.el (math-julian-date-beginning)
4565 (math-julian-date-beginning-int): Implement this.
4566
4567 2012-11-17 Juanma Barranquero <lekktu@gmail.com>
4568
4569 * descr-text.el (quail-find-key):
4570 * dired.el (desktop-file-name):
4571 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
4572 * generic-x.el (comint-mode, comint-exec):
4573 * image-dired.el (widget-forward):
4574 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
4575 (speedbar-change-expand-button-char)
4576 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
4577 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
4578 * printing.el (easy-menu-add-item, easy-menu-remove-item)
4579 (widget-field-action, widget-value-set):
4580 * speedbar.el (imenu--make-index-alist):
4581 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
4582 (ring-length, ring-insert):
4583 * vcursor.el (compare-windows-skip-whitespace):
4584 * woman.el (dired-get-filename):
4585 Declare functions.
4586
4587 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
4588
4589 2012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
4590
4591 * calc/calc.el (calc-gregorian-switch): New variable.
4592
4593 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
4594 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
4595 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
4596 (math-leap-year-p): Add option to distinguish between Julian
4597 and Gregorian calendars.
4598 (math-day-number): Use `math-day-in-year' to do the computations.
4599 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
4600 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
4601 to do the computations.
4602 (math-date-to-dt): Use `math-date-to-julian-dt' and
4603 `math-date-to-gregorian-dt' to do the computations.
4604 (calcFunc-weekday, math-format-date-part): Use the new version of
4605 the DATE to determine the weekday.
4606 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
4607 when necessary.
4608
4609 2012-11-17 Eli Zaretskii <eliz@gnu.org>
4610
4611 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
4612 Cygwin; otherwise use 'file:'. (Bug#12914)
4613 (cygwin-convert-path-from-windows): Declare, to avoid
4614 byte-compiler warnings.
4615
4616 2012-11-17 Andreas Politz <politza@fh-trier.de>
4617
4618 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
4619 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
4620 prefix and negative numeric prefix args (Bug#12795).
4621
4622 2012-11-17 Stephen Berman <stephen.berman@gmx.net>
4623
4624 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
4625 Don't signal an error with a score that is too low to add to the
4626 list of top scores. (Bug#12779)
4627
4628 2012-11-17 Chong Yidong <cyd@gnu.org>
4629
4630 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
4631
4632 * filecache.el (file-cache-add-file): Handle relative file name in
4633 the argument (Bug#12694).
4634
4635 2012-11-16 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
4636
4637 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
4638
4639 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
4640
4641 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
4642
4643 * emacs-lisp/cl-lib.el: Set more meaningful version number.
4644
4645 2012-11-16 Martin Rudalics <rudalics@gmx.at>
4646
4647 * window.el (enlarge-window, shrink-window): Don't mention return
4648 value in doc-string (Bug#12896).
4649 (window--display-buffer): Don't resize frames - it won't work
4650 with all window managers and defeat pop-up-frame-alist.
4651 (display-buffer-alist): In doc-string explain that CONDITION can
4652 be a function and which arguments are passed to it (Bug#12854).
4653 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
4654 expressions (Bug#12854).
4655 (display-buffer): Pass ACTION argument to
4656 display-buffer-assq-regexp.
4657
4658 2012-11-16 Glenn Morris <rgm@gnu.org>
4659
4660 * window.el (fit-frame-to-buffer-bottom-margin)
4661 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
4662
4663 * faces.el (face-underline-p): Use face-attribute-specified-or.
4664
4665 2012-11-16 Juanma Barranquero <lekktu@gmail.com>
4666
4667 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
4668
4669 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
4670
4671 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
4672
4673 2012-11-16 Glenn Morris <rgm@gnu.org>
4674
4675 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
4676 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
4677
4678 * faces.el (face-underline-p): Doc fix. Handle :underline being
4679 things other than `t' (a string, a list).
4680 (face-inverse-video-p): Doc fix.
4681 (set-face-underline): Rename it back from set-face-underline-p.
4682 Doc fix. Allow interactive input of values other than t.
4683 (read-face-attribute): Apply formatting to :underline,
4684 since like :box and :stipple it can take list values.
4685
4686 * term.el (ansi-term): Don't let C-x escape-char binding
4687 clobber the more standard C-c binding. (Bug#12842)
4688
4689 * subr.el (set-temporary-overlay-map): Doc fix.
4690
4691 2012-11-16 Martin Rudalics <rudalics@gmx.at>
4692
4693 * window.el (record-window-buffer)
4694 (display-buffer-record-window): When copying the markers to
4695 window-point preserve window-point-insertion-type. (Bug#12588)
4696
4697 2012-11-16 Glenn Morris <rgm@gnu.org>
4698
4699 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
4700 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
4701 Use new names for hooks rather than obsolete aliases.
4702
4703 2012-11-15 Daniel Colascione <dancol@dancol.org>
4704
4705 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
4706 prefix instead of "file:" so that when FILE-NAME begins with "//",
4707 as it does when the target file is on a network share, url-handler
4708 isn't confused.
4709
4710 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
4711
4712 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
4713 a preactivated advice from an old advice.el; they're not compatible!
4714
4715 2012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
4716
4717 * emacs-lisp/nadvice.el (advice--make-interactive-form):
4718 Fix string-spec case.
4719
4720 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
4721
4722 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
4723
4724 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
4725 (advice--buffer-local-function-sample): New var.
4726 (advice--set-buffer-local, advice--buffer-local): New functions.
4727 (add-function, remove-function): Use them.
4728
4729 2012-11-15 Drew Adams <drew.adams@oracle.com>
4730
4731 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
4732
4733 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
4734
4735 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
4736 potential binding of print-gensym to t, and prettify (back)quotes in
4737 case they appear in args's default values (bug#12884).
4738
4739 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4740
4741 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
4742 (advice-eval-interactive-spec): New function.
4743 (advice--make-interactive-form): Support around advice (bug#12844).
4744
4745 2012-11-14 Dmitry Gutov <dgutov@yandex.ru>
4746
4747 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
4748 more strict. Add docstring.
4749 (ruby-expression-expansion-re): Extract from
4750 `ruby-match-expression-expansion'.
4751 (ruby-syntax-propertize-function): After everything else, search
4752 for expansions in string literals, mark their insides as
4753 whitespace syntax and save match data for font-lock.
4754 (ruby-font-lock-keywords): Use the 2nd group from expression
4755 expansion matches.
4756 (ruby-match-expression-expansion): Use the match data saved to the
4757 text property in ruby-syntax-propertize-function.
4758
4759 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4760
4761 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
4762 (bug#12879).
4763
4764 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
4765
4766 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
4767 start/end keyword a bit harder. Works with different values of N.
4768 Add more comments.
4769 (ruby-end-of-block): Update accordingly.
4770
4771 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
4772
4773 * woman.el (woman-file-name): Don't mess with unread-command-events
4774 (bug#12861).
4775
4776 * emacs-lisp/advice.el: Layer on top of nadvice.el.
4777 Remove out of date self-require hack.
4778 (ad-do-advised-functions): Use simple `dolist'.
4779 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
4780 (ad-advice-definition): Redefine as functions.
4781 (ad-advice-classes): Move before first use.
4782 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
4783 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
4784 (ad--defalias-fset): Remove functions.
4785 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
4786 (ad-get-orig-definition): Rewrite.
4787 (ad-make-advised-definition-docstring): Change base docstring.
4788 (ad-real-orig-definition): Rewrite.
4789 (ad-map-arglists): Change name of called function.
4790 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
4791 (ad-make-advised-definition): Simplify.
4792 (ad-assemble-advised-definition): Tweak for new calling context.
4793 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
4794 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
4795 function and call ad-activate if needed.
4796 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
4797 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
4798 (ad-compile-function): Compile ad-Advice-*.
4799 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
4800 (ad-start-advice, ad-stop-advice): Remove.
4801
4802 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
4803
4804 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
4805 period before class method names, not after. Remove handling of
4806 one impossible case. Add comments.
4807
4808 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
4809
4810 * emacs-lisp/advice.el: Remove support for freezing.
4811 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
4812 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
4813 Remove support for `freeze'.
4814
4815 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
4816 override the default.
4817 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
4818 cl--dotimes/dolist.
4819 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
4820 `cl' is loaded.
4821
4822 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
4823 from add-advice.
4824 (advice--strip-macro): New function.
4825 (advice--defalias-fset): Use them to handle macros.
4826 (advice-add): Use them.
4827 (advice-member-p): Correctly handle macros.
4828
4829 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
4830
4831 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4832 Never font-lock the beginning of singleton class as heredoc.
4833
4834 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
4835
4836 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
4837
4838 2012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
4839
4840 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
4841 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
4842 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
4843
4844 2012-11-13 Fabián Ezequiel Gallina <fgallina@cuca>
4845
4846 Fix end-of-defun misbehavior.
4847 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
4848 python-beginning-of-defun-function. Handle nested defuns
4849 correctly.
4850 (python-nav-end-of-defun): Rename from
4851 python-end-of-defun-function. Ensure forward movement.
4852 (python-info-current-defun): Reimplement to work as intended
4853 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
4854 parent defuns as soon as possible.
4855
4856 2012-11-13 Glenn Morris <rgm@gnu.org>
4857
4858 * progmodes/flymake.el (flymake-error-bitmap)
4859 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
4860 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
4861
4862 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
4863
4864 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
4865 backward, always stop at indentation. Reverts the change from
4866 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
4867
4868 2012-11-13 Glenn Morris <rgm@gnu.org>
4869
4870 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
4871 Add ibuffer-filter-by-derived-mode.
4872
4873 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
4874 the same name shadowing each other.
4875
4876 * window.el (with-temp-buffer-window): Doc tweak.
4877
4878 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
4879
4880 * help.el (temp-buffer-max-height):
4881 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
4882 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
4883
4884 2012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
4885
4886 * emacs-lisp/nadvice.el: New package.
4887 * subr.el (special-form-p): New function.
4888 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
4889 (elp-all-instrumented-list): Remove var.
4890 (elp-not-profilable): Remove elp-wrapper.
4891 (elp-profilable-p): Use autoloadp and special-form-p.
4892 (elp--advice-name): New const.
4893 (elp-instrument-function): Use advice-add.
4894 (elp--instrumented-p): New predicate.
4895 (elp-restore-function): Use advice-remove.
4896 (elp-restore-all, elp-reset-all): Use mapatoms.
4897 (elp-set-master): Use elp--instrumented-p.
4898 (elp--make-wrapper): Rename from elp-wrapper, return a function
4899 suitable for advice-add. Use cl-inf.
4900 (elp-results): Use mapatoms+elp--instrumented-p.
4901 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
4902 (debug-function-list): Remove var.
4903 (debug): Rename arg, and then let-bind it explicitly inside.
4904 (debugger-setup-buffer): Rename arg.
4905 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
4906 (debugger-frame-number): Adjust to new debug-on-entry setup.
4907 (debug--implement-debug-on-entry): Rename from
4908 implement-debug-on-entry, add argument.
4909 (debugger-special-form-p): Remove, use special-form-p instead.
4910 (debug-on-entry): Use advice-add.
4911 (debug--function-list): New function.
4912 (cancel-debug-on-entry): Use it, along with advice-remove.
4913 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
4914 (debugger-list-functions): Use debug--function-list instead of
4915 debug-function-list.
4916 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
4917 (ad-special-form-p): Remove, use special-form-p instead.
4918 (ad-set-advice-info): Use add-function and remove-function.
4919 (ad--defalias-fset): Adjust accordingly.
4920
4921 2012-11-10 Glenn Morris <rgm@gnu.org>
4922
4923 * mail/emacsbug.el (report-emacs-bug-tracker-url)
4924 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
4925 (report-emacs-bug-create-existing-bugs-buffer)
4926 (report-emacs-bug-parse-query-results)
4927 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
4928
4929 * term.el (term-default-fg-color, term-default-bg-color):
4930 Make obsolete, rather than just saying "deprecated" in the doc.
4931
4932 * term.el (term): Rename from `term-face'.
4933 (term-current-face, ansi-term-color-vector)
4934 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
4935 Update all users.
4936
4937 2012-11-10 Jan Djärv <jan.h.d@swipnet.se>
4938
4939 * server.el (server-create-window-system-frame): Handle Nextstep
4940 specially (Bug#12780).
4941
4942 2012-11-10 Glenn Morris <rgm@gnu.org>
4943
4944 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
4945 Unautoload, and make obsolete. (Bug#7449)
4946
4947 2012-11-10 Chong Yidong <cyd@gnu.org>
4948
4949 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
4950 rename from diff-remove-trailing-whitespace (Bug#12831).
4951
4952 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
4953
4954 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
4955 miscompilation of trace.el.
4956
4957 2012-11-10 Glenn Morris <rgm@gnu.org>
4958
4959 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
4960
4961 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
4962
4963 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
4964 (bug#12812).
4965
4966 2012-11-10 Chong Yidong <cyd@gnu.org>
4967
4968 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
4969 a defcustom with an appropriate :set function.
4970 (minibuffer-default--in-prompt-regexps): New function.
4971
4972 2012-11-10 Glenn Morris <rgm@gnu.org>
4973
4974 * emacs-lisp/cl.el (define-setf-expander, defsetf)
4975 (define-modify-macro): Doc fixes.
4976
4977 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
4978 (gv-define-simple-setter): Update doc of `fix-return'.
4979
4980 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
4981
4982 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
4983 twice when `fix-return' is set (bug#12813).
4984
4985 * emacs-lisp/cl.el (defsetf): Pass the third arg to
4986 gv-define-simple-setter (bug#12812).
4987
4988 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
4989 (bug#12756).
4990
4991 2012-11-10 Glenn Morris <rgm@gnu.org>
4992
4993 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
4994
4995 * emacs-lisp/cl-extra.el (cl-prettyexpand):
4996 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
4997 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
4998 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
4999
5000 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
5001
5002 2012-11-10 Leo Liu <sdl.web@gmail.com>
5003
5004 * ido.el (ido-set-matches-1): Improve flex matching performance by
5005 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
5006
5007 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
5008
5009 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
5010 (ad--defalias-fset): New function.
5011 (ad-safe-fset): Remove.
5012 (ad-make-freeze-definition): Use cl-letf*.
5013
5014 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
5015
5016 * subr.el (dolist): Don't bind VAR in RESULT.
5017
5018 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
5019 (fset, documentation): Don't save real def since we don't advise.
5020 (ad-do-advised-functions): Remove problematic `result-form'.
5021 (ad-safe-fset): `ad-real-fset' => `fset'.
5022 (ad-read-advised-function): Don't assume that ad-do-advised-functions
5023 uses CL's dolist internally.
5024 (ad-arglist): Remove unused arg `name'.
5025 (ad-docstring, ad-make-advised-docstring):
5026 `ad-real-documentation' => `documentation'.
5027 (warning-suppress-types): Declare.
5028 (ad-set-arguments): Simple CSE.
5029 (ad-recover-normality): Sanity check.
5030
5031 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
5032 (funcall '(lambda ..) ..) into ((lambda ..) ..).
5033
5034 2012-11-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
5035
5036 * ses.el: symbol to coordinate mapping is made by symbol property
5037 `ses-cell'. This means that the same mapping is done for all SES
5038 sheets. That is good enough for cells with standard A1 names, but
5039 not for named cell. So a hash map is added for the latter.
5040 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
5041 (ses-sym-rowcol): Use hashmap for named cell.
5042 (ses-is-cell-sym-p): New defun.
5043 (ses-decode-cell-symbol): New defun.
5044 (ses-create-cell-variable): Add cell to hashmap when name is not
5045 A1-like.
5046 (ses-rename-cell): Check that cell new name is not already in
5047 spreadsheet with the use of ses-is-cell-sym-p
5048 (ses-rename-cell): Use hash map for named cells, but accept also
5049 renaming back to A1-like.
5050
5051 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
5052
5053 * emacs-lisp/advice.el: Use new dynamic docstrings.
5054 (ad-make-advised-definition-docstring, ad-advised-definition-p):
5055 Use dynamic-docstring-function instead of ad-advice-info.
5056 (ad--make-advised-docstring): New function extracted from
5057 ad-make-advised-docstring.
5058 (ad-make-advised-docstring): Use it.
5059 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
5060 from sql-help.
5061 (sql-help): Use it with dynamic-docstring-function.
5062
5063 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
5064
5065 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5066
5067 * files.el (hack-one-local-variable--obsolete): New function.
5068 (hack-one-local-variable): Use it for obsolete settings.
5069
5070 * subr.el (locate-user-emacs-file): If both old and new name exist, use
5071 the new name.
5072
5073 * progmodes/js.el (js--filling-paragraph): New var.
5074 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
5075 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
5076 less sneaky.
5077
5078 2012-11-08 Julien Danjou <julien@danjou.info>
5079
5080 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
5081 `auto-mode-alist' (Bug#12835).
5082
5083 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5084
5085 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
5086 (perl--prettify-symbols-alist): New const.
5087 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
5088 New functions.
5089 (perl-font-lock-keywords-2): Use them.
5090 (perl-electric-noindent-p): New function.
5091 (perl-mode): Use it to set up electric-indent-mode.
5092 (perl-electric-terminator, perl-indent-command): Mark obsolete.
5093 (perl-mode-map): Remove bindings for them.
5094 (perl-imenu-generic-expression, perl-outline-level):
5095 Match functions&packages in column>0.
5096
5097 * env.el (env--substitute-vars-regexp): New const.
5098 (substitute-env-vars): Use it. Add `only-defined' arg.
5099 * net/tramp.el (tramp-replace-environment-variables): Use it.
5100
5101 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
5102 Byte-compile *before* eval in eval-and-compile.
5103 (byte-compile-log-warning): Remove redundant inhibit-read-only.
5104 (byte-compile-file-form-autoload): Don't hide actual definition.
5105 (byte-compile-maybe-guarded): Accept `functionp' as well.
5106
5107 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
5108
5109 2012-11-07 Michael Albinus <michael.albinus@gmx.de>
5110
5111 * notifications.el (notifications-get-server-information-method):
5112 New defconst.
5113 (notifications-get-capabilities): Fix docstring.
5114 (notifications-get-server-information): New defun.
5115
5116 2012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5117
5118 * textmodes/ispell.el (ispell-region): Standard re-indent for better
5119 readability.
5120
5121 * textmodes/ispell.el: Experimental support for support debugging.
5122 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
5123 buffer for ispell.
5124 (ispell-print-if-debug): New function to print stuff to
5125 `ispell-debug-buffer' if debugging is enabled.
5126 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
5127 show some debugging info.
5128 (ispell-buffer-with-debug): New function that creates a debugging
5129 buffer and calls `ispell-buffer' with debugging enabled.
5130
5131 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
5132 comment in autoconf mode. (Bug#12768)
5133
5134 2012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
5135
5136 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
5137 frame-first-window, frame-root-window, frame-selected-window,
5138 minibuffer-selected-window, minibuffer-window,
5139 window-absolute-pixel-edges, window-at, window-body-height,
5140 window-body-width, window-display-table, window-combination-limit,
5141 window-frame, window-fringes, window-inside-absolute-pixel-edges,
5142 window-inside-edges, window-inside-pixel-edges, window-left-child,
5143 window-left-column, window-margins, window-next-buffers,
5144 window-next-sibling, window-new-normal, window-new-total,
5145 window-normal-size, window-parameter, window-parameters, window-parent,
5146 window-pixel-edges, window-point, window-prev-buffers,
5147 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
5148 window-start, window-text-height, window-top-child, window-top-line,
5149 window-total-height, window-total-width and window-use-time to the list
5150 of functions without side-effects.
5151 (toplevel): Add window-valid-p to the list of error-free functions
5152 without side-effects.
5153
5154 2012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5155
5156 * textmodes/ispell.el (ispell-program-name):
5157 Update spellchecker parameters when customized.
5158
5159 2012-11-04 Glenn Morris <rgm@gnu.org>
5160
5161 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
5162
5163 2012-11-04 Chong Yidong <cyd@gnu.org>
5164
5165 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
5166 same-window-* variables.
5167
5168 2012-11-04 Juri Linkov <juri@jurta.org>
5169
5170 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
5171 (isearch-describe-key, isearch-describe-mode): Use a display
5172 action instead of binding same-window-* variables (Bug#10040).
5173
5174 2012-11-03 Glenn Morris <rgm@gnu.org>
5175
5176 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
5177 Rename handler properties back from cl-- to cl-. (Bug#12788)
5178
5179 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
5180
5181 2012-11-03 Eli Zaretskii <eliz@gnu.org>
5182
5183 * term/pc-win.el: Don't load term/internal from here.
5184
5185 * loadup.el: Load term/internal from here.
5186
5187 2012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
5188
5189 * progmodes/python.el (inferior-python-mode): Fix hang in
5190 jit-lock (Bug#12645).
5191
5192 2012-11-03 Martin Rudalics <rudalics@gmx.at>
5193
5194 * window.el (switch-to-visible-buffer)
5195 (switch-to-buffer-preserve-window-point): Fix doc-strings.
5196
5197 2012-11-03 Glenn Morris <rgm@gnu.org>
5198
5199 * emacs-lisp/cl-lib.el (cl--random-time):
5200 Rename from cl-random-time. (Bug#12773)
5201 (cl--gensym-counter, cl--random-state): Update callers.
5202 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
5203
5204 2012-11-03 Chong Yidong <cyd@gnu.org>
5205
5206 * cus-start.el: Make cursor-type customizable (Bug#11633).
5207
5208 2012-11-02 Glenn Morris <rgm@gnu.org>
5209
5210 * filecache.el: No need to load find-lisp when compiling.
5211 (find-lisp-find-files): Autoload it.
5212 (file-cache-add-directory-recursively): Don't require find-lisp.
5213
5214 * image.el (image-type-from-file-name): Trivial simplification.
5215
5216 * emacs-lisp/bytecomp.el (byte-compile-eval):
5217 Decouple "noruntime" and "cl-functions" warnings.
5218
5219 2012-11-01 Stephen Berman <stephen.berman@gmx.net>
5220
5221 * play/gomoku.el (gomoku-display-statistics): Update mode line
5222 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
5223
5224 2012-10-31 Martin Rudalics <rudalics@gmx.at>
5225
5226 * window.el (quit-restore-window): If the window has been
5227 created on an existing frame and ended up as the sole window on
5228 that frame, do not delete it (Bug#12764).
5229
5230 2012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
5231
5232 * progmodes/sh-script.el (sh--inside-noncommand-expression):
5233 Rename from sh--inside-arithmetic-expression, handle more cases
5234 (bug#11263).
5235
5236 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
5237 (sh-font-lock-open-heredoc): Use it (bug#12770).
5238
5239 2012-10-30 Glenn Morris <rgm@gnu.org>
5240
5241 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
5242
5243 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
5244
5245 2012-10-29 Chong Yidong <cyd@gnu.org>
5246
5247 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
5248 function key is stored in a keyboard macro (Bug#4894).
5249
5250 * thingatpt.el (number-at-point): Apply a thing-at-point property.
5251
5252 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5253
5254 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
5255 header comments".
5256 (diff-unified->context, diff-context->unified)
5257 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
5258
5259 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
5260
5261 * files.el (find-alternate-file): Only ask one question (bug#12487).
5262
5263 2012-10-29 Chong Yidong <cyd@gnu.org>
5264
5265 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
5266 Suggested by Dan Nicolaescu (Bug#6326).
5267
5268 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
5269
5270 * startup.el (fancy-about-screen): Don't message (Bug#12680).
5271
5272 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
5273
5274 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
5275
5276 * face-remap.el (face-remap-add-relative): Handle the case where a
5277 face-remapping-alist entry is a cons cell (Bug#12762).
5278
5279 2012-10-29 Kevin Ryde <user42@zip.com.au>
5280
5281 * woman.el (woman-parse-numeric-value): Handle picas correctly
5282 (Bug#12639).
5283
5284 2012-10-29 Glenn Morris <rgm@gnu.org>
5285
5286 * emacs-lisp/cl.el (defsetf): Doc fix.
5287
5288 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5289
5290 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
5291 syntax to the matching opener, if any (bug#12547).
5292 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
5293 matching open as a "case-(".
5294 (sh-smie-rc-grammar): Add a corresponding rule for it.
5295
5296 2012-10-28 Daniel Hackney <dan@haxney.org>
5297
5298 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
5299 "PKGNAME-autoloads.el" in case we created it.
5300
5301 2012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5302
5303 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
5304 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
5305 (completion--twq-all): Disable too-strict assertions.
5306
5307 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
5308
5309 2012-10-27 Eli Zaretskii <eliz@gnu.org>
5310
5311 * profiler.el (profiler-report-make-entry-part): Fix help-echo
5312 text to match the real keybindings.
5313
5314 2012-10-27 Juri Linkov <juri@jurta.org>
5315
5316 * wdired.el (wdired-keep-marker-rename): New defcustom.
5317 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
5318 (Bug#11795)
5319
5320 * dired.el (dired-keep-marker-rename): Add reference to
5321 `wdired-keep-marker-rename' in the docstring.
5322 Add default character value ?R to display initially in
5323 Customization UI instead of ?@.
5324
5325 2012-10-27 Martin Rudalics <rudalics@gmx.at>
5326
5327 * window.el (display-buffer): In doc-string describe
5328 window-height and window-width alist entries.
5329
5330 * time.el (display-time-world): Restore fit-window-to-buffer
5331 behavior.
5332
5333 2012-10-27 Chong Yidong <cyd@gnu.org>
5334
5335 * subr.el (insert-buffer-substring-as-yank): Doc fix.
5336
5337 2012-10-26 Jambunathan K <kjambunathan@gmail.com>
5338
5339 * minibuffer.el (completion-category-overrides): New completion
5340 category `bookmark' (bug#11131).
5341
5342 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
5343
5344 * emacs-lisp/advice.el (ad-assemble-advised-definition):
5345 Silence bogus compiler warnings for ad-do-it.
5346
5347 * bookmark.el (bookmark-completing-read): Set the completion category
5348 to `bookmark' (bug#11131).
5349
5350 2012-10-26 Bastien <bzg@altern.org>
5351 Stefan Monnier <monnier@iro.umontreal.ca>
5352
5353 * face-remap.el: Use lexical-binding.
5354 (text-scale-adjust): Improve docstring. Use itself for the temporary
5355 overlay-map bindings, so as to repeat the "Use..." message each time.
5356
5357 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
5358
5359 * emacs-lisp/macroexp.el (macroexp--expand-all):
5360 Obey byte-compile-warning-enabled-p (bug#12486).
5361
5362 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
5363 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
5364
5365 2012-10-26 Martin Rudalics <rudalics@gmx.at>
5366
5367 * mouse.el (mouse-drag-line): Move last form into preceding when
5368 clause (Bug#12731).
5369
5370 * help.el (resize-temp-buffer-window): Fix doc-string.
5371
5372 2012-10-25 David Engster <deng@randomsample.de>
5373
5374 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
5375 Remove. This feature is already integrated in imenu.
5376
5377 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
5378 always loaded. Require `speedbar' unconditionally.
5379
5380 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
5381
5382 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
5383
5384 * minibuffer.el (minibuffer-force-complete): Fix thinko.
5385
5386 * net/ldap.el (ldap-search-internal): The official ldif format starts
5387 with a "version: 1" header (bug#12724).
5388
5389 * emacs-lisp/package.el (package-installed-p): Warn if not ready
5390 (bug#12721).
5391
5392 2012-10-25 Glenn Morris <rgm@gnu.org>
5393
5394 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
5395
5396 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5397
5398 * minibuffer.el (minibuffer-force-complete): Use one more marker
5399 for the temporary-overlay-map command (bug#12619).
5400
5401 2012-10-24 Chong Yidong <cyd@gnu.org>
5402
5403 * time.el (display-time-world-mode): Derive from special-mode.
5404 (display-time-world): Use display-buffer (Bug#12708).
5405 (display-time-world-mode-map): Variable deleted.
5406 (display-time-world-display): Wrap the final delete-char inside
5407 inhibit-read-only.
5408
5409 2012-10-24 Chong Yidong <cyd@gnu.org>
5410
5411 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
5412 Doc fix.
5413
5414 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
5415
5416 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5417
5418 * minibuffer.el (completion--all-sorted-completions-location): New var.
5419 (completion--cache-all-sorted-completions)
5420 (completion--flush-all-sorted-completions): Use it.
5421 (completion-in-region, completion-in-region--postch)
5422 (completion-at-point, completion-help-at-point): Use markers in
5423 completion-in-region--data (bug#12619).
5424
5425 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5426
5427 * progmodes/compile.el (compilation-start): Try to handle common
5428 quoting of `cd' argument (bug#12640).
5429
5430 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
5431 (bug#12671).
5432
5433 2012-10-23 Glenn Morris <rgm@gnu.org>
5434
5435 * progmodes/gud.el (gud-menu-map):
5436 Check gdb-active-process is bound. (Bug#12358)
5437
5438 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5439
5440 * repeat.el (repeat): Set real-this-command (bug#12232).
5441
5442 * htmlfontify.el (hfy-post-html-hook):
5443 * filesets.el (filesets-cache-fill-content-hook):
5444 * arc-mode.el (archive-extract-hook):
5445 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
5446 * net/rcirc.el (rcirc-sentinel-functions)
5447 (rcirc-receive-message-functions, rcirc-activity-functions)
5448 (rcirc-print-functions):
5449 * net/dbus.el (dbus-event-error-functions):
5450 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
5451 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
5452 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
5453 * term/sun.el (sun-raw-prefix-hooks):
5454 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
5455
5456 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
5457
5458 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5459 Set `tramp-chunksize' to 1. This improves the performance.
5460 (tramp-smb-wait-for-output): Add timeout to
5461 `tramp-accept-process-output' calls.
5462
5463 2012-10-23 Chong Yidong <cyd@gnu.org>
5464
5465 * faces.el (font-list-limit): Define as an obsolete variable.
5466
5467 * startup.el (command-line):
5468 * cus-start.el: Don't refer to font-list-limit.
5469
5470 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
5471
5472 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5473
5474 * subr.el (internal-temp-output-buffer-show): Rename from
5475 temp-output-buffer-show, since previously compiled files expect this name.
5476
5477 2012-10-23 Glenn Morris <rgm@gnu.org>
5478
5479 * image.el (image-type-from-file-name): If multiple types match,
5480 return the first one that is supported. (Bug#9045)
5481
5482 2012-10-22 Glenn Morris <rgm@gnu.org>
5483
5484 * image.el (imagemagick-enabled-types): Doc fix.
5485
5486 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
5487
5488 * progmodes/which-func.el (which-func-current): The hash-table may have
5489 an explicit nil (bug#12338).
5490
5491 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
5492
5493 * electric.el (electric-pair-delete-selection-self-insert-function):
5494 Rename to electric-pair-will-use-region, return a boolean.
5495 (electric-pair-mode): Adjust accordingly. Don't require delsel.
5496
5497 * delsel.el (delete-selection-helper): Use a function instead of a hook.
5498 (delete-selection-pre-hook): Use use-region-p.
5499 (delete-selection-self-insert-function): Remove.
5500 (self-insert-command): Obey self-insert-uses-region-functions.
5501 (self-insert-iso): Revert to previous setting, since we don't actually
5502 know what that command does.
5503 (delete-selection-self-insert-hooks): Remove.
5504
5505 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
5506
5507 * delsel.el (delete-selection-helper): New function, extracted from
5508 delete-selection-pre-hook.
5509 (delete-selection-pre-hook): Use it.
5510 (delete-selection-self-insert-function): New function.
5511 (delete-selection-self-insert-hooks): New hook.
5512 (self-insert-command, self-insert-iso): Use it.
5513 * electric.el (electric-pair-syntax): New function, extracted from
5514 electric-pair-post-self-insert-function.
5515 (electric-pair-post-self-insert-function): Use it.
5516 (electric-pair-delete-selection-self-insert-function): New function.
5517 (electric-pair-mode): Require delsel and setup
5518 delete-selection-self-insert-hooks (bug#11520).
5519
5520 2012-10-20 Chong Yidong <cyd@gnu.org>
5521
5522 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
5523 no changes to show (Bug#12586).
5524
5525 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
5526 list explicitly (Bug#12571).
5527
5528 2012-10-20 Arne Jørgensen <arne@arnested.dk>
5529
5530 * progmodes/flymake.el (flymake-create-temp-inplace):
5531 Use file-truename.
5532
5533 2012-10-20 Eli Zaretskii <eliz@gnu.org>
5534
5535 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
5536
5537 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
5538
5539 * calc/calc-units.el (math-extract-units): Properly extract powers
5540 of units.
5541
5542 2012-10-20 Daniel Colascione <dancol@dancol.org>
5543
5544 * frame.el (make-frame): Set x-display-name as we used to in order
5545 to unbreak creating an X11 frame from an Emacs daemon started
5546 without a display.
5547
5548 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5549
5550 * minibuffer.el (minibuffer-force-complete): Make the next completion use
5551 the same completion-field (bug#12221).
5552
5553 2012-10-19 Martin Rudalics <rudalics@gmx.at>
5554
5555 * emacs-lisp/debug.el (debug): Record height of debugger window
5556 also when debugger will be back (Bug#8789).
5557
5558 2012-10-18 Chong Yidong <cyd@gnu.org>
5559
5560 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
5561 Convert to defcustom.
5562 (gdb-get-source-file): Don't bind pop-up-windows.
5563
5564 * progmodes/gud.el (gud-display-line): Don't specially re-use
5565 other frames for the gdb-mi case (Bug#12648).
5566
5567 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
5568
5569 * emacs-lisp/advice.el: Clean up commentary a bit.
5570 (ad-do-advised-functions, ad-with-originals): Use `declare'.
5571 (byte-code-function-p): Never redefine.
5572
5573 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
5574
5575 2012-10-18 Glenn Morris <rgm@gnu.org>
5576
5577 * dired.el (dired-sort-toggle): Some ls implementations only allow
5578 a single option string. (Bug#12666)
5579
5580 * minibuffer.el (completion-cycle-threshold): Doc fix.
5581
5582 2012-10-17 Kenichi Handa <handa@gnu.org>
5583
5584 * international/mule.el (set-keyboard-coding-system):
5585 Recover input meta mode when the new coding system doesn not use 8-bit.
5586 Supply TERMINAL arg to set-input-meta-mode.
5587
5588 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
5589
5590 * wdired.el (wdired-old-marks): New variable.
5591 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
5592 (wdired-do-renames): Move point with renamed file and don't lose
5593 mark status (Bug#11795).
5594
5595 2012-10-16 Juri Linkov <juri@jurta.org>
5596
5597 * replace.el (query-replace-help): Mention multi-buffer replacement
5598 keys in the Help message. (Bug#12655)
5599
5600 2012-10-15 Chong Yidong <cyd@gnu.org>
5601
5602 * emacs-lisp/byte-run.el (defsubst): Doc fix.
5603
5604 2012-10-14 Eli Zaretskii <eliz@gnu.org>
5605
5606 * window.el (display-buffer): Doc fix.
5607
5608 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5609 Adjust the msft regexp to the output of Studio 2010, and move msft
5610 before edg-1. See the discussion on emacs-devel,
5611 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
5612 for the details.
5613
5614 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
5615
5616 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
5617 (oset): Move uses of object-class-fast macro after its definition.
5618
5619 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
5620
5621 2012-10-13 Chong Yidong <cyd@gnu.org>
5622
5623 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
5624 enabled, re-enable it (Bug#11963).
5625
5626 2012-10-13 Martin Rudalics <rudalics@gmx.at>
5627
5628 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
5629 non-nil, restore window configuration (Bug#12623).
5630
5631 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
5632
5633 * help-fns.el (describe-variable, describe-function-1):
5634 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
5635
5636 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
5637
5638 2012-10-12 Glenn Morris <rgm@gnu.org>
5639
5640 * mail/rmailsum.el (rmail-header-summary):
5641 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
5642
5643 2012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
5644
5645 * progmodes/python.el (python-mode-map):
5646 Replace subtitute-key-definition with proper command remapping.
5647 (python-nav--up-list): Fix behavior for blocks on the same level.
5648
5649 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5650
5651 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
5652
5653 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
5654 changes to the format of load-history.
5655
5656 * international/mule-cmds.el (read-char-by-name): Move let-binding of
5657 completion-ignore-case in case that var is buffer-local (bug#12615).
5658
5659 2012-10-11 Kenichi Handa <handa@gnu.org>
5660
5661 * international/eucjp-ms.el: Re-generated.
5662
5663 2012-10-10 Kenichi Handa <handa@gnu.org>
5664
5665 * select.el (xselect--encode-string): If a coding is specified for
5666 selection, and that is compatible with COMPOUND_TEXT, use it.
5667
5668 2012-10-10 Martin Rudalics <rudalics@gmx.at>
5669
5670 * window.el (switch-to-buffer-preserve-window-point): New option.
5671 (switch-to-buffer):
5672 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
5673
5674 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
5675
5676 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
5677 Don't document nil as a useful value (bug#12583).
5678
5679 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
5680
5681 * net/tramp.el (tramp-debug-message):
5682 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
5683 (with-tramp-progress-reporter): Rename from
5684 `tramp-with-progress-reporter'.
5685 (with-tramp-file-property, with-tramp-connection-property):
5686 Move from tramp-cache.el, rename from `with-file-property' and
5687 `with-connection-property', respectively.
5688
5689 * net/tramp-cache.el: Remove `with-file-property' and
5690 `with-connection-property'.
5691
5692 * net/tramp.el:
5693 * net/tramp-gvfs.el:
5694 * net/tramp-sh.el:
5695 * net/tramp-smb.el: Adapt callees.
5696
5697 * net/trampver.el: Update release number.
5698
5699 2012-10-09 Glenn Morris <rgm@gnu.org>
5700
5701 * w32-fns.el (set-message-beep):
5702 * term/w32-win.el (set-message-beep): Update declarations.
5703
5704 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
5705
5706 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
5707 (mode-line-widen, mode-line-input-method-map)
5708 (mode-line-coding-system-map, mode-line-remote)
5709 (mode-line-unbury-buffer, mode-line-bury-buffer)
5710 (mode-line-next-buffer, mode-line-previous-buffer):
5711 Replace save-selected-window+select-window => with-selected-window.
5712
5713 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
5714 * progmodes/cc-vars.el (bq-process): Remove, unused.
5715
5716 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
5717
5718 2012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
5719
5720 Implemented `backward-up-list'-like navigation.
5721 * progmodes/python.el (python-nav-up-list)
5722 (python-nav-backward-up-list): New functions.
5723 (python-mode-map): Define substitute key for backward-up-list to
5724 python-nav-backward-up-list.
5725
5726 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
5727
5728 * progmodes/python.el (python-fill-paragraph): Rename from
5729 python-fill-paragraph-function. Fixed fill-paragraph for
5730 decorators (Bug#12605).
5731
5732 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
5733
5734 * progmodes/python.el (python-shell-output-filter): Handle extra
5735 carriage return in OSX (Bug#12409).
5736
5737 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
5738
5739 Fix shell handling of unbalanced quotes and parens in output.
5740 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
5741 (python-syntax-propertize-function): Use it.
5742 (python-shell-output-syntax-table): New var.
5743 (inferior-python-mode): Prevent unbalanced parens/quotes from
5744 previous output mess with current input context.
5745
5746 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
5747
5748 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
5749 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
5750
5751 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
5752
5753 * ffap.el (ffap-replace-file-component): Support Tramp file name
5754 syntax, not only ange-ftp's one.
5755
5756 2012-10-08 Glenn Morris <rgm@gnu.org>
5757
5758 * cus-start.el (message-log-max): Set :version.
5759
5760 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
5761
5762 2012-10-08 Martin Rudalics <rudalics@gmx.at>
5763
5764 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
5765 the minibuffer window (Bug#10851).
5766
5767 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
5768
5769 Enhancements on forward-sexp movement.
5770 * progmodes/python.el (python-nav-beginning-of-statement)
5771 (python-nav-end-of-statement): Return point-marker.
5772 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
5773 (python-info-current-symbol)
5774 (python-info-statement-starts-block-p): Rename from
5775 python-info-beginning-of-block-p.
5776 (python-info-statement-ends-block-p): Rename from
5777 python-info-end-of-block-p.
5778 (python-info-beginning-of-statement-p)
5779 (python-info-end-of-statement-p)
5780 (python-info-beginning-of-block-p, python-info-end-of-block-p):
5781 New functions.
5782
5783 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
5784
5785 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
5786 frame-selected-windows.
5787
5788 2012-10-08 Daniel Colascione <dancol@dancol.org>
5789
5790 * battery.el (battery-status-function): Check for
5791 w32-battery-status itself, not system-time windows-nt.
5792
5793 * frame.el: Require cl-lib.
5794 (display-format-alist): New variable mapping frame types to
5795 functions that initialize them.
5796 (window-system-for-display): New function: interprets
5797 display-format-alist.
5798 (make-frame-on-display): Remove existing display-selection logic
5799 and just forward to make-frame, which will now DTRT.
5800 (make-frame): Restructure to use window-system-for-display to
5801 figure out how to create a frame on a given display.
5802 (display-mouse-p): Look for frame-type w32, not a particular
5803 system-type.
5804
5805 * loadup.el: Load w32 lisp code when we have the w32 feature.
5806
5807 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
5808 system-type windows-nt.
5809
5810 * server.el (server-create-window-system-frame): Look for window
5811 type.
5812 (server-proces-filter): Only force a window system when windows-nt
5813 _and_ w32. Explain why.
5814
5815 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
5816 of window systems we configure for the mode.
5817
5818 * startup.el (command-line): Mark window system is initialized
5819 after we've done it.
5820
5821 * common-win.el (x-select-text): Look for w32, not windows-nt.
5822
5823 * ns-win.el: Require cl-lib. Add ourselves to
5824 display-format-alist.
5825 (ns-initialize-window-system): Assert we're not initialized twice.
5826
5827 * w32-win.el: Enable lexical binding; require cl-lib; add
5828 ourselves to display-format-alist.
5829 (w32-handle-dropped-file): Convert incoming dropped files from
5830 Windows paths to Cygwin ones before passing them on to the rest of
5831 Emacs.
5832 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
5833 (w32-initialize-window-system): Assert we're not initialized twice.
5834
5835 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
5836 (x-initialize-window-system): Assert we're not initialized twice.
5837
5838 * w32-common-fns.el: New File.
5839 (w32-version, w32-using-nt, w32-get-clipboard-data)
5840 (w32-set-clipboard-data, x-set-selection, x-get-selection)
5841 (w32-charset-info-alist, x-last-selected, text)
5842 (x-get-selection-value, x-selection-value): Move here.
5843
5844 * w32-fns.el: Require w32-common-fns.
5845 (w32-version, w32-using-nt, w32-get-clipboard-data)
5846 (w32-set-clipboard-data, x-set-selection, x-get-selection)
5847 (w32-charset-info-alist, x-last-selected, text)
5848 (x-get-selection-value, x-selection-value): Move to
5849 w32-common-fns.
5850
5851 * w32-vars.el:
5852 (w32-allow-system-shell, w32-system-shells): Define only in
5853 non-cygwin case.
5854
5855 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5856
5857 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
5858 (read-passwd): Remove a few more potential sources of leaks.
5859
5860 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
5861
5862 * progmodes/python.el (inferior-python-mode)
5863 (python-shell-make-comint): Fix initialization of local
5864 variables copied from parent buffer.
5865
5866 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
5867
5868 * term/ns-win.el (ns-read-file-name): Update declaration to match
5869 nsfns.m.
5870 (ns-respond-to-change-font): Change fontsize separately so we are sure
5871 it is set when font is acted upon.
5872
5873 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
5874
5875 Enhancements to indentation.
5876 * progmodes/python.el (python-indent-context): Give priority to
5877 inside-string context. Make comments indentation markers.
5878 (python-indent-region): Do not mess with strings, unless it's the
5879 enclosing set of quotes.
5880
5881 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5882
5883 * window.el (internal--before-save-selected-window)
5884 (internal--after-save-selected-window): New functions extracted from
5885 save-selected-window. Make sure we return the `alist' we construct.
5886 (save-selected-window): Use them.
5887
5888 * textmodes/tex-mode.el (tex-recenter-output-buffer):
5889 Use with-selected-window.
5890
5891 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
5892 forms that define macros (bug#12593).
5893
5894 2012-10-07 Kenichi Handa <handa@gnu.org>
5895
5896 * international/mule-conf.el (compound-text-with-extensions):
5897 Add :mime-charset property as x-ctext.
5898
5899 2012-10-07 Stefan Merten <smerten@oekonux.de>
5900
5901 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
5902 (rst-indent-literal-normal, rst-indent-literal-minimized)
5903 (rst-indent-comment): Correct :version tag.
5904 (rst-official-cvs-rev): Correct version string.
5905
5906 2012-10-07 Glenn Morris <rgm@gnu.org>
5907
5908 * mail/rmailmm.el (rmail-mime-process-multipart):
5909 Do not confuse a multipart message with an epilogue
5910 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
5911
5912 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
5913
5914 Fix shell output retrieval and comint-prompt-regexp init.
5915 * progmodes/python.el (inferior-python-mode):
5916 (python-shell-make-comint): Fix initialization of
5917 comint-prompt-regexp from copied file local variables.
5918 (python-shell-fetched-lines): Remove var.
5919 (python-shell-output-filter-in-progress): Rename from
5920 python-shell-fetch-lines-in-progress.
5921 (python-shell-output-filter-buffer): Rename from
5922 python-shell-fetch-lines-string.
5923 (python-shell-fetch-lines-filter): Delete function.
5924 (python-shell-output-filter): New function.
5925 (python-shell-send-string-no-output): Use them.
5926
5927 2012-10-07 Glenn Morris <rgm@gnu.org>
5928
5929 * hi-lock.el (hi-lock-process-phrase):
5930 Try to make it less fragile. (Bug#7161)
5931
5932 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
5933
5934 2012-10-06 Glenn Morris <rgm@gnu.org>
5935
5936 * ehelp.el (electric-help-mode): Use help-mode rather than
5937 non-existent mode `help'.
5938 (electric-help-map): Use button-buffer-map. (Bug#10917)
5939
5940 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
5941 (reftex-create-bibtex-footer): Fix custom types.
5942
5943 * progmodes/sh-script.el (sh-indent-after-continuation):
5944 Add explicit :group.
5945
5946 * textmodes/rst.el (rst-preferred-decorations)
5947 (rst-shift-basic-offset): Clarify obsolescence versions.
5948
5949 * profiler.el (profiler): Add missing group :version tag.
5950 * avoid.el (mouse-avoidance-banish-position):
5951 * proced.el (proced-renice-command):
5952 * calc/calc.el (calc-ensure-consistent-units):
5953 * calendar/icalendar.el (icalendar-import-format-uid):
5954 * net/tramp.el (tramp-save-ad-hoc-proxies):
5955 * progmodes/bug-reference.el (bug-reference-bug-regexp):
5956 * progmodes/flymake.el (flymake-error-bitmap)
5957 (flymake-warning-bitmap, flymake-fringe-indicator-position):
5958 * progmodes/sh-script.el (sh-indent-after-continuation):
5959 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
5960 (verilog-before-save-font-hook, verilog-after-save-font-hook):
5961 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
5962 (vhdl-array-index-record-field-in-sensitivity-list)
5963 (vhdl-indent-comment-like-next-code-line):
5964 * textmodes/reftex-vars.el (reftex-ref-style-alist)
5965 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
5966 (reftex-cite-key-separator, reftex-create-bibtex-header)
5967 (reftex-create-bibtex-footer):
5968 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
5969 (rst-indent-literal-normal, rst-indent-literal-minimized)
5970 (rst-indent-comment): Add missing custom :version tags.
5971
5972 * calendar/timeclock.el (timeclock-modeline-display):
5973 Add missing obsolete alias for renamed user option.
5974
5975 * strokes.el (strokes-modeline-string):
5976 * emulation/crisp.el (crisp-mode-modeline-string):
5977 * eshell/esh-mode.el (eshell-status-in-modeline):
5978 Aliases to defcustoms must come before the defcustom.
5979
5980 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
5981 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
5982 (cal-tex-cursor-week-monday): Doc fixes.
5983 (cal-tex-cursor-week2-summary): Doc fix.
5984 Rename from cal-tex-cursor-week-at-a-glance.
5985
5986 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
5987 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
5988
5989 * calendar/calendar.el (calendar-mode-map):
5990 Add cal-tex-cursor-week2-summary.
5991
5992 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
5993
5994 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
5995
5996 * subr.el (read-passwd-map): New var.
5997 (read-passwd): Use `read-string' again.
5998 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
5999
6000 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
6001
6002 * register.el (append-to-register, prepend-to-register):
6003 Deactivate mark, as does `copy-to-register' (bug#12389).
6004
6005 2012-10-06 Chong Yidong <cyd@gnu.org>
6006
6007 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
6008
6009 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
6010
6011 * international/characters.el: Fix simple mistake ((car chars) ->
6012 elt), delete duplicated code.
6013
6014 2012-10-06 Glenn Morris <rgm@gnu.org>
6015
6016 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
6017
6018 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
6019
6020 * color.el (color-hsl-to-rgb): Fix incorrect results for
6021 small and large hue values. (Bug#12559)
6022
6023 2012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
6024
6025 Enhancements to docstring formatting when filling paragraphs.
6026 * progmodes/python.el (python-fill-docstring-style): Rename from
6027 python-fill-string-style. Added new style.
6028 (python-fill-string): Use new style. Better checks for
6029 docstrings.
6030
6031 2012-10-05 Glenn Morris <rgm@gnu.org>
6032
6033 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
6034
6035 * color.el (color-name-to-rgb, color-rgb-to-hex)
6036 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
6037 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
6038 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
6039 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
6040
6041 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
6042
6043 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
6044
6045 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
6046 to get the correct size across symlinks.
6047
6048 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
6049
6050 2012-10-04 Juri Linkov <juri@jurta.org>
6051
6052 * replace.el (query-replace-interactive): Declare obsolete.
6053 (query-replace-read-from): Add the last incremental search string
6054 to the list of default values accessible via M-n.
6055 (map-query-replace-regexp): Use `read-regexp'.
6056 (query-replace, query-replace-regexp, query-replace-regexp-eval)
6057 (map-query-replace-regexp, replace-string, replace-regexp):
6058 Fix docstrings to replace mentions of `query-replace-interactive'
6059 with alternatives. (Bug#12526)
6060
6061 2012-10-04 Juri Linkov <juri@jurta.org>
6062
6063 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
6064 (dired-pop-to-buffer): Declare obsolete.
6065 (dired-mark-pop-up): Doc fix.
6066
6067 2012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
6068
6069 Allow user to set docstring style for fill-paragraph.
6070 * progmodes/python.el
6071 (python-fill-comment-function, python-fill-string-function)
6072 (python-fill-decorator-function, python-fill-paren-function):
6073 Remove :safe for defcustoms.
6074 (python-fill-string-style): New defcustom
6075 (python-fill-paragraph-function): Enhance context detection.
6076 (python-fill-string): Honor python-fill-string-style settings.
6077
6078 2012-10-04 Martin Rudalics <rudalics@gmx.at>
6079
6080 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
6081 after setting its buffer (Bug#10805).
6082
6083 2012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
6084
6085 Fix cornercase for string syntax.
6086 * progmodes/python.el (python-syntax-propertize-function):
6087 Simplify and enhance the regexp for unescaped quotes. Now it also
6088 matches quotes in weird situations like the single quote in
6089 "something\"'".
6090 (python-syntax-stringify): Simplify num-quotes detecting code.
6091
6092 2012-10-03 Glenn Morris <rgm@gnu.org>
6093
6094 * help-macro.el (three-step-help):
6095 Revert 2012-09-29 change. (Bug#12567)
6096
6097 2012-10-03 Martin Rudalics <rudalics@gmx.at>
6098
6099 * menu-bar.el (kill-this-buffer): Don't do anything when
6100 `menu-frame' is not alive or visible (Bug#8184).
6101
6102 * emacs-lisp/debug.el (debug): When quitting the debugger window
6103 restore current buffer (Bug#12502).
6104
6105 2012-10-02 Chong Yidong <cyd@gnu.org>
6106
6107 * progmodes/hideif.el (hif-lookup, hif-defined):
6108 Handle semantic-c-takeover-hideif.
6109
6110 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
6111
6112 Change sampling interval units from ms to ns.
6113 * profiler.el (profiler-sampling-interval): Change units
6114 from ms to ns, multiplying the default by 1000000 so that
6115 it remains 1 ms.
6116 (profiler-report-cpu-line-format): Give enough room for
6117 the maximum counters on 64-bit hosts.
6118 (profiler-report-render-calltree-1): Call them "CPU samples",
6119 not "Time (ms)", since they are not milliseconds now (and
6120 never really were).
6121
6122 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
6123
6124 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
6125 Fix querying BBDB for entries without a last name (Bug#11580).
6126
6127 2012-10-02 Chong Yidong <cyd@gnu.org>
6128
6129 * emacs-lisp/eieio.el: Restore Version header.
6130
6131 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
6132
6133 * vc/diff-mode.el (diff--auto-refine-data): New var.
6134 (diff-hunk): Use it to delay refinement.
6135 (diff-mode): Remove overlays when we turn off font-lock.
6136
6137 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
6138 (table-initialize-table-fixed-width-mode)
6139 (table-set-table-fixed-width-mode): Remove functions.
6140 (table-command-list): Move initialization into declaration.
6141 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
6142 (table-with-cache-buffer): Use `declare'.
6143 (table-span-cell): Simplify via CSE.
6144 (table-fixed-width-mode): Use define-minor-mode.
6145 (table-call-interactively, table-funcall, table-apply): Remove.
6146 (table-function): New function, to replace them.
6147
6148 * bookmark.el (bookmark-search-pattern): Remove var.
6149 (bookmark-read-search-input): Remove function.
6150 (bookmark-bmenu-search): Reimplement using a minibuffer.
6151
6152 * faces.el (modeline): Remove obsolete face name.
6153
6154 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
6155 and give a non-nil default value.
6156 (add-change-log-entry): Simplify accordingly.
6157
6158 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
6159
6160 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
6161 (vc-git-log-edit-toggle-amend): New function.
6162 (vc-git-log-edit-toggle-signoff): New function.
6163 (vc-git-log-edit-mode): New major mode.
6164 (vc-git-log-edit-mode-map): Keymap for it.
6165 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
6166
6167 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
6168 header names.
6169 (log-edit-toggle-header): New function.
6170 (log-edit-extract-headers): Accept function values in HEADERS alist.
6171
6172 2012-10-01 David Engster <deng@randomsample.de>
6173
6174 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
6175 from symbol property and change message to be more consistent with
6176 Emacs proper.
6177 (eieio-describe-generic): Add filename for each implementation.
6178 Fix indices for generic and normal methods.
6179 (eieio-method-def, eieio-class-def): New buttons.
6180 (eieio-help-find-method-definition)
6181 (eieio-help-find-class-definition): New functions.
6182 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
6183 class, constructor and method definitions.
6184
6185 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
6186 information in symbol property.
6187 (scoped-class): Remove.
6188 (eieio-slot-name-index, call-next-method): Check if it is bound.
6189
6190 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
6191
6192 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
6193 (eieio-custom-mode): New major mode.
6194 (eieio-customize-object): Use it.
6195
6196 2012-10-01 Eric Ludlam <zappo@gnu.org>
6197
6198 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
6199 specifying the expected class, and whether subclassing is allowed.
6200 (eieio-persistent-convert-list-to-object):
6201 (eieio-persistent-validate/fix-slot-value)
6202 (eieio-persistent-slot-type-is-class-p): New functions.
6203 (eieio-named::slot-missing): Doc fix.
6204
6205 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
6206 Stop using unused publd variable.
6207
6208 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
6209 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
6210 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
6211 (eieio-speedbar-handle-click): Do not specify a class for the
6212 method. Fixes method invocation order problems with EDE.
6213
6214 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
6215
6216 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
6217 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
6218
6219 2012-10-01 Karl Fogel <kfogel@red-bean.com>
6220
6221 * bookmark.el (bookmark-version-control): Give tags in the
6222 :type choices (Bug#12309), and improve doc string.
6223 (bookmark-write-file): Bind `print-circle' to `t' to allow
6224 circular custom bookmark types. (Bug#12503)
6225
6226 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
6227
6228 Revert the FOLLOW-SYMLINKS change for file-attributes.
6229 * files.el (remote-file-name-inhibit-cache, after-find-file):
6230 * time.el (display-time-file-nonempty-p): Undo last change.
6231
6232 * profiler.el (profiler-sampling-interval): Change default back to 1.
6233 See Stefan Monnier in
6234 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
6235
6236 2012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
6237
6238 Shell output catching a la gud-gdb.
6239 * progmodes/python.el (python-shell-fetch-lines-in-progress)
6240 (python-shell-fetch-lines-string, python-shell-fetched-lines):
6241 New Vars.
6242 (python-shell-fetch-lines-filter): New function.
6243 (python-shell-send-string-no-output): Use them.
6244
6245 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
6246
6247 * profiler.el (profiler-sampling-interval): Rename from
6248 profiler-sample-interval.
6249 (profiler-sampling-interval): Default to 10.
6250 (profiler-find-profile): New command (was profiler-find-log).
6251 (profiler-find-profile-other-window): New command.
6252 (profiler-find-profile-other-frame): New command.
6253 (profiler-profile): Introduce API-level data structure.
6254
6255 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
6256
6257 file-attributes has a new optional arg FOLLOW-SYMLINKS.
6258 * files.el (remote-file-name-inhibit-cache):
6259 * time.el (display-time-file-nonempty-p): Use it.
6260 * files.el (after-find-file): Don't chase links before calling
6261 file-exists-p, as file-exists-p already does the right thing.
6262
6263 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
6264
6265 Merge from standalone RefTeX repository.
6266
6267 The following ChangeLog entries are shortened versions of the
6268 original ones with file paths adapted. A not so strongly edited
6269 version of the original ChangeLog can be found in the commit log.
6270
6271 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
6272 (reftex-arg-cite): Use `reftex-cite-key-separator'.
6273 Correctly handle new value type returned by `reftex-citation'.
6274
6275 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
6276 that entries with whitespace at various places are found.
6277 Doc fix. Include entries that are cross-referenced from cited entries.
6278 Include @String definitions in the resulting bib file. Add header
6279 and footer defined in `reftex-create-bibtex-header' and
6280 `reftex-create-bibtex-footer'.
6281 (reftex-do-citation): Make it possible again to insert
6282 non-existent entries. Save match data when asking for optional
6283 arguments. Return all keys, not just the first one.
6284 (reftex-all-used-citation-keys): Fix regexp to correctly extract
6285 all citations in the same line.
6286 (reftex-parse-bibtex-entry): Accept additional optional argument
6287 `raw' and keep quotes or braces if it is non-nil. Match fields
6288 containing hyphens besides word constituents.
6289 (reftex-get-string-refs): New function.
6290 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
6291 and ask if it should be reread in case it did.
6292 (reftex-pop-to-bibtex-entry)
6293 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
6294 entries with spaces or tabs in front of arguments.
6295 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
6296 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
6297 Match entries containing numbers and symbol constituents.
6298 (reftex-do-citation, reftex-figure-out-cite-format):
6299 Use `reftex-cite-key-separator'.
6300
6301 * textmodes/reftex-dcr.el: Move provide statement to end of file.
6302 (reftex-mouse-view-crossref): Explain why point is set.
6303
6304 * textmodes/reftex-global.el: Whitespace changes.
6305
6306 * textmodes/reftex-index.el: Move provide statement to end of
6307 file.
6308 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
6309 (reftex-index-visit-phrases-buffer): Set marker when visiting
6310 buffer. This allows for returning from the phrases file to the
6311 file one was just editing instead of the file where the last
6312 phrases was added from.
6313 (reftex-index-phrases-syntax-table): New variable. Give ?\"
6314 punctuation syntax as it usually is not used as string quote in
6315 TeX-related modes and may occur unmatched. The change also
6316 prevents fontification of quoted content.
6317 (reftex-index-phrases-mode): Use it.
6318
6319 * textmodes/reftex-parse.el (reftex-parse-from-file):
6320 Move backward one char if a `\' was matched after a section macro.
6321 (reftex-parse-from-file): Use beginning of match instead of end as
6322 bound.
6323
6324 * textmodes/reftex-ref.el: Adapt creation of
6325 `reftex-<package>-<macro>' functions to new structure of
6326 `reftex-ref-style-alist'.
6327 (reftex-reference): Use `reftex-ref-style-list' function.
6328 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
6329 reference macro if `reftex-ref-macro-prompt' is non-nil.
6330 (reftex-reference): Pass refstyle to `reftex-format-special'.
6331 Determine reference macro by looking at
6332 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
6333 Use only one special format function.
6334 (reftex-varioref-vref, reftex-fancyref-fref)
6335 (reftex-fancyref-Fref): Remove definitions. The functions are now
6336 generated from `reftex-ref-style-alist'.
6337 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
6338 Remove.
6339 (reftex-format-special): New function.
6340
6341 * textmodes/reftex-sel.el
6342 (reftex-select-cycle-ref-style-internal): Adapt to new structure
6343 of `reftex-ref-style-alist'. Remove code for testing macro type.
6344 (reftex-select-toggle-varioref)
6345 (reftex-select-toggle-fancyref): Remove.
6346 (reftex-select-cycle-ref-style-internal)
6347 (reftex-select-cycle-ref-style-forward)
6348 (reftex-select-cycle-ref-style-backward): New functions.
6349 (reftex-select-label-map): Use `v' and `V' for general cycling
6350 through reference styles. Add `p' for switching between number
6351 and page reference types.
6352
6353 * textmodes/reftex-toc.el (reftex-re-enlarge):
6354 Call `enlarge-window' only if there is something to do because in Emacs
6355 the horizontal version throws an error even if the parameter is 0.
6356
6357 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
6358 (reftex-plug-into-AUCTeX): Doc fix.
6359 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
6360 string. Adapt to new name.
6361 (reftex-ref-style-alist): Change structure so that it is not
6362 possible to use multiple different package names within a style.
6363 Remove the symbols for symbols for macro type distinction.
6364 Add characters for macro selection.
6365 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
6366 (reftex-create-bibtex-footer): New variables.
6367 (reftex-format-ref-function): Mention third argument of special
6368 format function.
6369 (reftex-ref-style-alist, reftex-ref-style-default-list):
6370 New variables.
6371 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
6372 to new implementation. Mark as obsolete. Add compatibility code
6373 for honoring the variable values in case they are set.
6374 (reftex-cite-format-builtin, reftex-bibliography-commands):
6375 Add support for ConTeXt.
6376 (reftex-format-ref-function, reftex-format-cite-function):
6377 Fix custom type.
6378 (reftex-cite-key-separator): New variable.
6379
6380 * textmodes/reftex.el (reftex-syntax-table-for-bib)
6381 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
6382 `reftex-syntax-table' because parens have to retain their paren
6383 syntax in order for parsing of BibTeX entries like @book(...) to
6384 work.
6385 (reftex-in-comment): Do not error out if `comment-start-skip' is
6386 not set. Deal correctly with escaped comment characters.
6387 (reftex-tie-multifile-symbols): Add doc string.
6388 Initialize `reftex-ref-style-list'.
6389 (reftex-untie-multifile-symbols): Add doc string.
6390 (reftex-add-index-macros): Doc fix.
6391 (reftex-ref-style-activate, reftex-ref-style-toggle)
6392 (reftex-ref-style-list): New functions.
6393 (reftex-mode-menu): Use them. Adapt to new structure of
6394 `reftex-ref-style-alist'.
6395 (reftex-select-with-char): Kill the RefTeX Select buffer when
6396 done.
6397 (reftex-remove-if): New function.
6398 (reftex-erase-all-selection-and-index-buffers)
6399 (reftex-mode-menu): Reference styles are now computed from
6400 `reftex-ref-style-alist'. Fix typo.
6401 (reftex-report-bug): New function.
6402 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
6403 algorithms with O(n log n). Introduce optional argument SORT (not
6404 yet used).
6405
6406 2012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
6407
6408 Enhancements for triple-quote string syntax.
6409 * progmodes/python.el (python-syntax-propertize-function):
6410 Match both quote cases in one regexp.
6411 (python-syntax-stringify): Handle matches properly.
6412
6413 2012-09-30 Juri Linkov <juri@jurta.org>
6414
6415 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
6416 to nil around the call to `insert' to prevent
6417 directory time modification by lock_file. (Bug#2295)
6418 * tar-mode.el (tar-summarize-buffer): Idem.
6419
6420 2012-09-30 Juri Linkov <juri@jurta.org>
6421
6422 * facemenu.el (list-colors-sort): Add option "Luminance".
6423 (list-colors-sort-key): Implement it.
6424
6425 * vc/diff-mode.el (diff-refine-removed):
6426 * vc/ediff-init.el (ediff-fine-diff-A):
6427 * vc/smerge-mode.el (smerge-refined-removed):
6428 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
6429
6430 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
6431
6432 * term/ns-win.el (x-file-dialog): New function.
6433
6434 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
6435
6436 * ido.el (ido-max-directory-size): Default to nil; the current
6437 default is small for POSIX systems, and impractical on Windows 7
6438 now that lstat returns directory sizes for NTFS.
6439
6440 2012-09-30 Martin Rudalics <rudalics@gmx.at>
6441
6442 In buffer display functions handle window-height/window-width
6443 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
6444 * window.el (window--display-buffer): New argument ALIST.
6445 Obey window-height and window-width alist entries.
6446 (window--try-to-split-window): New argument ALIST.
6447 Bind window-combination-limit to t when the window's size shall be
6448 changed and window-combination-limit equals `window-size'.
6449 (display-buffer-in-atom-window)
6450 (display-buffer-in-major-side-window)
6451 (display-buffer-in-side-window, display-buffer-same-window)
6452 (display-buffer-reuse-window, display-buffer-pop-up-frame)
6453 (display-buffer-pop-up-window, display-buffer-below-selected)
6454 (display-buffer-at-bottom, display-buffer-in-previous-window)
6455 (display-buffer-use-some-window): Adjust all callers of
6456 window--display-buffer and window--try-to-split-window.
6457 (fit-frame-to-buffer): New option.
6458 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
6459 is non-nil.
6460 (display-buffer-in-major-side-window): Evaluate window-height /
6461 window-width alist entries.
6462
6463 * help.el (temp-buffer-resize-frames)
6464 (temp-buffer-resize-regexps): Remove options.
6465 (temp-buffer-resize-mode): Adjust doc-string.
6466 (resize-temp-buffer-window): Don't consult
6467 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
6468 temp-buffer-resize-frames.
6469
6470 * dired.el (dired-mark-pop-up):
6471 Call display-buffer-below-selected with a fit-window-to-buffer alist
6472 entry.
6473
6474 2012-09-30 Chong Yidong <cyd@gnu.org>
6475
6476 * server.el (server-host): Document the security implications.
6477 (server-auth-key): Doc fix.
6478
6479 * startup.el (initial-buffer-choice): Doc fix.
6480
6481 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
6482
6483 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
6484 restriction change.
6485
6486 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
6487
6488 * help-fns.el (help-fns--obsolete): Fix last change.
6489
6490 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
6491
6492 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
6493 (minor-mode-map-alist): Remove redundant code.
6494
6495 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
6496 visited in a buffer.
6497 (cvs-insert-visited-file): New function.
6498 (find-file-hook): Use it.
6499
6500 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
6501
6502 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
6503 chose face.
6504 (log-edit-empty-buffer-p): Don't require a space after a header.
6505
6506 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
6507
6508 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
6509
6510 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
6511 a proper minor-mode.
6512
6513 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
6514
6515 2012-09-29 Glenn Morris <rgm@gnu.org>
6516
6517 * winner.el (winner-mode): Remove variable (let define-minor-mode
6518 handle it).
6519 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
6520 Doc fixes.
6521 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
6522 (winner-mode): Use define-minor-mode.
6523
6524 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
6525 the full definition in loaddefs, rather than duplicating it.
6526
6527 * help-macro.el (three-step-help): No need to autoload defcustom.
6528
6529 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
6530 (inferior-lisp-program, inferior-lisp-load-command)
6531 (inferior-lisp-prompt, inferior-lisp-mode-hook):
6532 No need to autoload defcustoms.
6533
6534 * hippie-exp.el (hippie-expand-try-functions-list)
6535 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
6536 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
6537 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
6538 (hippie-expand-only-buffers): No need to autoload defcustoms.
6539 * progmodes/vhdl-mode.el (vhdl-line-expand):
6540 Explicitly load hippie-exp, so it does not get autoloaded
6541 while hippie-expand-try-functions-list is let-bound.
6542
6543 2012-09-28 Glenn Morris <rgm@gnu.org>
6544
6545 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
6546
6547 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
6548 Only "cl.el" counts as cl these days.
6549
6550 2012-09-28 Juri Linkov <juri@jurta.org>
6551
6552 Display archive errors in the echo area instead of inserting
6553 to the file buffer.
6554
6555 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
6556 to STDERR-TEST that can be a regexp matching a successful output.
6557 Create a temporary file and redirect stderr to it. Search for
6558 STDERR-TEST in the stderr output and display it in the echo area
6559 if no match is found.
6560 (archive-extract-by-file): New function like
6561 `archive-extract-by-stdout' but extracting archives to files
6562 and looking for successful matches in stdout. Function body is
6563 mostly copied from `archive-rar-extract'.
6564 (archive-rar-extract): Use `archive-extract-by-file'.
6565 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
6566
6567 2012-09-28 Leo Liu <sdl.web@gmail.com>
6568
6569 * pcomplete.el (pcomplete-show-completions):
6570 Use minibuffer-message to make pcomplete usable in minibuffer.
6571
6572 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
6573
6574 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
6575
6576 * type-break.el: Use lexical-binding.
6577 (type-break-mode): Use define-minor-mode.
6578
6579 * emacs-lisp/pcase.el (pcase--mark-used): New.
6580 (pcase--u1): Use it (bug#12512).
6581
6582 * custom.el (load-theme): Set buffer-file-name so the load is recorded
6583 in load-history with the right file name.
6584
6585 2012-09-28 Tassilo Horn <tsdh@gnu.org>
6586
6587 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
6588 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
6589 (doc-view-get-bounding-box): Make bounding box slicing work for
6590 ODF and DVI documents.
6591
6592 2012-09-28 Glenn Morris <rgm@gnu.org>
6593
6594 * type-break.el (type-break-mode, type-break-interval)
6595 (type-break-good-rest-interval, type-break-keystroke-threshold):
6596 No need to autoload.
6597 (type-break-good-rest-interval, type-break-keystroke-threshold):
6598 Add :set-after.
6599
6600 2012-09-28 Chong Yidong <cyd@gnu.org>
6601
6602 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
6603 Add :version tag.
6604
6605 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
6606
6607 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
6608
6609 2012-09-27 Glenn Morris <rgm@gnu.org>
6610
6611 * faces.el (x-display-name): Declare (for without-x builds).
6612
6613 * linum.el (linum-format): Don't autoload it. Improve :type.
6614
6615 * progmodes/tcl.el: Don't require outline when compiling.
6616 (outline-regexp, outline-level): Declare.
6617 * textmodes/sgml-mode.el: Don't require outline when compiling.
6618 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
6619
6620 * term.el (term-ansi-reset):
6621 Try setting term-ansi-face-already-done to nil. (Bug#11785)
6622
6623 * vc/vc.el (vc-next-action): Only gripe about committing read-only
6624 files for RCS and SCCS. (Bug#9781)
6625
6626 2012-09-27 Chong Yidong <cyd@gnu.org>
6627
6628 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
6629 change; value should be t.
6630
6631 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
6632
6633 * image-mode.el: Use lexical-binding.
6634 (image-mode-winprops): Use t to stand for the window of
6635 a buffer that's not displayed.
6636 * doc-view.el (doc-view-new-window-function): Handle the new
6637 t in winprops.
6638 (doc-view-enlarge): Make it a real nop if the size is not changed.
6639 (doc-view-display): Handle the case where the buffer is not (yet?)
6640 displayed in any window.
6641 (doc-view-saved-settings): New var.
6642 (doc-view-mode): Use it.
6643 (doc-view-fallback-mode): Set it.
6644
6645 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
6646 Set lexical-binding.
6647 (minibuffer-eldef-shorten-default): New var.
6648 (minibuffer-default-in-prompt-regexps): Use it for new default.
6649 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
6650
6651 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
6652
6653 * international/uni-bidi.el:
6654 * international/uni-category.el:
6655 * international/uni-name.el:
6656 * international/uni-numeric.el: Regenerate.
6657
6658 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
6659 Stefan Monnier <monnier@iro.umontreal.ca>
6660
6661 * profiler.el: New file.
6662
6663 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
6664
6665 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
6666 (testcover-reinstrument): Simplify with CSE.
6667
6668 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
6669
6670 * window.el (temp-buffer-window-setup): Fix typo in docstring.
6671
6672 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
6673
6674 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
6675 (verilog-auto-input, verilog-auto-insert-lisp)
6676 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
6677 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
6678 (verilog-auto-unused, verilog-auto-wire)
6679 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
6680 newline. Reported by Andrew Jones.
6681 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
6682 Reported by Brad Dobbie.
6683 (verilog-batch-delete-trailing-whitespace):
6684 Create verilog-batch-delete-trailing-whitespace.
6685 Reported by Brad Dobbie.
6686 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
6687 parameters from another module. Reported by Dan Katz.
6688 (verilog-auto, verilog-auto-assign-modport)
6689 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
6690 AUTOINOUTMODPORT for UVM interface module shell generation.
6691 Reported by Brad Dobbie.
6692 (verilog-auto-inst-interfaced-ports): Make default nil, as more
6693 standard behavior.
6694 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
6695 Reported by Matt Martin.
6696
6697 2012-09-25 Martin Rudalics <rudalics@gmx.at>
6698
6699 * window.el (window--resize-child-windows): When resizing child
6700 windows proportionally, process them in reverse order to
6701 preserve the "when splitting a window the new one gets the odd
6702 line" behavior.
6703 (window--resize-root-window-vertically): When resizing the
6704 minibuffer window try to affect only windows at the bottom of the
6705 frame. (Bug#12419)
6706
6707 2012-09-25 Chong Yidong <cyd@gnu.org>
6708
6709 * subr.el (declare): Doc fix.
6710
6711 * help-fns.el (help-fns--obsolete): Handle macros properly.
6712
6713 2012-09-25 Chong Yidong <cyd@gnu.org>
6714
6715 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
6716 this function obsolete.
6717
6718 * calendar/cal-x.el (calendar-two-frame-setup)
6719 (calendar-only-one-frame-setup, calendar-one-frame-setup):
6720 * calendar/calendar.el (american-calendar, european-calendar)
6721 (calendar-for-loop):
6722 * comint.el (comint-dynamic-simple-complete)
6723 (comint-dynamic-complete-as-filename, comint-unquote-filename):
6724 * desktop.el (desktop-load-default):
6725 * dired-x.el (dired-omit-here-always)
6726 (dired-hack-local-variables, dired-default-directory):
6727 * emacs-lisp/derived.el (derived-mode-class):
6728 * emacs-lisp/timer.el (timer-set-time-with-usecs):
6729 * emacs-lock.el (toggle-emacs-lock):
6730 * epa.el (epa-display-verify-result):
6731 * epg.el (epg-sign-keys, epg-start-sign-keys)
6732 (epg-passphrase-callback-function):
6733 * eshell/esh-util.el (eshell-for):
6734 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
6735 (eshell-add-to-window-buffer-names):
6736 * files.el (locate-file-completion):
6737 * imenu.el (imenu-example--create-c-index)
6738 (imenu-example--create-lisp-index)
6739 (imenu-example--lisp-extract-index-name)
6740 (imenu-example--name-and-position):
6741 * international/mule-cmds.el (princ-list):
6742 * international/mule-diag.el (decode-codepage-char):
6743 * international/mule-util.el (detect-coding-with-priority):
6744 * iswitchb.el (iswitchb-read-buffer):
6745 * mail/mailalias.el (mail-complete):
6746 * mail/sendmail.el (mail-sent-via):
6747 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
6748 (mouse-major-mode-menu):
6749 * password-cache.el (password-read-and-add):
6750 * pcomplete.el (pcomplete-parse-comint-arguments):
6751 * progmodes/sh-script.el (sh-maybe-here-document):
6752 * replace.el (query-replace-regexp-eval):
6753 * savehist.el (savehist-load):
6754 * simple.el (choose-completion-delete-max-match):
6755 * term.el (term-dynamic-simple-complete):
6756 * vc/ediff-init.el (ediff-check-version):
6757 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
6758 * vc/vc.el (vc-diff-switches-list):
6759 * view.el (view-return-to-alist-update): Likewise.
6760
6761 * subr.el (eval-next-after-load, makehash, insert-string)
6762 (assoc-ignore-representation, assoc-ignore-case): Use declare to
6763 mark obsolete.
6764 (mode-line-inverse-video): Variable deleted.
6765
6766 * international/mule-util.el (string-to-sequence): Remove.
6767
6768 * calendar/calendar.el (calendar-version):
6769 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
6770 (icalendar-convert-diary-to-ical):
6771 * cus-edit.el (custom-mode):
6772 * ansi-color.el (ansi-color-unfontify-region):
6773 * international/latin1-disp.el (latin1-char-displayable-p):
6774 * progmodes/cwarn.el (turn-on-cwarn-mode):
6775 * progmodes/which-func.el (which-func-update-1):
6776 Use define-obsolete-function-alias.
6777
6778 * net/newst-backend.el (newsticker-cache-filename):
6779 * net/newst-treeview.el (newsticker-groups-filename):
6780 Fix incorrect obsolescence declaration.
6781
6782 * allout.el (allout-passphrase-hint-string): Likewise.
6783 (allout-init): Use a declare form to mark obsolete.
6784
6785 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
6786 this applies to functions.
6787
6788 * iswitchb.el (iswitchb-read-buffer): Move code of
6789 iswitchb-define-mode-map here, and delete that obsolete function.
6790
6791 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
6792 font-lock-reference-face.
6793
6794 2012-09-25 Glenn Morris <rgm@gnu.org>
6795
6796 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
6797 Doc fixes.
6798
6799 * eshell/em-term.el (eshell-term-name):
6800 Default to term-term-name. (Bug#12485)
6801
6802 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
6803
6804 * progmodes/python.el (python-shell-send-buffer): Better handling
6805 of "if __name__ == '__main__':" conditionals when sending the buffer.
6806
6807 2012-09-24 Glenn Morris <rgm@gnu.org>
6808
6809 * eshell/esh-cmd.el (eshell-find-alias-function):
6810 Tighten up file-name regexp. (Bug#12499)
6811
6812 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
6813
6814 Enhancements for triple-quote string syntax.
6815 * progmodes/python.el (python-quote-syntax): Remove.
6816 (python-syntax-propertize-function): New value.
6817 (python-syntax-count-quotes, python-syntax-stringify):
6818 New functions.
6819
6820 2012-09-24 Chong Yidong <cyd@gnu.org>
6821
6822 * mail/supercite.el (sc-version): Remove obsolete function.
6823 (sc-describe): Don't mark as obsolete, since it is bound.
6824 (sc-submit-bug-report): Remove.
6825
6826 * vc/log-edit.el (cvs-changelog-full-paragraphs)
6827 (cvs-commit-buffer-require-final-newline): Remove.
6828 (log-edit-require-final-newline)
6829 (log-edit-changelog-full-paragraphs): Default to t.
6830
6831 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
6832 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
6833 * vc/vc.el (vc-checkout-carefully): Likewise.
6834
6835 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
6836 (emerge-version): Remove.
6837
6838 * progmodes/compile.el (compile-internal): Remove.
6839 (compilation-parse-errors-function): Fix typo.
6840
6841 * international/mule.el (set-char-table-default): Remove.
6842 (set-coding-priority, make-coding-system, generic-char-p)
6843 (charset-list, charset-bytes, charset-id): Use declare to mark
6844 functions as obsolete.
6845
6846 * vc/pcvs-defs.el (cvs-buffer-name-alist)
6847 (cvs-invert-ignore-marks): Remove references to obsolete vars.
6848 * vc/vc-hooks.el (vc-default-registered): Don't use
6849 vc-master-templates.
6850
6851 * font-lock.el (font-lock-reference-face):
6852 Use define-obsolete-variable-alias.
6853
6854 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
6855 * calendar/calendar.el (calendar-font-lock-keywords):
6856 * calendar/diary-lib.el (diary-font-lock-keywords)
6857 (diary-fancy-font-lock-keywords):
6858 * textmodes/reftex-sel.el (reftex-insert-docstruct):
6859 * textmodes/reftex-index.el (reftex-insert-index):
6860 * textmodes/reftex-cite.el (reftex-format-bib-entry):
6861 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6862 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
6863 * progmodes/prolog.el (prolog-font-lock-keywords):
6864 * progmodes/idlwave.el (idlwave-idl-keywords):
6865 * progmodes/ada-mode.el (ada-font-lock-keywords):
6866 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
6867
6868 2012-09-24 Glenn Morris <rgm@gnu.org>
6869
6870 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
6871
6872 2012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
6873
6874 * progmodes/python.el (python-indent-line): More consistent cursor
6875 movement behavior.
6876
6877 2012-09-23 Stefan Merten <smerten@oekonux.de>
6878
6879 * textmodes/rst.el: Fix compiler warning.
6880
6881 2012-09-23 Roland Winkler <winkler@gnu.org>
6882
6883 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
6884 Transcribe also LaTeX hyphenation.
6885 (bibtex-reformat): Bug fix. Do not quote twice the elements of
6886 bibtex-reformat-previous-options.
6887
6888 2012-09-23 Roland Winkler <winkler@gnu.org>
6889
6890 * proced.el (proced-renice-command): New variable.
6891 (proced-marked-processes): New function.
6892 (proced-with-processes-buffer): New macro.
6893 (proced-send-signal): Use them.
6894 (proced-renice): New command bound to r.
6895
6896 2012-09-23 Roland Winkler <winkler@gnu.org>
6897
6898 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
6899 ibuffer-saved-filter-groups has one element, shortcut the call of
6900 completing-read. (Bug#12331)
6901
6902 2012-09-23 Chong Yidong <cyd@gnu.org>
6903
6904 * bindings.el (mode-line-toggle-read-only):
6905 * bs.el (bs-toggle-readonly):
6906 * buff-menu.el (Buffer-menu-toggle-read-only):
6907 * dired.el (dired-toggle-read-only):
6908 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
6909
6910 2012-09-23 Chong Yidong <cyd@gnu.org>
6911
6912 * image.el (image-type-available-p): Adapt to init-image-library
6913 argument changes.
6914
6915 2012-09-22 Juri Linkov <juri@jurta.org>
6916
6917 * dired.el (dired-mode-map): Add [remap read-only-mode] for
6918 `dired-toggle-read-only'. (Bug#12462)
6919
6920 2012-09-22 Martin Rudalics <rudalics@gmx.at>
6921
6922 * subr.el (temp-output-buffer-show): New function.
6923 (with-output-to-temp-buffer): Call temp-output-buffer-show
6924 instead of internal-temp-output-buffer-show.
6925
6926 2012-09-22 Chong Yidong <cyd@gnu.org>
6927
6928 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
6929 (Bug#12462).
6930
6931 * repeat.el (repeat): Doc fix (Bug#12348).
6932
6933 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
6934 (Bug#10909).
6935
6936 * simple.el (shell-command-on-region): Doc fix.
6937 (read-only-mode): Doc fix.
6938
6939 2012-09-22 Eli Zaretskii <eliz@gnu.org>
6940
6941 * emacs-lisp/timer.el (run-with-idle-timer)
6942 (timer-activate-when-idle): Warn against reinvoking an idle timer
6943 from within its own timer action. (Bug#12447)
6944
6945 2012-09-22 Martin Rudalics <rudalics@gmx.at>
6946
6947 * cus-start.el (window-combination-limit): Add new optional
6948 values.
6949 * window.el (temp-buffer-window-show)
6950 (window--try-to-split-window): Handle new values of
6951 window-combination-limit (Bug#1806).
6952 (split-window): Test window-combination-limit for t instead of
6953 non-nil.
6954 (display-buffer-at-bottom): New buffer display action function.
6955 * help.el (temp-buffer-resize-regexps): New option.
6956 (temp-buffer-resize-mode): Rewrite doc-string.
6957 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
6958 Don't resize reused window. Suggested by Glenn Morris.
6959
6960 2012-09-22 Stefan Merten <smerten@oekonux.de>
6961
6962 * textmodes/rst.el: Revamp section title faces.
6963 (rst-official-version)
6964 (rst-package-emacs-version-alist): Sync with official version
6965 V1.4.0.
6966 (rst-faces-defaults, rst-set-level-default)
6967 (rst-level-face-max, rst-level-face-base-color)
6968 (rst-level-face-base-light, rst-level-face-format-light)
6969 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
6970 (rst-adornment-faces-alist): Match new setup.
6971 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
6972 (rst-level-5, rst-level-6): New faces.
6973
6974 2012-09-22 Chong Yidong <cyd@gnu.org>
6975
6976 * simple.el (undo): Handle indirect buffers (Bug#8207).
6977
6978 2012-09-21 Leo Liu <sdl.web@gmail.com>
6979
6980 IDO: Disable match re-ordering for buffer switching.
6981 * ido.el (ido-buffer-disable-smart-matches): New variable.
6982 (ido-set-matches-1): Use it. (Bug#2042)
6983
6984 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
6985
6986 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
6987 Fix 2011-05-17 change. (Bug#12418)
6988
6989 2012-09-21 Leo Liu <sdl.web@gmail.com>
6990
6991 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
6992
6993 2012-09-21 Glenn Morris <rgm@gnu.org>
6994
6995 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
6996 Be more robust about locating simple.el.
6997
6998 2012-09-21 Glenn Morris <rgm@gnu.org>
6999
7000 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
7001
7002 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
7003
7004 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
7005
7006 2012-09-20 Juri Linkov <juri@jurta.org>
7007
7008 * replace.el (query-replace-read-from): Use `read-regexp' instead
7009 of `read-from-minibuffer' when `regexp-flag' is non-nil.
7010 (occur-read-primary-args): Use `read-regexp' instead of
7011 `read-string'.
7012 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
7013 `read-from-minibuffer'.
7014 * isearch.el (isearch-occur): Use `read-regexp' instead of
7015 `read-string'.
7016 * dired.el (dired-read-regexp): Use `read-regexp' instead of
7017 `read-from-minibuffer'.
7018 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
7019 of `read-string'. (Bug#7567)
7020
7021 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
7022 and allow accepting a list of strings prepended to a list of
7023 standard default values. Doc fix. (Bug#12321)
7024
7025 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
7026
7027 * replace.el (read-regexp): Don't add ": " when PROMPT already
7028 ends with a colon and space. (Bug#12321)
7029
7030 2012-09-20 Tassilo Horn <tsdh@gnu.org>
7031
7032 * doc-view.el (doc-view-display): Better fix for the cl-assertion
7033 error.
7034
7035 2012-09-20 Stefan Merten <smerten@oekonux.de>
7036
7037 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
7038 Fixes feature request bug#11711.
7039 (rst-mode): Create `imenu-create-index-function'.
7040 (rst-get-stripped-line): Delete after refactoring.
7041 (rst-section-tree, rst-section-tree-rec)
7042 (rst-section-tree-point): Refactor and document properly.
7043 (rst-imenu-find-adornments-for-position)
7044 (rst-imenu-convert-cell, rst-imenu-create-index):
7045 New function.
7046
7047 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
7048
7049 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
7050 (macroexp--expand-all): Use it.
7051 (macroexp--funcall-and-return): Remove by folding it into its sole
7052 caller (macroexp--warn-and-return).
7053 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
7054 Use macroexp--obsolete-warning.
7055
7056 * calc/calc.el: Fix last change by removing the whole chunk, since it
7057 was only needed back when Calc was not bundled.
7058
7059 2012-09-20 Martin Rudalics <rudalics@gmx.at>
7060
7061 * emacs-lisp/debug.el (debug): Restore assignment to
7062 debugger-old-buffer removed on 2012-09-08.
7063
7064 2012-09-20 Juri Linkov <juri@jurta.org>
7065
7066 * dired-aux.el (dired-diff): Remove (require 'diff) since
7067 `diff-latest-backup-file' is now autoloaded.
7068
7069 2012-09-20 Chong Yidong <cyd@gnu.org>
7070
7071 * vc/diff.el (diff-latest-backup-file): Autoload.
7072
7073 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
7074
7075 * calc/calc.el: Remove redundant autoload shape check.
7076 (sel-mode): Don't defvar.
7077 (calc-get-stack-element): Add `sel-mode' arg instead.
7078 (calc-top, calc-top-list): Pass it this additional argument.
7079 * calc/calc-store.el (calc-store-map):
7080 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
7081 (calc-map-equation, calc-outer-product, calc-inner-product):
7082 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
7083
7084 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
7085
7086 2012-09-19 Juri Linkov <juri@jurta.org>
7087
7088 * dired-aux.el (dired-diff): Add (require 'diff) because
7089 `diff-latest-backup-file' is not autoloaded.
7090 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
7091 of `dired-get-filename' to t to not report error when there is
7092 no default file on the current line.
7093
7094 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7095
7096 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
7097 macroexp--eval-if-compile.
7098 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
7099 (macroexp--expand-all): Use them (bug#12371).
7100
7101 * doc-view.el (doc-view-guess-paper-size)
7102 (doc-view-scale-bounding-box): Fix unbound `caddr'.
7103
7104 2012-09-19 Tassilo Horn <tsdh@gnu.org>
7105
7106 New feature: set optimal slice from BoundingBox information.
7107 * doc-view.el (doc-view-mode-map): Add keybinding.
7108 (doc-view-menu): Add menu entry.
7109 (doc-view-set-slice): Adapt docstring.
7110 (doc-view-get-bounding-box, doc-view-guess-paper-size)
7111 (doc-view-scale-bounding-box)
7112 (doc-view-set-slice-from-bounding-box): New functions.
7113 (doc-view-paper-sizes): New defvar.
7114
7115 2012-09-19 Glenn Morris <rgm@gnu.org>
7116
7117 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
7118 (byte-compile-log-warning): Autoload. (Bug#12371)
7119
7120 * calendar/calendar.el (calendar-american-month-header)
7121 (calendar-european-month-header, calendar-iso-month-header)
7122 (calendar-month-header): New options.
7123 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
7124 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
7125
7126 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
7127
7128 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
7129
7130 2012-09-18 Juri Linkov <juri@jurta.org>
7131
7132 * dired-aux.el (dired-diff): Restore original functionality of
7133 getting the default value, but keep new feature of using the
7134 latest existing backup file (`diff-latest-backup-file').
7135
7136 2012-09-18 Juri Linkov <juri@jurta.org>
7137
7138 * dired.el (dired-mark): If the region is active in Transient Mark
7139 mode, mark all files in the active region. Doc fix.
7140 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
7141 Doc fix. (Bug#10624)
7142
7143 2012-09-18 Juri Linkov <juri@jurta.org>
7144
7145 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
7146 attributes for M-n are pulled from the file at point.
7147 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
7148 Suggested by Drew Adams. (Bug#10624)
7149
7150 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
7151
7152 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
7153 whitespace after "end".
7154 (ruby-do-end-to-brace): Collapse block to one line if it fits
7155 within fill-column.
7156
7157 2012-09-18 Martin Rudalics <rudalics@gmx.at>
7158
7159 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
7160 value.
7161 (debug): Don't remove debugger window when debugger is expected
7162 to be back.
7163
7164 2012-09-18 Chong Yidong <cyd@gnu.org>
7165
7166 * custom.el (defface): Doc fix.
7167
7168 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
7169
7170 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
7171
7172 * progmodes/compile.el (compilation-start): Use compilation-always-kill
7173 to initialize query-on-exit; then test that instead (bug#12288).
7174
7175 2012-09-17 Stefan Merten <smerten@oekonux.de>
7176
7177 * textmodes/rst.el: Add support for `testcover'.
7178 (rst-defcustom-testcover, rst-testcover-add-compose)
7179 (rst-testcover-add-1value): New functions.
7180 (rst-portable-mark-active-p): Replace by `use-region-p'.
7181 (rst-update-section, rst-classify-adornment)
7182 (rst-find-title-line): Mark `1value' forms.
7183 (rst-classify-adornment): Remove superfluous form.
7184 (rst-update-section, rst-get-adornments-around)
7185 (rst-adornment-complete-p, rst-get-next-adornment)
7186 (rst-adjust, rst-promote-region)
7187 (rst-display-adornments-hierarchy, rst-straighten-adornments)
7188 (rst-find-pfx-in-region, rst-section-tree-rec)
7189 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
7190 (rst-toc-node, rst-toc, rst-forward-section)
7191 (rst-iterate-leftmost-paragraphs)
7192 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
7193 (rst-bullet-list-region)
7194 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
7195 (rst-compile-find-conf, rst-compile)
7196 (rst-repeat-last-character): Fix style.
7197
7198 2012-09-17 Chong Yidong <cyd@gnu.org>
7199
7200 * comint.el (comint--complete-file-name-data): Don't add a space
7201 if the status is `sole'; that adds a gratuitous space in the
7202 completion-cycling case (Bug#12092).
7203
7204 * pcomplete.el (pcomplete-completions-at-point): Likewise.
7205
7206 2012-09-17 Richard Stallman <rms@gnu.org>
7207
7208 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
7209 only in the mime-shown mode, not in raw mode.
7210 (rmail-mime): Toggle off mime by displaying the message without
7211 mime processing. (Bug#12305)
7212
7213 * mail/rmail.el (rmail-retry-failure):
7214 Turn off mime processing first. (Bug#12037)
7215
7216 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
7217
7218 2012-09-17 Chong Yidong <cyd@gnu.org>
7219
7220 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
7221 (shell-dynamic-complete-functions): Convert to defcustom.
7222 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
7223
7224 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
7225 * comint.el (comint-prompt-read-only):
7226 * custom.el (defcustom):
7227 * hi-lock.el (hi-lock-mode):
7228 * ibuffer.el (ibuffer-formats):
7229 * ielm.el (ielm-prompt-read-only):
7230 * novice.el (disable-command):
7231 * saveplace.el (toggle-save-place):
7232 * speedbar.el (speedbar-supported-extension-expressions):
7233 * startup.el (auto-save-list-file-prefix, init-file-user)
7234 (after-init-hook, inhibit-startup-echo-area-message):
7235 * strokes.el (strokes-help):
7236 * time-stamp.el (time-stamp):
7237 * calendar/calendar.el (calendar, diary-file):
7238 * calendar/diary-lib.el (diary-mail-entries, diary)
7239 (diary-list-entries-hook):
7240 * calendar/holidays.el (holidays, calendar-holidays):
7241 * calendar/lunar.el (lunar-phases):
7242 * calendar/solar.el (sunrise-sunset):
7243 * emulation/edt.el (edt-load-keys):
7244 * emulation/viper.el (viper-mode):
7245 * eshell/em-alias.el (eshell-command-aliases-list):
7246 * eshell/esh-util.el (eshell-convert-numeric-arguments):
7247 * international/ogonek.el (ogonek-information):
7248 * net/tramp-cmds.el (tramp-bug):
7249 * net/quickurl.el (quickurl-reread-hook-postfix):
7250 * play/decipher.el (decipher-font-lock-keywords):
7251 * progmodes/cc-styles.el (c-set-style):
7252 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
7253 * progmodes/inf-lisp.el (inferior-lisp-prompt):
7254 * progmodes/octave-mod.el (octave-mode):
7255 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
7256 * progmodes/verilog-mode.el (verilog-read-defines):
7257 * textmodes/two-column.el (2C-mode): Likewise.
7258
7259 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
7260
7261 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
7262 that holds many addresses.
7263
7264 2012-09-16 Chong Yidong <cyd@gnu.org>
7265
7266 * align.el (align-areas): Call the indication function with
7267 positions instead of markers for arguments (Bug#12343).
7268
7269 * files.el (parse-colon-path): Use split-string (Bug#12351).
7270
7271 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
7272 (display-buffer-function): Mark as obsolete.
7273
7274 * progmodes/compile.el (compilation-parse-errors): Accept list
7275 values similar to font-lock-keywords (Bug#12136).
7276 Suggested by Oleksandr Manzyuk.
7277 (compilation-error-regexp-alist): Doc fix.
7278
7279 2012-09-15 Glenn Morris <rgm@gnu.org>
7280
7281 * version.el (emacs-bzr-version-bzr): New function.
7282 (emacs-bzr-get-version): Add optional EXTERNAL argument.
7283
7284 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
7285 checkouts, check the parent dirstate matches the branch.
7286 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
7287 empty string.
7288
7289 * version.el (emacs-bzr-version): Doc fix.
7290 (emacs-bzr-version-dirstate): New function.
7291 (emacs-bzr-get-version): For lightweight checkouts, if the parent
7292 is local try and check that it matches the branch. If not, just
7293 use dirstate information. (Bug#12441)
7294
7295 2012-09-14 Juri Linkov <juri@jurta.org>
7296
7297 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
7298 (Bug#12399)
7299
7300 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
7301
7302 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
7303
7304 * emacs-lisp/edebug.el: Miscellaneous cleanup.
7305 Remove obsolete byte-compiler hack that tried to silence some warnings.
7306 (edebug-submit-bug-report): Remove.
7307 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
7308 Remove aliases, use the un-prefixed name instead.
7309 (edebug-pop-to-buffer): Consider other frames.
7310 (edebug-original-read):: Make it more obvious that it's always defined.
7311 (edebug--make-form-data-entry, edebug--form-data-name)
7312 (edebug--form-data-begin, edebug--form-data-end): Rename from the
7313 single-dashed name, and implement with cl-defstruct.
7314 (edebug-set-form-data-entry): Use the standard accessors.
7315 (edebug-make-top-form-data-entry): Use push.
7316 (edebug-no-match): Drop useless `funcall'.
7317 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
7318 to functions.
7319 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
7320 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
7321 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
7322 (easy-menu-define, with-custom-print): Remove redundant specs.
7323 (edebug-outside-overriding-local-map)
7324 (edebug-outside-overriding-terminal-local-map): Remove, unused.
7325 (edebug--display): Bind unread-command-events directly to nil rather
7326 than binding it to unread-command-events and later setting it to nil.
7327 (edebug--display): Kill edebug-eval-buffer here...
7328 (edebug--recursive-edit): ...rather than here.
7329 Bind standard-output and standard-input.
7330 (edebug-eval): Check cl-macroexpand-all is fboundp.
7331 (edebug-temp-display-freq-count): Fix last change.
7332
7333 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
7334 * subr.el (noreturn, 1value): Add `debug' spec.
7335 * emacs-lisp/advice.el: Require cl-lib.
7336 (ad-copy-tree): Remove, use copy-tree instead.
7337 (ad-dolist): Remove use dolist or cl-dolist instead.
7338 (ad-do-return): Remove, use cl-return instead.
7339 (defadvice): Add `debug' spec.
7340
7341 2012-09-13 Juri Linkov <juri@jurta.org>
7342
7343 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
7344 (Bug#12399)
7345
7346 2012-09-13 Glenn Morris <rgm@gnu.org>
7347
7348 * calc/calc.el (math-compose-expr):
7349 * calc/calc-ext.el (math-compose-expr):
7350 * progmodes/cc-defs.el (cl-macroexpand-all):
7351 * progmodes/cc-langs.el (delete-duplicates, mapcan)
7352 (cl-macroexpand-all): Update declarations.
7353
7354 * vc/vc.el: No need to require ediff.
7355 (ediff-load-version-control): Declare.
7356 (ediff-vc-internal): Fix declaration.
7357 (vc-version-ediff): Require ediff.
7358
7359 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
7360
7361 Use a more backwards-compatible timer format (Bug#12430).
7362 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
7363 being right after USECS, as that better supports old code that
7364 inadvisedly looked directly at the timer vector.
7365
7366 2012-09-13 Kenichi Handa <handa@gnu.org>
7367
7368 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
7369 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
7370 `coding-priority' property of these language environment.
7371
7372 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
7373
7374 Fix glitches caused by addition of psec to timers (Bug#12430).
7375 * image.el (image-animate-timer):
7376 * time.el (display-time-world-timer):
7377 Use timer--function and timer--args rather than raw access to
7378 timer vector.
7379
7380 2012-09-13 Glenn Morris <rgm@gnu.org>
7381
7382 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
7383 If not compiling a file, try using load-file-name.
7384
7385 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
7386
7387 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
7388 Fix last change.
7389 (edebug-update-eval-list): Use `push'.
7390
7391 * emacs-lisp/edebug.el: Use lexical-binding.
7392 Remove the "edebug-" prefix from non-dynamically-scoped variables.
7393 Mark unused args with underscore.
7394 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
7395 (edebug-form-data): Use defvar-local.
7396 (edebug-make-before-and-after-form, edebug-make-after-form):
7397 Use backquote.
7398 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
7399 Not dynamically scoped any more.
7400 (edebug--enter-trace): Add arguments `function' and `args'.
7401 Rename from edebug-enter-trace.
7402 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
7403 (edebug--update-coverage): Add `after-index' and `value' args.
7404 Rename from edebug-update-coverage.
7405 (edebug-slow-after): Call it accordingly.
7406 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
7407 edebug-recursive-edit.
7408 (edebug--display): Call it accordingly. Add args `value',
7409 `offset-index', and `arg-mode'. Rename from edebug-display.
7410 (edebug-debugger, edebug): Call it accordingly.
7411 (edebug-eval-display-list): Use dolist.
7412
7413 2012-09-12 Juri Linkov <juri@jurta.org>
7414
7415 * info.el (Info-search): Don't check for isearch-mode and
7416 isearch-regexp before let-binding search-spaces-regexp to
7417 Info-search-whitespace-regexp.
7418 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
7419 search-whitespace-regexp if isearch-lax-whitespace or
7420 isearch-regexp-lax-whitespace is non-nil.
7421 (Info-mode): Don't set local variable search-whitespace-regexp.
7422 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
7423
7424 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7425
7426 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
7427 (debugger-env-macro): Remove support for unread-command-char.
7428
7429 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
7430 the temporary map re-appearing on emulation-mode-map-alists.
7431
7432 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
7433 since 22.1.
7434
7435 * ehelp.el (with-electric-help): Accept functions in
7436 electric-help-form-to-execute.
7437 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
7438 And replace unread-command-char -> unread-command-events.
7439
7440 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
7441
7442 Sync with Tramp 2.2.6.
7443
7444 * net/tramp.el (tramp-accept-process-output): Don't use
7445 JUST-THIS-ONE in the XEmacs case.
7446
7447 * net/trampver.el: Update release number.
7448
7449 2012-09-12 Martin Rudalics <rudalics@gmx.at>
7450
7451 * emacs-lisp/debug.el (debugger-previous-window-height):
7452 New variable.
7453 (debug): When debugger-jumping-flag is non-nil try to restore
7454 height of debugger window. (Bug#8789)
7455
7456 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7457
7458 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
7459 overriding-local-map and pre/post-command-hook here.
7460 (edebug-recursive-edit): Do it here instead (bug#12345).
7461 (edebug-outside-unread-command-char): Remove all uses of
7462 unread-command-char.
7463
7464 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
7465 inhibit-debugger is bound instead.
7466
7467 2012-09-11 Bastien Guerry <bzg@gnu.org>
7468
7469 * subr.el (set-temporary-overlay-map): Add a docstring.
7470 (Bug#12346)
7471
7472 2012-09-11 Bastien Guerry <bzg@gnu.org>
7473
7474 * minibuffer.el (completion-table-subvert): Fix docstring.
7475 (Bug#12347)
7476
7477 2012-09-11 Bastien Guerry <bzg@gnu.org>
7478
7479 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
7480
7481 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
7482
7483 * progmodes/sql.el: Version 3.1
7484 (sql-db2-escape-newlines): New variable.
7485 (sql-escape-newlines-filter): Use it.
7486
7487 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
7488
7489 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
7490
7491 2012-09-10 Dan Nicolaescu <dann@gnu.org>
7492
7493 * vc/diff-mode.el (diff-mode-menu):
7494 Bind diff-remove-trailing-whitespace.
7495
7496 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
7497
7498 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
7499 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
7500 (emacs-lisp-byte-code-mode): New functions.
7501 (eval-sexp-add-defvars): Don't skip defvars in column >0.
7502 (eval-defun-2): Remove bogus interactive spec.
7503 (lisp-indent-line): Remove redundant whole-exp code, now done in
7504 indent-according-to-mode.
7505 (save-match-data): Remove redundant indent data.
7506
7507 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
7508 Use `declare'.
7509
7510 2012-09-09 Juri Linkov <juri@jurta.org>
7511
7512 * replace.el (replace-regexp-lax-whitespace): New defcustom.
7513 (replace-lax-whitespace, query-replace-regexp)
7514 (query-replace-regexp-eval, replace-regexp): Doc fix.
7515 (perform-replace, replace-highlight): Let-bind
7516 isearch-lax-whitespace to replace-lax-whitespace and
7517 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
7518
7519 * isearch.el (isearch-query-replace): Let-bind
7520 replace-lax-whitespace to isearch-lax-whitespace and
7521 replace-regexp-lax-whitespace to
7522 isearch-regexp-lax-whitespace. (Bug#10885)
7523
7524 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
7525
7526 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
7527
7528 2012-09-09 Alan Mackenzie <acm@muc.de>
7529
7530 * progmodes/cc-engine.el (c-state-cache-init):
7531 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
7532 (c-record-parse-state-state):
7533 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
7534
7535 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
7536
7537 * register.el (register-separator): Rename from
7538 separator-register. All uses changed. Doc fix.
7539 (register): Fix version.
7540
7541 2012-09-09 Chong Yidong <cyd@gnu.org>
7542
7543 * replace.el (query-replace-map): Bind four new symbols for
7544 requesting window scrolling.
7545
7546 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
7547 query-replace-map (Bug#8948).
7548
7549 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
7550
7551 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
7552 since they are now in query-replace-map.
7553
7554 * window.el (scroll-other-window-down): Make the arg optional.
7555
7556 2012-09-09 Chong Yidong <cyd@gnu.org>
7557
7558 * files.el (hack-local-variables-confirm): Use quit-window to kill
7559 the *Local Variables* buffer.
7560
7561 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
7562
7563 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
7564 not just expect to be at its beginning. Adjust callees.
7565 Succeed when do-end block has no space before the pipe character.
7566 (ruby-brace-to-do-end): When the original block is one-liner,
7567 convert to multiline. Reindent the result.
7568
7569 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
7570
7571 * register.el (register): New group.
7572 (separator-register): New user option.
7573 (increment-register): Route it to `append-to-register', if
7574 register contains text. Implication is that `C-x r +' can now be
7575 used for appending to a text register (bug#12217).
7576 (append-to-register, prepend-to-register): Add separator based on
7577 `separator-register'.
7578
7579 2012-09-08 Alan Mackenzie <acm@muc.de>
7580
7581 AWK Mode: make auto-newline work when there's "==" in the pattern.
7582 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
7583 correctly.
7584 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
7585 Test more rigorously for "=" token.
7586
7587 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
7588
7589 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
7590 Only fail when reached LIMIT.
7591
7592 2012-09-08 Chong Yidong <cyd@gnu.org>
7593
7594 * dired.el (dired-mode-map): Don't bind M-=.
7595
7596 * dired-aux.el (dired-diff): Use backup file as default.
7597
7598 2012-09-08 Drew Adams <drew.adams@oracle.com>
7599
7600 * subr.el (add-to-history): Fix delete usage (Bug#12314).
7601
7602 2012-09-08 Chong Yidong <cyd@gnu.org>
7603
7604 * subr.el (syntax-after, syntax-class): Doc fix.
7605
7606 2012-09-08 Martin Rudalics <rudalics@gmx.at>
7607
7608 * window.el (display-buffer-in-previous-window): New buffer
7609 display action function.
7610
7611 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
7612 (debugger-previous-window): New variable.
7613 (debug): Rewrite using display-buffer-in-previous-window,
7614 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
7615
7616 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
7617
7618 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
7619
7620 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
7621
7622 * progmodes/python.el (python-shell-send-string):
7623 When default-directory is remote, create temp file on remote
7624 filesystem.
7625 (python-shell-send-file): When file is remote, pass local view of
7626 file paths to remote Python interpreter. (Bug#12340)
7627
7628 2012-09-07 Chong Yidong <cyd@gnu.org>
7629
7630 * window.el (switch-to-buffer): Doc fix (Bug#12181).
7631
7632 * files.el (after-find-file): Don't fail on a read-only buffer if
7633 require-final-newline is `visit' or `visit-save' (Bug#11156).
7634
7635 * subr.el (read-char-choice): Allow quitting via ESC ESC.
7636
7637 * userlock.el (ask-user-about-supersession-threat):
7638 Use read-char-choice (Bug#12093).
7639
7640 2012-09-07 Chong Yidong <cyd@gnu.org>
7641
7642 * subr.el (buffer-narrowed-p): New function.
7643
7644 * ses.el (ses-widen):
7645 * simple.el (count-words--buffer-message):
7646 * net/browse-url.el (browse-url-of-buffer): Use it.
7647
7648 * simple.el (count-words-region): Don't signal an error if there
7649 is a non-nil prefix arg and the mark is not set.
7650
7651 * help.el (describe-key-briefly): Allow the message to be seen
7652 when invoked from the minibuffer (Bug#7014).
7653
7654 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
7655
7656 * progmodes/ruby-mode.el (ruby-end-of-defun)
7657 (ruby-beginning-of-defun): Simplify, allow indentation before
7658 block beginning and end keywords.
7659 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
7660 (ruby-end-of-defun): Expect that the point is at the beginning of
7661 the defun.
7662
7663 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7664
7665 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
7666 (bug#12367).
7667 (cl--make-usage-args): Strip _ from argument names.
7668
7669 2012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7670
7671 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
7672 obsolete alias speedbar-key-map.
7673 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
7674 (vhdl-index-menu-init): Don't use obsolete variable
7675 font-lock-maximum-size.
7676
7677 2012-09-06 Chong Yidong <cyd@gnu.org>
7678
7679 * frame.el (window-system-version): Mark as obsolete.
7680
7681 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
7682 of obsolete variable speedbar-key-map.
7683
7684 2012-09-06 Juri Linkov <juri@jurta.org>
7685
7686 * replace.el (replace-lax-whitespace): New defcustom.
7687 (query-replace, query-replace-regexp, query-replace-regexp-eval)
7688 (replace-string, replace-regexp): Mention it in docstrings.
7689 (perform-replace, replace-highlight): Let-bind
7690 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
7691 to the values of replace-lax-whitespace and regexp-flag.
7692 Don't let-bind search-whitespace-regexp. (Bug#10885)
7693
7694 * isearch.el (isearch-query-replace): Let-bind
7695 replace-lax-whitespace instead of let-binding
7696 replace-search-function and replace-re-search-function.
7697 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
7698 and isearch-regexp-lax-whitespace to lazy-highlight variables.
7699 (isearch-toggle-symbol): Set isearch-regexp to nil
7700 in isearch-word mode (like in isearch-toggle-word).
7701
7702 2012-09-06 Juri Linkov <juri@jurta.org>
7703
7704 * replace.el (replace-search-function)
7705 (replace-re-search-function): Set default values to nil.
7706 (perform-replace): Let-bind isearch-related variables based on
7707 replace-related values, call `isearch-search-fun' and let-bind
7708 the result to `search-function'. Remove code that sets
7709 `search-function' and `search-string' separately for
7710 `delimited-flag'.
7711 (replace-highlight): Add new argument `delimited-flag' and
7712 rename other arguments to the names used in `perform-replace'.
7713 Let-bind `isearch-word' to the argument `delimited-flag'.
7714 (Bug#10885, bug#10887)
7715
7716 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
7717
7718 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
7719 ruby-beginning-of-indent, simplify, allow all keywords to have
7720 indentation before them.
7721 (ruby-beginning-of-indent): Adjust for above. Search until the
7722 found point is not inside a string or comment.
7723 (ruby-font-lock-keywords): Allow symbols to start with "@"
7724 character, give them higher priority than variables.
7725 (ruby-syntax-propertize-function)
7726 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
7727 matchers. Expression expansions are not comments when inside a
7728 string, and there comment syntax status is irrelevant.
7729 (ruby-match-expression-expansion): New function. Check that
7730 expression expansion is inside a string, and it's not escaped.
7731 (ruby-font-lock-keywords): Use it.
7732
7733 2012-09-05 Martin Rudalics <rudalics@gmx.at>
7734
7735 * help.el (temp-buffer-max-height): New default value.
7736 (temp-buffer-resize-frames): New option.
7737 (resize-temp-buffer-window): Optionally resize frame.
7738
7739 * window.el (fit-frame-to-buffer-bottom-margin): New option.
7740 (fit-frame-to-buffer): New function.
7741
7742 2012-09-05 Glenn Morris <rgm@gnu.org>
7743
7744 * emulation/cua-rect.el (cua--init-rectangles):
7745 * textmodes/picture.el (picture-mode-map):
7746 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
7747 like forward-char and backward-char. (Bug#12317)
7748
7749 2012-09-05 Leo Liu <sdl.web@gmail.com>
7750
7751 * progmodes/flymake.el (flymake-warning-re): New variable.
7752 (flymake-parse-line): Use it.
7753
7754 2012-09-05 Glenn Morris <rgm@gnu.org>
7755
7756 * calendar/holidays.el (holiday-christian-holidays):
7757 Rename an entry. (Bug#12289)
7758
7759 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
7760
7761 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
7762 (bug#12222).
7763
7764 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
7765
7766 * loadup.el: Load macroexp. Remove hack.
7767 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
7768 (macroexp--expand-all): Use it to get better warnings.
7769 (macroexp--backtrace, macroexp--trim-backtrace-frame)
7770 (internal-macroexpand-for-load): New functions.
7771 (macroexp--pending-eager-loads): New var.
7772 (emacs-startup-hook): New hack to replace one in loadup.el.
7773 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
7774 (cl--compiler-macro-cXXr): Move to top, before they can be used.
7775 (cl-psetf): Simplify.
7776 (cl-defstruct): Add indent rule.
7777
7778 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
7779
7780 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
7781 over `user-mail-address' for the SMTP MAIL FROM envelope.
7782 (smtpmail-via-smtp): Ditto.
7783
7784 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
7785
7786 * progmodes/ruby-mode.el: Clean up keybindings.
7787 (ruby-mode-map): Don't bind ruby-electric-brace,
7788 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
7789 backward-kill-word, reindent-then-newline-and-indent.
7790 (ruby-mark-defun): Remove.
7791 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
7792 (ruby-mode): Set local beginning-of-defun-function and
7793 end-of-defun-function values.
7794
7795 2012-09-03 Martin Rudalics <rudalics@gmx.at>
7796
7797 * window.el (temp-buffer-window-setup-hook)
7798 (temp-buffer-window-show-hook): New hooks.
7799 (temp-buffer-window-setup, temp-buffer-window-show)
7800 (with-temp-buffer-window): New functions.
7801 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
7802 (special-display-popup-frame): Make sure the window used shows BUFFER.
7803
7804 * help.el (temp-buffer-resize-mode): Fix doc-string.
7805 (resize-temp-buffer-window): New optional argument WINDOW.
7806
7807 * files.el (recover-file, save-buffers-kill-emacs):
7808 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
7809
7810 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
7811
7812 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
7813 remote definition of `default-directory', ensure we can connect.
7814
7815 2012-09-02 Juri Linkov <juri@jurta.org>
7816
7817 Toggle whitespace matching mode with M-s SPC.
7818 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
7819
7820 * isearch.el (search-whitespace-regexp): Doc fix.
7821 Remove cons cell customization.
7822 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
7823 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
7824 New variables.
7825 (isearch-forward, isearch-forward-regexp): Doc fix.
7826 (isearch-toggle-lax-whitespace): New command.
7827 (search-forward-lax-whitespace, search-backward-lax-whitespace)
7828 (re-search-forward-lax-whitespace)
7829 (re-search-backward-lax-whitespace): New functions.
7830 (isearch-whitespace-regexp): Remove function.
7831 (isearch-query-replace): Let-bind replace-search-function and
7832 replace-re-search-function.
7833 (isearch-occur): Let-bind search-spaces-regexp according to the
7834 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
7835 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
7836 condition for C-q SPC.
7837 (isearch-search-fun-default): Use new functions mentioned above.
7838 (isearch-search-forward, isearch-search-backward): Remove functions.
7839 (isearch-search): Don't let-bind search-spaces-regexp.
7840 (isearch-lazy-highlight-space-regexp): Remove variable.
7841 (isearch-lazy-highlight-lax-whitespace)
7842 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
7843 (isearch-lazy-highlight-new-loop): Use them.
7844 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
7845
7846 2012-09-02 Chong Yidong <cyd@gnu.org>
7847
7848 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
7849
7850 2012-09-02 Glenn Morris <rgm@gnu.org>
7851
7852 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
7853
7854 2012-09-01 Glenn Morris <rgm@gnu.org>
7855
7856 * term.el: Tidy up menu definitions.
7857 (term-mode-map): Use easymenu for In/Out, Complete menus.
7858 (term-pager-break-map): Initialize in the defvar.
7859 (term-terminal-menu, term-signals-menu): Define with easymenu.
7860 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
7861 (term-pager-menu): New, extracted from term-process-pager.
7862 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
7863 (term-update-mode-line): Propertize line/char and page items.
7864 (term-process-pager): Move keymap initialization elsewhere.
7865
7866 2012-09-01 Martin Rudalics <rudalics@gmx.at>
7867
7868 * window.el (switch-to-prev-buffer): Handle additional values of
7869 BURY-OR-KILL argument. Don't switch in minibuffer window.
7870 (switch-to-next-buffer): Don't switch in minibuffer window.
7871 (quit-restore-window): New function based on quit-window.
7872 Handle additional values of former KILL argument.
7873 (quit-window): Call quit-restore-window with appropriate
7874 interpretation of KILL argument.
7875 (display-buffer-below-selected): New buffer display action
7876 function.
7877
7878 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
7879
7880 * minibuffer.el (completion-at-point-functions): Complete docstring
7881 (bug#12254).
7882
7883 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
7884
7885 Better seed support for (random).
7886 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
7887 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
7888 * play/mpuz.el, play/tetris.el, play/zone.el:
7889 * calc/calc-comb.el (math-init-random-base):
7890 * play/blackbox.el (bb-init-board):
7891 * play/life.el (life):
7892 * server.el (server-use-tcp):
7893 * type-break.el (type-break):
7894 Remove unnecessary call to (random t).
7895 * net/sasl.el (sasl-unique-id-function):
7896 Change (random t) to (random), now that the latter is more random.
7897 * play/life.el (life-initialized): Remove no-longer-needed var.
7898
7899 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
7900
7901 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
7902 Consider frame's buffer predicate when choosing the buffer.
7903 (Bug#12081)
7904
7905 2012-08-30 Richard Stallman <rms@gnu.org>
7906
7907 * simple.el (special-mode-map): Delete binding for `z'.
7908
7909 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
7910
7911 * progmodes/compile.el (compilation-always-kill): Doc fix.
7912
7913 2012-08-30 Chong Yidong <cyd@gnu.org>
7914
7915 * window.el (display-buffer-reuse-frames): Make the obsolescence
7916 message more informative.
7917
7918 2012-08-30 Glenn Morris <rgm@gnu.org>
7919
7920 * paren.el (show-paren-delay):
7921 Add a :set function. Doc fix. (Bug#12297)
7922
7923 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
7924
7925 * progmodes/compile.el (compilation-always-kill): New var.
7926 (compilation-start): Use it.
7927
7928 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
7929
7930 * simple.el (read-only-mode): Move from files.el for bootstrapping.
7931 * files.el (read-only-mode): Move to simple.el.
7932
7933 * files.el (read-only-mode): New minor mode.
7934 (toggle-read-only): Use it and mark obsolete.
7935 (find-file--read-only):
7936 * vc/vc.el (vc-next-action, vc-checkout):
7937 * vc/vc-cvs.el (vc-cvs-checkout):
7938 * obsolete/vc-mcvs.el (vc-mcvs-update):
7939 * ffap.el (ffap--toggle-read-only): Update callers.
7940
7941 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
7942
7943 * eshell/esh-ext.el (eshell-external-command): Do not examine
7944 remote shell scripts.
7945 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
7946
7947 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
7948 "/usr/local/sbin".
7949
7950 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7951
7952 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
7953
7954 2012-08-28 Leo Liu <sdl.web@gmail.com>
7955
7956 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
7957 completion-at-point. (Bug#12220)
7958
7959 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
7960
7961 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
7962
7963 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7964
7965 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
7966 be buffer-local; add delete-trailing-whitespace (bug#12259).
7967
7968 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
7969
7970 * progmodes/hideif.el (hif-compress-define-list):
7971 Fix typo. (Bug#11951)
7972
7973 2012-08-28 Dan Nicolaescu <dann@gnu.org>
7974
7975 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
7976 buffer local setting.
7977
7978 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
7979 rcirc-encode-coding-system.
7980
7981 2012-08-28 Leo Liu <sdl.web@gmail.com>
7982
7983 * net/rcirc.el (rcirc-split-message): New function.
7984 (rcirc-send-message): Use it. (Bug#12051)
7985
7986 2012-08-28 Juri Linkov <juri@jurta.org>
7987
7988 * info.el (Info-fontify-node): Hide empty lines at the end of
7989 the node. (Bug#12272)
7990
7991 2012-08-27 Drew Adams <drew.adams@oracle.com>
7992
7993 * dired.el (dired-pop-to-buffer): Make window start at beginning
7994 of buffer (Bug#12281).
7995
7996 2012-08-26 Chong Yidong <cyd@gnu.org>
7997
7998 * window.el (special-display-regexps, special-display-frame-alist)
7999 (special-display-buffer-names, special-display-function)
8000 (display-buffer-reuse-frames): Mark as obsolete.
8001
8002 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
8003
8004 * help.el (help-print-return-message): Don't treat
8005 display-buffer-reuse-frames specially.
8006
8007 2012-08-26 Chong Yidong <cyd@gnu.org>
8008
8009 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
8010 New variable, replacing gdb-frame-parameters.
8011 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
8012 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
8013 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
8014 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
8015 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
8016 the functions directly with gdb-display-buffer-other-frame-action.
8017 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
8018 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
8019 (gdb-display-stack-buffer, gdb-display-locals-buffer)
8020 (gdb-display-registers-buffer): Define directly.
8021 (def-gdb-display-buffer): Macro deleted.
8022 (gdb-display-buffer): Remove second and third args, callers don't
8023 use them. Defer to the default display-buffer behavior, apart
8024 from making windows dedicated.
8025 (gdb-setup-windows): Don't call display-buffer unnecessarily.
8026
8027 * progmodes/gud.el (gud-display-line): Just use display-buffer.
8028
8029 * window.el (display-buffer-pop-up-frame): Handle a
8030 pop-up-frame-parameters alist entry.
8031 (display-buffer): Document it.
8032
8033 2012-08-26 Chong Yidong <cyd@gnu.org>
8034
8035 * isearch.el (search-whitespace-regexp): Make string and nil
8036 values apply to both ordinary and regexp search. Allow a cons
8037 cell value to distinguish between the two.
8038 (isearch-whitespace-regexp, isearch-search-forward)
8039 (isearch-search-backward): New functions.
8040 (isearch-occur, isearch-search-fun-default, isearch-search)
8041 (isearch-lazy-highlight-new-loop): Use them.
8042 (isearch-forward, isearch-forward-regexp): Doc fix.
8043
8044 2012-08-26 Chong Yidong <cyd@gnu.org>
8045
8046 * faces.el (help-argument-name): Always inherit from italic
8047 (Bug#12213).
8048
8049 2012-08-25 Martin Rudalics <rudalics@gmx.at>
8050
8051 * window.el (window--even-window-heights): Even heights when
8052 WINDOW and the selected window form a vertical combination.
8053 (display-buffer-use-some-window): Provide that window used gets
8054 sized back by quit-window. (Bug#11880) and (Bug#12091)
8055
8056 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
8057
8058 Fix file time stamp problem with bzr and CVS (Bug#12001).
8059 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
8060 in the file's time stamp, since the version control system loses
8061 that information.
8062
8063 2012-08-22 Juri Linkov <juri@jurta.org>
8064
8065 * info.el (Info-fontify-node): Hide the suffix of the
8066 Info file name in the header line. (Bug#12187)
8067
8068 2012-08-22 Glenn Morris <rgm@gnu.org>
8069
8070 * calendar/cal-tex.el (cal-tex-weekly-common):
8071 Restore leading blank page.
8072
8073 2012-08-22 Le Wang <l26wang@gmail.com>
8074
8075 * misc.el (forward-to-word, backward-to-word): Activate or extend
8076 the region under `shift-select-mode'. (Bug#12231)
8077
8078 2012-08-22 Bastien Guerry <bzg@gnu.org>
8079
8080 * progmodes/executable.el (executable-prefix): Set to "#!" instead
8081 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
8082 gives details on why the space is never needed.
8083
8084 2012-08-22 Martin Rudalics <rudalics@gmx.at>
8085
8086 * window.el (walk-window-tree, window-with-parameter):
8087 New optional argument MINIBUF to control whether these functions
8088 should run on the minibuffer window.
8089 (window-at-side-list): Don't operate on minibuffer window.
8090 (window-in-direction): Simplify and rewrite doc-string.
8091 (window--size-ignore): Rename to window--size-ignore-p.
8092 Update callers.
8093 (display-buffer-in-atom-window, window--major-non-side-window)
8094 (window--major-side-window, display-buffer-in-major-side-window)
8095 (delete-side-window, display-buffer-in-side-window):
8096 New functions.
8097 (window--side-check, window-deletable-p, delete-window)
8098 (delete-other-windows, split-window): Handle side windows and
8099 atomic windows appropriately.
8100 (window--display-buffer): Call display-buffer-record-window also
8101 when the window buffer did not change.
8102
8103 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
8104
8105 * help-fns.el (help-fns--key-bindings):
8106 Abbreviate non-symbol remap targets. (Bug#12174)
8107
8108 2012-08-22 Martin Rudalics <rudalics@gmx.at>
8109
8110 * dired.el (dired-mark-remembered): Don't clobber point.
8111 (Bug#11795)
8112
8113 2012-08-22 Glenn Morris <rgm@gnu.org>
8114
8115 * progmodes/bug-reference.el (bug-reference): New custom group.
8116 (bug-reference-bug-regexp): Make it a defcustom.
8117
8118 2012-08-22 Daiki Ueno <ueno@unixuser.org>
8119
8120 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
8121 (js-paren-indent-offset, js-square-indent-offset)
8122 (js-curly-indent-offset): Add :safe (Bug#12257).
8123
8124 2012-08-22 Edward O'Connor <hober0@gmail.com>
8125
8126 * json.el (json-key-format): Add error properties.
8127 (json-encode-key): New function.
8128 (json-encode-hash-table, json-encode-alist, json-encode-plist):
8129 Use json-encode-key.
8130
8131 2012-08-22 Glenn Morris <rgm@gnu.org>
8132
8133 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
8134 (cal-tex-leftday, cal-tex-rightday): Remove functions.
8135 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
8136 Update for above change.
8137
8138 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
8139
8140 * cus-face.el (custom-face-attributes): Fix customize type for the
8141 :underline attribute. (Bug#11805)
8142
8143 2012-08-21 Martin Rudalics <rudalics@gmx.at>
8144
8145 * window.el (window-point-1, set-window-point-1): Remove.
8146 (window-in-direction, record-window-buffer)
8147 (set-window-buffer-start-and-point, split-window-below)
8148 (window--state-get-1, display-buffer-record-window):
8149 Replace calls to window-point-1 and set-window-point-1 by calls to
8150 window-point and set-window-point respectively.
8151
8152 2012-08-21 Glenn Morris <rgm@gnu.org>
8153
8154 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
8155 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
8156 Use it.
8157
8158 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
8159 (cal-tex-shortday): New function.
8160 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
8161 (cal-tex-cursor-filofax-daily): Use the above.
8162
8163 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
8164 New functions.
8165 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
8166 (cal-tex-cursor-filofax-week): Use them.
8167
8168 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
8169 New constants.
8170 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
8171 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
8172
8173 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
8174 (cal-tex-end-document): Don't rely on buffer name.
8175
8176 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
8177 Use cal-tex-vspace.
8178 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
8179 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
8180 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
8181 Use cal-tex-arg.
8182
8183 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
8184 (cal-tex-cursor-week, cal-tex-cursor-week2)
8185 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
8186 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
8187 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
8188 (cal-tex-insert-preamble, cal-tex-b-document)
8189 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
8190 Improve cal-tex-cmd usage.
8191
8192 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
8193 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
8194 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
8195 (cal-tex-weekly-paper): New function.
8196 (cal-tex-cursor-week, cal-tex-cursor-week2)
8197 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
8198 (cal-tex-cursor-day): Use it.
8199
8200 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
8201 (cal-tex-cursor-filofax-week): Remove leading blank page.
8202
8203 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
8204 Add autoload cookie. For now at least, don't use color, since
8205 no other cal-tex function does.
8206
8207 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
8208 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
8209 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
8210
8211 2012-08-21 Juri Linkov <juri@jurta.org>
8212
8213 * info.el (Info-file-attributes): New variable.
8214 (info-insert-file-contents): Add file attributes to
8215 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
8216 `Info-toc-nodes' when previous modtime of the Info file is less
8217 than new modtime.
8218 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
8219 of info.el. (Bug#12230)
8220
8221 2012-08-20 Glenn Morris <rgm@gnu.org>
8222
8223 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
8224 * calendar/holidays.el (calendar-holiday-list):
8225 Report errors with display-warning rather than beep'n'sleep.
8226
8227 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
8228
8229 * net/tramp.el (tramp-accept-process-output): Accept only output
8230 from PROC. Otherwise, process filters and sentinels might be
8231 confused. (Bug#12145)
8232
8233 2012-08-20 Chong Yidong <cyd@gnu.org>
8234
8235 * descr-text.el (describe-text-properties-1): Use overlays-in to
8236 report on empty overlays (Bug#3322).
8237
8238 2012-08-20 Glenn Morris <rgm@gnu.org>
8239
8240 * mail/rmailout.el (rmail-output-read-file-name):
8241 Trap and report errors in rmail-output-file-alist elements.
8242
8243 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
8244 since most non-font-lock faces are not also variables).
8245
8246 2012-08-20 Edward Reingold <reingold@iit.edu>
8247
8248 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
8249 New function. (Bug12160)
8250
8251 2012-08-19 Glenn Morris <rgm@gnu.org>
8252
8253 * mail/rmailout.el (rmail-output-read-file-name):
8254 Fix previous change (when the alist is nil or does not match).
8255
8256 2012-08-19 Chong Yidong <cyd@gnu.org>
8257
8258 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
8259 (Bug#12228).
8260
8261 2012-08-18 Chong Yidong <cyd@gnu.org>
8262
8263 * simple.el (yank-handled-properties): New defcustom.
8264 (yank-excluded-properties): Add font-lock-face and category.
8265 (yank): Doc fix.
8266
8267 * subr.el (remove-yank-excluded-properties):
8268 Obey yank-handled-properties. The special handling of font-lock-face
8269 and category is now done this way, instead of being hard-coded.
8270 (insert-for-yank-1): Remove font-lock-face handling.
8271 (yank-handle-font-lock-face-property)
8272 (yank-handle-category-property): New function.
8273
8274 2012-08-17 Glenn Morris <rgm@gnu.org>
8275
8276 * mail/rmailout.el (rmail-output-read-file-name):
8277 Check rmail-output-file-alist against the full message body
8278 in the correct rmail buffer. (Bug#12214)
8279
8280 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
8281
8282 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
8283 Eliminate superfluous prompt. (Bug#12203)
8284
8285 2012-08-17 Chong Yidong <cyd@gnu.org>
8286
8287 * mouse.el (mouse-appearance-menu): If x-select-font returns a
8288 font spec, set the font directly (Bug#3228).
8289
8290 2012-08-17 Martin Rudalics <rudalics@gmx.at>
8291
8292 * window.el (delete-window): Fix last fix.
8293
8294 2012-08-16 Martin Rudalics <rudalics@gmx.at>
8295
8296 * window.el (window-valid-p): Move to window.c.
8297 (window-child, window-child-count, window-last-child)
8298 (window-normalize-window, window-combined-p)
8299 (window-combinations, window-atom-root, window-min-size)
8300 (window-sizable, window-sizable-p, window-size-fixed-p)
8301 (window-min-delta, window-max-delta, window--resizable)
8302 (window--resizable-p, window-resizable, window-total-size)
8303 (window-full-height-p, window-full-width-p, window-body-size)
8304 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
8305 (minimize-window, window-deletable-p, delete-window)
8306 (delete-other-windows, set-window-buffer-start-and-point)
8307 (next-buffer, previous-buffer, split-window, balance-windows-2)
8308 (set-window-text-height, window-buffer-height)
8309 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
8310 (truncated-partial-width-window-p): Minor code adjustments.
8311 In doc-strings state whether the argument window has to denote a
8312 live, valid or any window.
8313
8314 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
8315
8316 * progmodes/subword.el (subword-forward-function)
8317 (subword-backward-function, subword-forward-regexp)
8318 (subword-backward-regexp): New variables.
8319 (subword-forward, subword-forward-internal, subword-backward-internal):
8320 Use new variables, eg so that different "word" definitions
8321 can be easily used. (Bug#11411)
8322
8323 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
8324
8325 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
8326 for composite selectors.
8327 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
8328 operation just because we can't find a previous revision.
8329
8330 2012-08-15 Chong Yidong <cyd@gnu.org>
8331
8332 * frame.el (set-frame-font): Accept font objects.
8333
8334 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
8335
8336 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
8337
8338 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
8339
8340 * man.el (Man-overstrike-face, Man-underline-face)
8341 (Man-reverse-face): Remove variables.
8342 (Man-overstrike, Man-underline, Man-reverse): New faces.
8343 (Man-fontify-manpage): Use them instead of the variables.
8344 (Man-cleanup-manpage): Comment change.
8345 (Man-ansi-color-map): New variable.
8346 (Man-fontify-manpage): Use it.
8347 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
8348
8349 Implement ANSI SGR parameters 22-27 (bug#12146).
8350 * ansi-color.el (ansi-colors): Doc fix.
8351 (ansi-color-context, ansi-color-context-region): Doc fix.
8352 (ansi-color--find-face): New function.
8353 (ansi-color-apply, ansi-color-apply-on-region): Use it.
8354 Rename the local variable `face' to `codes' since it is now a list of
8355 ansi codes. Doc fix.
8356 (ansi-color-get-face): Remove.
8357 (ansi-color-parse-sequence): New function, derived from
8358 ansi-color-get-face.
8359 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
8360 codes 22-27.
8361
8362 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
8363
8364 * subr.el (read-passwd): Allow use from a minibuffer.
8365
8366 2012-08-14 Eli Zaretskii <eliz@gnu.org>
8367
8368 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
8369 inside comments and strings as identifiers.
8370
8371 * progmodes/gud.el (gud-tooltip-print-command): Quote the
8372 expression to evaluate. This allows to evaluate expressions with
8373 embedded whitespace.
8374 (gud-tooltip-tips): Add a blank before the newline in the
8375 message-box text, for the benefit of message-box emulation on
8376 MS-Windows.
8377
8378 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
8379 messages from GDB, pop them up in a tooltip to give feedback to
8380 user.
8381 (gdb-tooltip-print-1): Quote the expression to evaluate.
8382 This allows to evaluate expressions with embedded whitespace.
8383 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
8384 if the TTY name is nil or empty (which happens when communicating
8385 with the inferior via pipes, e.g. on MS-Windows).
8386 (gdb-internals): If GDB sends a "&\n" empty debugging message,
8387 don't send that to the GUD buffer.
8388
8389 2012-08-14 Glenn Morris <rgm@gnu.org>
8390
8391 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
8392 Optimize away setq-default with no args, as for setq. (Bug#12195)
8393
8394 2012-08-14 Chong Yidong <cyd@gnu.org>
8395
8396 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
8397
8398 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
8399 (Bug#12085).
8400
8401 2012-08-14 Glenn Morris <rgm@gnu.org>
8402
8403 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
8404
8405 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
8406
8407 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
8408 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
8409 Use cached shell name.
8410
8411 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
8412
8413 * progmodes/python.el (python-shell-send-string):
8414 (python-shell-send-setup-code): Do not use `format' with `message'.
8415
8416 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
8417
8418 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
8419 (ruby-percent-literal-beg-re): New constant.
8420 (ruby-syntax-general-delimiters-goto-beg): Rename to
8421 `ruby-syntax-enclosing-percent-literal', improve literal type check.
8422 (ruby-syntax-propertize-general-delimiters): Rename to
8423 `ruby-syntax-propertize-percent-literal', it's a shorter and more
8424 popular term. Adjust comments everywhere.
8425 (ruby-syntax-propertize-percent-literal): Only propertize when not
8426 inside a simple string or comment. When the literal is unclosed,
8427 leave the text after it unpropertized.
8428 (ruby-syntax-methods-before-regexp): New constant.
8429 (ruby-syntax-propertize-function): Use it to recognize regexps.
8430 Don't look at the text after regexp, just use the whitelist.
8431
8432 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
8433
8434 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
8435 non-nil always load the compiled file if it exists. (Bug#12197)
8436
8437 2012-08-14 Chong Yidong <cyd@gnu.org>
8438
8439 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
8440 (hi-lock-set-pattern): When deciding whether to use font lock or
8441 overlays, look at font-lock-mode instead of font-lock-fontified
8442 (Bug#12168).
8443 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
8444 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
8445
8446 2012-08-14 Daiki Ueno <ueno@unixuser.org>
8447
8448 * subr.el (internal--after-with-selected-window): Fix typo
8449 (Bug#12193).
8450
8451 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
8452
8453 Use `completion-table-dynamic' for completion functions.
8454 * progmodes/python.el
8455 (python-shell-completion--do-completion-at-point)
8456 (python-shell-completion--get-completions):
8457 Remove functions.
8458 (python-shell-completion-complete-at-point): New function.
8459 (python-completion-complete-at-point): Use it.
8460
8461 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
8462
8463 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
8464 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
8465
8466 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
8467
8468 * subr.el (function-get): Refine `autoload' arg so it can also
8469 autoload functions for gv.el (bug#12191).
8470 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
8471 autoloads macros.
8472
8473 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
8474 Prefer pcase-let over destructuring-bind.
8475 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
8476 Also, remove whitespace as we go, rather than after accumulating the
8477 various places.
8478
8479 * subr.el (internal--before-with-selected-window)
8480 (internal--after-with-selected-window): Fix typo seleted->selected.
8481 (with-selected-window): Adjust callers.
8482 Reported by Dmitry Gutov <dgutov@yandex.ru>.
8483
8484 2012-08-13 Bastien Guerry <bzg@gnu.org>
8485
8486 * window.el (special-display-popup-frame): Minor docstring
8487 enhancement. (Bug#12172)
8488
8489 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
8490
8491 * tar-mode.el (tar-header-data-end): Only ignore size for files of
8492 type 1-6.
8493 (tar-header-block-summarize, tar-get-descriptor): Handle pax
8494 extended headers.
8495
8496 * files.el (hack-local-variables-filter): Remove useless eval.
8497
8498 2012-08-13 Martin Rudalics <rudalics@gmx.at>
8499
8500 * subr.el (with-selected-window): Fix last change.
8501
8502 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
8503
8504 * subr.el (internal--before-with-seleted-window)
8505 (internal--after-with-seleted-window): New functions.
8506 (with-selected-window): Use them, to replace dependency on
8507 tty-top-frame.
8508
8509 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
8510
8511 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
8512 binding for `newline'.
8513 (ruby-move-to-block): When moving backward, stop at block opening,
8514 not indentation.
8515 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
8516 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
8517 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
8518 `ruby-toggle-block'.
8519
8520 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
8521
8522 * ibuffer.el (ibuffer-do-toggle-read-only):
8523 * dired.el (dired-toggle-read-only):
8524 * buff-menu.el (Buffer-menu-toggle-read-only):
8525 * bindings.el (mode-line-toggle-read-only):
8526 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
8527
8528 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
8529
8530 * descr-text.el (describe-char): Put the overlays over the
8531 "displayed as" character.
8532
8533 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
8534
8535 * calc/calc-units.el (math-default-units-table): Give an
8536 initial value.
8537 (math-put-default-units): Add options to put composite units and
8538 unit systems in the default units table.
8539 (calc-convert-units): Send composite units to
8540 `math-put-default-units' when appropriate.
8541
8542 2012-08-11 Glenn Morris <rgm@gnu.org>
8543
8544 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
8545
8546 * tutorial.el (help-with-tutorial):
8547 * emacs-lisp/copyright.el (copyright-update-directory):
8548 * emacs-lisp/autoload.el (autoload-find-generated-file)
8549 (autoload-find-file): Disable local eval: (for insurance).
8550
8551 * files.el (hack-local-variables-filter): If an eval: form is not
8552 known to be safe, and enable-local-variables is :safe, then ignore
8553 the form totally, as is done for non-eval forms. (Bug#12155)
8554 This is CVE-2012-3479.
8555
8556 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
8557
8558 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
8559 (rx-form): Simplify.
8560
8561 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
8562
8563 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
8564 ?, _, and : are symbol constituents, ! is not (but kinda should be).
8565 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
8566 (ruby-syntax-propertize-function): Adjust for changes in
8567 `ruby-syntax-propertize-heredoc'.
8568
8569 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
8570
8571 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
8572 binding (use `M-;' instead).
8573 (ruby-singleton-class-p): New function.
8574 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
8575
8576 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
8577
8578 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
8579
8580 2012-08-10 Chong Yidong <cyd@gnu.org>
8581
8582 * progmodes/python.el (python-shell-get-process-name): Don't mess
8583 with same-window-buffer-names.
8584
8585 * eshell/eshell.el (eshell-add-to-window-buffer-names)
8586 (eshell-remove-from-window-buffer-names): Make obsolete.
8587 (eshell-buffer-name, eshell-unload-hook): Don't use them.
8588 (eshell): Just use pop-to-buffer-same-window instead.
8589
8590 2012-08-10 Chong Yidong <cyd@gnu.org>
8591
8592 * bindings.el: Bind M-= back to count-words-region.
8593
8594 * simple.el (count-words-region): Accept a prefix arg for acting
8595 on the entire buffer.
8596 (count-words--buffer-message): New helper function.
8597
8598 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
8599
8600 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
8601 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
8602 (event-start, event-end): Use posn-at-point to return a more
8603 informative posn.
8604 (posnp): New function.
8605 * mouse.el (popup-menu-normalize-position): Use it.
8606
8607 2012-08-10 Masatake YAMATO <yamato@redhat.com>
8608
8609 * mouse.el (popup-menu-normalize-position): New function.
8610 (popup-menu): Use `popup-menu-normalize-position' to normalize
8611 the form for POSITION argument.
8612
8613 * term/x-win.el (x-menu-bar-open):
8614 Use the value returend from (posn-at-point) as position
8615 passed to `popup-menu'.
8616
8617 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
8618
8619 * calc/calccomp.el (math-compose-expr): Add extra argument
8620 indicating that parentheses should be put around products in
8621 denominators. Give multiplication precedence over division during
8622 composition.
8623
8624 2012-08-09 Chong Yidong <cyd@gnu.org>
8625
8626 * man.el (Man-switches, Man-sed-command, Man-awk-command)
8627 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
8628 (Man-untabify-command, manual-program): Convert to defcustom
8629 (Bug#10429).
8630
8631 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
8632
8633 * descr-text.el (describe-char): Don't insert extra newlines
8634 (Bug#10127).
8635
8636 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
8637 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
8638
8639 * align.el (align-region): Delete temporary markers (Bug#10047).
8640 Plus some code cleanups.
8641
8642 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
8643
8644 * progmodes/python.el (python-pdbtrack-tracked-buffer)
8645 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
8646 (python-shell-internal-last-output): Use make-local-variable
8647 instead of make-variable-buffer-local.
8648
8649 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
8650
8651 * progmodes/python.el: Enhancements to forward-sexp.
8652 (python-nav-forward-sexp): Rename from
8653 python-nav-forward-sexp-function.
8654 (python-nav--forward-sexp, python-nav--backward-sexp):
8655 New functions.
8656
8657 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
8658
8659 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
8660 modes and simplification modes.
8661
8662 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
8663
8664 * delsel.el (delete-selection-pre-hook): Don't propagate the
8665 file-supersession signals (bug#12161).
8666
8667 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8668
8669 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
8670 (cl-map-extents): Add compatibility aliases (bug#12135).
8671
8672 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
8673
8674 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
8675 tests by `ignore-error'.
8676 (tramp-find-shell): Open also a new shell, when cache is already
8677 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
8678
8679 2012-08-08 Juri Linkov <juri@jurta.org>
8680
8681 * bookmark.el: Add `defaults' property to the bookmark record.
8682 (bookmark-current-buffer): Doc fix.
8683 (bookmark-make-record): Add `defaults' property with default values
8684 to the bookmark record.
8685 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
8686 with `bookmark-insert-current-bookmark'.
8687 (bookmark-set): Get `defaults' property from the bookmark record
8688 and use it in `read-from-minibuffer'.
8689 (bookmark-insert-current-bookmark): Remove function.
8690
8691 * info.el (Info-bookmark-make-record): Add `defaults' property
8692 with values of canonical Info node name, the current Info file
8693 name and the current Info node name. (Bug#12107)
8694
8695 2012-08-08 Juri Linkov <juri@jurta.org>
8696
8697 * files.el (basic-save-buffer): Use `buffer-name' as the default
8698 of `read-file-name' when buffer is not visiting a file (bug#12128).
8699
8700 2012-08-08 Juri Linkov <juri@jurta.org>
8701
8702 * info.el (Info-isearch-search): Doc fix.
8703 (Info-search): Change search-failed message from "initial node" to
8704 "end of node" (bug#12078).
8705 (Info-isearch-search): Change `isearch-string-state' to
8706 `isearch--state-string'.
8707
8708 2012-08-08 Glenn Morris <rgm@gnu.org>
8709
8710 * language/persian.el: Remove file.
8711 * language/misc-lang.el: Move unique part of persian.el here.
8712 * loadup.el: Remove language/persian.
8713
8714 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
8715
8716 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
8717
8718 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
8719
8720 * progmodes/python.el: Fix defsubst warning.
8721 (python-syntax-context) Rename from python-info-ppss-context.
8722 (python-syntax-context-type): Rename from
8723 python-info-ppss-context-type.
8724 (python-syntax-comment-or-string-p): Rename from
8725 python-info-ppss-comment-or-string-p.
8726
8727 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
8728
8729 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
8730
8731 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
8732
8733 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
8734 a defcustom that is quoted with backquote.
8735
8736 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
8737 Fix handling of interactive spec when the body uses return.
8738 (math-do-arg-check, math-define-function-body): Use backquote forms.
8739 * calc/calc-ext.el (math-defcache): Likewise.
8740 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
8741 * allout.el (allout-new-exposure): Likewise.
8742 * calc/calcalg2.el (math-tracing-integral): Likewise.
8743 * info.el (Info-last-menu-item): Likewise.
8744 * emulation/vip.el (vip-loop): Likewise.
8745 * textmodes/artist.el (artist-funcall): Likewise.
8746 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
8747 Construct menu-item directly.
8748
8749 * progmodes/autoconf.el (font-lock-syntactic-keywords):
8750 Don't declare.
8751
8752 2012-08-07 Chong Yidong <cyd@gnu.org>
8753
8754 * simple.el (deactivate-mark): Preserve text properties when
8755 saving the primary selection (Bug#8384).
8756
8757 2012-08-07 Kevin Ryde <user42@zip.com.au>
8758
8759 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
8760 (woman-parse-numeric-value): On a bad .IP line, issue a warning
8761 and continue processing (Bug#12110).
8762
8763 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
8764
8765 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
8766 syntax-propertize-function (bug#10095).
8767
8768 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
8769
8770 * help-fns.el (help-fns--key-bindings, help-fns--signature)
8771 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
8772 describe-function-1.
8773 (describe-function-1): Use them. Move compiler macro after sig.
8774 (help-fns--compiler-macro): Use function-get. Assume we're already in
8775 standard-output. Adjust layout to new call order.
8776
8777 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
8778 re-binding a symbol that has a symbol-macro (bug#12119).
8779
8780 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
8781
8782 * language/persian.el: New file. (Bug#11812)
8783 * loadup.el: Add language/persian.el.
8784
8785 2012-08-06 Chong Yidong <cyd@gnu.org>
8786
8787 * window.el (window--maybe-raise-frame): New function.
8788 (window--display-buffer): Split off from here.
8789 (display-buffer-reuse-window, display-buffer-pop-up-frame)
8790 (display-buffer-pop-up-window, display-buffer-use-some-window):
8791 Obey an inhibit-switch-frame action alist entry.
8792 (display-buffer): Update doc.
8793
8794 * replace.el (occur-after-change-function): Avoid losing focus by
8795 using the inhibit-switch-frame display parameter (Bug#12139).
8796
8797 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
8798
8799 Make internal shell process buffer names start with space.
8800 * progmodes/python.el (python-shell-make-comint): Add optional
8801 argument INTERNAL.
8802 (run-python-internal): Use it.
8803 (python-shell-internal-get-or-create-process): Check for new
8804 internal buffer names.
8805
8806 2012-08-06 Glenn Morris <rgm@gnu.org>
8807
8808 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
8809 Do less getting and setting of environment variables.
8810
8811 2012-08-05 Chong Yidong <cyd@gnu.org>
8812
8813 * proced.el (proced): Add substitution string to docstring to
8814 trigger autoloading of the proced library on C-h f (Bug#1768).
8815
8816 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
8817 Don't show defvars which have no second argument (Bug#8638).
8818
8819 * imenu.el (imenu-generic-expression): Move documentation here
8820 from imenu--generic-function.
8821 (imenu--generic-function): Refer to imenu-generic-expression.
8822
8823 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
8824
8825 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
8826 indentation declaration.
8827 (viper-loop): Add indentation declaration (Bug#7025).
8828
8829 2012-08-05 Chong Yidong <cyd@gnu.org>
8830
8831 * help-fns.el (describe-variable): Add hyperlink for
8832 directory-local variables files. Improve buffer-local and
8833 permanent-local reporting; suggested by MON KEY (Bug#6644).
8834
8835 * help-mode.el (help-dir-local-var-def): New button type.
8836
8837 * files.el (kill-buffer-hook): Provide a defvar.
8838
8839 2012-08-05 Glenn Morris <rgm@gnu.org>
8840
8841 * eshell/esh-ext.el (eshell/addpath):
8842 Also update eshell-path-env. (Bug#12013)
8843
8844 2012-08-05 Chong Yidong <cyd@gnu.org>
8845
8846 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
8847
8848 * fringe.el (fringe-styles): Add docstring.
8849 (fringe--check-mode): New function.
8850 (set-fringe-mode, set-fringe-style): Use it.
8851 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
8852
8853 * files.el (set-auto-mode): Fix invalid setq call.
8854
8855 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
8856
8857 * isearch.el: Misc simplification; use defstruct.
8858 (isearch-mode-map): Dense maps now work like sparse ones.
8859 (isearch--state): New defstruct.
8860 (isearch-string-state, isearch-message-state, isearch-point-state)
8861 (isearch-success-state, isearch-forward-state)
8862 (isearch-other-end-state, isearch-word-state, isearch-error-state)
8863 (isearch-wrapped-state, isearch-barrier-state)
8864 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
8865 replaced by defstruct's accessors.
8866 (isearch--set-state): Rename from isearch-top-state and change
8867 calling convention.
8868 (isearch-push-state): Use new isearch--get-state.
8869 (isearch-toggle-word): Disable regexp when enabling word.
8870 (isearch-message-prefix): Remove unused arg _c-q-hack.
8871 (isearch-message-suffix): Remove unused arg _ellipsis.
8872
8873 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
8874
8875 * simple.el (list-processes--refresh): For a server use :host or
8876 :local as the address.
8877 (list-processes): Doc fix.
8878
8879 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
8880
8881 * lisp/mpc.el: Support password in host argument.
8882 (mpc--proc-connect): Parse and use new password element.
8883 Set mpc-proc variable instead of returning process.
8884 (mpc-proc): Adjust accordingly.
8885
8886 2012-08-03 Eli Zaretskii <eliz@gnu.org>
8887
8888 * whitespace.el (whitespace-display-mappings): Use Unicode
8889 codepoints, instead of emacs-mule codepoints. See
8890 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
8891 for the details.
8892
8893 * files.el (file-truename): Don't skip symlink-chasing part on
8894 windows-nt. Incorporate the resolution of 8+3 short aliases on
8895 Windows into the loop that recursively chases symlinks.
8896 Compare directory and its parent case-insensitively on MS-Windows and
8897 MS-DOS.
8898
8899 2012-08-03 Chong Yidong <cyd@gnu.org>
8900
8901 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
8902
8903 * sort.el (sort-regexp-fields): Doc fix.
8904
8905 2012-08-03 Tassilo Horn <tsdh@gnu.org>
8906
8907 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
8908 labels regex position point at the expected place.
8909
8910 2012-08-03 MON KEY <monkey@sandpframing.com>
8911
8912 * net/imap.el (imap-interactive-login, imap-authenticate)
8913 (imap-mailbox-lsub, imap-mailbox-list)
8914 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
8915 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
8916 (imap-parse-response): Doc fix.
8917
8918 2012-08-03 João Távora <joaotavora@gmail.com>
8919
8920 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
8921 if sexp scanning does not move point (Bug#5734).
8922
8923 2012-08-02 Tassilo Horn <tsdh@gnu.org>
8924
8925 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
8926 Add listings, minted, and ctable packages.
8927 (reftex-label-alist-builtin): Move listings, minted, and ctable
8928 entries before LaTeX.
8929 (reftex-label-alist): Docfix.
8930
8931 2012-08-02 Bastien Guerry <bzg@gnu.org>
8932
8933 * replace.el (occur): Fix docstring (bug#12122).
8934
8935 2012-08-02 Glenn Morris <rgm@gnu.org>
8936
8937 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
8938
8939 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
8940
8941 Obsolete alias inactivate-current-input-method-function (Bug#10150).
8942 * international/mule-cmds.el: Create
8943 inactivate-current-input-method-function as an obsolete alias for
8944 deactivate-current-input-method-function. See Katsumi Yamaoka in
8945 <http://bugs.gnu.org/10150#46>.
8946
8947 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
8948
8949 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
8950 of nested `if's.
8951
8952 2012-08-01 Glenn Morris <rgm@gnu.org>
8953
8954 * progmodes/autoconf.el (autoconf-definition-regexp):
8955 Add AH_TEMPLATE, adjust submatch numbering.
8956 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
8957 (autoconf-current-defun-function): Update for above change.
8958 (autoconf-current-defun-function): First skip to end of current word.
8959
8960 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
8961
8962 * calendar/cal-html.el (cal-html-insert-agenda-days):
8963 Fix typo. (Bug#12018)
8964
8965 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
8966
8967 Shell processes: enhancements to startup and CEDET compatibility.
8968 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
8969 (python-shell-make-comint): accept-process-output at startup.
8970 (run-python-internal): Set inferior-python-mode-hook to nil.
8971 (python-shell-internal-get-or-create-process): call sit-for.
8972 (python-preoutput-result): Add obsolete alias.
8973 (python-shell-internal-send-string): Use it.
8974 (python-shell-send-setup-code): Remove call to
8975 accept-process-output.
8976
8977 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
8978
8979 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
8980 (Bug#12108)
8981
8982 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
8983
8984 * calc-mode.el (calc-basic-simplification-mode): Rename from
8985 `calc-limited-simplification-mode'.
8986 (calc-alg-simplification-mode): New function.
8987 (calc-set-simplify-mode): Adjust message.
8988
8989 * calc.el (calc-set-mode-line): Adjust mode line display for
8990 basic simplification mode.
8991
8992 * calc-help.el (calc-m-prefix-help): Update help message.
8993
8994 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
8995 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
8996
8997 2012-07-31 Bastien Guerry <bzg@gnu.org>
8998
8999 * man.el (man): Fix comment. (bug#12101)
9000
9001 2012-07-31 Martin Rudalics <rudalics@gmx.at>
9002
9003 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
9004 Don't return a non-nil value when no suitable buffer was found.
9005
9006 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
9007
9008 * progmodes/python.el (run-python-internal): Disable font lock for
9009 internal shells.
9010
9011 2012-07-30 Stefan Merten <smerten@oekonux.de>
9012
9013 * textmodes/rst.el: Silence `checkdoc-ispell'.
9014 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
9015 (rst-official-version, rst-official-cvs-rev)
9016 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
9017 (rst-mode-map): New key binding.
9018
9019 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
9020
9021 Update .PHONY listings in makefiles.
9022 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
9023 autoloads, update-subdirs, updates, bzr-update, update-authors,
9024 compile-onefile, compile-calc, backup-compiled-files,
9025 compile-after-backup, compile-one-process, mh-autoloads,
9026 bootstrap-clean, distclean, maintainer-clean.
9027
9028 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
9029
9030 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
9031 (calc-set-mode-line): Don't display "AlgSimp ".
9032
9033 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
9034 (calc-lim-simplify-mode): New function.
9035 (calc-set-simplify-mode): Default to 'alg.
9036 (calc-default-simplify-mode): Make algebraic simplifications
9037 the default.
9038
9039 * calc/calc-ext.el (calc-init-extensions): Remove binding for
9040 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
9041
9042 * calc/calc-help.el (calc-m-prefix-help): Change messages to
9043 indicate new simplification modes.
9044
9045 * calc/README: Mention new default simplification mode.
9046
9047 * calc/calc.el (math-normalize-error): New variable.
9048 (math-normalize): Set `math-normalize-error' to t
9049 when there's an error.
9050
9051 * calc/calc-alg.el (math-simplify): Don't simplify when
9052 `math-normalize' returns an error.
9053
9054 2012-07-29 Eli Zaretskii <eliz@gnu.org>
9055
9056 * international/mule-cmds.el (set-locale-environment): Revert last
9057 change, since display-graphic-p returns nil when this function is
9058 called during startup. Instead...
9059
9060 * term/w32console.el (terminal-init-w32console): ...setup the
9061 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
9062
9063 2012-07-29 Juri Linkov <juri@jurta.org>
9064
9065 * simple.el (goto-line): Don't display default line number in the
9066 prompt because it should be displayed by `read-number' (bug#9952).
9067 Add the current line number to the defaults of `goto-line' to
9068 allow its easier modification by users with `M-n' (bug#9201).
9069
9070 * subr.el (read-number): Support multiple default values like in
9071 other minibuffer reading functions. Replace `read' with
9072 `string-to-number' for consistency with `number-to-string'.
9073
9074 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
9075
9076 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
9077 * emulation/viper-init.el (viper-deactivate-input-method-action):
9078 Rename from viper-inactivate-input-method-action.
9079 (viper-deactivate-input-method):
9080 Rename from viper-inactivate-input-method.
9081 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
9082 * international/mule-cmds.el (deactivate-input-method):
9083 Rename from inactivate-input-method.
9084 Also run input-method-deactivate-hook.
9085 (deactivate-current-input-method-function):
9086 Rename from inactivate-current-input-method-function.
9087 (input-method-deactivate-hook): New hook.
9088 (input-method-inactivate-hook): Mark obsolete.
9089 (inactivate-input-method): Mark obsolete.
9090
9091 * international/quail.el (quail-activate):
9092 Also run quail-deactivate-hook.
9093 (quail-deactivate): Rename from quail-inactivate.
9094 * international/robin.el (robin-activate):
9095 Also run robin-deactivate-hook.
9096 (robin-deactivate): Rename from robin-inactivate.
9097
9098 2012-07-29 Chong Yidong <cyd@gnu.org>
9099
9100 * simple.el (indicate-copied-region): New function.
9101 (kill-ring-save): Split off from here.
9102
9103 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
9104 (kill-rectangle): Set deactivate-mark to t on read-only error.
9105
9106 * register.el (copy-to-register, copy-rectangle-to-register):
9107 Deactivate the mark, and use indicate-copied-region (Bug#10056).
9108 (append-to-register, prepend-to-register): Call indicate-copied-region.
9109
9110 2012-07-29 Juri Linkov <juri@jurta.org>
9111
9112 * simple.el (async-shell-command-buffer): New defcustom.
9113 (shell-command): Use it. (Bug#4719)
9114
9115 2012-07-28 Eli Zaretskii <eliz@gnu.org>
9116
9117 * international/mule-cmds.el (set-locale-environment): In a
9118 console session on MS-Windows, set up keyboard and terminal
9119 encoding from the OEM codepage, not the ANSI codepage.
9120 (Bug#12055)
9121
9122 2012-07-28 Chong Yidong <cyd@gnu.org>
9123
9124 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
9125 gdb-get-location.
9126
9127 2012-07-28 Leo Liu <sdl.web@gmail.com>
9128
9129 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
9130 the alist (bug#12029).
9131
9132 2012-07-28 Eli Zaretskii <eliz@gnu.org>
9133
9134 * makefile.w32-in (custom-deps, finder-data, updates, compile)
9135 (compile-always, compile-first)
9136 ($(lisp)/calendar/cal-loaddefs.el)
9137 ($(lisp)/calendar/diary-loaddefs.el)
9138 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
9139 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
9140 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
9141 instead of on update-subdirs.
9142 (bootstrap-clean): Delete $(lisp)/subdirs.el.
9143
9144 2012-07-28 Chong Yidong <cyd@gnu.org>
9145
9146 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
9147 directory if vc-deduce-backend returns nil (Bug#7350).
9148
9149 * simple.el (delete-trailing-lines): New option.
9150 (delete-trailing-whitespace): Obey it (Bug#11879).
9151
9152 2012-07-28 David Engster <deng@randomsample.de>
9153
9154 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
9155 Explanation of new 'symbol-qnames feature in doc-strings.
9156 (xml-maybe-do-ns): Return expanded names as plain symbols if
9157 'symbol-qnames was provided in XML-NS argument (Bug#11916).
9158 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
9159
9160 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
9161
9162 Consistent completion in inferior python with emacs -nw.
9163 * progmodes/python.el (inferior-python-mode): replace "<tab>"
9164 binding in inferior-python-mode-map with "\t".
9165 (python-shell-completion-complete-at-point)
9166 (python-completion-complete-at-point): Remove interactive spec.
9167
9168 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
9169
9170 * calc/calccomp.el (math-compose-expr): Undo previous change.
9171
9172 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
9173
9174 * progmodes/python.el (python-mode-map): Add keybinding for
9175 run-python.
9176 (python-shell-make-comint): Fix pop-to-buffer call.
9177 (run-python): Autoload. New arg SHOW.
9178 (python-shell-get-or-create-process): Do not pop python process
9179 buffer.
9180
9181 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
9182
9183 * notifications.el (notifications-on-action-signal)
9184 (notifications-on-closed-signal): Use also the bus address for the map.
9185 (notifications-notify, notifications-close-notification)
9186 (notifications-get-capabilities): Add optional argument BUS.
9187
9188 2012-07-27 Tassilo Horn <tsdh@gnu.org>
9189
9190 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
9191 Add support for the lstlisting and minted environments, and for the
9192 ctable macro.
9193 * textmodes/reftex.el (reftex-compile-variables): Also recognize
9194 labels written in keyvals syntax.
9195
9196 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
9197
9198 * calc/calccomp.el (math-compose-expr): Use parentheses when
9199 there is a product in the denominator of a fraction.
9200
9201 2012-07-26 Eli Zaretskii <eliz@gnu.org>
9202
9203 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
9204 ($(lisp)/calendar/diary-loaddefs.el)
9205 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
9206 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
9207 Fixes failures in parallel bootstrap because subdirs.el is being
9208 rewritten while the autoload files are built at the same time,
9209 which needs to load subdirs.el.
9210
9211 2012-07-26 Martin Rudalics <rudalics@gmx.at>
9212
9213 * mouse.el (popup-menu): Fix doc-string and re-indent code.
9214 (mouse-drag-line): Don't exit tracking when a switch-frame or
9215 switch-window event occurs (Bug#12006).
9216
9217 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
9218
9219 * mouse.el (popup-menu): Fix last change.
9220
9221 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
9222
9223 Autoload from Lisp with more care. Follow aliases when looking for
9224 function properties.
9225 * subr.el (autoloadp): New function.
9226 (symbol-file): Use it.
9227 (function-get): New function.
9228 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
9229 autoload-do-load.
9230 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
9231 (lisp-indent-function):
9232 * emacs-lisp/gv.el (gv-get):
9233 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
9234 * emacs-lisp/byte-opt.el (byte-optimize-form):
9235 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
9236 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
9237 Use function-get.
9238 * emacs-lisp/cl.el: Don't propagate function properties any more.
9239
9240 * speedbar.el (speedbar-add-localized-speedbar-support):
9241 * emacs-lisp/disass.el (disassemble-internal):
9242 * desktop.el (desktop-load-file):
9243 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
9244 (describe-function-1):
9245 * emacs-lisp/find-func.el (find-function-noselect):
9246 * emacs-lisp/elp.el (elp-instrument-function):
9247 * emacs-lisp/advice.el (ad-has-proper-definition):
9248 * apropos.el (apropos-safe-documentation, apropos-macrop):
9249 * emacs-lisp/debug.el (debug-on-entry):
9250 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
9251 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
9252 * calc/calc.el (name): Use autoloadp & autoload-do-load.
9253
9254 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
9255
9256 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
9257 function, not an obsolete variable (Bug#12046).
9258
9259 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
9260
9261 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
9262
9263 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
9264
9265 * emacs-lisp/pp.el (pp-display-expression): Select old selected
9266 window only if it is still live (Bug#12034).
9267
9268 2012-07-25 Martin Rudalics <rudalics@gmx.at>
9269
9270 * subr.el (redirect-frame-focus): Add advertised calling
9271 convention (Bug#12030).
9272
9273 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
9274
9275 Prefer typical American spelling for "acknowledgment".
9276 * vc/add-log.el (change-log-acknowledgment): Rename from
9277 change-log-acknowledgement, with an alias for the old name.
9278
9279 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
9280
9281 * calc-alg.el (math-simplify-divide): Don't cross multiply
9282 in an equation when the lhs is a variable.
9283
9284 2012-07-24 Julien Danjou <julien@danjou.info>
9285
9286 * net/netrc.el (netrc-find-service-number, netrc-store-data):
9287 Remove, unused.
9288
9289 2012-07-23 Eli Zaretskii <eliz@gnu.org>
9290
9291 * startup.el (command-line): Don't display an empty user name in
9292 the error message about non-existent home directory, when
9293 init-file-user was set to an empty string. See
9294 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
9295 for the details and context.
9296
9297 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
9298
9299 * ses.el (ses-cell-formula-aset): New macro.
9300 (ses-cell-references-aset): New macro.
9301 (ses-cell-p): New function.
9302 (ses-rename-cell): Do no longer rely on complex operations like
9303 ses-cell-set-formula or ses-set-cell to change the cell and handle
9304 the undo at the same time, but rather use lower level new macros
9305 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
9306 the undo directly. Refresh the mode line.
9307
9308 2012-07-21 Leo Liu <sdl.web@gmail.com>
9309
9310 * progmodes/cc-cmds.el (c-defun-name):
9311 Use match-string-no-properties instead for consistency.
9312
9313 2012-07-20 Leo Liu <sdl.web@gmail.com>
9314
9315 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
9316 (Bug#7879)
9317
9318 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
9319
9320 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
9321
9322 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
9323 * progmodes/bug-reference.el, misearch.el: Provide themselves
9324 (bug#11915).
9325
9326 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
9327 of narrowed buffer (bug#11966).
9328
9329 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
9330
9331 * ses.el (ses-rename-cell): Set new name also in reference list of
9332 cells of which the renamed cell depends.
9333
9334 2012-07-20 Masatake YAMATO <yamato@redhat.com>
9335
9336 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
9337 to check whether menu-bar is shown or not. If not shown,
9338 show the menu-bar as a popup menu instead of using tmm.
9339 * mouse.el (popup-menu): Accept `point' as `position' argument.
9340
9341 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
9342
9343 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
9344 up inside string symbol literal (bug#11923).
9345
9346 2012-07-20 Eli Zaretskii <eliz@gnu.org>
9347
9348 * startup.el (fancy-startup-text): Read the whole tutorial, not
9349 just its first 256 bytes. Prevents gibberish in display of the
9350 tutorial title.
9351
9352 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
9353
9354 Drop idle buffer compaction due to an absence of the
9355 proved efficiency.
9356 * compact.el: Remove.
9357
9358 2012-07-19 Sam Steingold <sds@gnu.org>
9359
9360 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
9361 vc-bzr-pull & vc-bzr-merge-branch.
9362 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
9363 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
9364 for consistency with compilation-error-regexp-alist.
9365 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
9366 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
9367 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
9368 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
9369
9370 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
9371
9372 * emacs-lisp/chart.el: Use lexical-binding.
9373 (chart-emacs-storage): Don't hardcode the list of entries.
9374
9375 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
9376
9377 Next round of tweaks caused by Fgarbage_collect changes.
9378 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
9379
9380 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
9381
9382 Compact buffers when idle.
9383 * compact.el: New file.
9384
9385 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
9386
9387 * subr.el (eventp): Presume that if it looks vaguely like an event,
9388 it's an event (bug#10190).
9389
9390 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
9391
9392 Enhancements to ppss related code (thanks Stefan).
9393 * progmodes/python.el (python-indent-context)
9394 (python-indent-calculate-indentation, python-indent-dedent-line)
9395 (python-indent-electric-colon, python-nav-forward-block)
9396 (python-mode-abbrev-table)
9397 (python-info-assignment-continuation-line-p): Simplify checks
9398 for ppss context.
9399 (python-info-continuation-line-p): Cleanup.
9400 (python-info-ppss-context): Do not catch 'quote.
9401 (python-info-ppss-context-type)
9402 (python-info-ppss-comment-or-string-p): Simplify.
9403
9404 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
9405
9406 * progmodes/python.el: Enhancements to eldoc support.
9407 (python-info-current-symbol): New function.
9408 (python-eldoc-at-point): Use python-info-current-symbol.
9409 (python-info-current-defun): Fix cornercase on first defun scan.
9410 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
9411 and signal error when no inferior python process is available.
9412
9413 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
9414
9415 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
9416 assume it's always t.
9417 (vc-git-registered): Remove caching, the function is only called
9418 once.
9419 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
9420
9421 2012-07-18 Chong Yidong <cyd@gnu.org>
9422
9423 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
9424
9425 * simple.el (count-words): Report on narrowing (Bug#9959).
9426
9427 * bindings.el: Bind M-= to count-words.
9428
9429 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
9430
9431 2012-07-18 Masatake YAMATO <yamato@redhat.com>
9432
9433 * progmodes/sh-script.el (sh-imenu-generic-expression):
9434 Capture a function with `function' keyword and without parentheses
9435 like "function FOO" (bug#11856).
9436
9437 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
9438
9439 * window.el (split-window-sensibly): Make WINDOW argument
9440 optional.
9441
9442 2012-07-18 Chong Yidong <cyd@gnu.org>
9443
9444 * subr.el (keyboard-translate): Doc fix (Bug#7261).
9445
9446 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
9447 and make C-x 8 RET exit isearch (Bug#11439).
9448
9449 * international/iso-transl.el: Move isearch-mode-map key
9450 definitions to isearch.el.
9451
9452 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
9453
9454 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
9455 (eieio-defclass): Use gv-define-setter when possible.
9456
9457 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
9458
9459 Reflect recent changes in Fgarbage_collect.
9460 * emacs-lisp/chart.el (chart-emacs-storage): Change to
9461 reflect new format of data returned by Fgarbage_collect.
9462
9463 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
9464
9465 New utility functions + python-info-ppss-context fix (Bug#11910).
9466 * progmodes/python.el (python-info-beginning-of-block-statement-p)
9467 (python-info-ppss-comment-or-string-p): New functions.
9468 (python-info-ppss-context): Small fix for string check.
9469
9470 2012-07-17 Juri Linkov <juri@jurta.org>
9471
9472 * dired-aux.el (dired-do-async-shell-command): Doc fix.
9473 (dired-do-async-shell-command): Don't add `*' at the end of the
9474 command (Bug#11815).
9475 (dired-do-shell-command): Doc fix.
9476 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
9477 Join the individual commands using either "&" or ";" as the
9478 separator depending on the values of these trailing characters.
9479 At the end re-add the trailing "&". (Bug#10598)
9480
9481 * simple.el (async-shell-command): Sync the interactive spec with
9482 `shell-command'. Doc fix.
9483 (shell-command): Doc fix.
9484
9485 2012-07-17 Juri Linkov <juri@jurta.org>
9486
9487 * descr-text.el (describe-char): Fix format args. (Bug#10129)
9488
9489 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
9490
9491 Final renames and doc fixes for movement commands (bug#11899).
9492 * progmodes/python.el (python-nav-beginning-of-statement):
9493 Rename from python-nav-statement-start.
9494 (python-nav-end-of-statement): Rename from
9495 python-nav-statement-end.
9496 (python-nav-beginning-of-block): Rename from
9497 python-nav-block-start.
9498 (python-nav-end-of-block): Rename from python-nav-block-end.
9499
9500 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
9501
9502 * progmodes/python.el (python-shell-send-string-no-output):
9503 Allow accept-process-output to quit, keeping shell process ready for
9504 future interactions (Bug#11868).
9505
9506 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
9507
9508 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
9509
9510 * emacs-lisp/elint.el (elint-find-args-in-code):
9511 Use help-function-arglist, so as to handle lexical byte-code.
9512
9513 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
9514 change (bug#11826).
9515
9516 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
9517
9518 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
9519 Avoid spuriously marking the buffer as modified because of c-is-sws.
9520
9521 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
9522 as not-a-comment (bug#11946).
9523
9524 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
9525 for uninterned vars.
9526
9527 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
9528 Use read-event since we don't really want to read chars but bytes.
9529
9530 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
9531 $$..$$ but also $..$ using regexps (bug#11953).
9532 Use tex-verbatim for \url and \path.
9533 (tex-font-lock-keywords): Define as defconst like the others.
9534 (tex-common-initialization): Don't use font-lock-syntax-table any more.
9535
9536 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
9537
9538 * international/mule-cmds.el (ucs-insert): Make it an obsolete
9539 alias for insert-char.
9540
9541 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
9542
9543 * progmodes/python.el: Simplified imenu implementation.
9544 (python-nav-jump-to-defun): Remove command.
9545 (python-mode-map): Use `imenu' instead.
9546 (python-nav-list-defun-positions-cache)
9547 (python-imenu-include-defun-type, python-imenu-make-tree)
9548 (python-imenu-subtree-root-label, python-imenu-index-alist):
9549 Remove vars.
9550 (python-nav-list-defun-positions, python-nav-read-defun)
9551 (python-imenu-tree-assoc, python-imenu-make-element-tree)
9552 (python-imenu-make-tree, python-imenu-create-index):
9553 Remove functions.
9554 (python-mode): Update to interact with imenu by setting
9555 `imenu-extract-index-name-function' only.
9556
9557 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
9558
9559 * progmodes/python.el: Enhancements to navigation commands.
9560 (python-nav-backward-sentence)
9561 (python-nav-forward-sentence): Remove.
9562 (python-nav-backward-statement, python-nav-forward-statement)
9563 (python-nav-statement-start, python-nav-statement-end)
9564 (python-nav-backward-block, python-nav-forward-block)
9565 (python-nav-block-start, python-nav-block-end)
9566 (python-nav-forward-sexp-function)
9567 (python-info-current-line-comment-p)
9568 (python-info-current-line-empty-p): New functions.
9569 (python-indent-context): Use `python-nav-statement-start'.
9570
9571 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
9572
9573 * eshell/em-ls.el (eshell/ls): Use `apply'.
9574
9575 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
9576 multi-hops, instead of Tramp internals.
9577
9578 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
9579
9580 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
9581 when F1 and F2 are located on different hosts.
9582
9583 2012-07-14 Chong Yidong <cyd@gnu.org>
9584
9585 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
9586 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
9587 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
9588 (xterm-mouse--read-event-sequence-1000)
9589 (xterm-mouse--read-event-sequence-1006): New functions. For old
9590 mouse protocol, handle M-mouse-X events correctly.
9591 (xterm-mouse-event): New arg specifying mouse protocol.
9592 (turn-on-xterm-mouse-tracking-on-terminal)
9593 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
9594 sequence to toggle extended coordinates on newer XTerms.
9595 This appears to be harmless on terminals which do not support this.
9596
9597 2012-07-14 Leo Liu <sdl.web@gmail.com>
9598
9599 Add fringe bitmap indicators for flymake. (Bug#11253)
9600 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
9601 (flymake-make-overlay): New arg BITMAP.
9602 (flymake-error-bitmap, flymake-warning-bitmap)
9603 (flymake-fringe-indicator-position): New user variables.
9604
9605 * fringe.el: New bitmap exclamation-mark.
9606
9607 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
9608
9609 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
9610 also (Bug#7879).
9611
9612 2012-07-14 Chong Yidong <cyd@gnu.org>
9613
9614 * electric.el (electric-pair-post-self-insert-function): Fix pair
9615 insertion in empty-region case (Bug#11520).
9616
9617 2012-07-14 Chong Yidong <cyd@gnu.org>
9618
9619 * bindings.el: Consolidate ctl-x-r-map bindings.
9620 Bind copy-rectangle-as-kill to C-x r w.
9621
9622 * rect.el, register.el: Move bindings to bindings.el.
9623
9624 2012-07-14 Reuben Thomas <rrt@sc3d.org>
9625
9626 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
9627
9628 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
9629
9630 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
9631
9632 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
9633
9634 * bindings.el (top): Use `mapc' instead of `mapcar'.
9635
9636 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
9637
9638 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
9639
9640 * progmodes/sql.el (sql-comint): Suppress the check for program on
9641 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
9642 (Bug#11908)
9643
9644 2012-07-13 Chong Yidong <cyd@gnu.org>
9645
9646 * bindings.el: Assign a non-nil permanent-local property to
9647 per-buffer variables which lack a default value (Bug#11930).
9648
9649 * help-fns.el (describe-variable): In the "automatically becomes
9650 local" notice, take note of permanent-local variables.
9651
9652 2012-07-13 Chong Yidong <cyd@gnu.org>
9653
9654 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
9655 to allow printing the message when called from Lisp.
9656
9657 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
9658 Remove toggle-read-only.
9659
9660 * bs.el (bs-toggle-readonly):
9661 * buff-menu.el (Buffer-menu-toggle-read-only):
9662 Remove with-no-warnings around toggle-read-only.
9663
9664 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
9665 Remove with-no-warnings around toggle-read-only.
9666 (ffap-read-only, ffap-read-only-other-window)
9667 (ffap-read-only-other-frame): Callers changed.
9668
9669 * help-mode.el: Don't require view package.
9670 (help-mode-finish): Set buffer-read-only instead of calling
9671 toggle-read-only.
9672
9673 * bindings.el (mode-line-toggle-read-only):
9674 * dired.el (dired-toggle-read-only):
9675 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
9676 with non-nil second arg.
9677
9678 * emacs-lisp/eieio-custom.el (eieio-customize-object):
9679 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
9680 directly.
9681
9682 2012-07-12 Eli Zaretskii <eliz@gnu.org>
9683
9684 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
9685 not incf.
9686
9687 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
9688
9689 More CL cleanups and reduction of use of cl.el.
9690 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
9691 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
9692 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
9693 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
9694 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
9695 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
9696 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
9697 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
9698 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
9699 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
9700 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
9701 * eshell/em-cmpl.el, eshell/em-banner.el:
9702 * calendar/parse-time.el: Use cl-lib.
9703 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
9704 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
9705 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
9706 * term/ns-win.el, term.el, shell.el, ps-samp.el:
9707 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
9708 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
9709 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
9710 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
9711 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
9712 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
9713 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
9714 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
9715 `lambda' rather than with `quote'.
9716 (eshell-do-opt): Adjust accordingly.
9717 (eshell-process-option): Simplify.
9718 * eshell/esh-var.el:
9719 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
9720 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
9721 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
9722 to `pcase--dontcare'.
9723 * emacs-lisp/cl.el (labels): Mark obsolete.
9724 (cl--letf, letf): Move to cl-lib.
9725 (cl--letf*, letf*): Remove.
9726 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
9727 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
9728 (cl-progv): Rewrite.
9729 (cl--letf, cl-letf): Move from cl.el.
9730 (cl-letf*): New macro.
9731 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
9732
9733 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
9734
9735 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
9736
9737 2012-07-11 Chong Yidong <cyd@gnu.org>
9738
9739 * vc/log-edit.el (log-edit-vc-backend): New variable.
9740 (log-edit): Doc fix.
9741
9742 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
9743 argument of log-edit to set up all local variables.
9744 (vc-start-logentry): New optional arg specifying VC backend.
9745
9746 * vc/vc.el (vc-checkin): Use it.
9747 (vc-deduce-fileset): Handle Log Edit buffers.
9748 (vc-diff): Make first argument optional too.
9749
9750 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
9751
9752 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
9753
9754 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
9755 command, just in case. The function is not needed anymore.
9756 (eshell-external-command): Do not call `eshell-remote-command'.
9757
9758 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
9759
9760 Reduce use of (require 'cl).
9761 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
9762 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
9763 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
9764 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
9765 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
9766 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
9767 * battery.el, avoid.el, abbrev.el: Use cl-lib.
9768 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
9769 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
9770 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
9771 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
9772 * calculator.el, autorevert.el, apropos.el: Don't require CL.
9773 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
9774 (byte-compile-unfold-bcf, byte-compile-check-variable):
9775 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
9776 (byte-compile-nilconstp):
9777 * emacs-lisp/autoload.el (make-autoload): Use pcase.
9778 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
9779
9780 * emacs-lisp/gv.el (cond): Make it a valid place.
9781 (if): Simplify slightly.
9782
9783 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
9784 (pcase--self-quoting-p): New function.
9785 (pcase--u1): Use it.
9786
9787 2012-07-10 Glenn Morris <rgm@gnu.org>
9788
9789 * emacs-lisp/authors.el (authors-fixed-entries):
9790 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
9791
9792 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
9793
9794 Rename configure.in to configure.ac (Bug#11603).
9795 * emacs-lisp/authors.el (authors-canonical-file-name):
9796 * progmodes/autoconf.el (autoconf-mode):
9797 Prefer configure.ac to configure.in.
9798
9799 2012-07-08 Chong Yidong <cyd@gnu.org>
9800
9801 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
9802 Implement the mouse-1-click-follows-link handling properly.
9803
9804 * info.el (Info-link-keymap): Use follow-link mechanism for
9805 header-line links (Bug#374).
9806
9807 * simple.el (deactivate-mark): Do not set the primary selection
9808 if another program has acquired it (Bug#11772).
9809
9810 2012-07-07 Kevin Ryde <user42@zip.com.au>
9811
9812 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
9813 (woman-decode-region): Replace escaped-escapes without destroying
9814 bold or underline (Bug#11552).
9815 (woman2-process-escapes): Handle nofill regions (Bug#11591).
9816
9817 2012-07-07 Chong Yidong <cyd@gnu.org>
9818
9819 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
9820 (interprogram-cut-function, interprogram-paste-function):
9821 Mention that we typically mean the clipboard.
9822
9823 2012-07-06 Glenn Morris <rgm@gnu.org>
9824
9825 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
9826
9827 * files.el (toggle-read-only): Restrict message to interactive use.
9828
9829 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
9830
9831 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
9832
9833 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
9834
9835 2012-07-06 Glenn Morris <rgm@gnu.org>
9836
9837 * Makefile.in (compile-one-process): Rename from "recompile".
9838
9839 * Makefile.in (bzr-update): "compile" is the same as "recompile
9840 autoloads", but parallelizable, so use that instead.
9841
9842 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
9843
9844 * window.el (quit-window): Always restore window height when
9845 it's saved in quit-restore parameter (Bug#11810).
9846
9847 2012-07-06 Glenn Morris <rgm@gnu.org>
9848
9849 * simple.el (kill-whole-line): Doc tweak.
9850
9851 2012-07-06 Eli Zaretskii <eliz@gnu.org>
9852
9853 * files.el (file-relative-name): Compare file names
9854 case-insensitively if on MS-Windows or MS-DOS, or if
9855 read-file-name-completion-ignore-case is non-nil. Don't use
9856 case-fold-search for this purpose. (Bug#11827)
9857
9858 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
9859
9860 * calendar/cal-dst.el (calendar-current-time-zone):
9861 Return calendar-current-time-zone-cache if non-nil.
9862
9863 2012-07-17 Masatake YAMATO <yamato@redhat.com>
9864 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
9865
9866 * calendar/cal-dst.el (calendar-current-time-zone):
9867 Return calendar-current-time-zone-cache if non-nil.
9868
9869 2012-07-06 Glenn Morris <rgm@gnu.org>
9870
9871 * Makefile.in (cvs-update): Remove old alias.
9872
9873 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
9874
9875 Sync with Tramp 2.2.6-pre.
9876
9877 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
9878 compatible declaration.
9879
9880 * net/tramp-cmds.el (tramp-append-tramp-buffers):
9881 Protect `list-load-path-shadows' call.
9882
9883 * net/tramp-compat.el (top): Require packages, which aren't
9884 autoloaded anymore for XEmacs. Protect call of
9885 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
9886 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
9887 it hurts at least for SXEmacs.
9888 (tramp-compat-temporary-file-directory): In XEmacs, there is no
9889 standard-value for `temporary-file-directory'.
9890
9891 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
9892 Redirect stderr to /dev/null.
9893 (tramp-sh-handle-write-region): uid and gid can be floats.
9894 Reported by Russell Sim <russell.sim@gmail.com>.
9895 (tramp-sh-handle-vc-registered): Hide errors.
9896 (tramp-vc-file-name-handler): Use dummy results for `process-file'
9897 and `start-file-process'.
9898 (tramp-maybe-open-connection): Check also whether `non-essential'
9899 is bound.
9900
9901 2012-07-04 Chong Yidong <cyd@gnu.org>
9902
9903 * xml.el (xml--parse-buffer): Use xml-syntax-table.
9904 (xml-parse-tag): Likewise, and avoid changing entity tables.
9905 (xml-syntax-table): Define from scratch, making sure not to give
9906 x2000 and other Unicode spaces whitespace syntax, since those are
9907 not spaces in XML.
9908 (xml-parse-fragment): Delete unused function.
9909 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
9910 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
9911 (xml-entity-ref, xml-pe-reference-re)
9912 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
9913 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
9914 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
9915 (xml-entity-value-re): Use syntax references in regexps where
9916 possible; no need to define inside a let-binding.
9917 (xml-parse-dtd): Use xml-pe-reference-re.
9918 (xml-entity-or-char-ref-re): New defconst.
9919 (xml-parse-string, xml-substitute-special): Use it.
9920
9921 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
9922
9923 * files.el (locate-dominating-file): Allow `name' to be a predicate.
9924 (find-file--read-only): New function.
9925 (find-file-read-only, find-file-read-only-other-window)
9926 (find-file-read-only-other-frame): Use it.
9927 (insert-file-contents-literally): Don't `fset'.
9928 (get-free-disk-space): Use locate-dominating-file.
9929
9930 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
9931 function is already compiled.
9932
9933 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
9934
9935 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
9936
9937 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
9938 files on the same host.
9939
9940 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
9941
9942 * help-fns.el (describe-function-1): Only call
9943 help-fns--autoloaded-p when we have a file name. (Bug#11848)
9944
9945 2012-07-03 Chong Yidong <cyd@gnu.org>
9946
9947 * xml.el: Protect parser against XML bombs.
9948 (xml-entity-expansion-limit): New variable.
9949 (xml-parse-string, xml-substitute-special): Use it.
9950 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
9951
9952 2012-07-03 Glenn Morris <rgm@gnu.org>
9953
9954 * progmodes/bug-reference.el (bug-reference-bug-regexp):
9955 Allow linking to specific messages in debbugs reports (eg 123#5).
9956
9957 2012-07-02 Chong Yidong <cyd@gnu.org>
9958
9959 * xml.el: Fix entity and character reference expansion, allowing
9960 them to expand into markup as per XML spec.
9961 (xml-default-ns): New variable.
9962 (xml-entity-alist): Use XML spec definitions for lt and amp.
9963 (xml-parse-region): Make first two arguments optional.
9964 Discard text properties.
9965 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
9966 All callers changed.
9967 (xml-parse-tag): Call xml-parse-tag-1. For backward
9968 compatibility, this function should not modify buffer contents.
9969 (xml-parse-tag-1): Fix opening-tag regexp.
9970 (xml-parse-string): Rewrite, handling entity and character
9971 references properly.
9972 (xml--entity-replacement-text): Signal an error if a parameter
9973 entity is undefined.
9974
9975 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
9976
9977 * comint.el (comint-output-filter): Filter out repeated prompts.
9978
9979 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
9980 and file-name-absolute-p.
9981 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
9982 internal calls.
9983
9984 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
9985
9986 Spelling fixes.
9987 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
9988 Rename from byte-compile--refiy-function. All uses changed.
9989
9990 2012-07-01 Chong Yidong <cyd@gnu.org>
9991
9992 * xml.el (xml--parse-buffer): New function. Move most of
9993 xml-parse-region here.
9994 (xml-parse-region): Copy region into a temporary buffer, since
9995 parameter entity substitution requires changing buffer contents.
9996 Use xml--parse-buffer.
9997 (xml-parse-file): Use xml--parse-buffer.
9998 (xml-parse-dtd): Make parameter entity substitution work right.
9999 Use proper regexps for ELEMENT declarations (Bug#7172).
10000
10001 2012-06-30 Glenn Morris <rgm@gnu.org>
10002
10003 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
10004
10005 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
10006 Remove outdated and unnecessary dbus declarations.
10007
10008 2012-06-30 Eli Zaretskii <eliz@gnu.org>
10009
10010 * emacs-lisp/timer.el (timer-until): Subtract results of
10011 float-time, instead of taking float-time of the result of
10012 time-subtract, since float-time signals an error for negative time
10013 arguments.
10014
10015 2012-06-30 Chong Yidong <cyd@gnu.org>
10016
10017 * xml.el (xml-*-re): Convert defvars into defconsts, and
10018 eval-and-compile them so eval-and-compile works on derivatives.
10019 (xml--entity-replacement-text): Use eval-and-comple.
10020
10021 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
10022
10023 * vc/vc-git.el (vc-git-registered): Use cache property
10024 `git-registered'.
10025 (vc-git-mode-line-string): Call `vc-working-revision' instead of
10026 `vc-git-working-revision' in order to benefit from the cache.
10027 (vc-git-root): Use cache property `git-root'. (Bug#11757)
10028
10029 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
10030
10031 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
10032 removed (likely outside Emacs). (Bug#11757)
10033
10034 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
10035
10036 * emacs-lisp/cl-lib.el: Require macroexp.
10037
10038 2012-06-30 Chong Yidong <cyd@gnu.org>
10039
10040 * xml.el: Implement XML parameter entities.
10041 (xml-parameter-entity-alist): New variable.
10042 (xml-parse-region, xml-parse-fragment): Preserve previous values
10043 of xml-entity-alist and xml-parameter-entity-alist, so that
10044 repeated calls on different documents do not change them.
10045 (xml-parse-tag): Fix doctype regexp.
10046 (xml--entity-replacement-text): New function.
10047 (xml-parse-dtd): Use it. Don't handle system entities; doing that
10048 properly requires url retrieval which is unimplemented.
10049 (xml-escape-string): Doc fix.
10050
10051 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
10052
10053 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
10054
10055 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
10056
10057 * fringe.el (fringe-mode): Doc fix.
10058
10059 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
10060
10061 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
10062 is non-nil.
10063 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
10064 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
10065
10066 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
10067
10068 * calendar/cal-dst.el (calendar-current-time-zone):
10069 Return calendar-current-time-zone-cache if non-nil.
10070
10071 2012-06-29 Masatake YAMATO <yamato@redhat.com>
10072
10073 * progmodes/which-func.el (which-func-format):
10074 Add mouse-face. (Bug#11698)
10075
10076 2012-06-29 Leo Liu <sdl.web@gmail.com>
10077
10078 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
10079
10080 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
10081
10082 * minibuffer.el (minibuffer-confirm-exit-commands):
10083 Add completion-at-point (bug#11725).
10084
10085 2012-06-29 Glenn Morris <rgm@gnu.org>
10086
10087 * progmodes/f90.el (f90-font-lock-keywords-2):
10088 Add some preprocessor elements. (Bug#10499)
10089
10090 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
10091
10092 * progmodes/cperl-mode.el (cperl-update-syntaxification):
10093 Use syntax-propertize (bug#11739).
10094
10095 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
10096
10097 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
10098
10099 2012-06-28 Julien Danjou <julien@danjou.info>
10100
10101 * term.el (term-handle-colors-array): Use a set of new faces to
10102 color the terminal. Also uses :inverse-video property.
10103 (term-default-fg-color): Set to nil by default, deprecate in favor
10104 of `term-face'.
10105 (term-default-bg-color): Set to nil by default, deprecate in favor
10106 of `term-face'.
10107 (term-current-face): Use `term-face' by default.
10108 (term-bold-attribute): Variable deleted.
10109
10110 2012-06-28 Glenn Morris <rgm@gnu.org>
10111
10112 * simple.el (completion-list-mode-finish):
10113 Don't use toggle-read-only. (Since completion-list-mode has
10114 a special mode-class, it wasn't doing anything extra anyway.)
10115
10116 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
10117
10118 Make inlining of other-mode interpreted functions work (bug#11799).
10119 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
10120 (byte-compile): Use it to fix compilation of lexical-binding closures.
10121 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
10122 function, if needed.
10123
10124 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
10125
10126 * help-mode.el (help-make-xrefs): Don't just withstand
10127 cyclic-variable-indirection but any error in documentation-property.
10128
10129 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
10130 memory use.
10131 * bindings.el (bindings--define-key): New function.
10132 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
10133 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
10134 * bindings.el: Use it to purecopy define-key bindings.
10135
10136 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
10137
10138 * emacs-lisp/cl.el (flet): Mark obsolete.
10139 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
10140 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
10141 * progmodes/js.el (js-c-fill-paragraph):
10142 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
10143 (ebrowse-switch-member-buffer-to-derived-class):
10144 * play/5x5.el (5x5-solver): Use cl-flet.
10145
10146 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
10147 (cl--symbol-function): New macro.
10148 (cl--letf, cl--letf*): Use it.
10149
10150 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
10151 Strip "toggle-" if any.
10152
10153 2012-06-27 Glenn Morris <rgm@gnu.org>
10154
10155 * info.el (Info-default-directory-list): Move here from paths.el.
10156 * paths.el: Remove file, which is now empty.
10157 * loadup.el: No longer load "paths".
10158
10159 * custom.el (custom-initialize-delay): Doc fix.
10160
10161 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
10162 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
10163 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
10164 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
10165 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
10166 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
10167 * eshell/eshell.el (eshell-defgroup): Remove alias.
10168
10169 2012-06-27 Chong Yidong <cyd@gnu.org>
10170
10171 * help.el (help-enable-auto-load): New variable.
10172
10173 * help-fns.el (help-fns--autoloaded-p): New function.
10174 (describe-function-1): Refer to a function as "autoloaded" if it
10175 was autoloaded at any time in the past. Perform autoloading if
10176 help-enable-auto-load is non-nil.
10177
10178 2012-06-26 Eli Zaretskii <eliz@gnu.org>
10179
10180 * makefile.w32-in (compile, compile-always): Depend on
10181 update-subdirs, not on subdirs.el. Otherwise, several different
10182 sub-targets of 'bootstrap' running in parallel could
10183 simultaneously write to subdirs.el, producing a garbled file.
10184
10185 2012-06-26 Sam Steingold <sds@gnu.org>
10186
10187 * files.el (file-name-base): New convenience function.
10188 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
10189 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
10190 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
10191 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
10192 * textmodes/ispell.el, textmodes/reftex-ref.el:
10193 * textmodes/tex-mode.el: Use it.
10194 Did not touch cedet and org because they are maintained elsewhere.
10195
10196 2012-06-26 Martin Rudalics <rudalics@gmx.at>
10197
10198 * calendar/calendar.el (calendar-exit): Don't try to delete or
10199 iconify last frame. See:
10200 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
10201
10202 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
10203
10204 * server.el (server-process-filter): Remember dir in the
10205 process's `server-client-directory' properties.
10206
10207 2012-06-24 Chong Yidong <cyd@gnu.org>
10208
10209 * xml.el (xml-parse-tag): Correctly handle comment embedded in
10210 non-tag text.
10211
10212 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
10213
10214 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
10215
10216 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
10217
10218 * help-fns.el (describe-variable): Don't croak when doc is not found.
10219 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
10220 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
10221 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
10222 * emacs-lisp/smie.el (smie-next-sexp): CSE.
10223 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
10224 ((lambda ..) ..).
10225 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
10226
10227 2012-06-23 Chong Yidong <cyd@gnu.org>
10228
10229 * info.el (Info-mouse-follow-link): Accept symbol values of
10230 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
10231 (Info-fontify-node): Use Info-link-keymap for all navigation
10232 buttons, with link-args property to perform the desired action.
10233 (Info-link-keymap): Doc fix.
10234 (Info-next-link-keymap, Info-prev-link-keymap)
10235 (Info-up-link-keymap): Delete now-unused keymaps.
10236
10237 2012-06-23 Chong Yidong <cyd@gnu.org>
10238
10239 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
10240
10241 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
10242 system abbrevs.
10243
10244 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
10245
10246 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
10247
10248 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
10249 (bug#11719).
10250
10251 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
10252 the requote function doesn't work properly (bug#11714).
10253
10254 2012-06-23 Glenn Morris <rgm@gnu.org>
10255
10256 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
10257
10258 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
10259
10260 Further GV/CL cleanups.
10261 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
10262 gv-expander.
10263 (gv--defun-declaration): New function.
10264 (defun-declarations-alist): Use it.
10265 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
10266 (gv-place): Autoload.
10267 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
10268 original definition of dotimes and dolist.
10269 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
10270 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
10271 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
10272 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
10273 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
10274 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
10275 to the function's definition.
10276 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
10277 * window.el:
10278 * files.el:
10279 * faces.el:
10280 * env.el: Don't use CL.
10281
10282 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
10283
10284 Support higher-resolution time stamps (Bug#9000).
10285
10286 * calendar/time-date.el (with-decoded-time-value): New arg
10287 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
10288 (encode-time-value): New optional arg PICO. New type 3.
10289 (time-to-seconds) [!float-time]: Support the new picoseconds
10290 component if it's used.
10291 (seconds-to-time, time-subtract, time-add):
10292 Support ps-resolution time stamps as well.
10293
10294 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
10295 (timerp): Timer vectors now have length 9, not 8.
10296 (timer--time): Support new-style (4-part) time stamps.
10297 (timer-next-integral-multiple-of-time): Time stamps now have
10298 picosecond resolution, so take a bit more care about rounding.
10299 (timer-relative-time, timer-inc-time): New optional arg psecs.
10300 (timer-set-time-with-usecs): Set psecs to 0.
10301 (timer--activate): Check psecs component, too.
10302
10303 * proced.el (proced-time-lessp): Support ps-resolution stamps.
10304
10305 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
10306
10307 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
10308 Move the non-essential binding to the post/pre-command-hook where it is
10309 more obviously correct.
10310
10311 * subr.el (read-passwd): Don't use a history at all.
10312 * savehist.el (savehist-save): Remove password saved accidentally
10313 because of the above bug.
10314
10315 2012-06-22 Bastien Guerry <bzg@gnu.org>
10316
10317 * files.el (toggle-read-only): Display a message telling whether
10318 the buffer is read-only or not (bug#11726).
10319
10320 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
10321
10322 * emacs-lisp/gv.el: New file.
10323 * subr.el (push, pop): Extend to generalized variables.
10324 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
10325 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
10326 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
10327 gv-define-simple-setter, and gv-define-expander.
10328 Remove setf-methods defined in gv. Rename cl-setf -> setf.
10329 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
10330 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
10331 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
10332 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
10333 gv-letplace.
10334 (cl-defstruct): Don't define setf-method any more.
10335 * emacs-lisp/cl.el (flet): Don't autoload.
10336 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
10337 (define-setf-expander, defsetf, define-modify-macro)
10338 (cl-struct-setf-expander): Move from cl-lib.el.
10339 * emacs-lisp/syntax.el:
10340 * emacs-lisp/ewoc.el:
10341 * emacs-lisp/smie.el:
10342 * emacs-lisp/cconv.el:
10343 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
10344 (timer--time): Use gv-define-simple-setter.
10345 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
10346 to avoid coding-system problems in subr.el. Adjust all users.
10347 (macroexp--maxsize, macroexp-small-p): New functions.
10348 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
10349 * scroll-bar.el (scroll-bar-mode):
10350 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
10351 (normal-erase-is-backspace-mode): Don't use the `eq' place.
10352 * winner.el (winner-configuration, winner-make-point-alist)
10353 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
10354 * files.el (locate-file-completion-table): Avoid list*.
10355
10356 2012-06-22 Chong Yidong <cyd@gnu.org>
10357
10358 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
10359 (dired-create-files): Doc fix (Bug#11329).
10360 (dired-do-copy): Doc fix (Bug#11334).
10361 (dired-mark-read-string): Doc fix (Bug#11553).
10362
10363 * dired.el (dired-recursive-copies, dired-recursive-deletes):
10364 Doc fix (Bug#11326).
10365 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
10366 (dired-dwim-target): Doc fix.
10367
10368 * wdired.el (wdired-mode): Doc fix.
10369
10370 2012-06-22 Glenn Morris <rgm@gnu.org>
10371
10372 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
10373 (pcmpl-rpm-cache-stamp-file): New constant.
10374 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
10375 (pcmpl-rpm-packages): Optionally cache list of packages.
10376
10377 * pcmpl-rpm.el (pcmpl-rpm): New group.
10378 (pcmpl-rpm-query-options): New option.
10379 (pcmpl-rpm-packages): No need to inline it.
10380 Use pcmpl-rpm-query-options.
10381
10382 * calendar/calendar.el (calendar-in-read-only-buffer):
10383 Avoid some needless mode changes.
10384
10385 2012-06-21 Chong Yidong <cyd@gnu.org>
10386
10387 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
10388 (desktop-path): Remove . from the default value (Bug#10977).
10389 (desktop-read): Use user-emacs-directory if desktop-path is nil.
10390
10391 2012-06-20 Chong Yidong <cyd@gnu.org>
10392
10393 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
10394
10395 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
10396
10397 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
10398 (bug#11201).
10399
10400 2012-06-20 Chong Yidong <cyd@gnu.org>
10401
10402 * term.el (term-window-width): Handle the case of a missing right
10403 fringe (Bug#8837).
10404 (term-check-size): Use window-text-height (Bug#5445).
10405 (term-mode): Use define-derived-mode. Minor cleanups.
10406 Set font-lock-defaults (Bug#7692).
10407 (term-move-columns, term-insert-char, term-emulate-terminal)
10408 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
10409
10410 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
10411
10412 * net/ange-ftp.el (ange-ftp-get-passwd):
10413 Bind `enable-recursive-minibuffers'.
10414 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
10415
10416 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
10417
10418 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
10419
10420 2012-06-19 Glenn Morris <rgm@gnu.org>
10421
10422 * progmodes/python.el (python-mode): Derive from prog-mode.
10423
10424 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
10425
10426 * emulation/edt.el (edt-default-menu-bar-update-buffers)
10427 (edt-user-menu-bar-update-buffers): New functions.
10428 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
10429
10430 2012-06-19 Chong Yidong <cyd@gnu.org>
10431
10432 * subr.el (with-selected-window): Preserve the selected window's
10433 terminal's top-frame (Bug#4702).
10434
10435 * window.el (save-selected-window): Likewise.
10436
10437 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10438
10439 * progmodes/python.el (python-rx-constituents): Move backquote.
10440 (python-skeleton-define, python-define-auxiliary-skeleton):
10441 Use `declare'.
10442
10443 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
10444
10445 * minibuffer.el (read-file-name-default): Revert the patch from
10446 2012-06-17.
10447
10448 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10449
10450 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
10451 (pcase--u1, pcase--q1): Don't use apply-partially.
10452
10453 2012-06-18 Glenn Morris <rgm@gnu.org>
10454
10455 * progmodes/python.el (python-proc, python-buffer)
10456 (python-send-receive, python-send-string): Fix obsolete versions.
10457
10458 2012-06-18 Martin Rudalics <rudalics@gmx.at>
10459
10460 * window.el (special-display-p): Completely remove stringp
10461 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
10462
10463 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
10464
10465 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
10466
10467 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
10468
10469 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
10470 * net/tramp-sh.el (tramp-maybe-open-connection):
10471 Throw if `non-essential' is non-nil.
10472
10473 2012-06-17 Martin Rudalics <rudalics@gmx.at>
10474
10475 * window.el (special-display-p): Signal an error if BUFFER-NAME
10476 is not a string (Bug#11713).
10477
10478 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
10479
10480 * progmodes/python.el (python-info-beginning-of-backslash):
10481 Rename from python-info-beginning-of-backlash, as a spelling fix.
10482
10483 2012-06-17 Chong Yidong <cyd@gnu.org>
10484
10485 * term.el (term-emulate-terminal): If term-check-size is called,
10486 move point to the process mark without resetting point (Bug#4635).
10487
10488 2012-06-17 Glenn Morris <rgm@gnu.org>
10489
10490 * international/mule-cmds.el (mule-menu-keymap)
10491 (set-language-environment, set-locale-environment): Doc tweaks.
10492
10493 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
10494
10495 * cus-face.el (custom-face-attributes): Add wave-style underline
10496 attribute.
10497 * faces.el (set-face-attribute): Update docstring to describe
10498 wave-style underline attribute.
10499
10500 2012-06-16 Chong Yidong <cyd@gnu.org>
10501
10502 * term/xterm.el (terminal-init-xterm): Discard input before
10503 querying background mode (Bug#10959).
10504
10505 2012-06-16 Stefan Merten <smerten@oekonux.de>
10506
10507 * textmodes/rst.el: Added and corrected some comments.
10508 (rst-re-alist-def): Improve symbol syntax.
10509 (rst-mode-syntax-table): Correct syntax entries.
10510 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
10511 (rst-official-version, rst-official-cvs-rev): Update version
10512 information.
10513
10514 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
10515
10516 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
10517 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
10518
10519 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
10520
10521 * progmodes/python.el: New python.el merge.
10522 (python-guess-indent): Obsolete var.
10523 (python-indent-guess-indent-offset): New defcustom.
10524 (python-indent): Obsolete var.
10525 (python-indent-offset): New defcustom.
10526 (python-python-command, python-jython-command): Delete var.
10527 (python-shell-interpreter): New defcustom.
10528 (python-pdbtrack-do-tracking-p): Delete var.
10529 (python-pdbtrack-activate): New defcustom.
10530 (python-use-skeletons): Obsolete var.
10531 (python-skeleton-autoinsert): New defcustom.
10532 (inferior-python-filter-regexp, python-continuation-offset)
10533 (python-honour-comment-indentation, python-indent-string-contents)
10534 (python-jython-packages, python-mode-hook)
10535 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
10536 (python-shell-prompt-alist)
10537 (python-source-modes): Delete defcustoms.
10538 (python-check-buffer-name, python-eldoc-setup-code)
10539 (python-eldoc-string-code, python-ffap-setup-code)
10540 (python-ffap-string-code, python-fill-comment-function)
10541 (python-fill-decorator-function, python-fill-paren-function)
10542 (python-fill-string-function, python-imenu-include-defun-type)
10543 (python-imenu-make-tree, python-imenu-subtree-root-label)
10544 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
10545 (python-shell-compilation-regexp-alist)
10546 (python-shell-completion-module-string-code)
10547 (python-shell-completion-pdb-string-code)
10548 (python-shell-completion-setup-code)
10549 (python-shell-completion-string-code)
10550 (python-shell-enable-font-lock, python-shell-exec-path)
10551 (python-shell-extra-pythonpaths)
10552 (python-shell-internal-buffer-name, python-shell-interpreter-args)
10553 (python-shell-process-environment)
10554 (python-shell-prompt-block-regexp)
10555 (python-shell-prompt-output-regexp)
10556 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
10557 (python-shell-send-setup-max-wait, python-shell-setup-codes)
10558 (python-shell-virtualenv-path): New defcustoms.
10559 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
10560 (inferior-python-mode-syntax-table, python--prompt-regexp)
10561 (python-buffer, python-command python-python-command)
10562 (python-default-template, python-imports, python-indent-index)
10563 (python-indent-list, python-indent-list-length)
10564 (python-mode-running, python-pdbtrack-is-tracking-p)
10565 (python-preoutput-continuation, python-preoutput-leftover)
10566 (python-preoutput-result, python-preoutput-skip-next-prompt)
10567 (python-prev-dir/file, python-recursing)
10568 (python-saved-check-command, python-version-checked)
10569 (python-which-func-length-limit)
10570 (view-return-to-alist): Delete vars.
10571 (python-check-custom-command, python-dotty-syntax-table)
10572 (python-imenu-index-alist, python-indent-current-level)
10573 (python-indent-dedenters, python-indent-levels)
10574 (python-nav-beginning-of-defun-regexp)
10575 (python-nav-list-defun-positions-cache)
10576 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
10577 (python-shell-internal-buffer)
10578 (python-skeleton-available): New vars.
10579 (def-python-skeleton): Delete macro.
10580 (python-skeleton-define): New macro.
10581 (python-define-auxiliary-skeleton, python-rx): New macros.
10582 (python-insert-class): Delete command.
10583 (python-skeleton-class): New command.
10584 (python-insert-def): Delete command.
10585 (python-skeleton-def): New command.
10586 (python-insert-for): Delete command.
10587 (python-skeleton-for): New command.
10588 (python-insert-if): Delete command.
10589 (python-skeleton-if): New command.
10590 (python-insert-try/except, python-insert-try/finally): Delete commands.
10591 (python-skeleton-try): New command.
10592 (python-insert-while): Delete command.
10593 (python-skeleton-while): New command.
10594 (python-backspace): Delete command.
10595 (python-indent-dedent-line-backspace): New command.
10596 (python-electric-colon): Delete command.
10597 (python-indent-electric-colon): New command.
10598 (python-guess-indent): Delete command.
10599 (python-indent-guess-indent-offset): New command.
10600 (python-shift-left): Delete command.
10601 (python-indent-shift-left): New command.
10602 (python-shift-right): Delete command.
10603 (python-indent-shift-right): New command.
10604 (python-find-function): Delete command.
10605 (python-nav-jump-to-defun): New command.
10606 (python-next-statement): Delete command.
10607 (python-nav-forward-sentence): New command.
10608 (python-previous-statement): Delete command.
10609 (python-nav-backward-sentence): New command.
10610 (python-fill-paragraph): Delete command.
10611 (python-fill-paragraph-function): New command.
10612 (python-send-buffer): Delete command.
10613 (python-shell-send-buffer): New command.
10614 (python-send-defun): Delete command.
10615 (python-shell-send-defun): New command.
10616 (python-send-region, python-send-region-and-go): Delete commands.
10617 (python-shell-send-region)
10618 (python-shell-switch-to-shell): New commands.
10619 (python-send-string): Delete command.
10620 (python-shell-send-string): New command.
10621 (python-switch-to-python): Delete command.
10622 (python-shell-switch-to-shell): New command.
10623 (python-describe-symbol): Delete command.
10624 (python-eldoc-at-point): New command.
10625 (python--set-prompt-regexp, python-args-to-list)
10626 (python-after-info-look, python-check-version)
10627 (python-check-comint-prompt, python-find-imports)
10628 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
10629 (python-unload-function, python-expand-template)
10630 (python-maybe-jython, python-preoutput-filter)
10631 (python-pdbtrack-get-source-buffer)
10632 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
10633 (python-pdbtrack-toggle-stack-tracking)
10634 (python-pdbtrack-track-stack-file, python-initial-text)
10635 (python-first-word, python-comment-line-p, python-send-command)
10636 (python-setup-brm, python-sentinel, python-set-proc)
10637 (python-skip-out, python-input-filter, python-outdent-p)
10638 (python-outline-level, python-backslash-continuation-line-p)
10639 (python-end-of-block, python-end-of-statement, python-mark-block)
10640 (python-beginning-of-block, python-beginning-of-statement)
10641 (python-blank-line-p, python-beginning-of-string)
10642 (python-open-block-statement-p): Delete functions.
10643 (python-indent-line, python-indent-line-1): Delete functions.
10644 (python-indent-line): New function.
10645 (python-indentation-levels): Delete function.
10646 (python-indent-calculate-levels): New function.
10647 (python-proc): Delete function.
10648 (python-shell-get-process): New function.
10649 (python-send-receive): Delete function.
10650 (python-shell-send-string-no-output): New function.
10651 (python-module-path): Delete function.
10652 (python-ffap-module-path): New function.
10653 (python-completion-at-point)
10654 (python-symbol-completions): Delete functions.
10655 (python-completion-complete-at-point): New function.
10656 (python-load-file): Delete function.
10657 (python-shell-send-file): New function.
10658 (python-calculate-indentation): Delete function.
10659 (python-indent-calculate-indentation): New function.
10660 (python-skip-comments/blanks): Delete function.
10661 (python-util-forward-comment): New function.
10662 (python-continuation-line-p): Delete function.
10663 (python-info-continuation-line-p): New function.
10664 (python-which-func, python-current-defun): Delete function.
10665 (python-info-current-defun): New function.
10666 (python-beginning-of-defun): Delete function.
10667 (python-nav-beginning-of-defun): New function.
10668 (python-close-block-statement-p)
10669 (python-block-end-p): Delete function.
10670 (python-info-closing-block): New function.
10671 (python-comint-output-filter-function)
10672 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
10673 (python-fill-comment, python-fill-decorator, python-fill-paren)
10674 (python-fill-string, python-imenu-make-element-tree)
10675 (python-imenu-make-tree, python-imenu-tree-assoc)
10676 (python-indent-context, python-indent-dedent-line)
10677 (python-indent-line-function)
10678 (python-indent-post-self-insert-function)
10679 (python-indent-toggle-levels)
10680 (python-info-assignment-continuation-line-p)
10681 (python-info-beginning-of-backlash)
10682 (python-info-block-continuation-line-p)
10683 (python-info-closing-block-message)
10684 (python-info-line-ends-backslash-p)
10685 (python-info-looking-at-beginning-of-defun)
10686 (python-info-ppss-context, python-info-ppss-context-type)
10687 (python-nav-list-defun-positions, python-nav-read-defun)
10688 (python-nav-sentence-end, python-nav-sentence-start)
10689 (python-pdbtrack-comint-output-filter-function)
10690 (python-pdbtrack-set-tracked-buffer)
10691 (python-shell-calculate-exec-path)
10692 (python-shell-calculate-process-environment)
10693 (python-shell-completion--do-completion-at-point)
10694 (python-shell-completion--get-completions)
10695 (python-shell-completion-complete-at-point)
10696 (python-shell-completion-complete-or-indent)
10697 (python-shell-get-or-create-process)
10698 (python-shell-get-process-name)
10699 (python-shell-internal-get-or-create-process)
10700 (python-shell-internal-get-process-name)
10701 (python-shell-internal-send-string, python-shell-make-comint)
10702 (python-shell-parse-command, python-shell-send-setup-code)
10703 (python-skeleton-add-menu-items)
10704 (python-util-clone-local-variables, python-util-position)
10705 (run-python-internal, python-indentation-levels)
10706 (python-nav-beginning-of-defun)
10707 (python-completion-complete-at-point): New functions.
10708 (run-python): Change arguments. New API requirements.
10709
10710 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
10711
10712 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
10713 (bug#11649).
10714
10715 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
10716 (macroexp--expand-all): Use it.
10717
10718 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
10719 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
10720 Use `cl-function' instead.
10721
10722 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
10723
10724 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
10725 Suggested by Stefan Monnier while discussing bug#11657.
10726
10727 2012-06-14 Sam Steingold <sds@gnu.org>
10728
10729 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
10730
10731 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
10732
10733 * play/doctor.el (doctor-doc): Remove parameter and use
10734 doctor-sent instead of sent.
10735 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
10736
10737 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10738
10739 * files.el: Require cl-lib.
10740 (file-name-non-special): Replace case -> cl-case.
10741
10742 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
10743
10744 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
10745 mapping from #' to function*.
10746
10747 2012-06-13 Chong Yidong <cyd@gnu.org>
10748
10749 * mouse.el (mouse-drag-track): Do not set the mark if the user
10750 releases the mouse without selecting anything (Bug#11588).
10751
10752 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10753
10754 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
10755 as well (bug#11646).
10756
10757 * loadup.el: Count byte-code functions as well.
10758
10759 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
10760 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
10761
10762 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
10763 (bug#11649). Add cl-defun and cl-defmacro.
10764
10765 2012-06-13 Drew Adams <drew.adams@oracle.com>
10766
10767 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
10768 Fix last change.
10769
10770 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
10771
10772 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
10773 Otherwise, it blocks in batch mode.
10774
10775 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
10776
10777 * help-mode.el (bookmark-make-record-default): Declare.
10778
10779 2012-06-13 Chong Yidong <cyd@gnu.org>
10780
10781 * emacs-lisp/package.el (list-packages): Compute a list of
10782 packages that are newly-available since the last list-packages
10783 invocation.
10784 (package-menu--new-package-list): New var.
10785 (package-menu--generate, package-menu--print-info)
10786 (package-menu--status-predicate, package-menu-mark-install):
10787 Handle new status label "new".
10788
10789 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
10790
10791 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
10792 conversion to backquotes.
10793
10794 2012-06-12 Chong Yidong <cyd@gnu.org>
10795
10796 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
10797 Rename from gud-inhibit-global-bindings.
10798
10799 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
10800
10801 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
10802 hook from nxml-glyph-set-hook.
10803
10804 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
10805 declaration.
10806
10807 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
10808
10809 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
10810 Convert to defcustom.
10811
10812 2012-06-12 Drew Adams <drew.adams@oracle.com>
10813
10814 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
10815 New functions.
10816 (help-mode): Use them.
10817
10818 2012-06-11 Glenn Morris <rgm@gnu.org>
10819
10820 * progmodes/fortran.el (fortran-font-lock-keywords-3):
10821 Use preprocessor face for directives.
10822 (fortran-directive-re): Doc fix.
10823
10824 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10825
10826 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
10827 conversion to backquotes (bug#11652).
10828
10829 Fix compiler-expansion of CL's cXXr functions (bug#11673).
10830 * emacs-lisp/cl-lib.el (cl--defalias): New function.
10831 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
10832 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
10833 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
10834 (cl-ninth, cl-tenth): Mark them as inlinable.
10835 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
10836 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
10837 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
10838 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
10839 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
10840 (cl-list*, cl-adjoin): Don't put an autoload manually.
10841 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
10842 (cl--compiler-macro-list*): Add autoload cookie.
10843 (cl--compiler-macro-cXXr): New function.
10844
10845 * help-fns.el (help-fns--compiler-macro): New function extracted from
10846 describe-function-1; follow aliases and use `compiler-macro' property.
10847 (describe-function-1): Use it.
10848
10849 2012-06-11 Chong Yidong <cyd@gnu.org>
10850
10851 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
10852 is uninstalled, if imagemagick is installed.
10853
10854 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10855
10856 * emacs-lisp/cl-lib.el: Use lexical-binding.
10857 (cl-map-extents, cl-maclisp-member): Remove.
10858 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
10859 (cl--set-substring, cl--block-wrapper, cl--block-throw)
10860 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
10861 * emacs-lisp/cl-extra.el: Use lexical-binding.
10862 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
10863 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
10864 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
10865 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
10866 * emacs-lisp/cl-seq.el: Use lexical-binding.
10867 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
10868 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
10869 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
10870 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
10871 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
10872 CL's internals.
10873
10874 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
10875
10876 Sync with Tramp 2.2.6-pre.
10877
10878 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
10879 `print-length' and `print-level' to nil, in order to avoid
10880 truncation. Reported by Christopher Schmidt
10881 <christopher@ristopher.com>.
10882
10883 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
10884
10885 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
10886 New defmacro.
10887 (tramp-compat-copy-directory): Add optional argument
10888 COPY-CONTENTS. It is not handled yet.
10889
10890 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
10891 (tramp-ftp-file-name-p): Simplify.
10892
10893 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
10894 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
10895 connection vector.
10896
10897 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
10898 (tramp-methods): Do not use `tramp-password-end-of-line'.
10899 (tramp-completion-function-alist-putty): Handle UNIX case.
10900 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
10901 (tramp-do-file-attributes-with-stat)
10902 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
10903 gid as real numbers. They could run out of integer range on cygwin.
10904 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
10905 (tramp-sh-handle-expand-file-name): Handle hops.
10906 (tramp-open-connection-setup-interactive-shell):
10907 Use `tramp-cleanup'. Move check for busyboxes ...
10908 (tramp-find-shell): ... here. Simplify implementation.
10909 Set "remote-shell" property also for alternative shells.
10910 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
10911 If failing, a regular file would be written otherwise.
10912 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
10913 (tramp-find-inline-encoding): Cache the coding commands in the
10914 process cache. Apply test command on the remote side, if defined.
10915 (tramp-find-inline-compress): Cache the compress commands in the
10916 process cache.
10917 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
10918 when requested. Handle hops.
10919 (tramp-current-connection): New defvar.
10920 (tramp-maybe-open-connection): Use `tramp-cleanup'.
10921 Throw `suppress', if there was a failed connection shortly before.
10922 Handle user interrupt. (Bug#10187)
10923 (tramp-get-inline-compress, tramp-get-inline-coding):
10924 Read connection properties from the process cache.
10925
10926 * net/tramp-smb.el (tramp-smb-server-version)
10927 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
10928 New defconsts.
10929 (tramp-smb-prompt): Extend for powershell prompt.
10930 (tramp-smb-file-name-handler-alist): Add handlers for
10931 `process-file', `shell-command' and `start-file-process'.
10932 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
10933 (tramp-smb-winexe-shell-command-switch): New defcustoms.
10934 (tramp-smb-file-name-p): Simplify.
10935 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
10936 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
10937 (tramp-smb-shell-quote-argument): New defuns.
10938 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
10939 Implement using "tar". By this, time-stamps are preserved.
10940 (tramp-smb-handle-copy-file): Handle also the case of directories.
10941 (tramp-smb-do-file-attributes-with-stat)
10942 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
10943 Use `tramp-get-connection-buffer').
10944 (tramp-smb-handle-rename-file): Use "rename", when source and
10945 target are on the same share.
10946 (tramp-smb-maybe-open-connection): Handle wrong passwords.
10947 Use `tramp-smb-server-version'.
10948 (tramp-smb-wait-for-output): Remove prompt.
10949
10950 * net/tramp.el (top): Require 'cl.
10951 (tramp-methods, tramp-rsh-end-of-line):
10952 Remove `tramp-password-end-of-line' from docstring.
10953 (tramp-save-ad-hoc-proxies): New defcustom.
10954 (tramp-completion-function-alist): Adapt docstring.
10955 (tramp-default-password-end-of-line): Remove defcustom.
10956 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
10957 (tramp-user-regexp, tramp-file-name-regexp-unified)
10958 (tramp-file-name-regexp-url): Extend regexp by hop separator.
10959 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
10960 (tramp-remote-file-name-spec-regexp): New defconst.
10961 (tramp-file-name-structure): Extend structure for hops.
10962 (tramp-get-method-parameter): Move up.
10963 (tramp-file-name-p, tramp-dissect-file-name)
10964 (with-parsed-tramp-file-name): Handle hops.
10965 (tramp-file-name-hop): New defun.
10966 (tramp-make-tramp-file-name): New optional arg HOP.
10967 (tramp-message-show-progress-reporter-message): New defvar.
10968 (tramp-with-progress-reporter): Use it. We cannot use
10969 `tramp-message-show-message' here, because this suppresses also
10970 error buffers.
10971 (tramp-error-with-buffer): Suppress buffer view, if
10972 `tramp-message-show-message' is nil.
10973 Use `tramp-get-connection-buffer'.
10974 (tramp-cleanup): New defun.
10975 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
10976 (tramp-file-name-handler): If `debug-on-error' is set, propagate
10977 an error unchanged.
10978 (tramp-completion-handle-file-name-all-completions): Handle hops.
10979 Fix an error when called from ido.
10980 (tramp-completion-dissect-file-name): Use better local variable
10981 name. Add hop to the vector.
10982 (tramp-handle-insert-file-contents): Use progress-reporter for the
10983 whole scenario.
10984 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
10985 to `t'.
10986 (tramp-check-for-regexp): Simplify search.
10987 (tramp-enter-password): Remove it. Move implementation ...
10988 (tramp-action-password): ... here.
10989 (tramp-mode-string-to-int, tramp-local-host-p)
10990 (tramp-make-tramp-temp-file, tramp-read-passwd)
10991 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
10992 Set tramp-autoload cookie.
10993
10994 * net/trampver.el: Update release number.
10995
10996 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10997 Michael Albinus <michael.albinus@gmx.de>
10998
10999 * net/tramp.el (tramp-set-completion-function): Fix docstring.
11000 (tramp-parse-group, tramp-parse-file)
11001 (tramp-parse-shostkeys-sknownhosts): New defuns.
11002 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
11003 (tramp-parse-shosts-group, tramp-parse-sconfig)
11004 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
11005 (tramp-parse-sknownhosts, tramp-parse-hosts)
11006 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
11007 Use them.
11008 (tramp-parse-passwd-group, tramp-parse-netrc-group)
11009 (tramp-parse-putty-group): Don't narrow.
11010 (tramp-parse-putty): Make a loop.
11011 (tramp-file-name-handler): Catch the `suppress' signal.
11012
11013 2012-06-11 Chong Yidong <cyd@gnu.org>
11014
11015 * image.el (imagemagick-register-types): Put the ImageMagick entry
11016 at the end of image-type-file-name-regexps.
11017
11018 2012-06-11 Johan Bockgård <bojohan@gnu.org>
11019
11020 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
11021 (pcase, pcase-let*, pcase-dolist): Use them.
11022
11023 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
11024
11025 * emacs-lisp/pcase.el (pcase--let*): New function.
11026 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
11027 (pcase--expand): Use macroexp-let².
11028
11029 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
11030
11031 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
11032 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
11033 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
11034 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
11035 * emacs-lisp/derived.el: Use pcase instead of `cl'.
11036 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
11037
11038 2012-06-10 Glenn Morris <rgm@gnu.org>
11039
11040 * mail/rmail.el (rmail-yank-current-message): Leave point at
11041 correct position. (Bug#11660)
11042
11043 2012-06-10 Chong Yidong <cyd@gnu.org>
11044
11045 * allout-widgets.el: Fix code header.
11046
11047 2012-06-10 Chong Yidong <cyd@gnu.org>
11048
11049 * cus-edit.el (customize-changed-options-previous-release):
11050 Bump to 24.1.
11051
11052 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
11053
11054 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
11055
11056 2012-06-09 Chong Yidong <cyd@gnu.org>
11057
11058 * ebuff-menu.el (electric-buffer-list): Preserve header line.
11059
11060 2012-06-09 Martin Rudalics <rudalics@gmx.at>
11061
11062 * window.el (special-display-popup-frame): Don't use
11063 window--display-buffer (Bug#11651).
11064
11065 2012-06-09 Eli Zaretskii <eliz@gnu.org>
11066
11067 Fix parallel builds: make sure loaddefs.el is not being written
11068 while Lisp files are compiled.
11069 (compile): Don't depend on 'mh-autoloads'.
11070 (compile-CMD, compile-SH): Depend on 'autoloads'.
11071 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
11072
11073 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
11074
11075 2012-06-09 Chong Yidong <cyd@gnu.org>
11076
11077 * face-remap.el (face-remap-add-relative, face-remap-set-base)
11078 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
11079 Doc fixes (Bug#11225).
11080
11081 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
11082
11083 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
11084 a function if there's a clear indication that it has a compiler-macro.
11085 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
11086 (macro-declarations-alist): Add arglist to declaration functions.
11087 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
11088 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
11089 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
11090 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
11091 Also add autoload to find the compiler macro.
11092 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
11093 (cl--compiler-macro-member, cl--compiler-macro-assoc)
11094 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
11095 (cl--compiler-macro-get): New functions, replacing calls to
11096 cl-define-compiler-macro.
11097 (cl-typep) [compiler-macro]: Use macroexp-let².
11098
11099 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
11100
11101 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
11102 string properly, fixes Bug#11473.
11103
11104 2012-06-08 Chong Yidong <cyd@gnu.org>
11105
11106 * faces.el (set-face-attribute): Doc fix.
11107 (modify-face): Don't use :bold and :italic.
11108 (error, warning, success): Tweak definitions.
11109
11110 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
11111 (custom-modified, custom-set, custom-changed, custom-themed)
11112 (custom-saved, custom-button, custom-button-mouse)
11113 (custom-button-pressed, custom-state, custom-comment-tag)
11114 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
11115 (custom-group-subtitle): Use new-style face specs.
11116 (custom-invalid-face, custom-rogue-face, custom-modified-face)
11117 (custom-set-face, custom-changed-face, custom-saved-face)
11118 (custom-button-face, custom-button-pressed-face)
11119 (custom-documentation-face, custom-state-face)
11120 (custom-comment-face, custom-comment-tag-face)
11121 (custom-variable-tag-face, custom-variable-button-face)
11122 (custom-face-tag-face, custom-group-tag-face-1)
11123 (custom-group-tag-face): Remove obsolete face alias.
11124
11125 * epa.el (epa-validity-high, epa-validity-medium)
11126 (epa-validity-low, epa-mark, epa-field-name, epa-string)
11127 (epa-field-name, epa-field-body):
11128 * font-lock.el (font-lock-comment-face, font-lock-string-face)
11129 (font-lock-keyword-face, font-lock-builtin-face)
11130 (font-lock-function-name-face, font-lock-variable-name-face)
11131 (font-lock-type-face, font-lock-constant-face):
11132 * ido.el (ido-first-match, ido-only-match, ido-subdir)
11133 (ido-virtual, ido-indicator, ido-incomplete-regexp):
11134 * speedbar.el (speedbar-button-face, speedbar-file-face)
11135 (speedbar-directory-face, speedbar-tag-face)
11136 (speedbar-selected-face, speedbar-highlight-face)
11137 (speedbar-separator-face):
11138 * whitespace.el (whitespace-newline, whitespace-space)
11139 (whitespace-hspace, whitespace-tab, whitespace-trailing)
11140 (whitespace-line, whitespace-space-before-tab)
11141 (whitespace-space-after-tab, whitespace-indentation)
11142 (whitespace-empty):
11143 * emulation/cua-base.el (cua-global-mark):
11144 * eshell/em-prompt.el (eshell-prompt):
11145 * net/newst-plainview.el (newsticker-new-item-face)
11146 (newsticker-old-item-face, newsticker-immortal-item-face)
11147 (newsticker-obsolete-item-face, newsticker-date-face)
11148 (newsticker-statistics-face, newsticker-default-face):
11149 * net/newst-reader.el (newsticker-feed-face)
11150 (newsticker-extra-face, newsticker-enclosure-face):
11151 * net/newst-treeview.el (newsticker-treeview-face)
11152 (newsticker-treeview-new-face, newsticker-treeview-old-face)
11153 (newsticker-treeview-immortal-face)
11154 (newsticker-treeview-obsolete-face)
11155 (newsticker-treeview-selection-face):
11156 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
11157 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
11158 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
11159 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
11160 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
11161 (nxml-outline-active-indicator, nxml-outline-ellipsis):
11162 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
11163 (mpuz-text):
11164 * progmodes/vera-mode.el (vera-font-lock-number)
11165 (vera-font-lock-function, vera-font-lock-interface):
11166 * textmodes/table.el (table-cell): Use new-style face specs, and
11167 don't use the old :bold and :italic attributes.
11168
11169 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
11170 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
11171 (ebrowse-member-class, ebrowse-progress): Likewise.
11172 (ebrowse-tree-mark-face, ebrowse-root-class-face)
11173 (ebrowse-file-name-face, ebrowse-default-face)
11174 (ebrowse-member-attribute-face, ebrowse-member-class-face)
11175 (ebrowse-progress-face): Remove obsolete faces.
11176
11177 * progmodes/flymake.el (flymake-errline, flymake-warnline):
11178 Inherit from error and warning faces respectively.
11179
11180 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
11181 Likewise.
11182 (flyspell-incorrect-face, flyspell-duplicate-face):
11183 Remove obsolete aliases.
11184
11185 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
11186
11187 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
11188 Avoid infloop.
11189
11190 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
11191
11192 * startup.el (argv, argi): Make lexically scoped.
11193 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
11194 * emacs-lisp/cl-macs.el: Use lexical-binding.
11195 Rename cl-bind-* to cl--bind-*.
11196 * files.el: Don't require `cl' since it doesn't use it.
11197 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
11198
11199 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
11200
11201 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
11202 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
11203 instead of calling external sort utility.
11204 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
11205
11206 2012-06-08 Eli Zaretskii <eliz@gnu.org>
11207
11208 * descr-text.el (describe-char): Mention how to insert the
11209 character, if the current input method doesn't support it.
11210 See the discussion in this thread for the details:
11211 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
11212
11213 2012-06-08 Sam Steingold <sds@gnu.org>
11214
11215 * bindings.el (global-map): Bind XF86Forward to next-buffer and
11216 XF86Back to previous-buffer.
11217 (minibuffer-local-map): Bind them to next-history-element and
11218 previous-history-element respectively.
11219 * help-mode.el (help-mode-map): Bind them to help-go-forward and
11220 help-go-back respectively.
11221 * info.el (Info-mode-map): Bind them to Info-history-forward and
11222 Info-history-back respectively.
11223 These are the keys next to Up on the ThinkPad keyboard.
11224
11225 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
11226
11227 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
11228 * emacs-lisp/cl-macs.el: Provide itself.
11229 (cl--labels-convert-cache): New var.
11230 (cl--labels-convert): New function.
11231 (cl-flet, cl-labels): New implementation with new semantics, relying on
11232 lexical-binding.
11233 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
11234 (cl-closure-vars, cl--function-convert-cache)
11235 (cl--function-convert): Move from cl-macs.el.
11236 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
11237 rename by removing the "cl-" prefix.
11238 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
11239
11240 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
11241
11242 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
11243 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
11244 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
11245 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
11246 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
11247 (cl-hash-table-count): Add old compatibility aliases.
11248
11249 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
11250 Use macroexpand-all-environment instead.
11251 (cl--old-macroexpand): New var.
11252 (cl--sm-macroexpand): New function.
11253 (cl-symbol-macrolet): Use it during macro expansion.
11254 (cl--function-convert-cache): New var.
11255 (cl--function-convert): New function, extracted from
11256 cl-macroexpand-all.
11257 (cl-lexical-let): Use it.
11258
11259 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
11260 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
11261 (cl-member): Remove old alias.
11262
11263 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
11264 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
11265 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
11266 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
11267 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
11268 (cl-macroexpand-cmacs): Remove var.
11269 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
11270 Use macroexpand-all instead.
11271
11272 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
11273
11274 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
11275 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
11276 (macroexp-copyable-p): New functions and macros.
11277 * emacs-lisp/edebug.el (edebug-unwrap):
11278 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
11279 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
11280 (pcase--let*): Remove.
11281 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
11282 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
11283 macroexp-const-p instead.
11284 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
11285
11286 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
11287 instead of "cl-" for internal definitions. Use macroexp-const-p.
11288 (cl-old-bc-file-form): Remove var.
11289 (cl-const-exprs-p): Remove fun.
11290 (cl-labels, cl-macrolet): Use backquote.
11291 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
11292 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
11293 (cl-define-setf-expander): Rename from cl-define-setf-method.
11294 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
11295
11296 * international/mule-cmds.el: Don't require CL.
11297 (view-hello-file): Don't use `letf'.
11298
11299 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
11300
11301 * tmm.el (tmm-prompt): Use string-prefix-p.
11302 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
11303 (tmm-add-prompt): Use minibuffer-completion-help.
11304 (tmm-delete-map): Remove.
11305
11306 * subr.el (kbd): Make it its own function.
11307
11308 2012-06-07 Stefan Merten <smerten@oekonux.de>
11309
11310 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
11311 Silence compiler warnings. Fix versions.
11312 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
11313 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
11314 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
11315 (rst-package-emacs-version-alist): Correct Emacs version to
11316 represent major merge with upstream.
11317 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
11318
11319 2012-06-06 Glenn Morris <rgm@gnu.org>
11320
11321 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
11322 Only print environment variables if set.
11323
11324 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
11325
11326 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
11327 (macroexp--cons): Rename from maybe-cons.
11328 (macroexp--accumulate): Rename from macroexp-accumulate.
11329 (macroexp--all-forms): Rename from macroexpand-all-forms.
11330 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
11331 (macroexp--expand-all): Rename from macroexpand-all-1.
11332
11333 2012-06-06 Sam Steingold <sds@gnu.org>
11334
11335 * calendar/calendar.el (calendar-in-read-only-buffer):
11336 Call `special-mode' to enable the standard read-only keybindings.
11337
11338 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
11339
11340 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
11341 with "loading" messages (bug#11635).
11342
11343 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
11344
11345 * files.el (enable-remote-dir-locals): New option.
11346 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
11347
11348 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
11349 Ensure, that the temp directory is local.
11350
11351 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
11352 `temporary-file-directory'.
11353
11354 * progmodes/python.el (python-send-region): Ensure, that the
11355 temporary file is created also in the remote case.
11356
11357 2012-06-06 Glenn Morris <rgm@gnu.org>
11358
11359 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
11360 (vc-rcs-update-changelog): Use it.
11361
11362 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
11363
11364 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
11365 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
11366 (vc-sccs-diff): Replace use of the external vcdiff script.
11367
11368 2012-06-05 Glenn Morris <rgm@gnu.org>
11369
11370 * ledit.el: Move to obsolete/.
11371
11372 2012-06-05 Sam Steingold <sds@gnu.org>
11373
11374 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
11375 patch (Bug#11140).
11376
11377 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11378
11379 * emacs-lisp/cust-print.el: Move to obsolete.
11380
11381 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
11382 compiler-macro expansion.
11383
11384 Add native compiler-macro support.
11385 * emacs-lisp/macroexp.el (macroexpand-all-1):
11386 Support compiler-macros directly. Properly follow aliases and apply
11387 the compiler macros more thoroughly.
11388 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
11389 macroexpand now properly follows aliases.
11390 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
11391 (cl-compiler-macroexpand): Use new prop.
11392 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
11393
11394 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
11395
11396 2012-06-05 Martin Rudalics <rudalics@gmx.at>
11397
11398 * window.el (get-lru-window, get-mru-window, get-largest-window):
11399 New argument NOT-SELECTED to avoid picking the selected window.
11400 (window--display-buffer-1, window--display-buffer-2): Replace by
11401 new function window--display-buffer
11402 (display-buffer-same-window, display-buffer-reuse-window)
11403 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
11404 Use window--display-buffer.
11405 (display-buffer-use-some-window): Remove temporary dedication
11406 hack by calling get-lru-window and get-largest-window with
11407 NOT-SELECTED argument non-nil. Call window--display-buffer.
11408
11409 2012-06-05 Glenn Morris <rgm@gnu.org>
11410
11411 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
11412 Replace external vcdiff script.
11413
11414 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
11415
11416 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
11417
11418 2012-06-04 Chong Yidong <cyd@gnu.org>
11419
11420 * image.el (imagemagick-types-inhibit): Revert last change.
11421 Add INFO and M.
11422 (imagemagick-enabled-types): Remove CIN and EPS*.
11423
11424 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
11425
11426 * emacs-lisp/cl-lib.el: Rename from cl.el.
11427 * emacs-lisp/cl.el: New compatibility file.
11428 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
11429 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
11430 to obey the "cl-" prefix.
11431 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
11432
11433 2012-06-03 Glenn Morris <rgm@gnu.org>
11434
11435 * emacs-lisp/authors.el (authors-aliases): Addition.
11436
11437 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
11438 Fix :version.
11439
11440 2012-06-03 Stefan Merten <smerten@oekonux.de>
11441
11442 * textmodes/rst.el: Add comments.
11443 (rst-transition, rst-adornment): New faces.
11444 (rst-adornment-faces-alist): Make default safe to reevaluate.
11445 Fixes
11446 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
11447 Improve customization tags.
11448 (rst-define-level-faces): Clarify meaning.
11449
11450 2012-06-03 Chong Yidong <cyd@gnu.org>
11451
11452 * progmodes/compile.el (compilation-mode-line-fail)
11453 (compilation-mode-line-run, compilation-mode-line-exit):
11454 New faces.
11455 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
11456
11457 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
11458
11459 * progmodes/which-func.el (which-func-update-ediff-windows):
11460 New function. Use it in ediff-select-hook (Bug#11478).
11461
11462 2012-06-03 Chong Yidong <cyd@gnu.org>
11463
11464 * bindings.el: Remove explicit help text from format-mode-line.
11465 It is now supplied by mode-line-default-help-echo.
11466 (mode-line-front-space, mode-line-end-spaces)
11467 (mode-line-misc-info): New variables.
11468 (mode-line-modes, mode-line-position): Move the default value to
11469 the variable definition.
11470 (mode-line-default-help-echo): New defcustom.
11471 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
11472 (mode-line-modified-help-echo): New functions.
11473 (mode-line-mule-info, mode-line-modified): Use them.
11474 (mode-line-eol-desc, propertized-buffer-identification):
11475 Consistency fixes for help text.
11476 (mode-line-coding-system-map): Allow using mouse-3 to invoke
11477 set-buffer-file-coding-system (Bug#289).
11478 (mode-line-mule-info-help-echo): Update help text.
11479
11480 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
11481
11482 * simple.el (execute-extended-command): Set real-this-command
11483 (bug#11506).
11484
11485 2012-06-02 Chong Yidong <cyd@gnu.org>
11486
11487 Remove incorrect uses of "modeline" in comments, docstrings, and
11488 function/variable names (Bug#10329).
11489
11490 * cus-edit.el (mode-line):
11491 * dframe.el (dframe-mouse-hscroll):
11492 * emacs-lisp/re-builder.el:
11493 * emacs-lisp/easy-mmode.el (define-minor-mode):
11494 * frame.el (set-frame-name):
11495 * help.el (lookup-minor-mode-from-indicator):
11496 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
11497 * progmodes/cc-cmds.el (c-toggle-auto-newline)
11498 (c-toggle-hungry-state):
11499 * progmodes/antlr-mode.el (antlr-language-alist):
11500 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
11501 * progmodes/vhdl-mode.el (vhdl-mode):
11502 * progmodes/which-func.el (which-func, which-func-cleanup-function):
11503 * term/ns-win.el (ns-face-at-pos):
11504 * term/sup-mouse.el (sup-mouse-report):
11505 * textmodes/flyspell.el (flyspell-mode-line-string):
11506 * textmodes/ispell.el (ispell-highlight-face):
11507 * textmodes/reftex-global.el:
11508 * vc/vc-arch.el (vc-arch-mode-line-string):
11509 * vc/vc-cvs.el (vc-cvs-mode-line-string):
11510 * vc/vc-git.el (vc-git-mode-line-string):
11511 * vc/vc-hooks.el (vc-display-status)
11512 (vc-default-mode-line-string):
11513 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
11514
11515 * ansi-color.el (ansi-color-faces-vector): Change default faces.
11516
11517 * dired.el (dired-sort-set-mode-line): Rename from
11518 dired-sort-set-modeline. All callers changed.
11519
11520 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
11521 eshell-status-in-modeline.
11522
11523 * foldout.el (foldout-mode-line-string): Rename from
11524 foldout-modeline-string. All callers changed.
11525 (foldout-update-mode-line): Rename from foldout-update-modeline.
11526
11527 * subr.el (redraw-modeline): Make into obsolete alias.
11528
11529 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
11530 timeclock-modeline-display. Make old name an alias.
11531 (timeclock-update-mode-line): Likewise. All callers changed.
11532 (timeclock-mode-line-display): No need to check before using
11533 add-hook.
11534 (timeclock-relative, timeclock-day-over-hook)
11535 (timeclock-use-elapsed, timeclock-mode-string)
11536 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
11537
11538 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
11539 crisp-mode-modeline-string.
11540
11541 * play/solitaire.el (solitaire-build-mode-line): Rename from
11542 solitaire-build-modeline. All callers changed.
11543
11544 * play/zone.el (zone-hiding-mode-line): Rename from
11545 zone-hiding-modeline. All callers changed.
11546 (zone): Remove unusued `modeline-hidden-level' property.
11547
11548 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
11549 xscheme-modeline-initialize. All callers changed.
11550
11551 * strokes.el (strokes-lighter): Rename from
11552 strokes-modeline-string.
11553
11554 * textmodes/sgml-mode.el (html-face-tag-alist)
11555 (html-tag-face-alist): Use mode-line face instead of obsolete
11556 alias modeline.
11557
11558 2012-06-02 Stefan Merten <smerten@oekonux.de>
11559
11560 * textmodes/rst.el: Always require `cl'.
11561 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
11562
11563 2012-06-02 Chong Yidong <cyd@gnu.org>
11564
11565 * image.el (imagemagick-enabled-types): Rename from
11566 imagemagick-types-enable. Add many more types.
11567 (imagemagick-types-inhibit): Change default to nil.
11568 (imagemagick-filter-types): Caller changed.
11569
11570 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
11571
11572 * emacs-lisp/cl-macs.el: Use backquotes.
11573 (cl-transform-function-property): Use eval-and-compile rather than
11574 abusing `require'.
11575 (defstruct): Use declare-function instead of with-no-warnings.
11576
11577 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
11578 (byte-compile-output-docform): Re-add the print-circle bindings.
11579 (byte-compile-fix-header): Use #$ just because it's shorter.
11580 (byte-compile-output-file-form): Remove defun/defmacro.
11581
11582 2012-06-01 Martin Rudalics <rudalics@gmx.at>
11583
11584 * simple.el (choose-completion): Remove now obsolete binding for
11585 owindow.
11586
11587 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
11588
11589 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
11590 in order to avoid "Stack overflow in regexp matcher".
11591
11592 2012-05-31 Glenn Morris <rgm@gnu.org>
11593
11594 * image.el: For clarity, call imagemagick-register-types at
11595 top-level, rather than relying on a custom :initialize.
11596 (imagemagick-types-enable): New option. (Bug#11557)
11597 (imagemagick-filter-types): New function. (Bug#7406)
11598 (imagemagick-register-types): Use imagemagick-filter-types.
11599 If disabling support, remove elements altogether rather
11600 than using an impossible regexp.
11601 (imagemagick-types-inhibit): Give it the default init function.
11602
11603 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11604
11605 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
11606 Handle arbitrary file name lengths (Bug#11585).
11607
11608 2012-05-31 Martin Rudalics <rudalics@gmx.at>
11609
11610 * desktop.el (desktop-read): Clear previous and next buffers for
11611 all windows and bury *Messages* buffer (bug#11556).
11612
11613 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11614
11615 Add `declare' for `defun'. Align `defmacro's with it.
11616 * emacs-lisp/easy-mmode.el (define-minor-mode)
11617 (define-globalized-minor-mode): Don't autoload the var definitions.
11618 * emacs-lisp/byte-run.el: Use lexical-binding.
11619 (defun-declarations-alist, macro-declarations-alist): New vars.
11620 (defmacro, defun): Use them.
11621 (make-obsolete, define-obsolete-function-alias)
11622 (make-obsolete-variable, define-obsolete-variable-alias):
11623 Use `declare'.
11624 (macro-declaration-function): Mark obsolete.
11625 * emacs-lisp/autoload.el: Use lexical-binding.
11626 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
11627
11628 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11629
11630 * textmodes/ispell.el (ispell-with-no-warnings):
11631 Define as a macro.
11632 (ispell-kill-ispell, ispell-change-dictionary):
11633 Use `called-interactively-p' for Emacs instead of obsolete
11634 `interactive-p'.
11635
11636 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11637
11638 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
11639 (macro-declaration-function): Move var from C code.
11640 (macro-declaration-function): Define function with defalias.
11641 * emacs-lisp/macroexp.el (macroexpand-all-1):
11642 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
11643 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
11644 defun/defmacro any more.
11645 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
11646 Provide fallback for unknown arglist.
11647 (byte-compile-arglist-warn): Change calling convention.
11648 (byte-compile-output-file-form): Move print-vars binding.
11649 (byte-compile-output-docform): Simplify accordingly.
11650 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
11651 (byte-compile-defmacro-declaration): Remove.
11652 (byte-compile-file-form-defmumble): Generalize to defalias.
11653 (byte-compile-output-as-comment): Return byte-positions.
11654 Simplify callers accordingly.
11655 (byte-compile-lambda): Use `assert'.
11656 (byte-compile-defun, byte-compile-defmacro): Remove.
11657 (byte-compile-file-form-defalias):
11658 Use byte-compile-file-form-defmumble.
11659 (byte-compile-defalias-warn): Remove.
11660
11661 2012-05-29 Stefan Merten <smerten@oekonux.de>
11662
11663 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
11664 possible. Fix authors. Improve comments. Improve loading of `cl'.
11665
11666 (rst-mode-abbrev-table): Merge definition.
11667 (rst-mode): Make sure `font-lock-defaults' is buffer local.
11668 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
11669
11670 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
11671
11672 * calendar/icalendar.el
11673 (icalendar-export-region): Export UID properly.
11674
11675 2012-05-29 Leo Liu <sdl.web@gmail.com>
11676 * calendar/icalendar.el (icalendar-import-format):
11677 Add `icalendar-import-format-uid' (Bug#11525).
11678 (icalendar-import-format-uid): New.
11679 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
11680 Export UID.
11681
11682 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
11683
11684 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
11685 different alternative patterns.
11686 (pcase-codegen): Be more careful to preserve identity.
11687 (pcase--u1): Don't forget to mark vars as used.
11688
11689 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
11690 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
11691 (byte-compile-from-buffer): ...rather than here.
11692
11693 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
11694 functions from byte-compile-function-environment.
11695
11696 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
11697
11698 * window.el (window-deletable-p): Avoid deleting the root window
11699 of a frame with an active minibuffer.
11700
11701 2012-05-29 Martin Rudalics <rudalics@gmx.at>
11702
11703 * simple.el (choose-completion): Use quit-window (Bug#11567).
11704
11705 2012-05-29 Chong Yidong <cyd@gnu.org>
11706
11707 * whitespace.el (whitespace-cleanup): Fix usage of
11708 whitespace-empty-at-bob-regexp (Bug#11492).
11709
11710 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11711
11712 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
11713 revert (Bug#11488).
11714
11715 2012-05-29 Juri Linkov <juri@jurta.org>
11716
11717 * isearch.el (isearch-mode-map): Bind `M-s _' to
11718 `isearch-toggle-symbol'. Bind `M-s c' to
11719 `isearch-toggle-case-fold'.
11720 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
11721 (isearch-forward): Add `M-s _' to the docstring.
11722 (isearch-forward-symbol, isearch-toggle-case-fold)
11723 (isearch-symbol-regexp): New functions. (Bug#11381)
11724
11725 2012-05-29 Juri Linkov <juri@jurta.org>
11726
11727 * isearch.el (isearch-word): Add docstring. (Bug#11381)
11728 (isearch-occur, isearch-search-and-update): If `isearch-word' is
11729 a function, call it to get the regexp.
11730 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
11731 property `isearch-message-prefix' instead of the string "word ".
11732 (isearch-search-fun-default): For the case of `isearch-word',
11733 return a lambda that calls re-search-forward/re-search-backward
11734 with a regexp returned by `word-search-regexp' or by the function
11735 in `isearch-word'.
11736
11737 2012-05-29 Juri Linkov <juri@jurta.org>
11738
11739 * isearch.el (isearch-search-fun-default): New function.
11740 (isearch-search-fun): Move default part to the new function
11741 `isearch-search-fun-default'.
11742 (isearch-search-fun-function): Set the default value to
11743 `isearch-search-fun-default'. (Bug#11381)
11744
11745 * comint.el (comint-history-isearch-end):
11746 Use `isearch-search-fun-default'.
11747 (comint-history-isearch-search): Use `isearch-search-fun-default'
11748 and remove spacial case for `isearch-word'.
11749 (comint-history-isearch-wrap): Remove spacial case for
11750 `isearch-word'.
11751
11752 * hexl.el (hexl-isearch-search-function):
11753 Use `isearch-search-fun-default'.
11754
11755 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
11756 Use `word-search-regexp' for `isearch-word'.
11757
11758 * misearch.el (multi-isearch-search-fun):
11759 Use `isearch-search-fun-default'.
11760
11761 * simple.el (minibuffer-history-isearch-search):
11762 Use `isearch-search-fun-default' and remove spacial case for
11763 `isearch-word'.
11764 (minibuffer-history-isearch-wrap): Remove spacial case for
11765 `isearch-word'.
11766
11767 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
11768 Remove spacial case for `isearch-word'.
11769 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
11770
11771 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11772
11773 Decrease XEmacs incompatibilities.
11774 * textmodes/flyspell.el (flyspell-check-pre-word-p):
11775 Use `string-match'.
11776 (flyspell-delete-region-overlays): Use alternative definition for
11777 XEmacs.
11778 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
11779 (flyspell-word): Use `process-kill-without-query' if XEmacs.
11780 (flyspell-mode-on): Use `interactive-p' if XEmacs.
11781 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
11782 `define-obsolete-face-alias' under XEmacs, but old method.
11783
11784 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
11785 `with-no-warnings' definition or Emacs alias.
11786 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
11787 (ispell-word): Do not use `region-p' if XEmacs.
11788
11789 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11790
11791 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
11792 Check for `ispell-dictionary-base-alist' instead of full
11793 `ispell-dictionary-alist'.
11794 (ispell-init-process): Show spellchecker when starting new Ispell
11795 process.
11796
11797 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
11798
11799 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
11800 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
11801
11802 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
11803
11804 * version.el (motif-version-string, gtk-version-string)
11805 (ns-version-string): Declare.
11806
11807 2012-05-27 Juri Linkov <juri@jurta.org>
11808
11809 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
11810 after the `eval-defun-1' specialcaseing
11811 like in `edebug-eval-defun' (bug#10181).
11812
11813 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
11814 like in `eval-defun-1'.
11815
11816 2012-05-27 Eli Zaretskii <eliz@gnu.org>
11817
11818 * mail/sendmail.el (mail-yank-region):
11819 Recognize rmail-yank-current-message in addition to insert-buffer.
11820 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
11821 a *mail* buffer created through rmail-start-mail with sendmail as
11822 mail-user-agent.
11823
11824 2012-05-27 Chong Yidong <cyd@gnu.org>
11825
11826 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
11827 Default to 256 (Bug#11267).
11828
11829 * help.el (describe-mode): Doc fix.
11830
11831 2012-05-26 Glenn Morris <rgm@gnu.org>
11832
11833 * w32-fns.el (w32-init-info): Remove.
11834 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
11835
11836 * info.el (info-initialize): For self-contained NS builds, put the
11837 included info/ directory at the front. (Bug#2791)
11838
11839 * paths.el (Info-default-directory-list): Make it a defcustom,
11840 mainly so that we can use custom-initialize-delay.
11841
11842 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
11843
11844 * subr.el (buffer-has-markers-at): Mark obsolete.
11845
11846 * subr.el (lambda): Use declare.
11847
11848 * emacs-lisp/lisp-mode.el (lambda):
11849 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
11850
11851 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11852
11853 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
11854
11855 2012-05-26 Glenn Morris <rgm@gnu.org>
11856
11857 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
11858
11859 2012-05-25 Glenn Morris <rgm@gnu.org>
11860
11861 * paths.el: Remove no-byte-compile.
11862 * loadup.el: No need to load paths.el uncompiled.
11863
11864 * image.el (imagemagick-types-inhibit): Doc fix.
11865
11866 * version.el: Remove no-byte-compile and associated formatting.
11867 * loadup.el: No need to load version.el uncompiled. AFAICS, this
11868 is ancient code from when there was an "inc-vers.el".
11869
11870 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
11871
11872 * progmodes/gdb-mi.el: Minor style changes.
11873 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
11874 Turn into minor modes.
11875 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
11876 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
11877 (gdb-shell): Remove unneeded let-binding.
11878 (gdb-get-many-fields): Eliminate O(n²) behavior.
11879
11880 2012-05-25 Eli Zaretskii <eliz@gnu.org>
11881
11882 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
11883 platforms that don't link in fontset.c.
11884
11885 2012-05-25 Juri Linkov <juri@jurta.org>
11886
11887 Use the same diff color scheme as in modern VCSes (bug#10181).
11888
11889 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
11890 to avoid confusion with `diff-added' that now uses green colors.
11891 (diff-removed): Use shades of red.
11892 (diff-added): Use shades of green.
11893 (diff-changed): Leave just the yellow color.
11894 (diff-use-changed-face): New variable.
11895 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
11896 how to highlight context diff changes.
11897 (diff-refine-change): Use shades of yellow.
11898 (diff-refine-removed): New face that uses shades of red.
11899 (diff-refine-added): New face that uses shades of green.
11900 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
11901 `diff-refine-removed' in the call to `smerge-refine-subst'
11902 depending on the value of `diff-use-changed-face'.
11903
11904 * vc/smerge-mode.el (smerge-mine): Use shades of red.
11905 (smerge-other): Use shades of green.
11906 (smerge-base): Use shades of yellow.
11907 (smerge-refined-change): Empty face.
11908 (smerge-refined-removed): New face that uses shades of red.
11909 (smerge-refined-added): New face that uses shades of green.
11910 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
11911 args `props-r' and `props-a', and use them. Doc fix.
11912 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
11913 on its value use different faces `smerge-refined-change',
11914 `smerge-refined-removed', `smerge-refined-added' in the call to
11915 `smerge-refine-subst'.
11916
11917 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
11918 Add face condition `min-colors 88' with shades of red.
11919 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
11920 `min-colors 88' with shades of green.
11921 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
11922 `min-colors 88' with shades of yellow.
11923
11924 2012-05-24 Glenn Morris <rgm@gnu.org>
11925
11926 * paths.el (prune-directory-list, remote-shell-program): Move to...
11927 * files.el (prune-directory-list, remote-shell-program): ...here.
11928 For the latter, delay initialization, prefer ssh, just search PATH.
11929
11930 * paths.el (term-file-prefix): Move to faces.el (the only user).
11931 * faces.el (term-file-prefix): Move here, make it a defcustom.
11932
11933 * paths.el (news-directory, news-path, news-inews-program):
11934 Move to gnus/nnspool.el.
11935
11936 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
11937
11938 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
11939 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
11940 Make the latter a defcustom, with a delayed initialization.
11941
11942 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
11943 These were deleted from Gnus itself late 2010.
11944
11945 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
11946
11947 * progmodes/which-func.el (which-func-ff-hook):
11948 Check against user-error, not error.
11949
11950 * emacs-lisp/edebug.el (top): Do not load or set up loading of
11951 cl-specs.el, which no longer exists.
11952
11953 2012-05-22 Glenn Morris <rgm@gnu.org>
11954
11955 * info.el (info-emacs-bug): New command.
11956 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
11957 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
11958
11959 2012-05-21 Glenn Morris <rgm@gnu.org>
11960
11961 * makefile.w32-in (update-subdirs-SH):
11962 * Makefile.in (update-subdirs): Update for moved update-subdirs.
11963
11964 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
11965
11966 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
11967
11968 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11969 Simplify Maven regexp, and make sure the file can't start with a space
11970 (bug#11517).
11971
11972 2012-05-21 Glenn Morris <rgm@gnu.org>
11973
11974 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
11975 Scrap superfluous subshells.
11976
11977 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
11978
11979 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
11980 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
11981
11982 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
11983
11984 * calc/calc.el (calc-ensure-consistent-units): New variable.
11985
11986 * calc/calc-units.el (math-consistent-units-p)
11987 (math-check-unit-consistency): New functions.
11988 (calc-quick-units, calc-convert-units):
11989 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
11990 is non-nil.
11991 (calc-extract-units): Fix typo.
11992
11993 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
11994
11995 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
11996
11997 * textmodes/flyspell.el: Commenting style, plus code simplifications.
11998 (flyspell-default-deplacement-commands): Don't spell check after
11999 repeated window/frame switches (e.g. triggered by mouse-movement).
12000 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
12001 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
12002 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
12003 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
12004 Remove unused vars.
12005 (flyspell-get-casechars, flyspell-get-not-casechars):
12006 Simplify; Don't bother removing a ] just to add it back.
12007 * textmodes/ispell.el (ispell-program-name): Use executable-find.
12008
12009 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12010
12011 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
12012 New functions.
12013 (math-function-table): Add support for more C functions.
12014
12015 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12016
12017 * textmodes/flyspell.el (flyspell-check-pre-word-p)
12018 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
12019 Protect delay handling for otherchars against empty otherchars.
12020
12021 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
12022
12023 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
12024 their respective macro declarations.
12025 * skeleton.el (define-skeleton):
12026 * progmodes/compile.el (define-compilation-mode):
12027 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
12028 (define-ibuffer-filter):
12029 * emacs-lisp/generic.el (define-generic-mode):
12030 * emacs-lisp/easy-mmode.el (define-minor-mode)
12031 (define-globalized-minor-mode):
12032 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
12033 * emacs-lisp/byte-run.el (defsubst):
12034 * custom.el (deftheme): Add doc-string metadata.
12035
12036 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12037
12038 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
12039
12040 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12041
12042 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
12043
12044 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
12045 * emacs-lisp/cl-macs.el: Idem.
12046 * emacs-lisp/cl-specs.el: Remove.
12047
12048 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12049
12050 Minor renaming of internal CL functions and variables.
12051 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
12052 (cl--position): Rename from cl-position.
12053 (cl--delete-duplicates): Rename from cl-delete-duplicates.
12054 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
12055 (cl--random-state): Rename from *random-state*.
12056
12057 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12058
12059 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
12060 parens around the arg list (bug#11499).
12061
12062 2012-05-17 Juri Linkov <juri@jurta.org>
12063
12064 * isearch.el (word-search-regexp, word-search-backward)
12065 (word-search-forward, word-search-backward-lax)
12066 (word-search-forward-lax): Move functions from search.c
12067 (bug#10145, bug#11381).
12068
12069 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12070
12071 * textmodes/flyspell.el (flyspell-check-pre-word-p)
12072 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
12073 Delay for otherchars as for normal word components.
12074
12075 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
12076
12077 * minibuffer.el (completion--sifn-requote): Fix last change.
12078 (minibuffer-local-must-match-filename-map):
12079 Move define-obsolete-variable-alias before its var.
12080
12081 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
12082
12083 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
12084
12085 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
12086 behavior.
12087 (completion--string-equal-p): New function.
12088 (completion--twq-all): Use it to get better assertion failure data.
12089
12090 Only handle ".." and '..' quoting in shell-mode (bug#11466).
12091 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
12092 (shell--requote-argument): New functions.
12093 (shell-completion-vars): Use them.
12094 (shell--parse-pcomplete-arguments): Rename from
12095 shell-parse-pcomplete-arguments.
12096 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
12097 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
12098 Obey comint-file-name-quote-list.
12099
12100 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
12101 (smie-indent-keyword): Use it.
12102
12103 2012-05-14 Stefan Merten <smerten@oekonux.de>
12104
12105 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
12106
12107 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
12108
12109 * net/rlogin.el (rlogin-mode-map): Fix last change.
12110
12111 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
12112
12113 * mail/smtpmail.el (smtpmail-send-command): Send the command and
12114 the following \r\n using a single `process-send-string', since the
12115 Lotus SMTP server refuses to accept any commands if they are sent
12116 with two `process-send-string's (Bug#11444).
12117
12118 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
12119
12120 * shell.el (shell-parse-pcomplete-arguments):
12121 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
12122
12123 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
12124
12125 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
12126 (image-transform-scale, image-transform-right-angle-fudge): New vars.
12127 (image-transform-width, image-transform-fit-width): New functions.
12128 (image-transform-properties): Use them.
12129 (image-transform-check-size): New function.
12130 (image-toggle-display-image): Use it (for testing).
12131 (image-transform-set-rotation): Reduce angle mod 360.
12132 Delete obsolete comment.
12133
12134 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
12135
12136 * image-mode.el: Fix scaling (bug#11399).
12137 (image-transform-resize): Doc fix.
12138 (image-transform-properties): Default scale is 1 and height should
12139 be an integer.
12140
12141 2012-05-13 Johan Bockgård <bojohan@gnu.org>
12142
12143 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
12144 than hard-coding `car', to fix misbehavior when moving forward.
12145
12146 2012-05-13 Chong Yidong <cyd@gnu.org>
12147
12148 * emacs-lisp/tabulated-list.el (tabulated-list-format)
12149 (tabulated-list-entries, tabulated-list-padding)
12150 (tabulated-list-sort-key): Make permanent-local.
12151
12152 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
12153 (electric-buffer-list): Put electric buffer menu
12154 command descriptions in this docstring, instead of the docstring
12155 of electric-buffer-menu-mode. Code cleanups.
12156 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
12157 Electric-buffer-menu-mode.
12158 (electric-buffer-update-highlight): Minor code cleanup.
12159
12160 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
12161
12162 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
12163 (Bug#11447)
12164
12165 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
12166
12167 Move define-obsolete-variable-alias before the var's definition.
12168 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
12169 * tooltip.el (tooltip-hook):
12170 * textmodes/reftex-toc.el (reftex-toc-map):
12171 * textmodes/reftex-sel.el (reftex-select-label-map)
12172 (reftex-select-bib-map):
12173 * textmodes/reftex-index.el (reftex-index-map)
12174 (reftex-index-phrases-map):
12175 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
12176 * progmodes/meta-mode.el (meta-mode-map):
12177 * novice.el (disabled-command-hook):
12178 * loadhist.el (unload-hook-features-list):
12179 * frame.el (blink-cursor):
12180 * files.el (find-file-not-found-hooks, write-file-hooks)
12181 (write-contents-hooks):
12182 * emulation/tpu-edt.el (GOLD-map):
12183 * emacs-lock.el (emacs-lock-from-exiting):
12184 * emacs-lisp/generic.el (generic-font-lock-defaults):
12185 * emacs-lisp/chart.el (chart-map):
12186 * dos-fns.el (register-name-alist):
12187 * dired-x.el (dired-omit-files-p):
12188 * desktop.el (desktop-enable):
12189 * cus-edit.el (custom-mode-hook):
12190 * buff-menu.el (buffer-menu-mode-hook):
12191 * bookmark.el (bookmark-read-annotation-text-func)
12192 (bookmark-exit-hooks):
12193 * allout.el (allout-mode-deactivate-hook)
12194 (allout-exposure-change-hook, allout-structure-added-hook)
12195 (allout-structure-deleted-hook, allout-structure-shifted-hook):
12196 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
12197 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
12198 comes before the corresponding variable's definition.
12199
12200 2012-05-12 Chong Yidong <cyd@gnu.org>
12201
12202 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
12203 (Buffer-menu-mouse-select): Restore function (Bug#11459).
12204 (Buffer-menu-mode-map): Bind it.
12205 (Buffer-menu--pretty-name): Add a mouse-face property.
12206
12207 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
12208
12209 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
12210 (prolog-upper-case-string, prolog-lower-case-string)
12211 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
12212 (prolog-use-smie, prolog-smie-grammar): New vars.
12213 (prolog-smie-forward-token, prolog-smie-backward-token)
12214 (prolog-smie-rules): New funs.
12215 (prolog-comment-indent): Remove.
12216 (prolog-mode-variables): Use default comment indentation instead.
12217 Setup SMIE.
12218 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
12219 (prolog-mode): Don't call them any more.
12220 (prolog-electric-colon, prolog-electric-dash)
12221 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
12222
12223 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
12224
12225 * minibuffer.el (completion--twq-all): Again, allow case differences.
12226
12227 * term.el: Move keymap initialization code to be more idiomatic.
12228 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
12229 (term-terminal-menu): Move initialization into declaration.
12230 (term-escape-char): Let the user set it in her .emacs.
12231
12232 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
12233 Provide SMIE-based indentation (not enabled by default yet).
12234 (sh-mode-map): Don't bind electric keys.
12235 Use electric-pair-mode instead of skeleton-pair.
12236 (sh-assignment-regexp): Fit within 80 columns.
12237 (sh-indent-supported): Specify actual shell name instead of boolean.
12238 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
12239 (sh-maybe-here-document): Use it. Make obsolete.
12240 (sh-electric-here-document-mode) New minor mode.
12241 (sh-mode): Use it. Don't set sh-indent-supported-here here.
12242 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
12243 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
12244 (sh-smie-rc-grammar, sh-use-smie): New vars.
12245 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
12246 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
12247 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
12248 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
12249 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
12250 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
12251 (sh-set-shell): Use smie-setup if requested.
12252
12253 * term.el (term-set-escape-char): Properly set term-escape-char.
12254 See http://stackoverflow.com/questions/10524656.
12255
12256 2012-05-10 Chong Yidong <cyd@gnu.org>
12257
12258 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
12259 Use url-generic-parse-url, and handle host names and Windows
12260 filenames properly.
12261 (ffap-url-unwrap-remote): Use url-generic-parse-url.
12262 (ffap-url-unwrap-remote): Accept list values, specifying a list of
12263 URL schemes to work on.
12264 (ffap--toggle-read-only): New function.
12265 (ffap-read-only, ffap-read-only-other-window)
12266 (ffap-read-only-other-frame): Use it.
12267 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
12268 necessary for ffap-url-unwrap-remote.
12269
12270 2012-05-10 Dave Abrahams <dave@boostpro.com>
12271
12272 * cus-start.el (create-lockfiles): Add it.
12273
12274 2012-05-09 Chong Yidong <cyd@gnu.org>
12275
12276 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
12277 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
12278
12279 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
12280
12281 * shell.el (shell-completion-vars): Fix last change (bug#11348).
12282
12283 2012-05-09 Chong Yidong <cyd@gnu.org>
12284
12285 * ansi-color.el (ansi-color-process-output): Check for validity of
12286 comint-last-output-start before using it. This avoids a bad
12287 interaction with gdb-mi's input/output buffer.
12288
12289 2012-05-09 Glenn Morris <rgm@gnu.org>
12290
12291 * files.el (dir-locals-read-from-file):
12292 Mention dir-locals in any error message.
12293
12294 2012-05-09 Chong Yidong <cyd@gnu.org>
12295
12296 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
12297 package (Bug#11410).
12298
12299 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
12300 variables into description.
12301
12302 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
12303
12304 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
12305 shell-delimiter-argument-list (bug#11348).
12306 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
12307
12308 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
12309
12310 * textmodes/rst.el: Silence byte-compiler warnings.
12311 (rst-re-alist, rst-reset-section-caches): Move around.
12312 (rst-re): Use `characterp', not `char-valid-p'.
12313 (font-lock-beg, font-lock-end): Declare.
12314
12315 * progmodes/idlw-shell.el (specs): Remove reference to deleted
12316 variable `idlwave-shell-activate-alt-keybindings' and simplify.
12317
12318 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
12319
12320 2012-05-08 Glenn Morris <rgm@gnu.org>
12321
12322 * files.el (auto-mode-alist): Treat ".make" like ".mk".
12323
12324 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12325
12326 * vc/log-edit.el: Add GNU coding standards highlighting.
12327 (log-edit-font-lock-gnu-style)
12328 (log-edit-font-lock-gnu-keywords): New vars.
12329 (log-edit-font-lock-keywords): New fun.
12330 (log-edit-mode): Don't fold case in font-lock.
12331 (log-edit-font-lock-keywords): Do not assume case-folding.
12332
12333 * imenu.el: Misc cleanup. Make docstrings out of comments.
12334 Use lexical-binding.
12335 (imenu--index-alist, imenu--last-menubar-index-alist)
12336 (imenu-menubar-modified-tick): Use defvar-local.
12337 (imenu--split-menu): Remove unused var.
12338 (imenu--cleanup-seen): Declare as global.
12339 (imenu--cleanup): Use dolist.
12340
12341 * subr.el (defvar-local): Add debug spec and doc-string position.
12342
12343 2012-05-08 Glenn Morris <rgm@gnu.org>
12344
12345 * language/burmese.el, language/cham.el, language/czech.el:
12346 * language/english.el, language/georgian.el, language/greek.el:
12347 * language/japanese.el, language/khmer.el, language/korean.el:
12348 * language/lao.el, language/misc-lang.el, language/romanian.el:
12349 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
12350 * language/thai.el, language/utf-8-lang.el:
12351 Remove no-byte-compile setting.
12352
12353 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
12354
12355 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
12356
12357 * progmodes/make-mode.el (makefile-browse):
12358 Remove unnecessary interactive. (Bug#11324)
12359
12360 2012-05-07 Glenn Morris <rgm@gnu.org>
12361
12362 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
12363
12364 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
12365
12366 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
12367
12368 * loadup.el: Preload newcomment.el.
12369 * newcomment.el: Move autoload-only code to toplevel.
12370
12371 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
12372 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
12373 Handle new :right-align column property.
12374 (tabulated-list-print-col): Idem, plus use `display' text-property to
12375 try and preserve alignment for variable pitch fonts.
12376
12377 2012-05-07 Chong Yidong <cyd@gnu.org>
12378
12379 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
12380 (tabulated-list-use-header-line): New var.
12381 (tabulated-list-init-header): Use it.
12382 (tabulated-list-print-fake-header): New function.
12383 (tabulated-list-print): Use it.
12384 (tabulated-list-sort-button-map): Add non-header-line commands.
12385 (tabulated-list-init-header): Add column name property to basic
12386 labels as well.
12387 (tabulated-list-col-sort): Handle non-header-line button case.
12388 (tabulated-list--sort-by-column-name): Fix a corner case.
12389
12390 * buff-menu.el (list-buffers--refresh):
12391 Handle Buffer-menu-use-header-line.
12392
12393 2012-05-06 Chong Yidong <cyd@gnu.org>
12394
12395 * buff-menu.el: Convert to Tabulated List mode.
12396 (Buffer-menu-buffer+size-width): Make obsolete.
12397 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
12398 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
12399 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
12400 documentation into docstring of buffer-menu.
12401 (Buffer-menu-toggle-files-only): Add an informative message.
12402 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
12403 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
12404 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
12405 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
12406 (Buffer-menu-execute, Buffer-menu-select)
12407 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
12408 (Buffer-menu-bury): Use Tabulated List machinery.
12409 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
12410 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
12411 Delete.
12412 (list-buffers--refresh): New function.
12413 (list-buffers-noselect): Use it.
12414 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
12415 (Buffer-menu--pretty-file-name): New helper functions.
12416
12417 * loadup.el: Preload tabulated-list.
12418
12419 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
12420 tabulated-list-sort-column.
12421 (tabulated-list-init-header): Add the initial aligning space even
12422 if tabulated-list-padding is zero.
12423
12424 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
12425
12426 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
12427 whose cdr is not a cons cell correctly (bug#11038).
12428
12429 2012-05-06 Chong Yidong <cyd@gnu.org>
12430
12431 * emacs-lisp/tabulated-list.el (tabulated-list-format):
12432 Accept additional plist in column descriptors.
12433 (tabulated-list-init-header): Obey it.
12434 (tabulated-list-get-entry): New function.
12435 (tabulated-list-put-tag): Use it. Use string-width instead of
12436 length.
12437 (tabulated-list--column-number): New function.
12438 (tabulated-list-print): Use it.
12439 (tabulated-list-print-col): New function.
12440 Set `tabulated-list-column-name' property on each column's text.
12441 (tabulated-list-print-entry): Use it.
12442 (tabulated-list-delete-entry, tabulated-list-set-col):
12443 New functions.
12444 (tabulated-list-sort-column): New command (Bug#11337).
12445
12446 * buff-menu.el (list-buffers): Move C-x C-b binding from
12447 buff-menu.el to bindings.el.
12448
12449 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
12450 :advertised-binding feature.
12451
12452 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
12453
12454 * progmodes/compile.el (compilation-internal-error-properties):
12455 Calculate start position correctly when end-col is set but
12456 end-line is not (Bug#11382).
12457
12458 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
12459
12460 * man.el (Man-unindent): Use text-property-default-nonsticky to
12461 prevent untabify from inheriting face properties (Bug#11408).
12462
12463 2012-05-05 Stefan Merten <smerten@oekonux.de>
12464
12465 * textmodes/rst.el: Major merge with upstream development up to
12466 Docutils SVN r7399 / rst.el V1.2.1.
12467
12468 Clarify maintainership and authors.
12469
12470 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
12471 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
12472 (rst-official-version, rst-official-cvs-rev, rst-version)
12473 (rst-package-emacs-version-alist): New functions and variables
12474 for version information.
12475
12476 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
12477 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
12478 (rst-mode-syntax-table, rst-mode): New and corrected functions
12479 and variables representing reStructuredText features.
12480
12481 (rst-re): New function for reStructuredText regexes. Use in
12482 many places.
12483
12484 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
12485 (rst-mode-map): Rebind keys.
12486
12487 (rst-mode-lazy, rst-font-lock-keywords)
12488 (rst-font-lock-extend-region)
12489 (rst-font-lock-extend-region-internal)
12490 (rst-font-lock-extend-region-extend)
12491 (rst-font-lock-find-unindented-line-limit)
12492 (rst-font-lock-find-unindented-line-match)
12493 (rst-adornment-level, rst-font-lock-adornment-level)
12494 (rst-font-lock-adornment-match)
12495 (rst-font-lock-handle-adornment-pre-match-form)
12496 (rst-font-lock-handle-adornment-matcher): Major revision of
12497 font-locking. Integrate with other code. Use `jit-lock-mode'.
12498
12499 (rst-preferred-adornments, rst-adjust-hook)
12500 (rst-new-adornment-down, rst-preferred-bullets)
12501 (rst-preferred-bullets, rst-indent, rst-indent-width)
12502 (rst-indent-field, rst-indent-literal-normal)
12503 (rst-indent-literal-minimized, rst-indent-comment): Change,
12504 extend and improve customization.
12505
12506 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
12507 (rst-normalize-cursor-position, rst-get-decoration)
12508 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
12509 (rst-rstrip, rst-toc-insert-find-delete-contents)
12510 (rst-shift-fill-region, rst-compute-bullet-tabs)
12511 (rst-debug-print-tabs, rst-debug-mark-found)
12512 (rst-shift-region-guts, rst-shift-region-right)
12513 (rst-shift-region-left, rst-use-char-classes)
12514 (rst-font-lock-keywords-function)
12515 (rst-font-lock-indentation-point)
12516 (rst-font-lock-find-unindented-line-begin)
12517 (rst-font-lock-find-unindented-line-end)
12518 (rst-font-lock-find-unindented-line)
12519 (rst-font-lock-adornment-point, rst-font-lock-level)
12520 (rst-adornment-level-alist): Remove functions and variables.
12521
12522 (rst-compare-adornments, rst-get-adornment-match)
12523 (rst-suggest-new-adornment, rst-get-adornments-around)
12524 (rst-adornment-complete-p, rst-get-next-adornment)
12525 (rst-adjust-adornment, rst-display-adornments-hierarchy)
12526 (rst-straighten-adornments): Standardize function names to
12527 use "adornment" instead of "decoration". Correct callers.
12528 Similar standardizing in many places.
12529
12530 (rst-update-section, rst-adjust, rst-promote-region)
12531 (rst-enumerate-region, rst-bullet-list-region)
12532 (rst-repeat-last-character): Correct use of `interactive'.
12533
12534 (rst-classify-adornment, rst-find-all-adornments)
12535 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
12536 (rst-find-leftmost-column, rst-repeat-last-character):
12537 Refactor functions.
12538
12539 (rst-find-title-line, rst-reset-section-caches)
12540 (rst-get-adornments-around, rst-adjust-adornment-work)
12541 (rst-arabic-to-roman, rst-roman-to-arabic)
12542 (rst-insert-list-pos, rst-insert-list-new-item)
12543 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
12544 New functions.
12545
12546 (rst-all-sections, rst-section-hierarchy)
12547 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
12548 New variables.
12549
12550 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
12551 configuration instead of only buffer. Change where necessary.
12552
12553 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
12554 (rst-shift-region, rst-adaptive-fill): New functions for
12555 indentation and filling.
12556
12557 (rst-comment-line-break, rst-comment-indent)
12558 (rst-comment-insert-comment, rst-comment-region)
12559 (rst-uncomment-region): New functions for handling comments.
12560
12561 (rst-compile): Quote shell arguments.
12562
12563 (rst-compile-pdf-preview, rst-compile-slides-preview):
12564 Delete temporary files after use.
12565
12566 2012-05-05 Glenn Morris <rgm@gnu.org>
12567
12568 * calendar/cal-html.el: Optionally include holidays in the output.
12569 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
12570 (cal-html-holidays): New option.
12571 (cal-html-css-default): Add holiday entry.
12572 (holiday-in-range): Autoload it.
12573 (cal-html-htmlify-entry): Add optional class argument.
12574 (cal-html-htmlify-list): Add optional holidays argument.
12575 (cal-html-insert-agenda-days): Include holidays in the output.
12576 (cal-html-one-month): Maybe include holidays.
12577
12578 * calendar/holidays.el (holiday-in-range):
12579 Move here from cal-tex-list-holidays.
12580 * calendar/cal-tex.el (cal-tex-list-holidays):
12581 Make it an obsolete alias for holiday-in-range. Update all callers.
12582
12583 2012-05-05 Chong Yidong <cyd@gnu.org>
12584
12585 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
12586 Nextstep.
12587
12588 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
12589
12590 * files.el (file-auto-mode-skip): New var.
12591 (set-auto-mode-1): Use it.
12592
12593 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
12594
12595 * repeat.el: Use lexical-binding.
12596 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
12597 (repeat-undo-count): Remove.
12598 (repeat):
12599 * progmodes/octave-mod.el (octave-abbrev-start):
12600 * progmodes/f90.el (f90-abbrev-start):
12601 * face-remap.el (text-scale-adjust):
12602 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
12603
12604 * emacs-lisp/pcase.el (pcase--let*): New function.
12605 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
12606 a bit more.
12607 (pcase--split-pred): Be more clever about ruling out overlap between
12608 a predicate and some constant pattern.
12609 (pcase--q1): Use `null' instead of (eq foo nil).
12610
12611 * subr.el (setq-local, defvar-local): New macros.
12612 (kbd): Redefine as an alias.
12613 (with-selected-window): Leave unrelated frames alone.
12614 (set-temporary-overlay-map): New function.
12615
12616 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
12617
12618 * subr.el (user-error): New function.
12619 * window.el (switch-to-buffer):
12620 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
12621 (smerge-match-conflict):
12622 * simple.el (previous-matching-history-element)
12623 (next-matching-history-element, goto-history-element, undo-more)
12624 (undo-start):
12625 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
12626 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
12627 (next-file, tags-loop-scan, list-tags, complete-tag):
12628 * progmodes/compile.el (compilation-loop):
12629 * mouse.el (mouse-minibuffer-check):
12630 * man.el (Man-bgproc-sentinel, Man-goto-page):
12631 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
12632 (Info-history-forward, Info-follow-reference, Info-menu)
12633 (Info-extract-menu-item, Info-extract-menu-counting)
12634 (Info-forward-node, Info-backward-node, Info-next-menu-item)
12635 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
12636 (Info-next-reference, Info-prev-reference, Info-index)
12637 (Info-index-next, Info-follow-nearest-node)
12638 (Info-copy-current-node-name):
12639 * imenu.el (imenu--make-index-alist)
12640 (imenu-default-create-index-function, imenu-add-to-menubar):
12641 * files.el (basic-save-buffer, recover-file):
12642 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
12643 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
12644 (checkdoc-message-text, checkdoc-defun):
12645 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
12646 * cus-edit.el (customize-changed-options, customize-rogue)
12647 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
12648 (custom-variable-mark-to-reset-standard)
12649 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
12650 (custom-file):
12651 * completion.el (check-completion-length):
12652 * comint.el (comint-search-arg)
12653 (comint-previous-matching-input-string-position)
12654 (comint-previous-matching-input)
12655 (comint-replace-by-expanded-history-before-point, comint-send-input)
12656 (comint-copy-old-input, comint-backward-matching-input)
12657 (comint-goto-process-mark, comint-set-process-mark):
12658 * calendar/calendar.el (calendar-cursor-to-date): Use it.
12659 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
12660
12661 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
12662
12663 * dabbrev.el (dabbrev--ignore-case-p): New function.
12664 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
12665 Use it.
12666
12667 * files.el (automount-dir-prefix): Mark as obsolete.
12668
12669 2012-05-04 Glenn Morris <rgm@gnu.org>
12670
12671 * patcomp.el, play/bruce.el: Move to obsolete/.
12672
12673 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
12674
12675 Fix minor Y10k bugs.
12676 * arc-mode.el (archive-unixdate):
12677 * autoinsert.el (auto-insert-alist):
12678 * calc/calc-forms.el (math-this-year):
12679 * emacs-lisp/copyright.el (copyright-current-year)
12680 (copyright-update-year, copyright):
12681 * tar-mode.el (tar-clip-time-string):
12682 * time.el (display-time-update):
12683 Don't assume years have 4 digits.
12684
12685 2012-05-04 Chong Yidong <cyd@gnu.org>
12686
12687 * dos-w32.el (file-name-buffer-file-type-alist)
12688 (direct-print-region-use-command-dot-com):
12689 * ffap.el (ffap-menu-regexp):
12690 * find-file.el (ff-special-constructs):
12691 * follow.el (follow-debug):
12692 * forms.el (forms--debug):
12693 * iswitchb.el (iswitchb-all-frames):
12694 * ido.el (ido-all-frames):
12695 * emacs-lisp/timer.el (timer-max-repeats):
12696 * mail/feedmail.el (feedmail-mail-send-hook)
12697 (feedmail-mail-send-hook-queued):
12698 * mail/footnote.el (footnote-signature-separator):
12699 * mail/mailabbrev.el (mail-alias-separator-string)
12700 (mail-abbrev-mode-regexp):
12701 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
12702 * progmodes/idlwave.el (idlwave-libinfo-file)
12703 (idlwave-default-completion-case-is-down)
12704 (idlwave-library-routines): Convert defvars to defcustoms.
12705
12706 * mail/rmail.el (rmail-decode-mime-charset):
12707 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
12708 (idlwave-shell-fix-inserted-breaks)
12709 (idlwave-shell-activate-alt-keybindings)
12710 (idlwave-shell-use-breakpoint-glyph):
12711 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
12712
12713 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
12714
12715 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
12716
12717 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
12718
12719 * progmodes/verilog-mode.el (font-lock-keywords):
12720 Fix mis-highligting auto. Reported by Craig Barner.
12721 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
12722 defines from global name space. Reported by Dan Dever.
12723 (verilog-auto-reset, verilog-auto-reset-widths)
12724 (verilog-auto-tieoff): Support using unbased numbers for
12725 AUTORESET and AUTOTIEOFF.
12726 (verilog-submit-bug-report): Update variable list.
12727 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
12728 parenthesis from not matching. Reported by Michael Rytting.
12729 (verilog-auto-template-lint): Fix hash error when linting modules
12730 with no used templates.
12731 (verilog-warn, verilog-warn-error)
12732 (verilog-warn-fatal): When non-interactive report multiple
12733 warnings before exiting. Suggested by Brad Dobbie.
12734 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
12735 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
12736 to report unused template errors. Reported by Brad Dobbie.
12737 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
12738 nets, bug438. Reported by Vns Blore.
12739 (verilog-auto-inout-module, verilog-auto-reg)
12740 (verilog-read-decls, verilog-read-sub-decls-sig)
12741 (verilog-signals-edit-wire-reg, verilog-signals-with):
12742 Fix passing of Verilog data types in ANSI input/output ports
12743 such as "output logic" into the AUTOs. Special case "wire" and
12744 "reg" for backwards compatibility presuming Verilog 2001.
12745 (verilog-auto-ascii-enum): Add "auto enum" as alias.
12746 (verilog-preprocess): Fix replication of preprocess output.
12747 Reported by Brad Dobbie.
12748 (verilog-auto-inst-interfaced-ports):
12749 Create verilog-auto-inst-interfaced-ports, bug429.
12750 Reported by Julian Gorfajn.
12751 (verilog-after-save-font-hook)
12752 (verilog-before-save-font-hook): New variable.
12753 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
12754 (verilog-save-font-mods): Wrap disabling fontification, reported
12755 by David Rogoff.
12756 (verilog-do-indent, verilog-pretty-declarations-auto)
12757 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
12758 Reported by Pierre-David Pfister.
12759 (verilog-set-auto-endcomments): Fix endtask auto comments outside
12760 of class declarations, bug292. Reported by Kevin Heilman.
12761 (verilog-read-decls): Fix 'parameter type' not appearing in
12762 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
12763 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
12764 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
12765 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
12766 Reported by David Kravitz.
12767
12768 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
12769
12770 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
12771 assignment with tests in ifs and for loops.
12772 (verilog-extended-complete-re, verilog-complete-reg): Change so
12773 that DPI inport functions don't look like fuction declarations.
12774 (verilog-pretty-expr): Don't line up assignment
12775 operations to the test and increment in if and for loops
12776 (verilog-extended-complete-re, verilog-complete-reg): Change so
12777 that DPI inport functions don't look like fuction declarations.
12778
12779 2012-05-03 Kenichi Handa <handa@m17n.org>
12780
12781 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
12782 decoding, and show a warning message without signaling an error
12783 (Bug#11282).
12784
12785 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
12786
12787 * emacs-lisp/bytecomp.el
12788 (byte-compile-file-form-custom-declare-variable): Compile all elements,
12789 since cconv.el might have introduced :fun-body, internal-make-closure,
12790 and friends for bytecomp to handle (bug#11391).
12791 * custom.el (defcustom): Avoid ((λ ..) ..).
12792
12793 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
12794
12795 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
12796
12797 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
12798
12799 * notifications.el (dbus-debug):
12800 * term/linux.el (gpm-mouse-enable):
12801 * term/screen.el (xterm-register-default-colors): Declare.
12802
12803 2012-05-02 Chong Yidong <cyd@gnu.org>
12804
12805 * cus-start.el (gc-cons-percentage, exec-suffixes)
12806 (dos-display-scancodes, dos-hyper-key, dos-super-key)
12807 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
12808 (make-cursor-line-fully-visible, void-text-area-pointer)
12809 (font-list-limit): Add customization data.
12810
12811 * allout.el (allout-exposure-change-functions)
12812 (allout-structure-added-functions)
12813 (allout-structure-deleted-functions)
12814 (allout-structure-shifted-functions): Rename abnormal hooks from
12815 *-hook, and convert to defcustoms.
12816 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
12817 Convert to defcustoms.
12818 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
12819
12820 * allout-widgets.el: Hook callers changed.
12821
12822 2012-05-02 Eli Zaretskii <eliz@gnu.org>
12823
12824 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
12825 the yanked message in preference to the default value of
12826 buffer-file-coding-system.
12827
12828 2012-05-02 Martin Rudalics <rudalics@gmx.at>
12829
12830 * window.el (display-buffer--action-function-custom-type):
12831 Fix entry.
12832
12833 2012-05-02 Alan Mackenzie <acm@muc.de>
12834
12835 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
12836
12837 2012-05-01 Glenn Morris <rgm@gnu.org>
12838
12839 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
12840
12841 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
12842
12843 * cus-edit.el (custom-variable-documentation): Simplify with format.
12844
12845 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
12846 Stefan Monnier <monnier@iro.umontreal.ca>
12847
12848 * simple.el (suggest-key-bindings, execute-extended-command):
12849 Move from keyboard.c.
12850
12851 2012-05-01 Chong Yidong <cyd@gnu.org>
12852
12853 * follow.el: Eliminate advice.
12854 (set-process-filter, process-filter, sit-for): Advice deleted.
12855 (follow-mode-off-hook): Obsolete hook removed.
12856 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
12857 Vars deleted.
12858 (follow-auto): Use a :set function.
12859 (follow-mode): Rewritten. Don't advise process filters.
12860 (follow-switch-to-current-buffer-all, follow-scroll-up)
12861 (follow-scroll-down): Assume follow-mode is bound.
12862 (follow-comint-scroll-to-bottom)
12863 (follow-align-compilation-windows): New functions.
12864 (follow--window-sorter): New function.
12865 (follow-all-followers): Use it to explicitly sort windows by their
12866 positions; don't make assumptions about next-window order.
12867 (follow-windows-start-end, follow-delete-other-windows-and-split)
12868 (follow-calc-win-start): Doc fix.
12869 (follow-windows-aligned-p, follow-select-if-visible): Don't call
12870 vertical-motion unnecessarily.
12871 (follow-adjust-window): New function.
12872 (follow-post-command-hook): Use it.
12873 (follow-call-set-process-filter, follow-call-process-filter)
12874 (follow-intercept-process-output, follow-tidy-process-filter-alist)
12875 (follow-stop-intercept-process-output, follow-generic-filter):
12876 Functions deleted.
12877 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
12878 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
12879 New functions, replacing advice on scroll-bar-* commands.
12880 (follow-mwheel-scroll): New function (Bug#4112).
12881
12882 * comint.el (comint-adjust-point): New function.
12883 (comint-postoutput-scroll-to-bottom): Use it.
12884 Call follow-comint-scroll-to-bottom for Follow mode buffers.
12885
12886 2012-05-01 Glenn Morris <rgm@gnu.org>
12887
12888 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
12889 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
12890 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
12891 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
12892 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
12893 Remove no-byte-compile setting.
12894
12895 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
12896
12897 * minibuffer.el (completion-table-with-quoting): Fix compatibility
12898 all-completions code to not return a number in the last cdr.
12899
12900 2012-04-30 Leo Liu <sdl.web@gmail.com>
12901
12902 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
12903 read-only error.
12904
12905 2012-04-29 Chong Yidong <cyd@gnu.org>
12906
12907 * follow.el (follow-calc-win-end): Rewrite to handle partial
12908 screen lines correctly (Bug#8390).
12909 (follow-avoid-tail-recenter): Minor cleanup.
12910
12911 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
12912
12913 Avoid the obsolete `assoc' package.
12914 * speedbar.el (speedbar-refresh): Avoid adelete.
12915 (speedbar-file-lists): Simplify and avoid aput.
12916 * man.el (Man--sections, Man--refpages): New vars, replacing
12917 Man-sections-alist and Man-refpages-alist.
12918 (Man-build-section-alist, Man-build-references-alist):
12919 Use them; avoid aput.
12920 (Man--last-section, Man--last-refpage): New vars.
12921 (Man-follow-manual-reference): Use them.
12922 Use the `default' arg of completing-read.
12923 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
12924
12925 2012-04-27 Chong Yidong <cyd@gnu.org>
12926
12927 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
12928
12929 * startup.el (x-apply-session-resources): New function.
12930
12931 * term/ns-win.el (ns-initialize-window-system):
12932 * term/w32-win.el (w32-initialize-window-system):
12933 * term/x-win.el (x-initialize-window-system): Use it to properly
12934 set menu-bar-mode and other vars from X resources, even if the
12935 initial frame is not a window-system frame (Bug#2299).
12936
12937 * subr.el (read-key): Avoid running filter function when setting
12938 up temporary tool bar entries (Bug#9922).
12939
12940 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
12941
12942 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
12943 (Bug#11344)
12944
12945 2012-04-27 Chong Yidong <cyd@gnu.org>
12946
12947 * select.el (xselect--encode-string): New function, split from
12948 xselect-convert-to-string.
12949 (xselect-convert-to-string): Use it.
12950 (xselect-convert-to-filename, xselect-convert-to-os)
12951 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
12952 returned strings are properly encoded (Bug#11315).
12953
12954 2012-04-27 Chong Yidong <cyd@gnu.org>
12955
12956 * simple.el (delete-active-region): Move to killing custom group.
12957
12958 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
12959
12960 * progmodes/which-func.el (which-func-current): Quote %
12961 characters for mode-line processing.
12962
12963 2012-04-27 Chong Yidong <cyd@gnu.org>
12964
12965 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
12966 reaching eob (Bug#11286).
12967
12968 2012-04-27 Eli Zaretskii <eliz@gnu.org>
12969
12970 * progmodes/gdb-mi.el (gdb-control-level): New variable.
12971 (gdb): Make it buffer-local and init to zero.
12972 (gdb-control-commands-regexp): New variable.
12973 (gdb-send): Don't wrap in "-interpreter-exec console" if
12974 gdb-control-level is positive. Increment gdb-control-level
12975 whenever the command matches gdb-control-commands-regexp, and
12976 decrement it each time the command is "end". (Bug#11279)
12977
12978 2012-04-27 Martin Rudalics <rudalics@gmx.at>
12979
12980 * window.el (adjust-window-trailing-edge, enlarge-window)
12981 (shrink-window, window-resize):
12982 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
12983 windows (Bug#11276).
12984
12985 2012-04-27 Chong Yidong <cyd@gnu.org>
12986
12987 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
12988 fix "missing prefix" warning. All callers changed.
12989
12990 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
12991
12992 * emacs-lisp/assoc.el: Move to obsolete/.
12993
12994 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
12995
12996 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
12997
12998 * term/ns-win.el (ns-define-service):
12999 * progmodes/pascal.el (pascal-goto-defun):
13000 * progmodes/js.el (js--read-tab):
13001 * progmodes/etags.el (tags-lazy-completion-table):
13002 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
13003 * emacs-lisp/ewoc.el (ewoc--wrap):
13004 * emacs-lisp/assoc.el (aput, adelete, amake):
13005 * doc-view.el (doc-view-convert-current-doc):
13006 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
13007
13008 2012-04-26 Chong Yidong <cyd@gnu.org>
13009
13010 * image.el (image-type-from-buffer): Only return supported image
13011 type (Bug#9045).
13012
13013 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
13014 value, for symmetry with diff-end-of-hunk.
13015 (diff-split-hunk, diff-find-source-location)
13016 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
13017 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
13018 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
13019 compute the relevant hunk or file properly (Bug#6005).
13020 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
13021
13022 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
13023
13024 * vc/vc-mtn.el:
13025 * vc/vc-hg.el:
13026 * vc/vc-git.el:
13027 * vc/vc-dir.el:
13028 * vc/vc-cvs.el:
13029 * vc/vc-bzr.el:
13030 * vc/vc-arch.el:
13031 * vc/vc.el: Replace lexical-let by lexical-binding.
13032 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
13033 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
13034 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
13035
13036 2012-04-26 Chong Yidong <cyd@gnu.org>
13037
13038 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
13039 (diff-mode-shared-map): Bind it to / and [remap undo].
13040
13041 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
13042 (ediff-window-setup-function): Use it as the default, to set up
13043 windows based on whether the current frame is graphical (Bug#2138).
13044 (ediff-choose-window-setup-function-automatically): Make obsolete.
13045
13046 * vc/ediff-init.el: Always define ediff-pixel-width/height.
13047
13048 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
13049
13050 * ffap.el: Remove old code for obsolete package.
13051 (ffap-complete-as-file-p): Remove.
13052
13053 Use completion-table-with-quoting for comint and pcomplete.
13054 * comint.el (comint--unquote&requote-argument)
13055 (comint--unquote-argument, comint--requote-argument): New functions.
13056 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
13057 (comint-quote-filename): Use regexp-opt-charset.
13058 (comint--common-suffix, comint--common-quoted-suffix)
13059 (comint--table-subvert): Remove.
13060 (comint-unquote-function, comint-requote-function): New vars.
13061 (comint--complete-file-name-data): Use them with
13062 completion-table-with-quoting.
13063 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
13064 * pcomplete.el (pcomplete-arg-quote-list)
13065 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
13066 (pcomplete-unquote-argument-function): Default to non-nil.
13067 (pcomplete-unquote-argument): Simplify.
13068 (pcomplete--common-quoted-suffix): Remove.
13069 (pcomplete-requote-argument-function): New var.
13070 (pcomplete--common-suffix): New function.
13071 (pcomplete-completions-at-point): Use completion-table-with-quoting
13072 and completion-table-subvert.
13073
13074 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
13075 (minibuffer--double-dollars): Preserve properties.
13076 (completion--sifn-requote): New function.
13077 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
13078
13079 * minibuffer.el: Add support for completion of quoted/escaped data.
13080 (completion-table-with-quoting, completion-table-subvert): New funs.
13081 (completion--twq-try, completion--twq-all): New functions.
13082 (completion--nth-completion): New function.
13083 (completion-try-completion, completion-all-completions): Use it.
13084
13085 2012-04-25 Leo Liu <sdl.web@gmail.com>
13086
13087 * progmodes/python.el (python-pdbtrack-get-source-buffer):
13088 Use compilation-message if available to find real filename.
13089
13090 2012-04-25 Chong Yidong <cyd@gnu.org>
13091
13092 * vc/diff-mode.el (diff-setup-whitespace): New function.
13093 (diff-mode): Use it.
13094
13095 * vc/diff.el (diff-sentinel):
13096 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
13097 Whitespace mode variables based on diff style (Bug#8612).
13098
13099 2012-04-25 Leo Liu <sdl.web@gmail.com>
13100
13101 * progmodes/python.el (python-send-region): Add suffix .py to the
13102 temp file.
13103
13104 * files.el (auto-mode-alist): Use javascript-mode instead.
13105
13106 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
13107
13108 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
13109
13110 * net/soap-client.el (soap-resolve-references-for-sequence-type)
13111 (soap-resolve-references-for-array-type): Hack to prevent self
13112 references, see Bug#9.
13113 (soap-parse-envelope): Report the contents of the 'detail' node
13114 when receiving a fault reply.
13115 (soap-parse-envelope): Report the contents of the entire 'detail' node.
13116
13117 * net/soap-inspect.el (soap-sample-value-for-simple-type)
13118 (soap-inspect-simple-type): New function.
13119
13120 * net/soap-client.el (soap-simple-type): New struct.
13121 (soap-default-xsd-types, soap-default-soapenc-types)
13122 (soap-decode-basic-type, soap-encode-basic-type):
13123 support unsignedInt and double basic types.
13124 (soap-resolve-references-for-simple-type)
13125 (soap-parse-simple-type, soap-encode-simple-type): New function.
13126 (soap-parse-schema): Parse xsd:simpleType declarations.
13127
13128 * net/soap-client.el (soap-default-xsd-types)
13129 (soap-default-soapenc-types): Add integer, byte and anyURI types.
13130 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
13131 the local name of "soapenc:Array".
13132 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
13133 decoding integer, byte and anyURI xsd types.
13134
13135 2012-04-25 Chong Yidong <cyd@gnu.org>
13136
13137 * cus-edit.el (custom-buffer-create-internal): Update header text.
13138
13139 2012-04-25 Eli Zaretskii <eliz@gnu.org>
13140
13141 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
13142 settings on 'system-type', not on 'window-system'. On MS-Windows,
13143 set interactive-mode on in GDB.
13144
13145 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
13146
13147 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
13148 (ruby-syntax-propertize-regexp): Remove.
13149 (ruby-syntax-propertize-function): Split regexp into chunks.
13150 Match following code directly.
13151
13152 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
13153
13154 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
13155 (ruby-syntax-propertize-regexp): New function.
13156 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
13157 by a special keyword.
13158
13159 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
13160 (ruby-syntax-general-delimiters-goto-beg)
13161 (ruby-syntax-propertize-general-delimiters): New functions.
13162 (ruby-syntax-propertize-function): Use them to handle GDL.
13163 (ruby-font-lock-keywords): Move old handling of GDL...
13164 (ruby-font-lock-syntactic-keywords): .. to here.
13165 (ruby-calculate-indent): Adjust indentation for GDL.
13166
13167 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
13168
13169 * notifications.el (top): Remove unneeded declarations.
13170 (notifications-specification-version): Change to "1.2".
13171 (notifications-interface, notifications-notify-method)
13172 (notifications-close-notification-method): Fix docstring.
13173 (notifications-get-capabilities-method): New defconst.
13174 (notifications-notify): Add :action-items, :resident and
13175 :transient hints. Change "image_data" to "image-data" and
13176 "image_path" to "image-path".
13177 (notifications-get-capabilities): New defun.
13178
13179 2012-04-24 Leo Liu <sdl.web@gmail.com>
13180
13181 * progmodes/python.el: Move hideshow setup to the end.
13182
13183 2012-04-24 Martin Rudalics <rudalics@gmx.at>
13184
13185 * window.el (handle-select-window): Clear echo area since this is
13186 no more done by read_char (Bug#11304).
13187
13188 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
13189
13190 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
13191 and `/ M' to filter-derived-mode.
13192 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
13193 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
13194 (ibuffer-mark-by-mode): Use default rather than initial-input.
13195 (ibuffer-filter-by-derived-mode): Autoload and require-match.
13196
13197 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
13198
13199 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
13200 (ibuffer-filter-by-derived-mode): New filter.
13201 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
13202
13203 2012-04-23 Andreas Politz <politza@fh-trier.de>
13204
13205 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
13206
13207 2012-04-23 Chong Yidong <cyd@gnu.org>
13208
13209 * cus-edit.el (customize-apropos, customize-apropos-options):
13210 Disable matching of non-option variables (Bug#11176).
13211 (customize-option, customize-option-other-window)
13212 (customize-changed-options): Doc fix.
13213 (customize-apropos-options, customize-apropos-faces)
13214 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
13215
13216 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
13217 Fix word list splitting (Bug#11132).
13218 (apropos-symbol, apropos-keybinding, apropos-label)
13219 (apropos-property, apropos-function-button)
13220 (apropos-variable-button, apropos-misc-button): New faces.
13221 (apropos-symbol-face, apropos-keybinding-face)
13222 (apropos-label-face, apropos-property-face, apropos-match-face):
13223 Variables removed (Bug#8396).
13224 (apropos-library-button, apropos-format-plist, apropos-print)
13225 (apropos-print-doc, apropos-describe-plist): Callers changed.
13226
13227 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
13228
13229 * net/xesam.el (xesam-mode-map): Use let-bound map in
13230 initialization. (Bug#11292)
13231
13232 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13233
13234 Preserve ispell session localwords when switching back to
13235 original buffer.
13236
13237 * textmodes/ispell.el (ispell-buffer-session-localwords):
13238 New buffer-local variable to hold buffer session localwords.
13239 (ispell-kill-ispell): Add option 'clear to delete session
13240 localwords.
13241 (ispell-command-loop, ispell-change-dictionary)
13242 (ispell-buffer-local-words): Preserve session localwords when
13243 needed.
13244
13245 * textmodes/flyspell.el (flyspell-process-localwords)
13246 (flyspell-do-correct): Preserve session localwords when needed.
13247
13248 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13249
13250 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
13251 using obsolete `translation-table-for-input'.
13252 (ispell-word, ispell-process-line, ispell-complete-word):
13253 Use plain `insert' instead of removed `ispell-insert-word'.
13254
13255 2012-04-22 Chong Yidong <cyd@gnu.org>
13256
13257 * cus-edit.el (custom-variable-menu)
13258 (custom-variable-reset-saved, custom-face-menu)
13259 (custom-face-reset-saved): If there is no saved value, make the
13260 "reset-saved" operation bring back the default (Bug#9509).
13261 (custom-face-state): Properly detect themed faces.
13262
13263 * faces.el (face-spec-set): Stop supporting deprecated form of
13264 third arg.
13265
13266 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
13267
13268 Move functions from C to Lisp. Make non-blocking method calls
13269 the default. Implement further D-Bus standard interfaces.
13270
13271 * net/dbus.el (dbus-message-internal): Declare function.
13272 Remove unneeded function declarations.
13273 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
13274 (dbus-message-type-method-return, dbus-message-type-error)
13275 (dbus-message-type-signal): Declare variables. Remove local
13276 definitions.
13277 (dbus-interface-dbus, dbus-interface-peer)
13278 (dbus-interface-introspectable, dbus-interface-properties)
13279 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
13280 Adapt docstring.
13281 (dbus-interface-objectmanager): New defconst.
13282 (dbus-call-method, dbus-call-method-asynchronously)
13283 (dbus-send-signal, dbus-method-return-internal)
13284 (dbus-method-error-internal, dbus-register-service)
13285 (dbus-register-signal, dbus-register-method): New defuns, moved
13286 from dbusbind.c
13287 (dbus-call-method-handler, dbus-setenv)
13288 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
13289 New defuns.
13290 (dbus-call-method-non-blocking): Make it an obsolete function.
13291 (dbus-unregister-object, dbus-unregister-service)
13292 (dbus-handle-event, dbus-register-property)
13293 (dbus-property-handler): Obey the new structure of
13294 `bus-registered-objects'.
13295 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
13296 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
13297 Use `dbus-call-method'.
13298
13299 2012-04-22 Chong Yidong <cyd@gnu.org>
13300
13301 * cus-edit.el (custom-commands, custom-reset-menu)
13302 (Custom-reset-standard): Tweak labels.
13303 (custom-reset-button-menu): Change default to t.
13304 (custom-buffer-create-internal): For the custom-reset-button-menu
13305 case, put the revert button first.
13306 (custom-group-subtitle): New face.
13307 (custom-group-value-create): Align docstring to a specific column.
13308
13309 * wid-edit.el (widget-documentation-link-add): Don't handle
13310 indentation in this function.
13311 (widget-documentation-string-indent-to): New function.
13312 (widget-documentation-string-value-create): Use it.
13313
13314 * autorevert.el (auto-revert):
13315 * epg-config.el (epg):
13316 * ibuffer.el (ibuffer):
13317 * mpc.el (mpc):
13318 * ses.el (ses):
13319 * eshell/eshell.el (eshell):
13320 * net/ange-ftp.el (ange-ftp):
13321 * progmodes/ebnf2ps.el (postscript):
13322 * progmodes/flymake.el (flymake):
13323 * progmodes/prolog.el (prolog):
13324 * progmodes/verilog-mode.el (verilog-mode):
13325 * progmodes/which-func.el (which-func):
13326 * term/xterm.el (xterm):
13327 * textmodes/picture.el (picture):
13328 * textmodes/tildify.el (tildify):
13329 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
13330 customization buffers.
13331
13332 2012-04-22 Alan Mackenzie <acm@muc.de>
13333
13334 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
13335 Adding a ) can hide the resulting (..) from searches. Fix it.
13336 Bound the backward search to the position of the existing (.
13337
13338 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
13339
13340 * progmodes/verilog-mode.el (verilog-mode): Check whether
13341 which-func-modes is t before adding verilog-mode.
13342 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
13343
13344 2012-04-21 Leo Liu <sdl.web@gmail.com>
13345
13346 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
13347
13348 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
13349
13350 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
13351 filling of the last column of a table (Bug#5635).
13352 (woman-find-next-control-line): New arg, specifying an additional
13353 regexp component for the control line.
13354 (woman2-roff-buffer): Use it.
13355 (woman-break-table): New function.
13356 (woman2-TS): Use it.
13357
13358 2012-04-21 Chong Yidong <cyd@gnu.org>
13359
13360 * woman.el (woman-set-buffer-display-table, woman-decode-region)
13361 (woman-horizontal-escapes, woman-negative-vertical-space)
13362 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
13363 (WoMan-warn-ignored): Use ?\s instead of ?\ .
13364
13365 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13366
13367 * minibuffer.el (completion-file-name-table): Complete user names.
13368
13369 2012-04-20 Leo Liu <sdl.web@gmail.com>
13370
13371 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
13372 and pcase-let*.
13373
13374 2012-04-20 Chong Yidong <cyd@gnu.org>
13375
13376 * server.el (server-execute): Respect initial-buffer-choice if it
13377 is a string and there are no files to open (Bug#2825).
13378 (server-create-window-system-frame, server-create-tty-frame):
13379 Don't switch buffers here.
13380 (server-process-filter): Only try to open a window system frame if
13381 compiled with graphical support (Bug#8314).
13382
13383 2012-04-20 Dan Nicolaescu <dann@gnu.org>
13384
13385 * battery.el (battery-echo-area-format): Display remaining time
13386 for sysfs backend too (Bug#11269).
13387 (battery-linux-sysfs): Fix conditional for the charge.
13388
13389 2012-04-20 Chong Yidong <cyd@gnu.org>
13390
13391 * progmodes/gdb-mi.el (gdb): Revert previous change.
13392 (gdb-inferior-io--init-proc): New function.
13393 (gdb-init-1): Use it.
13394 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
13395 responsible for allocating a new pty and hooking it to gdb when
13396 the old pty gets an EIO due to process exit.
13397 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
13398 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
13399 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
13400
13401 2012-04-20 Eli Zaretskii <eliz@gnu.org>
13402
13403 * window.el (window-min-size, window-sizable, window-min-delta)
13404 (window-max-delta, window--resizable, window-resizable)
13405 (window-total-size, window-full-height-p, window-full-width-p)
13406 (window-in-direction, window--resize-mini-window, window-resize)
13407 (window--resize-child-windows-normal)
13408 (window--resize-child-windows, window--resize-siblings)
13409 (window--resize-this-window, adjust-window-trailing-edge)
13410 (enlarge-window, shrink-window): Doc fixes.
13411
13412 2012-04-20 Chong Yidong <cyd@gnu.org>
13413
13414 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
13415 New function to call delete-process on the gdb-inferior buffer's pty.
13416 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
13417 pty process (Bug#11273).
13418 (gdb-update): New arg to suppress talking to the gdb process.
13419 (gdb-done-or-error): Use it.
13420 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
13421 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
13422 sentinel not being called.
13423
13424 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
13425
13426 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
13427
13428 2012-04-20 Glenn Morris <rgm@gnu.org>
13429
13430 * net/network-stream.el (open-network-stream): Doc fix.
13431
13432 2012-04-20 Chong Yidong <cyd@gnu.org>
13433
13434 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
13435
13436 2012-04-20 Alan Mackenzie <acm@muc.de>
13437
13438 Ensure searching for keywords is case sensitive.
13439
13440 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
13441 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
13442 (c-defun-name, c-mark-function, c-cpp-define-name)
13443 (c-comment-indent, c-scan-conditionals, c-indent-defun)
13444 (c-context-line-break): Bind case-fold-search to nil.
13445
13446 * progmodes/cc-mode.el (c-font-lock-fontify-region):
13447 Bind case-fold-search to nil.
13448
13449 2012-04-20 Chong Yidong <cyd@gnu.org>
13450
13451 * mail/sendmail.el (mail-bury): Call return action with the right
13452 Rmail buffer (Bug#11242).
13453
13454 * server.el (server-process-filter): Handle corner case where both
13455 tty and nowait options are present (Bug#11102).
13456
13457 2012-04-20 Eli Zaretskii <eliz@gnu.org>
13458
13459 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
13460 (top level): Put into the executable the ident-style '$Id:' tag on
13461 windows-nt as well.
13462
13463 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
13464
13465 * electric.el (electric-indent-post-self-insert-function): Check that
13466 electric-indent-mode is enabled in current buffer.
13467
13468 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
13469
13470 * imenu.el (imenu-progress-message): Restore; it is "used" in
13471 erc/erc-imenu.el and net/snmp-mode.el.
13472
13473 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
13474
13475 * avoid.el (mouse-avoidance-mode): Mark unused arg.
13476 (mouse-avoidance-nudge-mouse): Remove unused binding.
13477
13478 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
13479
13480 * descr-text.el (describe-char):
13481 * progmodes/python.el (python-describe-symbol):
13482 Don't call `toggle-read-only', set `buffer-read-only'.
13483
13484 * imenu.el (imenu-default-goto-function): Mark unused args.
13485 (imenu-progress-message): Remove obsolete macro; all callers changed.
13486
13487 * subr.el (keymap-canonicalize): Remove unused binding.
13488 (read-passwd): Mark unused arg.
13489
13490 * tutorial.el (tutorial--display-changes): Remove unused binding.
13491 (tutorial--save-tutorial-to): Remove unused variable.
13492
13493 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
13494 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
13495 (package-generate-autoloads, package-menu--generate)
13496 (package-menu--find-upgrades): Remove unused bindings.
13497
13498 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
13499 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
13500 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
13501 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
13502 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
13503 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
13504 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
13505 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
13506 (cua-delete-char-rectangle): Mark unused args.
13507 (cua-align-rectangle): Remove unused binding.
13508
13509 * mail/rmail.el (compilation--message->loc)
13510 (epa--find-coding-system-for-mime-charset): Declare.
13511
13512 * net/dbus.el (dbus-register-service): Declare.
13513 (dbus-name-owner-changed-handler): Remove unused binding.
13514
13515 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
13516 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
13517 (nxml-scan-backward-within): Mark unused arg.
13518 (nxml-dynamic-markup-word): Remove unused binding.
13519
13520 * mouse.el (mouse-menu-major-mode-map):
13521 * emacs-lisp/authors.el (authors-scan-change-log)
13522 (authors-add-to-author-list):
13523 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
13524 * emacs-lisp/smie.el (smie-auto-fill):
13525 * mail/sendmail.el (mail-bury):
13526 * mail/unrmail.el (unrmail):
13527 * net/tls.el (open-tls-stream):
13528 * textmodes/picture.el (picture-mouse-set-point):
13529 Remove unused bindings.
13530
13531 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
13532
13533 * net/tramp.el (tramp-action-password): Let-bind
13534 `enable-recursive-minibuffers' to t.
13535
13536 2012-04-18 Sam Steingold <sds@gnu.org>
13537
13538 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
13539 instead of 'string to accommodate values like [f11].
13540 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
13541 * progmodes/gdb-mi.el: Likewise.
13542
13543 2012-04-18 Leo Liu <sdl.web@gmail.com>
13544
13545 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
13546 current buffer.
13547 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
13548 LOCAL is nil.
13549
13550 2012-04-18 Chong Yidong <cyd@gnu.org>
13551
13552 * simple.el (line-move): Use forward-line if in batch mode
13553 (Bug#11053).
13554
13555 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
13556
13557 * files.el (after-find-file): Do not try to add a final newline if
13558 the buffer is read-only (Bug#11156).
13559
13560 2012-04-17 Richard Stallman <rms@gnu.org>
13561
13562 * mail/rmail.el (rmail-start-mail):
13563 Pass (rmail-mail-return...) for the return-action.
13564 Pass (rmail-yank-current-message...) for the yank-action.
13565 (rmail-yank-current-message): New function.
13566 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
13567 (rmail-reply): Likewise.
13568 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
13569
13570 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
13571 buffer, not the last. Reject temp buffers. Use the rmail-mode
13572 buffer, not newbuf.
13573
13574 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
13575
13576 * server.el (server-ensure-safe-dir): Simplify.
13577
13578 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
13579
13580 * emacs-lisp/smie.el: Provide smarter auto-filling.
13581 (smie-auto-fill): New function.
13582 (smie-setup): Use it.
13583
13584 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
13585
13586 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
13587
13588 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
13589 (comment-indent): Use it.
13590
13591 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
13592
13593 * ses.el: The overall change is to add cell renaming, that is
13594 setting fancy names for cell symbols other than name matching
13595 "\\`[A-Z]+[0-9]+\\'" regexp .
13596 (ses-localvars): Add ses--renamed-cell-symb-list.
13597 (ses-create-cell-variable): New defun.
13598 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
13599 (ses-relocate-formula): Relocate formulas only for cells the
13600 symbols of which are not renamed, i.e. symbols whose names do not
13601 match regexp "\\`[A-Z]+[0-9]+\\'".
13602 (ses-relocate-all): Relocate values only for cells the symbols of
13603 which are not renamed.
13604 (ses-load): Create cells variables as the (ses-cell ...) are read,
13605 in order to check row col consistency with cell symbol name only
13606 for cells that are not renamed.
13607 (ses-replace-name-in-formula): New defun.
13608 (ses-rename-cell): New defun.
13609
13610 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
13611
13612 * progmodes/perl-mode.el (perl-indent-parens-as-block):
13613 New option (bug#11118).
13614 (perl-calculate-indent): Respect it.
13615
13616 2012-04-17 Glenn Morris <rgm@gnu.org>
13617
13618 * dired-aux.el (dired-mark-read-string): Doc fix.
13619
13620 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
13621
13622 * dired-aux.el (dired-mark-read-string): Offer optional completion.
13623 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
13624
13625 2012-04-17 Glenn Morris <rgm@gnu.org>
13626
13627 * mouse.el (mouse-drag-track):
13628 * speedbar.el (speedbar-frame-mode):
13629 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
13630
13631 2012-04-16 Leo Liu <sdl.web@gmail.com>
13632
13633 * progmodes/python.el: Trivial cleanup.
13634
13635 2012-04-16 Glenn Morris <rgm@gnu.org>
13636
13637 * vc/vc.el (vc-string-prefix-p):
13638 * vc/pcvs-util.el (cvs-string-prefix-p):
13639 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
13640 * mpc.el (mpc-string-prefix-p):
13641 Make all of these into obsolete aliases for string-prefix-p.
13642 Update callers.
13643 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
13644
13645 * textmodes/two-column.el: Move custom options to the start.
13646 (frame-width): Remove compat definition.
13647 (2C-associate-buffer, 2C-dissociate):
13648 Use with-current-buffer rather than save-excursion.
13649 (2C-dissociate): Force a mode-line update.
13650 (2C-autoscroll): Use ignore-errors.
13651
13652 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
13653 Autoload trivia.
13654
13655 * emacs-lisp/cl-extra.el (*random-state*):
13656 Remove unnecessary declaration.
13657
13658 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
13659
13660 * play/cookie1.el (cookie-snarf):
13661 Give an explicit error if input file cannot be read.
13662
13663 * play/yow.el (yow-file): Use expand-file-name rather than concat.
13664
13665 * progmodes/perl-mode.el (c-macro-expand):
13666 Remove unnecessary autoload (it is in loaddefs.el).
13667
13668 * textmodes/picture.el (picture-desired-column)
13669 (picture-update-desired-column): Convert comments to doc-strings.
13670 (picture-substitute): Remove function.
13671 (picture-mode-map): Initialize in the defvar.
13672
13673 * woman.el: Remove eval-after-load for tar-mode.
13674 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
13675 (woman-tar-extract-file): Autoload it.
13676
13677 * frame.el (automatic-hscrolling): Make this alias obsolete.
13678
13679 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13680
13681 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
13682 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
13683 (ispell-dictionary-base-alist): Revert to original XEmacs
13684 friendly version for default. [:alpha:] will be added in
13685 `ispell-set-spellchecker-params' if needed.
13686
13687 2012-04-16 Chong Yidong <cyd@gnu.org>
13688
13689 * image.el (imagemagick--file-regexp): New variable.
13690 (imagemagick-register-types): Use it.
13691 (imagemagick-types-inhibit): Add :set function. Allow new value
13692 of t to inhibit all types.
13693
13694 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
13695 so we can preload it.
13696
13697 * loadup.el (fboundp): Preload regexp-opt, needed by
13698 imagemagick-register-types.
13699
13700 2012-04-15 Chong Yidong <cyd@gnu.org>
13701
13702 * frame.el (scrolling): Remove nearly unused customization group.
13703
13704 * scroll-all.el (scroll-all-mode): Move to windows group.
13705
13706 2012-04-15 Chong Yidong <cyd@gnu.org>
13707
13708 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
13709
13710 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13711
13712 Avoid the use of ((lambda ...) ...) in lexical-binding code.
13713 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
13714
13715 2012-04-15 Glenn Morris <rgm@gnu.org>
13716
13717 * simple.el (process-file-side-effects): Doc fix.
13718
13719 2012-04-15 Glenn Morris <rgm@gnu.org>
13720
13721 * international/mule-cmds.el (set-language-environment): Doc fix.
13722
13723 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
13724
13725 * server.el (server-auth-key, server-generate-key): Doc fixes.
13726 (server-get-auth-key): Doc fix. Use `string-match-p'.
13727 (server-start): Reflow docstring.
13728
13729 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
13730
13731 * server.el (server-generate-key): `called-interactively-p'
13732 requires a parameter.
13733
13734 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
13735
13736 * server.el (server-auth-key): New variable.
13737 (server-generate-key, server-get-auth-key): New function.
13738 (server-start): Use the new variable and functions to allow
13739 setting a permanent server key (bug#9423).
13740
13741 2012-04-14 Leo Liu <sdl.web@gmail.com>
13742
13743 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
13744
13745 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
13746
13747 Spelling fixes.
13748 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
13749 Emacs uses American spelling.
13750
13751 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
13752
13753 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
13754 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
13755 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
13756 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
13757
13758 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
13759
13760 * progmodes/which-func.el (which-func-modes): Change default.
13761
13762 2012-04-14 Kim F. Storm <storm@cua.dk>
13763
13764 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
13765 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
13766
13767 2012-04-14 Chong Yidong <cyd@gnu.org>
13768
13769 * custom.el (custom-theme-set-variables): Doc fix.
13770
13771 2012-04-14 Glenn Morris <rgm@gnu.org>
13772
13773 * international/mule.el (set-auto-coding-for-load): Doc fix.
13774
13775 2012-04-14 Alan Mackenzie <acm@muc.de>
13776
13777 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
13778 imenu work again for Objective C Mode. Correct the *-index values,
13779 these having been disturbed by a previous change in 2011-08.
13780
13781 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
13782 Correct two search limits.
13783
13784 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
13785
13786 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
13787
13788 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
13789
13790 * international/characters.el: Fix sorting.
13791
13792 2012-04-14 Eli Zaretskii <eliz@gnu.org>
13793
13794 * international/characters.el: Add more missing Latin case pairs.
13795
13796 2012-04-14 Glenn Morris <rgm@gnu.org>
13797
13798 * files.el (dir-locals-set-class-variables): Doc fix.
13799
13800 2012-04-14 Eli Zaretskii <eliz@gnu.org>
13801
13802 * international/characters.el: Add set-case-syntax-pair call for
13803 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
13804 counterpart. (Bug#11209)
13805
13806 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
13807
13808 2012-04-14 Glenn Morris <rgm@gnu.org>
13809
13810 * calendar/holidays.el (calendar-check-holidays): Doc fix.
13811
13812 2012-04-14 Eli Zaretskii <eliz@gnu.org>
13813
13814 * textmodes/ispell.el (ispell-dictionary-base-alist):
13815 Add data for Hebrew.
13816
13817 2012-04-14 Chong Yidong <cyd@gnu.org>
13818
13819 * net/rcirc.el (rcirc-cmd-quit):
13820 Revert 2012-03-18 change (Bug#11192).
13821
13822 2012-04-14 Glenn Morris <rgm@gnu.org>
13823
13824 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
13825
13826 2012-04-14 Eli Zaretskii <eliz@gnu.org>
13827
13828 * minibuffer.el (completion-in-region-mode-map):
13829 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
13830
13831 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
13832
13833 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
13834
13835 2012-04-13 Masatake YAMATO <yamato@redhat.com>
13836
13837 * minibuffer.el (minibuffer-local-filename-syntax): New variable
13838 to allow `C-M-f' and `C-M-b' to move to the nearest path
13839 separator (bug#9511).
13840
13841 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
13842
13843 * avoid.el: Require cl when compiling. And also move the
13844 `provide' to the end.
13845
13846 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13847
13848 * avoid.el (mouse-avoidance-banish-position): New variable.
13849 (mouse-avoidance-banish-destination): Use it (bug#10165).
13850
13851 2012-04-13 Leo Liu <sdl.web@gmail.com>
13852
13853 * progmodes/which-func.el (which-func-modes): Add objc-mode.
13854
13855 2012-04-13 Ken Brown <kbrown@cornell.edu>
13856
13857 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
13858 this is no longer needed now that cygstart understands file:// URLs.
13859 (browse-url-filename-alist): For the same reason, don't modify
13860 file:// URLs on Cygwin.
13861
13862 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
13863
13864 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
13865 the region on shift if the binding is already shifted (bug#11221).
13866
13867 2012-04-12 Glenn Morris <rgm@gnu.org>
13868
13869 * mail/mailpost.el: Move to obsolete/.
13870
13871 2012-04-12 Drew Adams <drew.adams@oracle.com>
13872
13873 * imenu.el (imenu--generic-function): Ignore invisible definitions
13874 (bug#10123).
13875
13876 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
13877
13878 * hexl.el (hexl-bits): New variable.
13879 (hexl-options): Mention the variable in the doc string.
13880 (hexl-rulerise, hexl-line-displen): New functions.
13881 (hexl-mode): Mention the new variable.
13882 (hexl-mode, hexl-current-address, hexl-current-address):
13883 Use the displen.
13884 (hexl-ascii-start-column): New function.
13885 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
13886 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
13887
13888 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13889
13890 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
13891 '("-i" ENCODING), in 2 separate command-line arguments, to specify
13892 the encoding, as expected by hunspell.
13893
13894 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
13895
13896 * battery.el (battery--linux-sysfs-regexp): New const.
13897 (battery-status-function): Use it. Remove yeeloong special case.
13898 (battery-yeeloong-sysfs): Remove.
13899 (battery-echo-area-format): Remove yeeloong special case.
13900
13901 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
13902
13903 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
13904 Reported by Noah Friedman.
13905
13906 * subr.el (read-passwd): Use read-string.
13907
13908 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13909
13910 * vcursor.el (vcursor-move): Increase the priority of the overlay
13911 (bug#9663).
13912
13913 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
13914
13915 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
13916 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
13917
13918 2012-04-11 William Stevenson <yhvh2000@gmail.com>
13919
13920 * textmodes/artist.el (artist-mode): Convert artist-mode to use
13921 define-minor-mode (bug#10760).
13922
13923 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
13924
13925 * progmodes/grep.el (rgrep): Tweak the find command line so
13926 that directories matching `grep-find-ignored-files' won't be
13927 pruned (bug#10351).
13928
13929 2012-04-11 Chong Yidong <cyd@gnu.org>
13930
13931 * startup.el (command-line): Remove support for long-obsolete
13932 variable font-lock-face-attributes.
13933
13934 2012-04-11 Glenn Morris <rgm@gnu.org>
13935
13936 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
13937
13938 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
13939
13940 * window.el (window--state-get-1): Obey window-point-insertion-type.
13941
13942 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
13943
13944 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
13945 to previous function when point is on the first character of a
13946 function. Take care of that in `narrow-to-defun' (bug#6157).
13947
13948 2012-04-11 Glenn Morris <rgm@gnu.org>
13949
13950 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
13951 not just file-errors.
13952
13953 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
13954 (vc-bzr-sha1): Use internal sha1.
13955
13956 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
13957
13958 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
13959
13960 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
13961
13962 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
13963 that start in the middle of the line (bug#10496).
13964
13965 2012-04-10 Dan Nicolaescu <dann@gnu.org>
13966
13967 * battery.el (battery-linux-proc-acpi): Only one battery is
13968 discharged at a time, but that seems to confuse battery.el when
13969 computing `rate-type' for the battery not being discharged
13970 (bug#10332).
13971
13972 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
13973
13974 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
13975
13976 * international/quail.el: Use dolist and simplify.
13977 (quail-define-package, quail-update-keyboard-layout)
13978 (quail-define-rules): Use dolist.
13979 (quail-insert-kbd-layout, quail-get-translation): CSE.
13980
13981 * tmm.el: Use dolist, remove left over hook.
13982 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
13983 Use dolist.
13984 (calendar-load-hook): Don't mess with it.
13985
13986 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
13987 Use derived-mode-p. Run the diff asynchronously.
13988
13989 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
13990
13991 * obsolete/mouse-sel.el: Add an Obsolete-since header.
13992
13993 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
13994
13995 * misc.el: Display absolute path of loaded DLLs (bug#10424).
13996 (list-dynamic-libraries--loaded): New function.
13997 (list-dynamic-libraries--refresh): Use it.
13998
13999 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
14000
14001 * progmodes/python.el (python-fill-paragraph):
14002 Make python-fill-region in a multiline string work when font-lock is
14003 disabled (bug#7018).
14004
14005 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
14006
14007 * language/european.el (cp775): Add oem/legacy (en)coding on
14008 DOS/MS Windows for the Baltic languages. There are still plenty
14009 of texts written in this encoding/codepage (bug#6519).
14010
14011 2012-04-10 Glenn Morris <rgm@gnu.org>
14012
14013 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
14014 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
14015
14016 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
14017
14018 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
14019 next-line "n" and previous-line "p" in order to make recentf more
14020 consistent with ibuffer, dired or org-mode (bug#9387).
14021
14022 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
14023
14024 * image.el (put-image): Return the overlay created instead of the
14025 optional input string (bug#7834). Note that this may break code
14026 that is (for some reason or other) depending on `put-image'
14027 returning the string.
14028
14029 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
14030
14031 * simple.el (zap-to-char): Allow zapping using input methods
14032 (bug#1580).
14033
14034 * textmodes/fill.el (fill-region): Leave point and mark where they
14035 were before filling (bug#5399).
14036
14037 2012-04-09 Glenn Morris <rgm@gnu.org>
14038
14039 * version.el (emacs-bzr-get-version):
14040 Handle lightweight checkouts of local branches.
14041
14042 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
14043
14044 * international/characters.el: Recover lost case pairs. (Bug#11209)
14045
14046 2012-04-09 Chong Yidong <cyd@gnu.org>
14047
14048 * custom.el (custom-variable-p): Return nil for non-symbol
14049 arguments instead of signaling an error.
14050 (user-variable-p): Obsolete alias for custom-variable-p.
14051
14052 * apropos.el (apropos-variable):
14053 * files-x.el (read-file-local-variable):
14054 * simple.el (set-variable):
14055 * woman.el (woman-mini-help):
14056 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
14057
14058 2012-04-09 Glenn Morris <rgm@gnu.org>
14059
14060 * startup.el (normal-top-level): Don't look for leim-list.el
14061 in places where it will not be found. (Bug#910)
14062
14063 * international/mule-cmds.el (set-default-coding-systems):
14064 * files.el (normal-mode):
14065 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
14066 This function was removed with ucs-tables.el in 2008.
14067
14068 2012-04-08 Eli Zaretskii <eliz@gnu.org>
14069
14070 * textmodes/ispell.el (ispell-check-version): For hunspell, set
14071 ispell-encoding8-command to "-i", without a trailing space.
14072 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
14073 separate command-line arguments, to specify the encoding, since
14074 that's how hunspell expects it.
14075
14076 2012-04-08 Glenn Morris <rgm@gnu.org>
14077
14078 * loadup.el: Load bindings before cus-start.
14079 This reduces somewhat the number of "rogue" settings in emacs -Q.
14080
14081 2012-04-07 Glenn Morris <rgm@gnu.org>
14082
14083 * version.el (emacs-bzr-get-version): New function.
14084 (emacs-bzr-version): New variable.
14085 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
14086 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
14087
14088 2012-04-07 Eli Zaretskii <eliz@gnu.org>
14089
14090 * international/uni-bidi.el, international/uni-category.el:
14091 * international/uni-combining.el, international/uni-decimal.el:
14092 * international/uni-decomposition.el, international/uni-digit.el:
14093 * international/uni-lowercase.el, international/uni-mirrored.el:
14094 * international/uni-name.el, international/uni-numeric.el:
14095 * international/uni-titlecase.el, international/uni-uppercase.el:
14096 Update for Unicode 6.1.
14097
14098 2012-04-07 Eli Zaretskii <eliz@gnu.org>
14099
14100 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
14101
14102 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
14103
14104 * window.el (shrink-window): Mention the `window-min-height'
14105 variable in the doc string.
14106
14107 2012-04-05 Bastien Guerry <bzg@altern.org>
14108
14109 * color.el (color-lighten-name): Fix typo.
14110
14111 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
14112
14113 * server.el (server--on-display-p): New function.
14114 (server--on-display-p): Use it.
14115
14116 2012-04-04 Gábor Vida <vidagabor@gmail.com> (tiny change)
14117
14118 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
14119 (bug#11145).
14120
14121 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
14122
14123 * comint.el (comint--common-quoted-suffix): Check string boundary
14124 before comparing (bug#11158).
14125 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
14126
14127 2012-04-04 Chong Yidong <cyd@gnu.org>
14128
14129 * minibuffer.el (completion-extra-properties): Doc fix.
14130
14131 * subr.el (delayed-warnings-hook): Doc fix.
14132
14133 2012-04-04 Daiki Ueno <ueno@unixuser.org>
14134
14135 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
14136 selection (Bug#11159).
14137 (epa-insert-keys): Inform that the default public key will be
14138 exported if no key is selected.
14139
14140 2012-04-04 Richard Stallman <rms@gnu.org>
14141
14142 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
14143
14144 2012-04-03 Chong Yidong <cyd@gnu.org>
14145
14146 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
14147 mail-insert-file, not its obsolete alias mail-attach-file.
14148
14149 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
14150
14151 * notifications.el (notifications-notify): Fix docstring.
14152
14153 2012-04-02 Glenn Morris <rgm@gnu.org>
14154
14155 * emacs-lisp/authors.el (authors-aliases): Another addition.
14156
14157 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
14158
14159 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
14160 `tramp-compat-call-process' instead of `tramp-local-call-process'.
14161 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
14162
14163 2012-04-01 Chong Yidong <cyd@gnu.org>
14164
14165 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
14166 Handle root directory properly.
14167 (copy-directory): Caller changed.
14168
14169 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
14170 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
14171
14172 2012-03-31 Glenn Morris <rgm@gnu.org>
14173
14174 * term/xterm.el (xterm-extra-capabilities): Doc fix.
14175
14176 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
14177
14178 * calendar/calendar.el (calendar-window-list)
14179 (calendar-hide-window): Restore. (Bug#11140)
14180 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
14181
14182 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
14183
14184 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14185
14186 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
14187 Check if file is a symlink (Bug#10489).
14188
14189 * files.el (copy-directory): Likewise.
14190
14191 2012-03-30 Chong Yidong <cyd@gnu.org>
14192
14193 * image.el (imagemagick-types-inhibit)
14194 (imagemagick-register-types): Doc fix.
14195
14196 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14197
14198 * textmodes/ispell.el (ispell-get-extended-character-mode):
14199 Disable extended-char-mode for hunspell. hunspell does not support it
14200 and treats ~word as ordinary words in pipe mode.
14201
14202 2012-03-30 Glenn Morris <rgm@gnu.org>
14203
14204 * tutorial.el (help-with-tutorial): Ensure local variables don't
14205 happen to make the buffer read-only. (Bug#11127)
14206
14207 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
14208
14209 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
14210 (perl-calculate-indent): Return `noindent' in strings.
14211
14212 2012-03-28 Sam Steingold <sds@gnu.org>
14213
14214 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
14215 instead of the broken adhockery which does not prevent calendar
14216 buffers from being displayed at random after exit.
14217 (calendar-window-list, calendar-hide-window): Remove the broken
14218 adhockery.
14219
14220 2012-03-28 Glenn Morris <rgm@gnu.org>
14221
14222 * replace.el (query-replace-map): Doc fix.
14223
14224 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
14225
14226 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
14227 contents. (Bug#11109)
14228
14229 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
14230
14231 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
14232 (bug#11077).
14233 (avl-tree--check, avl-tree--check-node): New funs.
14234
14235 2012-03-27 Martin Rudalics <rudalics@gmx.at>
14236
14237 * window.el (switch-to-visible-buffer): New option.
14238 (switch-to-prev-buffer, switch-to-next-buffer):
14239 Observe switch-to-visible-buffer. Make sure that checking for a window
14240 showing a buffer already is done on the same frame.
14241
14242 2012-03-27 Glenn Morris <rgm@gnu.org>
14243
14244 * startup.el (mail-host-address): Doc fix.
14245
14246 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
14247
14248 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
14249 than 197 variables.
14250
14251 2012-03-26 Ami Fischman <ami@fischman.org>
14252
14253 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
14254
14255 2012-03-26 Glenn Morris <rgm@gnu.org>
14256
14257 * files.el (save-buffers-kill-emacs): Doc fix.
14258
14259 * startup.el (normal-top-level, command-line, command-line-1):
14260 Give them doc strings.
14261
14262 2012-03-25 Eli Zaretskii <eliz@gnu.org>
14263
14264 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
14265 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
14266
14267 2012-03-25 Chong Yidong <cyd@gnu.org>
14268
14269 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
14270 theme if it was previously enabled before (Bug#11031).
14271
14272 * cus-theme.el (custom-theme-write-faces): Retrieve current face
14273 spec with custom-face-get-current-spec if its :shown-value is not
14274 determined yet (Bug#9337).
14275 (customize-create-theme, custom-theme-revert): Doc fixes.
14276
14277 * button.el (button-at): Minor addition to docstring.
14278
14279 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
14280
14281 * vc/vc.el (vc-merge): Fix a prompt.
14282
14283 2012-03-24 Chong Yidong <cyd@gnu.org>
14284
14285 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
14286 point (Bug#9623).
14287
14288 * button.el (button-at): Minor addition to docstring.
14289
14290 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
14291
14292 * newcomment.el (comment-choose-indent): No space after BOL.
14293
14294 2012-03-22 Sam Steingold <sds@gnu.org>
14295
14296 * window.el (switch-to-prev-buffer): Revert last patch because the
14297 bug turned out to be an advertised feature (Elisp manual 28.14).
14298
14299 2012-03-22 Glenn Morris <rgm@gnu.org>
14300
14301 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
14302 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
14303
14304 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
14305
14306 * net/network-stream.el (network-stream-open-starttls): Make error
14307 message under Windows be less misleading.
14308
14309 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
14310
14311 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
14312 understands (bug#9942).
14313
14314 2012-03-22 Chong Yidong <cyd@gnu.org>
14315
14316 * simple.el (end-of-visible-line): Handle return value of
14317 next-single-property-change properly (Bug#9371).
14318
14319 2012-03-22 Kenichi Handa <handa@m17n.org>
14320
14321 * international/quail.el (quail-insert-kbd-layout): Fix previous
14322 change. To avoid unwanted bidi reordering, use
14323 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
14324
14325 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
14326
14327 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
14328 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
14329 (ruby-beginning-of-indent): Be more careful with the difference
14330 between word-boundary and symbol boundary.
14331 (ruby-mode-syntax-table): Make : a symbol constituent.
14332
14333 2012-03-21 Andreas Politz <politza@fh-trier.de>
14334
14335 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
14336
14337 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
14338
14339 * progmodes/etags.el (tags-completion-at-point-function):
14340 Improve last fix.
14341
14342 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
14343
14344 2012-03-21 Sam Steingold <sds@gnu.org>
14345
14346 * progmodes/etags.el (tags-completion-at-point-function):
14347 Avoid the error when point is inside the pattern.
14348
14349 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
14350
14351 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
14352 line (Bug#10855).
14353
14354 2012-03-21 Drew Adams <drew.adams@oracle.com>
14355
14356 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
14357
14358 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
14359
14360 * ido.el (ido-set-current-directory, ido-read-internal)
14361 (ido-choose-completion-string, ido-completion-help): Handle nil
14362 value of ido-completion-buffer (Bug#11008).
14363
14364 2012-03-21 Sam Steingold <sds@gnu.org>
14365
14366 * window.el (switch-to-prev-buffer): Do not switch to a visible
14367 window previous buffer, just like with the frame previous buffers.
14368
14369 2012-03-21 Chong Yidong <cyd@gnu.org>
14370
14371 * faces.el (make-face, make-empty-face, copy-face):
14372 * face-remap.el (face-remap-add-relative, face-remap-set-base):
14373 Doc fixes.
14374
14375 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
14376
14377 * wid-edit.el (widget-complete-field): Remove (bug#11051).
14378 (widget-complete): Remove broken use of it.
14379
14380 2012-03-20 Chong Yidong <cyd@gnu.org>
14381
14382 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
14383 Use string-width and truncate-string-width to handle arbitrary
14384 characters.
14385
14386 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
14387
14388 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
14389 to draw rectangles, not squares. (Regression introduced by revno
14390 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
14391
14392 2012-03-18 Chong Yidong <cyd@gnu.org>
14393
14394 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
14395 it is not yet defined (for temacs).
14396
14397 2012-03-18 Leo Liu <sdl.web@gmail.com>
14398
14399 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
14400 prefix.
14401
14402 2012-03-17 Eli Zaretskii <eliz@gnu.org>
14403
14404 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
14405 (ispell-choices-win-default-height, ispell-silently-savep)
14406 (ispell-dictionary-alist, ispell-encoding8-command)
14407 (ispell-check-version, ispell-aspell-find-dictionary)
14408 (ispell-valid-dictionary-list, ispell-words-keyword)
14409 (ispell-get-word, ispell-internal-change-dictionary)
14410 (ispell-region, ispell-skip-region-list)
14411 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
14412 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
14413 (ispell-message-text-end, ispell-message)
14414 (ispell-buffer-local-parsing): Doc fix.
14415
14416 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
14417
14418 * htmlfontify.el: Add support for code block fontification for ODT
14419 export (Bug #9914).
14420 (hfy-optimisations): Define new option
14421 `body-text-only'
14422 (hfy-fontify-buffer): Honor above setting.
14423 (hfy-begin-span, hfy-end-span): New routines factored out form
14424 `hfy-fontify-buffer'.
14425 (hfy-begin-span-handler, hfy-end-span-handler): New variables
14426 that permit insertion of custom tags.
14427 (hfy-fontify-buffer): Use above handlers.
14428 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
14429 (hfy-face-to-css): Re-defined to be a variable.
14430 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
14431 over multiple runs. This is made possible by having the caller let
14432 bind a special variable `hfy-user-sheet-assoc'.
14433 (htmlfontify-string): New defun.
14434 (hfy-compile-face-map): Make sure that the last char in the
14435 buffer is correctly fontified.
14436 (hfy-face-resolve-face): Whitespace only change.
14437
14438 2012-03-17 Eli Zaretskii <eliz@gnu.org>
14439
14440 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
14441 message more clear.
14442
14443 2012-03-16 Leo Liu <sdl.web@gmail.com>
14444
14445 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
14446
14447 2012-03-16 Alan Mackenzie <acm@muc.de>
14448
14449 Further optimize the handling of large macros.
14450
14451 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
14452 limit to a call of `c-literal-limits'.
14453 (c-determine-+ve-limit): New function.
14454 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
14455 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
14456 In CASE 5B, restrict a search limit to 500.
14457 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
14458
14459 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
14460 Restrict macro bounds to +-500 from after-change's BEG END.
14461
14462 2012-03-16 Leo Liu <sdl.web@gmail.com>
14463
14464 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
14465
14466 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
14467
14468 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
14469 `special-mode' setting of `buffer-read-only'. (Bug#11010)
14470
14471 2012-03-16 Glenn Morris <rgm@gnu.org>
14472
14473 * view.el (view-buffer, view-buffer-other-window)
14474 (view-buffer-other-frame): Doc fixes re special mode-class.
14475
14476 * subr.el (eval-after-load): If named feature is provided not from
14477 a file, run after-load forms. (Bug#10946)
14478
14479 * calendar/calendar.el (calendar-insert-at-column):
14480 Handle non-unit-width characters a bit better. (Bug#10978)
14481
14482 2012-03-15 Chong Yidong <cyd@gnu.org>
14483
14484 * emacs-lisp/ring.el (ring-extend): New function.
14485 (ring-insert+extend): Extend the ring correctly (Bug#11019).
14486
14487 * comint.el (comint-read-input-ring)
14488 (comint-add-to-input-history): Grow comint-input-ring lazily.
14489
14490 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
14491
14492 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
14493 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
14494
14495 * imenu.el: Fix multiple inheritance breakage (bug#9199).
14496 (imenu-add-to-menubar): Don't add a redundant index.
14497 (imenu-update-menubar): Handle a dynamically composed keymap.
14498
14499 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
14500
14501 * mail/sendmail.el (mail-encode-header):
14502 Bind rfc2047-encode-encoded-words to nil.
14503
14504 2012-03-13 Glenn Morris <rgm@gnu.org>
14505
14506 * calendar/calendar.el (calendar-string-spread):
14507 Handle non-unit-width characters a bit better. (Bug#10978)
14508
14509 2012-03-13 Leo Liu <sdl.web@gmail.com>
14510
14511 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
14512 directory and file as argument (Bug#10822).
14513
14514 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
14515
14516 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
14517 For dynamically generated code, follow $PC.
14518 (gdb-disassembly-handler-custom): Handle no function name case.
14519
14520 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
14521
14522 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
14523 * emulation/ws-mode.el (ws-query-replace):
14524 * sort.el (sort-regexp-fields):
14525 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
14526
14527 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14528
14529 * dabbrev.el: Fix cycle completion order (bug#10963).
14530 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
14531 (dabbrev-completion): Don't use an obarray; provide
14532 a cycle-sort-function.
14533
14534 2012-03-12 Leo Liu <sdl.web@gmail.com>
14535
14536 * simple.el (kill-new): Use equal-including-properties for comparison.
14537 (kill-do-not-save-duplicates): Doc fix.
14538
14539 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14540
14541 * dabbrev.el: Fix cycle completion (bug#10963).
14542 Use lexical binding and wrap to 80 columns.
14543 (dabbrev-completion): Delay computing the list of completions.
14544
14545 2012-03-12 Kenichi Handa <handa@m17n.org>
14546
14547 * international/quail.el (quail-insert-kbd-layout): Surround each
14548 row by LRO and PDF instead of inserting many LRMs. Pad the left
14549 and right of each non-spacing marks. Insert invisible space
14550 between lower and upper characters to prevent composition.
14551
14552 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14553
14554 * minibuffer.el (minibuffer-complete): Don't get confused when the
14555 function is run twice via different commands (bug#10958).
14556 (complete-with-action): Fix docstring.
14557
14558 2012-03-12 Chong Yidong <cyd@gnu.org>
14559
14560 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
14561 (nxml-completion-at-point-function): New function.
14562 (nxml-mode): Use it.
14563 (nxml-bind-meta-tab-to-complete-flag): Default to t.
14564
14565 * emacs-lisp/package.el (package-unpack, package-unpack-single):
14566 Load generated autoloads file before byte compiling (Bug#10970).
14567 (package--make-autoloads-and-compile): New helper fun.
14568
14569 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
14570
14571 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
14572
14573 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
14574
14575 * autorevert.el (auto-revert-handler): Ensure, that
14576 file-readable-p is applied only for local files or in
14577 auto-revert-tail-mode.
14578
14579 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
14580
14581 * server.el (server-eval-at): Handle non-tcp connections.
14582 Decode result string.
14583
14584 * server.el (server-msg-size): New constant.
14585 (server-reply-print): New function.
14586 (server-eval-and-print): Use it.
14587 (server-eval-at): Use server-quote-arg and server-unquote-arg.
14588 Handle -print-nonl.
14589
14590 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
14591
14592 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
14593 (Bug#10987).
14594
14595 2012-03-11 Chong Yidong <cyd@gnu.org>
14596
14597 * simple.el (goto-line): Doc fix (Bug#9938).
14598
14599 * subr.el (save-window-excursion): Doc fix (Bug#9979).
14600
14601 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
14602 when finished (Bug#10963).
14603
14604 2012-03-11 Martin Rudalics <rudalics@gmx.at>
14605
14606 * window.el (split-window-below): Fix bug in case where
14607 split-window-keep-point is nil (Bug#10971).
14608
14609 2012-03-11 Juri Linkov <juri@jurta.org>
14610
14611 * replace.el (replace-highlight): Set isearch-word to nil
14612 unconditionally. (Bug#10887)
14613
14614 2012-03-10 Eli Zaretskii <eliz@gnu.org>
14615
14616 * net/mairix.el (mairix-replace-invalid-chars): Rename from
14617 mairix-replace-illegal-chars; all callers changed. Don't remove
14618 ^, ~, and = characters: they are meaningful in mairix search specs.
14619 (mairix-widget-create-query): Add usage information about mairix
14620 search forms: negating words, searching for substrings, etc.
14621
14622 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
14623
14624 * international/fontset.el (font-encoding-alist): Add an entry for
14625 ksx1001 (Bug#5667).
14626
14627 2012-03-10 Richard Stallman <rms@gnu.org>
14628
14629 * mail/sendmail.el (mail-encode-header):
14630 Set rfc2047-encode-encoded-words.
14631
14632 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
14633
14634 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
14635 view buffer means not swapped.
14636 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
14637 (rmail-write-region-annotate): Error if real text has disappeared.
14638
14639 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
14640
14641 2012-03-10 Chong Yidong <cyd@gnu.org>
14642
14643 * emulation/cua-rect.el (cua--init-rectangles):
14644 * emulation/cua-base.el (cua--init-keymaps):
14645 Add delete-forward-char to remappings (Bug#9666).
14646
14647 2012-03-10 Martin Rudalics <rudalics@gmx.at>
14648
14649 * speedbar.el (speedbar-unhighlight-one-tag-line):
14650 Avoid unhighlighting due to frame switching (Bug#10275).
14651
14652 2012-03-10 Chong Yidong <cyd@gnu.org>
14653
14654 * minibuffer.el (completion-in-region, completion-help-at-point):
14655 Give the completion field overlay a high priority (Bug#6830).
14656
14657 * dired.el (dired-goto-file): Recognize absolute file name
14658 listings (Bug#7126).
14659 (dired-goto-file-1): New helper function.
14660 (dired-toggle-read-only): Inhibit warnings.
14661
14662 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
14663
14664 * net/dbus.el (dbus-property-handler): Return empty array if
14665 there are no properties.
14666
14667 2012-03-09 Leo Liu <sdl.web@gmail.com>
14668
14669 * savehist.el (savehist-printable): Stricter check for string
14670 value (Bug#10937).
14671
14672 2012-03-09 Eli Zaretskii <eliz@gnu.org>
14673
14674 * mail/smtpmail.el (smtpmail-send-it):
14675 Bind coding-system-for-write to *-unix, so that FCC files are kept in
14676 valid mbox format.
14677
14678 2012-03-09 Glenn Morris <rgm@gnu.org>
14679
14680 * files.el (dir-locals-find-file):
14681 Don't check result is regular, readable.
14682 (dir-locals-read-from-file): Demote errors.
14683
14684 2012-03-08 Eli Zaretskii <eliz@gnu.org>
14685
14686 * international/quail.el (quail-insert-kbd-layout):
14687 Insert invisible LRM characters before each character in a keyboard
14688 layout cell, to prevent their reordering by bidi display engine.
14689 For details, see the discussion in
14690 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
14691
14692 2012-03-08 Alan Mackenzie <acm@muc.de>
14693
14694 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
14695 the starting position; make it extend the marked region when
14696 invoked repeatedly - all under appropriate circumstances.
14697 Fixes bugs #5525, #10906.
14698
14699 2012-03-08 Glenn Morris <rgm@gnu.org>
14700
14701 * files.el (locate-dominating-file, dir-locals-find-file):
14702 Undo 2012-03-06 change.
14703
14704 2012-03-07 Eli Zaretskii <eliz@gnu.org>
14705
14706 * international/quail.el (quail-help):
14707 Force bidi-paragraph-direction be left-to-right. See discussion in
14708 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
14709 for the reason.
14710
14711 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
14712
14713 Avoid superfluous registering of signals. (Bug#10807)
14714
14715 * notifications.el (notifications-on-action-object)
14716 (notifications-on-close-object): New defvars.
14717 (notifications-on-action-signal, notifications-on-closed-signal):
14718 Unregister the signal if not needed any longer.
14719 (notifications-notify): Register `notifications-action-signal' or
14720 `notifications-closed-signal', if :on-action or :on-close has been
14721 passed as argument.
14722
14723 2012-03-07 Chong Yidong <cyd@gnu.org>
14724
14725 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
14726 non-X platforms.
14727
14728 2012-03-06 Glenn Morris <rgm@gnu.org>
14729
14730 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
14731 (x-disown-selection-internal, x-get-selection-internal):
14732 Doc fix (add arglist signatures). (Bug#10783)
14733
14734 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
14735
14736 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
14737 Handle breakpoints with no "type".
14738
14739 2012-03-06 Glenn Morris <rgm@gnu.org>
14740
14741 * files.el (locate-dominating-file): Add optional predicate argument.
14742 (dir-locals-find-file): Make use of above change.
14743
14744 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
14745
14746 * info.el (Info-insert-dir): Also try "dir.gz".
14747
14748 2012-03-06 Glenn Morris <rgm@gnu.org>
14749
14750 * files.el (dir-locals-find-file):
14751 Ignore non-readable or non-regular files. (Bug#10928)
14752
14753 * files.el (locate-dominating-file): Doc fix.
14754
14755 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
14756
14757 * calendar/calendar.el (calendar-set-mode-line):
14758 `getenv' returns a string. (Bug#10951)
14759
14760 2012-03-05 Leo Liu <sdl.web@gmail.com>
14761
14762 * simple.el (backward-delete-char-untabify): Constrain point to
14763 field (Bug#10939).
14764
14765 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
14766
14767 2012-03-05 Chong Yidong <cyd@gnu.org>
14768
14769 * simple.el (count-words): If called from Lisp, return the word
14770 count, for symmetry with `count-lines'. Arglist changed.
14771 (count-words--message): Args changed. Consolidate counting code
14772 from count-words and count-words-region.
14773 (count-words-region): Caller changed.
14774 (count-lines-region): Make it an obsolete alias.
14775
14776 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
14777
14778 * saveplace.el (save-place-to-alist)
14779 (save-place-ignore-files-regexp): Allow value nil to disable this
14780 feature.
14781
14782 2012-03-04 Chong Yidong <cyd@gnu.org>
14783
14784 * faces.el (face-spec-reset-face): For the default face, reset the
14785 attributes to default values (Bug#10748).
14786
14787 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
14788
14789 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
14790 previous patch: Check `message-send-mail-function', and not the
14791 default function (bug#10897).
14792
14793 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
14794
14795 * notifications.el (notifications-on-action-signal)
14796 (notifications-on-closed-signal): Check for unique service name of
14797 incoming event. Fix error in removing entry.
14798 (top): Register for signals with wildcard service name.
14799 (notifications-notify): Use daemon unique service name for map entries.
14800
14801 2012-03-04 Chong Yidong <cyd@gnu.org>
14802
14803 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
14804
14805 2012-03-04 Glenn Morris <rgm@gnu.org>
14806
14807 * abbrev.el (copy-abbrev-table, abbrev-table-p)
14808 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
14809 (expand-abbrev, define-abbrev-table): Doc fixes.
14810
14811 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14812
14813 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
14814 `message-default-send-mail-function' and not `send-mail-function'
14815 when doing the prompting for `sendmail-query-once' before sending
14816 in Message buffers (bug#10897).
14817
14818 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
14819 This is inconsistent with all the other stream functions, which leave
14820 the setting up to the higher levels (if so wanted) (bug#10931).
14821
14822 2012-03-02 Alan Mackenzie <acm@muc.de>
14823
14824 Depessimize the handling of very large macros.
14825
14826 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
14827 (c-macro-cache-syntactic): New variables to implement a one
14828 element macro cache.
14829 (c-invalidate-macro-cache): New function.
14830 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
14831 Adapt to use the new cache.
14832 (c-state-safe-place): Use better the cache of safe positions.
14833 (c-state-semi-nonlit-pos-cache)
14834 (c-state-semi-nonlit-pos-cache-limit):
14835 New variables for...
14836 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
14837 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
14838 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
14839 Use c-state-semi-safe-place.
14840
14841 * progmodes/cc-langs.el (c-get-state-before-change-functions):
14842 Add c-invalidate-macro-cache to the C, C++, Obj entries.
14843
14844 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
14845
14846 * jka-compr.el (jka-compr-call-process):
14847 Apply `file-accessible-directory-p' only when the default directory is
14848 not remote.
14849
14850 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
14851
14852 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
14853 access of FILE2, if FILE1 does not exist.
14854
14855 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
14856 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
14857
14858 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
14859 Add "PAGER=" to `process-environment'.
14860
14861 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
14862
14863 * progmodes/sql.el: Bug fix
14864 (sql-get-login-ext): Save login values in globals.
14865 (sql-get-login): Use new version of `sql-get-login-ext'.
14866 (sql-interactive-mode): Set global `sql-connection' to nil.
14867 (sql-connect): Set global values for connection.
14868 (sql-product-interactive): Save global values as buffer local.
14869
14870 2012-02-29 Leo Liu <sdl.web@gmail.com>
14871
14872 * abbrev.el (define-abbrevs): Reset sys to nil.
14873
14874 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14875
14876 * files.el (file-equal-p): Rename from `files-equal-p'.
14877 Return nil when one or both files don't exist.
14878 (file-subdir-of-p): Now only top directory must exists,
14879 return nil if it doesn't.
14880 (copy-directory): No need to test with `file-subdir-of-p' after
14881 creating dir.
14882 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
14883 to `file-equal-p'.
14884
14885 2012-02-28 Glenn Morris <rgm@gnu.org>
14886
14887 * shell.el (shell-mode):
14888 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
14889 * play/landmark.el (landmark-font-lock-face-O):
14890 * play/handwrite.el (handwrite):
14891 * play/gomoku.el (gomoku-O):
14892 * net/browse-url.el (browse-url-browser-display):
14893 * international/mule.el (define-charset):
14894 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
14895 * filesets.el (filesets-find-file-delay):
14896 * eshell/em-xtra.el (eshell-xtra):
14897 * eshell/em-unix.el (eshell-grep):
14898 * emulation/viper.el (viper-mode):
14899 * emacs-lisp/regexp-opt.el (regexp-opt-group):
14900 * emacs-lisp/easymenu.el (easy-menu-define):
14901 * calendar/timeclock.el (timeclock-use-display-time):
14902 * bs.el (bs-mode):
14903 * bookmark.el (bookmark-save-flag):
14904 Doc fix (standardize possessive apostrophe usage).
14905
14906 2012-02-27 Chong Yidong <cyd@gnu.org>
14907
14908 * emulation/viper-cmd.el (viper-intercept-ESC-key):
14909 Fix key-binding lookup for ESC key (Bug#9146).
14910
14911 * font-lock.el (font-lock-specified-p): Rename from
14912 font-lock-spec-present. Callers changed.
14913
14914 2012-02-27 Daniel Hackney <dan@haxney.org>
14915
14916 * emacs-lisp/package.el (package-compute-transaction):
14917 Handle holding a package version to t in package-load-list.
14918
14919 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
14920
14921 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
14922 (tramp-get-inode, tramp-get-device): Use cached values.
14923
14924 2012-02-26 Alan Mackenzie <acm@muc.de>
14925
14926 Check there is a font-lock specification before doing initial
14927 fontification.
14928
14929 * font-core.el (font-lock-mode): Move the conditional from
14930 :after-hook to font-lock-initial-fontify.
14931 (font-lock-default-function): Move the check for a specification
14932 to font-lock-spec-present.
14933
14934 * font-lock.el (font-lock-initial-fontify): Call ...
14935 (font-lock-spec-present): New function.
14936
14937 2012-02-26 Jim Blandy <jimb@red-bean.com>
14938
14939 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
14940 (gdb-send): Apply it to the operand of the '-interpreter-exec
14941 console' command, so that we can pass arguments with (say) quotes
14942 in them. Store exact string sent in gdb-debug-log (Bug#10765).
14943
14944 2012-02-26 Chong Yidong <cyd@gnu.org>
14945
14946 * help-fns.el (describe-function-1): Clarify description of
14947 remapping (Bug#10844).
14948
14949 * files.el (files-equal-p): Doc fix.
14950 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
14951 and quit the loop once a mismatch is found.
14952
14953 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
14954
14955 * bs.el (bs--show-with-configuration): Don't throw an error
14956 if the window cannot be split; otherwise, subsequent calls to
14957 bs-show fail, restoring a stale window config. (Bug#10882)
14958
14959 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
14960
14961 * term/ns-win.el (global-map): Bind ns-drag-file to
14962 ns-find-file (Bug#5855, Bug#10050).
14963
14964 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
14965
14966 * calendar/parse-time.el (parse-time-string): Allow extractor to
14967 return nil.
14968
14969 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
14970
14971 * net/tramp.el (tramp-file-name-for-operation):
14972 Add `files-equal-p' and `file-subdir-of-p'.
14973
14974 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
14975 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
14976 Add COPY-CONTENTS argument.
14977
14978 2012-02-25 Chong Yidong <cyd@gnu.org>
14979
14980 Add custom groups for VC backends, for consistency with vc-bzr.
14981
14982 * vc/vc-arch.el (vc-arch):
14983 * vc/vc-cvs.el (vc-cvs):
14984 * vc/vc-git.el (vc-git):
14985 * vc/vc-hg.el (vc-hg):
14986 * vc/vc-mtn.el (vc-mtn):
14987 * vc/vc-rcs.el (vc-rcs):
14988 * vc/vc-sccs.el (vc-sccs):
14989 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
14990 All relevant defcustoms reassigned.
14991
14992 2012-02-25 Chong Yidong <cyd@gnu.org>
14993
14994 * newcomment.el (comment-styles): Add autoload (Bug#10868).
14995
14996 * term/x-win.el (x-initialize-window-system): Reduce default for
14997 x-selection-timeout to 5 seconds (Bug#8869).
14998
14999 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
15000
15001 * files.el (files-equal-p, file-subdir-of-p): New functions.
15002 (copy-directory): Error when trying to copy a directory on itself.
15003 Add missing copy-contents arg to tramp handler.
15004 * dired-aux.el (dired-copy-file-recursive): Same.
15005 (dired-create-files): Modify destination when source is equal to
15006 dest when copying files.
15007 Return also when dest is a subdir of source. (Bug#10489)
15008
15009 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
15010
15011 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
15012 (Bug#10874)
15013
15014 2012-02-23 Alan Mackenzie <acm@muc.de>
15015
15016 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
15017 parameter "after-hook:" to allow the expansion to run code after
15018 the execution of the mode hooks.
15019
15020 * font-lock.el (font-lock-initial-fontify): New function extracted
15021 from font-lock-mode-internal.
15022
15023 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
15024 :after-hook.
15025
15026 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
15027
15028 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
15029 (completion--cache-all-sorted-completions): New function.
15030 (completion-all-sorted-completions): Use it.
15031 (completion--do-completion, minibuffer-force-complete):
15032 Use it to re-instate the flush hook.
15033
15034 * icomplete.el (icomplete-completions): Replace last fix with a better
15035 one (bug#10850).
15036
15037 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
15038
15039 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
15040 when it might call us back infinitely (bug#10797).
15041
15042 2012-02-23 Glenn Morris <rgm@gnu.org>
15043
15044 * minibuffer.el (completion-category-overrides): Doc fix.
15045
15046 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
15047
15048 * minibuffer.el (completion-table-with-context): Fix inf-loop.
15049 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
15050
15051 2012-02-23 Glenn Morris <rgm@gnu.org>
15052
15053 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
15054 (authors-obsolete-files-regexps, authors-ignored-files)
15055 (authors-ambiguous-files, authors-renamed-files-alist):
15056 Add more entries.
15057
15058 2012-02-23 Juri Linkov <juri@jurta.org>
15059
15060 * isearch.el (isearch-occur): Sync interactive spec with occur's
15061 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
15062
15063 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
15064
15065 2012-02-22 Juri Linkov <juri@jurta.org>
15066
15067 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
15068 (ucs-insert): Doc fix. Check for hex digits in the string.
15069 Don't display `nil' in the error message. (Bug#10857)
15070
15071 2012-02-22 Alan Mackenzie <acm@muc.de>
15072
15073 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
15074
15075 2012-02-22 Glenn Morris <rgm@gnu.org>
15076
15077 * ffap.el (ffap-c-path):
15078 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
15079
15080 2012-02-22 Chong Yidong <cyd@gnu.org>
15081
15082 * custom.el (load-theme): Doc fix.
15083
15084 2012-02-22 Glenn Morris <rgm@gnu.org>
15085
15086 * dired-x.el (dired-guess-shell-alist-default):
15087 Remove escape sequences from nroff output. (Bug#172)
15088
15089 2012-02-21 Glenn Morris <rgm@gnu.org>
15090
15091 * vc/emerge.el (emerge-defvar-local):
15092 Set `permanent-local' property rather than unused `preserved'.
15093
15094 * textmodes/picture.el (picture-delete-char): New alias.
15095 (picture-mode-map): Use it. (Bug#10860)
15096 (picture-mode): Doc fix.
15097
15098 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
15099
15100 * newcomment.el (uncomment-region-default): Remove unused binding.
15101
15102 2012-02-21 Glenn Morris <rgm@gnu.org>
15103
15104 * textmodes/picture.el (picture-motion, picture-motion-reverse)
15105 (picture-self-insert, picture-tab-chars): Doc fix.
15106 (picture-mode-map): Fix C-a, C-e.
15107
15108 2012-02-20 Glenn Morris <rgm@gnu.org>
15109
15110 * emacs-lisp/authors.el (authors-aliases): Add another entry.
15111
15112 2012-02-20 Leo Liu <sdl.web@gmail.com>
15113
15114 * icomplete.el (icomplete-completions): Check FROM arg before
15115 passing to substring (Bug#10850).
15116
15117 2012-02-19 Chong Yidong <cyd@gnu.org>
15118
15119 * comint.el: Require ansi-color.
15120 (comint-output-filter-functions): Add ansi-color-process-output.
15121
15122 * ansi-color.el: Don't set comint-output-filter-functions; it is
15123 now in the initial value defined in comint.el.
15124 (ansi-color-apply-face-function): New variable.
15125 (ansi-color-apply-on-region): Use it.
15126 (ansi-color-apply-overlay-face): New function.
15127
15128 * shell.el (shell): No need to require ansi-color.
15129 (shell-mode): Use ansi-color-apply-face-function to highlight
15130 color escapes using font-lock-face property (Bug#10835).
15131
15132 2012-02-19 Chong Yidong <cyd@gnu.org>
15133
15134 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
15135 mode-line formats (Bug#10839).
15136
15137 2012-02-18 Glenn Morris <rgm@gnu.org>
15138
15139 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
15140
15141 * mail/undigest.el (unforward-rmail-message): Doc fix.
15142
15143 * saveplace.el (save-place-ignore-files-regexp): Add :version.
15144
15145 2012-02-18 Eli Zaretskii <eliz@gnu.org>
15146
15147 * international/characters.el (script-list): Sync with the latest
15148 Unicode Character Database.
15149
15150 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
15151
15152 * international/titdic-cnv.el: Remove duplicate coding tag.
15153 * language/cham.el: Likewise.
15154 * language/tai-viet.el: Likewise.
15155
15156 2012-02-18 Glenn Morris <rgm@gnu.org>
15157
15158 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
15159 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
15160 (calendar-bahai-all-holidays-flag, calendar-other-dates):
15161 * calendar/diary-lib.el (diary-abbreviated-year-flag):
15162 * calendar/holidays.el (holiday-bahai-holidays)
15163 (calendar-holidays, list-holidays):
15164 Use utf-8 Bahá'í in doc-strings, menus, etc.
15165
15166 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
15167
15168 * saveplace.el (save-place-ignore-files-regexp): New variable
15169 allowing for excluding files from saving their location of point.
15170 The default value matches the temporary commit message editing
15171 files from Git, SVN, Bazaar, and Mercurial.
15172 (save-place-to-alist): Use it.
15173
15174 2012-02-17 Lawrence Mitchell <wence@gmx.li>
15175 Stefan Monnier <monnier@iro.umontreal.ca>
15176
15177 * newcomment.el (uncomment-region-default): Don't leave extra space
15178 when an arg is provided (bug#8150).
15179
15180 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
15181
15182 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
15183
15184 2012-02-17 Glenn Morris <rgm@gnu.org>
15185
15186 * net/socks.el: Require network-stream. (Bug#10599)
15187
15188 2012-02-17 Kenichi Handa <handa@m17n.org>
15189
15190 * international/charprop.el:
15191 * international/uni-name.el:
15192 * international/uni-old-name.el:
15193 * international/uni-comment.el: Regenerate.
15194
15195 2012-02-16 Glenn Morris <rgm@gnu.org>
15196
15197 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
15198 Interactively in calendar buffer, give an error if not on a date.
15199
15200 2012-02-15 Glenn Morris <rgm@gnu.org>
15201
15202 * shell.el (shell-delimiter-argument-list):
15203 Revert 2011-02-17 change. (Bug#8027)
15204
15205 2012-02-15 Chong Yidong <cyd@gnu.org>
15206
15207 * minibuffer.el (completion-at-point-functions): Doc fix.
15208
15209 * custom.el (defcustom): Doc fix; note use of defvar.
15210
15211 2012-02-15 Glenn Morris <rgm@gnu.org>
15212
15213 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
15214 Doc fixes.
15215
15216 2012-02-14 Glenn Morris <rgm@gnu.org>
15217
15218 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
15219
15220 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
15221
15222 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
15223 way the ports list is computed.
15224 (smtpmail-query-smtp-server): Prompt the user for a port number if
15225 we can't connect to any of the standard ports (bug#10810).
15226
15227 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
15228
15229 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
15230
15231 2012-02-13 Glenn Morris <rgm@gnu.org>
15232
15233 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
15234
15235 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
15236
15237 * net/gnutls.el (gnutls-trustfiles): New variable.
15238 (gnutls-negotiate): Use it.
15239
15240 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
15241
15242 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
15243 does its stuff if Gnus is running.
15244
15245 2012-02-13 Alan Mackenzie <acm@muc.de>
15246
15247 Fix a loop in c-set-fl-decl-start.
15248
15249 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
15250 c-backward-syntactic-ws actually moves backwards.
15251
15252 2012-02-13 Leo Liu <sdl.web@gmail.com>
15253
15254 * net/rcirc.el (rcirc-markup-attributes): Move point to the
15255 beginning so that all \C-o chars are removed.
15256
15257 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
15258
15259 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
15260
15261 2012-02-12 Alan Mackenzie <acm@muc.de>
15262
15263 Fix infinite loop with long macros.
15264 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
15265
15266 2012-02-12 Chong Yidong <cyd@gnu.org>
15267
15268 * window.el (display-buffer): Doc fix (Bug#10785).
15269
15270 2012-02-12 Glenn Morris <rgm@gnu.org>
15271
15272 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
15273 (x-disown-selection-internal, x-get-selection-internal):
15274 Sync docs with the xselect.c versions.
15275
15276 * allout-widgets.el: Add missing license notice.
15277
15278 2012-02-11 Glenn Morris <rgm@gnu.org>
15279
15280 * select.el (x-get-selection-internal, x-own-selection-internal)
15281 (x-disown-selection-internal):
15282 * x-dnd.el (x-get-selection-internal): Update declarations.
15283
15284 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
15285
15286 * window.el (window-sides-slots):
15287 * tool-bar.el (tool-bar-position):
15288 * term/xterm.el (xterm-extra-capabilities):
15289 * ses.el (ses-self-reference-early-detection):
15290 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
15291 (verilog-auto-wire-type)
15292 (verilog-auto-delete-trailing-whitespace)
15293 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
15294 (verilog-auto-tieoff-declaration):
15295 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
15296 (sql-oracle-statement-starters, sql-oracle-scan-on):
15297 * progmodes/prolog.el (prolog-align-comments-flag)
15298 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
15299 (prolog-left-indent-regexp, prolog-paren-indent-p)
15300 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
15301 (prolog-types, prolog-mode-specificators)
15302 (prolog-determinism-specificators, prolog-directives)
15303 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
15304 (prolog-electric-dot-flag)
15305 (prolog-electric-dot-full-predicate-template)
15306 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
15307 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
15308 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
15309 (prolog-program-switches, prolog-prompt-regexp)
15310 (prolog-debug-on-string, prolog-debug-off-string)
15311 (prolog-trace-on-string, prolog-trace-off-string)
15312 (prolog-zip-on-string, prolog-zip-off-string)
15313 (prolog-use-standard-consult-compile-method-flag)
15314 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
15315 (prolog-imenu-max-lines, prolog-info-predicate-index)
15316 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
15317 (prolog-char-quote-workaround):
15318 * progmodes/cc-vars.el (c-defun-tactic):
15319 * net/tramp.el (tramp-encoding-command-interactive)
15320 (tramp-local-end-of-line):
15321 * net/soap-client.el (soap-client):
15322 * net/netrc.el (netrc-file):
15323 * net/gnutls.el (gnutls):
15324 * minibuffer.el (completion-category-overrides)
15325 (completion-cycle-threshold)
15326 (completion-pcm-complete-word-inserts-delimiters):
15327 * man.el (Man-name-local-regexp):
15328 * mail/feedmail.el (feedmail-display-full-frame):
15329 * international/characters.el (glyphless-char-display-control):
15330 * eshell/em-ls.el (eshell-ls-date-format):
15331 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
15332 (lisp-lambda-list-keyword-parameter-indentation)
15333 (lisp-lambda-list-keyword-parameter-alignment):
15334 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
15335 * dired-x.el (dired-omit-verbose):
15336 * cus-theme.el (custom-theme-allow-multiple-selections):
15337 * calc/calc.el (calc-highlight-selections-with-faces)
15338 (calc-lu-field-reference, calc-lu-power-reference)
15339 (calc-note-threshold):
15340 * battery.el (battery-mode-line-limit):
15341 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
15342 (archive-7z-update):
15343 * allout.el (allout-prefixed-keybindings)
15344 (allout-unprefixed-keybindings)
15345 (allout-inhibit-auto-fill-on-headline)
15346 (allout-flattened-numbering-abbreviation):
15347 * allout-widgets.el (allout-widgets-auto-activation)
15348 (allout-widgets-icons-dark-subdir)
15349 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
15350 (allout-widgets-theme-dark-background)
15351 (allout-widgets-theme-light-background)
15352 (allout-widgets-item-image-properties-emacs)
15353 (allout-widgets-item-image-properties-xemacs)
15354 (allout-widgets-run-unit-tests-on-load)
15355 (allout-widgets-time-decoration-activity)
15356 (allout-widgets-hook-error-post-time)
15357 (allout-widgets-track-decoration):
15358 Add missing :version tags to new defcustoms and defgroups.
15359
15360 * progmodes/sql.el (sql-ansi-statement-starters)
15361 (sql-oracle-statement-starters): Add custom type.
15362
15363 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
15364 (prolog-system-version): Give it a type.
15365
15366 2012-02-11 Eli Zaretskii <eliz@gnu.org>
15367
15368 * term/pc-win.el (x-select-text, x-selection-owner-p)
15369 (x-own-selection-internal, x-disown-selection-internal)
15370 (x-get-selection-internal): Sync doc strings and argument lists
15371 with xselect.c, common-win.el and x-win.el. (Bug#10783)
15372
15373 2012-02-11 Leo Liu <sdl.web@gmail.com>
15374
15375 * progmodes/python.el (python-end-of-statement): Fix infinite
15376 loop. (Bug#10788)
15377
15378 2012-02-10 Glenn Morris <rgm@gnu.org>
15379
15380 * international/mule-cmds.el (unify-8859-on-encoding-mode)
15381 (unify-8859-on-decoding-mode): Properly mark as obsolete.
15382
15383 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
15384
15385 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
15386 about SMTP before checking the From header.
15387
15388 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
15389 into own function for reuse by emacsbug.el.
15390
15391 2012-02-10 Leo Liu <sdl.web@gmail.com>
15392
15393 * subr.el (condition-case-unless-debug): Rename from
15394 condition-case-no-debug. All callers changed.
15395 (with-demoted-errors): Fix caller.
15396
15397 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
15398 * nxml/rng-valid.el (rng-do-some-validation):
15399 * emacs-lisp/package.el (package-refresh-contents)
15400 (package-menu-execute):
15401 * desktop.el (desktop-create-buffer):
15402 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
15403
15404 2012-02-10 Glenn Morris <rgm@gnu.org>
15405
15406 * textmodes/bibtex.el:
15407 Add missing :version tags for new/changed defcustoms.
15408
15409 * files.el (remote-file-name-inhibit-cache): Doc fixes.
15410
15411 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
15412
15413 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
15414 (smtpmail-via-smtp): Use it, or fall back on the From address.
15415 (smtpmail-send-it): Ditto.
15416
15417 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
15418
15419 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
15420 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
15421 (byte-compile-tmp-var): New const.
15422 (byte-compile-defvar): Use it to minimize .elc size.
15423 Just use `defvar' rather than simulate it (bug#10761).
15424
15425 2012-02-09 Glenn Morris <rgm@gnu.org>
15426
15427 * files.el (rename-uniquely): Doc fix. (Bug#3806)
15428
15429 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
15430 Add :version tags.
15431
15432 * progmodes/compile.el (compilation-error-screen-columns)
15433 (compilation-first-column, compilation-filter-start): Doc fixes.
15434
15435 * vc/log-view.el (log-view-toggle-entry-display):
15436 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
15437
15438 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
15439 (report-emacs-bug-can-use-xdg-email):
15440 (report-emacs-bug-insert-to-mailer): Doc fixes.
15441 (report-emacs-bug): Message fix.
15442
15443 * net/browse-url.el (browse-url-can-use-xdg-open)
15444 (browse-url-xdg-open): Doc fixes.
15445
15446 * electric.el (electric-indent-mode, electric-pair-mode)
15447 (electric-layout-rules, electric-layout-mode): Doc fixes.
15448 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
15449
15450 2012-02-08 Martin Rudalics <rudalics@gmx.at>
15451
15452 * server.el (server-unselect-display): Don't inadvertently kill
15453 the current buffer. (Bug#10729)
15454
15455 2012-02-08 Glenn Morris <rgm@gnu.org>
15456
15457 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
15458 (sql-list-table): Doc fixes.
15459
15460 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
15461 Comment out (does nothing).
15462
15463 * completion.el (dynamic-completion-mode):
15464 * dirtrack.el (dirtrack-debug-mode):
15465 * electric.el (electric-layout-mode):
15466 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
15467 * face-remap.el (text-scale-mode, buffer-face-mode):
15468 * iimage.el (iimage-mode):
15469 * image-mode.el (image-transform-mode):
15470 * minibuffer.el (completion-in-region-mode):
15471 * scroll-lock.el (scroll-lock-mode):
15472 * simple.el (next-error-follow-minor-mode):
15473 * tar-mode.el (tar-subfile-mode):
15474 * tooltip.el (tooltip-mode):
15475 * vcursor.el (vcursor-use-vcursor-map):
15476 * wid-browse.el (widget-minor-mode):
15477 * emulation/tpu-edt.el (tpu-edt-mode):
15478 * emulation/tpu-extras.el (tpu-cursor-free-mode):
15479 * international/iso-ascii.el (iso-ascii-mode):
15480 * language/thai-util.el (thai-word-mode):
15481 * mail/supercite.el (sc-minor-mode):
15482 * net/goto-addr.el (goto-address-mode):
15483 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
15484 * progmodes/cwarn.el (cwarn-mode):
15485 * progmodes/flymake.el (flymake-mode):
15486 * progmodes/glasses.el (glasses-mode):
15487 * progmodes/hideshow.el (hs-minor-mode):
15488 * progmodes/pascal.el (pascal-outline-mode):
15489 * textmodes/enriched.el (enriched-mode):
15490 * vc/smerge-mode.el (smerge-mode):
15491 Doc fixes (minor mode argument).
15492
15493 2012-02-07 Eli Zaretskii <eliz@gnu.org>
15494
15495 * ls-lisp.el (ls-lisp-sanitize): New function.
15496 (ls-lisp-insert-directory): Use it to fix or remove any elements
15497 in file-alist with missing attributes. (Bug#4673)
15498
15499 2012-02-07 Alan Mackenzie <acm@muc.de>
15500
15501 Fix spurious recognition of c-in-knr-argdecl.
15502
15503 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
15504 putative K&R region.
15505
15506 2012-02-07 Alan Mackenzie <acm@muc.de>
15507
15508 * progmodes/cc-engine.el (c-forward-objc-directive):
15509 Prevent looping in "#pragma mark @implementation".
15510
15511 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
15512
15513 * notifications.el (notifications-on-closed-signal): Make `reason'
15514 optional. (Bug#10744)
15515
15516 2012-02-07 Glenn Morris <rgm@gnu.org>
15517
15518 * emacs-lisp/easy-mmode.el (define-minor-mode):
15519 Doc fixes for the macro and the mode it defines.
15520
15521 * image.el (imagemagick-types-inhibit): Doc fix.
15522
15523 * cus-start.el (imagemagick-render-type): Add it.
15524
15525 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
15526
15527 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
15528 Set the default at load time, too, so that `font-lock-fontify-buffer'
15529 can be called without setting up the entire mode first. This fixes
15530 a bug in `mm-inline-text' with C MIME parts.
15531
15532 2012-02-06 Chong Yidong <cyd@gnu.org>
15533
15534 * simple.el (list-processes--refresh): Delete exited processes
15535 (Bug#8094).
15536
15537 * comint.el (comint-next-prompt): next-single-char-property-change
15538 and prev-single-char-property-change never return nil (Bug#8657).
15539
15540 * custom.el (defcustom): Doc fix (Bug#9711).
15541
15542 2012-02-05 Chong Yidong <cyd@gnu.org>
15543
15544 * cus-edit.el (custom-variable-reset-backup): Quote the value
15545 before storing it in the customized-value property (Bug#6712).
15546 (custom-display): Add a customization type tag.
15547 (custom-buffer-create-internal): Improve tooltip message.
15548
15549 * wid-edit.el (widget-field-value-get): New optional arg to
15550 suppress trailing whitespace truncation.
15551 (character): Use it (Bug#2689).
15552
15553 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
15554
15555 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
15556 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
15557
15558 2012-02-05 Chong Yidong <cyd@gnu.org>
15559
15560 * cus-edit.el (custom-variable-value-create): For mismatched
15561 types, show the current value (Bug#7600).
15562
15563 * custom.el (defcustom): Doc fix.
15564
15565 2012-02-05 Glenn Morris <rgm@gnu.org>
15566
15567 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
15568
15569 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
15570
15571 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
15572 (pp-buffer): Use `ignore-errors', `looking-at-p'.
15573 (pp-last-sexp): Use `looking-at-p'.
15574
15575 2012-02-04 Glenn Morris <rgm@gnu.org>
15576
15577 * files.el (revert-buffer):
15578 Doc fix (mention revert-buffer-in-progress-p).
15579
15580 * emacs-lisp/ert-x.el (ert-simulate-command):
15581 Check deferred-action-list (which is obsolete) is bound.
15582
15583 * subr.el (with-wrapper-hook): Doc fixes.
15584
15585 * simple.el (filter-buffer-substring-functions)
15586 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
15587
15588 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
15589
15590 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
15591 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
15592
15593 2012-02-04 Leo Liu <sdl.web@gmail.com>
15594
15595 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
15596
15597 2012-02-04 Glenn Morris <rgm@gnu.org>
15598
15599 * image.el (image-extension-data): Add obsolete alias.
15600
15601 * isearch.el (isearch-update): Doc fix.
15602
15603 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
15604
15605 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
15606
15607 2012-02-03 Glenn Morris <rgm@gnu.org>
15608
15609 * image.el (image-animated-p): Doc fix. Use image-animated-types.
15610 (image-animate-timeout): Doc fix.
15611
15612 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
15613
15614 2012-02-02 Glenn Morris <rgm@gnu.org>
15615
15616 * server.el (server-auth-dir): Doc fix.
15617 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
15618
15619 * subr.el (run-mode-hooks): Doc fix.
15620
15621 2012-02-02 Juri Linkov <juri@jurta.org>
15622
15623 * image-mode.el (image-toggle-display-image): Remove tautological
15624 `major-mode' from the `derived-mode-p' test.
15625
15626 2012-02-02 Kenichi Handa <handa@m17n.org>
15627
15628 * composite.el (compose-region): Cancel previous change.
15629
15630 2012-02-02 Kenichi Handa <handa@m17n.org>
15631
15632 * composite.el (compose-region, compose-string): Signal error for
15633 a null string component (Bug#6988).
15634
15635 2012-02-01 Chong Yidong <cyd@gnu.org>
15636
15637 * view.el (view-buffer-other-window, view-buffer-other-frame):
15638 Handle special modes like view-buffer (Bug#10650).
15639 (view-buffer): Simplify.
15640
15641 * frame.el (set-frame-font): Tweak meaning of third argument.
15642
15643 * dynamic-setting.el (font-setting-change-default-font):
15644 Use set-frame-font (Bug#9982).
15645
15646 2012-02-01 Glenn Morris <rgm@gnu.org>
15647
15648 * progmodes/compile.el (compilation-internal-error-properties):
15649 Respect compilation-first-column in the "*compilation*" buffer.
15650
15651 * emacs-lisp/easy-mmode.el (define-minor-mode):
15652 Relax :variable's test for a named function.
15653
15654 2012-01-31 Alan Mackenzie <acm@muc.de>
15655
15656 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
15657 off by one error.
15658
15659 2012-01-31 Chong Yidong <cyd@gnu.org>
15660
15661 * frame.el (set-frame-font): New arg ALL-FRAMES.
15662
15663 * menu-bar.el (menu-set-font): Use set-frame-font.
15664
15665 * faces.el (face-spec-reset-face): Don't apply unspecified
15666 attribute values to the default face.
15667
15668 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
15669
15670 * progmodes/cwarn.el (cwarn): Remove dead link.
15671 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
15672 Remove * from defcustom docstrings.
15673 (turn-on-cwarn-mode): Make obsolete.
15674 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
15675 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
15676
15677 2012-01-31 Glenn Morris <rgm@gnu.org>
15678
15679 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
15680 Fix :variable handling of mode a symbol not equal to modefun.
15681 Allow named functions to be used as the cdr of :variable.
15682
15683 2012-01-30 Glenn Morris <rgm@gnu.org>
15684
15685 * emacs-lisp/authors.el (authors-fixed-entries):
15686 Remove reference to deleted file rnewspost.el.
15687
15688 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
15689
15690 * window.el (window-with-parameter): Remove unused variable `windows'.
15691 (window--side-check): Remove unused variable `code'.
15692 (window--resize-siblings): Remove unused variable `first'.
15693 (adjust-window-trailing-edge): Remove unused variable `failed'.
15694 (window-deletable-p, window--delete): Remove unused variable `buffer'.
15695 Use `let', not `let*'.
15696 (balance-windows-2): Remove unused variable `found'.
15697 (window--state-put-2): Remove unused variable `splits'.
15698 (window-state-put): Remove unused variable `selected'.
15699 (same-window-p): Use `string-match-p'.
15700 (display-buffer-assq-regexp): Remove unused variable `value'.
15701 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
15702 Mark argument ALIST as ignored.
15703 (pop-to-buffer): Remove unused variable `old-window'.
15704
15705 2012-01-29 Eli Zaretskii <eliz@gnu.org>
15706
15707 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
15708 and .lzma compressed files.
15709
15710 2012-01-29 Chong Yidong <cyd@gnu.org>
15711
15712 * frame.el (window-system-default-frame-alist): Doc fix.
15713
15714 * dynamic-setting.el (font-setting-change-default-font): Don't
15715 change the default face if SET-FONT argument is non-nil (Bug#9982).
15716
15717 2012-01-29 Samuel Bronson <naesten@gmail.com>
15718
15719 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
15720
15721 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
15722
15723 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
15724 breakpoints in files outside current directory (Bug#6098).
15725
15726 2012-01-29 Chong Yidong <cyd@gnu.org>
15727
15728 * progmodes/python.el: Require ansi-color at top-level.
15729
15730 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
15731 Define and use in Emacs Lisp mode (Bug#9360).
15732 (lisp-mode-abbrev-table): Add doc.
15733 (lisp-mode-variables): Don't set local-abbrev-table.
15734 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
15735
15736 2012-01-28 Roland Winkler <winkler@gnu.org>
15737
15738 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
15739
15740 2012-01-28 Roland Winkler <winkler@gnu.org>
15741
15742 * textmodes/bibtex.el (bibtex-entry-alist): New function.
15743 (bibtex-set-dialect): Use it. Either set global values of
15744 dialect-dependent variables or bind these variables buffer-locally
15745 (Bug#10254).
15746 (bibtex-mode): Call bibtex-set-dialect via
15747 hack-local-variables-hook.
15748 (bibtex-dialect): Update docstring.
15749 Add safe-local-variable predicate.
15750 (bibtex-entry-alist, bibtex-field-alist): Initialize via
15751 bibtex-set-dialect.
15752 (bibtex-mode-map): Define menu for each dialect.
15753 (bibtex-entry): Fix docstring.
15754
15755 2012-01-28 Chong Yidong <cyd@gnu.org>
15756
15757 * eshell/esh-arg.el (eshell-quote-argument): New function.
15758
15759 * eshell/esh-ext.el (eshell-invoke-batch-file):
15760 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
15761 first arg to eshell-parse-command (Bug#10523).
15762
15763 2012-01-28 Drew Adams <drew.adams@oracle.com>
15764
15765 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
15766 `default-directory' is non-nil.
15767
15768 2012-01-28 Eli Zaretskii <eliz@gnu.org>
15769
15770 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
15771 line that displays system-configuration-options. (Bug#9924)
15772
15773 2012-01-28 Drew Adams <drew.adams@oracle.com>
15774
15775 * descr-text.el (describe-char): Show information about POS, in
15776 addition to information about the character at POS. Improve and
15777 update the doc string. Change "code point" to "code point in
15778 charset", to avoid confusion with the character's Unicode code
15779 point shown above that. (Bug#10129)
15780
15781 2012-01-28 Eli Zaretskii <eliz@gnu.org>
15782
15783 * descr-text.el (describe-char): Show the raw character, not only
15784 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
15785 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
15786 for the reasons.
15787
15788 2012-01-28 Phil Hagelberg <phil@hagelb.org>
15789
15790 * emacs-lisp/package.el (package-install):
15791 Run package-refresh-contents if there is no archive yet (Bug#9798).
15792
15793 2012-01-28 Chong Yidong <cyd@gnu.org>
15794
15795 * emacs-lisp/package.el (package-maybe-load-descriptor):
15796 New function, split from package-maybe-load-descriptor.
15797 (package-maybe-load-descriptor): Use it.
15798 (package-download-transaction): Fully load required packages
15799 inside the loop, so that `require' calls work (Bug#10593).
15800 (package-install): No need to call package-initialize now.
15801
15802 2012-01-28 Chong Yidong <cyd@gnu.org>
15803
15804 * simple.el (deactivate-mark): Doc fix (Bug#8614).
15805
15806 * tooltip.el (tooltip-mode): Doc fix.
15807 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
15808
15809 * frame.el (set-cursor-color): Doc fix (Bug#352).
15810
15811 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
15812 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
15813
15814 * cus-edit.el (custom-buffer-create-internal): Fix search button
15815 action (Bug#10542).
15816 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
15817
15818 2012-01-27 Eduard Wiebe <usenet@pusto.de>
15819
15820 * dired.el (dired-mark-files-regexp):
15821 Include any subdirectory components. (Bug#10445)
15822
15823 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
15824
15825 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
15826 Handle [host]:port syntax. (Bug#10533)
15827
15828 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
15829
15830 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
15831
15832 2012-01-26 Glenn Morris <rgm@gnu.org>
15833
15834 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
15835 * term.el (term-raw-escape-map): Use Control-X-prefix.
15836 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
15837
15838 2012-01-25 Martin Rudalics <rudalics@gmx.at>
15839
15840 * window.el (window-state-get, window--state-get-1): Don't deal
15841 with fixed-sizeness of windows. Simplify code.
15842
15843 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
15844
15845 * window.el (window--state-get-1, window--state-put-2):
15846 Don't save and restore the mark.
15847
15848 2012-01-25 Chong Yidong <cyd@gnu.org>
15849
15850 * custom.el (custom-variable-p): Doc fix.
15851
15852 2012-01-25 Glenn Morris <rgm@gnu.org>
15853
15854 * dired.el (dired-goto-file): Handle some of the more common
15855 characters that `ls -b' escapes. (Bug#10596)
15856
15857 * progmodes/compile.el (compilation-next-error-function):
15858 Respect compilation-first-column in the "*compilation*" buffer.
15859 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
15860
15861 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
15862
15863 2012-01-24 Glenn Morris <rgm@gnu.org>
15864
15865 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
15866
15867 2012-01-24 Julien Danjou <julien@danjou.info>
15868
15869 * color.el (color-rgb-to-hsl): Fix value computing.
15870 (color-hue-to-rgb): New function.
15871 (color-hsl-to-rgb): New function.
15872 (color-clamp, color-saturate-hsl, color-saturate-name)
15873 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
15874 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
15875
15876 2012-01-24 Glenn Morris <rgm@gnu.org>
15877
15878 * vc/vc-rcs.el (vc-rcs-create-tag):
15879 * vc/vc-sccs.el (vc-sccs-create-tag):
15880 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
15881
15882 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
15883
15884 * eshell/esh-util.el (eshell-read-hosts-file):
15885 Skip comment lines. (Bug#10549)
15886
15887 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
15888
15889 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
15890
15891 * subr.el (display-delayed-warnings): Doc fix.
15892 (collapse-delayed-warnings): New function to collapse identical
15893 adjacent warnings.
15894 (delayed-warnings-hook): Add it.
15895
15896 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
15897
15898 * net/tramp.el (tramp-action-login): Set connection property "login-as".
15899
15900 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
15901 (tramp-default-user-alist): Don't add "pscp".
15902 (tramp-do-copy-or-rename-file-out-of-band): Use connection
15903 property "login-as", if set. (Bug#10530)
15904
15905 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
15906
15907 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
15908 "plink1" and "psftp". (Bug#10530)
15909
15910 2012-01-21 Kenichi Handa <handa@m17n.org>
15911
15912 * international/mule-cmds.el (prefer-coding-system): Show a
15913 warning message if the default value of file-name-coding-system
15914 was not changed.
15915
15916 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
15917
15918 * windmove.el (windmove-reference-loc):
15919 Fix windmove-reference-loc miscalculation.
15920
15921 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
15922
15923 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
15924 default unit.
15925
15926 2012-01-21 Glenn Morris <rgm@gnu.org>
15927
15928 * international/mule.el (auto-coding-alist): Add .tbz.
15929
15930 * files.el (local-enable-local-variables): Doc fix.
15931 (inhibit-local-variables-regexps): Rename from
15932 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
15933 Doc fix. Add some extensions from auto-coding-alist.
15934 (inhibit-local-variables-suffixes):
15935 Rename from inhibit-first-line-modes-suffixes. Doc fix.
15936 (inhibit-local-variables-p):
15937 New function, extracted from set-auto-mode-1.
15938 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
15939 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
15940 (hack-local-variables): Doc fix. Make the mode-only case
15941 respect enable-local-variables and friends.
15942 Respect inhibit-local-variables-regexps for file-locals, but
15943 not for directory-locals.
15944 (set-visited-file-name):
15945 Take account of inhibit-local-variables-regexps.
15946 Whether it applies may change as the file name is changed.
15947 * jka-cmpr-hook.el (jka-compr-install):
15948 * jka-compr.el (jka-compr-uninstall):
15949 Update for inhibit-first-line-modes-suffixes name change.
15950
15951 2012-01-20 Martin Rudalics <rudalics@gmx.at>
15952
15953 * help-macro.el (make-help-screen): Temporarily restore original
15954 binding for minor-mode-map-alist (Bug#10454).
15955
15956 2012-01-19 Julien Danjou <julien@danjou.info>
15957
15958 * color.el (color-name-to-rgb): Use the white color to find the max
15959 color component value and return correctly computed values.
15960 (color-name-to-rgb): Add missing float conversion for max value.
15961
15962 2012-01-19 Martin Rudalics <rudalics@gmx.at>
15963
15964 * window.el (window--state-get-1, window-state-get): Do not use
15965 special state value for window-persistent-parameters.
15966 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
15967 (window--state-put-2): Reset all window parameters to nil before
15968 assigning values of persistent parameters.
15969
15970 2012-01-18 Alan Mackenzie <acm@muc.de>
15971
15972 Eliminate sluggishness and hangs in fontification of "semicolon
15973 deserts".
15974
15975 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
15976 Change value 10000 -> 3000.
15977 (c-state-safe-place): Reformulate so it doesn't stack up an
15978 infinite number of wrong entries in c-state-nonlit-pos-cache.
15979 (c-determine-limit-get-base, c-determine-limit): New functions to
15980 determine backward search limits disregarding literals.
15981 (c-find-decl-spots): Amend commenting.
15982 (c-cheap-inside-bracelist-p): New function which detects "={".
15983
15984 * progmodes/cc-fonts.el
15985 (c-make-font-lock-BO-decl-search-function): Give a limit to a
15986 backward search.
15987 (c-font-lock-declarations): Fix an occurrence of point being
15988 undefined. Check additionally for point being in a bracelist or
15989 near a macro invocation without a semicolon so as to avoid a
15990 fruitless time consuming search for a declarator. Give a more
15991 precise search limit for declarators using the new
15992 c-determine-limit.
15993
15994 2012-01-18 Glenn Morris <rgm@gnu.org>
15995
15996 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
15997 (set-auto-mode): Doc fixes.
15998
15999 2012-01-17 Glenn Morris <rgm@gnu.org>
16000
16001 * isearch.el (search-nonincremental-instead): Fix doc typo.
16002
16003 * dired.el (dired-insert-directory): Handle newlines in directory name.
16004 (dired-build-subdir-alist): Unescape newlines in directory name.
16005
16006 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
16007
16008 * net/tramp.el (tramp-local-end-of-line): New defcustom.
16009 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
16010 (tramp-action-terminal): Use it. (Bug#10530)
16011
16012 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
16013
16014 * minibuffer.el (completion--replace): Strip properties (bug#10062).
16015
16016 2012-01-16 Martin Rudalics <rudalics@gmx.at>
16017
16018 * window.el (window-state-ignored-parameters): Remove variable.
16019 (window--state-get-1): Rename argument MARKERS to IGNORE.
16020 Handle persistent window parameters. Make copy of clone-of
16021 parameter only if requested. (Bug#10348)
16022 (window--state-put-2): Install a window parameter only if it has
16023 a non-nil value or an existing parameter shall be overwritten.
16024
16025 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
16026
16027 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
16028
16029 2012-01-14 Eli Zaretskii <eliz@gnu.org>
16030
16031 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
16032 don't pass the (nil) value of `upnode' to string-match.
16033
16034 2012-01-14 Chong Yidong <cyd@gnu.org>
16035
16036 * startup.el (command-line): Fix X resource class for cursorColor.
16037 Fix values recognized by the cursorBlink resource.
16038
16039 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
16040
16041 * epg.el (epg--make-temp-file): Avoid permission race condition
16042 when running on old Emacs versions (bug#10403).
16043
16044 2012-01-14 Glenn Morris <rgm@gnu.org>
16045
16046 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
16047
16048 2012-01-13 Alan Mackenzie <acm@muc.de>
16049
16050 Fix filling for when filladapt mode is enabled.
16051
16052 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
16053 c-mask-paragraph, pass in `fill-paragraph' rather than
16054 `fill-region-as-paragraph'. (This is a reversion of a previous
16055 change.)
16056 * progmodes/cc-mode.el (c-basic-common-init):
16057 Make fill-paragraph-handle-comment buffer local and set it to nil.
16058
16059 2012-01-13 Glenn Morris <rgm@gnu.org>
16060
16061 * dired.el (dired-switches-escape-p): New function.
16062 (dired-insert-directory): Use dired-switches-escape-p.
16063 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
16064
16065 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
16066
16067 2012-01-12 Glenn Morris <rgm@gnu.org>
16068
16069 * mail/sendmail.el (mail-mode): Update paragraph-separate for
16070 changes in adaptive-fill-regexp. (Bug#10276)
16071
16072 2012-01-11 Alan Mackenzie <acm@muc.de>
16073
16074 Fix Emacs bug #10463 - put `widen's around the critical spots.
16075
16076 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
16077 widen around each invocation of c-state-pp-to-literal. Remove an
16078 unused let variable.
16079
16080 2012-01-11 Glenn Morris <rgm@gnu.org>
16081
16082 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
16083 Doc fix.
16084
16085 2012-01-10 Chong Yidong <cyd@gnu.org>
16086
16087 * net/network-stream.el (network-stream-open-starttls):
16088 Avoid emitting a confusing error message when the server gives a bad
16089 response to the capability command.
16090
16091 2012-01-10 Glenn Morris <rgm@gnu.org>
16092
16093 * mail/unrmail.el (unrmail): Tweak previous change.
16094
16095 2012-01-09 Chong Yidong <cyd@gnu.org>
16096
16097 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
16098
16099 2012-01-08 Alan Mackenzie <acm@muc.de>
16100
16101 Optimize font locking in long enum definitions.
16102
16103 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
16104 arm to a cond form to handle enums.
16105 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
16106 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
16107
16108 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
16109
16110 * files.el (move-file-to-trash): Preserve default file modes on error.
16111 (Bug#10401)
16112
16113 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
16114
16115 * faces.el (set-face-attribute): Clarify the meaning of the nil
16116 frame (bug#10294).
16117
16118 * subr.el (with-selected-frame): Mention that the selected frame
16119 is restored (bug#9980).
16120
16121 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
16122 (bug#9759).
16123
16124 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
16125 (password-read): Don't autoload unused function.
16126
16127 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
16128
16129 * progmodes/which-func.el (which-func-mode): Turn into a
16130 non-interactive function and mark as obsolete (bug#10428).
16131
16132 2012-01-06 Chong Yidong <cyd@gnu.org>
16133
16134 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
16135 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
16136 functions, along with 1 and -1.
16137
16138 2012-01-06 Eli Zaretskii <eliz@gnu.org>
16139
16140 * time.el (display-time-load-average)
16141 (display-time-default-load-average): Doc fixes. See the thread
16142 starting at
16143 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
16144 for the details.
16145
16146 2012-01-06 Glenn Morris <rgm@gnu.org>
16147
16148 * mail/unrmail.el (unrmail): Give an explicit error if the input file
16149 has no messages. (Bug#10377)
16150
16151 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
16152 than Info-edit. (Bug#10385)
16153
16154 * time.el (display-time-load-average, display-time-next-load-average):
16155 Doc fixes.
16156
16157 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
16158 local setting of buffer-read-only to the input buffer. (Bug#10419)
16159
16160 * calendar/calendar.el (calendar-mode):
16161 Locally set scroll-margin to 0. (Bug#10379)
16162
16163 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
16164
16165 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
16166
16167 2012-01-05 Glenn Morris <rgm@gnu.org>
16168
16169 * eshell/em-unix.el (diff-no-select): Autoload it.
16170 (eshell/diff): Use diff-no-select. (Bug#10420)
16171
16172 2012-01-05 Chong Yidong <cyd@gnu.org>
16173
16174 * shell.el (shell-dynamic-complete-functions): Revert last change.
16175 (shell-command-completion-function): New function.
16176 (shell-completion-vars): Use it to implement
16177 shell-completion-execonly (Bug#10417).
16178
16179 * custom.el (enable-theme): Don't set custom-safe-themes.
16180
16181 * cus-theme.el (custom-theme-merge-theme):
16182 Ignore custom-enabled-themes and custom-safe-themes.
16183
16184 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
16185
16186 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
16187 first prompt in `sql-interacive-mode'.
16188 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
16189 keywords.
16190 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
16191 (sql-product-interactive): Bug fix: Set `sql-buffer' in
16192 context of original buffer. Invoke `sql-login-hook'.
16193
16194 2012-01-04 Eli Zaretskii <eliz@gnu.org>
16195
16196 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
16197 letters in cite-prefix.
16198
16199 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16200
16201 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
16202
16203 2012-01-03 Chong Yidong <cyd@gnu.org>
16204
16205 * shell.el (shell-dynamic-complete-functions):
16206 Put pcomplete-completions-at-point, so as to try
16207 comint-filename-completion first (Bug#10417).
16208
16209 2012-01-02 Richard Stallman <rms@gnu.org>
16210
16211 * battery.el (battery-status-function):
16212 Detect when to use battery-yeeloong-sysfs.
16213 (battery-echo-area-format): Add string for Yeeloong.
16214 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
16215 (battery-yeeloong-sysfs): New function.
16216
16217 2012-01-02 Chong Yidong <cyd@gnu.org>
16218
16219 * dirtrack.el (dirtrack-list): Eliminate unused third element.
16220 (dirtrack): Merge code for handling relative filenames in prompt
16221 from shell-dir-cookie-watcher.
16222 (dirtrack-debug-message): New arg to avoid excess format calls.
16223
16224 * shell.el (shell-dir-cookie-re): Variable deleted.
16225 (shell-dir-cookie-watcher): Function deleted.
16226 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
16227 with dirtrack-mode.
16228
16229 2012-01-01 Eli Zaretskii <eliz@gnu.org>
16230
16231 * term/w32-win.el (dynamic-library-alist) <gnutls>:
16232 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
16233 libgnutls-26.dll.
16234
16235 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
16236
16237 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
16238
16239 2011-12-31 Eli Zaretskii <eliz@gnu.org>
16240
16241 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
16242 headers of non-MIME messages, when rmail-enable-mime is non-nil.
16243
16244 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
16245
16246 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
16247 also for alternative shells.
16248 (tramp-open-connection-setup-interactive-shell): Check, whether
16249 the shell is a busybox.
16250 (tramp-send-command): Don't suppress multiple prompts for
16251 busyboxes, it hurts.
16252
16253 2011-12-28 Chong Yidong <cyd@gnu.org>
16254
16255 * progmodes/gdb-mi.el (gdb-get-source-file-list)
16256 (gdb-get-source-file): Move mode line update to
16257 gdb-get-source-file (Bug#10087).
16258
16259 2011-12-25 Chong Yidong <cyd@gnu.org>
16260
16261 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
16262 gud-gdb-marker-filter without taking it as an argument.
16263 (gud-gdb-run-command-fetch-lines): Caller changed.
16264 (gud-gdb-completion-function): New variable.
16265 (gud-gdb-completion-at-point): Use it.
16266 (gud-gdb-completions-1): Split from gud-gdb-completions.
16267
16268 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
16269 function as separate arguments.
16270 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
16271 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
16272 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
16273 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
16274 (gdb-stopped, def-gdb-auto-update-trigger)
16275 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
16276 (gdb-get-changed-registers, gdb-get-main-selected-frame):
16277 Callers changed.
16278 (gud-gdbmi-completions): New function.
16279 (gdb): Use it for generating the completion table.
16280
16281 2011-12-24 Alan Mackenzie <acm@muc.de>
16282
16283 Introduce a mechanism to widen the region used in context font
16284 locking. Use this to protect declarations from losing their contexts.
16285
16286 * progmodes/cc-langs.el (c-before-font-lock-functions):
16287 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
16288 (c-before-context-fontification-functions): New defvar, a list of
16289 functions to be run just before context (etc.) font locking.
16290
16291 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
16292 New, functionality extracted from
16293 c-neutralize-syntax-in-and-mark-CPP.
16294 (c-in-after-change-fontification): New variable.
16295 (c-after-change): Set c-in-after-change-fontification.
16296 (c-set-fl-decl-start): Rejig its interface, so it can be called
16297 from both after-change and context fontifying.
16298 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
16299 New functions.
16300 (c-standard-font-lock-fontify-region-function): New variable.
16301 (c-font-lock-fontify-region): New function.
16302
16303 2011-12-24 Juri Linkov <juri@jurta.org>
16304
16305 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
16306 (Bug#10348)
16307
16308 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
16309
16310 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
16311 existence of source file. (Bug#10325)
16312
16313 2011-12-23 Alan Mackenzie <acm@muc.de>
16314
16315 Fix unstable fontification inside templates.
16316
16317 * progmodes/cc-langs.el (c-before-font-lock-functions):
16318 Newly created from the singular version. The (c c++ objc) entry now
16319 additionally has c-set-fl-decl-start. The other languages (apart
16320 from AWK) have that as a single entry.
16321
16322 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
16323 The functionality for "local" declarations has been extracted to
16324 c-set-fl-decl-start.
16325
16326 * progmodes/cc-mode.el (c-common-init, c-after-change):
16327 Changes due to pluralisation of c-before-font-lock-functions.
16328 (c-set-fl-decl-start): New function, extracted from
16329 c-font-lock-enclosing-decls and enhanced.
16330
16331 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
16332
16333 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
16334
16335 2011-12-22 Juri Linkov <juri@jurta.org>
16336
16337 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
16338
16339 2011-12-22 Chong Yidong <cyd@gnu.org>
16340
16341 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
16342
16343 2011-12-21 Drew Adams <drew.adams@oracle.com>
16344
16345 * files.el (file-remote-p): Fix docstring. (Bug#10319)
16346
16347 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
16348
16349 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
16350
16351 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
16352
16353 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
16354 highlighting and support. Fix up comments for capitalization.
16355 (cfengine-mode-debug): New var.
16356 (cfengine3-mode): Change the modeline indicator to "CFE3".
16357 (cfengine3-font-lock-keywords): Improve defun highlighting.
16358 (cfengine2-actions): Rename from `cfengine-actions'.
16359 (cfengine2-font-lock-keywords): Rename from
16360 `cfengine-font-lock-keywords'.
16361 (cfengine2-imenu-expression): Rename from
16362 `cfengine-imenu-expression'.
16363 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
16364 (cfengine2-beginning-of-defun): Rename from
16365 `cfengine-beginning-of-defun'.
16366 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
16367 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
16368 (cfengine2-mode): Rename from `cfengine-mode'. Change the
16369 modeline indicator to "CFE2".
16370 (cfengine-mode): Defalias to `cfengine-auto-mode'.
16371 (cfengine-mode-abbrevs): Mark obsolete.
16372
16373 2011-12-21 Chong Yidong <cyd@gnu.org>
16374
16375 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
16376 filename argument.
16377
16378 2011-12-20 Martin Rudalics <rudalics@gmx.at>
16379
16380 * window.el (window-normalize-buffer-to-display): Remove.
16381 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
16382
16383 2011-12-19 Chong Yidong <cyd@gnu.org>
16384
16385 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
16386 Don't signal an error in a predicate function; return non-nil.
16387 (vc-dir-mark-file): Move the error here.
16388 (vc-dir-mark-unmark): If acting on the region, keep going if one
16389 of the entries cannot be marked/unmarked.
16390 (vc-dir-mark-all-files): If current entry is a directory, mark
16391 only child files, as documented.
16392
16393 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
16394
16395 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
16396 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
16397 addition.
16398
16399 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
16400
16401 * term/ns-win.el (ns-get-selection-internal)
16402 (ns-store-selection-internal): Declare.
16403 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
16404 Declare as obsolete.
16405 (ns-get-pasteboard, ns-paste-secondary):
16406 Use ns-get-selection-internal.
16407 (ns-set-pasteboard, ns-copy-including-secondary):
16408 Use ns-store-selection-internal.
16409
16410 2011-12-17 Chong Yidong <cyd@gnu.org>
16411
16412 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
16413 (vc-deduce-fileset): Doc fix.
16414
16415 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
16416
16417 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
16418
16419 2011-12-13 Sam Steingold <sds@gnu.org>
16420
16421 * man.el (Man-getpage-in-background): When running under a
16422 window-system, ignore $MANWIDTH and $COLUMNS.
16423
16424 2011-12-15 Kenichi Handa <handa@m17n.org>
16425
16426 * language/ethio-util.el: Change coding tag to utf-8-emacs.
16427 (setup-ethiopic-environment-internal): Comment out key-binding for
16428 ethio-toggle-punctuation.
16429
16430 2011-12-13 Alan Mackenzie <acm@muc.de>
16431
16432 Add the switch statement to AWK Mode.
16433
16434 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
16435 "default" to the keywords regexp.
16436
16437 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
16438 expression as the rest.
16439 (c-nonlabel-token-key): Allow string literals for AWK.
16440 Refactor for the other modes.
16441
16442 Large brace-block initialisation makes CC Mode slow: Fix.
16443 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
16444 routines. Limit backward searching in c-font-lock-enclosing.decl.
16445
16446 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
16447 pp-state and literal type in addition to the limits.
16448 (c-state-safe-place): New defun, extracted from c-state-literal-at.
16449 (c-state-literal-at): Use the above new defun.
16450 (c-slow-in-literal, c-fast-in-literal): Remove.
16451 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
16452
16453 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
16454 being in a literal. Add a limit for backward searching.
16455
16456 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
16457 c-slow-in-literal.
16458
16459 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
16460
16461 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
16462
16463 2011-12-13 Martin Rudalics <rudalics@gmx.at>
16464
16465 * window.el (delete-other-windows): Use correct frame in call to
16466 window-with-parameter.
16467
16468 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
16469
16470 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
16471 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
16472 (makefile-gmake-statements, makefile-makepp-statements):
16473 Use it and add new makepp keywords.
16474 (makefile-makepp-font-lock-keywords): Add new patterns.
16475 (makefile-match-function-end): Match new [...] and [[...]].
16476
16477 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
16478
16479 * ses.el (ses-call-printer-return, ses-cell-property-get)
16480 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
16481 (ses-create-cell-variable, ses-reset-header-string)
16482 (ses-cell-set-formula, ses-repair-cell-reference-all)
16483 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
16484 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
16485 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
16486 (ses-aset-with-undo, ses-load, ses-truncate-cell)
16487 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
16488 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
16489 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
16490 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
16491 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
16492 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
16493 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
16494 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
16495
16496 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
16497
16498 * ses.el: The overall change is to add cell renaming, that is
16499 setting fancy names for cell symbols other than name matching
16500 "\\`[A-Z]+[0-9]+\\'" regexp .
16501 (ses-create-cell-variable): New defun.
16502 (ses-relocate-formula): Relocate formulas only for cells the
16503 symbols of which are not renamed, i.e. symbols whose names do not
16504 match regexp "\\`[A-Z]+[0-9]+\\'".
16505 (ses-relocate-all): Relocate values only for cells the symbols of
16506 which are not renamed.
16507 (ses-load): Create cells variables as the (ses-cell ...) are read,
16508 in order to check row col consistency with cell symbol name only
16509 for cells that are not renamed.
16510 (ses-replace-name-in-formula): New defun.
16511 (ses-rename-cell): New defun.
16512
16513 2011-12-11 Chong Yidong <cyd@gnu.org>
16514
16515 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
16516 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
16517
16518 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
16519
16520 * window.el (other-window): Fix docstring.
16521
16522 2011-12-10 Eli Zaretskii <eliz@gnu.org>
16523
16524 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
16525 `from' or `to' address before taking its substring.
16526 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
16527 encoded name is chopped in the middle of the encoded string, and
16528 thus displayed encoded.
16529
16530 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
16531
16532 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
16533
16534 2011-12-10 Eli Zaretskii <eliz@gnu.org>
16535
16536 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
16537 to use texinfo-update-node and commands that call it if the
16538 Texinfo file uses @node lines without next/prev/up pointers.
16539 Correct outdated description about texinfo-master-menu.
16540 (texinfo-all-menus-update, texinfo-master-menu)
16541 (texinfo-update-node, texinfo-every-node-update)
16542 (texinfo-multiple-files-update): Doc fix. Warn against updating
16543 all the @node lines.
16544 (texinfo-master-menu): Only call texinfo-update-node if the prefix
16545 argument is numeric. Explain better in the doc string what the
16546 function really does.
16547 (texinfo-insert-master-menu-list): Improve the error message
16548 displayed if there's no menu in the Top node.
16549 (Bug#2975) See also this thread:
16550 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
16551
16552 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
16553
16554 * speedbar.el (speedbar-supported-extension-expressions):
16555 Add .adb and .ads, commonly used for Ada source code (bug#10256).
16556
16557 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
16558
16559 * printing.el (pr-mode-alist):
16560 * simple.el (filter-buffer-substring-functions)
16561 (completion-list-insert-choice-function):
16562 * window.el (window-with-parameter, window-atom-root)
16563 (window-sides-slots, window-size-fixed, window-min-delta)
16564 (window-max-delta, window--resize-mini-window)
16565 (window--resize-child-windows-normal, window-tree)
16566 (delete-other-windows, quit-window, split-window)
16567 (display-buffer-record-window, special-display-buffer-names)
16568 (special-display-regexps, special-display-popup-frame)
16569 (same-window-p, split-window-sensibly)
16570 (display-buffer-overriding-action, display-buffer-alist)
16571 (display-buffer-base-action, display-buffer, switch-to-buffer)
16572 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
16573 (fit-window-to-buffer, recenter-positions)
16574 (mouse-autoselect-window-state, mouse-autoselect-window-select):
16575 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
16576 and remove unneeded backslashes in docstrings.
16577
16578 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
16579
16580 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
16581
16582 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
16583 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
16584 end in ".mk".
16585 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
16586 when reading the makefile (bug#10116).
16587
16588 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
16589
16590 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
16591 (bug#10116).
16592
16593 2011-12-06 Glenn Morris <rgm@gnu.org>
16594
16595 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
16596
16597 2011-12-06 Chong Yidong <cyd@gnu.org>
16598
16599 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
16600
16601 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
16602
16603 * textmodes/table.el (table-shorten-cell): Fix typo.
16604
16605 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
16606
16607 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
16608
16609 2011-12-05 Eli Zaretskii <eliz@gnu.org>
16610
16611 * descr-text.el (describe-char): Fix display of strong
16612 right-to-left characters and directional embeddings and overrides.
16613
16614 * simple.el (what-cursor-position): Fix display of codepoints of
16615 strong right-to-left characters.
16616
16617 2011-12-05 Chong Yidong <cyd@gnu.org>
16618
16619 * faces.el (read-color): Doc fix.
16620
16621 2011-12-05 Glenn Morris <rgm@gnu.org>
16622
16623 * align.el (align--set-marker): Add doc-string.
16624 Don't try to move something that is not a marker. (Bug#10216)
16625
16626 2011-12-04 Glenn Morris <rgm@gnu.org>
16627
16628 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
16629 overly zealous deletion of trailing whitespace.
16630
16631 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
16632
16633 * server.el (server-delete-client): On Windows, do not try to delete
16634 the only terminal.
16635 (server-process-filter): On Windows, treat requests for a tty frame as
16636 if they were for a GUI frame if the running server is in GUI mode.
16637
16638 2011-12-03 Glenn Morris <rgm@gnu.org>
16639
16640 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
16641
16642 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
16643
16644 * electric.el: Streamline electric-indent's hook.
16645 (electric-indent-chars): Revert to simple list.
16646 (electric-indent-functions): New var.
16647 (electric-indent-post-self-insert-function): Use it.
16648
16649 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
16650 there's no inferior buffer (bug#10196).
16651 (prolog-consult-compile): Don't use toggle-read-only.
16652
16653 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
16654
16655 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
16656 interrupt. (Bug#10187)
16657
16658 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
16659
16660 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
16661 (bug#9160).
16662
16663 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
16664 (bug#10191).
16665
16666 2011-12-02 Juri Linkov <juri@jurta.org>
16667
16668 * info.el (Info-search): Display "end of manual" when Isearch
16669 reaches the end of single-file Info manual. (Bug#9918)
16670
16671 2011-12-02 Eli Zaretskii <eliz@gnu.org>
16672
16673 * isearch.el (isearch-message-prefix): Run the input method part
16674 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
16675
16676 2011-12-02 Juri Linkov <juri@jurta.org>
16677
16678 * isearch.el (isearch-occur): Use `word-search-regexp' for
16679 `isearch-word'.
16680 (isearch-search-and-update): Add condition for `isearch-word' and
16681 call `word-search-regexp'. (Bug#10145)
16682
16683 2011-12-01 Glenn Morris <rgm@gnu.org>
16684
16685 * eshell/em-hist.el (eshell-hist-initialize):
16686 Handle eshell-history-size nil and HISTSIZE set or unset.
16687 (eshell-history-file-name, eshell-history-size): Fix custom type.
16688
16689 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
16690
16691 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
16692
16693 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
16694
16695 * progmodes/verilog-mode.el (verilog-pretty-expr):
16696 Rework verilog-pretty-expr to handle new assignment operators in system
16697 verilog, such as += *= and the like.
16698 (verilog-assignment-operator-re): Regular expression to find the
16699 assigment operator in a verilog assignment.
16700 (verilog-assignment-operation-re): Regular expression to find an
16701 assignment statement for pretty-expr.
16702 (verilog-in-attribute-p): Query returns true if point is in an
16703 attribute context; used to skip these for expression line up from
16704 pretty-expr.
16705 (verilog-in-parameter-p): Query returns true if point is in an
16706 parameter definition context; used to skip these for expression
16707 line up from pretty-expr.
16708 (verilog-in-parenthesis-p): Query returns true if point is in a
16709 parenthetical expression, specifically ( ) but not [ ] or { };
16710 used by pretty-expr.
16711 (verilog-just-one-space): If there is no space, don't add one.
16712 (verilog-get-lineup-indent-2): Specifically skip just attribute
16713 contexts for expression lineup, rather than skipping all
16714 parenthetical expressions.
16715 (verilog-calculate-indent): Fix comment, and fix indent.
16716 (verilog-do-indent): Indent declarations in lists (suggested by
16717 Joachim Lechner).
16718 (verilog-mode-abbrev-table): Populate abbrev mode with the various
16719 skeleton items.
16720 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
16721 by Alain Mellan).
16722
16723 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
16724
16725 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
16726 parameters with embedded comments. Reported by Ray Stevens.
16727 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
16728 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
16729 Reported by Tim Holt.
16730 (verilog-auto): Fix AUTOing a upper module then AUTOing module
16731 instantiated by upper module causing wrong expansion until AUTOed a
16732 second time. Reported by K C Buckenmaier.
16733 (verilog-diff-auto): Fix showing .* as a difference when
16734 `verilog-auto-star-save' off. Reported by Dan Dever.
16735 (verilog-auto-reset, verilog-read-always-signals)
16736 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
16737 temporary signals in reset list if
16738 verilog-auto-reset-blocking-in-non is nil, and match assignment
16739 style to each signal's assignment type, bug381.
16740 Reported by Thomas Esposito.
16741 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
16742 (verilog-uvm-statement-re): Support UVM indentation and
16743 highlighting, with old OVM keywords only.
16744 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
16745 Support AUTOTIEOFF creating non-wire data types.
16746 Suggested by Jonathan Greenlaw.
16747 (verilog-auto-insert-lisp, verilog-delete-to-paren)
16748 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
16749 (verilog-inject-sense, verilog-read-inst-pins)
16750 (verilog-read-sub-decls, verilog-read-sub-decls-line):
16751 Fix mismatching parenthesis inside commented out code when deleting
16752 AUTOINST, bug383. Reported by Jonathan Greenlaw.
16753 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
16754 non-numeric vector width. Reported by Alex Reed.
16755 (verilog-auto-ascii-enum): Add "onehot" option to work around not
16756 detecting signals with parameter widths. Reported by Alex Reed.
16757 (verilog-auto-delete-trailing-whitespace):
16758 With `verilog-auto-delete-trailing-whitespace' remove trailing
16759 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
16760 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
16761 Fix verilog-scan-cache corruption when running user AUTO expansion
16762 hooks that call indentation routines.
16763 (verilog-simplify-range-expression): Fix typo ignoring lower case
16764 identifiers.
16765 (verilog-delete-auto): Fix delete-autos to also remove user created
16766 automatics, as long as they start with AUTO.
16767 (verilog-batch-diff-auto, verilog-diff-auto)
16768 (verilog-diff-function): Add `verilog-diff-auto' and bind to
16769 "C-c?" to report differences in AUTO expansion, ignoring spaces.
16770 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
16771 (verilog-in-paren-quick, verilog-re-search-backward-quick)
16772 (verilog-re-search-forward-quick, verilog-syntax-ppss):
16773 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
16774 is disabled and its cache will get corrupt, causing AUTOS not to
16775 expand. Instead use only -quick functions.
16776 (verilog-scan-region): Fix scanning over escaped quotes.
16777 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
16778 (verilog-re-search-backward-quick)
16779 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
16780 related functions now ignore strings, to fix misparsing of strings
16781 with magic comments embedded in them.
16782 (verilog-read-auto-template):
16783 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
16784 Reported by Brad Dobbie.
16785 (verilog-read-auto-template):
16786 Fix 'verilog-auto-inst-template-numbers' with comments.
16787 Reported by Brad Dobbie.
16788 (verilog-auto-inst, verilog-auto-inst-param)
16789 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
16790 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
16791 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
16792 debugging templates without merge conflicts, bug357.
16793 Reported by Brad Dobbie.
16794 (verilog-read-auto-template):
16795 Fix verilog-auto-inst-template-numbers with multiple templates.
16796 Reported by Brad Dobbie.
16797 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
16798 abbrevs so user won't be asked to save.
16799 (verilog-read-auto-lisp-present): Fix to start at beginning of
16800 buffer in case called outside of verilog-auto.
16801 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
16802 to "X-2". Reported by Matthew Myers.
16803 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
16804 all inputs from module templates. Reported by Leith Johnson.
16805 (verilog-module-inside-filename-p): Fix locating programs as with
16806 modules.
16807 (verilog-auto-inst-port): Fix vl-width expressions when using
16808 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
16809 (verilog-decls-get-regs, verilog-decls-get-signals,
16810 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
16811 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
16812 verilog-read-decls): Combine reg and wire structures into one var
16813 structure to represent SystemVerilog concepts.
16814 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
16815 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
16816 (verilog-auto-wire-type, verilog-insert-definition):
16817 Add verilog-auto-wire-type and AUTOLOGIC to support using
16818 SystemVerilog "logic" keyword instead of "wire"/"reg".
16819 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
16820 to declares outputs that also have assignments (presumably in an
16821 ifdef or generate if so there's not a driver conflict).
16822 Reported by Matthew Myers.
16823 (verilog-auto-declare-nettype, verilog-insert-definition):
16824 Add verilog-auto-declare-nettype to fix declarations using
16825 `default_nettype none. Reported by Julian Gorfajn.
16826 (verilog-read-always-signals-recurse, verilog-read-decls)
16827 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
16828 malformed end statement, bug325. Reported by Joshua Wise and
16829 Andrew Drake.
16830 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
16831 (verilog-inst-comment-re): Fix not deleting Interfaced comment
16832 when expanding .* in interfaces, bug320.
16833 Reported by Pierre-David Pfister.
16834 (verilog-read-module-name): Fix import statements between module
16835 name and open parenthesis, bug317.
16836 Reported by Pierre-David Pfister.
16837 (verilog-simplify-range-expression): Fix simplification of
16838 multiplications inside AUTOWIRE connections, bug303.
16839 (verilog-auto-inst-port): Support parameter expansion in
16840 multidimensional arrays.
16841 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
16842 after "assert property". Reported by Julian Gorfajn.
16843 (verilog-simplify-range-expression): Fix "couldn't merge" errors
16844 with multiplication, bug303.
16845 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
16846 Reported by Jan Frode Lonnum.
16847
16848 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
16849
16850 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
16851 (hfy-shell-file-name, hfy-shell):
16852 * international/fontset.el (x-decompose-font-name): Fix typos.
16853
16854 2011-11-29 Ken Brown <kbrown@cornell.edu>
16855
16856 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
16857 (gdb-version): Remove defvar.
16858 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
16859 (gdb-gud-context-command, gdb-non-stop-handler)
16860 (gdb-current-context-command, gdb-stopped): Use it.
16861 (gdb-init-1): Enable pretty printing here.
16862 (gdb-non-stop-handler): Don't enable pretty-printing here.
16863 Check to see if the target supports non-stop mode; if not, turn off
16864 non-stop mode. Use the following.
16865 (gdb-check-target-async): New defun.
16866 (gud-watch, gdb-stopped): Fix whitespace.
16867 (gdb-get-source-file): Don't try to display the source file if
16868 `gdb-main-file' is nil.
16869
16870 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
16871
16872 * align.el: Try to generate fewer markers (bug#10047).
16873 (align--set-marker): New macro.
16874 (align-region): Use it.
16875
16876 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
16877
16878 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
16879
16880 2011-11-29 Chong Yidong <cyd@gnu.org>
16881
16882 * indent.el (indent-for-tab-command, indent-according-to-mode):
16883 Doc fix.
16884 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
16885
16886 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
16887
16888 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
16889 aware of remote file names. (Bug#10124)
16890
16891 2011-11-29 Chong Yidong <cyd@gnu.org>
16892
16893 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
16894
16895 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
16896
16897 * files.el (find-file): Don't use force-same-window (bug#10144).
16898 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
16899 use pop-to-buffer if the selected window can't be used.
16900 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
16901
16902 2011-11-28 Eli Zaretskii <eliz@gnu.org>
16903
16904 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
16905 special-mode-map.
16906
16907 2011-11-28 Chong Yidong <cyd@gnu.org>
16908
16909 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
16910
16911 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
16912
16913 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
16914 gdb-get-source-file-list on gdb-create-source-file-list.
16915
16916 2011-11-26 Eli Zaretskii <eliz@gnu.org>
16917
16918 * whitespace.el (whitespace-newline): Use a different foreground
16919 color for 16-color light-background displays.
16920
16921 2011-11-24 Chong Yidong <cyd@gnu.org>
16922
16923 * window.el (display-buffer--special-action): Doc fix.
16924
16925 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
16926
16927 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
16928 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
16929 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
16930 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
16931 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
16932 (avl-tree-stack-first):
16933 * emacs-lisp/cconv.el (cconv--analyse-use):
16934 * net/gnutls.el (gnutls-negotiate): Fix typos.
16935
16936 2011-11-24 Glenn Morris <rgm@gnu.org>
16937
16938 * lpr.el (lpr-windows-system, lpr-lp-system):
16939 * mail/binhex.el (binhex-begin-line):
16940 * progmodes/grep.el (grep-history, grep-find-history):
16941 * textmodes/flyspell.el:
16942 * vc/pcvs-defs.el (cvs-global-menu):
16943 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
16944 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
16945 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
16946
16947 * net/tls.el: Fix case of "GnuTLS".
16948
16949 * paths.el (rmail-file-name): Format doc-string for make-docfile.
16950
16951 * version.el (emacs-build-system): Give it a doc-string.
16952
16953 2011-11-24 Juri Linkov <juri@jurta.org>
16954
16955 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
16956
16957 2011-11-24 Glenn Morris <rgm@gnu.org>
16958
16959 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
16960 if called on a non-mime message just toggle the headers. (Bug#8006)
16961
16962 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
16963
16964 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
16965 (allout-lead-with-comment-string, allout-structure-deleted-hook)
16966 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
16967 (allout-rebullet-heading, allout-open-sibtopic)
16968 (allout-toggle-current-subtree-encryption)
16969 (allout-toggle-subtree-encryption, allout-encrypt-string)
16970 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
16971 (allout-distinctive-bullets-string, allout-auto-activation):
16972 * window.el (window-normalize-buffer-to-display):
16973 * progmodes/verilog-mode.el (verilog-batch-indent):
16974 * textmodes/bibtex.el (bibtex-field-braces-opt)
16975 (bibtex-field-strings-opt):
16976 * vc/cvs-status.el (cvs-tree-merge):
16977 Fix typos.
16978
16979 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
16980
16981 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
16982 `non-essential' to t, in order to avoid remote connections.
16983
16984 2011-11-23 Eli Zaretskii <eliz@gnu.org>
16985
16986 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
16987 On MS-DOS and MS-Windows, compare with loaddefs.el
16988 case-insensitively.
16989
16990 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
16991
16992 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
16993
16994 2011-11-23 Glenn Morris <rgm@gnu.org>
16995
16996 * paths.el (rmail-file-name): Reformat the doc-string so that it
16997 is picked up.
16998
16999 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
17000 (rmail-auto-file): Ignore case in the "special" field names,
17001 as mail-fetch-field does for all others.
17002
17003 * mail/rmail.el (rmail-forward):
17004 * mail/rmailkwd.el (rmail-set-label):
17005 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
17006 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
17007
17008 * mail/rmail.el (rmail-current-message): Doc fix.
17009
17010 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
17011
17012 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
17013
17014 * server.el (server-eval-and-print): Allow C-g (bug#6585).
17015
17016 2011-11-22 Glenn Morris <rgm@gnu.org>
17017
17018 * mail/rmailmm.el (test-rmail-mime-handler)
17019 (test-rmail-mime-bulk-handler)
17020 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
17021
17022 2011-11-21 Juri Linkov <juri@jurta.org>
17023
17024 * calc/calc.el (calc-read-key-sequence):
17025 Let-bind `input-method-function' to nil. (Bug#10018)
17026
17027 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
17028
17029 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
17030 Tell the caller that the next line needs recomputation, even
17031 though it doesn't start a sexp (bug#10094).
17032
17033 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
17034
17035 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
17036
17037 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
17038
17039 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
17040 Use force-same-window.
17041
17042 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
17043
17044 * descr-text.el (describe-char-unicode-data):
17045 * json.el (json-string-escape):
17046 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
17047 (Footnote-unicode, Footnote-style-p):
17048 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
17049
17050 2011-11-20 Chong Yidong <cyd@gnu.org>
17051
17052 * window.el (replace-buffer-in-windows): Restore interactive spec.
17053
17054 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
17055
17056 * electric.el (electric-indent-mode): Fix last change (too optimistic).
17057
17058 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
17059 (byte-compile-global-not-obsolete-vars): New var.
17060 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
17061 Use it.
17062 (byte-compile-warn-obsolete): Align text with the one in *Help*.
17063
17064 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
17065
17066 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
17067 * progmodes/pascal.el (electric-pascal-equal):
17068 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
17069 * xml.el (xml-substitute-special): Fix typos.
17070
17071 2011-11-20 Glenn Morris <rgm@gnu.org>
17072
17073 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
17074 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
17075 Doc fixes.
17076 (rmail-decode-mime-charset): Mark as obsolete.
17077
17078 * mail/rmailsum.el (rmail-message-regexp-p-1):
17079 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
17080 Before using mime functions, check they are set. (Bug#10077)
17081
17082 2011-11-19 Juri Linkov <juri@jurta.org>
17083
17084 * info.el (Info-finder-find-node): Use `package--builtins' instead
17085 of `package-alist'. Use node names formed by the pattern "Keyword "
17086 and the keyword name.
17087
17088 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
17089
17090 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
17091
17092 2011-11-19 Juri Linkov <juri@jurta.org>
17093
17094 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
17095 that calls `revert-buffer' on all Info buffers. (Bug#9915)
17096 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
17097 `old-history', `old-history-forward'. Add let-binding
17098 `window-selected'. Remove calls to `kill-buffer',
17099 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
17100 before calling `Info-find-node', so `Info-find-node-2' will reread
17101 the Info file. Restore window positions only when `window-selected'
17102 is non-nil.
17103
17104 2011-11-19 Juri Linkov <juri@jurta.org>
17105
17106 * isearch.el (isearch-lazy-highlight-new-loop):
17107 Remove condition `(not isearch-error)'. (Bug#9918)
17108
17109 * misearch.el (multi-isearch-search-fun): Add condition
17110 `(not bound)' to ignore lazy-highlighting search.
17111 Add the search-failed message "end of multi" when the end of
17112 multi-sequence is reached. Uncapitalize the search-failed
17113 message "Repeat for next buffer".
17114
17115 * info.el (Info-search): Add the search-failed message
17116 "end of the manual" when the end of the manual is reached
17117 in Isearch mode.
17118
17119 2011-11-19 Juri Linkov <juri@jurta.org>
17120
17121 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
17122 Use non-destructive `remove' instead of `delete' because
17123 `Info-history-list' stored to `Info-isearch-initial-history-list' in
17124 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
17125
17126 2011-11-19 Juri Linkov <juri@jurta.org>
17127
17128 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
17129 to nil instead of binding `search-ring' and `regexp-search-ring'.
17130 (Bug#9185)
17131
17132 2011-11-19 Eli Zaretskii <eliz@gnu.org>
17133
17134 * simple.el (line-move): Force movement by logical lines for any
17135 hscrolled window, not only when auto-hscroll-mode is on.
17136 (line-move-visual): Update doc string to that effect. (Bug#10076)
17137
17138 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
17139
17140 * language/european.el (macintosh): Define as alias for mac-roman.
17141
17142 2011-11-19 Eli Zaretskii <eliz@gnu.org>
17143
17144 * mail/rmailmm.el (rmail-mime-display-header)
17145 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
17146 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
17147 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
17148 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
17149 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
17150 of a raw aref.
17151 (rmail-mime-entity-segment): To get past the tagline, move forward
17152 2 more lines, to account for the 2 empty lines that precede and
17153 follow the line with the buttons.
17154 (rmail-mime-update-tagline): Move one more line, to get past the
17155 empty line that follows the buttons in the tagline. (Bug#9520)
17156
17157 2011-11-19 Martin Rudalics <rudalics@gmx.at>
17158
17159 * window.el (window-max-delta-1, window-min-delta-1)
17160 (window-min-size-1, window-state-get-1, window-state-put-1)
17161 (window-state-put-2): Use "window--" prefix.
17162
17163 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
17164
17165 * emacs-lisp/smie.el: Improve warnings and conflict detection.
17166 (smie-warning-count): New var.
17167 (smie-set-prec2tab): Use it.
17168 (smie-bnf->prec2): Improve warnings. Add docstring.
17169 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
17170 (smie-bnf--set-class): New function.
17171 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
17172 corner case.
17173
17174 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
17175 (compilation-error-properties, compilation-move-to-column):
17176 Handle compilation-first-column while in the target buffer.
17177
17178 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
17179 Don't hardcode point-min==1.
17180
17181 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
17182 (eshell-rewrite-for-command): Remove workaround.
17183 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
17184 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
17185 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
17186
17187 * files-x.el (modify-file-local-variable): Obey commenting conventions.
17188
17189 2011-11-17 Glenn Morris <rgm@gnu.org>
17190
17191 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
17192 Ignore buffer-local generated-autoload-file if it is the same
17193 as the global value. (Bug#10049)
17194
17195 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
17196
17197 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
17198 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
17199 (reftex-toc-previous-heading, reftex-toc-max-level)
17200 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
17201 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
17202 (reftex-toc-do-promote, reftex-toc-promote-prepare)
17203 (reftex-toc-promote-action, reftex-toc-extract-section-number)
17204 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
17205 (reftex-toc-rename-label, reftex-toc-visit-location)
17206 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
17207 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
17208 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
17209 leaving "*toc*" only for references to the buffer.
17210
17211 2011-11-17 Martin Rudalics <rudalics@gmx.at>
17212
17213 * window.el (window-resize, delete-window, split-window):
17214 Replace window-splits by window-combination-resize.
17215 * cus-start.el (window-splits): Replace by window-combination-resize.
17216
17217 2011-11-17 Glenn Morris <rgm@gnu.org>
17218
17219 * progmodes/sh-script.el (sh-font-lock-keywords-var):
17220 Make bash entry derive from sh entry, not shell entry.
17221
17222 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
17223
17224 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
17225 local file name.
17226
17227 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
17228
17229 * menu-bar.el (menu-bar-file-menu):
17230 * printing.el (pr-ps-utility):
17231 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
17232 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
17233 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
17234 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
17235 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
17236 (icalendar--convert-cyclic-to-ical)
17237 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
17238 (icalendar--convert-ical-to-diary)
17239 (icalendar--convert-recurring-to-diary)
17240 (icalendar--convert-non-recurring-all-day-to-diary)
17241 (icalendar-import-format-sample):
17242 * progmodes/idlw-shell.el (idlwave-shell-mode):
17243 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
17244 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
17245 (vhdl-ps-print-init): Fix typos.
17246
17247 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
17248
17249 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
17250 FSF and collapse date sequence, obscure author/maintainer email address
17251 better, remove extra version line, track relocation of author's webpage.
17252
17253 * progmodes/python.el (python-pdbtrack-input-prompt)
17254 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
17255 regular python pdb prompts. Adjustments shamelessly taken exactly as
17256 suggested in EmacsWiki page (tiny change):
17257 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
17258
17259 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
17260
17261 * expand.el (expand-pos, expand-index, expand-point):
17262 Remove redundant info from docstring.
17263 (expand-add-abbrevs): Doc fix.
17264 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
17265 (expand-sample-perl-mode-expand-list): Fix typos.
17266
17267 * net/dbus.el (dbus-event-member-name):
17268 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
17269 * term/pc-win.el (msdos-create-frame-with-faces):
17270 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
17271
17272 2011-11-16 Martin Rudalics <rudalics@gmx.at>
17273
17274 * window.el (split-window, window-state-get-1)
17275 (window-state-put-1, window-state-put-2): Rename occurrences of
17276 window-nest to window-combination-limit.
17277 * cus-start.el (window-nest): Rename to window-combination-limit.
17278
17279 2011-11-16 Chong Yidong <cyd@gnu.org>
17280
17281 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
17282 regexp (Bug#10033).
17283
17284 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
17285
17286 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
17287 `completing-read' will remove *Completions* and will preserve
17288 current-buffer for us.
17289 (tmm-add-prompt): Users of *Completions* will always (re)set its
17290 major mode.
17291 (tmm-old-comp-map): Remove.
17292
17293 2011-11-16 Glenn Morris <rgm@gnu.org>
17294
17295 * mail/rmailedit.el: Require rmailmm when compiling.
17296 (rmail-old-mime-state): New declaration.
17297 (rmail-edit-current-message): If editing a mime message,
17298 edit the "raw" message from the mbox buffer.
17299 (rmail-cease-edit): Handle mime messages. (Bug#9840)
17300
17301 2011-11-15 Glenn Morris <rgm@gnu.org>
17302
17303 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
17304 which wasn't being used. Add optional arg to force given state.
17305 (rmail-mime): Add optional arg to force given state.
17306
17307 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
17308
17309 * allout.el (allout-encryption-plaintext-sanitization-regexps):
17310 * frame.el (display-mm-dimensions-alist):
17311 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
17312 (outline-move-subtree-down):
17313 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
17314 (newsticker--treeview-do-get-node):
17315 * net/quickurl.el (quickurl-list-buffer-name):
17316 * progmodes/dcl-mode.el (dcl-mode):
17317 * progmodes/gdb-mi.el (gdb-mapcar*):
17318 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
17319
17320 2011-11-15 Glenn Morris <rgm@gnu.org>
17321
17322 * mail/rmail.el (rmail-file-coding-system): It's only ever used
17323 in a boolean sense, so just make it a boolean, and fix the doc.
17324 (rmail-show-mime-function, rmail-mime-feature)
17325 (rmail-require-mime-maybe): Doc fixes.
17326 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
17327
17328 * mail/rmailmm.el (rmail-show-mime): Doc fix.
17329
17330 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
17331
17332 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
17333 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
17334 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
17335 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
17336
17337 2011-11-15 Glenn Morris <rgm@gnu.org>
17338
17339 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
17340 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
17341 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
17342 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
17343 (rmail-mime, rmail-show-mime): Doc fixes.
17344
17345 * term/ns-win.el (mode-line-frame-identification):
17346 Leave it alone. (Bug#10051)
17347
17348 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
17349
17350 * mail/rmailout.el (rmail-output-to-rmail-buffer):
17351 Handle empty buffers. (Bug#9978)
17352
17353 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
17354
17355 * international/mule.el (define-charset):
17356 * mail/rmailmm.el (rmail-mime-find-header-encoding):
17357 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
17358 * progmodes/verilog-mode.el (verilog-backward-token):
17359 * textmodes/ispell.el (lookup-words):
17360 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
17361
17362 2011-11-14 Glenn Morris <rgm@gnu.org>
17363
17364 * progmodes/executable.el
17365 (executable-make-buffer-file-executable-if-script-p):
17366 Handle file-modes returning nil.
17367
17368 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
17369 message - not necessary, and causes problems. (Bug#9831)
17370
17371 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
17372
17373 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
17374
17375 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
17376 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
17377 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
17378
17379 2011-11-12 Martin Rudalics <rudalics@gmx.at>
17380
17381 * window.el (window-resize, delete-window): Use window-splits
17382 variable instead of function.
17383 (window-state-get-1, window-state-put-2, window-state-put):
17384 Don't deal with windows' splits status.
17385
17386 2011-11-12 Glenn Morris <rgm@gnu.org>
17387
17388 * apropos.el (apropos-do-all, apropos-library, apropos-value)
17389 (apropos-documentation): Doc fixes.
17390
17391 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
17392
17393 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
17394 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
17395
17396 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
17397
17398 * electric.el (electric-indent-post-self-insert-function): Make it
17399 possible for a char to only indent in some circumstances.
17400 (electric-indent-mode): Simplify.
17401
17402 2011-11-11 Martin Rudalics <rudalics@gmx.at>
17403
17404 * window.el (windows-with-parameter): Remove unused function.
17405 (windows-at-side): Rename to window-at-side-list.
17406 (window-check, window-atom-check, window-atom-check-1)
17407 (window-side-check, window-size-ignore, window-size-fixed-1)
17408 (window-in-direction-2): Prefix with "window--".
17409 (window-tree-1): Rename to window--subtree, fix doc-string.
17410
17411 2011-11-11 Glenn Morris <rgm@gnu.org>
17412
17413 * subr.el (eval-after-load): If FILE is already loaded,
17414 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
17415
17416 2011-11-10 Glenn Morris <rgm@gnu.org>
17417
17418 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
17419 Call svn via vc-svn-command rather than vc-do-command.
17420 (vc-svn-command): Add --non-interactive. (Bug#9993)
17421 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
17422
17423 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
17424 Add toggle-read-only. (Bug#7292)
17425 * files.el (toggle-read-only): Mention that it should only
17426 be used interactively. (Bug#10006)
17427
17428 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
17429
17430 * progmodes/compile.el (compilation-error-regexp-alist-alist):
17431 Adjust regexp for OCaml warnings.
17432
17433 * electric.el (electric-pair-post-self-insert-function): Let user
17434 turn it off buffer-locally (bug#9932).
17435
17436 * progmodes/python.el (python-beginning-of-statement):
17437 Rewrite (bug#2703).
17438
17439 * progmodes/compile.el: Better handle TABs (bug#9749).
17440 (compilation-internal-error-properties)
17441 (compilation-next-error-function): Obey the target buffer's
17442 compilation-error-screen-columns.
17443
17444 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
17445
17446 * progmodes/meta-mode.el: Remove obsolete comments.
17447 (meta-right-comment-regexp, meta-ignore-comment-regexp):
17448 Fix typos in docstrings.
17449
17450 2011-11-09 Martin Rudalics <rudalics@gmx.at>
17451
17452 * window.el (window-size-fixed-p): Rewrite doc-string.
17453 (window-resizable-p): Rename to window--resizable-p. Update callers.
17454 (window--resizable): New function. Make all callers of
17455 window-resizable call window--resizable instead.
17456 (window-resizable): Rewrite in terms of window--resizable.
17457
17458 2011-11-08 Glenn Morris <rgm@gnu.org>
17459
17460 * progmodes/delphi.el (delphi-mode-syntax-table):
17461 Let define-derived-mode define a proper syntax table. (Bug#9994)
17462
17463 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
17464
17465 * window.el: Stay away from defsubst.
17466 (window-list-no-nils): Remove.
17467 (window-state-get-1, window-state-get): Use backquote instead.
17468
17469 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
17470
17471 * emacs-lisp/find-func.el (find-function-read):
17472 Fix incorrect use of default argument in `completing-read'.
17473
17474 2011-11-08 Martin Rudalics <rudalics@gmx.at>
17475
17476 * window.el (display-buffer-function, special-display-function):
17477 Mention display-buffer-record-window but do not mention
17478 help-setup parameter in doc-strings.
17479 (window-min-delta): Fix doc-string typo.
17480
17481 2011-11-08 Chong Yidong <cyd@gnu.org>
17482
17483 * window.el (window-total-height, window-total-width): Doc fix.
17484 (window-body-size): Move from C.
17485 (window-body-height, window-body-width): Move to C.
17486
17487 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
17488
17489 * window.el: Make special-display like display-buffer-alist (bug#9532).
17490 (display-buffer--special-action): New function, morphed
17491 from display-buffer--special.
17492 (display-buffer): Use it to handle special-display-buffers at higher
17493 priority (just after display-buffer-alist).
17494 (display-buffer-fallback-action, display-buffer--other-frame-action)
17495 (pop-to-buffer-same-window): Remove display-buffer--special.
17496
17497 2011-11-07 Glenn Morris <rgm@gnu.org>
17498
17499 * calendar/cal-menu.el (cal-menu-set-date-title):
17500 Do nothing if not in a calendar. (Bug#9976)
17501
17502 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
17503
17504 * files.el (find-file): Always use selected-window.
17505
17506 2011-11-07 Martin Rudalics <rudalics@gmx.at>
17507
17508 * window.el (window-combinations): Make WINDOW argument
17509 mandatory. Rewrite doc-string.
17510 (walk-window-subtree, window-atom-check, window-min-delta)
17511 (window-max-delta, window--resize-this-window)
17512 (window--resize-root-window-vertically, window-tree)
17513 (balance-windows, window-state-put): Rewrite doc-strings as to
17514 not mention the term "subwindow".
17515 (window--resize-subwindows-skip-p): Rename to
17516 window--resize-child-windows-skip-p.
17517 (window--resize-subwindows-normal): Rename to
17518 window--resize-child-windows-normal.
17519 (window--resize-subwindows): Rename to
17520 window--resize-child-windows.
17521 (window-or-subwindow-p): Rename to window--in-subtree-p.
17522
17523 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
17524
17525 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
17526 Ensure that mbox format messages end in two newlines (Bug#9974).
17527
17528 2011-11-06 Chong Yidong <cyd@gnu.org>
17529
17530 * window.el (window-combination-p): Function deleted; its
17531 side-effect is not used in any existing code.
17532 (window-combinations, window-combined-p): Call window-*-child
17533 directly.
17534
17535 2011-11-05 Chong Yidong <cyd@gnu.org>
17536
17537 * window.el (window-valid-p): Rename from window-any-p.
17538 (window-size-ignore, window-state-get): Callers changed.
17539 (window-normalize-window): Rename from window-normalize-any-window.
17540 New arg LIVE-ONLY, replacing window-normalize-live-window.
17541 (window-normalize-live-window): Delete.
17542 (window-combination-p, window-combined-p, window-combinations)
17543 (walk-window-subtree, window-atom-root, window-min-size)
17544 (window-sizable, window-sizable-p, window-size-fixed-p)
17545 (window-min-delta, window-max-delta, window-resizable)
17546 (window-resizable-p, window-full-height-p, window-full-width-p)
17547 (window-current-scroll-bars, window-point-1, set-window-point-1)
17548 (window-at-side-p, window-in-direction, window-resize)
17549 (adjust-window-trailing-edge, maximize-window, minimize-window)
17550 (window-deletable-p, delete-window, delete-other-windows)
17551 (record-window-buffer, unrecord-window-buffer)
17552 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
17553 (quit-window, split-window, window-state-put)
17554 (set-window-text-height, fit-window-to-buffer)
17555 (shrink-window-if-larger-than-buffer): Callers changed.
17556
17557 2011-11-04 Eli Zaretskii <eliz@gnu.org>
17558
17559 * mail/rmail.el (rmail-simplified-subject): Decode subject with
17560 rfc2047-decode-string.
17561 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
17562 warnings.
17563
17564 * window.el (window-body-height, window-body-width): Mention in
17565 the doc string that the return values are in frame's canonical
17566 units. (Bug#9949)
17567
17568 2011-11-03 Alan Mackenzie <acm@muc.de>
17569
17570 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
17571 change in cc-engine.el.
17572
17573 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
17574
17575 * window.el (switch-to-buffer): Use `force-same-window' interactively.
17576
17577 2011-11-02 Martin Rudalics <rudalics@gmx.at>
17578
17579 * window.el (quit-window): Call unrecord-window-buffer after
17580 showing another buffer in the window. (Bug#9937)
17581 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
17582
17583 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
17584
17585 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
17586 Accept status with more than 9 shelves. (Bug#9935)
17587 Reported by Colin D Bennett <colin@gibibit.com>.
17588
17589 2011-11-01 Martin Rudalics <rudalics@gmx.at>
17590
17591 * help.el (with-help-window): Don't reference
17592 temp-buffer-show-specifiers in doc-string.
17593
17594 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
17595
17596 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
17597 menu-item.
17598
17599 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
17600
17601 * whitespace.el: New version 13.2.2.
17602 (whitespace-newline-mode): Disable properly. Reported by Sarah
17603 <EmacsWiki>.
17604
17605 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
17606
17607 * net/newst-treeview.el: Remove "Time-stamp".
17608 (newsticker--group-manage-orphan-feeds): Do not call
17609 newsticker--treeview-tree-update.
17610 (newsticker-treeview-update, newsticker-treeview):
17611 Call newsticker--treeview-tree-update if necessary.
17612
17613 2011-10-30 Martin Rudalics <rudalics@gmx.at>
17614
17615 * window.el (window-iso-combination-p, window-iso-combined-p)
17616 (window-iso-combinations): Remove "iso-" infix.
17617 Suggested by Chong Yidong.
17618 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
17619 (window-max-delta-1, window-resize, window--resize-siblings)
17620 (window--resize-this-window, adjust-window-trailing-edge)
17621 (split-window, balance-windows-1)
17622 (shrink-window-if-larger-than-buffer):
17623 * calendar/calendar.el (calendar-generate-window):
17624 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
17625
17626 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
17627
17628 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
17629 in place (bug#9907).
17630 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
17631 (eshell-rewrite-if-command, eshell-rewrite-for-command)
17632 (eshell-structure-basic-command, eshell-rewrite-while-command)
17633 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
17634 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
17635 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
17636 (eshell-do-pipelines-synchronously, eshell-eval-command):
17637 Use backquotes and prefer setq to set.
17638 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
17639 (eshell-macrop): Use functionp.
17640 (eshell-do-eval): Handle multiple expressions in `while' body.
17641
17642 2011-10-30 Chong Yidong <cyd@gnu.org>
17643
17644 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
17645 instead of set-mark (Bug#9810).
17646
17647 2011-10-30 Chong Yidong <cyd@gnu.org>
17648
17649 * window.el (split-window-below, split-window-right): Rename from
17650 split-window-above-each-other and split-window-side-by-side
17651 respectively. All callers changed.
17652 (split-window-sensibly, split-window-sensibly): Use them.
17653 (split-window-keep-point): Doc fix.
17654
17655 * isearch.el: Add isearch-scroll property to split-window-below
17656 and split-window-right.
17657
17658 * follow.el (follow-mode):
17659 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
17660 * progmodes/ada-xref.el (ada-gdb-application):
17661 * emulation/vip.el (vip-buffer-in-two-windows):
17662 * image-dired.el (image-dired-dired-with-window-configuration):
17663 * dired-x.el (dired-do-find-marked-files):
17664 * dired.el (dired-pop-to-buffer):
17665 * bs.el (bs--show-with-configuration):
17666 * vc/emerge.el (emerge-setup-windows):
17667 * textmodes/two-column.el (2C-two-columns):
17668 * textmodes/reftex-toc.el (reftex-toc):
17669 * progmodes/gdb-mi.el (gdb-setup-windows):
17670 * progmodes/fortran.el (fortran-window-create):
17671 * net/newst-treeview.el (newsticker--treeview-window-init):
17672 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
17673 * emulation/tpu-edt.el (tpu-gold-map):
17674 * emulation/crisp.el (crisp-mode-map):
17675 * calendar/calendar.el (calendar-basic-setup): Callers changed.
17676
17677 2011-10-29 Chong Yidong <cyd@gnu.org>
17678
17679 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
17680
17681 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
17682
17683 * textmodes/flyspell.el (flyspell-word): Fix char offset for
17684 forged Ispell output (Bug#7904).
17685
17686 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
17687
17688 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
17689
17690 * doc-view.el: Avoid ugly errors about not finding nil.
17691 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
17692 (doc-view-dvipdf-program, doc-view-unoconv-program)
17693 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
17694 Avoid nil or absolute file name as default value.
17695 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
17696
17697 2011-10-28 Alan Mackenzie <acm@muc.de>
17698
17699 * progmodes/cc-defs.el (c-version): -> 5.32.2.
17700
17701 2011-10-28 Alan Mackenzie <acm@muc.de>
17702
17703 Amend the handling of c-beginning/end-of-defun in nested declaration
17704 scopes.
17705
17706 * progmodes/cc-vars.el (c-defun-tactic): Move here from
17707 cc-langs.el. Change it to a defcustom.
17708
17709 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
17710 cc-vars.el.
17711
17712 * progmodes/cc-engine.el (c-beginning-of-statement-1):
17713 Prevent "class foo : bar" being spuriously recognized as a label.
17714
17715 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
17716 Add parameter `inclusive' (to include enclosing braces in the region).
17717 (c-widen-to-enclosing-decl-scope): New function.
17718 (c-while-widening-to-decl-block): New macro.
17719 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
17720 outward for defun boundaries, and correspondingly change symbol
17721 `respect-enclosure' to `go-outward'.
17722 (c-declaration-limits): Change algorithm to report only the "innermost"
17723 defun's boundaries.
17724
17725 2011-10-28 Deniz Dogan <deniz@dogan.se>
17726
17727 * net/rcirc.el (rcirc-mode): Use hard newlines.
17728
17729 2011-10-28 Alan Mackenzie <acm@muc.de>
17730
17731 Amend to indent and fontify macros "which include their own semicolon"
17732 correctly, using the "virtual semicolon" mechanism.
17733
17734 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
17735
17736 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
17737 Recode to scan one line at a time rather than having \n and \r
17738 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
17739 (c-forward-label): Amend for virtual semicolons.
17740 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
17741
17742 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
17743 of the new C macros.
17744
17745 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
17746 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
17747 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
17748 (c-opt-cpp-macro-define): Make into a full language variable.
17749 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
17750 AWK Mode (including \n, \r) removed, no longer needed.
17751
17752 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
17753 Invoke c-make-macro-with-semi-re.
17754
17755 * progmodes/cc-vars.el (c-macro-with-semi-re):
17756 (c-macro-names-with-semicolon): New variables.
17757 (c-make-macro-with-semi-re): New function.
17758
17759 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
17760
17761 * vc/log-edit.el: Fill empty field rather than adding new one.
17762 (log-edit-add-field): New function.
17763 (log-edit-insert-changelog): Use it.
17764
17765 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
17766
17767 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
17768
17769 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
17770
17771 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
17772 (gdb--check-interpreter): New function.
17773 (gdb): Use it.
17774
17775 2011-10-27 Glenn Morris <rgm@gnu.org>
17776
17777 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
17778 (least-positive-float, least-negative-float)
17779 (least-positive-normalized-float, least-negative-normalized-float)
17780 (float-epsilon, float-negative-epsilon):
17781 Remove unnecessary declarations.
17782
17783 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
17784 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
17785 (least-positive-float, least-negative-float)
17786 (least-positive-normalized-float, least-negative-normalized-float)
17787 (float-epsilon, float-negative-epsilon): Add doc-strings,
17788 based on those in cl.texi.
17789
17790 * files.el (set-visited-file-name): If the major-mode changed,
17791 reload the local variables. (Bug#9796)
17792
17793 2011-10-27 Chong Yidong <cyd@gnu.org>
17794
17795 * subr.el (change-major-mode-after-body-hook): New hook.
17796 (run-mode-hooks): Run it.
17797
17798 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
17799 Use change-major-mode-before-body-hook.
17800
17801 * simple.el (fundamental-mode):
17802 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
17803 change introducing fundamental-mode-hook.
17804
17805 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
17806
17807 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
17808
17809 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
17810
17811 * ido.el (ido-file-name-all-completions-1): Do not require
17812 tramp.el explicitly. (Bug#7583)
17813
17814 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
17815
17816 * progmodes/octave-mod.el:
17817 * progmodes/octave-inf.el: Update maintainer.
17818
17819 2011-10-26 Chong Yidong <cyd@gnu.org>
17820
17821 * subr.el (with-wrapper-hook): Rewrite doc.
17822
17823 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
17824
17825 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
17826 filenames "/method:foo:". (Bug#9793)
17827
17828 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
17829
17830 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
17831 (bug#9865).
17832
17833 2011-10-24 Glenn Morris <rgm@gnu.org>
17834
17835 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
17836
17837 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
17838
17839 * notifications.el: Add the requirement of a running D-Bus session
17840 bus to the Commentary.
17841
17842 2011-10-24 Juri Linkov <juri@jurta.org>
17843
17844 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
17845 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
17846 (Bug#9364)
17847
17848 2011-10-24 Juri Linkov <juri@jurta.org>
17849
17850 * info.el (Info-following-node-name-re): Add newline to the list
17851 of allowed characters for leading space. (Bug#9824)
17852
17853 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
17854
17855 * progmodes/octave-inf.el (inferior-octave-mode-map):
17856 Fix C-c C-h binding.
17857 * progmodes/octave-mod.el (octave-help): Remove.
17858
17859 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
17860
17861 Sync with Tramp 2.2.3.
17862
17863 * net/tramp-cache.el (top): Pacify byte-compiler using
17864 `init-file-user' and `site-run-file'.
17865
17866 * net/trampver.el: Update release number.
17867
17868 2011-10-23 Chong Yidong <cyd@gnu.org>
17869
17870 * files.el (toggle-read-only): Remove obsolete comment about
17871 version control.
17872
17873 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
17874 for toggle-read-only. Note that this hasn't called vc-next-action
17875 since 2008-05-02, though it wasn't documented at the time.
17876
17877 * vc/ediff-init.el (ediff-toggle-read-only-function):
17878 Use toggle-read-only.
17879
17880 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
17881
17882 Fix bug #9560, sporadic wrong indentation; improve instrumentation
17883 of c-parse-state.
17884
17885 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
17886 correct faulty logical expression.
17887 (c-parse-state-state, c-record-parse-state-state):
17888 (c-replay-parse-state-state): New defvar/defuns.
17889 (c-debug-parse-state): Use new functions.
17890
17891 2011-10-22 Martin Rudalics <rudalics@gmx.at>
17892
17893 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
17894 last fix. Use window-in-direction correctly.
17895
17896 2011-10-21 Chong Yidong <cyd@gnu.org>
17897
17898 * progmodes/idlwave.el (idlwave-mode):
17899 * progmodes/vera-mode.el (vera-mode): No need to set
17900 require-final-newline; that's done in prog-mode.
17901 Suggested by Stefan Monnier.
17902
17903 2011-10-21 Martin Rudalics <rudalics@gmx.at>
17904
17905 * mouse.el (mouse-drag-window-above)
17906 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
17907 (mouse-drag-mode-line-1, mouse-drag-header-line)
17908 (mouse-drag-vertical-line-rightward-window): Remove.
17909 (mouse-drag-line): New function.
17910 (mouse-drag-mode-line, mouse-drag-header-line)
17911 (mouse-drag-vertical-line): Call mouse-drag-line.
17912 * window.el (window-at-side-p, windows-at-side): New functions.
17913
17914 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
17915
17916 * tar-mode.el (tar-grind-file-mode):
17917 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
17918
17919 2011-10-21 Chong Yidong <cyd@gnu.org>
17920
17921 * progmodes/idlwave.el (idlwave-mode):
17922 * progmodes/vera-mode.el (vera-mode):
17923 Use mode-require-final-newline.
17924
17925 2011-10-20 Glenn Morris <rgm@gnu.org>
17926
17927 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
17928
17929 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
17930
17931 * emulation/cua-base.el (cua-set-mark): Fix case of string.
17932
17933 2011-10-20 Chong Yidong <cyd@gnu.org>
17934
17935 * emulation/cua-base.el (cua-mode):
17936 * mail/footnote.el (footnote-mode):
17937 * mail/mailabbrev.el (mail-abbrevs-mode):
17938 * net/xesam.el (xesam-minor-mode):
17939 * progmodes/bug-reference.el (bug-reference-mode):
17940 * progmodes/cap-words.el (capitalized-words-mode):
17941 * progmodes/compile.el (compilation-minor-mode)
17942 (compilation-shell-minor-mode):
17943 * progmodes/gud.el (gud-tooltip-mode):
17944 * progmodes/hideif.el (hide-ifdef-mode):
17945 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
17946 * progmodes/subword.el (subword-mode):
17947 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
17948 * progmodes/which-func.el (which-function-mode):
17949 * term/tvi970.el (tvi970-set-keypad-mode):
17950 * term/vt100.el (vt100-wide-mode):
17951 * textmodes/flyspell.el (flyspell-mode):
17952 * textmodes/ispell.el (ispell-minor-mode):
17953 * textmodes/nroff-mode.el (nroff-electric-mode):
17954 * textmodes/paragraphs.el (use-hard-newlines):
17955 * textmodes/refill.el (refill-mode):
17956 * textmodes/reftex.el (reftex-mode):
17957 * textmodes/rst.el (rst-minor-mode):
17958 * textmodes/sgml-mode.el (html-autoview-mode)
17959 (sgml-electric-tag-pair-mode):
17960 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
17961 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
17962 * emulation/crisp.el (crisp-mode):
17963 * emacs-lisp/eldoc.el (eldoc-mode):
17964 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
17965 minor mode behavior.
17966
17967 2011-10-19 Juri Linkov <juri@jurta.org>
17968
17969 * descr-text.el (describe-char): Add #x2010 and #x2011 to
17970 the list of hard-coded chars with escape-glyph face.
17971
17972 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
17973
17974 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
17975
17976 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
17977
17978 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
17979 running process.
17980
17981 2011-10-19 Glenn Morris <rgm@gnu.org>
17982
17983 * vc/vc-bzr.el (vc-bzr-after-dir-status):
17984 Ignore ignored files. (Bug#9726)
17985
17986 2011-10-19 Chong Yidong <cyd@gnu.org>
17987
17988 Doc fix for minor modes, stating that an omitted argument enables
17989 the mode unconditionally when called from Lisp.
17990
17991 * abbrev.el (abbrev-mode):
17992 * allout.el (allout-mode):
17993 * autoinsert.el (auto-insert-mode):
17994 * autoarg.el (autoarg-mode, autoarg-kp-mode):
17995 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
17996 (global-auto-revert-mode):
17997 * battery.el (display-battery-mode):
17998 * composite.el (global-auto-composition-mode)
17999 (auto-composition-mode):
18000 * delsel.el (delete-selection-mode):
18001 * desktop.el (desktop-save-mode):
18002 * dired-x.el (dired-omit-mode):
18003 * dirtrack.el (dirtrack-mode):
18004 * doc-view.el (doc-view-minor-mode):
18005 * double.el (double-mode):
18006 * electric.el (electric-indent-mode, electric-pair-mode):
18007 * emacs-lock.el (emacs-lock-mode):
18008 * epa-hook.el (auto-encryption-mode):
18009 * follow.el (follow-mode):
18010 * font-core.el (font-lock-mode):
18011 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
18012 * help.el (temp-buffer-resize-mode):
18013 * hilit-chg.el (highlight-changes-mode)
18014 (highlight-changes-visible-mode):
18015 * hi-lock.el (hi-lock-mode):
18016 * hl-line.el (hl-line-mode, global-hl-line-mode):
18017 * icomplete.el (icomplete-mode):
18018 * ido.el (ido-everywhere):
18019 * image-file.el (auto-image-file-mode):
18020 * image-mode.el (image-minor-mode):
18021 * iswitchb.el (iswitchb-mode):
18022 * jka-cmpr-hook.el (auto-compression-mode):
18023 * linum.el (linum-mode):
18024 * longlines.el (longlines-mode):
18025 * master.el (master-mode):
18026 * mb-depth.el (minibuffer-depth-indicate-mode):
18027 * menu-bar.el (menu-bar-mode):
18028 * minibuf-eldef.el (minibuffer-electric-default-mode):
18029 * mouse-sel.el (mouse-sel-mode):
18030 * msb.el (msb-mode):
18031 * mwheel.el (mouse-wheel-mode):
18032 * outline.el (outline-minor-mode):
18033 * paren.el (show-paren-mode):
18034 * recentf.el (recentf-mode):
18035 * reveal.el (reveal-mode, global-reveal-mode):
18036 * rfn-eshadow.el (file-name-shadow-mode):
18037 * ruler-mode.el (ruler-mode):
18038 * savehist.el (savehist-mode):
18039 * scroll-all.el (scroll-all-mode):
18040 * scroll-bar.el (scroll-bar-mode):
18041 * server.el (server-mode):
18042 * shell.el (shell-dirtrack-mode):
18043 * simple.el (auto-fill-mode, transient-mark-mode)
18044 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
18045 (line-number-mode, column-number-mode, size-indication-mode)
18046 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
18047 * strokes.el (strokes-mode):
18048 * time.el (display-time-mode):
18049 * t-mouse.el (gpm-mouse-mode):
18050 * tool-bar.el (tool-bar-mode):
18051 * tooltip.el (tooltip-mode):
18052 * type-break.el (type-break-mode-line-message-mode)
18053 (type-break-query-mode):
18054 * view.el (view-mode):
18055 * whitespace.el (whitespace-mode, whitespace-newline-mode)
18056 (global-whitespace-mode, global-whitespace-newline-mode):
18057 * xt-mouse.el (xterm-mouse-mode): Doc fix.
18058
18059 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
18060 Fix autogenerated docstring.
18061
18062 2011-10-19 Juri Linkov <juri@jurta.org>
18063
18064 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
18065 by checking environment variables "DESKTOP_SESSION" and
18066 "XDG_CURRENT_DESKTOP". (Bug#9779)
18067
18068 2011-10-19 Juri Linkov <juri@jurta.org>
18069
18070 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
18071 (browse-url-chromium-program, browse-url-chromium-arguments):
18072 New defcustoms.
18073 (browse-url-default-browser): Check for `browse-url-chromium' and
18074 call `browse-url-chromium-program'.
18075 (browse-url-chromium): New command. (Bug#9779)
18076
18077 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
18078
18079 * facemenu.el (list-colors-duplicates): On Windows, detect more
18080 duplicates by assuming that only colors matching "^System" are
18081 special "system colors". (Bug#9722)
18082
18083 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
18084
18085 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
18086 to distinguish the author from the committer.
18087
18088 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
18089
18090 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
18091
18092 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
18093
18094 * international/mule.el (sgml-html-meta-auto-coding-function):
18095 Add support for detecting encoding in HTML5 specified only as
18096 <meta charset="UTF-8">. Implementation just makes http-equiv and
18097 content-type parts from HTML4 encoding string optional. (Bug#9716)
18098
18099 2011-10-18 Glenn Morris <rgm@gnu.org>
18100
18101 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
18102
18103 2011-10-18 Chong Yidong <cyd@gnu.org>
18104
18105 * faces.el (cursor): Doc fix.
18106
18107 2011-10-17 Chong Yidong <cyd@gnu.org>
18108
18109 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
18110
18111 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
18112
18113 * dirtrack.el (dirtrack): Support shell buffers with path
18114 prefixes, e.g. tramp-based remote shells. (Bug#9647)
18115
18116 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
18117
18118 * json.el: Bump version to 1.3 and note change in History.
18119 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
18120
18121 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
18122
18123 * comint.el (comint-insert-input, comint-send-input)
18124 (comint-get-old-input-default, comint-backward-matching-input)
18125 (comint-next-prompt): Use nil instead of `input' for field property of
18126 past user input (bug#114).
18127
18128 * minibuffer.el (completion--replace): Inherit surrounding properties
18129 (bug#114).
18130 (minibuffer-complete-and-exit): Use it.
18131
18132 * comint.el (comint--table-subvert): Quote the all-completions output
18133 (bug#9160).
18134
18135 2011-10-17 Martin Rudalics <rudalics@gmx.at>
18136
18137 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
18138
18139 * menu-bar.el (menu-bar-file-menu): Add entry for making new
18140 window on right of selected. (Bug#9350) Reword other window
18141 entries and separate them from frame entries.
18142
18143 2011-10-15 Glenn Morris <rgm@gnu.org>
18144
18145 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
18146 Doc fixes.
18147
18148 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
18149
18150 * net/network-stream.el (network-stream-open-starttls):
18151 Improve detection of failure due to lack of TLS support.
18152
18153 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
18154 putting the input text in front and in bold.
18155
18156 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
18157
18158 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
18159
18160 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
18161 empty buffer.
18162
18163 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
18164 unread-command-events rather than pushing yet-another event.
18165
18166 2011-10-14 Eli Zaretskii <eliz@gnu.org>
18167
18168 * mail/sendmail.el (sendmail-query-once): Improve the wording of
18169 the explanation of the possible choices. Make the options passed
18170 to completing-read shorter.
18171
18172 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
18173
18174 * textmodes/flyspell.el (flyspell-large-region): Make sure
18175 extended character mode is used if defined (Bug#1339).
18176
18177 2011-10-13 Eli Zaretskii <eliz@gnu.org>
18178
18179 * simple.el (what-cursor-position): Fix the display of the
18180 character info for LRE, LRO, RLE, and RLO characters by appending
18181 an invisible PDF.
18182
18183 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
18184
18185 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
18186 even in case of error; add debug spec; simplify data flow.
18187 (with-timeout-handler): Remove.
18188
18189 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
18190
18191 Fix Bug#6019, Bug#9315.
18192
18193 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
18194 complete `buffer-file-name', the local file name part could look
18195 remotely (for example on VMS).
18196
18197 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
18198 `tramp-run-real-handler'.
18199 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
18200 already quoted by '"'.
18201
18202 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
18203 Let `file-name-handler-alist' be nil, the local file name part
18204 could look remotely (for example on VMS).
18205
18206 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
18207
18208 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
18209 from here...
18210 (flyspell-post-command-hook): ...to here.
18211
18212 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
18213
18214 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
18215 if not needed.
18216 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
18217 using completion. Protect against "slow" callers.
18218 Remove the "message hack".
18219
18220 2011-10-11 Juri Linkov <juri@jurta.org>
18221
18222 * isearch.el (isearch-lazy-highlight-word): New variable.
18223 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
18224 Use it. (Bug#9727)
18225
18226 2011-10-11 Glenn Morris <rgm@gnu.org>
18227
18228 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
18229 like f90-previous-statement does.
18230
18231 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
18232
18233 * eshell/eshell.el (eshell-command): History should be saved
18234 only in interactive use, to avoid error.
18235
18236 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
18237
18238 * minibuffer.el (completion-file-name-table): Fix last change,
18239 i.e. ignore normal errors but not the other ones.
18240
18241 2011-10-10 Martin Rudalics <rudalics@gmx.at>
18242
18243 * window.el (special-display-buffer-names)
18244 (special-display-regexps): Remove some remnants of earlier
18245 changes from doc-strings.
18246 (quit-windows-on): New function.
18247
18248 * vc/vc.el (vc-revert, vc-rollback):
18249 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
18250 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
18251 (Bug#6183) (Bug#7074) (Bug#7447)
18252
18253 2011-10-09 Martin Rudalics <rudalics@gmx.at>
18254
18255 * window.el (frame-auto-hide-function): Add version tag.
18256 (Bug#9699)
18257
18258 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
18259
18260 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
18261 condition.
18262
18263 2011-10-09 Leo Liu <sdl.web@gmail.com>
18264
18265 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
18266 (Bug#9701)
18267
18268 2011-10-08 Glenn Morris <rgm@gnu.org>
18269
18270 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
18271 before the first code statement zero indent. (Bug#9690)
18272
18273 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
18274
18275 * simple.el (count-words-region): Always count in the region.
18276 Report the number of lines and characters too.
18277 (count-words): New command, which counts in the buffer if the
18278 region is inactive, as count-words-region used to.
18279 (count-words--message): New function. Handle plurals.
18280 (count-lines-region): Make it an alias for count-words-region.
18281
18282 * bindings.el (esc-map): Replace count-lines-region with
18283 count-words-region.
18284
18285 2011-10-08 Martin Rudalics <rudalics@gmx.at>
18286
18287 * window.el (window--delete): Delete dedicated frame
18288 unconditionally when argument KILL is non-nil. (Bug#9699)
18289 (switch-to-buffer): Fix doc-string typo.
18290
18291 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
18292
18293 * eshell/eshell.el (eshell-command): Avoid using hooks.
18294
18295 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
18296
18297 * bindings.el ([M-left],[M-right]): Bind to left-word and
18298 right-word respectively.
18299
18300 2011-10-07 Glenn Morris <rgm@gnu.org>
18301
18302 * cus-start.el (debug-on-quit): Fix custom type.
18303
18304 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
18305
18306 * subr.el (define-key-after): Clarify that the function is not
18307 useful for non-menu keymaps.
18308
18309 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
18310
18311 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
18312
18313 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
18314 in current minibuffer (Fix bug with recursive minibuffers).
18315
18316 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
18317
18318 * progmodes/gdb-mi.el (gdb): Doc fix.
18319
18320 2011-10-05 Martin Rudalics <rudalics@gmx.at>
18321
18322 * window.el (frame-auto-hide-function): New option replacing
18323 frame-auto-delete. Suggested by Stefan Monnier.
18324 (window--delete): Call frame-auto-hide-function instead of
18325 investigating frame-auto-delete.
18326 (window-point-1, set-window-point-1): New functions.
18327 (window-in-direction, record-window-buffer, window-state-get-1)
18328 (display-buffer-record-window): Use window-point-1 instead of
18329 window-point.
18330 (set-window-buffer-start-and-point): Use set-window-point-1.
18331
18332 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
18333
18334 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
18335
18336 2011-10-05 Glenn Morris <rgm@gnu.org>
18337
18338 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
18339 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
18340
18341 2011-10-05 Leo Liu <sdl.web@gmail.com>
18342
18343 * subr.el (read-char-choice): Fix argument to buffer-live-p which
18344 works with buffer object.
18345
18346 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
18347
18348 * mpc.el (mpc-tool-bar-map): Add labels.
18349
18350 2011-10-04 Glenn Morris <rgm@gnu.org>
18351
18352 * calendar/holidays.el (calendar-check-holidays): Doc fix.
18353
18354 2011-10-04 Martin Rudalics <rudalics@gmx.at>
18355
18356 * window.el (window--delete): New function.
18357 (frame-auto-delete): Resuscitate option.
18358 (bury-buffer, replace-buffer-in-windows)
18359 (quit-window): Rewrite using window--delete.
18360 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
18361 Pass display-buffer-mark-dedicated to window--display-buffer-2
18362 (Bug#9639).
18363
18364 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
18365
18366 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
18367 returns a list (bug#9554). Add remote file name completion.
18368 * comint.el (comint--table-subvert): Curry and get quote&unquote
18369 functions as arguments.
18370 (comint--complete-file-name-data): Adjust call accordingly.
18371 * pcomplete.el (pcomplete--table-subvert): Remove.
18372 (pcomplete-completions-at-point): Use comint--table-subvert instead.
18373
18374 * minibuffer.el (completion-table-case-fold): Use currying.
18375 (completion--styles-type, completion--cycling-threshold-type):
18376 New constants.
18377 (completion-styles, completion-category-overrides)
18378 (completion-cycle-threshold): Use them.
18379 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
18380 completion-table-case-fold.
18381
18382 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
18383
18384 * minibuffer.el (completion-category-overrides): Fix type of styles
18385 and add more user friendly tags (bug#9660).
18386
18387 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
18388
18389 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
18390 (mule-input-method-string): New widget.
18391 (default-input-method, language-info-custom-alist): Use it.
18392
18393 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
18394
18395 * pcomplete.el: Require comint.
18396 (pcomplete--common-suffix): Remove.
18397 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
18398 (pcomplete--table-subvert): Sync with comint--table-subvert.
18399 (pcomplete--entries): Use comint-completion-file-name-table.
18400 * comint.el (comint-unquote-filename): Simplify.
18401 (comint-completion-file-name-table): New function (bug#9616).
18402 (comint--complete-file-name-data): Use it.
18403
18404 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
18405 (pcmpl-gnu-tar-buffer): Remove.
18406 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
18407 around. Make sure pcomplete-suffix-list is only changed temporarily.
18408 Don't look inside the tar's file if it's too large.
18409
18410 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
18411
18412 * cus-edit.el (custom-mode-map):
18413 * epa.el (epa-key-list-mode-map):
18414 * man.el (Man-mode-map):
18415 * startup.el (splash-screen-keymap):
18416 * simple.el (special-mode-map): Use scroll-up-command and
18417 scroll-down-command.
18418
18419 * progmodes/idlw-help.el (idlwave-help-mode-map):
18420 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
18421 * net/newst-plainview.el (newsticker-mode-map):
18422 * emulation/ws-mode.el (wordstar-mode-map):
18423 * emulation/vi.el (vi-com-map):
18424 * calc/calc-graph.el (calc-graph-show-dumb):
18425 * term/sun.el (terminal-init-sun):
18426 * term/ns-win.el (global-map):
18427 * progmodes/grep.el (grep-mode-map):
18428 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
18429 * mail/rmail.el (rmail-mode-map):
18430 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
18431
18432 * custom.el (custom-safe-themes, load-theme): Treat value of t for
18433 custom-safe-themes as special.
18434
18435 2011-10-01 Julien Danjou <julien@danjou.info>
18436
18437 * notifications.el (notifications-notify): Fix docstring.
18438
18439 2011-10-01 Per Starbäck <per@starback.se>
18440
18441 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
18442
18443 2011-09-30 Martin Rudalics <rudalics@gmx.at>
18444
18445 * startup.el (command-line-1): Fix last fix by inserting
18446 initial-scratch-message into *scratch* before displaying it.
18447 (Bug#9605) and (Bug#9636)
18448
18449 2011-09-29 Eli Zaretskii <eliz@gnu.org>
18450
18451 * simple.el (line-move): If auto-hscroll-mode is disabled and the
18452 window is hscrolled, move by logical lines. (Bug#9607)
18453 (line-move-visual): Update the doc string to the above effect.
18454
18455 2011-09-29 Martin Rudalics <rudalics@gmx.at>
18456
18457 * window.el (display-buffer-record-window): When WINDOW is the
18458 selected window use `point' instead of `window-point'. (Bug#9626)
18459
18460 * startup.el (command-line-1): Use insert-before-markers when
18461 inserting initial-scratch-message. (Bug#9605)
18462
18463 * help.el (help-window): Remove variable.
18464
18465 2011-09-29 Glenn Morris <rgm@gnu.org>
18466
18467 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
18468
18469 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
18470
18471 * descr-text.el (describe-char-categories): Accept category
18472 descriptions more than one line long.
18473
18474 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
18475
18476 * simple.el (delete-trailing-whitespace): Fix last change.
18477
18478 * progmodes/perl-mode.el (perl-syntax-propertize-function):
18479 Don't confuse "y => 3" as the beginning of a `y' operation.
18480
18481 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
18482 object has more than 4 slots (bug#9613).
18483
18484 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
18485
18486 * subr.el (with-output-to-temp-buffer):
18487 * net/quickurl.el (quickurl, quickurl-browse-url):
18488 Fix typos in docstrings.
18489
18490 2011-09-27 Eli Zaretskii <eliz@gnu.org>
18491
18492 * minibuffer.el (completion-styles)
18493 (completion-category-overrides): Cross reference each other in doc
18494 strings.
18495
18496 2011-09-27 Glenn Morris <rgm@gnu.org>
18497
18498 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
18499 to split-string. (Bug#9606)
18500
18501 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
18502
18503 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
18504 (bug#9615).
18505
18506 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
18507
18508 * emacs-lisp/package.el (list-packages): Fix echo area message.
18509
18510 2011-09-27 Leo Liu <sdl.web@gmail.com>
18511
18512 * ido.el (ido-read-internal): Accept cons cell HIST arg.
18513
18514 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
18515
18516 * net/dbus.el (dbus-unregister-object): Don't release services for
18517 registered signals. (Bug#9581)
18518
18519 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
18520
18521 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
18522 function that picks between cfengine 2 and 3 support
18523 automatically. Update docs accordingly.
18524
18525 2011-09-22 Kenichi Handa <handa@m17n.org>
18526
18527 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
18528 ZERO.
18529 (indian-itrans-v5-table-for-tamil): New variable.
18530 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
18531
18532 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
18533
18534 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
18535 that's true if the current command involved collapsing of text.
18536 It's reset to false at the beginning of the next command.
18537 (allout-post-command-business): Move the cursor to the beginning
18538 of entry if the cursor is hidden and collapsing activity just
18539 happened.
18540
18541 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
18542
18543 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
18544 tracking (Bug#9541).
18545
18546 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
18547
18548 * net/newst-reader.el (newsticker-html-renderer)
18549 (newsticker-show-news): Automatically load html rendering package
18550 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
18551 because w3m-fill-column is let-bound" and the error "Symbol's value
18552 as variable is void: w3m-fill-column".
18553
18554 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
18555
18556 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
18557 Release services only if they are defined. (Bug#9581)
18558
18559 2011-09-23 Richard Stallman <rms@gnu.org>
18560
18561 * textmodes/paragraphs.el (forward-sentence): For backwards case,
18562 distinguish start of paragraph from start of its text.
18563
18564 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
18565
18566 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
18567 (rmail-generate-viewer-buffer): Put that hook on view buffer.
18568 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
18569
18570 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
18571
18572 * international/mule-diag.el (mule-diag): Insert a newline after
18573 each fontset description.
18574
18575 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
18576
18577 * simple.el (delete-trailing-whitespace):
18578 Document last change; simplify.
18579
18580 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
18581
18582 * simple.el (delete-trailing-whitespace): Also delete
18583 extra newlines at the end of the buffer.
18584
18585 * textmodes/picture.el: Make motion commands obey shift-select-mode.
18586 (picture-newline): Use forward-line so as to ignore fields.
18587
18588 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
18589
18590 * subr.el (with-wrapper-hook): Fix edebug spec.
18591
18592 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
18593
18594 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
18595 (bug#4538).
18596
18597 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
18598
18599 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
18600 Fix nasty bug using wrong cached values.
18601
18602 2011-09-23 Alan Mackenzie <acm@muc.de>
18603
18604 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
18605
18606 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
18607
18608 * window.el (pop-to-buffer): Ensure right window is selected if we
18609 chose another frame.
18610
18611 2011-09-22 Eli Zaretskii <eliz@gnu.org>
18612
18613 * simple.el (what-cursor-position): Use get-char-property-change
18614 and next-single-char-property-change, to be able to show display
18615 properties that come from overlays as well as text properties.
18616
18617 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
18618
18619 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
18620
18621 * cmuscheme.el (run-scheme, switch-to-scheme):
18622 * cus-edit.el (customize-group, custom-buffer-create)
18623 (customize-browse):
18624 * info.el (info):
18625 * shell.el (shell):
18626 * mail/sendmail.el (mail):
18627 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
18628
18629 2011-09-22 Richard Stallman <rms@gnu.org>
18630
18631 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
18632 move back only to line beg, don't move back over blank lines.
18633
18634 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
18635
18636 * files.el (copy-directory): Set directory attributes only in case
18637 they could be retrieved from the source directory. (Bug#9565)
18638
18639 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
18640
18641 * progmodes/hideshow.el (hs-looking-at-block-start-p)
18642 (hs-find-block-beginning, hs-hide-level-recursive):
18643 Ignore strings as well as comments. (Bug#9502)
18644
18645 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
18646
18647 * progmodes/sql.el (sql-comint-postgres):
18648 Convert port number to a string. (Bug#9566)
18649
18650 2011-09-22 Martin Rudalics <rudalics@gmx.at>
18651
18652 * window.el (quit-window): Undedicate window when switching to
18653 previous buffer. Reported by Thierry Volpiatto
18654 <thierry.volpiatto@gmail.com>.
18655 (special-display-popup-frame): When popping up a new frame reset
18656 its previous buffers to nil. Simplify code.
18657
18658 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
18659
18660 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
18661 and process filter, as done also in `shell-command'.
18662
18663 2011-09-21 Martin Rudalics <rudalics@gmx.at>
18664
18665 * window.el (set-window-buffer-start-and-point):
18666 Call set-window-start with NOFORCE argument t.
18667 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
18668 (quit-window): Reword doc-string. Handle new format of
18669 quit-restore parameter. Don't delete window if it has a
18670 previous buffer we can show instead of the present one.
18671 (display-buffer-record-window): Rewrite using a new format for
18672 the quit-restore window parameter
18673 (special-display-popup-frame, display-buffer-same-window)
18674 (display-buffer-reuse-window, display-buffer-pop-up-frame)
18675 (display-buffer-pop-up-window, display-buffer-use-some-window):
18676 Adapt symbol passed to display-buffer-record-window.
18677 * help.el (help-window-setup): Handle new format of quit-restore
18678 parameter.
18679
18680 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
18681
18682 * faces.el (face-list): Fix docstring (bug#9564).
18683
18684 * window.el (display-buffer--action-function-custom-type):
18685 Don't include internal functions in the Custom interface.
18686
18687 2011-09-20 Juri Linkov <juri@jurta.org>
18688
18689 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
18690 (Info-forward-node, Info-backward-node, Info-next-preorder)
18691 (Info-last-preorder): Use it. (Bug#9528)
18692
18693 2011-09-20 Juri Linkov <juri@jurta.org>
18694
18695 * info.el (Info-last-preorder): Visit last menu item only when
18696 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
18697
18698 2011-09-20 Julien Danjou <julien@danjou.info>
18699
18700 * password-cache.el (password-cache-remove): Remove entries even if the
18701 value is nil, so that password with a nil value (negative caching) is
18702 possible to invalidate.
18703
18704 2011-09-20 Lawrence Mitchell <wence@gmx.li>
18705
18706 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
18707 all whitespace around breakpoint. (Bug#9553)
18708 (f90-find-breakpoint): Only break at whitespace inside a comment.
18709
18710 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
18711
18712 * minibuffer.el (completion-file-name-table): Keep track of errors.
18713 (completion-table-with-predicate): Handle the case where pred1 is nil.
18714 * pcomplete.el (pcomplete-completions-at-point): Simplify.
18715
18716 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
18717
18718 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
18719 (debugger-return-value): Signal an error if the debugging context does
18720 not await any return value.
18721
18722 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
18723 * image-mode.el (image-toggle-display-text)
18724 (image-toggle-display-image): Stay away from evil `intangible'.
18725
18726 2011-09-19 Leo Liu <sdl.web@gmail.com>
18727
18728 * replace.el (occur-revert-arguments): Make it permanent-local.
18729 (occur-mode): Don't call font-lock-defontify.
18730
18731 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
18732
18733 * net/ldap.el (ldap-search-internal): Don't push empty search
18734 result (Bug#9508).
18735
18736 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
18737
18738 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
18739
18740 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
18741
18742 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
18743 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
18744
18745 2011-09-18 Juri Linkov <juri@jurta.org>
18746
18747 * buff-menu.el (Buffer-menu-mode-map):
18748 * dired.el (dired-mode-map):
18749 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
18750 (lisp-interaction-mode-map):
18751 * emacs-lisp/package.el (package-menu-mode-map):
18752 * epa.el (epa-key-list-mode-map):
18753 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
18754 (menu-bar-options-menu):
18755 * outline.el (outline-mode-menu-bar-map):
18756 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
18757 * vc/vc-dir.el (vc-dir-menu-map):
18758 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
18759 Capitalize non-function content words in menu item strings.
18760
18761 * dired.el (dired-mode-map): Add menu item for
18762 `image-dired-dired-toggle-marked-thumbs'.
18763
18764 2011-09-18 Juri Linkov <juri@jurta.org>
18765
18766 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
18767 to `isearch-case-fold-search' and restore its original value
18768 after the `isearch-mode' call.
18769
18770 2011-09-18 Juri Linkov <juri@jurta.org>
18771
18772 * progmodes/grep.el (grep-process-setup): Don't check code for 1
18773 because `zgrep' returns 1 for successful matches (bug#9226).
18774
18775 2011-09-18 Juri Linkov <juri@jurta.org>
18776
18777 * info.el (Info-extract-menu-node-name): Check the second match
18778 for empty string (second test-case of bug#9528).
18779 (Info-last-preorder): Let-bind `Info-history' to nil to not add
18780 intermediate nodes to the history (first test-case of bug#9528).
18781
18782 2011-09-18 Juri Linkov <juri@jurta.org>
18783
18784 * info.el (Info-mode-syntax-table): New variable.
18785 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
18786
18787 2011-09-18 Juri Linkov <juri@jurta.org>
18788
18789 * info.el (Info-file-supports-index-cookies):
18790 Increment line-beginning-position's arg from 3 to 4 because makeinfo
18791 outputs one more line for long file names (bug#4142).
18792
18793 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
18794
18795 * newcomment.el (comment-normalize-vars): If prompting for
18796 comment-start, set comment-start-skip too (Bug#8424).
18797
18798 2011-09-18 Johan Bockgård <bojohan@gnu.org>
18799
18800 * icomplete.el: Fix previous fix of Bug#5849.
18801 (icomplete-mode): Don't set completion-show-inline-help.
18802 (icomplete-minibuffer-setup): Set completion-show-inline-help
18803 locally during icompletion.
18804
18805 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
18806
18807 * woman.el (woman2-process-escapes): Don't delete unrecognized
18808 escapes (Bug#7843).
18809
18810 * files.el (inhibit-first-line-modes-regexps): Add image files.
18811 (hack-local-variables-prop-line): Return nil for malformed
18812 prop-lines (Bug#9044).
18813
18814 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
18815
18816 * net/tramp.el (top): Don't require 'shell.
18817 (tramp-methods): Fix docstring.
18818 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
18819 Return complete remote file name. Handle "smb" case.
18820 Use `tramp-tmpdir', if defined for the respective method.
18821 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
18822
18823 * net/tramp-compat.el (top): Require 'shell.
18824
18825 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
18826 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
18827 `tramp-current-host'.
18828 (tramp-get-remote-tmpdir): Remove.
18829
18830 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
18831 `tramp-tmpdir' entries.
18832 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
18833 (tramp-smb-handle-file-attributes): Ignore errors.
18834 (tramp-smb-wait-for-output): Check also for process end.
18835
18836 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
18837
18838 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
18839 when sending QUIT (bug#9312).
18840
18841 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
18842
18843 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
18844 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
18845 occur-mode-display-occurrence.
18846 (occur-edit-mode): Add usage message.
18847 (occur-cease-edit): New command.
18848 (occur-after-change-function): Use text properties to find the
18849 position of the prefix text.
18850 (occur-engine): Set stickiness of prefix text properties.
18851
18852 2011-09-17 Glenn Morris <rgm@gnu.org>
18853
18854 * progmodes/etags.el (complete-tag):
18855 Fix call to completion-in-region. (Bug#9526)
18856
18857 2011-09-17 Juri Linkov <juri@jurta.org>
18858
18859 * textmodes/ispell.el (ispell-word): Add to the error message
18860 the word, ispell program name and current dictionary (bug#9121).
18861 (ispell-tex-arg-end): Capitalize "error" in the error message.
18862
18863 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
18864
18865 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
18866 check. (Bug#4251)
18867
18868 2011-09-17 Juri Linkov <juri@jurta.org>
18869
18870 * window.el (window-safe-min-height, window-safe-min-width):
18871 Fix typos (followup to bug#9522).
18872
18873 2011-09-17 Sven Joachim <svenjoac@gmx.de>
18874
18875 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
18876
18877 2011-09-16 Eli Zaretskii <eliz@gnu.org>
18878
18879 * simple.el (line-move): If goal-column is set, move by logical
18880 lines, not by display lines. (Bug#971)
18881 (next-line, previous-line, goal-column, line-move-visual): Doc fix
18882 to reflect the above change.
18883
18884 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
18885
18886 * image.el (imagemagick-register-types): Use regexp-opt.
18887
18888 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
18889
18890 * window.el (display-buffer-base-action): Rename from
18891 display-buffer-default-action. Make default value empty.
18892 (display-buffer-overriding-action): Convert to defvar.
18893 (display-buffer-fallback-action): New var.
18894
18895 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
18896
18897 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
18898 declaration.
18899 (package--add-to-archive-contents): If there is a duplicate entry
18900 with an older version, remove it.
18901 (package-menu-mark-delete, package-menu-mark-install)
18902 (package-menu-mark-unmark): Make unused args optional.
18903 (package-menu-mark-obsolete-for-deletion):
18904 Use package-menu-get-status instead of a regexp search.
18905 (package-menu-get-status): Use tabulated-list-entry.
18906 (package-menu-mark-upgrades): New command.
18907 (package-menu-mode-map): Bind it to U. Add it to menu bar.
18908 (package-menu-execute): Do installation before deletion.
18909 (package-menu-refresh, package-menu-execute): Use derived-mode-p
18910 instead of checking major-mode.
18911 (package-menu--find-upgrades): New function.
18912
18913 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
18914
18915 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
18916 passwords in the log buffer.
18917 (smtpmail-process-filter): Update the process marker so that the
18918 "broken by peer" status message is inserted in the right place.
18919
18920 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
18921
18922 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
18923 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
18924 bibtex-completion-at-point-function.
18925 (bibtex-completion-at-point-function): Use them.
18926
18927 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
18928
18929 * mpc.el (mpc-constraints-tag-lookup): New function.
18930 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
18931 also to browser "album|playlist".
18932
18933 2011-09-14 Juri Linkov <juri@jurta.org>
18934
18935 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
18936 (isearch-edit-string): Use length of `isearch-string' when
18937 `isearch-fail-pos' returns nil.
18938 (isearch-message): Remove duplicate code and call
18939 `isearch-fail-pos' with arg `t'.
18940
18941 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
18942
18943 * replace.el (occur-mode-goto-occurrence): Don't force using other
18944 window (Bug#9499).
18945
18946 * dired-aux.el (dired-do-chmod): Don't provide initial input.
18947
18948 2011-09-14 Martin Rudalics <rudalics@gmx.at>
18949
18950 * window.el (display-buffer-window): Remove.
18951 (display-buffer-record-window): Use help-setup window parameter
18952 instead of variable display-buffer-window.
18953 (display-buffer-function, special-display-buffer-names)
18954 (special-display-function): Mention help-setup parameter instead
18955 of display-buffer-window in doc-string.
18956 * help.el (help-window-setup): New argument help-window.
18957 Use help-window-setup parameter instead of display-buffer-window.
18958 Reword some messages.
18959 (with-help-window): Pass window used for displaying the buffer
18960 to help-window-setup. Don't set display-buffer-window.
18961
18962 2011-09-13 Glenn Morris <rgm@gnu.org>
18963
18964 * emacs-lisp/debug.el (debugger-make-xrefs):
18965 Preserve point. (Bug#9462)
18966
18967 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
18968
18969 * window.el (window-deletable-p): Use next-frame.
18970
18971 2011-09-13 Martin Rudalics <rudalics@gmx.at>
18972
18973 * window.el (window-auto-delete): Remove.
18974 (window-deletable-p): Remove argument FORCE. Don't deal with
18975 dedication and previous buffers.
18976 (switch-to-prev-buffer): Don't delete window.
18977 (delete-windows-on): Delete a window's frame if and only if the
18978 window is dedicated.
18979 (replace-buffer-in-windows): Delete buffer's window or frame if
18980 and only if window is dedicated.
18981 (quit-window): Handle quit-restore as before last change.
18982 (bury-buffer): Delete window only if window-deletable-p returns t.
18983
18984 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
18985
18986 * window.el (window-deletable-p): Never delete the last frame on a
18987 given terminal.
18988
18989 2011-09-13 Glenn Morris <rgm@gnu.org>
18990
18991 * help.el (describe-key-briefly): Copy previous standard-output change.
18992
18993 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
18994
18995 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
18996
18997 2011-09-13 Glenn Morris <rgm@gnu.org>
18998
18999 * emacs-lisp/lisp-mode.el (lisp-indent-function):
19000 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
19001
19002 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
19003
19004 * dired-aux.el (dired-mark-read-string): Don't return default
19005 value on empty input (Bug#9361).
19006 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
19007 Omit initial minibuffer contents.
19008 (dired-do-chmod): Signal an error on empty input.
19009 (dired-mark-read-string): Don't return default on empty input.
19010
19011 * files.el (file-modes-symbolic-to-number): Doc fix.
19012
19013 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
19014
19015 * international/mule-cmds.el (ucs-completions): Remove.
19016 (read-char-by-name): Use complete-with-action instead; add metadata.
19017
19018 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
19019
19020 * window.el (display-buffer--action-function-custom-type)
19021 (display-buffer--action-custom-type): New vars.
19022 (display-buffer-alist, display-buffer-default-action)
19023 (display-buffer-overriding-action): Add defcustom types.
19024
19025 * frame.el (delete-other-frames): Doc fix (Bug#276).
19026
19027 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
19028
19029 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
19030
19031 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
19032
19033 Change modes that used same-window-* vars to use switch-to-buffer.
19034
19035 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
19036 Use switch-to-buffer.
19037
19038 * cus-edit.el (customize-group, custom-buffer-create)
19039 (customize-browse, custom-buffer-create-other-window):
19040 Use switch-to-buffer or switch-to-buffer-other-window.
19041
19042 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
19043 (Info-prev, Info-up, Info-speedbar-goto-node)
19044 (info-display-manual): Use switch-to-buffer.
19045 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
19046
19047 * mail/sendmail.el (mail): Use switch-to-buffer.
19048 (mail-recover): Use switch-to-buffer-other-window.
19049
19050 * cmuscheme.el (run-scheme, switch-to-scheme):
19051 * ielm.el (ielm):
19052 * shell.el (shell):
19053 * net/rlogin.el (rlogin):
19054 * net/telnet.el (telnet, rsh):
19055 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
19056
19057 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
19058
19059 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
19060
19061 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
19062
19063 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
19064 so don't mention it (bug#9301).
19065 (dired-sort-toggle-or-edit): Clarify string further.
19066
19067 * faces.el (face-spec-set-match-display): Make `(type graphic)'
19068 match `x', `w32' and `ns', like the manual says (bug#9029).
19069
19070 * subr.el (eval-after-load): Doc string clarification (bug#9125).
19071 (process-kill-buffer-query-function): Mention the buffer name in
19072 the query.
19073
19074 * image-mode.el (image-next-line): The line parameter is mandatory
19075 (bug#9258).
19076
19077 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
19078 which can be useful (bug#9301).
19079
19080 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
19081
19082 * subr.el (match-string): Mention that the current buffer should
19083 be the same as the search was done in (bug#9282).
19084
19085 * facemenu.el: Disable the remove-* commands if the mark isn't
19086 active (bug#9162).
19087
19088 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
19089
19090 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
19091 of display-buffer.
19092 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
19093
19094 * replace.el (occur-mode-goto-occurrence)
19095 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
19096 and display-buffer.
19097
19098 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
19099 display-buffer.
19100
19101 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
19102 special-display and same-window variables.
19103 (mail-other-window): Use switch-to-buffer-other-window.
19104 (mail-other-frame): USe switch-to-buffer-other-frame.
19105
19106 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
19107 Use display-buffer-other-frame.
19108 (gdb-display-gdb-buffer): Use pop-to-buffer.
19109
19110 * progmodes/gud.el (gud-goto-info): Use info-other-window.
19111
19112 * progmodes/python.el: Don't set same-window-buffer-names.
19113
19114 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
19115
19116 * window.el (display-buffer-alist): Add *Python*.
19117
19118 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
19119
19120 * window.el (display-buffer-alist): Add entry for buffers
19121 previously handled same-window-*.
19122 (display-buffer-alist, display-buffer-default-action)
19123 (display-buffer-overriding-action): Mark as risky.
19124 (display-buffer-alist): Document action function changes.
19125 (display-buffer--same-window-action)
19126 (display-buffer--other-frame-action): New variables.
19127 (switch-to-buffer, display-buffer-other-frame): Use them.
19128 (display-buffer): Rename reuse-frame entry to reusable-frames.
19129 (display-buffer-reuse-selected-window): Function deleted.
19130 (display-buffer-reuse-window): Handle reusable-frames alist entry.
19131 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
19132 (display-buffer-special): New function.
19133 (display-buffer--maybe-pop-up-frame-or-window): Rename from
19134 display-buffer-reuse-or-pop-window. Split off special-display
19135 part into display-buffer-special.
19136 (display-buffer-use-some-window): Don't perform any special
19137 pop-up-frames handling.
19138 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
19139 (display-buffer--maybe-same-window): Rename from
19140 display-buffer-maybe-same-window.
19141
19142 * info.el: Don't set same-window-regexps.
19143 (info-setup): New function.
19144 (info-other-window, info): Call it.
19145
19146 * cus-edit.el: Don't set same-window-regexps.
19147 (customize-group): New argument.
19148 (customize-group-other-window): Use it.
19149 (customize-face, customize-face-other-window): Likewise.
19150 (custom-buffer-create-other-window): Use pop-to-buffer directly.
19151
19152 * net/rlogin.el:
19153 * net/telnet.el:
19154 * progmodes/gud.el: Don't set same-window-regexps.
19155
19156 * cmuscheme.el:
19157 * ielm.el:
19158 * shell.el:
19159 * mail/sendmail.el:
19160 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
19161
19162 2011-09-10 Juri Linkov <juri@jurta.org>
19163
19164 * isearch.el (isearch-edit-string): Remove obsolete mention of
19165 `C-w' (`isearch-yank-word-or-char') from docstring.
19166 (isearch-query-replace): Fix typo in docstring (bug#9466).
19167
19168 2011-09-10 Juri Linkov <juri@jurta.org>
19169
19170 * paren.el (show-paren-function): Don't show escaped parens.
19171 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
19172
19173 2011-09-10 Eli Zaretskii <eliz@gnu.org>
19174
19175 * mail/sendmail.el (mml-to-mime, mml-attach-file)
19176 (mm-default-file-encoding): Remove autoload forms, they are
19177 replaced with autoload cookies in mml.el and mm-encode.el.
19178 (mail-add-attachment): New command.
19179 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
19180 (mail-mode): Mention mail-insert-file and mail-add-attachment in
19181 the doc string.
19182 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
19183
19184 2011-09-10 Reuben Thomas <rrt@sc3d.org>
19185
19186 * simple.el (count-words-region): Use buffer if there's no region
19187 (bug#9429).
19188
19189 2011-09-09 Juri Linkov <juri@jurta.org>
19190
19191 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
19192 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
19193 (wdired-isearch-filter-read-only): New function. (Bug#6362)
19194
19195 2011-09-09 Alan Mackenzie <acm@muc.de>
19196
19197 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
19198 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
19199
19200 2011-09-09 Eli Zaretskii <eliz@gnu.org>
19201
19202 Fix for Savannah bug#9392.
19203 * simple.el (mail-encode-mml): New defvar.
19204
19205 * mail/rmail.el (mail-encode-mml): Add a defvar.
19206 (rmail-enable-mime-composing): Default to t.
19207 (rmail-forward): Use MIME method of forwarding only if both
19208 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
19209 Set mail-encode-mml non-nil if the MIME method was used.
19210
19211 * mail/sendmail.el (mml-to-mime): Add autoload form.
19212 (mail-encode-mml): Add a defvar.
19213 (mail-mode): Make mail-encode-mml buffer-local and initialize it
19214 to nil.
19215 (mail-send): If mail-encode-mml is non-nil, run the outgoing
19216 message through mml-to-mime, and reset mail-encode-mml to nil.
19217
19218 2011-09-09 Glenn Morris <rgm@gnu.org>
19219
19220 * woman.el (woman-if-body): When processing an .el block,
19221 do not delete the next .el block as well. (Bug#9447)
19222 (woman-special-characters): Add oq, cq, and hy characters.
19223
19224 2011-09-08 Martin Rudalics <rudalics@gmx.at>
19225
19226 * window.el (window-deletable-p): Make sure window is live before
19227 invoking window-prev-buffers.
19228
19229 2011-09-08 Leo Liu <sdl.web@gmail.com>
19230
19231 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
19232
19233 2011-09-08 Juri Linkov <juri@jurta.org>
19234
19235 * progmodes/compile.el (compilation-environment): Make it
19236 a defcustom (bug#8340).
19237
19238 2011-09-08 Martin Rudalics <rudalics@gmx.at>
19239
19240 * window.el (frame-auto-delete): Rename to window-auto-delete.
19241 Make it control auto-deletion of windows and/or frames.
19242 (window-deletable-p): New argument FORCE. Rewrite conditions
19243 for deleting window/frame. (Bug#9419)
19244 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
19245 Rewrite handling of case when window/frame can be deleted.
19246 (delete-windows-on): Call window-deletable-p with new FORCE
19247 argument t. (Bug#9456)
19248
19249 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
19250
19251 * help-mode.el (help-mode): Restore autoload.
19252
19253 2011-09-07 Juri Linkov <juri@jurta.org>
19254
19255 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
19256 `compilation-environment'. Set buffer-local
19257 `compilation-environment' to `thisenv' later after (funcall mode).
19258 (Bug#8340)
19259
19260 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
19261 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
19262 instead of replacing its value. (Bug#8340)
19263
19264 2011-09-07 Juri Linkov <juri@jurta.org>
19265
19266 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
19267 based on text properties put by `grep-filter' instead of matching
19268 escape sequences.
19269 (grep-mode): Set buffer-local `compilation-error-screen-columns'
19270 to the value of `grep-error-screen-columns' (bug#9438).
19271
19272 2011-09-07 Juri Linkov <juri@jurta.org>
19273
19274 * simple.el (next-error-highlight, next-error-highlight-no-select):
19275 Doc fix (bug#9432).
19276
19277 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
19278
19279 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
19280 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
19281
19282 2011-09-07 Leo Liu <sdl.web@gmail.com>
19283
19284 * net/rcirc.el (rcirc-mode): Conditionally initialize
19285 rcirc-input-ring.
19286
19287 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
19288
19289 * emacs-lisp/find-func.el (find-function-C-source): Only set
19290 find-function-C-source-directory after checking that we found a source
19291 file there (bug#9440).
19292
19293 2011-09-06 Alan Mackenzie <acm@muc.de>
19294
19295 * isearch.el (isearch-other-meta-char): Wherever a key list is
19296 unread, "unread" the prefix arg, too. This fixes bug #8901.
19297
19298 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
19299
19300 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
19301
19302 2011-09-05 Juri Linkov <juri@jurta.org>
19303
19304 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
19305
19306 2011-09-05 Juri Linkov <juri@jurta.org>
19307
19308 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
19309 keeping point where processing of grep matches begins, and
19310 continue to delete remaining escape sequences from the same point.
19311 (grep-filter): Make leading zero optional in "0?1;31m" because
19312 git-grep emits "\033[1;31m" escape sequences unlike expected
19313 "\033[01;31m" as GNU Grep does (bug#9408).
19314 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
19315
19316 2011-09-05 Juri Linkov <juri@jurta.org>
19317
19318 * subr.el (y-or-n-p): Capitalize "yes".
19319
19320 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
19321
19322 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
19323 `tramp-cache-unload-hook' where appropriate.
19324 (tramp-methods): Rename `tramp-remote-sh' to
19325 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
19326 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
19327
19328 * net/tramp-sh.el (top): Don't require 'shell.
19329 (tramp-methods): Add `tramp-remote-shell' and
19330 `tramp-remote-shell-args' entries.
19331 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
19332 (tramp-sh-handle-shell-command): Remove.
19333 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
19334 Use `tramp-remote-shell'.
19335
19336 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
19337
19338 * mail/sendmail.el (sendmail-query-once-function): Delete.
19339 (sendmail-query-once): Save directly to send-mail-function.
19340 Update message-send-mail-function too.
19341
19342 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
19343
19344 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
19345
19346 * progmodes/python.el (python-mode-map): Use correct function to
19347 start python interpreter from menu-bar (as reported by Geert
19348 Kloosterman).
19349 (inferior-python-mode-map): Fix typo.
19350 (python-shell-map): Remove.
19351
19352 2011-09-03 Deniz Dogan <deniz@dogan.se>
19353
19354 * net/rcirc.el (rcirc-print): Simplify code for
19355 rcirc-scroll-show-maximum-output. There is no need to walk
19356 through all windows to find the right one.
19357
19358 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
19359
19360 * help.el (help-return-method): Doc fix.
19361
19362 2011-09-03 Martin Rudalics <rudalics@gmx.at>
19363
19364 * window.el (window-deletable-p): Don't return a non-nil value
19365 when there's a buffer that was shown in the window before.
19366 (Bug#9419)
19367 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
19368 Set window's previous buffers to nil.
19369
19370 2011-09-03 Eli Zaretskii <eliz@gnu.org>
19371
19372 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
19373 newline before and after the tag line, so it doesn't interfere
19374 with determining the paragraph direction of bidirectional text.
19375
19376 2011-09-03 Leo Liu <sdl.web@gmail.com>
19377
19378 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
19379
19380 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
19381
19382 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
19383 (pop-to-buffer): Change interactive spec. Pass second argument
19384 directly to display-buffer.
19385 (display-buffer): Fix interactive spec. Use functionp to
19386 distinguish between a function and a list of functions.
19387
19388 * abbrev.el (edit-abbrevs):
19389 * arc-mode.el (archive-extract):
19390 * autoinsert.el (auto-insert):
19391 * bookmark.el (bookmark-bmenu-list):
19392 * files.el (find-file):
19393 * view.el (view-buffer):
19394 * progmodes/compile.el (compilation-goto-locus):
19395 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
19396
19397 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
19398
19399 * window.el (display-buffer-alist): Doc fix.
19400 (display-buffer): Add docstring. Don't treat
19401 display-buffer-default specially.
19402 (display-buffer-reuse-selected-window)
19403 (display-buffer-same-window, display-buffer-maybe-same-window)
19404 (display-buffer-reuse-window, display-buffer-pop-up-frame)
19405 (display-buffer-pop-up-window)
19406 (display-buffer-reuse-or-pop-window)
19407 (display-buffer-use-some-window): New functions.
19408 (display-buffer-default-action): Use them.
19409 (display-buffer-default): Delete.
19410 (pop-to-buffer-1): Fix choice of actions.
19411
19412 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
19413
19414 * minibuffer.el (completion--insert-strings): Don't get confused by
19415 completion entries that end with an LF char.
19416
19417 2011-09-01 Eli Zaretskii <eliz@gnu.org>
19418
19419 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
19420
19421 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
19422
19423 * window.el (display-buffer): Restore interactive spec.
19424 (display-buffer-same-window, display-buffer-other-window):
19425 New functions.
19426 (pop-to-buffer-1): New function. Use the above.
19427 (pop-to-buffer, pop-to-buffer-same-window): Use it.
19428 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
19429
19430 * view.el (view-buffer-other-window, view-buffer-other-frame):
19431 Just use pop-to-buffer.
19432
19433 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
19434
19435 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
19436
19437 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
19438
19439 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
19440
19441 2011-08-31 Richard Stallman <rms@gnu.org>
19442
19443 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
19444 of the separation of rmail-view-buffer from rmail-buffer.
19445 If you say no to "replace original", the decrypt is in the
19446 view buffer. If you say yes, the decrypt goes into the
19447 rmail buffer also.
19448
19449 2011-08-31 Martin Rudalics <rudalics@gmx.at>
19450
19451 * window.el (display-buffer-window): Rewrite doc-string.
19452 (display-buffer-record-window): New function.
19453 (display-buffer-macro-specifiers)
19454 (display-buffer-even-window-sizes, display-buffer-set-height)
19455 (display-buffer-set-width, display-buffer-in-window)
19456 (display-buffer-reuse-window, display-buffer-split-specifiers)
19457 (display-buffer-side-specifiers, display-buffer-split-window-1)
19458 (display-buffer-split-window, display-buffer-split-atom-window)
19459 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
19460 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
19461 (display-buffer-other-window-means-other-frame)
19462 (display-buffer-normalize-special)
19463 (display-buffer-normalize-default)
19464 (display-buffer-normalize-argument)
19465 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
19466 (display-buffer-normalize-specifiers, display-buffer-frame)
19467 (display-buffer-same-window, display-buffer-same-frame)
19468 (display-buffer-other-window)
19469 (display-buffer-same-frame-other-window)
19470 (display-buffer-other-frame, pop-to-buffer-same-window)
19471 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
19472 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
19473 (switch-to-buffer-same-frame)
19474 (switch-to-buffer-other-window-same-frame)
19475 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
19476 (display-buffer-alist-set-1, display-buffer-alist-set-2)
19477 (display-buffer-alist-set): Remove.
19478 (display-buffer-function, special-display-buffer-names)
19479 (special-display-regexps, special-display-function):
19480 In doc-string refer to display-buffer-window and quit-restore
19481 parameter.
19482 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
19483 (special-display-frame-alist, special-display-popup-frame)
19484 (same-window-buffer-names, same-window-regexps, same-window-p)
19485 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
19486 (split-window-preferred-function, split-height-threshold)
19487 (split-width-threshold, window-splittable-p)
19488 (split-window-sensibly, window--try-to-split-window)
19489 (window--frame-usable-p, even-window-heights)
19490 (window--even-window-heights, window--display-buffer-1)
19491 (window--display-buffer-2, display-buffer-other-frame):
19492 Restore old Emacs 23 code, order and doc-strings where applicable.
19493 (display-buffer-default, display-buffer-assq-regexp): New functions.
19494 (display-buffer-alist): Rewrite doc-string.
19495 (display-buffer-default-action)
19496 (display-buffer-overriding-action): New variables.
19497 (display-buffer, switch-to-buffer): Rewrite.
19498 (pop-to-buffer): Restore Emacs 23 behavior but use
19499 window-normalize-buffer-to-display.
19500 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
19501 Restore Emacs 23 behavior but use
19502 window-normalize-buffer-to-switch-to.
19503 (pop-to-buffer-same-window): Rewrite.
19504 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
19505 Rewrite using Emacs 23 options.
19506
19507 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
19508
19509 * net/tramp.el (tramp-root-regexp): Remove.
19510 (tramp-completion-file-name-regexp-unified)
19511 (tramp-completion-file-name-regexp-separate)
19512 (tramp-completion-file-name-regexp-url): Don't use leading volume
19513 letter on w32 systems. (Bug#5303, Bug#9311)
19514 (tramp-drop-volume-letter): Simplify definition.
19515 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
19516
19517 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
19518
19519 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
19520 (bug#9356).
19521
19522 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
19523
19524 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
19525
19526 2011-08-29 Juri Linkov <juri@jurta.org>
19527
19528 * isearch.el (isearch-done): Don't display message "Mark saved"
19529 when arg `edit' is non-nil to prevent its flicker in the echo area.
19530
19531 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
19532
19533 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
19534 obsolete packages for deletion.
19535
19536 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
19537
19538 * help-mode.el (help-mode-map): Add special-mode-map to parent.
19539 (help-mode): Derive help-mode from special-mode. Don't invoke
19540 view-mode from help-mode.
19541 (help-xref-override-view-map): Remove.
19542 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
19543 view-mode is not used anymore.
19544
19545 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
19546
19547 * server.el (server-port): Doc fix.
19548
19549 * cus-theme.el (custom-theme-choose-mode): Inherit from
19550 special-mode (Bug#9124).
19551 (custom-theme-choose-mode-map): Add special-mode to parent.
19552
19553 2011-08-28 Alan Mackenzie <acm@muc.de>
19554
19555 * progmodes/cc-fonts.el
19556 (c-make-font-lock-BO-decl-search-function): New function.
19557 (c-basic-matchers-after - "Fontify the clauses after various
19558 keywords"): Extract the three keyword lists for the 3 erroneous
19559 constructs from the list of four, and use the new function above
19560 in place of an old one.
19561
19562 2011-08-28 Deniz Dogan <deniz@dogan.se>
19563
19564 * net/rcirc.el (rcirc-insert-prev-input)
19565 (rcirc-insert-next-input): Remove unused argument.
19566
19567 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
19568
19569 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
19570
19571 2011-08-27 Alan Mackenzie <acm@muc.de>
19572
19573 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
19574 handle function pointer parameters properly.
19575
19576 2011-08-27 Martin Rudalics <rudalics@gmx.at>
19577
19578 * window.el (display-buffer-reuse-window): Fix case where
19579 selected window was reused with non-nil OTHER-WINDOW argument.
19580 (Bug#9381)
19581
19582 2011-08-27 Deniz Dogan <deniz@dogan.se>
19583
19584 * net/rcirc.el (rcirc-check-auth-status): Adding support for
19585 oftc's NickServ messages.
19586
19587 2011-08-27 Glenn Morris <rgm@gnu.org>
19588
19589 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
19590
19591 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
19592
19593 * emacs-lisp/package.el (package-install): Call package-initialize
19594 if called interactively.
19595
19596 2011-08-26 Leo Liu <sdl.web@gmail.com>
19597
19598 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
19599
19600 2011-08-25 Juri Linkov <juri@jurta.org>
19601
19602 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
19603 `search-whitespace-regexp' (bug#9364).
19604
19605 2011-08-25 Juri Linkov <juri@jurta.org>
19606
19607 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
19608 `regexp-search-ring' to their global values to protect from
19609 updating by `read-from-minibuffer' (bug#9185).
19610
19611 2011-08-25 Juri Linkov <juri@jurta.org>
19612
19613 * textmodes/ispell.el (ispell-command-loop): Add newline
19614 at the end of the "Use option `i'..." line.
19615
19616 2011-08-25 Juri Linkov <juri@jurta.org>
19617
19618 * battery.el (display-battery-mode): If `battery-status-function'
19619 or `battery-mode-line-format' is nil, display the message and set
19620 `display-battery-mode' to nil (bug#9363).
19621
19622 2011-08-25 Eli Zaretskii <eliz@gnu.org>
19623
19624 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
19625 bidi-string-mark-left-to-right; they are unnecessary now.
19626
19627 2011-08-25 Deniz Dogan <deniz@dogan.se>
19628
19629 * net/quickurl.el: Documentation typo fixes.
19630
19631 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
19632
19633 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
19634
19635 2011-08-25 Glenn Morris <rgm@gnu.org>
19636
19637 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
19638
19639 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
19640 (smtpmail-via-smtp): Handle nil response from smtp.
19641
19642 2011-08-24 Juri Linkov <juri@jurta.org>
19643
19644 * proced.el (proced-marked): Inherit from `error' instead of
19645 `font-lock-warning-face'.
19646
19647 * ibuffer.el (ibuffer-marked-face): Change default face from
19648 `font-lock-warning-face' to `warning'.
19649 (ibuffer-deletion-face): Change default face from
19650 `font-lock-type-face' to `error'.
19651
19652 * battery.el (battery-update): Use the face `error' instead of
19653 `font-lock-warning-face' (bug#6117).
19654
19655 2011-08-24 Juri Linkov <juri@jurta.org>
19656
19657 * faces.el (success): Change face color from "Green3" to
19658 "ForestGreen" on light background (bug#9353).
19659
19660 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
19661
19662 * window.el (quit-window): Rename from quit-restore-window.
19663 Use same arglist as old quit-window.
19664 (frame-auto-delete): Doc fix.
19665
19666 * view.el (view-mode-exit): Use quit-window.
19667
19668 2011-08-24 Juri Linkov <juri@jurta.org>
19669
19670 * isearch.el (isearch-ring-adjust1): Start visiting previous
19671 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
19672 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
19673 for empty search string (when the last search string is reused
19674 automatically) to adjust the isearch ring to the last element and
19675 prepare the correct index for further M-p commands (bug#9185).
19676
19677 2011-08-24 Kenichi Handa <handa@m17n.org>
19678
19679 * international/ucs-normalize.el: If decomposition property of
19680 CHAR is the default one (i.e. a list of CHAR itself), treat it as
19681 nil.
19682 (nfd, nfkd): Likewise.
19683
19684 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
19685
19686 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
19687 from process filters aren't reliably transmitted to the surrounding
19688 accept-process-output.
19689 (mpc-proc-check): New function.
19690 (mpc-proc-sync): Use it (bug#8293)
19691
19692 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
19693
19694 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
19695 Add compatibility functions (bug#9313).
19696
19697 2011-08-23 Eli Zaretskii <eliz@gnu.org>
19698
19699 * cus-start.el (all): Add entry for bidi-paragraph-direction.
19700
19701 * international/uni-bidi.el: Regenerate.
19702
19703 2011-08-23 Kenichi Handa <handa@m17n.org>
19704
19705 * international/charprop.el:
19706 * international/uni-bidi.el:
19707 * international/uni-category.el:
19708 * international/uni-combining.el:
19709 * international/uni-comment.el:
19710 * international/uni-decimal.el:
19711 * international/uni-decomposition.el:
19712 * international/uni-digit.el:
19713 * international/uni-lowercase.el:
19714 * international/uni-mirrored.el:
19715 * international/uni-name.el:
19716 * international/uni-numeric.el:
19717 * international/uni-old-name.el:
19718 * international/uni-titlecase.el:
19719 * international/uni-uppercase.el: Regenerate.
19720
19721 2011-08-23 Martin Rudalics <rudalics@gmx.at>
19722
19723 * help.el (help-window-setup): Fix message displayed when other
19724 window is reused. (Bug#9341)
19725
19726 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
19727
19728 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
19729 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
19730
19731 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
19732 Mark obsolete.
19733 * shell.el (shell-parse-pcomplete-arguments): New function.
19734 (shell-completion-vars): Use it instead (bug#9160).
19735
19736 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
19737
19738 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
19739 strings and comments (bug#9333).
19740
19741 * emacs-lisp/debug.el (debug-arglist): New function.
19742 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
19743 (debug-on-entry-1): Handle interpreted closures (bug#9120).
19744
19745 2011-08-22 Juri Linkov <juri@jurta.org>
19746
19747 * progmodes/compile.el (compilation-mode-font-lock-keywords):
19748 Revert regexp that highlights output switches to its old
19749 pre-2010-10-28 value and remove one `?' from it (bug#9319).
19750
19751 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
19752 to check for empty output (bug#9226).
19753
19754 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
19755
19756 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
19757 symbol-constituent as the default, as that stops font-lock from
19758 working properly (Bug#8843).
19759
19760 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
19761
19762 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
19763 `coding-system-for-*' around the process open call to avoid
19764 auth-source side effects.
19765 (smtpmail-try-auth-methods): Expand the secret password.
19766 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
19767 probe hangs.
19768
19769 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
19770
19771 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
19772
19773 * emacs-lisp/find-func.el (find-function-noselect): New arg
19774 lisp-only.
19775
19776 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
19777 signal an error for built-in functions (Bug#6664).
19778
19779 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
19780
19781 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
19782 (smtpmail-try-auth-methods): Use it.
19783
19784 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
19785
19786 * font-lock.el (font-lock-fontify-region)
19787 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
19788 (font-lock-default-unfontify-buffer)
19789 (font-lock-default-fontify-region)
19790 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
19791
19792 * progmodes/compile.el (compilation-error-properties):
19793 Fix confusion between file struct and message struct (Bug#9319).
19794 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
19795 `ant' regexp.
19796
19797 * net/browse-url.el (browse-url-firefox): Don't call
19798 browse-url-firefox-sentinel unless using -remote (Bug#9328).
19799
19800 2011-08-20 Glenn Morris <rgm@gnu.org>
19801
19802 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
19803
19804 * tutorial.el (tutorial--default-keys): Update some default bindings.
19805
19806 * files.el (hack-local-variables): Fully ignore case for "mode:".
19807
19808 2011-08-20 Alan Mackenzie <acm@muc.de>
19809
19810 Resolve invalid use of a regexp in regexp-opt.
19811
19812 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
19813 detection for a java annotation.
19814
19815 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
19816 detection for a java annotation.
19817
19818 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
19819 handling for java.
19820 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
19821
19822 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
19823
19824 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
19825 (Bug#9274).
19826
19827 2011-08-20 Alan Mackenzie <acm@muc.de>
19828
19829 Fontify CPP expressions correctly when starting in the middle of
19830 such a construct. Mainly for when jit-lock etc. starts a chunk
19831 here.
19832
19833 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
19834 variable.
19835 (c-make-font-lock-search-form): New function, extracted from
19836 c-make-font-lock-search-function.
19837 (c-make-font-lock-search-function): Use the above function.
19838 (c-make-font-lock-context-search-function): New function.
19839 (c-cpp-matchers): Enhance the preprocessor expression case with
19840 the above function
19841 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
19842 which takes an expression.
19843
19844 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
19845
19846 2011-08-20 Martin Rudalics <rudalics@gmx.at>
19847
19848 * window.el (display-buffer-reuse-window)
19849 (display-buffer-pop-up-window): Don't reuse or split a side
19850 window.
19851
19852 2011-08-19 Glenn Morris <rgm@gnu.org>
19853
19854 * files.el (hack-local-variables-prop-line, hack-local-variables):
19855 Downcase "Mode:". (Bug#9331)
19856
19857 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
19858
19859 * international/characters.el: Add L and R categories.
19860
19861 * subr.el (bidi-string-mark-left-to-right): Rename from
19862 string-mark-left-to-right. Use category search.
19863
19864 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
19865
19866 2011-08-18 Juri Linkov <juri@jurta.org>
19867
19868 * faces.el (error, warning, success): New faces with definitions
19869 copied from old default values of `font-lock-warning-face',
19870 `compilation-warning', `compilation-info' (bug#6117).
19871
19872 * font-lock.el (font-lock-warning-face): Inherit from `error'.
19873
19874 * progmodes/compile.el (compilation-error): Inherit from `error'.
19875 (compilation-warning): Inherit from `warning'.
19876 (compilation-info): Inherit from `success'.
19877
19878 * dired.el (dired-marked): Inherit from `warning'.
19879 (dired-flagged): Inherit from `error'.
19880
19881 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
19882
19883 * mail/smtpmail.el (auth-source): Require to avoid problems with
19884 binding variables (bug#9298). Also clean up some unused
19885 autoloads.
19886
19887 * net/network-stream.el (network-stream-open-starttls):
19888 Support using starttls.el without using gnutls-cli.
19889
19890 2011-08-17 Juri Linkov <juri@jurta.org>
19891
19892 * progmodes/grep.el (rgrep): Handle the case when
19893 `grep-find-command' is a cons cell (bug#9278).
19894
19895 2011-08-17 Martin Rudalics <rudalics@gmx.at>
19896
19897 * window.el (display-buffer-pop-up-frame): Run frame creation
19898 function with BUFFER current (as special-display-popup-frame
19899 does). Reported by Drew Adams.
19900
19901 2011-08-17 Daiki Ueno <ueno@unixuser.org>
19902
19903 * epa-mail.el: Simplify GnuPG group expansion using
19904 epg-expand-group.
19905 (epa-mail-group-alist, epa-mail-group-modtime)
19906 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
19907 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
19908 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
19909 Remove.
19910
19911 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
19912
19913 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
19914
19915 2011-08-16 Alan Mackenzie <acm@muc.de>
19916
19917 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
19918 Correct, to avoid the inside of macros.
19919
19920 2011-08-16 Richard Stallman <rms@gnu.org>
19921
19922 * epa-mail.el: Handle GnuPG group definitions.
19923 (epa-mail-group-alist, epa-mail-group-modtime)
19924 (epa-mail-gnupg-conf-file): New variables.
19925 (epa-mail-parse-groups, epa-mail-sync-groups)
19926 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
19927 (epa-mail-expand-recipients): New functions.
19928 (epa-mail-encrypt): Call epa-mail-expand-recipients.
19929
19930 * mail/rmail.el (rmail-epa-decrypt): New command.
19931
19932 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
19933 Don't bind buffer-read-only, just inhibit-read-only.
19934 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
19935 (epa-decrypt-armor-in-region): Make error message clearer.
19936
19937 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
19938
19939 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
19940 and "a2b" to "ab" for `prefix'.
19941
19942 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
19943
19944 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
19945 filter groups.
19946 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
19947 Fourquet (Bug#8804).
19948
19949 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
19950
19951 * startup.el (argi): Declare as global variable (bug#9275).
19952
19953 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
19954
19955 * subr.el (string-mark-left-to-right): Search the entire string
19956 for RTL script, not just the terminating character. Doc fix.
19957
19958 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
19959
19960 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
19961 New function.
19962 (js--regexp-literal, js-syntax-propertize-function): Remove.
19963 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
19964 (js-mode-map): Don't rebind electric keys.
19965 (js-insert-and-indent): Remove.
19966 (js-mode): Setup electric-layout and electric-indent instead.
19967
19968 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
19969
19970 2011-08-12 Daiki Ueno <ueno@unixuser.org>
19971
19972 * epa.el (epa-progress-callback-function): Fix the logic of
19973 displaying progress.
19974 * epa-file.el (epa-file-insert-file-contents): Make progress
19975 display more user-friendly.
19976 (epa-file-write-region): Ditto.
19977
19978 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
19979
19980 * subr.el (string-mark-left-to-right): New function.
19981
19982 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
19983 Use string-mark-left-to-right.
19984 (list-buffers-noselect): Caller changed.
19985
19986 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
19987 Use string-mark-left-to-right.
19988 (tabulated-list-print): Recenter after moving point.
19989
19990 2011-08-10 Juri Linkov <juri@jurta.org>
19991
19992 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
19993 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
19994 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
19995
19996 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
19997
19998 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
19999 (Bug#7554).
20000
20001 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
20002
20003 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
20004 character. (Bug#6594)
20005
20006 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
20007
20008 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
20009 (image-dired--with-db-file): New macro.
20010 (image-dired-write-tags, image-dired-remove-tag)
20011 (image-dired-create-gallery-lists, image-dired-write-comments)
20012 (image-dired-get-comment, image-dired-mark-tagged-files)
20013 (image-dired-list-tags, image-dired-gallery-generate): Use it.
20014 (image-dired-gallery-generate): Use insert-file-contents.
20015
20016 * time.el (display-time-world-list, display-time-world-display):
20017 * time-stamp.el (time-stamp-string):
20018 * vc/add-log.el (add-change-log-entry): Use setenv instead of
20019 set-time-zone-rule (Bug#7337).
20020
20021 2011-08-08 Daiki Ueno <ueno@unixuser.org>
20022
20023 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
20024 (epg-error-to-string, epg-errors-to-string): New function.
20025 (epg-wait-for-completion): Reverse errors list.
20026 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
20027 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
20028 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
20029 (epg-sign-keys, epg-generate-key-from-file)
20030 (epg-generate-key-from-string): Format errors by using
20031 epg-errors-to-string (bug#9255).
20032 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
20033
20034 2011-08-07 Juri Linkov <juri@jurta.org>
20035
20036 * faces.el (list-faces-display): Remove extra angle bracket
20037 from `help-mode-map'.
20038
20039 * info.el (Info-history-toc-nodes): Doc fix.
20040
20041 * longlines.el (longlines-mode): Doc fix.
20042
20043 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
20044
20045 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
20046 of statements and in a few more cases (bug#9183).
20047
20048 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
20049 New functions.
20050 (cl-transform-lambda): Use them (bug#9239).
20051
20052 2011-08-05 Martin Rudalics <rudalics@gmx.at>
20053
20054 * window.el (display-buffer-same-window)
20055 (display-buffer-same-frame, display-buffer-other-window)
20056 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
20057 (pop-to-buffer-other-window)
20058 (pop-to-buffer-same-frame-other-window)
20059 (pop-to-buffer-other-frame): Make them defuns.
20060 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
20061
20062 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
20063
20064 * subr.el (make-composed-keymap): Move from C. Change calling
20065 convention, and improve docstring to bring attention to a subtle point.
20066 * minibuffer.el (completing-read-default): Adjust accordingly.
20067
20068 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
20069
20070 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
20071 (tramp-open-shell): Use `tramp-shell-quote-argument'.
20072
20073 * net/trampver.el: Update release number.
20074
20075 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
20076
20077 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
20078 "in" (bug#9190).
20079
20080 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
20081
20082 * mail/sendmail.el (sendmail-query-once): Restore the current
20083 buffer after querying (bug#9074).
20084
20085 * dired.el (dired-flagged): Use different faces for marked and
20086 flagged files (bug#6117).
20087
20088 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
20089 (bug#4433).
20090
20091 * ido.el (ido-mode): Switch off the message if called
20092 non-interactively.
20093
20094 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
20095 before 587, since it appears that that's more likely to work for
20096 more people.
20097
20098 * cus-edit.el (custom-file): When running under emacs -q, always
20099 refuse to save the customizations, even if the .emacs file doesn't
20100 exist.
20101
20102 * info.el: Remove the `Info-beginning-of-buffer' function
20103 (bug#8325).
20104
20105 * net/network-stream.el (network-stream-open-starttls):
20106 Use `starttls-available-p' to see whether starttls.el can be used.
20107
20108 2011-08-01 Martin Rudalics <rudalics@gmx.at>
20109
20110 * window.el (display-buffer-in-window): Don't set dedicated status
20111 of window here (Bug#9215).
20112 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
20113 (display-buffer-pop-up-side-window)
20114 (display-buffer-in-side-window): Set dedicated status of window here.
20115
20116 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
20117
20118 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
20119 before binding generated-autoload-file.
20120
20121 2011-08-01 Deniz Dogan <deniz@dogan.se>
20122
20123 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
20124
20125 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
20126
20127 Sync with Tramp 2.2.2.
20128
20129 * net/trampver.el: Update release number.
20130
20131 2011-07-30 Juri Linkov <juri@jurta.org>
20132
20133 * dired-aux.el (dired-touch-initial): Remove function.
20134 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
20135 current time, and `default' to the last modification time of the
20136 current marked file (bug#6887).
20137
20138 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
20139
20140 * simple.el (goto-line): Use string-to-number to provide a
20141 numeric argument to read-number (bug#9163).
20142
20143 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
20144
20145 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
20146 connection process, it could be nil.
20147
20148 2011-07-27 Leo Liu <sdl.web@gmail.com>
20149
20150 Simplify url handling in rcirc-mode.
20151
20152 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
20153 (rcirc-browse-url-at-mouse): Remove.
20154 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
20155
20156 2011-07-26 Alan Mackenzie <acm@muc.de>
20157
20158 Fontify bitfield declarations properly.
20159
20160 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
20161 (c-symbol-chars): Now exported as a lang variable.
20162 (c-not-primitive-type-keywords): New lang variable.
20163
20164 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
20165 QT keyword "more" to prevent "more slots: ...." being spuriously
20166 parsed as a bitfield declaration.
20167
20168 * progmodes/cc-engine.el (c-beginning-of-statement-1):
20169 Refactor and enhance to handle bitfield declarations.
20170 (c-punctuation-in): New function.
20171 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
20172 declarations properly.
20173
20174 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
20175
20176 * calendar/icalendar.el (icalendar--all-events): Take care of
20177 multiple vcalendars in a single file.
20178 (icalendar--convert-float-to-ical): Checkdoc fixes.
20179
20180 2011-07-25 Deniz Dogan <deniz@dogan.se>
20181
20182 * image.el (insert-image): Clarifying docstring.
20183
20184 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
20185
20186 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
20187 `tramp-send-command-and-check' if there is no error.
20188 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
20189
20190 2011-07-22 Alan Mackenzie <acm@muc.de>
20191
20192 Prevent cc-langs.elc being loaded at run time.
20193
20194 * progmodes/cc-mode.el: Remove two autoload forms which loaded
20195 cc-langs.
20196
20197 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
20198 "(require 'cc-langs)". Quote a form so it will evaluate at
20199 (cc-mode's) compilation time.
20200
20201 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
20202
20203 * net/tramp.el (tramp-file-name-handler): Avoid recursive
20204 loading. (Bug#9114)
20205
20206 2011-07-21 Martin Rudalics <rudalics@gmx.at>
20207
20208 * window.el (display-buffer-pop-up-window)
20209 (display-buffer-pop-up-side-window)
20210 (display-buffer-in-side-window): Call display-buffer-set-height
20211 and display-buffer-set-width after setting the new window's
20212 buffer so `fit-window-to-buffer' and friends work on the right buffer.
20213
20214 2011-07-20 Sam Steingold <sds@gnu.org>
20215
20216 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
20217 (etags-tags-included-tables): Call `convert-standard-filename' on
20218 the file names contained in TAGS so that windows Emacs can handle
20219 TAGS files created by cygwin ctags.
20220
20221 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
20222
20223 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
20224 which apparently didn't work.
20225
20226 2011-07-19 Roland Winkler <winkler@gnu.org>
20227
20228 * proced.el (proced-send-signal): For *Marked Processes* buffer
20229 put point at beginning of buffer.
20230
20231 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
20232
20233 * proced.el (proced-format): Make header lines align with the text
20234 (bug#1779).
20235
20236 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
20237
20238 * view.el (view-buffer): Allow running in `special' modes if we're
20239 visiting a file (bug#8615).
20240
20241 2011-07-19 Martin Rudalics <rudalics@gmx.at>
20242
20243 * window.el (display-buffer-alist-of-strings-p)
20244 (display-buffer-alist-set-1, display-buffer-alist-set-2):
20245 New functions.
20246 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
20247 more accurately.
20248
20249 2011-07-18 Alan Mackenzie <acm@muc.de>
20250
20251 Fontify declarators properly when, e.g., a jit-lock chunk begins
20252 inside a declaration.
20253
20254 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
20255
20256 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
20257 New function.
20258 (c-complex-decl-matchers): Insert reference to
20259 c-font-lock-enclosing-decls.
20260
20261 * progmodes/cc-engine.el (c-backward-single-comment):
20262 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
20263 to nil around calls to (forward-comment -1).
20264
20265 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
20266
20267 * image.el (put-image): Doc typo fix.
20268
20269 * progmodes/etags.el (tags-search): Doc typo fix.
20270
20271 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
20272 password if we get errors 550 to 554.
20273
20274 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
20275
20276 * net/gnutls.el (gnutls-log-level): Remove.
20277
20278 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
20279 indentation character (bug#6380).
20280
20281 * files.el (buffer-offer-save): Made permanently local (bug#6241).
20282
20283 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
20284 to clarify what the problem is (bug#4291).
20285
20286 * simple.el (current-kill): Clarify what
20287 `interprogram-paste-function' does (bug#7500).
20288 (auto-fill-mode): Document `auto-fill-function' in relation to
20289 `auto-fill-mode' (bug#2470).
20290
20291 2011-07-16 Lawrence Mitchell <wence@gmx.li>
20292
20293 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
20294 method if slot is read-only (bug#9035).
20295
20296 2011-07-16 Martin Rudalics <rudalics@gmx.at>
20297
20298 * frame.el (select-frame-set-input-focus): New argument NORECORD.
20299 * window.el (pop-to-buffer): Select window used even if it was
20300 selected before, see discussion of (Bug#8615), (Bug#6954).
20301 Pass argument NORECORD on to select-frame-set-input-focus.
20302
20303 2011-07-15 Glenn Morris <rgm@gnu.org>
20304
20305 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
20306 Respect help-form.
20307
20308 2011-07-09 Lawrence Mitchell <wence@gmx.li>
20309
20310 * net/gnutls.el (gnutls-min-prime-bits): New variable.
20311 (gnutls-negotiate): Use it.
20312
20313 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
20314
20315 * net/gnutls.el (gnutls-negotiate):
20316 Upcase `gnutls-algorithm-priority'.
20317
20318 2011-07-15 Glenn Morris <rgm@gnu.org>
20319
20320 * jka-compr.el (jka-compr-verbose): Move from here...
20321 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
20322 Add missing :version tag.
20323 * info.el: No need to require jka-compr when compiling.
20324
20325 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
20326
20327 * net/gnutls.el (gnutls-algorithm-priority): New variable.
20328 (gnutls-negotiate): Use it.
20329
20330 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
20331
20332 * info.el (Info-beginning-of-buffer): New command.
20333 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
20334 announcing `b' as the key (bug#8325).
20335 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
20336
20337 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
20338
20339 * international/mule-cmds.el
20340 (describe-specified-language-support): Make the error message
20341 clearer (bug#8905).
20342
20343 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
20344
20345 * isearch.el (isearch-barrier): Add a doc string, since it's
20346 mentioned in a function doc string (bug#8678).
20347
20348 2011-07-15 Martin Rudalics <rudalics@gmx.at>
20349
20350 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
20351 buffer argument (Bug#9083) and self-identifying label argument.
20352
20353 2011-07-15 Glenn Morris <rgm@gnu.org>
20354
20355 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
20356
20357 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
20358
20359 * man.el (Man-fontify-manpage): Fix message when formatting the
20360 man page (bug#7929).
20361
20362 2011-07-14 Eli Zaretskii <eliz@gnu.org>
20363
20364 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
20365 argument LRM; if non-nil, append an invisible LRM character to the
20366 buffer name.
20367 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
20368 last argument non-nil, when formatting buffer names.
20369 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
20370 paragraph direction.
20371
20372 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
20373
20374 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
20375 the man page name (bug#7929).
20376
20377 * image.el (put-image): Mention the `put-image' overlay property
20378 (bug#7834).
20379
20380 * scroll-bar.el (set-scroll-bar-mode): Mention that
20381 `scroll-bar-mode' lists the values (bug#7772).
20382
20383 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
20384 command (bug#7729).
20385
20386 * rect.el (apply-on-rectangle): Return the point after the last
20387 operation.
20388 (string-rectangle): Go to the point after the last operation
20389 (bug#7522).
20390
20391 * printing.el (pr-toggle-region): Clarify the documentation
20392 slightly (bug#7493).
20393
20394 * time.el (display-time-update):
20395 Allow `display-time-mail-function' to return nil (bug#7158).
20396 Fix suggested by Detlev Zundel.
20397
20398 * vc/diff.el (diff): Clarify the order the file names are read
20399 (bug#7111).
20400
20401 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
20402 the doc string (bug#7015).
20403
20404 * font-lock.el (font-lock-maximum-decoration): Mention what
20405 numeric levels mean (bug#6935).
20406
20407 * startup.el (initial-buffer-choice): Don't mention the `none'
20408 selection, which is against policy.
20409
20410 2011-07-14 Martin Rudalics <rudalics@gmx.at>
20411
20412 * window.el (display-buffer-normalize-special):
20413 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
20414
20415 2011-07-14 Eli Zaretskii <eliz@gnu.org>
20416
20417 * subr.el (version<, version<=, version=): Mention "-CVS" and
20418 "-12345" alpha version numbers.
20419
20420 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
20421
20422 * bindings.el: Add advertised binding for set-mark-command
20423 (Bug#5772).
20424
20425 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
20426
20427 * bindings.el (mode-line-other-buffer):
20428 * bookmark.el (bookmark-bmenu-2-window):
20429 * bs.el (bs-cycle-next, bs-cycle-previous):
20430 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
20431 switch-to-buffer.
20432
20433 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
20434 Delete.
20435
20436 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
20437
20438 * follow.el (follow-debug-message, follow-redisplay):
20439 * jka-cmpr-hook.el (with-auto-compression-mode):
20440 Fix typos in docstrings.
20441
20442 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20443
20444 * subr.el (with-silent-modifications): Clarify somewhat what the
20445 macro inhibits (bug#6525).
20446
20447 * simple.el (eval-expression): Note what it does if called
20448 interactively (bug#6495).
20449
20450 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
20451
20452 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
20453 Use pop-to-buffer buffer-or-name if it is nil.
20454
20455 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
20456 Remove switch-to-buffer.
20457
20458 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20459
20460 * files.el (make-directory): Clarify that an error will be raised
20461 if there's an error (bug#6397).
20462
20463 * startup.el (initial-buffer-choice): Add `none' as a choice
20464 (bug#6234).
20465
20466 * subr.el (add-hook): Clarify section about buffer-local hooks
20467 (bug#6218).
20468
20469 * dired.el (dired-flagged): Clarify doc string (bug#6117).
20470
20471 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
20472
20473 * tabify.el (untabify): Preserve the current column so that point
20474 doesn't move (bug#6032).
20475
20476 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20477
20478 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
20479 Rewrite to avoid awkward possessive "s" (bug#5986).
20480
20481 2011-07-13 Glenn Morris <rgm@gnu.org>
20482
20483 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
20484 (dired-insert-directory): Give a message the first time
20485 if ls is found not to support --dired.
20486
20487 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20488
20489 * simple.el (toggle-truncate-lines): Clarify what is toggled
20490 (bug#5580). Text by Drew Adams.
20491
20492 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
20493
20494 * simple.el (blink-matching-open): Make the error message from the
20495 last change less verbose.
20496
20497 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
20498
20499 * font-lock.el (font-lock-comment-face): Use the high contrast
20500 "yellow" color for font-lock-comment-face on low color terminals
20501 using a dark background color (bug#4221).
20502
20503 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20504
20505 * dired.el (dired-insert-set-properties): Make the doc string
20506 reflect what it does now (bug#5325).
20507
20508 * simple.el (blink-matching-open): Say that we were unable to find
20509 the match within the limit, if we're limited (bug#5122).
20510
20511 * international/mule-cmds.el (prefer-coding-system): Add an
20512 example (bug#4869).
20513
20514 * progmodes/etags.el (tags-search): Document `file-list-form'
20515 (bug#4731).
20516
20517 2011-07-13 Lawrence Mitchell <wence@gmx.li>
20518
20519 * net/browse-url.el (browse-url-default-browser)
20520 (browse-url-browser-function): Make the default browser choice a
20521 bit more logical (bug#4300). Also clean up the doc string.
20522
20523 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
20524
20525 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
20526 binary endings (bug#4440).
20527
20528 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20529
20530 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
20531 which can be pretty annoying (bug#8971).
20532
20533 * jka-compr.el (jka-compr-verbose): New variable, and use
20534 throughout (bug#8971).
20535
20536 * info.el (Info-find-file): Fall back on the installation
20537 directory if we can't find the info node anywhere else.
20538
20539 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
20540
20541 * vc/vc.el (vc-revert-file):
20542 Don't set file time-stamp in the past. (Bug#5181)
20543
20544 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
20545
20546 * files.el (after-find-file): Give a better error message when
20547 trying to find a symlink that points to a file that doesn't exist
20548 (bug#4398).
20549
20550 * progmodes/cc-vars.el: Remove (probably) misleading comment
20551 (bug#4396).
20552
20553 2011-07-12 Johan Bockgård <bojohan@gnu.org>
20554
20555 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
20556
20557 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
20558
20559 * mouse-sel.el: Hack restoring functionality, while keeping
20560 compatibility with 2010-07-03 changes to mouse selection.
20561 (mouse-sel-primary-overlay): New var.
20562 (mouse-sel-selection-alist): Use it.
20563 (mouse-sel-mode): Doc fix; remove points that are default features
20564 of mouse.el.
20565
20566 2011-07-12 Johan Bockgård <bojohan@gnu.org>
20567
20568 * progmodes/compile.el (compilation-error-regexp-alist-alist):
20569 Fix previous fix (bug#2490).
20570
20571 2011-07-12 Roland Winkler <winkler@gnu.org>
20572
20573 * textmodes/bibtex.el (bibtex-initialize):
20574 Use pop-to-buffer-same-window.
20575 (bibtex-search-entries): Fix interactive call.
20576
20577 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
20578
20579 * progmodes/compile.el (compilation-error-regexp-alist-alist):
20580 Fontise bytecomp Error lines more correctly (bug#2490).
20581 Fix suggested by Johan Bockgård.
20582
20583 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
20584
20585 * dired-x.el (dired-guess-default): Use `delete-dups'.
20586
20587 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
20588
20589 * dired.el (dired-mark-prompt):
20590 * dired-aux.el (dired-read-shell-command): Doc fix.
20591
20592 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
20593
20594 * mail/sendmail.el (sendmail-query-once):
20595 Use `customize-save-variable' unconditionally, now that it works under
20596 emacs -Q.
20597
20598 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
20599
20600 * cus-edit.el (custom-file): Take an optional no-error variable.
20601 (customize-save-variable): Set the variable, and give a warning if
20602 running under "emacs -q".
20603
20604 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
20605
20606 * loadhist.el (unload-feature-special-hooks):
20607 Add `auto-coding-functions', `fill-nobreak-predicate' and
20608 `find-directory-functions' (bug#5327).
20609
20610 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
20611
20612 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
20613
20614 * cus-edit.el (custom-guess-name-alist): -alist variables should
20615 use the `alist' type (bug#3120). Suggested by Drew Adams.
20616
20617 * printing.el: Add documentation to all the `pr-toggle-' commands.
20618
20619 2011-07-11 Leo Liu <sdl.web@gmail.com>
20620
20621 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
20622 backends where it makes sense (bug#2623).
20623
20624 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
20625
20626 * dired-x.el (dired-guess-default): Remove duplicate shell command
20627 entries (bug#2028).
20628 (dired-guess-default): Fix grammar in doc string (bug#2028).
20629 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
20630
20631 * subr.el (remove-duplicates): New conveniency function.
20632
20633 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
20634
20635 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
20636 (bug#1526).
20637
20638 2011-07-10 Martin Rudalics <rudalics@gmx.at>
20639
20640 * window.el (display-buffer-normalize-default): Don't invert
20641 meaning of even-window-heights. Reported by Eli Zaretskii
20642 <eliz@gnu.org>.
20643
20644 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
20645
20646 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
20647
20648 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
20649
20650 * window.el (display-buffer): Fix arguments to
20651 display-buffer-reuse-window in last change.
20652
20653 * faces.el (link): Use a less saturated blue on light backgrounds.
20654
20655 * startup.el (fancy-startup-text, fancy-about-text)
20656 (fancy-startup-tail): Use font-lock faces, for background safety.
20657
20658 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
20659
20660 * emulation/viper-cmd.el (viper-change-state-to-vi):
20661 Limit triggering of abbrev expansion (Bug#9038).
20662
20663 2011-07-09 Martin Rudalics <rudalics@gmx.at>
20664
20665 * window.el (display-buffer-default-specifiers): Remove.
20666 (display-buffer-macro-specifiers): Remove default specifiers.
20667 (display-buffer-alist): Default to nil.
20668 (display-buffer-reuse-window): New optional argument other-window.
20669 (display-buffer-pop-up-window): Allow splitting internal
20670 windows. Check whether a live window was created.
20671 (display-buffer-other-window-means-other-frame)
20672 (display-buffer-normalize-arguments): Rename to
20673 display-buffer-normalize-argument and rewrite. Set the
20674 other-window specifier.
20675 (display-buffer-normalize-special): New function.
20676 (display-buffer-normalize-options): Rename to
20677 display-buffer-normalize-default and rewrite.
20678 (display-buffer-normalize-options-inhibit): Remove.
20679 (display-buffer-normalize-specifiers): Rewrite.
20680 (display-buffer): Process other-window specifier and call
20681 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
20682 more faithfully.
20683 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
20684 (display-buffer-alist-set): Don't handle 'unset default values.
20685 (display-buffer-in-window, display-buffer-alist-set):
20686 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
20687 <tassilo@member.fsf.org>.
20688
20689 2011-07-09 Leo Liu <sdl.web@gmail.com>
20690
20691 * register.el (insert-register): Restore accidental change on
20692 2011-06-26. (Bug#9028)
20693
20694 2011-07-09 Glenn Morris <rgm@gnu.org>
20695
20696 * subr.el (remq): Handle the empty list. (Bug#9024)
20697
20698 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
20699
20700 * mail/sendmail.el (send-mail-function): No longer delay custom
20701 initialization.
20702 * custom.el (custom-initialize-delay): Doc fix.
20703
20704 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
20705
20706 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
20707
20708 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
20709
20710 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
20711 human-friendly prompt.
20712
20713 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
20714
20715 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
20716 provided by a particular plugin.
20717
20718 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
20719
20720 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
20721 save customizations (with "emacs -Q"), just set the variable
20722 instead of erroring out.
20723
20724 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
20725
20726 2011-07-08 Juri Linkov <juri@jurta.org>
20727
20728 * arc-mode.el (archive-zip-expunge, archive-zip-update)
20729 (archive-zip-update-case): Use 7z if found by `executable-find'.
20730 The order of searching the available programs is the same as in
20731 `archive-zip-extract' (bug#8968).
20732
20733 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
20734
20735 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
20736 (menu-bar-options-menu): Tweak descriptions.
20737
20738 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
20739
20740 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
20741 menu items into verb phrases (bug#1421). Also refill to fit under
20742 80 columns.
20743
20744 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
20745
20746 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
20747 (Info-read-node-name): Doc fix (Bug#1084).
20748
20749 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
20750 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
20751 (end-of-sexp, beginning-of-sexp)
20752 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
20753 (forward-symbol, forward-same-syntax, word-at-point)
20754 (sentence-at-point): Doc fix (Bug#1144).
20755
20756 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
20757
20758 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
20759 should cover it (bug#1281).
20760
20761 * cus-edit.el (custom-show): Mark as obsolete.
20762
20763 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
20764 negotiation fails, then possibly try again with a non-encrypted
20765 connection (bug#9017).
20766
20767 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
20768 be used.
20769
20770 2011-07-07 Richard Stallman <rms@gnu.org>
20771
20772 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
20773 property, and handle its changed format.
20774 Look for the correct line number.
20775 Use file's line contents (but not past first =) to find
20776 correct line in message.
20777
20778 2011-07-07 Kenichi Handa <handa@m17n.org>
20779
20780 * international/characters.el (build-unicode-category-table):
20781 Delete it.
20782 (unicode-category-table): Set it by unicode-property-table-internal.
20783
20784 * international/mule-cmds.el (char-code-property-alist): Move to
20785 to src/chartab.c.
20786 (get-char-code-property): Call unicode-property-table-internal to
20787 load a file. Call get-unicode-property-internal where necessary.
20788 (put-char-code-property): Call unicode-property-table-internal to
20789 load a file. Call put-unicode-property-internal where necessary.
20790 put-unicode-property-internal where necessary.
20791 (char-code-property-description):
20792 Call unicode-property-table-internal to load a file.
20793
20794 * international/charprop.el:
20795 * international/uni-bidi.el:
20796 * international/uni-category.el:
20797 * international/uni-combining.el:
20798 * international/uni-comment.el:
20799 * international/uni-decimal.el:
20800 * international/uni-decomposition.el:
20801 * international/uni-digit.el:
20802 * international/uni-lowercase.el:
20803 * international/uni-mirrored.el:
20804 * international/uni-name.el:
20805 * international/uni-numeric.el:
20806 * international/uni-old-name.el:
20807 * international/uni-titlecase.el:
20808 * international/uni-uppercase.el: Regenerate.
20809
20810 * loadup.el: Load international/charprop.el before
20811 international/characters.
20812
20813 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
20814
20815 * window.el (next-buffer, previous-buffer): Signal an error if
20816 called from a minibuffer window.
20817
20818 * bindings.el: Revert 2011-07-04 change.
20819
20820 2011-07-06 Richard Stallman <rms@gnu.org>
20821
20822 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
20823 (rmail-mime-insert-bulk, rmail-mime-insert-text):
20824 Treat markers like ints.
20825 (rmail-mime-entity): Doc fix.
20826
20827 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
20828
20829 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
20830 defcustom again for backwards compatibility.
20831
20832 * simple.el (shell-command-on-region): Fill.
20833
20834 * dired-aux.el (dired-kill-line): Add a doc string.
20835
20836 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
20837 to "\\sw\\|\\s_" (bug#358).
20838
20839 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
20840 (dired-unmark-backward): Ditto.
20841 (dired-flag-backup-files): Ditto.
20842
20843 * dired-x.el (dired-mark-sexp): Ditto.
20844
20845 2011-07-06 Richard Stallman <rms@gnu.org>
20846
20847 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
20848 (rmail-mime-entity): New arg TRUNCATED.
20849 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
20850 New functions.
20851 (rmail-mime-save): Warn if entity is truncated.
20852 (rmail-mime-toggle-hidden): Likewise, for showing.
20853 (rmail-mime-process-multipart): Record when an entity is truncated.
20854
20855 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
20856 if ENTITY is a string.
20857
20858 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
20859
20860 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
20861 of faces when `M-C-x'-ing their definitions (bug#8378).
20862 Also clean up the code slightly.
20863
20864 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
20865 because that makes the colors go away.
20866
20867 * mail/sendmail.el (send-mail-function): Change the default to
20868 `sendmail-query-once'.
20869 (sendmail-query-once): Add an autoload cookie.
20870
20871 * net/network-stream.el (network-stream-open-starttls): Try using
20872 a plain connection even if the server offered STARTTLS, and we
20873 kinda wanted to use it, if Emacs doesn't have any STARTTLS
20874 capability. This should make smtpmail.el work in slightly more
20875 configurations.
20876
20877 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
20878
20879 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
20880 New defun.
20881 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
20882
20883 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
20884
20885 * progmodes/sql.el: Version 3.0
20886 (sql-product-alist): Add product :completion-object,
20887 :completion-column, and :statement attributes.
20888 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
20889 (sql-mode-syntax-table): Mark all punctuation.
20890 (sql-font-lock-keywords-builder): Temporarily remove fallback on
20891 ansi keywords.
20892 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
20893 (sql-mode-oracle-font-lock-keywords): Improve.
20894 (sql-oracle-show-reserved-words): New function for development.
20895 (sql-product-font-lock): Simplify for source code buffers.
20896 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
20897 New functions.
20898 (sql-highlight-product): Set product specific syntax table.
20899 (sql-mode-map): Add statement movement functions.
20900 (sql-ansi-statement-starters, sql-oracle-statement-starters):
20901 New variable.
20902 (sql-statement-regexp, sql-beginning-of-statement)
20903 (sql-end-of-statement, sql-signum): New functions.
20904 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
20905 (sql-show-sqli-buffer): Bug fix.
20906 (sql-interactive-mode): Store connection data as buffer local.
20907 (sql-connect): Add NEW-NAME parameter. Redesign interaction
20908 with sql-interactive-mode.
20909 (sql-save-connection): Save buffer local settings.
20910 (sql-connection-menu-filter): Change menu entry name.
20911 (sql-product-interactive): Bug fix.
20912 (sql-preoutput-hold): New variable.
20913 (sql-interactive-remove-continuation-prompt): Bug fixes.
20914 (sql-debug-redirect): New variable.
20915 (sql-str-literal): New function.
20916 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
20917 Redesign.
20918 (sql-oracle-save-settings, sql-oracle-restore-settings)
20919 (sql-oracle-list-all, sql-oracle-list-table): New functions.
20920 (sql-completion-object, sql-completion-column)
20921 (sql-completion-sqlbuf): New variables.
20922 (sql-build-completions-1, sql-build-completions)
20923 (sql-try-completion): New functions.
20924 (sql-read-table-name): Use them.
20925 (sql-contains-names): New buffer local variable.
20926 (sql-list-all, sql-list-table): Use it.
20927 (sql-oracle-completion-types): New variable.
20928 (sql-oracle-completion-object, sql-sqlite-completion-object)
20929 (sql-postgres-completion-object): New functions.
20930
20931 2011-07-06 Glenn Morris <rgm@gnu.org>
20932
20933 * window.el (pop-to-buffer): Doc fix.
20934
20935 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
20936
20937 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
20938
20939 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
20940
20941 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
20942
20943 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
20944
20945 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
20946
20947 * button.el (button): Inherit from link face. Suggested by Dan
20948 Nicolaescu.
20949
20950 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
20951
20952 * progmodes/gdb-mi.el: Fit in 80 columns.
20953 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
20954 switch-to-buffer.
20955
20956 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
20957 if imenu is simply not configured (bug#8941).
20958
20959 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
20960
20961 * allout.el (allout-post-undo-hook): New allout outline-change
20962 event hook to signal undo activity.
20963 (allout-post-command-business): Run allout-post-undo-hook if an
20964 undo just occurred.
20965 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
20966 * allout-widgets.el (allout-widgets-after-undo-function):
20967 Ensure the integrity of the current item's decoration after it has been
20968 in the vicinity of an undo.
20969 (allout-widgets-mode): Include allout-widgets-after-undo-function
20970 on the new allout-post-undo-hook.
20971
20972 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
20973
20974 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
20975 Let define-derived-mode define it.
20976 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
20977 cycles of abbrev-table inheritance (bug#8998).
20978
20979 2011-07-05 Roland Winkler <winkler@gnu.org>
20980
20981 * textmodes/bibtex.el: Add support for biblatex.
20982 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
20983 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
20984 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
20985 (bibtex-entry-alist, bibtex-field-alist): New variables.
20986 (bibtex-entry-field-alist): Obsolete alias for
20987 bibtex-BibTeX-entry-alist.
20988 (bibtex-entry-alist, bibtex-field-alist): New widgets.
20989 (bibtex-set-dialect): New command.
20990 (bibtex-entry-type, bibtex-entry-head)
20991 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
20992 Bind via bibtex-set-dialect.
20993 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
20994 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
20995 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
20996 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
20997 Define via bibtex-set-dialect.
20998 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
20999 Obey bibtex-no-opt-remove-re.
21000 (bibtex-vec-push, bibtex-vec-incr): New functions.
21001 (bibtex-format-entry, bibtex-field-list)
21002 (bibtex-print-help-message, bibtex-validate)
21003 (bibtex-search-entries): Use new format of bibtex-entry-alist.
21004
21005 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
21006
21007 * progmodes/compile.el (compilation-goto-locus):
21008 * net/tramp-cmds.el (tramp-append-tramp-buffers):
21009 * bs.el (bs-cycle-next, bs-cycle-previous):
21010 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
21011 * bindings.el (mode-line-other-buffer):
21012 * autoinsert.el (auto-insert):
21013 * arc-mode.el (archive-extract):
21014 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
21015
21016 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
21017
21018 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
21019 Fix check of `emacs-lock-unlockable-modes'.
21020 Coerce true values of `emacs-lock--try-unlocking' to t.
21021
21022 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
21023
21024 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
21025 * emacs-lock.el: New file.
21026
21027 2011-07-05 Julien Danjou <julien@danjou.info>
21028
21029 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
21030 than `boundp' to check if face is set.
21031
21032 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
21033
21034 * register.el (registerv-make):
21035 * window.el (window-min-height): Fix typos in docstrings.
21036
21037 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
21038
21039 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
21040 Update doc string.
21041
21042 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
21043
21044 * server.el (server-execute): Catch quit and call
21045 `server-return-error' to pass the error back to emacsclient and
21046 close the connection (bug#8942).
21047
21048 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
21049
21050 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
21051 insecure exception for current topic. Also note that auto-saves
21052 are handled differently.
21053
21054 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
21055 State variables for tracking auto-save inhibition situation.
21056
21057 (allout-write-contents-hook-handler): Rename from
21058 'allout-write-file-hook-handler', and describe how it depends on
21059 write-contents-functions sensitivity to non-nil value to prevent
21060 file write.
21061
21062 (allout-auto-save-hook-handler): Remove. auto-save does not check
21063 this in individual buffers, only in the starting buffer, so this
21064 is not the right way for us to inhibit auto-save in a buffer
21065 according to its condition.
21066
21067 (allout-mode): Use new allout-write-contents-hook-handler, and
21068 only with write-contents-functions. Remove auto-save provisions -
21069 they're implemented elsewhere.
21070
21071 (allout-before-change-handler): If undo is in progress, note that
21072 for attention of allout-post-command-business.
21073
21074 (allout-post-command-business): If the command we're following was
21075 an undo, check for change in the status of encrypted items and
21076 adjust auto-save inhibitions accordingly.
21077
21078 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
21079 according to whether there are or aren't any plain-text topics
21080 pending encryption.
21081
21082 (allout-inhibit-auto-save-info-for-decryption):
21083 Adjust buffer-saved-size and some allout state to inhibit auto-saves
21084 if there are plain-text topics pending encryption.
21085
21086 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
21087 buffer-saved-size and some allout state to not inhibit auto-saves
21088 if there are no longer any plain-text topics pending encryption.
21089
21090 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
21091 No longer provide for exemption of the current topic.
21092
21093 2011-07-04 Juri Linkov <juri@jurta.org>
21094
21095 Add 7z operations to delete and save changed members (bug#8968).
21096 * arc-mode.el (archive-7z-expunge, archive-7z-update):
21097 New defcustoms.
21098 (archive-7z-write-file-member): New function.
21099 (archive-7z-summarize): Fix the number of dashes in the
21100 listing output.
21101
21102 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
21103
21104 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
21105 (bug#8958).
21106
21107 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
21108
21109 * bindings.el: Ignore next-buffer and previous-buffer in
21110 minibuffer-local-map.
21111
21112 * font-lock.el (font-lock-builtin-face): Change light background
21113 color to dark slate blue (Bug#6693).
21114
21115 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
21116
21117 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
21118
21119 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
21120
21121 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
21122 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
21123 Add switch-to-buffer.
21124
21125 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
21126
21127 * isearch.el (isearch-search-fun-function): Clarify further the
21128 meaning of the function returned.
21129
21130 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
21131
21132 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
21133
21134 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
21135 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
21136 Use it.
21137 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
21138 `tramp-default-remote-path' does not exist.
21139 (tramp-send-command-and-read): New optional argument NOERROR.
21140 (tramp-open-connection-setup-interactive-shell)
21141 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
21142 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
21143 (tramp-process-sentinel): Flush also process' connection property.
21144 (tramp-sh-handle-start-file-process): Do not set process
21145 sentinel. It is done now ...
21146 (tramp-maybe-open-connection): ... here. (Bug#8929)
21147
21148 2011-07-04 MON KEY <monkey@sandpframing.com>
21149
21150 * play/animate.el (animate-string): Doc fixes and allow changing
21151 the buffer name (bug#5417).
21152
21153 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
21154
21155 * play/animate.el (animation-buffer-name): Rename from *animate*.
21156
21157 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
21158
21159 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
21160 This is simpler and helps future-proof the code.
21161 (timer-until): Use time-subtract and float-time.
21162 (timer--time-less-p): Use time-less-p.
21163
21164 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
21165
21166 * type-break.el (timep): Use the value of `float-time' to avoid a
21167 byte-compiler warning.
21168
21169 * server.el (server-eval-and-print): Return any result, even nil.
21170
21171 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
21172
21173 * type-break.el: Accept time formats that the builtins accept.
21174 (timep, type-break-time-difference): Accept any format that
21175 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
21176 This is simpler and helps future-proof the code.
21177 (type-break-time-difference): Round rather than ignoring
21178 subseconds components.
21179
21180 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
21181
21182 * info.el (Info-apropos-matches): Make non-interactive, since it
21183 doesn't seem to do anything useful as a command (bug#8829).
21184
21185 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
21186
21187 * frame.el (frame-background-mode, frame-set-background-mode):
21188 Move from faces.el.
21189 (frame-default-terminal-background): New function.
21190
21191 * custom.el (custom-push-theme): Don't record faces in `changed'
21192 theme; this doesn't work correctly for per-frame face settings.
21193 (disable-theme): Use face-set-after-frame-default to reset faces.
21194 (custom--frame-color-default): New function.
21195
21196 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
21197
21198 * dired.el (dired-flagging-regexp): Remove unused variable
21199 (bug#8769).
21200
21201 2011-03-29 Kevin Ryde <user42@zip.com.au>
21202
21203 * progmodes/compile.el (compilation-error-regexp-alist-alist):
21204 `perl-Test2' extend to match possible "fail #N" rep count
21205 (bug#8377).
21206
21207 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
21208
21209 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
21210 `smtpmail-via-smtp' now returns the error instead of nil.
21211
21212 * isearch.el (isearch-search-fun-function): Clarify the doc string
21213 (bug#8101).
21214
21215 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
21216
21217 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
21218 unnecessary spaces (bug#8987).
21219
21220 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
21221
21222 * net/network-stream.el (open-network-stream): Use the
21223 :end-of-capability command thoughout.
21224
21225 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
21226
21227 * net/network-stream.el (open-network-stream): Add the
21228 :end-of-capability command parameter, used by pop3.el.
21229
21230 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
21231
21232 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
21233
21234 * fringe.el (fringe-query-style): Remove redundant text " (type ?
21235 for list)" (bug#6475).
21236
21237 * files.el (file-expand-wildcards): Ignore non-readable
21238 sub-directories while trying to find matches instead of signaling
21239 an error (bug#6297).
21240
21241 * man.el (Man-reference-regexp): Allow matching possible
21242 word-wrapped references (bug#6289).
21243
21244 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
21245 for consistency with the other vc buffers (bug#6197).
21246 (vc-checkin): Ditto.
21247
21248 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
21249
21250 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
21251
21252 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
21253
21254 * custom.el (defcustom): Clarify that :set is only used in the
21255 Customize user interface (bug#6089).
21256
21257 * progmodes/flymake.el (flymake-mode): If the buffer isn't
21258 associated with a file, refuse to run instead of erroring out
21259 (bug#6084).
21260
21261 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
21262 the doc string, since it appears that using `fill-column' always
21263 controls the width (bug#7845).
21264
21265 * simple.el (shell-command-on-region): Say where the error output
21266 went if `shell-command-default-error-buffer' is set (bug#6857).
21267
21268 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
21269
21270 * allout.el (allout-yank-processing): Adjust cursor position for
21271 backwards-deleted space.
21272
21273 (allout-rebullet-heading): Register changes with
21274 allout-exposure-changed-hook, so the modified topic is properly
21275 decorated.
21276
21277 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
21278
21279 * minibuffer.el (completion-in-region): Document PREDICATE
21280 (bug#7136).
21281
21282 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
21283 of keyword/argument pairs (bug#6904).
21284
21285 * replace.el (multi-occur):
21286 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
21287
21288 2011-07-02 Drew Adams <drew.adams@oracle.com>
21289
21290 * dired.el (dired-mark-if): Make the message about whether it's
21291 marking or unmarking clearer (bug#8523).
21292
21293 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
21294
21295 * disp-table.el (display-table-print-array): New function.
21296 (describe-display-table): Use it to print the vectors more pretty
21297 (Bug#8859).
21298
21299 2011-07-02 Martin Rudalics <rudalics@gmx.at>
21300
21301 * window.el (window-state-get-1): Don't assign clone numbers.
21302 Add clone-of item to list of window parameters.
21303 (window-state-put-2): Don't process clone numbers.
21304 (display-buffer-alist): Fix doc-string.
21305
21306 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
21307
21308 * subr.el (remq): Don't allocate if it's not needed.
21309 (keymap--menu-item-binding, keymap--menu-item-with-binding)
21310 (keymap--merge-bindings): New functions.
21311 (keymap-canonicalize): Use them to refine the canonicalization.
21312 * minibuffer.el (minibuffer-local-completion-map)
21313 (minibuffer-local-must-match-map): Move initialization from C.
21314 (minibuffer-local-filename-completion-map): Move initialization from C;
21315 don't inherit from anything here.
21316 (minibuffer-local-filename-must-match-map): Make obsolete.
21317 (completing-read-default): Use make-composed-keymap to combine
21318 minibuffer-local-filename-completion-map with either
21319 minibuffer-local-must-match-map or
21320 minibuffer-local-filename-completion-map.
21321
21322 2011-07-01 Glenn Morris <rgm@gnu.org>
21323
21324 * type-break.el (type-break-time-sum): Use dolist.
21325
21326 * textmodes/flyspell.el (flyspell-word-search-backward):
21327 Replace CL function.
21328
21329 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
21330
21331 * mouse.el (mouse--strip-first-event): New function.
21332 (function-key-map): Use it to map fringe clicks to normal clicks
21333 by default.
21334
21335 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
21336 (vc-bzr-revision-completion-table): Add support for annotate and date.
21337
21338 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
21339 inherit from parent.
21340
21341 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
21342
21343 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
21344 (dired-show-file-type): Doc fixup (bug#8818).
21345
21346 * dired.el (dired-mode): Fix up the doc string as suggested by
21347 Drew Adams (bug#8817).
21348
21349 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
21350 cookie, since the manual says that it should be possible to add
21351 this function to `find-file-hook' (bug#8709).
21352
21353 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
21354
21355 * progmodes/cfengine.el: Moved all cfengine3.el functionality
21356 here. Noted Ted Zlatanov as the maintainer.
21357 (cfengine-common-settings, cfengine-common-syntax): New functions
21358 to set up common things between `cfengine-mode' and
21359 `cfengine3-mode'.
21360 (cfengine3-mode): New mode.
21361 (cfengine3-defuns cfengine3-defuns-regex
21362 (cfengine3-class-selector-regex cfengine3-category-regex)
21363 (cfengine3-vartypes cfengine3-font-lock-keywords)
21364 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
21365 (cfengine3-indent-line): Add from cfengine3.el.
21366
21367 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
21368
21369 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
21370
21371 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
21372
21373 2011-07-01 Martin Rudalics <rudalics@gmx.at>
21374
21375 * window.el (same-window-buffer-names, same-window-regexps)
21376 (same-window-p, special-display-frame-alist)
21377 (special-display-popup-frame, special-display-function)
21378 (special-display-buffer-names, special-display-regexps)
21379 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
21380 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
21381 (split-window-preferred-function, split-height-threshold)
21382 (split-width-threshold, even-window-heights)
21383 (display-buffer-mark-dedicated, window-splittable-p)
21384 (split-window-sensibly, window-safely-shrinkable-p):
21385 Un-obsolete.
21386 (display-buffer): Don't spread args with function specifier
21387 because special-display-popup-frame won't like it.
21388
21389 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
21390
21391 Time-stamp simplifications and fixes.
21392 These improve accuracy slightly, and future-proof the code
21393 against some potential changes to current-time format.
21394
21395 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
21396 by using time-since and float-time.
21397
21398 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
21399 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
21400 + NNN microseconds".
21401
21402 * type-break.el (type-break-time-sum): Rewrite using time-add.
21403
21404 * play/hanoi.el (hanoi-current-time-float): Remove.
21405 All uses replaced by float-time.
21406
21407 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
21408 This yields a more-accurate answer.
21409 (rng-time-to-float): Remove; no longer needed.
21410
21411 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
21412
21413 * calendar/timeclock.el (timeclock-seconds-to-time):
21414 Defalias to seconds-to-time, since they're the same thing.
21415
21416 * emacs-lisp/elp.el (elp-elapsed-time):
21417 * emacs-lisp/benchmark.el (benchmark-elapse):
21418 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
21419
21420 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
21421
21422 * window.el (bury-buffer): Don't iconify the only frame.
21423 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
21424 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
21425
21426 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
21427
21428 * eshell/em-smart.el (eshell-smart-display-navigate-list):
21429 Add mouse-yank-primary.
21430
21431 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
21432
21433 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
21434
21435 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
21436
21437 * emacs-lisp/find-func.el (find-library--load-name): New fun.
21438 (find-library-name): Use it to find relative load names when provided
21439 absolute file name (bug#8803).
21440
21441 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
21442
21443 * textmodes/flyspell.el (flyspell-word): Consider words that
21444 differ only in case as potential doublons (bug#5687).
21445
21446 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
21447 Remove two rather uninteresting debugging-like messages to make
21448 debbugs.el more silent.
21449
21450 * comint.el (comint-password-prompt-regexp): Accept "Response" as
21451 a password-like phrase.
21452
21453 2011-06-30 Masatake YAMATO <yamato@redhat.com>
21454
21455 * progmodes/cc-guess.el: New file.
21456
21457 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
21458
21459 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
21460 derived from `c-basic-common-init'.
21461
21462 * progmodes/cc-mode.el (top-level): Require cc-guess.
21463 (c-basic-common-init): Use `cc-choose-style-for-mode'.
21464
21465 2011-06-30 Lawrence Mitchell <wence@gmx.li>
21466
21467 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
21468
21469 2011-06-30 Alan Mackenzie <acm@muc.de>
21470
21471 * progmodes/cc-engine.el (c-guess-continued-construct):
21472 Correct the handling of template-args-cont, particularly for when font
21473 lock is disabled. Name this case as "CASE G".
21474
21475 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
21476
21477 * allout.el (allout-yank-processing): Fix injection of extra space
21478 between bullet and non-whitespace character in first topic when
21479 pasting, ensuring that the actual spacing in the pasted topic
21480 following the bullet char is preserved. This extra space was
21481 causing pasted encrypted topics to get a decrypted status even
21482 when the content was actually still encrypted. Now the decryption
21483 status from before the paste is preserved.
21484
21485 (allout-flag-region): Set all allout overlays so they evaporate
21486 when reduced to zero length (evanescent), to prevent overlay
21487 leakage.
21488
21489 2011-06-30 Glenn Morris <rgm@gnu.org>
21490
21491 * w32-fns.el (w32-charset-info-alist): Declare.
21492
21493 * find-dired.el (find-grep-options): Simplify.
21494
21495 * term/ns-win.el (ns-set-resource): Declare.
21496
21497 * ses.el (row, col): Declare dynamic variables honestly.
21498
21499 * textmodes/reftex-parse.el (index-tags): Declare.
21500
21501 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
21502
21503 * cus-edit.el (customize-push-and-save): New function.
21504
21505 * files.el (hack-local-variables-confirm): Use it.
21506
21507 * custom.el (load-theme): New arg NO-CONFIRM.
21508 Use customize-push-and-save (Bug#8720).
21509 (custom-enabled-themes): Doc fix.
21510
21511 * cus-theme.el (customize-create-theme)
21512 (custom-theme-merge-theme): Callers to load-theme changed.
21513
21514 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
21515
21516 * thingatpt.el (thing-at-point-short-url-regexp): Require that
21517 short URLs have at least one dot in them (bug #7614).
21518
21519 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
21520 nil, because using a pty is apparently too slow (bug #895).
21521
21522 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
21523
21524 * mail/sendmail.el (sendmail-query-once): New function.
21525 (sendmail-query-once-function): New variable.
21526
21527 2011-06-29 Glenn Morris <rgm@gnu.org>
21528
21529 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
21530
21531 * ses.el (top-level): Require cl when compiling.
21532 (ses-set-localvars): Fix error statement.
21533 Call it at compile time to silence a storm of warnings.
21534
21535 2011-06-29 Martin Rudalics <rudalics@gmx.at>
21536
21537 * window.el (normalize-live-buffer): Rename to
21538 window-normalize-buffer.
21539 (normalize-live-frame): Rename to window-normalize-frame.
21540 (normalize-any-window): Rename to window-normalize-any-window.
21541 (normalize-live-window): Rename to window-normalize-live-window.
21542 (make-window-atom): Rename to window-make-atom.
21543 (window-resize-reset): Rename to window--resize-reset.
21544 (window-resize-reset-1): Rename to window--resize-reset-1.
21545 (resize-mini-window): Rename to window--resize-mini-window.
21546 (resize-subwindows-skip-p): Rename to
21547 window--resize-subwindows-skip-p.
21548 (resize-subwindows-normal): Rename to
21549 window--resize-subwindows-normal.
21550 (resize-subwindows): Rename to window--resize-subwindows.
21551 (resize-other-windows): Rename to window--resize-siblings.
21552 (resize-this-window): Rename to window--resize-this-window.
21553 (resize-root-window): Rename to window--resize-root-window.
21554 (resize-root-window-vertically): Rename to
21555 window--resize-root-window-vertically.
21556 (normalize-buffer-to-display): Rename to
21557 window-normalize-buffer-to-display.
21558 (normalize-buffer-to-switch-to): Rename to
21559 window-normalize-buffer-to-switch-to.
21560 Correspondingly update all callers of the functions listed
21561 above.
21562 (display-buffer-alist, display-buffer-normalize-arguments)
21563 (display-buffer-normalize-options, display-buffer)
21564 (display-buffer-alist-set): Use "function" instead of
21565 "fun-with-args".
21566
21567 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
21568
21569 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
21570 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
21571 debbugs.gnu.org. Mention acknowledgment email.
21572
21573 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
21574
21575 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
21576 buffer multibyteness, since it shouldn't matter.
21577
21578 2011-06-28 Martin Rudalics <rudalics@gmx.at>
21579
21580 * window.el (display-buffer-in-side-window): Handle dedicated
21581 windows as in display-buffer-reuse-window.
21582 (display-buffer-normalize-alist): Use value of override
21583 specifier.
21584 (display-buffer-normalize-specifiers): Use value of
21585 other-window-means-other-frame specifier.
21586 (display-buffer-alist): Rewrite some texts in widgets.
21587 (display-buffer): Spread arguments when calling function
21588 specified by fun-with-args.
21589
21590 2011-06-28 Deniz Dogan <deniz@dogan.se>
21591
21592 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
21593 Unnest `let'.
21594
21595 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
21596 selectors (Bug#5732).
21597 (css-proprietary-nmstart-re): Use `regexp-opt'.
21598
21599 2011-06-27 Jari Aalto <jari.aalto@cante.net>
21600
21601 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
21602 (eshell-ls-date-format): New defcustom.
21603 (eshell-ls-file): Use it.
21604
21605 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
21606
21607 * help-fns.el (describe-variable): Fix message for terminal-local vars.
21608
21609 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
21610
21611 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
21612 (ange-ftp-make-tmp-name): New arg.
21613 (ange-ftp-file-local-copy): Use it.
21614
21615 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
21616
21617 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
21618 no-conversion (Bug#8870).
21619
21620 2011-06-27 Martin Rudalics <rudalics@gmx.at>
21621
21622 * window.el (window-right, window-left, window-child)
21623 (window-child-count, window-last-child)
21624 (window-iso-combination-p, walk-window-tree-1)
21625 (window-atom-check-1, window-tree-1, delete-window)
21626 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
21627 new naming conventions - window-vchild, window-hchild,
21628 window-next and window-prev are now called window-top-child,
21629 window-left-child, window-next-sibling and window-prev-sibling
21630 respectively.
21631 (resize-window-reset): Rename to window-resize-reset.
21632 (resize-window-reset-1): Rename to window-resize-reset-1.
21633 (resize-window): Rename to window-resize.
21634 (window-min-height, window-min-width)
21635 (resize-mini-window, resize-this-window, resize-root-window)
21636 (resize-root-window-vertically, adjust-window-trailing-edge)
21637 (enlarge-window, shrink-window, maximize-window)
21638 (minimize-window, delete-window, quit-restore-window)
21639 (split-window, balance-windows, balance-windows-area-adjust)
21640 (balance-windows-area, window-state-put-2)
21641 (display-buffer-even-window-sizes, display-buffer-set-height)
21642 (display-buffer-set-width, set-window-text-height)
21643 (fit-window-to-buffer): Rename all "resize-window" prefixed
21644 calls to use the "window-resize" prefix convention.
21645 (display-buffer-alist): Fix symbol for label specifier.
21646 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
21647 corresponding specifier.
21648 Reported by Juanma Barranquero <lekktu@gmail.com>.
21649
21650 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
21651
21652 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
21653 convention.
21654 (ses-call-printer): Does not pass an empty string to formatter when the
21655 cell is empty to keep from barking printer Calc math-format-value.
21656
21657 2011-06-27 Richard Stallman <rms@gnu.org>
21658
21659 * battery.el (battery-mode-line-limit): New variable.
21660 (battery-update): Handle it.
21661
21662 * mail/rmailmm.el (rmail-mime-process-multipart):
21663 Handle truncated messages.
21664
21665 2011-06-27 Glenn Morris <rgm@gnu.org>
21666
21667 * progmodes/flymake.el (flymake-err-line-patterns):
21668 Allow for column numbers in the ant/javac pattern. (Bug#8866)
21669
21670 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
21671
21672 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
21673 (ses--clean-!, ses--clean-_): New functions.
21674 (ses-range): Add configurability of readout order, and conversion
21675 to Calc vector.
21676
21677 * ses.el (ses-repair-cell-reference-all): New function.
21678 (ses-cell-symbol): Set macro as safe, so that it can be used in
21679 formulas.
21680
21681 * ses.el: Update cycle detection algorithm.
21682 (ses-localvars): Add ses--Dijkstra-attempt-nb and
21683 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
21684 (ses-set-localvars): New function.
21685 (ses-make-cell): Add property-list as a cell element.
21686 (ses-cell-property-get-fun, ses-cell-property-get)
21687 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
21688 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
21689 New functions.
21690 (ses-cell-property-set, ses-cell-property-pop)
21691 (ses-cell-property-get-handle): New macro.
21692 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
21693 New aliases, used for code readability.
21694 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
21695 cycle detection.
21696 (ses-self-reference-early-detection): New defcustom.
21697 (ses-formula-references): Robustify against self-referring cells.
21698 (ses-mode): Use ses-set-localvars.
21699 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
21700 before lauching the update processing.
21701 (ses-initialize-Dijkstra-attempt): New function.
21702 (ses-recalculate-cell): Update for cycle detection based on
21703 Dijkstra algorithm.
21704
21705 * ses.el: Fix commenting and indenting convention.
21706
21707 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
21708
21709 * bs.el (bs-cycle-next): Complete last change.
21710
21711 2011-06-27 Drew Adams <drew.adams@oracle.com>
21712
21713 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
21714
21715 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
21716
21717 * net/network-stream.el (network-stream-open-starttls):
21718 Don't re-get capabilities unless we've reestablished connection.
21719 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
21720
21721 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
21722 to binary to possibly avoid line encoding issues on Windows (among
21723 other things).
21724
21725 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
21726
21727 * net/network-stream.el (open-network-stream): Return an :error
21728 saying what the problem was, if possible.
21729
21730 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
21731 server.
21732
21733 * net/network-stream.el (network-stream-open-starttls): If we
21734 wanted to use STARTTLS, and the server offered it, but we weren't
21735 able to because we had no STARTTLS support, then close the connection.
21736 (open-network-stream): Return an :error element, if present.
21737
21738 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
21739
21740 * hl-line.el (hl-line-sticky-flag): Doc fix.
21741 (global-hl-line-sticky-flag): New option (Bug#8323).
21742 (global-hl-line-highlight): Obey it.
21743
21744 * vc/vc.el (vc-revert-show-diff): Default to t.
21745
21746 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
21747
21748 * allout-widgets.el (allout-widgets-post-command-business):
21749 Stop decorating intermediate isearch matches. They're not being
21750 undecorated when an isearch is continued past, and isearch
21751 automatically collapses them. This leads to "widget leaks", where
21752 decorated items accumulate in collapsed areas. Lines with lots of
21753 hidden widgets can slow down cursor travel, substantially.
21754 Too much complicated machinery would be needed to ensure undecoration,
21755 so we're doing without this nicety.
21756
21757 (allout-widgets-tally-string): Don't try to do a hash-table-count
21758 of allout-widgets-tally when it's nil. This eliminates spurious "Error
21759 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
21760 *Messages* when allout-widgets-maintain-tally is t.
21761
21762 2011-06-26 Martin Rudalics <rudalics@gmx.at>
21763
21764 * window.el (display-buffer-normalize-argument): Rename to
21765 display-buffer-normalize-arguments. Handle special meaning of
21766 LABEL argument. Respect special-display-function when popping up
21767 a new frame. Fix code searching for a window showing the buffer
21768 on another frame.
21769 (display-buffer-normalize-specifiers):
21770 Call display-buffer-normalize-arguments.
21771 (display-buffer-in-window): Don't undedicate the window if its
21772 buffer remains the same.
21773 Reported by Drew Adams <drew.adams@oracle.com>.
21774 (display-buffer-alist): Add choice for same-window macro
21775 specfier.
21776 (display-buffer): Mention special meaning of LABEL argument in
21777 doc-string. Fix quoting. Don't pop up a new frame even as
21778 fallback.
21779
21780 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
21781
21782 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
21783 avoid deleting the current window in some cases (bug#8911).
21784
21785 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
21786
21787 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
21788 (Bug#8934)
21789
21790 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
21791
21792 * net/network-stream.el (network-stream-open-starttls):
21793 Use built-in TLS support if `gnutls-available-p' is true.
21794 (network-stream-open-tls): Ditto.
21795
21796 2011-06-26 Leo Liu <sdl.web@gmail.com>
21797
21798 * register.el (registerv): New struct.
21799 (registerv-make): New function.
21800 (jump-to-register, describe-register-1, insert-register):
21801 Support the jump-func, print-func and insert-func slot of a registerv
21802 struct. (Bug#8415)
21803
21804 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
21805
21806 * vc/vc.el (vc-revert-show-diff): New defcustom.
21807 (vc-diff-internal): New arg specifying diff buffer.
21808 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
21809 reuse an existing *vc-diff* buffer (Bug#8927).
21810
21811 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
21812
21813 2011-06-26 Glenn Morris <rgm@gnu.org>
21814
21815 * progmodes/f90.el (f90-critical-indent): New option.
21816 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
21817 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
21818 (f90-mode): Doc fix.
21819 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
21820 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
21821 (f90-beginning-of-block, f90-next-block, f90-indent-region)
21822 (f90-match-end): Handle block, critical.
21823
21824 2011-06-25 Glenn Morris <rgm@gnu.org>
21825
21826 * calendar/diary-lib.el (diary-included-files): Doc fix.
21827 (diary-include-files): New function, extracted from
21828 diary-include-other-diary-files and diary-mark-included-diary-files.
21829 (diary-include-other-diary-files, diary-mark-included-diary-files):
21830 Just call diary-include-files.
21831 (diary-mark-entries): Reset diary-included-files on first call.
21832
21833 * calendar/diary-lib.el (diary-mark-entries)
21834 (diary-mark-included-diary-files):
21835 Visit included diary-files in temp buffers.
21836
21837 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
21838 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
21839 (f90-start-block-re, f90-imenu-generic-expression)
21840 (f90-looking-at-program-block-start, f90-no-block-limit):
21841 Add support for submodules.
21842
21843 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
21844 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
21845
21846 2011-06-25 Eli Zaretskii <eliz@gnu.org>
21847
21848 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
21849 buffer-file-type before setting its value, to avoid disastrous
21850 global effects on decoding files for DOS/Windows systems. (Bug#8780)
21851
21852 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
21853
21854 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
21855
21856 * ses.el (ses-unload-function):
21857 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
21858
21859 * proced.el (proced-unload-function):
21860 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
21861
21862 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
21863
21864 * server.el (server-create-window-system-frame): Add parameters arg.
21865 (server-process-filter): Doc fix. Handle frame-parameters.
21866
21867 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
21868
21869 Fix bug#8730, bug#8781.
21870
21871 * loadhist.el (unload--set-major-mode): New function.
21872 (unload-feature): Use it.
21873
21874 * progmodes/python.el (python-after-info-look): Add autoload cookie.
21875 (python-unload-function): New function.
21876
21877 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
21878
21879 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
21880
21881 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
21882
21883 * net/browse-url.el (browse-url-firefox-program): Add icecat to
21884 the candidates list.
21885
21886 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
21887
21888 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
21889
21890 2011-06-23 Richard Stallman <rms@gnu.org>
21891
21892 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
21893 (rmail-variables): Set next-error-move-function.
21894 (rmail-what-message): Take argument POS.
21895 (rmail-next-error-move): New function.
21896
21897 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
21898
21899 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
21900 messages for adjacent non-terminals.
21901
21902 2011-06-23 Richard Stallman <rms@gnu.org>
21903
21904 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
21905 (rmail-show-message-1): Preserve buffer modified flag.
21906 (rmail-start-mail): Don't specify use of rmail-mail-return;
21907 that's done by mail-bury now.
21908 (rmail-mail-return): Handle arg NEWBUF.
21909
21910 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
21911
21912 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
21913 SIZE is a number.
21914
21915 2011-06-23 Martin Rudalics <rudalics@gmx.at>
21916
21917 * window.el (get-lru-window, get-mru-window)
21918 (get-largest-window): Never return a minibuffer window.
21919 (display-buffer-pop-up-window): Fix a bug that could lead to
21920 reusing the minibuffer window.
21921 (display-buffer): Pass original specifier argument to
21922 display-buffer-function instead of the normalized one.
21923 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
21924
21925 2011-06-22 Leo Liu <sdl.web@gmail.com>
21926
21927 * minibuffer.el (completing-read-function)
21928 (completing-read-default): Move from minibuf.c.
21929
21930 2011-06-22 Richard Stallman <rms@gnu.org>
21931
21932 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
21933 to Rmail even if not started by a special Rmail command.
21934
21935 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
21936 Copy the buffer currently showing just one message.
21937
21938 2011-06-22 Roland Winkler <winkler@gnu.org>
21939
21940 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
21941 (bibtex-clean-entry): First delete the old key so that a
21942 customized algorithm for generating the new key does not get
21943 confused by the old key.
21944 (bibtex-url): Obey regexp of first step.
21945 (bibtex-search-entries): Do not use add-to-list with local
21946 list-var.
21947
21948 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
21949
21950 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
21951 stored a user name, then query for the password first, instead of
21952 waiting for SMTP to give an error message and the trying again.
21953
21954 2011-06-22 Lawrence Mitchell <wence@gmx.li>
21955
21956 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
21957 BUFFER in call-process.
21958
21959 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
21960
21961 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
21962 QUIT twice.
21963 (smtpmail-try-auth-methods): Require user name and password from
21964 auth-source.
21965
21966 2011-06-22 Martin Rudalics <rudalics@gmx.at>
21967
21968 * window.el (display-buffer-default-specifiers)
21969 (display-buffer-alist): Remove entries for pop-up-frame-alist.
21970 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
21971 (split-window): Normalize SIDE argument (Bug#8916).
21972
21973 * frame.el (pop-up-frame-alist, pop-up-frame-function)
21974 (special-display-frame-alist, special-display-popup-frame):
21975 Remove duplicate declarations. These are now in window.el.
21976
21977 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
21978
21979 * mail/smtpmail.el (smtpmail-via-smtp):
21980 Set :use-starttls-if-possible so that we always use STARTTLS if the
21981 server supports it. SMTP servers that support STARTTLS commonly
21982 require it.
21983
21984 * net/network-stream.el (network-stream-open-starttls): Support
21985 upgrading to STARTTLS always, even if we don't have built-in support.
21986 (open-network-stream): Add the :always-query-capabilities keyword.
21987
21988 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
21989 upgrades with `open-network-stream', and rely solely on
21990 auth-source for all credentials. Big changes throughout the file,
21991 but in particular:
21992 (smtpmail-auth-credentials): Remove.
21993 (smtpmail-starttls-credentials): Remove.
21994 (smtpmail-via-smtp): Check for servers saying they want AUTH after
21995 MAIL FROM, too.
21996
21997 * net/network-stream.el (network-stream-open-starttls):
21998 Provide support for client certificates both for external and built-in
21999 STARTTLS.
22000 (auth-source): Require.
22001 (open-network-stream): Document the :client-certificate keyword.
22002 (network-stream-certificate): Change cert-cert to cert and
22003 cert-key to key.
22004
22005 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
22006
22007 * net/tramp-cache.el (top): Don't load the persistency file when
22008 "emacs -Q" has been called.
22009
22010 2011-06-21 Tim Harper <timcharper@gmail.com>
22011
22012 * term/ns-win.el (ns-initialize-window-system):
22013 Set application-specific `ApplePressAndHoldEnabled' system
22014 resource to NO as it is not yet supported by the NS port.
22015
22016 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
22017
22018 * misc.el (list-dynamic-libraries--refresh): Compute header here...
22019 (list-dynamic-libraries): ...not here.
22020
22021 2011-06-21 Leo Liu <sdl.web@gmail.com>
22022
22023 * subr.el (sha1): Implement sha1 using secure-hash.
22024
22025 2011-06-21 Martin Rudalics <rudalics@gmx.at>
22026
22027 * window.el (display-buffer-alist): In default value do not
22028 enforce searching a window on any but the selected frame.
22029 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
22030 (display-buffer-select-window): Remove function.
22031 (display-buffer-in-window): When a window on another frame gets
22032 reused, do not select it any more but just raise its frame if
22033 necessary (Bug#8851) and (Bug#8856).
22034 (display-buffer-normalize-options): Handle pop-up-frames related
22035 options more faithfully.
22036 (pop-to-buffer): Don't rely on `display-buffer' selecting the
22037 window if it is on another frame.
22038 (display-buffer-alist, display-buffer-default-specifiers):
22039 Don't make new frame unsplittable by default.
22040 (display-buffer-normalize-argument): Fix doc-string typo and use
22041 'same-frame-other-window instead of 'other-window when associating
22042 with display-buffer-macro-specifiers.
22043
22044 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
22045
22046 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
22047 New functions.
22048 (5x5-mode-map, 5x5-mode-menu): Bind them.
22049 (5x5-draw-grid): Tweak the solver's rendering.
22050
22051 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
22052
22053 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
22054 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
22055
22056 2011-06-21 Drew Adams <drew.adams@oracle.com>
22057
22058 * menu-bar.el: Use function variable instead of switch-to-buffer.
22059 (menu-bar-select-buffer-function): New variable.
22060 (menu-bar-update-buffers): Use it (bug#8876).
22061
22062 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
22063
22064 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
22065 variable's status.
22066
22067 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
22068
22069 * x-dnd.el (x-dnd-version-from-flags)
22070 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
22071 and long as number (Bug#8899).
22072 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
22073
22074 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
22075
22076 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
22077 (completion-try-completion, completion-all-completions): Compute the
22078 metadata argument if it's missing; make it optional (bug#8795).
22079
22080 * wid-edit.el: Use lex-bind and move towards completion-at-point.
22081 (widget-complete): Use new :completion-function property.
22082 (widget-completions-at-point): New function.
22083 (default): Use :completion-function instead of :complete.
22084 (widget-default-completions): Rename from widget-default-complete;
22085 Rewrite.
22086 (widget-string-complete, widget-file-complete, widget-color-complete):
22087 Remove functions.
22088 (file, symbol, function, variable, coding-system, color):
22089 * international/mule-cmds.el (default-input-method, charset)
22090 (language-info-custom-alist):
22091 * cus-edit.el (face): Use new property :completions.
22092
22093 * progmodes/pascal.el (pascal-completions-at-point): New function.
22094 (pascal-mode): Use it.
22095 (pascal-mode-map): Use completion-at-point.
22096 (pascal-toggle-completions): Make obsolete.
22097 (pascal-complete-word, pascal-show-completions):
22098 * progmodes/octave-mod.el (octave-complete-symbol):
22099 Redefine as obsolete alias.
22100 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
22101 Signal absence of completion info for old Octave,
22102 (inferior-octave-complete): Redefine as obsolete alias.
22103 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
22104 (meta-completions-at-point): Rename from meta-complete-symbol and
22105 adapt it for use on completion-at-point-functions.
22106 (meta-common-mode): Use it.
22107 (meta-looking-at-backward, meta-match-buffer): Remove.
22108 (meta-complete-symbol): Redefine as obsolete alias.
22109 (meta-common-mode-map): Use completion-at-point.
22110 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
22111 (makefile-mode-map): Use completion-at-point.
22112 (makefile-completions-at-point): Rename from makefile-complete and
22113 adapt it for use on completion-at-point-functions.
22114 (makefile-mode): Use it.
22115 (makefile-complete): Redefine as obsolete alias.
22116
22117 2011-06-20 Deniz Dogan <deniz@dogan.se>
22118
22119 * net/rcirc.el: Delete trailing whitespaces once and for all.
22120
22121 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
22122
22123 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
22124
22125 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
22126
22127 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
22128
22129 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
22130
22131 2011-06-19 Martin Rudalics <rudalics@gmx.at>
22132
22133 * window.el (display-buffer-other-window-means-other-frame):
22134 Call display-buffer-normalize-alist.
22135 (display-buffer-normalize-specifiers-1): Rename to
22136 display-buffer-normalize-argument. New argument other-frame.
22137 Rewrite.
22138 (display-buffer-normalize-specifiers-2): Rename to
22139 display-buffer-normalize-options.
22140 (display-buffer-normalize-alist-1): New function.
22141 (display-buffer-normalize-specifiers-3): Rename to
22142 display-buffer-normalize-alist.
22143 Call display-buffer-normalize-alist-1.
22144 (display-buffer-normalize-options-inhibit): New variable.
22145 (display-buffer-normalize-specifiers): Rewrite calling
22146 display-buffer-normalize-alist,
22147 display-buffer-normalize-argument, and
22148 display-buffer-normalize-options. Don't call the latter if
22149 display-buffer-normalize-options-inhibit is non-nil.
22150 (frame-auto-delete): New option.
22151 (window-deletable-p): Use frame-auto-delete.
22152 (window-list-no-nils, window-state-ignored-parameters)
22153 (window-state-get-1, window-state-get, window-state-put-list)
22154 (window-state-put-1, window-state-put-2, window-state-put):
22155 New functions.
22156 (display-buffer-normalize-options): Move special-display-p group
22157 after pop-up-frame group (Bug#8851) and (Bug#8856).
22158
22159 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
22160
22161 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
22162 groups (Bug#8776).
22163 (rx-submatch-n): New function.
22164 (rx): Document it.
22165
22166 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
22167 (Bug#8768).
22168
22169 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
22170
22171 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
22172
22173 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
22174 anytime existing face settings are present (Bug#8889).
22175
22176 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
22177 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
22178 Remove unused argument.
22179
22180 2011-06-18 Martin Rudalics <rudalics@gmx.at>
22181
22182 * window.el (display-buffer-default-specifiers):
22183 Remove pop-up-frame. Add pop-up-window-min-height,
22184 pop-up-window-min-width, and another reuse-window specifier
22185 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
22186 (display-buffer-normalize-specifiers-2):
22187 Handle split-height-threshold and split-width-threshold also when
22188 pop-up-windows is unset. Add a reuse-window specifier for the
22189 case popping up a new window fails.
22190 (special-display-popup-frame): Remove double quoting.
22191 (display-buffer-normalize-specifiers-1): Fix thinko.
22192
22193 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
22194
22195 * shell.el (shell-completion-vars): Set pcomplete-termination-string
22196 according to comint-completion-addsuffix.
22197
22198 * pcomplete.el: Convert to lexical binding and fix bug#8819.
22199 (pcomplete-suffix-list): Mark as obsolete.
22200 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
22201 pcomplete-seen in the closure.
22202 (pcomplete-comint-setup): Setup completion-at-point as well.
22203 (pcomplete--entries): New function.
22204 (pcomplete--env-regexp): New var.
22205 (pcomplete-entries): Rewrite to work with partial-completion and
22206 without relying on pcomplete-suffix-list.
22207 (pcomplete-pare-list): Remove, unused.
22208
22209 2011-06-17 Martin Rudalics <rudalics@gmx.at>
22210
22211 * window.el (display-buffer-alist): Set pop-up-window-min-height
22212 and pop-up-window-min-width in default value. Reported by
22213 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
22214 other-window-means-other-frame.
22215 (display-buffer-macro-specifiers): Comment out entry for
22216 other-window specifier.
22217 (display-buffer-other-window-means-other-frame): New function.
22218 (display-buffer-normalize-specifiers-1): New arguments
22219 buffer-name and label. Treat other-window case specially.
22220 (display-buffer-normalize-specifiers-2): Treat other-window case
22221 specially.
22222 (display-buffer-normalize-specifiers-3): New function.
22223 (display-buffer-normalize-specifiers):
22224 Call display-buffer-normalize-specifiers-3.
22225
22226 2011-06-17 Martin Rudalics <rudalics@gmx.at>
22227
22228 * window.el (same-window-p): Fix two typos introduced when
22229 adding with-no-warnings.
22230 (display-buffer-normalize-specifiers-1): Don't check
22231 pop-up-frames for 'unset initialization.
22232 (display-buffer-normalize-specifiers-2): Major rewrite using
22233 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
22234 (pop-up-frames, display-buffer-reuse-frames)
22235 (display-buffer-mark-dedicated): Don't initialize to 'unset.
22236 Suggested by David Engster <deng@randomsample.de>.
22237 (even-window-heights): Initialize to 'unset.
22238 (display-buffer-alist-set): Handle new 'unset initializations.
22239 (display-buffer-macro-specifiers): Don't pop up a new frame in the
22240 other window case.
22241
22242 2011-06-16 Martin Rudalics <rudalics@gmx.at>
22243
22244 * window.el (display-buffer-normalize-specifiers-1):
22245 Respect current value of pop-up-frames for most reasonable values of
22246 second argument of display-buffer (Bug#8865).
22247 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
22248 (switch-to-buffer-other-window-same-frame)
22249 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
22250 Adams (Bug#8875).
22251 (display-buffer): Don't check noninteractive when calling
22252 display-buffer-pop-up-frame.
22253 (display-buffer-pop-up-frame): Never pop up a frame in
22254 noninteractive mode (Bug#8857).
22255 (enlarge-window, shrink-window): Don't report an error when the
22256 window can't be resized as requested (Bug#8862).
22257
22258 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
22259
22260 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
22261
22262 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
22263
22264 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
22265
22266 2011-06-15 Alan Mackenzie <acm@muc.de>
22267
22268 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
22269 for declarators, disable knr checking to speed up for normal files.
22270 2: Refactor, replacing a sequence of nested if forms by a cond form.
22271
22272 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
22273
22274 * net/network-stream.el (open-network-stream): Add the keyword
22275 :always-query-capabilities for the case where you want to force a
22276 `plain' network connection, but the protocol still requires the
22277 capabilitiy command (i.e., SMTP and EHLO).
22278
22279 * subr.el (process-live-p): Rename from `process-alive-p' for
22280 consistency with other `-live-p' functions.
22281
22282 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
22283
22284 * window.el (same-window-buffer-names, same-window-regexps)
22285 (special-display-frame-alist, special-display-popup-frame)
22286 (special-display-function, special-display-buffer-names)
22287 (special-display-regexps, pop-up-frame-alist)
22288 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
22289 (pop-up-windows, split-window-preferred-function)
22290 (split-height-threshold, split-width-threshold, even-window-heights)
22291 (display-buffer-mark-dedicated): Don't encourage the use of
22292 display-buffer-alist from Elisp code.
22293
22294 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
22295
22296 * progmodes/python.el (python-mode): Derive from prog-mode.
22297 * progmodes/ps-mode.el (ps-mode):
22298 * progmodes/mixal-mode.el (mixal-mode):
22299 * progmodes/cfengine.el (cfengine-mode):
22300 * progmodes/ld-script.el (ld-script-mode): Likewise.
22301
22302 2011-06-15 Martin Rudalics <rudalics@gmx.at>
22303
22304 * window.el (display-buffer-alist): Trim default value to avoid
22305 popping up a new frame (Bug#8857) or reusing an arbitrary window
22306 on another frame.
22307 (display-buffer): Do not fall back on popping up a new frame in
22308 batch mode (Bug#8857).
22309
22310 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
22311
22312 * cus-theme.el (describe-theme-1): Use custom-theme-p.
22313 (custom-theme-summary): New function.
22314 (customize-themes): Use it.
22315
22316 2011-06-13 Glenn Morris <rgm@gnu.org>
22317
22318 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
22319
22320 2011-06-13 Martin Rudalics <rudalics@gmx.at>
22321
22322 * help.el (help-window): Remove variable.
22323 (help-window-point-marker, temp-buffer-max-height)
22324 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
22325 (help-print-return-message): Don't set help-window.
22326 (resize-temp-buffer-window): Rewrite cod eand doc-string.
22327 (help-window-setup-finish): Remove.
22328 (help-window-display-message, help-window-setup)
22329 (with-help-window): Major rewrite based on new
22330 display-buffer-window variable.
22331
22332 * help-mode.el (help-mode-finish): Remove help-window related
22333 code.
22334
22335 * view.el (view-exits-all-viewing-windows): Remove reference to
22336 view-return-to-alist in doc-string.
22337 (view-return-to-alist): Make obsolete.
22338 (view-buffer): Call pop-to-buffer-same-window and remove
22339 undo-window code.
22340 (view-buffer-other-window): Call pop-to-buffer-other-window and
22341 simplify code. Ignore second argument.
22342 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
22343 simplify code. Ignore second argument.
22344 (view-return-to-alist-update): Make obsolete.
22345 (view-mode-enter): Rename second argument to QUIT-RESTORE.
22346 Rewrite using quit-restore window parameters.
22347 (view-mode-exit): Rename second argument to EXIT-ONLY.
22348 Rewrite using quit-restore-window.
22349 (View-exit, View-exit-and-edit, View-leave, View-quit)
22350 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
22351 appropriate arguments.
22352 (view-end-message): Use quit-restore window parameter.
22353
22354 * window.el (display-buffer-function): Rewrite doc-string.
22355 (display-buffer-window, display-buffer-alist): New variables.
22356 (display-buffer-split-specifiers)
22357 (display-buffer-side-specifiers)
22358 (display-buffer-macro-specifiers): New constants.
22359 (display-buffer-even-window-sizes, display-buffer-set-height)
22360 (display-buffer-set-width, display-buffer-select-window)
22361 (display-buffer-in-window, display-buffer-reuse-window)
22362 (display-buffer-split-window-1, display-buffer-split-window)
22363 (display-buffer-split-atom-window, display-buffer-pop-up-window)
22364 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
22365 (display-buffer-in-side-window, normalize-buffer-to-display)
22366 (display-buffer-normalize-specifiers-1)
22367 (display-buffer-normalize-specifiers-2)
22368 (display-buffer-normalize-specifiers, display-buffer-frame):
22369 New functions.
22370 (display-buffer): Major rewrite.
22371 (display-buffer-other-window, display-buffer-other-frame)
22372 (pop-to-buffer, switch-to-buffer-other-window)
22373 (switch-to-buffer-other-frame): Rewrite.
22374 (display-buffer-same-window, display-buffer-same-frame)
22375 (display-buffer-same-frame-other-window)
22376 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
22377 (pop-to-buffer-other-window)
22378 (pop-to-buffer-same-frame-other-window)
22379 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
22380 (switch-to-buffer-other-window-same-frame): New functions.
22381 (same-window-p, special-display-p): Rewrite disabling warnings.
22382 Make obsolete.
22383 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
22384 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
22385 Make obsolete
22386 (same-window-buffer-names, same-window-regexps)
22387 (special-display-frame-alist, special-display-popup-frame)
22388 (special-display-function, special-display-buffer-names)
22389 (special-display-regexps, pop-up-frame-alist)
22390 (pop-up-frame-function, split-window-preferred-function)
22391 (split-height-threshold, split-width-threshold)
22392 (even-window-heights): Make obsolete.
22393
22394 2011-06-12 Glenn Morris <rgm@gnu.org>
22395
22396 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
22397 Misc simplifications.
22398
22399 2011-06-12 Martin Rudalics <rudalics@gmx.at>
22400
22401 * window.el (window-safely-shrinkable-p): Restore function which
22402 was inadvertently removed in change from 2011-06-11. Declare as
22403 obsolete.
22404
22405 * calendar/calendar.el (calendar-generate-window):
22406 Use window-iso-combined-p instead of combination of one-window-p and
22407 window-safely-shrinkable-p.
22408
22409 2011-06-12 Glenn Morris <rgm@gnu.org>
22410
22411 * progmodes/fortran.el (fortran-mode-syntax-table):
22412 * progmodes/f90.el (f90-mode-syntax-table):
22413 Set % to punctuation. (Bug#8820)
22414 (f90-find-tag-default): Remove, no longer needed.
22415
22416 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
22417
22418 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
22419
22420 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
22421
22422 * image.el (image-animated-p): Return animation delay in seconds.
22423 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
22424 (image-animate-timeout): Remove DELAY argument. Don't assume
22425 every subimage has the same delay; get it from image-animated-p.
22426 (image-animate): Caller changed.
22427
22428 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
22429
22430 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
22431 to ignored backtrace functions.
22432
22433 2011-06-11 Glenn Morris <rgm@gnu.org>
22434
22435 * calendar/appt.el (appt-disp-window-function): Doc fix.
22436 (appt-check): Handle overlapping appointments. (Bug#8337)
22437
22438 2011-06-11 Martin Rudalics <rudalics@gmx.at>
22439
22440 * window.el (window-tree-1, window-tree): New functions, moving
22441 the latter to window.el.
22442 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
22443 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
22444 (bw-refresh-edges): Remove.
22445 (balance-windows-1, balance-windows-2): New functions.
22446 (balance-windows): Rewrite in terms of window tree functions,
22447 balance-windows-1 and balance-windows-2.
22448 (bw-adjust-window): Remove.
22449 (balance-windows-area-adjust): New function with functionality of
22450 bw-adjust-window but using resize-window.
22451 (set-window-text-height): Rewrite doc-string.
22452 Use normalize-live-window and resize-window.
22453 (enlarge-window-horizontally, shrink-window-horizontally):
22454 Rename argument to DELTA.
22455 (window-buffer-height): New function.
22456 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
22457 Rewrite using new window resize routines.
22458 (kill-buffer-and-window, mouse-autoselect-window-select):
22459 Use ignore-errors instead of condition-case.
22460 (quit-window): Call delete-frame instead of delete-windows-on
22461 for the only buffer on frame.
22462
22463 2011-06-10 Martin Rudalics <rudalics@gmx.at>
22464
22465 * loadup.el (top-level): Load window before files for the sake
22466 of replace-buffer-in-windows.
22467
22468 * files.el (read-buffer-to-switch)
22469 (switch-to-buffer-other-window)
22470 (switch-to-buffer-other-frame, display-buffer-other-frame):
22471 Move to window.el.
22472
22473 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
22474 (previous-buffer): Move to window.el.
22475
22476 * bindings.el (unbury-buffer): Move to window.el.
22477
22478 * window.el (delete-other-windows-vertically): Move after
22479 definition of delete-other-windows.
22480 (other-window, delete-windows-on, replace-buffer-in-windows):
22481 Move here from window.c.
22482 (record-window-buffer, unrecord-window-buffer)
22483 (set-window-buffer-start-and-point, switch-to-prev-buffer)
22484 (switch-to-next-buffer): New functions.
22485 (get-next-valid-buffer, last-buffer, next-buffer): Move here
22486 from simple.el. Call switch-to-next-buffer.
22487 (previous-buffer): Move here from simple.el.
22488 Call switch-to-prev-buffer.
22489 (bury-buffer): Move here from buffer.c. Switch to previous
22490 buffer when window cannot be deleted.
22491 (unbury-buffer): Move here from bindings.el.
22492 (ctl-x-map): Move binding for other-window from window.c to
22493 here.
22494 (read-buffer-to-switch, switch-to-buffer-other-window)
22495 (switch-to-buffer-other-frame): Move here from files.el.
22496 (normalize-buffer-to-switch-to): New functions.
22497 (switch-to-buffer): Move here from buffer.c.
22498 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
22499
22500 2011-06-10 Martin Rudalics <rudalics@gmx.at>
22501
22502 * window.el (window-min-height, window-min-width): Move here
22503 from window.c. Add defcustoms and rewrite doc-strings.
22504 (resize-mini-window, resize-window): New functions.
22505 (adjust-window-trailing-edge, enlarge-window, shrink-window):
22506 Move here from window.c.
22507 (maximize-window, minimize-window): New functions.
22508 (delete-window, delete-other-windows, split-window): Move here
22509 from window.c.
22510 (window-split-min-size): New function.
22511 (split-window-keep-point): Mention split-window-above-each-other
22512 instead of split-window-vertically.
22513 (split-window-above-each-other, split-window-vertically):
22514 Rename split-window-vertically to split-window-above-each-other
22515 and provide defalias for old definition.
22516 (split-window-side-by-side, split-window-horizontally):
22517 Rename split-window-horizontally to split-window-side-by-side
22518 and provide defalias for the old definition.
22519 (ctl-x-map): Move bindings for delete-window,
22520 delete-other-windows and enlarge-window here from window.c.
22521 Replace bindings for split-window-vertically and
22522 split-window-horizontally by bindings for
22523 split-window-above-each-other and split-window-side-by-side.
22524
22525 * cus-start.el (all): Remove entries for window-min-height and
22526 window-min-width. Add entries for window-splits and
22527 window-nest.
22528
22529 2011-06-09 Glenn Morris <rgm@gnu.org>
22530
22531 * calendar/appt.el (appt-mode-line): New function.
22532 (appt-check, appt-disp-window): Use it.
22533
22534 * files.el (hack-one-local-variable-eval-safep):
22535 Allow minor-modes with explicit +/-1 arguments.
22536
22537 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
22538
22539 * term/xterm.el (xterm): Add defgroup.
22540 (xterm-extra-capabilities): Add defcustom to supply known xterm
22541 capabilities, skip querying them, or query them (default).
22542 (terminal-init-xterm): Use it.
22543 (terminal-init-xterm-modify-other-keys): New function to set up
22544 modifyOtherKeys support to simplify `terminal-init-xterm'.
22545
22546 2011-06-09 Martin Rudalics <rudalics@gmx.at>
22547
22548 * window.el (resize-window-reset, resize-window-reset-1)
22549 (resize-subwindows-skip-p, resize-subwindows-normal)
22550 (resize-subwindows, resize-other-windows, resize-this-window)
22551 (resize-root-window, resize-root-window-vertically)
22552 (window-deletable-p, window-or-subwindow-p)
22553 (frame-root-window-p): New functions.
22554
22555 2011-06-09 Glenn Morris <rgm@gnu.org>
22556
22557 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
22558 (ange-ftp-get-files): Use it.
22559
22560 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
22561
22562 * mail/sendmail.el (mail-recover-1, mail-recover):
22563 * files.el (recover-file, recover-session):
22564 Handle dired-listing-switches not being just a single short option.
22565
22566 2011-06-09 Glenn Morris <rgm@gnu.org>
22567
22568 * calendar/appt.el (appt-display-message, appt-disp-window):
22569 Handle lists of appointments.
22570
22571 2011-06-08 Martin Rudalics <rudalics@gmx.at>
22572
22573 * window.el (one-window-p): Move down in code.
22574 Rewrite doc-string.
22575 (window-current-scroll-bars): Rewrite doc-string.
22576 Normalize live window argument.
22577 (walk-windows, get-window-with-predicate, count-windows):
22578 Rewrite doc-string. Use window-list-1.
22579 (window-in-direction-2, window-in-direction, get-mru-window):
22580 New functions.
22581
22582 2011-06-08 Reuben Thomas <rrt@sc3d.org>
22583
22584 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
22585 Doc fix (Bug#8713).
22586
22587 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
22588
22589 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
22590
22591 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
22592
22593 * loadhist.el (unload-feature-special-hooks):
22594 Add `comint-output-filter-functions'.
22595
22596 2011-06-08 Ivan Kanis <gnu@kanis.fr>
22597
22598 * calendar/appt.el (appt-check): Move some initializations into the let.
22599
22600 2011-06-08 Martin Rudalics <rudalics@gmx.at>
22601
22602 * window.el (window-height): Defalias to window-total-height.
22603 (window-width): Defalias to window-body-width.
22604
22605 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
22606
22607 * image-mode.el (image-toggle-animation): New command.
22608 (image-mode-map): Bind it to RET.
22609 (image-mode): Update message.
22610 (image-toggle-display-image): Avoid a spurious cache flush.
22611 (image-transform-rotation): Doc fix.
22612 (image-transform-properties): Return quickly in the normal case.
22613 (image-animate-loop): Rename from image-animate-max-time.
22614
22615 * image.el (image-animate-max-time): Move to image-mode.el.
22616 (create-animated-image): Remove unnecessary function.
22617 (image-animate): Rename from image-animate-start. New arg.
22618 (image-animate-stop): Remove; just use image-animate-timer.
22619 (image-animate-timer): Use car-safe.
22620 (image-animate-timeout): Rename argument.
22621
22622 2011-06-07 Martin Rudalics <rudalics@gmx.at>
22623
22624 * window.el (get-lru-window, get-largest-window): Move here from
22625 window.c. Rename first argument to ALL-FRAMES.
22626 Rephrase doc-strings.
22627 (get-buffer-window-list): Rewrite using window-list-1.
22628 Rephrase doc-string.
22629 (window-safe-min-height, window-safe-min-width): New constants.
22630 (window-size-ignore, window-min-size, window-min-size-1)
22631 (window-sizable, window-sizable-p, window-size-fixed-1)
22632 (window-size-fixed-p, window-min-delta-1, window-min-delta)
22633 (window-max-delta-1, window-max-delta, window-resizable)
22634 (window-resizable-p, window-total-height, window-total-width)
22635 (window-body-width): New functions.
22636 (window-full-height-p, window-full-width-p): Rewrite using
22637 window-total-size.
22638 (window-body-height): Rewrite using window-body-size.
22639
22640 2011-06-06 Martin Rudalics <rudalics@gmx.at>
22641
22642 * window.el (window-right, window-left, window-child)
22643 (window-child-count, window-last-child, window-any-p)
22644 (normalize-live-buffer, normalize-live-frame)
22645 (normalize-any-window, normalize-live-window)
22646 (window-iso-combination-p, window-iso-combined-p)
22647 (window-iso-combinations)
22648 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
22649 (windows-with-parameter, window-with-parameter)
22650 (window-atom-root, make-window-atom, window-atom-check-1)
22651 (window-atom-check, window-side-check, window-check):
22652 New functions.
22653 (ignore-window-parameters, window-sides, window-sides-vertical)
22654 (window-sides-slots): New variables.
22655 (window-size-fixed): Move down in code. Minor doc-string fix.
22656
22657 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
22658
22659 * comint.el (comint-dynamic-complete-as-filename)
22660 (comint-dynamic-complete-filename): Correctly call
22661 completion-in-region.
22662
22663 2011-06-05 Deniz Dogan <deniz@dogan.se>
22664
22665 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
22666 in last change.
22667
22668 2011-06-05 Deniz Dogan <deniz@dogan.se>
22669
22670 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
22671 (rcirc): Use it to prompt for encryption.
22672
22673 2011-06-05 Roland Winkler <winkler@gnu.org>
22674
22675 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
22676 (bibtex-search-entries): New command bound to C-c C-a.
22677 (bibtex-display-entries): New function.
22678
22679 2011-06-05 Roland Winkler <winkler@gnu.org>
22680
22681 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
22682 (bibtex-insert-kill): After yanking insert newline if necessary.
22683 (bibtex-initialize): Call bibtex-string-files-init only once.
22684 (bibtex-mode): Do not call easy-menu-add.
22685 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
22686 (bibtex-yank): Set arg properly if nil.
22687
22688 2011-06-05 Roland Winkler <winkler@gnu.org>
22689
22690 * textmodes/bibtex.el (bibtex-search-entry-globally):
22691 New variable.
22692 (bibtex-search-entry): Use it.
22693
22694 2011-06-05 Roland Winkler <winkler@gnu.org>
22695
22696 * textmodes/bibtex.el (bibtex-entry-format): New option
22697 sort-fields.
22698 (bibtex-format-entry, bibtex-reformat): Honor this option.
22699 (bibtex-parse-entry): Return fields in proper order.
22700
22701 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
22702
22703 * doc-view.el (doc-view-remove-if): Move computation of result out
22704 of `dolist' to silence misleading lexical-binding warning.
22705
22706 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
22707
22708 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
22709 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
22710
22711 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
22712
22713 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
22714 "SunOS 5.10".
22715
22716 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
22717
22718 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
22719 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
22720 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
22721 (tramp-parse-putty):
22722 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
22723 (tramp-completion-function-alist-ssh)
22724 (tramp-completion-function-alist-telnet)
22725 (tramp-completion-function-alist-su)
22726 (tramp-completion-function-alist-putty): Set `tramp-autoload'
22727 cookie.
22728
22729 * net/tramp-ftp.el:
22730 * net/tramp-sh.el:
22731 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
22732 load "tramp.el" `tramp-set-completion-function'.
22733
22734 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
22735
22736 * shell.el: Require and use pcomplete.
22737 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
22738 (shell-completion-vars): Set pcomplete-default-completion-function.
22739
22740 2011-06-04 Deniz Dogan <deniz@dogan.se>
22741
22742 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
22743 `memq' (Bug#8799).
22744
22745 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
22746
22747 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
22748
22749 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
22750
22751 * bs.el (bs--mark-unmark, bs--nth-wrapper):
22752 * mpc.el (mpc-select-extend, mpc-songpointer-context):
22753 * vc/log-view.el (log-view-beginning-of-defun):
22754 * vc/smerge-mode.el (smerge-apply-resolution-patch)
22755 (smerge-refine-forward, smerge-refine-chopup-region):
22756 Silence warning for unused `dotimes' counter variables.
22757
22758 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
22759
22760 * net/tramp.el (tramp-with-progress-reporter): Rename from
22761 with-progress-reporter. Use `declare'.
22762 * net/tramp-smb.el:
22763 * net/tramp-sh.el:
22764 * net/tramp-gvfs.el: Update all uses.
22765
22766 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
22767
22768 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
22769 buffer isn't killed before making it current.
22770
22771 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
22772
22773 Silence various byte-compiler warnings.
22774 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
22775 `access-type' and new obsolescence format.
22776 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
22777 new format.
22778 (byte-compile-check-variable): New `access-type' argument.
22779 Only warn if the access-type is obsolete.
22780 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
22781 (byte-compile-variable-set): Adjust callers.
22782 * help-fns.el (describe-variable): Adjust to new obsolescence format.
22783 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
22784 setting it as obsolete.
22785 * simple.el (minibuffer-completing-symbol):
22786 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
22787 access as obsolete.
22788 * minibuffer.el (minibuffer-completing-file-name): Don't make it
22789 obsolete yet.
22790 * international/quail.el (quail-mouse-choose-completion): Remove unused
22791 code referring to obsolete var.
22792 (quail-choose-completion-string): Remove.
22793 * server.el (server-clients-with, server-kill-buffer-query-function)
22794 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
22795 * proced.el (proced-send-signal):
22796 * emacs-lisp/lisp.el (lisp-complete-symbol):
22797 Replace completion-annotate-function with completion-extra-properties.
22798
22799 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
22800
22801 * simple.el (goto-line): Use read-number.
22802 (overriding-map-is-bound): Remove.
22803 (saved-overriding-map): Change default.
22804 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
22805 Take the map as argument.
22806 (universal-argument, negative-argument, digit-argument): Use it.
22807 (restore-overriding-map): Adjust.
22808 (do-auto-fill): Use fill-forward-paragraph.
22809 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
22810
22811 * minibuffer.el (minibuffer-inactive-mode-map): New var.
22812 (minibuffer-inactive-mode): New major mode.
22813 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
22814 the *Messages* buffer" hack.
22815 (mouse-popup-menubar): Don't burp if the event is a normal key.
22816
22817 Miscellaneous tweaks.
22818 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
22819 lexical scoping as in subr.el's dolist and dotimes.
22820 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
22821 Silence compiler warning.
22822 * thingatpt.el (forward-whitespace): Trivial coding style fix.
22823 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
22824 * international/ccl.el (ccl-compile): Trivial simplification.
22825 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
22826 * emacs-lisp/testcover.el (testcover-end): Remove spurious
22827 `printflag' argument.
22828 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
22829 Purecopy the whole obsolescence data.
22830
22831 2011-06-01 Leo Liu <sdl.web@gmail.com>
22832
22833 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
22834 improve doc-string as suggested by Marco Pessotto
22835 <melmothx@gmail.com>.
22836 (rcirc-print): Fix last change.
22837
22838 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
22839
22840 * minibuffer.el (complete-with-action): Return nil for the metadata and
22841 boundaries of non-functional tables.
22842 (completion-table-dynamic): Return nil for the metadata.
22843 (completion-table-with-terminator): Add default case, using
22844 complete-with-action.
22845 (completion--metadata): New function.
22846 (completion-all-sorted-completions, minibuffer-completion-help): Use it
22847 to try and avoid pathological performance problems.
22848 (completion--embedded-envvar-table): Return `category' metadata.
22849
22850 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
22851
22852 * subr.el (process-alive-p): New tiny convenience function.
22853
22854 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
22855
22856 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
22857 content but also its previous major mode.
22858
22859 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
22860
22861 * emacs-lisp/debug.el (debug): Restore the previous content of the
22862 *Backtrace* buffer when we exit with C-M-c.
22863
22864 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
22865
22866 * minibuffer.el: Add metadata method to completion tables.
22867 (completion-category-overrides): New defcustom.
22868 (completion-metadata, completion--field-metadata)
22869 (completion-metadata-get, completion--styles)
22870 (completion--cycle-threshold): New functions.
22871 (completion-try-completion, completion-all-completions):
22872 Add `metadata' argument to choose completion-styles.
22873 (completion--do-completion): Use metadata to choose cycling.
22874 (completion-all-sorted-completions): Use metadata for sorting.
22875 Remove :completion-cycle-penalty which is not needed any more.
22876 (completion--try-word-completion): Add `metadata' argument.
22877 (minibuffer-completion-help): Check metadata for annotation function
22878 and sorting.
22879 (completion-file-name-table): Return `category' metadata.
22880 (minibuffer-completing-file-name): Make obsolete.
22881 * simple.el (minibuffer-completing-symbol): Make obsolete.
22882 * icomplete.el (icomplete-completions): Pass new `metadata' param to
22883 completion-try-completion.
22884
22885 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
22886
22887 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
22888
22889 2011-05-30 Leo Liu <sdl.web@gmail.com>
22890
22891 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
22892 (rcirc-print): Decode all incoming messages (bug#8744).
22893 (rcirc-decode-coding-system): Allow value nil for automatic coding
22894 system detection.
22895
22896 2011-06-01 Glenn Morris <rgm@gnu.org>
22897
22898 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
22899
22900 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
22901
22902 * image.el (image-animate-max-time): Allow nil and t values.
22903 Default to nil.
22904 (create-animated-image): Doc fix.
22905 (image-animate-start): Remove second arg; just use
22906 image-animate-max-time.
22907 (image-animate-timeout): Doc fix. Args changed.
22908
22909 * image-mode.el (image-toggle-display-image): Ensure that the
22910 image spec passed to the animate timer is the same object as in
22911 the buffer's display property (Bug#6981).
22912 (image-transform-properties): Doc fix.
22913
22914 * image.el (image-animate-max-time): Default to nil.
22915
22916 2011-05-29 Martin Rudalics <rudalics@gmx.at>
22917
22918 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
22919 entire buffer list (Bug#8184).
22920
22921 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
22922
22923 * image.el (imagemagick-types-inhibit)
22924 (imagemagick-register-types): Doc fix.
22925
22926 2011-05-29 Deniz Dogan <deniz@dogan.se>
22927
22928 * net/rcirc.el (rcirc): Use the user's stored encryption method by
22929 default.
22930
22931 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
22932
22933 * select.el: Don't perform clipboard-manager saving in hooks;
22934 leave the hooks empty.
22935
22936 2011-05-28 Leo Liu <sdl.web@gmail.com>
22937
22938 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
22939 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
22940 (occur-edit-mode): New major mode (Bug#8463).
22941 (occur-after-change-function): New function.
22942 (occur-engine): Give Occur tags a read-only property.
22943
22944 2011-05-28 Kevin Ryde <user42@zip.com.au>
22945
22946 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
22947
22948 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
22949
22950 * bindings.el (help-echo): Make the initial non-indicator dash
22951 empty on graphical terminals (Bug#7295).
22952
22953 * files.el (auto-mode-alist): Move config rule after the
22954 in-stripping one (Bug#8547).
22955
22956 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
22957
22958 * startup.el (normal-splash-screen): Remove gratuitous mode-line
22959 setting (Bug#8740).
22960
22961 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
22962
22963 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
22964 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
22965 (Bug#8539).
22966
22967 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
22968
22969 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
22970
22971 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
22972
22973 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
22974 (hs-hide-block-at-point, hs-find-block-beginning)
22975 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
22976 (Bug#8279).
22977
22978 2011-05-28 Glenn Morris <rgm@gnu.org>
22979
22980 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
22981
22982 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
22983
22984 * help-fns.el (describe-function-1): If the function is a derived
22985 major mode, print the parent mode.
22986
22987 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
22988 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
22989
22990 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
22991
22992 * minibuffer.el (completion--capf-wrapper): Check applicability before
22993 returning non-nil for non-exclusive completion data.
22994 * progmodes/etags.el (tags-completion-at-point-function):
22995 * info-look.el (info-lookup-completions-at-point): Mark as
22996 non-exclusive.
22997 (info-complete): Adjust accordingly.
22998
22999 * info-look.el: Convert to lexical-binding and completion-at-point.
23000 (info-lookup-completions-at-point): New function.
23001 (info-complete): Use it and completion-in-region.
23002
23003 2011-05-28 Drew Adams <drew.adams@oracle.com>
23004
23005 * isearch.el: Let M-e start with point at the first mismatched char.
23006 (isearch-fail-pos): New function.
23007 (isearch-edit-string): Use it.
23008
23009 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
23010
23011 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
23012
23013 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
23014
23015 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
23016 traversal functions for avl-trees.
23017 (avl-tree--stack): New struct.
23018 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
23019 (avl-tree-enter): Add optional `updatefun' arg.
23020 (avl-tree--do-enter): Add optional `updatefun' arg.
23021 Change return value.
23022 (avl-tree-delete): Add optional `test' and `nilflag' args.
23023 (avl-tree--do-delete): Add `test' and `nilflag' args.
23024 Change return value.
23025 (avl-tree-member): Add optional `nilflag'
23026 (avl-tree-member-p): New function.
23027 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
23028 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
23029 (avl-tree-stack-empty-p): New functions.
23030
23031 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
23032 avl-tree--del-balance1 and make it work both ways.
23033 (avl-tree--del-balance2): Remove.
23034 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
23035 make it work both ways.
23036 (avl-tree--enter-balance2): Remove.
23037 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
23038 New macros.
23039 (avl-tree--mapc, avl-tree-map): Add direction argument.
23040
23041 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
23042
23043 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
23044
23045 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
23046
23047 * select.el: Support clipboard managers with built-in function
23048 x-clipboard-manager-save, via delete-frame-functions and
23049 kill-emacs-hook.
23050 (xselect-convert-to-targets): Add MULTIPLE target to list.
23051 (xselect-convert-to-save-targets): New function.
23052
23053 2011-05-27 Kenichi Handa <handa@m17n.org>
23054
23055 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
23056 let-binding rfc2047-encode-encoded-words to nil.
23057
23058 2011-05-27 Glenn Morris <rgm@gnu.org>
23059
23060 * mail/emacsbug.el: Don't require url-util.
23061
23062 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
23063
23064 * files.el (set-auto-mode):
23065 Also respect mode: entries at the end of the file. (Bug#8586)
23066
23067 2011-05-26 Glenn Morris <rgm@gnu.org>
23068
23069 * files.el (hack-local-variables-prop-line, hack-local-variables):
23070 Downcase mode names, as seems to be traditional.
23071 (hack-local-variables, hack-local-variables-apply): Doc fixes.
23072
23073 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
23074 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
23075
23076 2011-05-25 Julien Danjou <julien@danjou.info>
23077
23078 * textmodes/rst.el (rst-define-level-faces): Do not define face
23079 symbol if it is already defined.
23080
23081 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
23082
23083 * play/5x5.el (5x5-new-game, 5x5-randomize):
23084 Reset 5x5-solver-output to nil when a new grid is cast.
23085 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
23086 these debugging traces, as defmacro breaks the compiled code.
23087
23088 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
23089
23090 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
23091
23092 2011-05-24 Leo Liu <sdl.web@gmail.com>
23093
23094 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
23095 (vc-bzr-sha1): Adapt.
23096
23097 * sha1.el: Remove. Function `sha1' is now builtin.
23098
23099 * bindings.el: Provide sha1 feature.
23100
23101 2011-05-24 Kenichi Handa <handa@m17n.org>
23102
23103 * mail/sendmail.el: Require `rfc2047'.
23104 (mail-insert-from-field): Do not perform RFC2047 encoding.
23105 (mail-encode-header): New function.
23106 (sendmail-send-it): Set buffer-file-coding-system of the work
23107 buffer to the return value of select-message-coding-system.
23108 Call mail-encode-header.
23109
23110 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
23111
23112 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
23113
23114 * mail/supercite.el (sc-default-cite-frame):
23115 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
23116
23117 2011-05-24 Glenn Morris <rgm@gnu.org>
23118
23119 * progmodes/python.el (brm-menu): Declare.
23120
23121 * emulation/viper.el (viper-set-hooks): Declare.
23122
23123 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
23124 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
23125 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
23126 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
23127 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
23128 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
23129
23130 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
23131
23132 Add an :exit-function for completion-at-point.
23133
23134 * minibuffer.el (completion--done): New fun.
23135 (completion--do-completion): Use it. New arg `expect-exact'.
23136 (minibuffer-complete, minibuffer-complete-word): Don't output message,
23137 since completion--do-completion does it for us now.
23138 (minibuffer-force-complete): Use completion--done and
23139 completion--replace. Handle sole-completion case with more care.
23140 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
23141 (completion-extra-properties): New var.
23142 (completion-annotate-function): Make obsolete.
23143 (minibuffer-completion-help): Adjust accordingly.
23144 Use completion-list-insert-choice-function.
23145 (completion-at-point, completion-help-at-point):
23146 Bind completion-extra-properties.
23147 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
23148 * simple.el (completion-list-insert-choice-function): New var.
23149 (completion-setup-function): Preserve it.
23150 (choose-completion): Pay attention to it, shuffle the code a bit.
23151 (choose-completion-string): New arg `insert-function'.
23152
23153 * textmodes/bibtex.el: Convert to lexical binding.
23154 (bibtex-mode-map): Use completion-at-point.
23155 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
23156 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
23157 (bibtex-complete): Define as obsolete alias.
23158 (bibtex-complete-internal): Remove.
23159 (bibtex-format-entry): Remove unused sub-group in regexp.
23160 * shell.el (shell--command-completion-data)
23161 (shell-environment-variable-completion):
23162 * pcomplete.el (pcomplete-completions-at-point):
23163 * comint.el (comint--complete-file-name-data): Use :exit-function
23164 instead of completion-table-with-terminator so it also works for
23165 choose-completion.
23166
23167 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
23168
23169 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
23170
23171 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
23172 (bug#8710).
23173
23174 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
23175
23176 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
23177
23178 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
23179 customization variable and implement: If non-nil, auto-fill will
23180 be inhibited while on topic's header line.
23181
23182 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
23183
23184 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
23185 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
23186 always have a solution in grid size = 5 cases.
23187 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
23188 (5x5-solver-output, 5x5-log-buffer): New vars.
23189 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
23190 Make these variables buffer local to achieve 5x5 multi-session-ness.
23191 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
23192 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
23193 (5x5-solve-suggest): New funs.
23194 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
23195 randomize a grid so that we ensure that there is always a solution.
23196 (5x5-make-random-grid): Allow other movement than flipping.
23197
23198 2011-05-23 Kevin Ryde <user42@zip.com.au>
23199
23200 * emacs-lisp/advice.el (ad-read-advised-function):
23201 Use `function-called-at-point' as the default, if it has
23202 advice and passes PREDICATE.
23203
23204 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
23205
23206 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
23207 byte-compile-lambda if it's actually a lambda.
23208
23209 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
23210 Fix function quoting. Use backquote better.
23211
23212 2011-05-22 Yuanle Song <sylecn@gmail.com>
23213
23214 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
23215 matching (Bug#8516).
23216
23217 2011-05-22 Jari Aalto <jari.aalto@cante.net>
23218
23219 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
23220 different face (Bug#8178).
23221
23222 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
23223
23224 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
23225 defface (Bug#8144).
23226
23227 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
23228
23229 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
23230 funcall as well (bug#8712). Warn when performing those conversions.
23231 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
23232
23233 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
23234
23235 2011-05-22 Glenn Morris <rgm@gnu.org>
23236
23237 * files.el (hack-local-variables-prop-line): Small simplifications.
23238 (hack-local-variables, hack-local-variables-prop-line):
23239 If MODE-ONLY, return the mode, rather than just `t'.
23240
23241 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
23242
23243 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
23244
23245 2011-05-21 Glenn Morris <rgm@gnu.org>
23246
23247 * files.el (hack-local-variables-prop-line, hack-local-variables):
23248 If only interested in the mode, don't bother doing the other stuff.
23249
23250 * image-mode.el (image-after-revert-hook):
23251 Redraw all frames on which the image is visible. (Bug#8567)
23252
23253 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
23254
23255 * wid-edit.el (widget-checklist-match-inline):
23256 Fix 2011-04-19 change. (Bug#8649)
23257
23258 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
23259
23260 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
23261 Also allow singlespace after single-letter capitals followed by a dot.
23262
23263 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
23264 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
23265
23266 2011-05-20 Nix <nix@esperi.org.uk>
23267
23268 * files.el (basic-save-buffer-2):
23269 Fix handling of break-hardlink-on-save with non-existent files.
23270
23271 2011-05-19 Deniz Dogan <deniz@dogan.se>
23272
23273 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
23274 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
23275
23276 2011-05-19 Glenn Morris <rgm@gnu.org>
23277
23278 * progmodes/f90.el (f90-type-def-re):
23279 Handle "type, bind(c)". (Bug#8691)
23280
23281 * emacs-lisp/autoload.el (batch-update-autoloads):
23282 Set autoload-excludes by parsing loadup.el rather than Makefiles.
23283
23284 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
23285
23286 * net/tramp.el (tramp-process-actions): Set "first-password-request"
23287 property for the correct connection in case of multihops.
23288
23289 2011-05-18 Glenn Morris <rgm@gnu.org>
23290
23291 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
23292 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
23293
23294 Rationalize calendar handling of day and month abbrev-arrays.
23295 * calendar/calendar.el (calendar-customized-p): New function.
23296 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
23297 (calendar-day-name-array, calendar-month-name-array): Doc fix.
23298 Add :set function.
23299 (calendar-abbrev-length, calendar-day-abbrev-array)
23300 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
23301 (calendar-day-abbrev-array, calendar-month-abbrev-array):
23302 Elements may no longer be nil.
23303 (calendar-day-name, calendar-month-name):
23304 Update for changed nature of abbrev arrays.
23305 * calendar/diary-lib.el (diary-name-pattern):
23306 Update for changed nature of abbrev arrays.
23307 (diary-mark-entries-1): Update calendar-make-alist calls.
23308 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
23309 * calendar/cal-html.el (cal-html-day-abbrev-array):
23310 Simply inherit from calendar-day-abbrev-array.
23311
23312 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
23313
23314 * progmodes/grep.el (grep-mode): Disable default
23315 compilation-directory-matcher setting (bug#8684).
23316
23317 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
23318
23319 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
23320 instead of "head" and "tail". There were problems with SunOS 5.9,
23321 and it performs better.
23322
23323 2011-05-17 Glenn Morris <rgm@gnu.org>
23324
23325 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
23326
23327 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
23328 Replace obsolete function.
23329
23330 * shell.el (pcomplete-parse-arguments-function): Declare.
23331
23332 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
23333 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
23334 (appt-check): Doc fixes.
23335 (appt-disp-window-function, appt-delete-window-function):
23336 Remove needless special case in custom :type.
23337 (appt-display-count): Default to 0, not nil.
23338 (appt-check): Reset appt-display-count to 0, not nil.
23339
23340 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
23341
23342 * progmodes/python.el (python-font-lock-keywords):
23343 Add the Python 3.X keyword "nonlocal" (bug#8639).
23344
23345 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
23346
23347 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
23348
23349 2011-05-16 Kevin Ryde <user42@zip.com.au>
23350
23351 * info-look.el (makefile-automake-mode): New setups, looking in
23352 automake manual, then makefile-mode.
23353 (makefile-mode): Remove automake manual, have it just in
23354 makefile-automake-mode since there's various things different or
23355 not relevant to plain make.
23356 (makefile-mode): Remove "other-modes" non-existent automake-mode,
23357 believe a hypothetical automake-mode would go to makefile-mode,
23358 not the other way around.
23359
23360 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
23361
23362 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
23363 hunk-end tags (Bug#8672).
23364
23365 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
23366 vc-annotate-show-diff-revision-at-line (Bug#8671).
23367
23368 2011-05-14 Glenn Morris <rgm@gnu.org>
23369
23370 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
23371 in the middle of an existing one with multiple authors. (Bug#8645)
23372 (change-log-font-lock-keywords): Also handle multiple author lines
23373 with leading tabs. (Bug#8644)
23374
23375 * calendar/appt.el (appt-check): Rename some local variables.
23376 Some simplification/reordering.
23377
23378 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
23379 (feedmail-sendmail-f-doesnt-sell-me-out)
23380 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
23381 (feedmail-debug-sit-for, feedmail-queue-express-hook)
23382 (feedmail-queue-runner-message-sender): Set :version.
23383 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
23384 (bbdb-dwim-net-address, vm-mail): Declare.
23385 (feedmail-binmail-gnulinuxish-template):
23386 Rename from feedmail-binmail-linuxish-template.
23387 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
23388 Use insert-buffer-substring.
23389
23390 2011-05-14 Bill Carpenter <bill@carpenter.org>
23391
23392 * mail/feedmail.el (feedmail-patch-level): Increase.
23393 (feedmail-debug): New custom group.
23394 (feedmail-confirm-outgoing-timeout)
23395 (feedmail-sendmail-f-doesnt-sell-me-out)
23396 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
23397 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
23398 (feedmail-sender-line, feedmail-from-line)
23399 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
23400 (feedmail-spray-this-address)
23401 (feedmail-spray-address-fiddle-plex-list)
23402 (feedmail-queue-use-send-time-for-date)
23403 (feedmail-queue-use-send-time-for-message-id)
23404 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
23405 (feedmail-buffer-eating-function):
23406 Doc fixes.
23407 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
23408 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
23409 (feedmail-message-action-scroll-down): New functions.
23410 (feedmail-queue-directory, feedmail-queue-draft-directory):
23411 Use expand-file-name.
23412 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
23413 Remove C-v help entry.
23414 (feedmail-queue-buffer-file-name): New variable.
23415 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
23416 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
23417 (feedmail-message-action-send-strong, feedmail-message-action-edit)
23418 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
23419 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
23420 (feedmail-message-action-toggle-spray)
23421 (feedmail-run-the-queue-no-prompts)
23422 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
23423 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
23424 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
23425 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
23426 (feedmail-envelope-deducer, feedmail-fiddle-from)
23427 (feedmail-fiddle-sender, feedmail-default-date-generator)
23428 (feedmail-fiddle-date, feedmail-fiddle-message-id)
23429 (feedmail-fiddle-spray-address)
23430 (feedmail-fiddle-list-of-spray-fiddle-plexes)
23431 (feedmail-fiddle-list-of-fiddle-plexes)
23432 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
23433 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
23434 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
23435 Change default. Doc fix.
23436 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
23437 (feedmail-binmail-linuxish-template): New constant.
23438 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
23439 Respect feedmail-sendmail-f-doesnt-sell-me-out.
23440 (feedmail-send-it): Add debug call.
23441 Use feedmail-queue-buffer-file-name, and
23442 feedmail-send-it-immediately-wrapper.
23443 (feedmail-message-action-send): Add debug call.
23444 Use feedmail-send-it-immediately-wrapper.
23445 (feedmail-queue-express-to-queue): Add debug call.
23446 Run feedmail-queue-express-hook.
23447 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
23448 (feedmail-message-action-help-blat):
23449 Rename from feedmail-queue-send-edit-prompt-help-first.
23450 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
23451 Check line-endings. Handle errors better.
23452 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
23453 Doc fix. Add debug call.
23454 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
23455 Use feedmail-queue-send-edit-prompt-inner.
23456 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
23457 (feedmail-queue-send-edit-prompt-inner): New function, extracted
23458 from feedmail-queue-send-edit-prompt.
23459 (feedmail-queue-send-edit-prompt-help)
23460 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
23461 (feedmail-tidy-up-slug): Add debug call.
23462 Respect feedmail-queue-slug-suspect-regexp.
23463 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
23464 (feedmail-dump-message-to-queue): Add debug call.
23465 Expand queue-directory.
23466 (feedmail-dump-message-to-queue): Change message slightly.
23467 Use feedmail-say-chatter.
23468 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
23469 (feedmail-send-it-immediately-wrapper): New function.
23470 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
23471 Insert empty string rather than newline. Handle full-frame case.
23472 Use catch/throw. Use feedmail-say-chatter.
23473 (feedmail-fiddle-from): Try mail-host-address.
23474 (feedmail-default-message-id-generator): Doc fix.
23475 Bind system-time-locale. Handle missing end.
23476 (feedmail-fiddle-x-mailer): Add debug call.
23477 Handle feedmail-x-mailer-line being nil.
23478 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
23479 Add debug call. Use buffer-substring-no-properties.
23480 (feedmail-say-debug, feedmail-say-chatter): New functions.
23481 (feedmail-find-eoh): Give an explicit error.
23482
23483 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
23484
23485 * net/newst-treeview.el (newsticker-treeview-face): Change default
23486 family from helvetica to sans.
23487 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
23488 etc/images/newsticker.
23489
23490 * net/newst-reader.el (newsticker-feed-face): Change default
23491 family from helvetica to sans.
23492
23493 * net/newst-plainview.el (newsticker-new-item-face)
23494 (newsticker-old-item-face, newsticker-immortal-item-face)
23495 (newsticker-obsolete-item-face, newsticker-date-face)
23496 (newsticker-statistics-face): Change default family from
23497 helvetica to sans.
23498 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
23499 etc/images/newsticker.
23500
23501 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
23502 (newsticker--process-auto-mark-filter-match): Tell user about
23503 auto-marking.
23504
23505 2011-05-13 Didier Verna <didier@xemacs.org>
23506
23507 Common Lisp indentation improvements on defmethod and lambda-lists.
23508 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
23509 TODO entries.
23510 (lisp-lambda-list-keyword-parameter-indentation)
23511 (lisp-lambda-list-keyword-parameter-alignment)
23512 (lisp-lambda-list-keyword-alignment): New customizable user options.
23513 (lisp-indent-defun-method): Improve docstring.
23514 (extended-loop-p): Fix comment.
23515 (lisp-indent-lambda-list-keywords-regexp): New variable.
23516 (lisp-indent-lambda-list): New function.
23517 (lisp-indent-259): Use it.
23518 (lisp-indent-defmethod): Support for more than one
23519 method qualifier and properly indent methods lambda-lists.
23520 (defgeneric): Provide a missing common-lisp-indent-function property.
23521
23522 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
23523
23524 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
23525 bounds for the empty string (bug#8667).
23526
23527 2011-05-13 Glenn Morris <rgm@gnu.org>
23528
23529 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
23530
23531 * mail/sendmail.el (sendmail-program): Try executable-find first.
23532 (sendmail-send-it): `sendmail-program' cannot be unbound.
23533
23534 * calendar/appt.el (appt-make-list): Simplify.
23535 (appt-time-msg-list): Doc fix.
23536 (appt-check): Change mode-line message at the time of the appointment.
23537
23538 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
23539
23540 * progmodes/ld-script.el (ld-script-keywords)
23541 (ld-script-builtins): Update keywords list.
23542
23543 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
23544
23545 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
23546
23547 * shell.el (shell-completion-vars): New function.
23548 (shell-mode):
23549 * simple.el (read-shell-command): Use it.
23550 (blink-matching-open): No need for " [...]" in minibuffer-message.
23551
23552 2011-05-12 Glenn Morris <rgm@gnu.org>
23553
23554 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
23555 (appt-check): Simplify.
23556
23557 2011-05-12 Eli Zaretskii <eliz@gnu.org>
23558
23559 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
23560 literal "/dev/null".
23561
23562 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
23563
23564 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
23565 Fix typo.
23566
23567 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
23568
23569 * progmodes/which-func.el (which-function):
23570 Use add-log-current-defun instead of add-log-current-defun-function,
23571 which might not be defined (Bug#8260).
23572
23573 2011-05-12 Glenn Morris <rgm@gnu.org>
23574
23575 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
23576 Let byte-compile-initial-macro-environment always take precedence.
23577
23578 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
23579
23580 * net/rcirc.el: Add support for SSL/TLS connections.
23581 (rcirc-server-alist): New field `encryption'.
23582 (rcirc): Check `encryption' settings.
23583 (rcirc-connect): New arg `encryption'. Use open-network-stream.
23584 Merge make-local-variable into `set'.
23585 (rcirc--connection-open-p): New function.
23586 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
23587 the process is not a network process (e.g. running gnutls-cli).
23588 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
23589 Make rcirc-(en|de)code-coding-system local here.
23590 (rcirc-mode): Merge make-local-variable into `set'.
23591 (rcirc-parent-buffer): Make permanent buffer-local.
23592 (rcirc-multiline-minor-mode): Don't do it here.
23593 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
23594 there's no server buffer.
23595
23596 2011-05-11 Glenn Morris <rgm@gnu.org>
23597
23598 * newcomment.el (comment-kill): Prefix "unused" local.
23599
23600 * term/w32console.el (get-screen-color): Declare.
23601
23602 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
23603 Handle symbol elements of byte-compile-initial-macro-environment.
23604
23605 2011-05-10 Leo Liu <sdl.web@gmail.com>
23606
23607 * bookmark.el (bookmark-bmenu-mode-map):
23608 Bind bookmark-bmenu-search to `/'.
23609
23610 * mail/footnote.el: Convert to utf-8 encoding.
23611 (footnote-unicode-string, footnote-unicode-regexp): New variable.
23612 (Footnote-unicode): New function.
23613 (footnote-style-alist): Add unicode style to the list.
23614 (footnote-style): Doc fix.
23615
23616 2011-05-10 Jim Meyering <meyering@redhat.com>
23617
23618 Fix doubled-word typos.
23619 * international/quail.el (quail-insert-kbd-layout): and and -> and
23620 * kermit.el: and and -> and
23621 * net/ldap.el (ldap-search-internal): to to -> to
23622 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
23623 * progmodes/js.el (js-mode): and and -> and
23624 * textmodes/artist.el (artist-move-to-xy): at at -> at
23625 (artist-draw-region-trim-line-endings): if if -> if
23626 And Safetyc -> Safety.
23627 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
23628
23629 2011-05-10 Glenn Morris <rgm@gnu.org>
23630 Stefan Monnier <monnier@iro.umontreal.ca>
23631
23632 * files.el (hack-one-local-variable-eval-safep):
23633 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
23634
23635 2011-05-10 Glenn Morris <rgm@gnu.org>
23636
23637 * calendar/diary-lib.el (diary-list-entries-hook)
23638 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
23639 (diary-nongregorian-marking-hook, diary-list-entries)
23640 (diary-include-other-diary-files, diary-mark-entries)
23641 (diary-mark-included-diary-files): Doc fixes.
23642
23643 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
23644
23645 * misc.el: Require tabulated-list.el during compilation.
23646
23647 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
23648
23649 * progmodes/compile.el (compilation-start):
23650 Run compilation-filter-hook for the async case too.
23651 (compilation-filter-hook): Doc fix.
23652
23653 2011-05-09 Deniz Dogan <deniz@dogan.se>
23654
23655 * wdired.el: Remove outdated installation comment. Fix usage
23656 comment.
23657
23658 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
23659
23660 * misc.el: Implement new command `list-dynamic-libraries'.
23661 (list-dynamic-libraries--loaded-only-p): New variable.
23662 (list-dynamic-libraries--refresh): New function.
23663 (list-dynamic-libraries): New command.
23664
23665 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
23666
23667 * progmodes/compile.el (compilation-error-regexp-alist-alist):
23668 Fix the ant regexp to handle end-line and end-column info from jikes.
23669 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
23670 higher priority to avoid clobbering by gnu.
23671
23672 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
23673
23674 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
23675 if the face has existing theme settings (Bug#8454).
23676
23677 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
23678
23679 * progmodes/perl-mode.el (perl-imenu-generic-expression):
23680 Only match variables declared via `my' or `our' (Bug#8261).
23681
23682 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
23683 special file names `.' and `..' (Bug#8259).
23684
23685 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
23686
23687 * progmodes/grep.el (grep-mode-font-lock-keywords):
23688 Remove buffer-changing entries.
23689 (grep-filter): New function.
23690 (grep-mode): Add it to compilation-filter-hook.
23691
23692 * progmodes/compile.el (compilation-filter-hook)
23693 (compilation-filter-start): New defvars.
23694 (compilation-filter): Call compilation-filter-hook prior to
23695 updating the process mark.
23696
23697 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
23698
23699 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
23700
23701 2011-05-07 Eli Zaretskii <eliz@gnu.org>
23702
23703 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
23704 mailclient-send-it even if window-system is nil. (Bug#8595)
23705
23706 * term/w32console.el (terminal-init-w32console):
23707 Call get-screen-color and use its output to set the frame
23708 background-mode. (Bug#8597)
23709
23710 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
23711
23712 Make bytecomp.el understand that defmethod defines funs (bug#8631).
23713 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
23714 New functions.
23715 (defgeneric, eieio--defmethod): Use them.
23716 (eieio-defgeneric): Remove.
23717 (defmethod): Call defgeneric in a way visible to the byte-compiler.
23718
23719 2011-05-07 Glenn Morris <rgm@gnu.org>
23720
23721 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
23722 Use let rather than let*.
23723 (timeclock-find-discrep): Remove unused local.
23724
23725 * calendar/diary-lib.el (diary-comment-start): Doc fix.
23726
23727 * calendar/appt.el (appt-time-msg-list): Doc fix.
23728
23729 2011-05-06 Noah Friedman <friedman@splode.com>
23730
23731 * apropos.el (apropos-print-doc): Only use
23732 emacs-lisp-docstring-fill-column when it is bound to an integer,
23733 per that variable's documentation.
23734
23735 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
23736
23737 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
23738 and warnings are not silently discarded (e.g. use -d instead of -P).
23739
23740 2011-05-06 Glenn Morris <rgm@gnu.org>
23741
23742 * calendar/appt.el (appt-message-warning-time): Doc fix.
23743 (appt-warning-time-regexp): New option.
23744 (appt-make-list): Respect appt-message-warning-time.
23745
23746 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
23747 New options.
23748 (diary-add-to-list): Strip comments from the displayed string.
23749 (diary-mode): Set comment-start and comment-end.
23750
23751 * vc/diff-mode.el (smerge-refine-subst): Declare.
23752 (diff-refine-hunk): Don't require smerge-mode when compiling.
23753
23754 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
23755
23756 * simple.el (list-processes): Return nil as the docstring says.
23757
23758 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
23759
23760 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
23761 to "".
23762 (ange-ftp-write-region, ange-ftp-insert-file-contents)
23763 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
23764 determining of binary transfer. (Bug#7383)
23765
23766 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
23767
23768 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
23769 Fix port computation bug. (Bug#8618)
23770
23771 2011-05-05 Glenn Morris <rgm@gnu.org>
23772
23773 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
23774
23775 * simple.el (shell-dynamic-complete-functions)
23776 (comint-dynamic-complete-functions): Declare.
23777
23778 * net/network-stream.el (gnutls-negotiate):
23779 * simple.el (tabulated-list-print): Fix declarations.
23780
23781 * progmodes/gud.el (syntax-symbol, syntax-point):
23782 Remove unnecessary and incorrect declarations.
23783
23784 * emacs-lisp/check-declare.el (check-declare-scan):
23785 Handle byte-compile-initial-macro-environment in bytecomp.el.
23786
23787 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
23788
23789 Fix earlier half-done eieio-defmethod change (bug#8338).
23790 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
23791 Streamline and change calling convention.
23792 (defmethod): Adjust accordingly and simplify.
23793 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
23794 new eieio--defmethod.
23795 (slot-boundp): Minor CSE simplification.
23796
23797 2011-05-05 Milan Zamazal <pdm@zamazal.org>
23798
23799 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
23800 (glasses-make-readable): Use glasses-separate-capital-groups.
23801
23802 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
23803
23804 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
23805 (warning-series): Doc fix.
23806 (display-warning): Don't try to create the buffer if we just found it.
23807
23808 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
23809
23810 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
23811 (autoload-find-generated-file): New function.
23812 (generate-file-autoloads): Bind generated-autoload-file to
23813 buffer-file-name.
23814 (update-file-autoloads, update-directory-autoloads):
23815 Use autoload-find-generated-file. If called interactively, prompt for
23816 output file (Bug#7989).
23817 (batch-update-autoloads): Doc fix.
23818
23819 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
23820
23821 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
23822
23823 2011-05-04 Glenn Morris <rgm@gnu.org>
23824
23825 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
23826 function, so it follows changes in calendar-date-style.
23827 (diary-fancy-date-matcher): New function.
23828 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
23829 (diary-fancy-font-lock-fontify-region-function):
23830 Use diary-fancy-date-pattern as a function.
23831
23832 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
23833 non-numbers for `year' etc pseudo-variables. (Bug#8583)
23834
23835 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
23836
23837 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
23838 instead of positional arguments. Allow :keylist and :crlfiles
23839 arguments.
23840 (open-gnutls-stream): Call it.
23841
23842 * net/network-stream.el (network-stream-open-starttls): Adjust to
23843 call `gnutls-negotiate' with :process and :hostname arguments.
23844
23845 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
23846
23847 * minibuffer.el (completion--message): New function.
23848 (completion--do-completion, minibuffer-complete)
23849 (minibuffer-force-complete, minibuffer-complete-word): Use it.
23850 (completion--do-completion): Don't ignore completion-auto-help when in
23851 icomplete-mode.
23852
23853 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
23854 internal encoding (e.g. tibetan zero is not whitespace).
23855 (global-whitespace-mode): Prefer save-current-buffer.
23856 (whitespace-trailing-regexp): Remove useless save-match-data.
23857 (whitespace-empty-at-bob-regexp): Minor simplification.
23858
23859 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
23860
23861 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
23862
23863 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
23864
23865 * textmodes/ispell.el (ispell-add-per-file-word-list):
23866 Use `concat' to create string for insertion.
23867
23868 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
23869
23870 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
23871 Avoid open-line which runs post-self-insert-hook.
23872 (bibtex-fill-entry): Remove unused `end' var.
23873
23874 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
23875
23876 * textmodes/ispell.el (ispell-add-per-file-word-list):
23877 Protect against `nil' value of `comment-start' (Bug#8579).
23878
23879 2011-05-03 Leo Liu <sdl.web@gmail.com>
23880
23881 * isearch.el (isearch-yank-pop): New command.
23882 (isearch-mode-map): Bind it to `M-y'.
23883 (isearch-forward): Mention it.
23884
23885 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
23886
23887 * simple.el (minibuffer-complete-shell-command): Remove.
23888 (minibuffer-local-shell-command-map): Use completion-at-point.
23889 (read-shell-command): Setup completion vars here instead.
23890 (read-expression-map): Bind TAB to symbol completion.
23891
23892 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
23893 error directly rather via storing it into `results'.
23894
23895 2011-05-02 Leo Liu <sdl.web@gmail.com>
23896
23897 * vc/diff.el: Fix description.
23898
23899 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
23900
23901 * server.el (server-eval-at): New function.
23902
23903 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
23904
23905 * net/network-stream.el (open-network-stream): Take a :nowait
23906 parameter and pass it on to `make-network-process'.
23907 (network-stream-open-plain): Ditto.
23908
23909 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
23910
23911 * faces.el (face-spec-set-match-display): Don't match toolkit
23912 options on terminal frames.
23913
23914 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
23915
23916 * progmodes/pascal.el: Use lexical binding.
23917 (pascal-mode-map): Remove author preferences.
23918
23919 * pcomplete.el (pcomplete-std-complete): Don't abuse
23920 completion-at-point.
23921
23922 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
23923
23924 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
23925 removing code that has been dead since 1991 or so.
23926
23927 * startup.el (command-line): When warning about "_emacs", use a
23928 delayed warning to allow the user to filter it out.
23929
23930 2011-04-28 Deniz Dogan <deniz@dogan.se>
23931
23932 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
23933 user has not joined.
23934
23935 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
23936
23937 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
23938 aren't any completions at point.
23939
23940 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
23941
23942 * subr.el (display-delayed-warnings): New function.
23943 (delayed-warnings-hook): New variable.
23944
23945 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
23946
23947 * minibuffer.el (completion-at-point, completion-help-at-point):
23948 Don't presume that a given completion-at-point-function will always
23949 use the same calling convention.
23950
23951 * pcomplete.el (pcomplete-completions-at-point):
23952 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
23953 pcomplete-seen is non-nil.
23954 (pcomplete-comint-setup): Also recognize the new comint/shell
23955 completion functions.
23956 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
23957 pcomplete-seen is non-nil.
23958
23959 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
23960
23961 * calendar/icalendar.el (diary-lib): Add require statement.
23962 (icalendar--create-uid): Read out a uid from a text-property on
23963 the first character in the entry. This allows for code to add its
23964 own uid to the entry.
23965 (icalendar--convert-float-to-ical): Add export of
23966 `diary-float'-entries save for those with the optional DAY
23967 argument.
23968
23969 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
23970
23971 * subr.el (shell-quote-argument): Use alternate escaping strategy
23972 when we spot a variable reference in a string.
23973
23974 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
23975
23976 * cus-start.el (all): Define customization for debug-on-event.
23977
23978 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
23979
23980 * subr.el (shell-quote-argument): Escape correctly under Windows.
23981
23982 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
23983
23984 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
23985
23986 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
23987
23988 * net/tramp.el (tramp-process-actions): Add POS argument.
23989 Delete region between POS and (pos).
23990
23991 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
23992 Use `nil' position in `tramp-process-actions' call.
23993 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
23994
23995 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
23996 position in `tramp-process-actions' call.
23997
23998 * net/trampver.el: Update release number.
23999
24000 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
24001
24002 * custom.el (defcustom): Obey lexical-binding.
24003
24004 Fix octave-inf completion problems reported by Alexander Klimov.
24005 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
24006 Inherit from octave-mode-syntax-table.
24007 (inferior-octave-mode): Set info-lookup-mode.
24008 (inferior-octave-completion-at-point): New function.
24009 (inferior-octave-complete): Use it and completion-in-region.
24010 (inferior-octave-dynamic-complete-functions): Use it as well, and use
24011 comint-filename-completion.
24012 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
24013 symbol elements which shouldn't be word elements.
24014 (octave-font-lock-keywords, octave-beginning-of-defun)
24015 (octave-function-header-regexp): Adjust regexps accordingly.
24016 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
24017
24018 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
24019
24020 * net/gnutls.el (gnutls-errorp): Declare before first use.
24021
24022 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
24023
24024 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
24025 verify-error, and verify-hostname-error parameters. Check whether
24026 default trustfile exists before going to use it. Add missing
24027 argument to gnutls-message-maybe call. Return value.
24028 Reported by Claudio Bley <claudio.bley@gmail.com>.
24029 (open-gnutls-stream): Add usage example.
24030
24031 * net/network-stream.el (network-stream-open-starttls): Give host
24032 parameter to `gnutls-negotiate'.
24033 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
24034 * subr.el (shell-quote-argument): Escape correctly under Windows.
24035
24036 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
24037
24038 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
24039 Use correct match group (bug#8438).
24040
24041 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
24042
24043 * emacs-lisp/package.el (package-built-in-p): Fix typo.
24044 (package-menu--generate): New arg specifying packages to show.
24045 (package-menu-refresh, package-menu-execute, list-packages):
24046 Callers changed.
24047 (package-show-package-list): New function, replacing deleted
24048 package--list-packages (renamed because it is non-internal).
24049
24050 * finder.el (finder-list-matches): Use package-show-package-list
24051 instead of deleted package--list-packages.
24052
24053 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
24054 Based on a previous implementation by Juanma Barranquero (Bug#8366).
24055 (vc-annotate-mode-map): Bind it to RET.
24056
24057 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
24058
24059 * progmodes/etags.el (next-file): Don't use set-buffer to change
24060 buffers (Bug#8478).
24061
24062 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
24063
24064 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
24065
24066 * apropos.el (apropos-label-face): Avoid variable-pitch face.
24067 (apropos-accumulator): Doc fix.
24068 (apropos-function, apropos-macro, apropos-command)
24069 (apropos-variable, apropos-face, apropos-group, apropos-widget)
24070 (apropos-plist): Add face property.
24071 (apropos-symbols-internal): Fix indentation.
24072 (apropos-print): Simplify help, and recognize apropos-multi-type.
24073 (apropos-print-doc): Use button-type-get to extract the button's
24074 face property. Fill docstring (Bug#8352).
24075
24076 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
24077
24078 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
24079
24080 * play/mpuz.el (mpuz-silent): Doc fix.
24081 (mpuz-mode-map): Use mapc.
24082 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
24083 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
24084 Fix typos in docstrings.
24085
24086 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
24087 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
24088
24089 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
24090
24091 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
24092
24093 * minibuffer.el (completion--do-completion): Avoid the "Next char
24094 not unique" prompt if icomplete-mode is enabled (Bug#5849).
24095
24096 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
24097 mouse-2 into unread-command-events, it is interpreted correctly.
24098
24099 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
24100 (image-toggle-display): Doc fix.
24101
24102 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
24103
24104 * textmodes/page.el (what-page): Use line-number-at-pos to
24105 calculate line number (Bug#6825).
24106
24107 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
24108
24109 * eshell/esh-mode.el (find-tag-interactive): Declare function.
24110 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
24111 Pass argument NO-DEFAULT to `find-tag-interactive'.
24112
24113 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
24114
24115 Lexical-binding cleanup.
24116
24117 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
24118 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
24119 * progmodes/ada-prj.el (ada-prj-initialize-values)
24120 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
24121 (ada-prj-show-value):
24122 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
24123 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
24124 (antlr-invalidate-context-cache, antlr-options-menu-filter)
24125 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
24126 * progmodes/bug-reference.el (bug-reference-push-button):
24127 * progmodes/fortran.el (fortran-line-length):
24128 * progmodes/glasses.el (glasses-change):
24129 * progmodes/octave-mod.el (octave-fill-paragraph):
24130 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
24131 (python-pdbtrack-grub-for-buffer, python-sentinel):
24132 * progmodes/sql.el (sql-save-connection):
24133 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
24134 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
24135 Mark unused parameters.
24136
24137 * progmodes/compile.el (compilation--flush-directory-cache)
24138 (compilation--flush-parse, compile-internal): Mark unused parameters.
24139 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
24140 (compilation-next-error-function): Remove unused variable `timestamp'.
24141
24142 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
24143 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
24144
24145 * progmodes/dcl-mode.el (dcl-end-of-command):
24146 Remove unused variable `start'.
24147 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
24148 (dcl-option-value-basic, dcl-option-value-offset)
24149 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
24150 Mark unused parameters.
24151 (dcl-save-local-variable): Remove unused variable `val'.
24152 (mode): Declare.
24153
24154 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
24155 Mark unused parameters.
24156 (delphi-ignore-changes): Move before first use.
24157 (delphi-charset-token-at): Remove unused variable `start'.
24158 (delphi-else-start): Remove unused variable `if-count'.
24159 (delphi-comment-block-start, delphi-comment-block-end):
24160 Remove unused variable `kind'.
24161 (delphi-indent-line): Remove unused variable `new-point'.
24162
24163 * progmodes/ebrowse.el (ebrowse-files-list)
24164 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
24165 Mark unused parameters. Don't quote `lambda'.
24166 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
24167 Don't quote `lambda'.
24168 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
24169 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
24170 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
24171 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
24172 Use `ignore-errors'.
24173 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
24174 (ebrowse-view/find-file-and-search-pattern)
24175 (ebrowse-view/find-member-declaration/definition):
24176 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
24177 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
24178 Rename parameter PREFIX-ARG to PREFIX.
24179 (ebrowse-tags-read-name): Remove unused variables `start' and
24180 `member-info'.
24181 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
24182 to `tags-file'.
24183
24184 * progmodes/etags.el (local-find-tag-hook): Declare.
24185 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
24186 Mark unused parameters.
24187
24188 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
24189 (executable-interpret): Mark unused parameter.
24190
24191 * progmodes/flymake.el (flymake-process-sentinel)
24192 (flymake-after-change-function)
24193 (flymake-create-temp-with-folder-structure)
24194 (flymake-get-include-dirs-dot): Mark unused parameters.
24195 (flymake-safe-delete-directory): Remove unused variable `err'.
24196
24197 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
24198 (speedbar-timer-fn, speedbar-line-text)
24199 (speedbar-change-expand-button-char, speedbar-delete-subblock)
24200 (speedbar-center-buffer-smartly): Declare functions.
24201 (gdb-find-watch-expression): Remove unused variable `array'.
24202 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
24203 (gdb-starting): Mark unused parameters.
24204 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
24205 (gdb-table-string): Remove unused variable `res'.
24206 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
24207 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
24208 (gdb-display-buffer): Remove unused variable `cur-size'.
24209
24210 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
24211 allow lexical-binding compilation.
24212 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
24213 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
24214 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
24215 Mark unused parameters.
24216 (gud-gdb-marker-filter): Remove unused variable `match'.
24217 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
24218 lambda expressions and funcall them, instead of using `fset'.
24219
24220 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
24221 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
24222
24223 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
24224 variable `header-beg'; use `let'.
24225
24226 * progmodes/icon.el (indent-icon-exp): Remove unused variables
24227 `restart', `last-sexp' and `at-do'.
24228
24229 * progmodes/js.el (js--debug): Mark unused parameter.
24230 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
24231 (js--splice-into-items): Remove unused variable `item'.
24232 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
24233
24234 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
24235 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
24236 (makefile-complete): Remove unused variable `try'.
24237 (makefile-fill-paragraph, makefile-match-function-end):
24238 Mark unused parameters.
24239
24240 * progmodes/octave-inf.el (inferior-octave-complete):
24241 Remove unused variable `proc'.
24242 (inferior-octave-output-digest): Mark unused parameter.
24243
24244 * progmodes/perl-mode.el (perl-calculate-indent):
24245 Remove unused variable `err'.
24246
24247 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
24248 (prolog-indent-line): Mark unused parameters.
24249 (prolog-indent-line): Remove unused variable `beg'.
24250
24251 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
24252 (reporter-dont-compact-list): Declare.
24253
24254 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
24255 Remove unused variable `char'.
24256 (sh-debug): Mark unused parameter.
24257 (sh-get-indent-info): Remove unused variable `start'.
24258 (sh-calculate-indent): Remove unused variable `var'.
24259
24260 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
24261 (simula-electric-keyword): Remove unused variable `null'.
24262 (simula-search-backward, simula-search-forward): Remove unused
24263 variables `begin' and `end'.
24264
24265 * progmodes/vera-mode.el (vera-guess-basic-syntax):
24266 Remove unused variable `pos'.
24267 (vera-electric-tab, vera-comment-uncomment-region):
24268 Mark unused parameters.
24269 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
24270
24271 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
24272
24273 * emacs-lisp/package.el (package--builtins, package-alist)
24274 (package-load-descriptor, package-built-in-p, package-activate)
24275 (define-package, package-installed-p)
24276 (package-compute-transaction, package-buffer-info)
24277 (package--push): Doc fix. Distinguish more clearly between
24278 version strings and version lists.
24279
24280 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
24281
24282 Lexical-binding cleanup.
24283
24284 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
24285 (5x5-make-mutate-best):
24286 * play/fortune.el (fortune-in-buffer):
24287 * play/gomoku.el (gomoku-init-display):
24288 * play/solitaire.el (solitaire, solitaire-do-check):
24289 * play/tetris.el (tetris-default-update-speed-function):
24290 Mark unused parameters.
24291
24292 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
24293 (bubbles--shift): Remove unused variable `char-org'.
24294 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
24295 (bubbles--show-images): Remove unused variable `char'.
24296
24297 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
24298 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
24299 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
24300 (decipher-analyze-buffer): Use ?\s.
24301 (decipher-make-checkpoint): Remove unused variable `mapping'.
24302
24303 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
24304
24305 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
24306 Remove unused variable `result'; use `let'.
24307
24308 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
24309 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
24310 (gametree-children-shown-p, gametree-compute-reduced-score):
24311 Use `ignore-errors'.
24312
24313 * play/handwrite.el (ps-lpr-switches): Declare.
24314 (handwrite): Remove unused variables `pmin' and `lastp'.
24315
24316 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
24317
24318 * play/landmark.el (landmark-init-display)
24319 (landmark-update-naught-weights): Mark unused parameters.
24320 (landmark-y): Remove unused variable `noise'. Simplify.
24321 (landmark-human-plays): Remove unused variable `score'.
24322
24323 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
24324 (mpuz-try-proposal): Remove unused variable `game'.
24325
24326 * play/zone.el (life-patterns): Declare.
24327
24328 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
24329
24330 * vc/vc.el (ediff-vc-internal): Declare function.
24331
24332 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
24333
24334 * shell.el: Use lexical-binding and std completion UI.
24335 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
24336 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
24337 comint-preoutput-filter-functions rather than on
24338 comint-output-filter-functions.
24339 (shell-command-completion, shell--command-completion-data)
24340 (shell-filename-completion, shell-environment-variable-completion)
24341 (shell-c-a-p-replace-by-expanded-directory): New functions.
24342 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
24343 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
24344 (shell-dynamic-complete-environment-variable): Use them.
24345 (shell-dynamic-complete-as-environment-variable)
24346 (shell-dynamic-complete-as-command): Remove.
24347 (shell-match-partial-variable): Match past point.
24348 * comint.el: Clean up use of completion-at-point-functions.
24349 (comint-completion-at-point): New function.
24350 (comint-mode): Use it completion-at-point-functions.
24351 (comint-dynamic-complete): Make it obsolete.
24352 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
24353 (comint-c-a-p-replace-by-expanded-history): New function.
24354 (comint-dynamic-complete-functions)
24355 (comint-replace-by-expanded-history): Use it.
24356 * minibuffer.el (completion-table-with-terminator): Allow dynamic
24357 termination strings. Try harder to avoid second try-completion.
24358 (completion-in-region-mode-map): Disable bindings that don't work yet.
24359
24360 * comint.el: Use lexical-binding. Require CL.
24361 (comint-dynamic-complete-functions): Use comint-filename-completion.
24362 (comint-completion-addsuffix): Tweak custom type.
24363 (comint-filename-completion, comint--common-suffix)
24364 (comint--common-quoted-suffix, comint--table-subvert)
24365 (comint--complete-file-name-data): New functions.
24366 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
24367 (comint-dynamic-list-filename-completions): Use them.
24368 (comint-dynamic-simple-complete): Make obsolete.
24369
24370 * minibuffer.el (completion-in-region-mode):
24371 Keep completion-in-region-mode--predicate global.
24372 (completion-in-region--postch):
24373 Assume completion-in-region-mode--predicate is not null.
24374
24375 * progmodes/flymake.el (flymake-start-syntax-check-process):
24376 Obey `dir'. Simplify.
24377
24378 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
24379 we're in VC after all.
24380
24381 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
24382
24383 * vc/vc.el (vc-diff-build-argument-list-internal)
24384 (vc-version-ediff, vc-ediff): New commands.
24385 (vc-version-diff): Use vc-diff-build-argument-list-internal.
24386
24387 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
24388
24389 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
24390 add sanity check.
24391
24392 * obsolete/erc-hecomplete.el: Make obsolete.
24393 * obsolete/: Standardize obsolescence info in the header.
24394
24395 2011-04-20 Glenn Morris <rgm@gnu.org>
24396
24397 * calendar/solar.el (solar-horizontal-coordinates):
24398 Use the longitude argument rather than `calendar-longitude'.
24399 (solar-date-next-longitude): Remove unused locals.
24400
24401 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
24402
24403 * whitespace.el: New version 13.2.1.
24404
24405 2011-04-20 felix <EmacsWiki> (tiny change)
24406
24407 * whitespace.el (global-whitespace-mode): Keep highlight when
24408 switching between major modes on a file.
24409
24410 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
24411
24412 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
24413 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
24414 multi-line comments as well.
24415
24416 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
24417
24418 Lexical-binding cleanup.
24419
24420 * arc-mode.el (archive-mode-revert):
24421 * cmuscheme.el (scheme-interactively-start-process):
24422 * custom.el (custom-initialize-delay):
24423 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
24424 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
24425 * emacs-lock.el (emacs-lock-clear-sentinel):
24426 * ezimage.el (defezimage):
24427 * follow.el (follow-avoid-tail-recenter):
24428 * fringe.el (set-fringe-mode-1):
24429 * generic-x.el (bat-generic-mode-compile):
24430 * help-mode.el (help-info-variable, help-do-xref)
24431 (help-mode-revert-buffer):
24432 * help.el (view-emacs-todo):
24433 * iswitchb.el (iswitchb-completion-help):
24434 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
24435 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
24436 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
24437 * locate.el (locate-update):
24438 * longlines.el (longlines-encode-region)
24439 (longlines-after-change-function):
24440 * outline.el (outline-isearch-open-invisible):
24441 * ps-def.el (declare-function, charset-dimension, char-width)
24442 (encode-char):
24443 * ps-mule.el (ps-mule-plot-string):
24444 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
24445 (recentf-edit-list-select, recentf-edit-list-validate)
24446 (recentf-open-files-action):
24447 * rect.el (delete-whitespace-rectangle-line)
24448 (rectangle-number-line-callback):
24449 * register.el (window-configuration-to-register)
24450 (frame-configuration-to-register):
24451 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
24452 * select.el (xselect-convert-to-string, xselect-convert-to-length)
24453 (xselect-convert-to-targets, xselect-convert-to-delete)
24454 (xselect-convert-to-filename, xselect-convert-to-charpos)
24455 (xselect-convert-to-lineno, xselect-convert-to-colno)
24456 (xselect-convert-to-os, xselect-convert-to-host)
24457 (xselect-convert-to-user, xselect-convert-to-class)
24458 (xselect-convert-to-name, xselect-convert-to-integer)
24459 (xselect-convert-to-atom, xselect-convert-to-identity):
24460 * subr.el (declare, ignore, process-kill-without-query)
24461 (text-clone-maintain):
24462 * terminal.el (te-get-char, te-tic-sentinel):
24463 * tool-bar.el (tool-bar-make-keymap):
24464 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
24465 * type-break.el (type-break-mode, type-break-noninteractive-query):
24466 * view.el (View-back-to-mark):
24467 * wid-browse.el (widget-browse-action, widget-browse-widget)
24468 (widget-browse-widgets, widget-browse-sexp):
24469 * widget.el (define-widget-keywords):
24470 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
24471 Mark unused parameters.
24472
24473 * align.el (align-adjust-col-for-rule): Mark unused parameter.
24474 (align-areas): Remove unused variable `look'.
24475 (align-region): Remove unused variables `real-end' and `pos-list'.
24476
24477 * apropos.el (apropos-score-doc): Remove unused variable `i'.
24478
24479 * bindings.el (mode-line-modified, mode-line-remote):
24480 Mark unused parameters.
24481 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
24482
24483 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
24484 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
24485
24486 * comint.el (comint-history-isearch-pop-state)
24487 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
24488 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
24489 (comint-substitute-in-file-name): Doc fix.
24490
24491 * completion.el (cmpl-statistics-block): Mark unused parameter.
24492 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
24493 (save-completions-to-file, load-completions-from-file):
24494 Remove unused local variable `e'.
24495
24496 * composite.el (compose-chars): Remove unused variable `len'.
24497 (lgstring-insert-glyph): Remove unused variable `g'.
24498 (compose-glyph-string): Remove unused variables `ascent',
24499 `descent', `lbearing' and `rbearing'.
24500 (compose-glyph-string-relative): Remove unused variables
24501 `lbearing', `rbearing' and `wadjust'.
24502 (compose-gstring-for-graphic): Remove unused variables `header',
24503 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
24504 (compose-gstring-for-terminal): Remove unused variables `header'
24505 and `nchars'. Use `let', not `let*'.
24506
24507 * cus-edit.el (Custom-set, Custom-save, custom-reset)
24508 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
24509 (Custom-buffer-done, custom-buffer-create-internal)
24510 (custom-browse-visibility-action, custom-browse-group-tag-action)
24511 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
24512 (widget-magic-mouse-down-action, custom-toggle-parent)
24513 (custom-add-parent-links, custom-toggle-hide-variable)
24514 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
24515 (custom-toggle-hide-face, face, hook, custom-group-link-action)
24516 (custom-face-menu-create, custom-variable-menu-create, get)
24517 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
24518 (custom-reset-standard-save-and-update): Remove unused variable `value'.
24519 (customize-apropos): Remove unused variable `tests'.
24520 (custom-group-value-create): Remove unused variable `hidden-p'.
24521 (sort-fold-case): Declare.
24522
24523 * cus-theme.el (custom-reset-standard-faces-list)
24524 (custom-reset-standard-variables-list): Declare.
24525 (customize-create-theme, custom-theme-revert, custom-theme-write)
24526 (custom-theme-choose-mode, customize-themes, custom-theme-save):
24527 Mark unused parameters.
24528
24529 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
24530
24531 * delim-col.el (delimit-columns-max): Move defvar before first use.
24532
24533 * descr-text.el (describe-char-categories): Don't quote `lambda'.
24534 (describe-char): Don't quote `lambda'. Mark unused parameter.
24535
24536 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
24537 (auto-insert): Declare.
24538 (desktop-restore-file-buffer): Rename desktop-* parameters;
24539 mark unused ones.
24540 (desktop-create-buffer): Rename desktop-* parameters and bind them.
24541 (desktop-buffer): Rename desktop-* parameters.
24542
24543 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
24544 (dframe-reposition-frame-xemacs, dframe-help-echo)
24545 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
24546 Mark unused parameters.
24547
24548 * dired-aux.el (backup-extract-version-start, overwrite-query)
24549 (overwrite-backup-query, rename-regexp-query)
24550 (rename-non-directory-query): Declare.
24551 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
24552 (dired-add-entry): Remove unused variable `orig-file-name'.
24553 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
24554 Use parameter PRESERVE-TIME instead of accessing dynamic variable
24555 `dired-copy-preserve-time' directly.
24556 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
24557 (dired-insert-subdir-newpos): Rename unused variable `pos'.
24558
24559 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
24560 (dired-virtual-revert, dired-make-relative-symlink):
24561 Mark unused parameters.
24562 (manual-program): Declare.
24563 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
24564 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
24565 wrapped in `with-no-warnings' to avoid replacing one warning by another.
24566
24567 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
24568
24569 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
24570
24571 * echistory.el (electric-history-in-progress, Helper-return-blurb):
24572 Declare.
24573
24574 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
24575
24576 * electric.el (Electric-command-loop): Rename parameter
24577 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
24578
24579 * expand.el (expand-in-literal): Remove unused variable `here'.
24580
24581 * facemenu.el (facemenu-add-new-color):
24582 Remove unused variable `docstring'.
24583
24584 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
24585 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
24586 (face-attr-construct): Mark unused parameter. Doc fix.
24587 (read-color): Remove unused variable `hex-string'.
24588
24589 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
24590 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
24591 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
24592 (display-buffer-other-frame): Remove unused variable `old-window'.
24593 (kill-buffer-hook): Declare.
24594 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
24595 Mark unused parameters.
24596 (after-find-file): Pass 1 to `auto-save-mode', not t.
24597
24598 * files-x.el (auto-insert): Declare.
24599 (modify-file-local-variable-prop-line): Remove unused variable `val'.
24600
24601 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
24602 variable `buf'. Mark unused parameter.
24603 (find-lisp-insert-directory): Mark unused parameter.
24604
24605 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
24606 (format-encode-region): Remove unused variables `cur-buf' and `result'.
24607 (format-common-tail): Remove, unused.
24608 (format-deannotate-region): Remove unused variable `loc'.
24609 (format-annotate-region): Remove unused variable `p'.
24610 (format-annotate-single-property-change): Remove unused variables
24611 `default' and `tail'.
24612
24613 * forms.el (read-file-filter): Declare.
24614 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
24615
24616 * frame.el (frame-creation-function-alist): Mark unused parameter.
24617 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
24618
24619 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
24620 Remove unused parameters.
24621 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
24622 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
24623
24624 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
24625 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
24626 (hfy-prepare-tag-map): Mark unused parameters.
24627 (htmlfontify-buffer): Use `called-interactively-p'.
24628
24629 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
24630 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
24631 (ibuffer-do-occur): Mark unused parameters.
24632 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
24633 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
24634
24635 * ibuffer.el: Don't quote `lambda'.
24636 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
24637 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
24638 Mark unused parameters.
24639
24640 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
24641 (ido-completing-read): Mark unused parameters.
24642 (ido-copy-current-word): Mark unused parameters;
24643 remove unused variable `name'.
24644 (ido-sort-merged-list): Remove unused parameter `dirs'.
24645
24646 * ielm.el (ielm-input-sender): Mark unused parameter.
24647 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
24648 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
24649 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
24650 `ielm-string' as a dynamic variable accessible from the IELM prompt.
24651 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
24652
24653 * image-dired.el (image-dired-display-thumbs): Remove unused
24654 variables `curr-file' and `count'.
24655 (image-dired-remove-tag): Remove unused variable `start'.
24656 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
24657 variable `curr-file'
24658 (image-dired-rotate-original): Remove unused variable `temp-file'.
24659 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
24660 Remove unused variable `file'.
24661 (image-dired-gallery-generate): Remove unused variable `curr'.
24662 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
24663
24664 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
24665
24666 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
24667
24668 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
24669
24670 * isearch.el (minibuffer-history-symbol): Declare.
24671 (isearch-edit-string): Remove unused variable `err'.
24672 (isearch-message-prefix, isearch-message-suffix):
24673 Mark unused parameters.
24674
24675 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
24676
24677 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
24678
24679 * makesum.el (double-column): Remove unused variable `cnt'.
24680
24681 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
24682 (ido-ignore-item-temp-list): Declare.
24683
24684 * mouse-drag.el (mouse-drag-throw): Remove unused variables
24685 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
24686 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
24687 (mouse-drag-drag): Remove unused variables `mouse-delta' and
24688 `mouse-col-delta'.
24689
24690 * mouse-sel.el (mouse-extend-internal):
24691 Remove unused variable `orig-window-frame'.
24692
24693 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
24694 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
24695 Move declarations before first use.
24696 (pcomplete-opt): Mark unused parameters; doc fix.
24697
24698 * proced.el (proced-revert): Mark unused parameter.
24699 (proced-send-signal): Remove unused variable `err'.
24700
24701 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
24702 Rename parameter PREFIX-ARG to ARG.
24703 (ps-basic-plot-string, ps-basic-plot-whitespace):
24704 Mark unused parameters.
24705
24706 * replace.el (replace-count): Define.
24707 (occur-revert-function): Mark unused parameters.
24708 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
24709 (isearch-case-fold-search, isearch-string): Declare.
24710 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
24711 bind `case-fold-search'. Remove unused variables `beg' and `end',
24712 and simplify.
24713 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
24714 COUNT and bind `replace-count'.
24715 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
24716 to COUNT.
24717
24718 * savehist.el (print-readably, print-string-length): Declare.
24719
24720 * shadowfile.el (shadow-expand-cluster-in-file-name):
24721 Remove unused variable `cluster'.
24722 (shadow-copy-file): Remove unused variable `i'.
24723 (shadow-noquery, shadow-clusters, shadow-site-cluster)
24724 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
24725 (shadow-define-literal-group, shadow-define-regexp-group)
24726 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
24727
24728 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
24729 (shell): Use `called-interactively-p'.
24730 (shell-directory-tracker): Remove unused variable `chdir-failure'.
24731
24732 * simple.el (compilation-context-lines, comint-file-name-quote-list)
24733 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
24734 (delete-backward-char): Remove unused variable `ocol'.
24735 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
24736 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
24737 (event-apply-hyper-modifier, event-apply-shift-modifier)
24738 (event-apply-control-modifier, event-apply-meta-modifier):
24739 Mark unused parameters.
24740 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
24741 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
24742
24743 * speedbar.el (speedbar-ignored-directory-expressions)
24744 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
24745 (speedbar-find-file, speedbar-dir-follow)
24746 (speedbar-directory-buttons-follow, speedbar-tag-find)
24747 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
24748 (speedbar-buffers-line-directory, speedbar-buffer-click):
24749 Mark unused parameters.
24750 (speedbar-tag-file): Remove unused variable `mode'.
24751 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
24752
24753 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
24754
24755 * talk.el (talk): Remove unused variable `display'.
24756
24757 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
24758 (tar-write-region-annotate): Mark unused parameter.
24759
24760 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
24761 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
24762 Declare them, wrapped in `with-no-warnings' to avoid replacing one
24763 warning by another.
24764
24765 * time-stamp.el (time-stamp-string-preprocess):
24766 Remove unused variable `require-padding'.
24767
24768 * tree-widget.el (widget-glyph-enable): Declare.
24769 (tree-widget-action): Mark unused parameter.
24770
24771 * w32-fns.el (x-get-selection): Mark unused parameter.
24772 (autoload-make-program, generated-autoload-file): Declare.
24773
24774 * wdired.el (wdired-revert): Mark unused parameters.
24775 (wdired-xcase-word): Remove unused variable `err'.
24776
24777 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
24778 (whitespace-help-scroll): Remove unused variable `data-help'.
24779
24780 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
24781 (widget-image-insert, widget-after-change, default)
24782 (widget-default-format-handler, widget-default-notify)
24783 (widget-default-prompt-value, widget-info-link-action)
24784 (widget-url-link-action, widget-function-link-action)
24785 (widget-variable-link-action, widget-file-link-action)
24786 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
24787 (widget-field-prompt-internal, widget-field-action, widget-field-match)
24788 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
24789 (widget-insert-button-action, widget-delete-button-action, visibility)
24790 (widget-documentation-link-action, widget-documentation-string-action)
24791 (widget-const-prompt-value, widget-regexp-match, symbol)
24792 (widget-coding-system-prompt-value)
24793 (widget-key-sequence-value-to-external, sexp)
24794 (widget-sexp-value-to-internal, character, vector, cons)
24795 (widget-choice-prompt-value, widget-boolean-prompt-value)
24796 (widget-color--choose-action): Mark unused parameters.
24797 (widget-item-match-inline, widget-choice-match-inline)
24798 (widget-checklist-match, widget-checklist-match-inline)
24799 (widget-group-match): Rename parameter VALUES to VALS.
24800 (widget-field-value-set): Remove unused variable `size'.
24801 (widget-color-action): Remove unused variables `value' and `start'.
24802
24803 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
24804 variable `dir'. Doc fix.
24805 (windmove-find-other-window): Don't pass it.
24806
24807 * window.el (count-windows): Mark unused parameter.
24808 (bw-adjust-window): Remove unused variable `err'.
24809
24810 * woman.el (woman-file-name): Remove unused variable `default'.
24811 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
24812 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
24813 (global-font-lock-mode): Declare.
24814 (woman-decode-region): Mark unused parameter.
24815 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
24816
24817 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
24818 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
24819 (x-dnd-handle-moz-url): Remove unused variable `title'.
24820 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
24821
24822 * xml.el (xml-parse-tag, xml-parse-attlist):
24823 Remove unused variable `pos'.
24824
24825 2011-04-19 Glenn Morris <rgm@gnu.org>
24826
24827 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
24828 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
24829 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
24830 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
24831 * calendar/cal-html.el (cal-html-insert-minical):
24832 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
24833 (calendar-mark-date-pattern):
24834 Prefix "unused" locals.
24835
24836 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
24837 optional argument `style'.
24838
24839 * calendar/appt.el (appt-make-list):
24840 * calendar/cal-china.el (calendar-chinese-date-string):
24841 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
24842 (diary-hebrew-yahrzeit):
24843 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
24844 * calendar/calendar.el (calendar-generate-window):
24845 * calendar/time-date.el (time-to-days):
24846 Remove unused local variables.
24847
24848 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
24849
24850 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
24851 glyphless-char-display table.
24852 (tabulated-list-glyphless-char-display): New var.
24853
24854 2011-04-18 Sam Steingold <sds@gnu.org>
24855
24856 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
24857 to acknowledgments.
24858
24859 2011-04-17 Glenn Morris <rgm@gnu.org>
24860
24861 * calendar/diary-lib.el (diary-sexp-entry):
24862 * calendar/holidays.el (holiday-sexp):
24863 Set debug-on-error rather than the removed stack-trace-on-error.
24864
24865 2011-04-16 Glenn Morris <rgm@gnu.org>
24866
24867 * progmodes/f90.el: Use lexical-binding.
24868 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
24869
24870 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
24871
24872 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
24873 (mail-mode): Setup mailalias completion here instead.
24874 * mail/mailalias.el: Use lexical-binding.
24875 (pattern, mailalias-done): Declare dynamic.
24876 (mail-completion-at-point-function): New function, from mail-complete.
24877 (mail-complete): Use it.
24878 (mail-completion-expand): New function.
24879 (mail-get-names): Use it.
24880 (mail-directory, mail-directory-process, mail-directory-stream):
24881 Don't use `pattern' for lexically bound arg.
24882
24883 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
24884
24885 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
24886 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
24887 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
24888
24889 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
24890 (byte-save-window-excursion, byte-temp-output-buffer-setup)
24891 (byte-interactive-p): Define them again, for use when inlining
24892 old code.
24893
24894 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
24895
24896 * loadup.el: Use `string-to-number', not `string-to-int'.
24897
24898 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
24899
24900 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
24901 gud-gdb-complete-command.
24902 (gud-gdb-completions): New function, from gud-gdb-complete-command.
24903 (gud-gdb-completion-at-point): New function.
24904 (gud-gdb-completions): Remove.
24905
24906 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
24907
24908 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
24909 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
24910 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
24911 whether `executable-find' is bound.
24912
24913 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
24914
24915 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
24916
24917 * minibuffer.el (completion-in-region-mode-predicate)
24918 (completion-in-region-mode--predicate): New vars.
24919 (completion-in-region, completion-in-region--postch)
24920 (completion-in-region-mode): Use them.
24921 (completion--capf-wrapper): Also return the hook function.
24922 (completion-at-point, completion-help-at-point):
24923 Adjust and provide a predicate.
24924
24925 Preserve arg names for advice of subr and lexical functions (bug#8457).
24926 * help-fns.el (help-function-arglist): Consolidate the subr and
24927 new-byte-code cases. Add argument `preserve-names' to extract names
24928 from the docstring when needed.
24929 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
24930 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
24931 (ad-arglist): Use help-function-arglist's new arg.
24932 (ad-definition-type): Use cond.
24933
24934 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
24935
24936 * autorevert.el (auto-revert-handler):
24937 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
24938 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
24939 Don't quote lambda.
24940
24941 * image-mode.el (image-transform-set-scale):
24942 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
24943
24944 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
24945
24946 * net/network-stream.el (network-stream-open-starttls): Only do
24947 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
24948 Upgrades via gnutls-cli are too slow to be done opportunistically.
24949
24950 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
24951
24952 * dframe.el (dframe-current-frame): Remove spurious quote.
24953
24954 2011-04-12 Glenn Morris <rgm@gnu.org>
24955
24956 * calendar/cal-tex.el (cal-tex-end-document):
24957 Try to automatically use latin1 input if needed.
24958
24959 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
24960 Don't try to cons a mark onto an empty element.
24961
24962 2011-04-11 Leo Liu <sdl.web@gmail.com>
24963
24964 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
24965 buffers.
24966 (ido-kill-buffer-at-head): Support killing virtual buffers.
24967
24968 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
24969
24970 * minibuffer.el (completion-show-inline-help): New var.
24971 (completion--do-completion, minibuffer-complete)
24972 (minibuffer-force-complete, minibuffer-complete-word):
24973 Inhibit minibuffer messages if completion-show-inline-help is nil.
24974
24975 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
24976 to avoid interference from inline help (Bug#5849).
24977
24978 2011-04-10 Leo Liu <sdl.web@gmail.com>
24979
24980 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
24981 Fix typo.
24982
24983 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
24984
24985 * image-mode.el (image-toggle-display-image): Signal an error if
24986 not in Image mode.
24987 (image-transform-mode, image-transform-resize)
24988 (image-transform-set-rotation): Doc fix.
24989 (image-transform-set-resize): Delete.
24990 (image-transform-set-scale, image-transform-fit-to-height)
24991 (image-transform-fit-to-width): Handle image-toggle-display-image
24992 and image-transform-resize directly.
24993
24994 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
24995
24996 * doc-view.el (doc-view-fit-width-to-window)
24997 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
24998 New functions for fitting the shown image to the Emacs window size.
24999 (doc-view-mode-map): Add bindings for the new functions.
25000
25001 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
25002
25003 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
25004 Fix typo in docstring.
25005
25006 2011-04-08 Eli Zaretskii <eliz@gnu.org>
25007
25008 * files.el (file-size-human-readable): Produce one digit after
25009 decimal, like "ls -lh" does.
25010
25011 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
25012 the file size representation.
25013
25014 * simple.el (list-processes): If async subprocesses are not
25015 available, error out with a clear error message.
25016
25017 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
25018
25019 * help.el (help-form-show): New function, to be called from C.
25020 Put help-form output in a buffer named differently than *Help*.
25021
25022 2011-04-08 Eli Zaretskii <eliz@gnu.org>
25023
25024 * files.el (file-size-human-readable): New function.
25025
25026 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
25027 computing the representation inline. Don't require `cl'.
25028
25029 2011-04-08 Glenn Morris <rgm@gnu.org>
25030
25031 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
25032
25033 * net/browse-url.el (browse-url-firefox):
25034 Test system-type, not system-configuration.
25035
25036 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
25037 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
25038 Use log-edit-empty-buffer-p. (Bug#7598)
25039
25040 * net/rlogin.el (rlogin-process-connection-type): Simplify.
25041 (rlogin-mode-map): Initialize in the defvar.
25042 (rlogin): Use ignore-errors.
25043
25044 * replace.el (occur-mode-map): Some fixes for menu items.
25045
25046 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
25047
25048 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
25049
25050 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
25051
25052 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
25053 issuing unused warnings.
25054
25055 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
25056 macro directly.
25057
25058 * simple.el: Lisp reimplement of list-processes. Based on an
25059 earlier reimplementation by Leo Liu, but using tabulated-list.el.
25060 (process-menu-mode): New major mode.
25061 (list-processes--refresh, list-processes):
25062 (process-menu-visit-buffer): New functions.
25063
25064 * files.el (save-buffers-kill-emacs): Don't assume any return
25065 value of list-processes, which is undocumented anyway.
25066
25067 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
25068
25069 * emacs-lisp/tabulated-list.el: New file.
25070
25071 * emacs-lisp/package.el: Use Tabulated List mode.
25072 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
25073 (package-menu-mode): Derive from tabulated-list-mode. Set up the
25074 table format using Tabulated List mode variables.
25075 (package--push): New macro, replacing package-list-maybe-add.
25076 (package-menu--generate): Use package--push. Renamed from
25077 package--generate-package-list.
25078 (package-menu-refresh, list-packages): Use it.
25079 (package-menu--print-info): Rename from package-print-package.
25080 Return insertion data instead of inserting it directly.
25081 (package-menu-describe-package, package-menu-execute):
25082 Use tabulated-list-get-id.
25083 (package-menu-mark-delete, package-menu-mark-install)
25084 (package-menu-mark-unmark, package-menu-backup-unmark)
25085 (package-menu-mark-obsolete-for-deletion):
25086 Use tabulated-list-put-tag.
25087 (package--list-packages, package-menu-revert)
25088 (package-menu-get-package, package-menu-get-version)
25089 (package-menu-sort-by-column): Functions deleted.
25090 (package-menu-package-list, package-menu-sort-key): Vars deleted.
25091 (package-menu--status-predicate, package-menu--version-predicate)
25092 (package-menu--name-predicate)
25093 (package-menu--description-predicate): Handle arguments in the
25094 Tabulated List format.
25095 (package-list-packages-no-fetch): Call list-packages.
25096
25097 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
25098
25099 * files.el (after-find-file-from-revert-buffer): Remove variable.
25100 (after-find-file): Don't bind it.
25101 (revert-buffer-in-progress-p): New variable.
25102 (revert-buffer): Bind it.
25103 Pass nil for `after-find-file-from-revert-buffer'.
25104
25105 * saveplace.el (save-place-find-file-hook): Use new variable
25106 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
25107
25108 2011-04-06 Glenn Morris <rgm@gnu.org>
25109
25110 * Makefile.in (AUTOGEN_VCS): New variable.
25111 (autoloads): Use $AUTOGEN_VCS.
25112
25113 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
25114 * calendar/calendar.el (calendar-mode-map):
25115 Check for toolkit scroll bars. (Bug#8305)
25116
25117 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
25118
25119 * minibuffer.el (completion-in-region--postch)
25120 (completion-in-region-mode): Remove unnecessary messages.
25121
25122 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
25123
25124 * font-lock.el (font-lock-refresh-defaults):
25125 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
25126 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
25127
25128 * info.el (Info-directory-list, Info-read-node-name-2)
25129 (Info-split-parameter-string): Doc fixes.
25130 (Info-virtual-nodes): Reflow docstring.
25131 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
25132 (Info-apropos-toc-nodes, info-finder, Info-get-token)
25133 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
25134 Fix typos in docstrings.
25135 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
25136 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
25137 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
25138 (Info-restore-desktop-buffer): Mark unused parameters.
25139 (Info-directory-find-file, Info-directory-find-node)
25140 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
25141 (Info-virtual-index-find-node, Info-apropos-find-file)
25142 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
25143 Mark unused parameters; fix typos in docstrings.
25144 (Info-virtual-index): Remove unused local variable `nodename'.
25145
25146 2011-04-05 Deniz Dogan <deniz@dogan.se>
25147
25148 * net/rcirc.el: Update my e-mail address.
25149 (rcirc-mode-map): Remove M-o binding.
25150
25151 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
25152
25153 * startup.el (command-line): Save the cursor's theme-face
25154 directly, instead of using face-override-spec.
25155
25156 * custom.el (load-theme): Minor optimization in assigning faces.
25157
25158 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
25159
25160 * help-fns.el (describe-variable): Complete all variables having
25161 documentation, including keywords.
25162 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
25163
25164 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
25165
25166 Convert to lexical-binding.
25167
25168 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
25169 (bs--get-marked-string, bs--get-modified-string)
25170 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
25171 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
25172 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
25173
25174 * ehelp.el (electric-help-execute-extended)
25175 (electric-help-ctrl-x-prefix):
25176 * hexl.el (hexl-revert-buffer-function):
25177 * linum.el (linum-after-change, linum-after-scroll):
25178 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
25179
25180 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
25181
25182 2011-04-04 Daiki Ueno <ueno@unixuser.org>
25183
25184 * epa-dired.el:
25185 * epa-mail.el:
25186 * epa-hook.el:
25187 * epa-file.el:
25188 * epa.el:
25189 * epg.el: Use lexical binding.
25190
25191 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
25192
25193 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
25194
25195 * textmodes/flyspell.el (flyspell-word): Recognize default
25196 dictionary case for flyspell-mark-duplications-exceptions.
25197 Use regexp matching for languages.
25198 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
25199 default dictionary (Bug#7926).
25200
25201 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
25202
25203 * emacs-lisp/package.el (package--with-work-buffer):
25204 Recognize https URLs.
25205
25206 * net/network-stream.el: Move from gnus/proto-stream.el.
25207 Change prefix to network-stream throughout.
25208 (open-protocol-stream): Merge into open-network-stream, leaving
25209 open-protocol-stream as an alias. Handle nil BUFFER args.
25210
25211 * subr.el (open-network-stream): Move to net/network-stream.el.
25212
25213 2011-04-02 Glenn Morris <rgm@gnu.org>
25214
25215 * find-dired.el (find-exec-terminator): New option.
25216 (find-ls-option): Test for -ls support.
25217 (find-ls-subdir-switches): Test for -b in find-ls-option.
25218 (find-dired, find-grep-dired): Doc fixes.
25219 (find-dired): Use find-exec-terminator.
25220
25221 * find-dired.el (find-ls-option, find-ls-subdir-switches)
25222 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
25223 (find-name-arg): Remove purecopy.
25224
25225 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
25226 (grep-compute-defaults): Check for `-exec COMMAND +' support.
25227 Set grep-find-use-xargs, grep-find-command, and grep-find-template
25228 accordingly. Don't add the null-device if not needed.
25229
25230 * files.el (save-some-buffers): Doc fix.
25231
25232 2011-04-02 Eli Zaretskii <eliz@gnu.org>
25233
25234 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
25235
25236 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
25237
25238 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
25239 Use `dolist' rather than `mapcar'.
25240
25241 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
25242
25243 Add lexical binding.
25244
25245 * subr.el (apply-partially): Use new closures rather than CL.
25246 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
25247 (dolist, dotimes): Use slightly different expansion for lexical code.
25248 (functionp): Move to C.
25249 (letrec): New macro.
25250 (with-wrapper-hook): Use it and apply-partially instead of CL.
25251 (eval-after-load): Preserve lexical-binding.
25252 (save-window-excursion, with-output-to-temp-buffer): Turn them
25253 into macros.
25254
25255 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
25256
25257 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
25258 than the arglist.
25259 (help-add-fundoc-usage): Don't add `Not documented'.
25260 (help-function-arglist): Handle closures, subroutines, and new
25261 byte-code-functions.
25262 (help-make-usage): Remove leading underscores.
25263 (describe-function-1): Handle closures.
25264 (describe-variable): Use special-variable-p for completion.
25265
25266 * files.el (lexical-binding): Declare safe.
25267
25268 * emacs-lisp/pcase.el: Don't use destructuring-bind.
25269 (pcase--memoize): Rename from pcase-memoize. Change weakness.
25270 (pcase): Add `let' pattern.
25271 Change memoization so it actually works.
25272 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
25273 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
25274 <let>: New case.
25275
25276 * emacs-lisp/macroexp.el: Use lexical binding.
25277 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
25278 Don't convert ' to #' without checking that it's indeed quoting
25279 a lambda.
25280
25281 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
25282 Use eval-sexp-add-defvars.
25283 (eval-sexp-add-defvars): New fun.
25284
25285 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
25286
25287 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
25288 Don't autoload.
25289 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
25290 than the internal `byte-compile-lambda'.
25291 (defmethod): Don't hide code under quotes.
25292 (eieio-defmethod): New `code' argument.
25293
25294 * emacs-lisp/eieio-comp.el: Remove.
25295
25296 * emacs-lisp/edebug.el (edebug-eval-defun)
25297 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
25298 (edebug-toggle): Avoid `eval'.
25299
25300 * emacs-lisp/disass.el (disassemble-internal): Handle new
25301 `closure' objects.
25302 (disassemble-1): Handle new byte codes.
25303
25304 * emacs-lisp/cl.el (pushnew): Silence warning.
25305
25306 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
25307 (cl-byte-compile-throw): Remove.
25308 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
25309
25310 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
25311 closures.
25312
25313 * emacs-lisp/cconv.el: New file.
25314
25315 * emacs-lisp/bytecomp.el: Use lexical binding instead of
25316 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
25317 (byte-compile-initial-macro-environment):
25318 Handle declare-function here.
25319 (byte-compile--lexical-environment): New var.
25320 (byte-stack-ref, byte-stack-set, byte-discardN)
25321 (byte-discardN-preserve-tos): New lap codes.
25322 (byte-interactive-p): Don't use any more.
25323 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
25324 New macros.
25325 (byte-compile-lapcode): Use them and handle new lap codes.
25326 (byte-compile-obsolete): Remove.
25327 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
25328 (byte-compile-arglist-warn): Check late def of inlinable funs.
25329 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
25330 since they should have been expanded by now.
25331 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
25332 (byte-compile-from-buffer): Remove unused second arg.
25333 (byte-compile-preprocess): New function.
25334 (byte-compile-toplevel-file-form): New function to distinguish
25335 file-form calls from outside from file-form calls from hunk-handlers.
25336 (byte-compile-file-form): Simplify.
25337 (byte-compile-file-form-defsubst): Remove.
25338 (byte-compile-file-form-defmumble): Simplify now that
25339 byte-compile-lambda always returns a byte-code-function.
25340 (byte-compile): Preprocess.
25341 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
25342 Remove, not used any more.
25343 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
25344 (byte-compile-make-args-desc): New funs.
25345 (byte-compile-lambda): Handle lexical functions. Always return
25346 a byte-code-function.
25347 (byte-compile-reserved-constants): New var, to make up room for
25348 closed-over variables.
25349 (byte-compile-constants-vector): Obey it.
25350 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
25351 (byte-compile-macroexpand-declare-function): New function.
25352 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
25353 byte-code-functions.
25354 (byte-compile-form): Check obsolescence here.
25355 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
25356 (byte-compile-variable-ref): Remove.
25357 (byte-compile-dynamic-variable-op): New fun.
25358 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
25359 (byte-compile-variable-set): New funs.
25360 (byte-compile-discard): Add 2 args.
25361 (byte-compile-stack-ref, byte-compile-stack-set)
25362 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
25363 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
25364 macroexpand-all instead.
25365 (byte-compile-quote-form): Remove.
25366 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
25367 (byte-compile-bind, byte-compile-unbind): New funs.
25368 (byte-compile-let): Handle let* and lexical binding.
25369 (byte-compile-let*): Remove.
25370 (byte-compile-catch, byte-compile-unwind-protect)
25371 (byte-compile-track-mouse, byte-compile-condition-case):
25372 Handle a new :fun-body form, used for lexical scoping.
25373 (byte-compile-save-window-excursion)
25374 (byte-compile-with-output-to-temp-buffer): Remove.
25375 (byte-compile-defun): Simplify.
25376 (byte-compile-stack-adjustment): New fun.
25377 (byte-compile-out): Use it.
25378 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
25379
25380 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
25381 handler any more.
25382
25383 * emacs-lisp/byte-opt.el: Use lexical binding.
25384 (byte-inline-lapcode): Remove (to bytecomp).
25385 (byte-compile-inline-expand): Pay attention to inlining to/from
25386 lexically bound code.
25387 (byte-compile-unfold-lambda): Don't handle byte-code-functions
25388 any more.
25389 (byte-optimize-form-code-walker): Don't handle save-window-excursion
25390 any more and don't call compiler-macros.
25391 (byte-compile-splice-in-already-compiled-code): Remove.
25392 (byte-code): Don't inline any more.
25393 (disassemble-offset): Receive `bytes' as argument rather than via
25394 dynamic scoping.
25395 (byte-compile-tag-number): Declare before first use.
25396 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
25397 `return' even if make-spliceable.
25398 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
25399 obsolete interactive-p.
25400 (byte-optimize-lapcode): Optimize new lap-codes.
25401 Don't trip up on new form of `byte-constant' lap code.
25402
25403 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
25404
25405 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
25406
25407 * custom.el (custom-initialize-default, custom-declare-variable):
25408 Use `defvar'.
25409
25410 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
25411 New variables.
25412 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
25413 (COMPILE_FIRST): Add macroexp and cconv.
25414 * makefile.w32-in: Mirror changes in Makefile.in.
25415
25416 * vc/cvs-status.el:
25417 * vc/diff-mode.el:
25418 * vc/log-edit.el:
25419 * vc/log-view.el:
25420 * vc/smerge-mode.el:
25421 * textmodes/bibtex-style.el:
25422 * textmodes/css-mode.el:
25423 * startup.el:
25424 * uniquify.el:
25425 * minibuffer.el:
25426 * newcomment.el:
25427 * reveal.el:
25428 * server.el:
25429 * mpc.el:
25430 * emacs-lisp/smie.el:
25431 * doc-view.el:
25432 * dired.el:
25433 * abbrev.el: Use lexical binding.
25434
25435 2011-04-01 Eli Zaretskii <eliz@gnu.org>
25436
25437 * info.el (info-display-manual): New function.
25438
25439 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
25440
25441 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
25442
25443 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
25444
25445 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
25446 an entry for that server in rcirc-authinfo. (Bug#8385)
25447
25448 2011-03-31 Glenn Morris <rgm@gnu.org>
25449
25450 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
25451
25452 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
25453
25454 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
25455
25456 * progmodes/python.el (python-default-interpreter)
25457 (python-python-command-args, python-jython-command-args)
25458 (python-which-shell, python-which-args, python-which-bufname)
25459 (python-file-queue, python-comint-output-filter-function)
25460 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
25461 variables and functions.
25462
25463 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
25464
25465 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
25466 (completion-in-region-mode): New minor mode.
25467 (completion-in-region): Use it.
25468 (completion-in-region--data, completion-in-region-mode-map): New vars.
25469 (completion-in-region--postch): New function.
25470 (completion--capf-misbehave-funs, completion--capf-safe-funs):
25471 New vars.
25472 (completion--capf-wrapper): New function.
25473 (completion-at-point): Use it to track well-behavedness of
25474 hook functions.
25475 (completion-help-at-point): New command.
25476
25477 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
25478
25479 * vc/add-log.el (add-change-log-entry): Don't use whitespace
25480 syntax class to search for whitespace on a single line
25481 (Message-ID: <4D938140.4030905@redhat.com>).
25482
25483 2011-03-30 Leo Liu <sdl.web@gmail.com>
25484
25485 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
25486 New commands.
25487 (edit-abbrevs-map): Bind them here.
25488 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
25489
25490 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
25491
25492 * allout.el (allout-hide-by-annotation, allout-flag-region):
25493 Reduce possibility of overlay leakage by making them volatile.
25494
25495 * allout-widgets.el (allout-widgets-tally): Define as nil so the
25496 hash is not shared between buffers. Mode initialization is
25497 responsible for giving it a useful starting value.
25498 (allout-item-span): Reduce possibility of overlay leakage by
25499 making them volatile.
25500 (allout-widgets-count-buttons-in-region): Add diagnostic function
25501 for tracking down button overlay leaks.
25502
25503 2011-03-29 Leo Liu <sdl.web@gmail.com>
25504
25505 * ido.el (ido-read-internal): Use the default history var
25506 minibuffer-history if no HISTORY is specified.
25507
25508 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
25509
25510 * net/imap.el (imap-shell-open, imap-process-connection-type):
25511 Use imap-process-connection-type for 'shell' streams as well as
25512 Kerberos, SSL, other subprocesses.
25513
25514 2011-03-28 Leo Liu <sdl.web@gmail.com>
25515
25516 * abbrev.el (abbrev-table-empty-p): New function.
25517 (prepare-abbrev-list-buffer): Place empty abbrev tables after
25518 nonempty ones. (Bug#5937)
25519
25520 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
25521
25522 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
25523
25524 2011-03-27 Leo Liu <sdl.web@gmail.com>
25525
25526 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
25527 for foreground and background colors.
25528 (ansi-color-make-color-map): Adapt.
25529
25530 2011-03-25 Leo Liu <sdl.web@gmail.com>
25531
25532 * midnight.el (midnight-time-float): Remove. Note it calculates
25533 the microsecond component incorrectly and seconds-to-time does the
25534 same job.
25535 Remove redundant (require 'timer).
25536
25537 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
25538 (ido-completions): Remove unused arguments. (Bug#8329)
25539
25540 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
25541
25542 * minibuffer.el (completion--flush-all-sorted-completions):
25543 Remove itself from hook.
25544 (completion-at-point): Let the functions perform the completion
25545 immediately and return nil or t.
25546 * comint.el (comint-dynamic-complete-functions): Now identical to
25547 completion-at-point-functions.
25548 (comint-dynamic-list-input-ring): Remove unused var `index'.
25549 (comint--match-partial-filename, comint--unquote&expand-filename):
25550 New funs, split from comint-match-partial-filename.
25551 (comint-dynamic-complete): Use completion-at-point.
25552 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
25553
25554 2011-03-24 Drew Adams <drew.adams@oracle.com>
25555
25556 * thingatpt.el: Support `defun'.
25557
25558 2011-03-23 Leo Liu <sdl.web@gmail.com>
25559
25560 * abbrevlist.el: Move to obsolete/abbrevlist.el.
25561
25562 * help-mode.el (help-mode-finish): Tweak regexp.
25563
25564 2011-03-23 Glenn Morris <rgm@gnu.org>
25565
25566 * eshell/esh-opt.el (eshell-eval-using-options):
25567 Do not bind unused local variable `eshell-option-stub'.
25568
25569 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
25570
25571 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
25572
25573 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
25574 keymap variable in `with-no-warnings' to avoid a warning when the
25575 keymap has been already `defconst'ed.
25576
25577 2011-03-22 Leo Liu <sdl.web@gmail.com>
25578
25579 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
25580 encode all chars in abbrevs; otherwise use emacs-mule or
25581 utf-8-emacs. (Bug#8308)
25582
25583 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
25584
25585 * simple.el (backward-delete-char-untabify):
25586 Avoid warning about using `delete-backward-char'.
25587
25588 * image.el (image-type-file-name-regexps): Make it variable.
25589 `imagemagick-register-types' modifies it, and the user may want
25590 to add new extensions for known image types.
25591 (imagemagick-register-types): Throw error if not using ImageMagick.
25592
25593 2011-03-22 Leo Liu <sdl.web@gmail.com>
25594
25595 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
25596 located before rcirc-prompt-end-marker.
25597 (rcirc-complete): Error if point is not after rcirc prompt.
25598 Handle the case when table is nil.
25599 (rcirc-user-authenticated): Define to fix compiler warning.
25600
25601 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
25602
25603 * custom.el (custom--inhibit-theme-enable): Make it affect only
25604 custom-theme-set-variables and custom-theme-set-faces.
25605 (provide-theme): Ignore custom--inhibit-theme-enable.
25606 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
25607 (custom-enabling-themes): Delete variable.
25608 (enable-theme): Accept only loaded themes as arguments.
25609 Ignore the special custom-enabled-themes variable.
25610 (custom-enabled-themes): Forbid themes from setting this.
25611 Eliminate use of custom-enabling-themes.
25612 (custom-push-theme): Quote "changed" custom var entry.
25613
25614 2011-03-21 Leo Liu <sdl.web@gmail.com>
25615
25616 * ido.el (ido-read-internal): Add ido-selected to history instead
25617 of user input.
25618
25619 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
25620
25621 * subr.el (deferred-action-list, deferred-action-function):
25622 Mark obsolete.
25623
25624 2011-03-21 Leo Liu <sdl.web@gmail.com>
25625
25626 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
25627 change on 2011-02-13 (bug#8309).
25628
25629 * minibuffer.el (read-file-name-function): Change default value.
25630 (read-file-name--defaults): Rename from read-file-name-defaults.
25631 (read-file-name-default): Rename from read-file-name.
25632 (read-file-name): Call read-file-name-function.
25633
25634 2011-03-21 Glenn Morris <rgm@gnu.org>
25635
25636 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
25637 Doc fixes.
25638
25639 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
25640
25641 * cus-theme.el: Add missing provide statement.
25642 (customize-create-theme): Extract theme value correctly.
25643 (custom-theme-visit-theme): Autoload.
25644 (customize-create-theme): Prompt before inserting default faces.
25645
25646 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
25647
25648 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
25649 units and musical notes.
25650
25651 2011-03-20 Leo Liu <sdl.web@gmail.com>
25652
25653 * ido.el (ido-read-internal): Use completing-read-default.
25654 (ido-completing-read): Fix compatibility with completing-read.
25655
25656 2011-03-20 Christian Ohler <ohler@gnu.org>
25657
25658 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
25659 (ert-delete-all-tests): Use `called-interactively-p' rather than
25660 `interactive-p'.
25661 (ert--make-xrefs-region): Respect END.
25662
25663 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
25664
25665 * dired-aux.el (dired-create-directory): Signal an error if the
25666 directory already exists (Bug#8246).
25667
25668 * facemenu.el (list-colors-display): Call list-faces-display
25669 inside with-help-window.
25670 (list-colors-print): Use display property to align the final
25671 column, instead of checking window-width.
25672
25673 2011-03-19 Eli Zaretskii <eliz@gnu.org>
25674
25675 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
25676 windows-nt systems.
25677 (emerge-protect-metachars): Quote correctly for ms-dos and
25678 windows-nt systems.
25679
25680 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
25681
25682 * info.el (info-initialize): Replace all uses of `:' with
25683 path-separator for compatibility with non-Unix systems.
25684 Cache quoting of path-separator. (Bug#8258)
25685
25686 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
25687
25688 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
25689 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
25690 (mouse-avoidance-mode): Fix typos in docstrings.
25691
25692 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
25693
25694 * startup.el (package-subdirectory-regexp): Move from package.el.
25695 Omit \\` and \\', and let callers add them.
25696
25697 * emacs-lisp/package.el (package-strip-version)
25698 (package-load-all-descriptors): Add \\` and \\' to
25699 package-subdirectory-regexp before using it.
25700 (package-untar-buffer): New arg DIR; ensure that file untars only
25701 into this expected directory. Remove superfluous delete-region.
25702 (package-unpack): Caller changed.
25703 (package-tar-file-info): Use package-subdirectory-regexp.
25704
25705 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
25706
25707 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
25708 diff-mode-shared-map (bug#8284).
25709 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
25710
25711 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
25712
25713 * calendar/time-date.el (format-seconds): Use assoc instead of
25714 assoc-string, since assoc-string doesn't exist in XEmacs.
25715
25716 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
25717
25718 * custom.el (custom-known-themes): Reflow docstring.
25719 (custom-theme-load-path): Fix typo in docstring.
25720 (load-theme): Fix typo in error message.
25721 (custom-available-themes, custom-variable-theme-value):
25722 Use `let', not `let*'.
25723
25724 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
25725
25726 * calc/README: Mention inclusion of musical notes.
25727
25728 * calc/calc-units.el (calc-lu-quant): Rename from
25729 `calc-logunits-quantity'.
25730 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
25731 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
25732 (calc-db): Rename from `calc-dblevel'.
25733 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
25734 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
25735 (calc-np): Rename from `calc-nplevel'.
25736 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
25737 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
25738 (calc-lu-plus): Rename from `calc-logunits-add'.
25739 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
25740 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
25741 (calc-lu-minus): Rename from `calc-logunits-sub'.
25742 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
25743 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
25744 (calc-lu-times): Rename from `calc-logunits-mul'.
25745 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
25746 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
25747 (calc-lu-divide): Rename from `calc-logunits-div'.
25748 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
25749 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
25750
25751 * calc/calc-ext.el (calc-init-extensions): Update the names of the
25752 functions being autoloaded.
25753
25754 * calc/calc.el (calc-lu-power-reference): Rename from
25755 `calc-logunits-power-reference'.
25756 (calc-lu-field-reference): Rename from
25757 `calc-logunits-field-reference'.
25758
25759 * calc/calc-help.el (calc-l-prefix-help):
25760 Mention musical note functions.
25761
25762 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
25763
25764 * minibuffer.el (completion-all-sorted-completions):
25765 Use :completion-cycle-penalty text property if present.
25766
25767 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
25768
25769 * allout.el (allout-yank-processing): Adjust for new rebulleting
25770 regime so bullet being yanked is used without prompting the user
25771 for a choice.
25772
25773 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
25774
25775 * startup.el (command-line): Warn the user that _emacs is deprecated.
25776
25777 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
25778
25779 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
25780 (delphi-verbose, delphi-comment-face, delphi-string-face)
25781 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
25782 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
25783 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
25784 (delphi-new-comment-line, delphi-font-lock-defaults)
25785 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
25786 Fix typos in docstrings.
25787
25788 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
25789
25790 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
25791 Invert the roles of character and string values for INSTEAD, so a
25792 string is used for the more common case of a defaulting prompt.
25793
25794 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
25795
25796 * progmodes/ruby-mode.el (ruby-backward-sexp):
25797 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
25798 * play/gamegrid.el (gamegrid-make-face):
25799 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
25800 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
25801 * notifications.el (notifications-notify):
25802 * net/xesam.el (xesam-search-engines):
25803 * net/quickurl.el (quickurl-list-insert):
25804 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
25805
25806 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
25807
25808 * startup.el (command-line): Update package subdirectory regexp.
25809
25810 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
25811
25812 * allout.el (allout-abbreviate-flattened-numbering)
25813 (allout-mode-deactivate-hook): Fix up obsolescence "date".
25814
25815 * subr.el (read-char-choice): Only show the cursor after the prompt,
25816 not after the answer.
25817
25818 2011-03-15 Kevin Ryde <user42@zip.com.au>
25819
25820 * help-fns.el (variable-at-point): Skip leading quotes, if any
25821 (bug#8253).
25822
25823 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
25824
25825 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
25826 warning message.
25827
25828 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
25829
25830 * shell.el (shell): When called interactively, offer to change the
25831 shell file name on remote hosts.
25832
25833 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
25834
25835 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
25836 integration for LDAP parameters. The host, base, user or binddn,
25837 and secret tokens can be specified in a netrc file, for instance.
25838 This is optional because an `auth-source' parameter must be
25839 specified in the search attributes.
25840
25841 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
25842
25843 * help.el (describe-mode): Link to the mode's definition (bug#8185).
25844
25845 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
25846
25847 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
25848 into declaration. Remove redundant and harmful binding.
25849
25850 2011-03-12 Eli Zaretskii <eliz@gnu.org>
25851
25852 * files.el (file-ownership-preserved-p): Pass `integer' as an
25853 explicit 2nd argument to `file-attributes'. If the file's owner
25854 is the Administrators group on Windows, and the current user is
25855 Administrator, consider that a match.
25856
25857 * server.el (server-ensure-safe-dir): Consider server directory
25858 safe on MS-Windows if its owner is the Administrators group while
25859 the current Emacs user is Administrator. Use `=' to compare
25860 numerical UIDs, since they could be integers or floats.
25861
25862 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
25863
25864 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
25865
25866 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
25867
25868 Sync with Tramp 2.2.1.
25869
25870 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
25871
25872 * net/trampver.el: Update release number.
25873
25874 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
25875
25876 * progmodes/compile.el (compilation--previous-directory): Fix up
25877 various nil/dead-marker mismatches (bug#8014).
25878 (compilation-directory-properties, compilation-error-properties):
25879 Don't call it at a position past the one we're about to change.
25880
25881 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
25882 Disable obsolescence warnings in the file that declares it.
25883
25884 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
25885
25886 * allout-widgets.el (allout-widgets-tally):
25887 Initialize allout-widgets-tally as a hash table rather than nil to
25888 prevent mode-line redisplay warnings. Also, clarify the module
25889 description and fix a comment typo.
25890
25891 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
25892
25893 * help-fns.el (describe-variable): Don't complete keywords.
25894 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
25895
25896 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
25897
25898 * emacs-lisp/package.el (package-version-join): Impose a standard
25899 string representation for pre/alpha/beta version lists.
25900 (package-unpack-single): Standardize the directory name by passing
25901 it through package-version-join.
25902 (package-strip-rcs-id): Accept any version string that does not
25903 signal an error in version-to-list.
25904
25905 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
25906
25907 * simple.el (delete-trailing-whitespace): Return nil for the
25908 benefit of `write-file-functions'.
25909
25910 2011-03-10 Glenn Morris <rgm@gnu.org>
25911
25912 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
25913
25914 * vc/vc-git.el (vc-git-program): New option.
25915 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
25916 (vc-git--call): Use it.
25917
25918 * eshell/esh-util.el (eshell-condition-case): Doc fix.
25919
25920 * cus-edit.el (Custom-newline): If no button at point, look
25921 for a subgroup button at start-of-line. (Bug#2298)
25922
25923 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
25924
25925 2011-03-10 Julien Danjou <julien@danjou.info>
25926
25927 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
25928 `cursor-type' is nil.
25929
25930 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
25931
25932 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
25933
25934 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
25935
25936 * allout.el: Change so yank of distinctive-bullet items
25937 preserves the existing header prefix, rebulleting it if necessary,
25938 rather than replacing it. This is necessary for proper operation
25939 of cooperative addons like allout-widgets.
25940 (allout-make-topic-prefix, allout-rebullet-heading):
25941 Change SOLICIT arg to INSTEAD, and interpret additionally a string
25942 value as alternate bullet to be used, instead of prompting the user
25943 for a bullet character.
25944
25945 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
25946
25947 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
25948 Do not use `tramp-file-name-port', because this returns also
25949 `tramp-default-port'.
25950
25951 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
25952
25953 * net/rcirc.el (rcirc-handler-001): Remove useless
25954 with-rcirc-process-buffer.
25955 (rcirc-check-auth-status): Swap arguments to string-match.
25956
25957 2011-03-09 Glenn Morris <rgm@gnu.org>
25958
25959 * shell.el (shell-mode):
25960 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
25961
25962 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
25963 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
25964
25965 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
25966
25967 * emacs-lisp/package.el (package-refresh-contents)
25968 (package-menu-execute): Use condition-case-no-debug.
25969
25970 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
25971
25972 * simple.el (shell-command-to-string): Use `process-file'.
25973
25974 * emacs-lisp/package.el (package-tar-file-info): Handle also
25975 remote files.
25976
25977 * emacs-lisp/package-x.el (package-upload-buffer-internal):
25978 Use `equal' for upload base check.
25979
25980 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
25981
25982 * textmodes/texinfo.el (texinfo-environments):
25983 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
25984
25985 2011-03-08 Glenn Morris <rgm@gnu.org>
25986
25987 * cus-start.el (cursor-in-non-selected-windows):
25988 Fix :set quoting oddness. (Bug#8192)
25989
25990 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
25991 in some setf expressions. (Bug#2159)
25992
25993 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
25994
25995 * custom.el (custom-available-themes): Return themes in
25996 alphabetical order.
25997
25998 See ChangeLog.15 for earlier changes.
25999
26000 ;; Local Variables:
26001 ;; coding: utf-8
26002 ;; End:
26003
26004 Copyright (C) 2011-2013 Free Software Foundation, Inc.
26005
26006 This file is part of GNU Emacs.
26007
26008 GNU Emacs is free software: you can redistribute it and/or modify
26009 it under the terms of the GNU General Public License as published by
26010 the Free Software Foundation, either version 3 of the License, or
26011 (at your option) any later version.
26012
26013 GNU Emacs is distributed in the hope that it will be useful,
26014 but WITHOUT ANY WARRANTY; without even the implied warranty of
26015 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
26016 GNU General Public License for more details.
26017
26018 You should have received a copy of the GNU General Public License
26019 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.