New defun movement commands.
[bpt/emacs.git] / lisp / ChangeLog
1 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
2
3 New defun movement commands.
4 * progmodes/python.el (python-nav--syntactically)
5 (python-nav--forward-defun, python-nav-backward-defun)
6 (python-nav-forward-defun): New functions.
7
8 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
9
10 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
11 (python-syntax-context): Use named compiler-macro for backwards
12 compatibility with Emacs 24.x.
13
14 2013-04-17 Leo Liu <sdl.web@gmail.com>
15
16 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
17 octave-hide-process-buffer.
18
19 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
20
21 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
22 (bug#14216).
23
24 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
25
26 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
27 Fix adjustment of offset when receiving incomplete responses from GDB
28 (bug#14129).
29
30 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
31
32 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
33 python-mode-abbrev-table.
34 (python-skeleton-define): Adjust accordingly.
35 (python-mode-abbrev-table): New table that inherits from it so that
36 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
37
38 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
39 (abbrev-symbol): Use it.
40 (abbrev--before-point): Use it since we already handle inheritance.
41
42 2013-04-16 Leo Liu <sdl.web@gmail.com>
43
44 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
45 binding to info-lookup-symbol.
46
47 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
48
49 * minibuffer.el (completion--twq-all):
50 * term/ns-win.el (ns-initialize-window-system):
51 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
52
53 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
54
55 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
56 global bindings.
57
58 * doc-view.el (doc-view-start-process): Handle url-handler directories.
59
60 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
61
62 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
63 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
64 to nil.
65 (ruby-end-of-defun): Remove the unused arg, change the docstring
66 to reflect that this function is only used as the value of
67 `end-of-defun-function'.
68 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
69 to reflect an earlier change that beginning/end-of-defun functions
70 jump between methods in a class definition, as well as top-level
71 functions.
72
73 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
74
75 * minibuffer.el (minibuffer-complete): Don't just scroll
76 a *Completions* that's been iconified.
77 (minibuffer-force-complete): Make sure repetitions do cycle when going
78 through completion-in-region -> minibuffer-complete.
79
80 2013-04-15 Alan Mackenzie <acm@muc.de>
81
82 Correct the placement of c-cpp-delimiters when there're #s not at
83 col 0.
84
85 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
86 place a submatch around the #.
87 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
88 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
89 on the #, not BOL.
90
91 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
92
93 * emacs-lisp/nadvice.el: Properly test names when adding advice.
94 (advice--member-p): New arg `name'.
95 (advice--add-function, advice-member-p): Use it (bug#14202).
96
97 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
98
99 Reformulate java imenu-generic-expression.
100 The old expression contained ill formed regexps.
101
102 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
103 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
104 (cc-imenu-java-method-arg-regexp): New defconsts.
105 (cc-imenu-java-build-type-args-regex): New defun.
106 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
107 handling of spaces in the regexp.
108
109 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
110
111 * textmodes/ispell.el (ispell-command-loop): Remove
112 flyspell highlight of a word when ispell accepts it (bug #14178).
113
114 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
115
116 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
117 uses code from the previous `ange-ftp-run-real-handler'.
118 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
119 only in case that function exist. This is needed for proper
120 unloading of Tramp.
121
122 2013-04-15 Tassilo Horn <tsdh@gnu.org>
123
124 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
125
126 * textmodes/reftex.el (reftex-compile-variables): Use it.
127
128 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
129
130 * files.el (normal-mode): Only use default major-mode if no other mode
131 was specified.
132
133 * emacs-lisp/trace.el (trace-values): New function.
134
135 * files.el: Allow : in local variables (bug#14089).
136 (hack-local-variable-regexp): New var.
137 (hack-local-variables-prop-line, hack-local-variables): Use it.
138
139 2013-04-13 Roland Winkler <winkler@gnu.org>
140
141 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
142 data before it gets modified by bibtex-beginning-of-entry.
143
144 2013-04-13 Roland Winkler <winkler@gnu.org>
145
146 * textmodes/bibtex.el (bibtex-url): Doc fix.
147
148 2013-04-13 Roland Winkler <winkler@gnu.org>
149
150 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
151 does not visit a BibTeX file, exclude it from the list of buffers
152 returned by bibtex-initialize.
153
154 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
155
156 * window.el (split-window): Remove interactive form, since as a
157 command this function is a special case of split-window-below.
158 Correct doc string.
159
160 2013-04-12 Roland Winkler <winkler@gnu.org>
161
162 * faces.el (read-face-name): Do not override value of arg default.
163 Allow single faces and strings as default values. Remove those
164 elements from return value that are not faces.
165 (describe-face): Simplify.
166 (face-at-point): New optional args thing and multiple so that this
167 function can provide the same functionality previously provided by
168 read-face-name.
169 (make-face-bold, make-face-unbold, make-face-italic)
170 (make-face-unitalic, make-face-bold-italic, invert-face)
171 (modify-face, read-face-and-attribute): Use face-at-point.
172
173 * cus-edit.el (customize-face, customize-face-other-window)
174 * cus-theme.el (custom-theme-add-face)
175 * face-remap.el (buffer-face-set)
176 * facemenu.el (facemenu-set-face): Use face-at-point.
177
178 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
179
180 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
181
182 2013-04-10 Tassilo Horn <tsdh@gnu.org>
183
184 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
185 off leading { and trailing } from field values.
186
187 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
188
189 * emacs-lisp/timer.el (timer--check): New function.
190 (timer--time, timer-set-function, timer-event-handler): Use it.
191 (timer-set-idle-time): Simplify.
192 (timer--activate): CSE.
193 (timer-event-handler): Give more info in error message.
194 (internal-timer-start-idle): New function, moved from C.
195
196 * mpc.el (mpc-proc): Add `restart' argument.
197 (mpc-proc-cmd): Use it.
198 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
199 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
200 less often.
201
202 2013-04-10 Masatake YAMATO <yamato@redhat.com>
203
204 * progmodes/sh-script.el: Implement `sh-mode' own
205 `add-log-current-defun-function' (bug#14112).
206 (sh-current-defun-name): New function.
207 (sh-mode): Use the function.
208
209 2013-04-09 Bastien Guerry <bzg@gnu.org>
210
211 * simple.el (choose-completion-string): Fix docstring (bug#14163).
212
213 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
214
215 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
216
217 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
218 timer (bug#14156).
219
220 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
221
222 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
223 declaration.
224
225 2013-04-07 Leo Liu <sdl.web@gmail.com>
226
227 * pcmpl-x.el: New file.
228
229 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
230
231 Do not set x-display-name until X connection is established.
232 This is needed to prevent from weird situation described at
233 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
234 * frame.el (make-frame): Set x-display-name after call to
235 window system initialization function, not before.
236 * term/x-win.el (x-initialize-window-system): Add optional
237 display argument and use it.
238 * term/w32-win.el (w32-initialize-window-system):
239 * term/ns-win.el (ns-initialize-window-system):
240 * term/pc-win.el (msdos-initialize-window-system):
241 Add compatible optional display argument.
242
243 2013-04-06 Eli Zaretskii <eliz@gnu.org>
244
245 * files.el (normal-backup-enable-predicate): On MS-Windows and
246 MS-DOS compare truenames of temporary-file-directory and of the
247 file, so that 8+3 aliases (usually found in $TEMP on Windows)
248 don't fail comparison by compare-strings. Also, compare file
249 names case-insensitively on MS-Windows and MS-DOS.
250
251 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
252
253 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
254 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
255
256 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
257
258 * whitespace.el (whitespace-color-on, whitespace-color-off):
259 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
260
261 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
262
263 * ispell.el (ispell-set-spellchecker-params):
264 Really set `ispell-args' for all equivs.
265
266 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
267
268 * ido.el (ido-completions): Use extra elements of ido-decorations
269 (bug#14143).
270 (ido-decorations): Update docstring.
271
272 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
273
274 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
275 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
276 nil during initialization, in order not to miss changes since the
277 file was opened. (Bug#14140)
278
279 2013-04-05 Leo Liu <sdl.web@gmail.com>
280
281 * kmacro.el (kmacro-call-macro): Fix bug#14135.
282
283 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
284
285 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
286
287 2013-04-04 Glenn Morris <rgm@gnu.org>
288
289 * electric.el (electric-pair-inhibit-predicate): Add :version.
290
291 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
292
293 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
294 when a package is required several times (bug#14082).
295
296 2013-04-04 Roland Winkler <winkler@gnu.org>
297
298 * faces.el (read-face-name): Behave as promised by the docstring.
299 Assume that arg default is a list of faces.
300 (describe-face): Call read-face-name with list of default faces.
301
302 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
303
304 * bookmark.el: Fix deletion of bookmarks (bug#13972).
305 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
306 (bookmark-bmenu-execute-deletions): Only skip first line if it's
307 the header.
308 (bookmark-exit-hook-internal): Save even if list is empty.
309
310 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
311
312 * emacs-lisp/package.el (package-pinned-packages): New var.
313 (package--add-to-archive-contents): Obey it (bug#14118).
314
315 2013-04-03 Alan Mackenzie <acm@muc.de>
316
317 Handle `parse-partial-sexp' landing inside a comment opener
318 (Bug#13244). Also adapt to the new values of element 7 of a parse
319 state.
320
321 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
322 parameter `not-in-delimiter'. Handle being inside comment opener.
323 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
324 character in case we're typing a '*' after a '/'.
325 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
326 instead by passing the parameter to c-state-pp-to-literal.
327
328 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
329 for elt. 7 of a parse state.
330
331 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
332
333 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
334 * international/latin1-disp.el, international/mule-util.el:
335 * language/cyril-util.el, language/european.el, language/ind-util.el:
336 * language/lao-util.el, language/thai.el, language/tibet-util.el:
337 * language/tibetan.el, language/viet-util.el:
338 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
339
340 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
341
342 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
343 (electric-pair-post-self-insert-function): Use it.
344 (electric-pair-default-inhibit): New function, extracted from
345 electric-pair-post-self-insert-function.
346
347 2013-03-31 Roland Winkler <winkler@gnu.org>
348
349 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
350
351 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
352
353 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
354
355 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
356
357 Un-indent after "pass" and "return" statements (Bug#13888)
358 * progmodes/python.el (python-indent-block-enders): New var.
359 (python-indent-calculate-indentation): Use it.
360
361 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
362
363 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
364 defun. Defining it as defalias could introduce too eager
365 byte-compiler optimization. (Bug#14030)
366
367 2013-03-30 Chong Yidong <cyd@gnu.org>
368
369 * iswitchb.el (iswitchb-read-buffer): Fix typo.
370
371 2013-03-30 Leo Liu <sdl.web@gmail.com>
372
373 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
374 (kmacro-execute-from-register): Pass the keyboard macro to
375 kmacro-call-macro or repeating won't work correctly.
376
377 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
378
379 * progmodes/subword.el: Back to using `forward-symbol'.
380
381 * subr.el (forward-whitespace, forward-symbol)
382 (forward-same-syntax): Move from thingatpt.el.
383
384 2013-03-29 Leo Liu <sdl.web@gmail.com>
385
386 * kmacro.el (kmacro-to-register): New command.
387 (kmacro-execute-from-register): New function.
388 (kmacro-keymap): Bind to 'x'. (Bug#14071)
389
390 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
391
392 * mpc.el: Use defvar-local and setq-local.
393 (mpc--proc-connect): Connection failures are not bugs.
394 (mpc-mode-map): `follow-link' only applies to the buffer's content.
395 (mpc-volume-map): Bind to the up-events.
396
397 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
398
399 * progmodes/subword.el (superword-mode): Use `forward-sexp'
400 instead of `forward-symbol'.
401
402 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
403
404 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
405 (edebug--recursive-edit): Use it.
406 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
407 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
408
409 2013-03-28 Leo Liu <sdl.web@gmail.com>
410
411 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
412
413 2013-03-27 Eli Zaretskii <eliz@gnu.org>
414
415 * facemenu.el (list-colors-callback): New defvar.
416 (list-colors-redisplay): New function.
417 (list-colors-display): Install list-colors-redisplay as the
418 revert-buffer-function. (Bug#14063)
419
420 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
421
422 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
423 and suffixes don't overlap (bug#14061).
424
425 * case-table.el: Use lexical-binding.
426 (case-table-get-table): New function.
427 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
428
429 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
430
431 * progmodes/subword.el: Add `superword-mode' to do word motion
432 over symbol_words (parallels and leverages `subword-mode' which
433 does word motion inside MixedCaseWords).
434
435 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
436
437 * eshell/em-unix.el: Move su and sudo to...
438 * eshell/em-tramp.el: ...Eshell tramp module.
439
440 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
441
442 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
443 Change return value to be a sexp. Delay `get-buffer' to after
444 restoring the desktop (bug#13951).
445
446 2013-03-26 Leo Liu <sdl.web@gmail.com>
447
448 * register.el: Move semantic tag handling back to
449 cedet/semantic/senator.el. (Bug#14052)
450
451 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
452
453 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
454 into the prompt either (bug#13963).
455
456 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
457
458 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
459 part of "(error-foo)".
460
461 2013-03-24 Juri Linkov <juri@jurta.org>
462
463 * replace.el (list-matching-lines-prefix-face): New defcustom.
464 (occur-1): Pass `list-matching-lines-prefix-face' to the function
465 `occur-engine' if `face-differs-from-default-p' returns t.
466 (occur-engine): Add `,' inside backquote construct to evaluate
467 `prefix-face'. Propertize the prefix with the `prefix-face' face.
468 Pass `prefix-face' to the functions `occur-context-lines' and
469 `occur-engine-add-prefix'.
470 (occur-engine-add-prefix, occur-context-lines): Add optional arg
471 `prefix-face' and propertize the prefix with `prefix-face'.
472 (Bug#14017)
473
474 2013-03-24 Leo Liu <sdl.web@gmail.com>
475
476 * nxml/rng-valid.el (rng-validate-while-idle)
477 (rng-validate-quick-while-idle): Guard against deleted buffer.
478 (Bug#13999)
479
480 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
481 is the last entry in kill-buffer-hook.
482
483 * files.el (kill-buffer-hook): Doc fix.
484
485 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
486
487 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
488 Make it safe-local.
489
490 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
491
492 2013-03-23 Leo Liu <sdl.web@gmail.com>
493
494 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
495 Remove.
496
497 * nxml/rng-valid.el (rng-validate-mode)
498 (rng-after-change-function, rng-do-some-validation):
499 * nxml/rng-maint.el (rng-validate-buffer):
500 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
501 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
502 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
503 (nxml-extend-after-change-region): Use with-silent-modifications.
504
505 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
506 timer-idle-list.
507
508 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
509 (rng-next-error-1, rng-previous-error-1): Do not let-bind
510 timer-idle-list. (Bug#13999)
511
512 2013-03-23 Juri Linkov <juri@jurta.org>
513
514 * info.el (info-index-match): New face.
515 (Info-index, Info-apropos-matches): Add a nested subgroup to the
516 main pattern and add text properties with the new face to matches
517 in index entries relative to the beginning of the index entry.
518 (Bug#14015)
519
520 2013-03-21 Eric Ludlam <zappo@gnu.org>
521
522 * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots):
523 Inhibit read only while inserting objects.
524
525 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
526
527 * progmodes/cfengine.el: Update docs to mention
528 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
529 symbol motion. Remove "_" from the word syntax.
530
531 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
532
533 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
534 syntax for both `cfengine2-mode' and `cfengine3-mode'.
535
536 2013-03-20 Juri Linkov <juri@jurta.org>
537
538 * info.el (Info-next-reference-or-link)
539 (Info-prev-reference-or-link): New functions.
540 (Info-next-reference, Info-prev-reference): Use them.
541 (Info-try-follow-nearest-node): Handle footnote navigation.
542 (Info-fontify-node): Fontify footnotes. (Bug#13989)
543
544 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
545
546 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
547 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
548
549 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
550
551 Suppress unnecessary non-ASCII chatter during build process.
552 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
553 (batch-skkdic-convert): Suppress most of the chatter.
554 It's not needed so much now that machines are faster,
555 and its non-ASCII component was confusing; see Dmitry Gutov in
556 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
557
558 2013-03-20 Leo Liu <sdl.web@gmail.com>
559
560 * ido.el (ido-chop): Fix bug#10994.
561
562 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
563
564 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
565 Remove vars.
566 (whitespace-color-on, whitespace-color-off):
567 Use `font-lock-fontify-buffer' (Bug#13817).
568
569 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
570
571 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
572 remapping in mode-line.
573 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
574
575 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
576
577 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
578 value for `whitespace-line' face (Bug#13875).
579 (whitespace-font-lock-keywords): Change description.
580 (whitespace-color-on): Don't save `font-lock-keywords' value, save
581 the constructed keywords instead.
582 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
583
584 2013-03-19 Leo Liu <sdl.web@gmail.com>
585
586 * progmodes/compile.el (compilation-display-error): New command.
587 (compilation-mode-map, compilation-minor-mode-map): Bind it to
588 C-o. (Bug#13992)
589
590 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
591
592 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
593
594 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
595
596 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
597
598 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
599
600 * net/tramp-compat.el (tramp-compat-user-error): New defun.
601
602 * net/tramp-adb.el (tramp-adb-handle-shell-command):
603 * net/tramp-gvfs.el (top):
604 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
605 (tramp-handle-shell-command): Use it.
606 (tramp-dissect-file-name): Raise an error when hostname is a
607 method name, and neither method nor user is specified.
608
609 * net/trampver.el: Update release number.
610
611 2013-03-18 Leo Liu <sdl.web@gmail.com>
612
613 Make sure eldoc can be turned off properly.
614 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
615 eldoc-mode.
616 (eldoc-display-message-p): Revert last change.
617 (eldoc-display-message-no-interference-p)
618 (eldoc-print-current-symbol-info): Tweak.
619
620 2013-03-18 Tassilo Horn <tsdh@gnu.org>
621
622 * doc-view.el (doc-view-new-window-function): Check the new window
623 overlay's display property instead the char property of the
624 buffer's first char. Use `with-selected-window' instead of
625 `save-window-excursion' with `select-window'.
626 (doc-view-document->bitmap): Check the current doc-view overlay's
627 display property instead the char property of the buffer's first char.
628
629 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
630
631 Automate the build of ja-dic.el (Bug#13984).
632 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
633 from the input, rather than assume that it's been done for us by the
634 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
635 the current date into a ja-dic.el comment, as that complicates
636 regression testing.
637
638 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
639
640 * whitespace.el: Fix double evaluation.
641 (whitespace-space, whitespace-hspace, whitespace-tab)
642 (whitespace-newline, whitespace-trailing, whitespace-line)
643 (whitespace-space-before-tab, whitespace-indentation)
644 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
645 obsolete defvars.
646 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
647 (whitespace-color-on): Use a single font-lock-add-keywords call.
648 Fix double-evaluation of face variables.
649
650 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
651
652 * net/tramp-adb.el (tramp-adb-parse-device-names):
653 Use `start-process' instead of `call-process'. Otherwise, the
654 function might be blocked under MS Windows. (Bug#13299)
655
656 2013-03-17 Leo Liu <sdl.web@gmail.com>
657
658 Extend eldoc to display info in the mode-line. (Bug#13978)
659 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
660 (eldoc-mode-line-string): New variable.
661 (eldoc-minibuffer-message): New function.
662 (eldoc-message-function): New variable.
663 (eldoc-message): Use it.
664 (eldoc-display-message-p)
665 (eldoc-display-message-no-interference-p):
666 Support eldoc-post-insert-mode.
667
668 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
669 (eval-expression): Run it.
670
671 2013-03-17 Roland Winkler <winkler@gnu.org>
672
673 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
674 strings in the list of return values.
675
676 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
677
678 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
679 radix before checking for HMS forms.
680
681 2013-03-16 Leo Liu <sdl.web@gmail.com>
682
683 * progmodes/scheme.el: Add indentation and font-locking for λ.
684 (Bug#13975)
685
686 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
687
688 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
689 token before point (bug#13942).
690
691 2013-03-16 Leo Liu <sdl.web@gmail.com>
692
693 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
694
695 2013-03-16 Eli Zaretskii <eliz@gnu.org>
696
697 * startup.el (command-line-normalize-file-name): Fix handling of
698 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
699 <xfq.free@gmail.com> in
700 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
701
702 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
703
704 Sync with Tramp 2.2.7.
705
706 * net/trampver.el: Update release number.
707
708 2013-03-14 Tassilo Horn <tsdh@gnu.org>
709
710 * doc-view.el Fix bug#13887.
711 (doc-view-insert-image): Don't modify overlay associated to
712 non-live windows, and implement horizontal centering of image in
713 case it's smaller than the window.
714 (doc-view-new-window-function): Force redisplay of new windows on
715 doc-view buffers.
716
717 2013-03-13 Karl Fogel <kfogel@red-bean.com>
718
719 * saveplace.el (save-place-alist-to-file): Don't sort
720 `save-place-alist', just pretty-print it (bug#13882).
721
722 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
723
724 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Check,
725 whether `default-file-name-coding-system' is bound. It isn't in
726 XEmacs.
727
728 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
729
730 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
731 backquotes for `obsolete' (bug#13929).
732
733 * international/mule.el (find-auto-coding): Include file name in
734 obsolescence warning (bug#13922).
735
736 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
737
738 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
739 for CFEngine 3-specific indentation.
740 (cfengine3-indent-line): Use it. Fix up category regex.
741 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
742
743 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
744
745 * type-break.el (type-break-file-name):
746 * textmodes/remember.el (remember-data-file):
747 * strokes.el (strokes-file):
748 * shadowfile.el (shadow-initialize):
749 * saveplace.el (save-place-file):
750 * ps-bdf.el (bdf-cache-file):
751 * progmodes/idlwave.el (idlwave-config-directory):
752 * net/quickurl.el (quickurl-url-file):
753 * international/kkc.el (kkc-init-file-name):
754 * ido.el (ido-save-directory-list-file):
755 * emulation/viper.el (viper-custom-file-name):
756 * emulation/vip.el (vip-startup-file):
757 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
758 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
759
760 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
761
762 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
763 * language/thai-word.el: Switch to UTF-8.
764
765 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
766
767 * recentf.el (recentf-save-file): Use locate-user-emacs-file (bug#13870).
768
769 2013-03-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
770
771 * net/net-utils.el (net-utils-remove-ctrl-m-filter):
772 Use with-current-buffer and don't move point.
773 (net-utils-run-simple): Remove useless code.
774 (net-utils-remove-ctl-m): Remove unused custom.
775
776 2013-03-11 Per Starbäck <starback@stp.lingfil.uu.se>
777
778 * international/characters.el (glyphless-set-char-table-range): New fun.
779 (update-glyphless-char-display): Use it (bug#13744).
780
781 2013-03-11 Teodor Zlatanov <tzz@lifelogs.com>
782
783 * progmodes/cfengine.el: Update for CFEngine 3.4.2 and higher:
784 namespaces in the syntax, indent closer for hanging brace
785 correctly, allow single-quote delimited 'strings', and make
786 `cfengine3-mode' the default.
787
788 2013-03-11 Jean-Philippe Gravel <jpgravel@gmail.com>
789
790 * progmodes/gdb-mi.el: Speed up initialization (bug#10580).
791 Use lexical-binding. Fix up docstring according to conventions.
792 (gdbmi-debug-mode): New var.
793 (gdbmi-start-with, gdbmi-same-start, gdbmi-is-number, gdbmi-bnf-init)
794 (gdbmi-bnf-output, gdbmi-bnf-skip-unrecognized, gdbmi-bnf-gdb-prompt)
795 (gdbmi-bnf-result-record, gdbmi-bnf-out-of-band-record)
796 (gdbmi-bnf-async-record, gdbmi-bnf-stream-record)
797 (gdbmi-bnf-console-stream-output, gdbmi-bnf-target-stream-output)
798 (gdbmi-bnf-log-stream-output, gdbmi-bnf-result-and-async-record-impl)
799 (gdbmi-bnf-incomplete-record-result): New functions.
800 (gdb-car<): Remove function.
801 (gdbmi-record-list): Remove variable.
802 (gdbmi-bnf-state, gdbmi-bnf-offset): New vars.
803 (gdbmi-bnf-result-state-configs): New const.
804 (gud-gdbmi-marker-filter): Rewrite.
805 (gdb-ignored-notification, gdb-thread-created, gdb-thread-exited)
806 (gdb-thread-selected, gdb-running, gdb-starting, gdb-stopped):
807 Add `token' argument.
808 (gdb-done, gdb-error): New functions.
809 (gdb-done-or-error): Add `is-complete' argument. Change arg order.
810
811 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
812
813 * term/xterm.el (xterm--report-background-handler): Don't burp
814 upon timeout.
815 (xterm--version-handler): Extract from terminal-init-xterm.
816 (xterm--query): Don't mishandle timeout. Remove debugging messages.
817 Allow multiple handlers.
818 (terminal-init-xterm): Handle OSX's Terminal.app's incorrect answer.
819
820 * term/xterm.el: Don't discard input (bug#6758). Use lexical-binding.
821 (xterm--report-background-handler, xterm--query): New functions.
822 (terminal-init-xterm): Use them.
823
824 2013-03-11 Michael R. Mauger <michael@mauger.com>
825
826 * progmodes/sql.el Version 3.2
827 Please note that my address changed to <michael@mauger.com>;
828 the <mmaug@yahoo.com> address remains active.
829 (sql-connection-alist): Updates documentation to fix bug#13715.
830 (sql-connect): Handle missing `sql-connection-alist' correctly.
831 (sql-mode-oracle-font-lock-keywords): Add missing keywords.
832 (sql-magic-go, sql-magic-semicolon): Mark with `delete-selection'
833 property.
834 (sql-default-value): New function.
835 (sql-get-login-ext, sql-get-login): Fixes bug where buffer-local
836 values were not used.
837 (sql-rename-buffer): Make sure alternate buffer name has no text
838 properties.
839 (sql-input-sender, sql-execute-feature): Fetch variable with
840 `buffer-local-value' rather than `with-current-buffer'.
841 (sql-*): Use #' function syntax consistently.
842 (sql-*): Use message/error/user-error consistently.
843
844 2013-03-11 Stefan Monnier <monnier@iro.umontreal.ca>
845
846 * xt-mouse.el (xterm-mouse-event-read): Remove.
847 (xterm-mouse--read-event-sequence-1000)
848 (xterm-mouse--read-event-sequence-1006): Use read-event instead.
849
850 2013-03-10 Stefan Monnier <monnier@iro.umontreal.ca>
851
852 * term/xterm.el (xterm-function-map): Support format used with
853 formatOtherKeys=1 (bug#13839).
854
855 * emacs-lisp/byte-run.el (dont-compile): Declare obsolete.
856 (with-no-warnings): Use `declare'.
857
858 * whitespace.el (whitespace-enable-predicate): New variable.
859 (whitespace-enable-predicate): Use it.
860
861 * comint.el (comint-send-input, comint-snapshot-last-prompt)
862 (comint-output-filter, comint-update-fence):
863 Use with-silent-modifications.
864
865 2013-03-10 Jambunathan K <kjambunathan@gmail.com>
866
867 * replace.el (occur-read-regexp-defaults-function): New var.
868 (occur-read-regexp-defaults): New defun.
869 (occur-read-primary-args): Propagate above change (bug#13892).
870
871 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
872
873 * mouse.el (mouse-drag-track): Remove left-over debugging code.
874
875 2013-03-09 Michael Albinus <michael.albinus@gmx.de>
876
877 Major rewrite due to changed D-Bus interface of GVFS 1.14.
878
879 * net/tramp-gvfs.el (top): Extend check for gvfs availability.
880 (tramp-gvfs-methods-mounttracker, tramp-gvfs-listmounts)
881 (tramp-gvfs-mountlocation, tramp-gvfs-mountlocation-signature):
882 New defconst.
883 (tramp-gvfs-file-name-handler-alist) [directory-files]
884 [directory-files-and-attributes, file-exists-p, file-modes]:
885 Use Tramp default handler.
886 [file-acl, file-selinux-context, process-file, set-file-acl]:
887 [set-file-modes, set-file-selinux-context, shell-command]:
888 [start-file-process]: Remove handler.
889 [verify-visited-file-modtime]: New handler.
890 (tramp-gvfs-dbus-string-to-byte-array)
891 (tramp-gvfs-dbus-byte-array-to-string): New defuns. Replace all
892 calls of `dbus-string-to-byte-array' and
893 `tramp-gvfs-dbus-byte-array-to-string'.
894 (tramp-gvfs-handle-copy-file)
895 (tramp-gvfs-handle-delete-directory)
896 (tramp-gvfs-handle-delete-file, tramp-gvfs-handle-file-attributes)
897 (tramp-gvfs-handle-file-directory-p)
898 (tramp-gvfs-handle-file-executable-p)
899 (tramp-gvfs-handle-file-name-all-completions)
900 (tramp-gvfs-handle-file-readable-p)
901 (tramp-gvfs-handle-file-writable-p)
902 (tramp-gvfs-handle-insert-directory)
903 (tramp-gvfs-handle-insert-file-contents)
904 (tramp-gvfs-handle-make-directory, tramp-gvfs-handle-rename-file)
905 (tramp-gvfs-handle-set-visited-file-modtime)
906 (tramp-gvfs-handle-write-region): Rewrite.
907 (tramp-gvfs-handle-file-acl)
908 (tramp-gvfs-handle-file-selinux-context)
909 (tramp-gvfs-handle-process-file, tramp-gvfs-handle-set-file-acl)
910 (tramp-gvfs-handle-set-file-modes)
911 (tramp-gvfs-handle-set-file-selinux-context)
912 (tramp-gvfs-handle-shell-command)
913 (tramp-gvfs-handle-start-file-process)
914 (tramp-gvfs-handle-verify-visited-file-modtime): Remove defuns.
915 (tramp-gvfs-url-file-name): Do not use `file-truename', we work
916 over the symlinks. Fix user handling.
917 (top, tramp-gvfs-handler-mounted-unmounted): Handle different names
918 of the D-Bus signals.
919 (tramp-gvfs-connection-mounted-p): Handle different names of the
920 D-Bus methods.
921 (tramp-gvfs-mount-spec-entry): New defun.
922 (tramp-gvfs-mount-spec): Use it.
923 (tramp-gvfs-maybe-open-connection): Check, that in case of "smb"
924 there is a share name. Handle different names of the D-Bus
925 signals and methods. Set connection properties needed for
926 `tramp-check-cached-permissions'.
927 (tramp-gvfs-send-command): Apply `tramp-gvfs-maybe-open-connection'.
928 Return t or nil.
929
930 * net/tramp.el (tramp-backtrace): Move up.
931 (tramp-error): Dump a backtrace into the debug buffer when
932 `tramp-verbose > 9.
933 (tramp-file-mode-type-map, tramp-file-mode-from-int)
934 (tramp-file-mode-permissions, tramp-get-local-uid)
935 (tramp-get-local-gid, tramp-check-cached-permissions): Move from
936 tramp-sh.el.
937
938 * net/tramp-sh.el (tramp-file-mode-type-map)
939 (tramp-check-cached-permissions, tramp-file-mode-from-int)
940 (tramp-file-mode-permissions, tramp-get-local-uid)
941 (tramp-get-local-gid): Move to tramp.el.
942
943 2013-03-09 Stefan Monnier <monnier@iro.umontreal.ca>
944
945 Separate mouse-1-click-follows-link from mouse-drag-region.
946 * mouse.el (mouse--down-1-maybe-follows-link): New function.
947 (key-translation-map): Use it to implement mouse-1-click-follows-link.
948 (mouse-drag-line, mouse-drag-track):
949 Remove mouse-1-click-follows-link code.
950 (mouse--remap-link-click-p): Remove.
951
952 2013-03-08 Jambunathan K <kjambunathan@gmail.com>
953
954 * hi-lock.el (hi-lock-read-regexp-defaults-function): New var.
955 (hi-lock-read-regexp-defaults): New defun.
956 (hi-lock-line-face-buffer, hi-lock-face-buffer)
957 (hi-lock-face-phrase-buffer): Propagate above change.
958 Update docstring (bug#13892).
959
960 * subr.el (find-tag-default-as-regexp): New defun.
961 * replace.el (read-regexp): Propagate above change.
962
963 2013-03-08 Jay Belanger <jay.p.belanger@gmail.com>
964
965 * calc/calc-units.el (calc-convert-units): Fix the way that default
966 new units are stored.
967
968 2013-03-07 Matthias Meulien <orontee@gmail.com>
969
970 * bookmark.el: Define a face to highlight bookmark names in
971 bookmark menu buffers, where the default is a bold face similarly
972 to buffer names in buffer menu buffers.
973 (bookmark-menu-bookmark): New face to highlight bookmark names.
974 (bookmark-insert-location): Remove duplicated text property to
975 conform to buffer list (see `list-buffers').
976 (bookmark-bmenu-list, bookmark-bmenu-hide-filenames): Apply face
977 `bookmark-menu-bookmark' to bookmark names.
978
979 2013-03-07 Matthias Meulien <orontee@gmail.com>
980 Karl Fogel <kfogel@red-bean.com>
981
982 * bookmark.el: Display the bookmark list header similarly to the
983 buffer list header (see `list-buffers'), where the default is now
984 an immovable/immutable header line.
985 (bookmark-bmenu-use-header-line): New variable.
986 (bookmark-bmenu-inline-header-height): New name for
987 `bookmark-bmenu-header-height', to avoid confusion with the code
988 for the new immovable header. All references changed.
989 (bookmark-bmenu-set-header): New function.
990 (bookmark-bmenu-list, bookmark-bmenu-toggle-filenames):
991 Conditionalize header construction accordingly.
992 (bookmark-bmenu-ensure-position): Conditionalize the skipping of
993 the inline header height.
994 (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames):
995 Conditionalize the skipping of the inline header height.
996
997 2013-03-07 Dmitry Gutov <dgutov@yandex.ru>
998
999 * progmodes/js.el (js--multi-line-declaration-indentation):
1000 Merge from js2-mode (https://github.com/mooz/js2-mode/issues/89).
1001
1002 2013-03-06 Dmitry Gutov <dgutov@yandex.ru>
1003
1004 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
1005 Only propertize regexp when not inside a string (Bug#13885).
1006
1007 2013-03-06 Alan Mackenzie <acm@muc.de>
1008
1009 Correct the position of point in some line-up functions.
1010 * progmodes/cc-align.el (c-lineup-whitesmith-in-block)
1011 (c-lineup-assignments, c-lineup-gcc-asm-reg ): take position of
1012 point at column 0 rather than at a random place in the line.
1013
1014 2013-03-05 Michael Albinus <michael.albinus@gmx.de>
1015
1016 * net/tramp-compat.el (tramp-compat-delete-directory):
1017 Implement TRASH argument.
1018
1019 2013-03-05 Dmitry Gutov <dgutov@yandex.ru>
1020
1021 Keep pre-existing highlighting in completion candidates (Bug#13250).
1022 * minibuffer.el (completions-first-difference): State that the
1023 face is "added" in the docstring.
1024 (completions-common-part): Same. And don't inherit from default.
1025 (completion-hilit-commonality): Prepend 'completions-common-part
1026 and 'completion-first-difference faces to the 'face property,
1027 instead of replacing the value(s).
1028 (completion--insert-strings): Same with 'completions-annotations face.
1029 (completion-hilit-commonality): Use 'face instead of
1030 'font-lock-face, because it gets priority if the completion
1031 strings already have 'face set.
1032
1033 2013-03-04 Alan Mackenzie <acm@muc.de>
1034
1035 Replace `last-command-event' by `last-command-char' in XEmacs.
1036 * progmodes/cc-defs.el (c-last-command-char): New macro.
1037 * progmodes/cc-align.el (c-semi&comma-inside-parenlist)
1038 (c-semi&comma-no-newlines-before-nonblanks)
1039 (c-semi&comma-no-newlines-for-oneline-inliners): Use the new macro
1040 in place of `last-command-event'.
1041 * progmodes/cc-cmds.el (c-electric-pound, c-electric-brace)
1042 (c-electric-slash, c-electric-semi&comma, c-electric-lt-gt)
1043 (c-electric-paren, c-electric-continued-statement): Use the new
1044 macro in place of `last-command-event'.
1045
1046 2013-03-04 Glenn Morris <rgm@gnu.org>
1047
1048 * files.el (inhibit-local-variables-regexps):
1049 Add .diff and .patch. (Bug#13862)
1050
1051 2013-03-03 Michael Albinus <michael.albinus@gmx.de>
1052
1053 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Cache,
1054 whether the "su" command is available on the device.
1055
1056 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
1057
1058 * net/tramp-adb.el (tramp-adb-prompt): Extend regexp.
1059 (tramp-adb-handle-process-file): Remove superfluous setting.
1060 (tramp-adb-command-exit-status): Handle case that COMMAND is nil.
1061 (tramp-adb-barf-unless-okay): Use `tramp-adb-command-exit-status'.
1062 (tramp-adb-maybe-open-connection): Apply "su" if user is defined.
1063
1064 2013-03-01 Stefan Monnier <monnier@iro.umontreal.ca>
1065
1066 * textmodes/ispell.el: Fix nitpicks and byte-compiler warnings.
1067 (ispell-print-if-debug): Build `format' in. Avoid end-of-buffer.
1068 (ispell-parse-hunspell-affix-file): Avoid beginning-of-buffer.
1069 Use dict-key rather than dict-name for the error message.
1070
1071 2013-03-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1072
1073 * net/net-utils.el (net-utils-run-simple): Don't display-buffer
1074 when reverting (bug#13831).
1075
1076 2013-03-01 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1077
1078 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
1079 Always expand affix-file before storing to protect against changed
1080 `default-directory'.
1081 (ispell-print-if-debug): Make sure message is printed at the end
1082 of the debug buffer.
1083
1084 2013-03-01 Michael Albinus <michael.albinus@gmx.de>
1085
1086 * net/tramp.el (tramp-obsolete-methods): New defconst.
1087 (tramp-warned-obsolete-methods): New defvar.
1088 (tramp-find-method): Check for obsolete methods. Map them to a
1089 replacement method if appropriate.
1090
1091 * net/tramp-sh.el (tramp-methods) [scp1, scp2, ssh1, ssh2, plink1]:
1092 Remove methods.
1093 (top): Remove completion functions for "scp1", "scp2", "ssh1",
1094 "ssh2" and "plink1".
1095
1096 2013-02-28 Dale Sedivec <dale@codefu.org>
1097
1098 * textmodes/sgml-mode.el (sgml-syntax-propertize-function):
1099 Return valid syntax-table property value when converting
1100 quotes within text from string syntax to punctuation syntax (bug#13844).
1101
1102 2013-02-28 Juri Linkov <juri@jurta.org>
1103
1104 * dired-aux.el (dired-diff): If file at point is a backup file,
1105 use its original as the default value, and reverse the order
1106 of arguments to the `diff' call. Doc fix. (Bug#13772)
1107
1108 2013-02-28 Michael Albinus <michael.albinus@gmx.de>
1109
1110 * net/tramp-adb.el (tramp-adb-sdk-dir): Remove. Replaced by ...
1111 (tramp-adb-program): New defcustom. Remove function. Adapt calls.
1112
1113 2013-02-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1114
1115 Initial support for hunspell dictionaries auto-detection (Bug#13639)
1116
1117 * textmodes/ispell.el (ispell-find-hunspell-dictionaries):
1118 Ask hunspell about available and default dictionaries.
1119 (ispell-parse-hunspell-affix-file): Extract relevant info from
1120 hunspell affix file.
1121 (ispell-hunspell-fill-dictionary-entry): Fill non-initialized
1122 `ispell-dictionary-alist' entry for given dictionary after info
1123 provided by `ispell-parse-hunspell-affix-file'.
1124 (ispell-hunspell-dict-paths-alist): New defvar to contain an alist
1125 of parsed hunspell dicts and associated affix files.
1126 (ispell-hunspell-dictionary-alist): New defvar to contain an alist
1127 of parsed hunspell dicts and associated parameters.
1128 (ispell-set-spellchecker-params):
1129 Call `ispell-find-hunspell-dictionaries' if hunspell and not
1130 previously done.
1131 (ispell-start-process):
1132 Call `ispell-hunspell-fill-dictionary-entry' for current
1133 dictionary if it is not initialized.
1134
1135 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
1136
1137 * imenu.el: Comment nitpicks.
1138
1139 2013-02-28 Sam Steingold <sds@gnu.org>
1140
1141 * vc/diff-mode.el (diff-hunk-file-names): Handle filenames with spaces.
1142 See <http://stackoverflow.com/questions/14720205>.
1143
1144 2013-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1145
1146 * net/net-utils.el (net-utils--revert-function): New fun (bug#13831).
1147 (net-utils-mode): Use it.
1148 (net-utils--revert-cmd): New var.
1149 (net-utils-run-simple): Set it, and remove bogus interactive spec.
1150 (traceroute): Use net-utils-run-simple.
1151
1152 2013-02-28 Glenn Morris <rgm@gnu.org>
1153
1154 * textmodes/paragraphs.el (mark-paragraph): Doc fix.
1155
1156 2013-02-28 Stefan Monnier <monnier@iro.umontreal.ca>
1157
1158 * doc-view.el: Preserve h&v scroll across C-c C-c C-c C-c.
1159 (doc-view-fallback-mode): Remove overlays here.
1160 (doc-view-toggle-display): Instead of here. Don't throw away
1161 image-mode-winprops-alist.
1162 (doc-view-goto-page): Don't mess with hscroll.
1163
1164 2013-02-27 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1165
1166 * font-lock.el (lisp-font-lock-keywords-2): Fix highlighting of
1167 &optional (bug#13819).
1168
1169 2013-02-27 Michael Albinus <michael.albinus@gmx.de>
1170
1171 * net/tramp-adb.el (tramp-adb-parse-device-names)
1172 (tramp-adb-maybe-open-connection): Add timeouts. (Bug#13299)
1173
1174 2013-02-26 Michael Albinus <michael.albinus@gmx.de>
1175
1176 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
1177 Add "2>/dev/null" to the ls command, in case "en_US.utf8" is not
1178 defined. POSIX environments fall back to the "C" locale then and
1179 emit a warning, which shall be suppressed.
1180
1181 2013-02-26 Stefan Monnier <monnier@iro.umontreal.ca>
1182
1183 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): Tweak logic.
1184 (easy-mmode-set-keymap-parents): Use make-composed-keymap.
1185
1186 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
1187
1188 * emacs-lisp/bytecomp.el (byte-compile-file): Use let.
1189
1190 2013-02-25 Juri Linkov <juri@jurta.org>
1191
1192 * replace.el (read-regexp): Let-bind `default' to the first
1193 element of `defaults' if it's a list, otherwise it should be
1194 a string or nil. Let-bind `suggestions' to `defaults' if it's
1195 a list, otherwise make a list with the string value. Doc fix.
1196 (Bug#13805)
1197
1198 2013-02-25 Eli Zaretskii <eliz@gnu.org>
1199
1200 * emacs-lisp/bytecomp.el (byte-recompile-directory): Reject files
1201 that match "\`\.#", to avoid compiling lock files, even if they
1202 are readable (as they are on MS-Windows).
1203
1204 2013-02-25 Stefan Monnier <monnier@iro.umontreal.ca>
1205
1206 * files.el (basic-save-buffer): Remove redundant directory-creation.
1207
1208 2013-02-24 Jay Belanger <jay.p.belanger@gmail.com>
1209
1210 * calc/calc-ext.el (math-to-radians-2, math-from-radians-2):
1211 Add option to force `pi' to remain symbolic.
1212 * calc/calcalg2.el (calcFunc-sin, calcFunc-cos, calcFunc-tan)
1213 (calcFunc-cot, calcFunc-csc, calcFunc-sec, calcFunc-arcsin)
1214 (calcFunc-arccos, calcFunc-arctan): Use symbolic `pi' in the
1215 derivatives, when necessary.
1216
1217 2013-02-23 Peter Kleiweg <p.c.j.kleiweg@rug.nl>
1218
1219 * progmodes/ps-mode.el (ps-mode-version): Bump to 1.1i.
1220 (ps-mode-octal-region): Use string-make-unibyte.
1221
1222 2013-02-23 Glenn Morris <rgm@gnu.org>
1223
1224 * emulation/viper-cmd.el (viper-submit-report):
1225 * progmodes/ps-mode.el (ps-mode-maintainer-address):
1226 * progmodes/vera-mode.el (vera-mode-help-address):
1227 * textmodes/artist.el (artist-maintainer-address):
1228 * textmodes/reftex.el (reftex-report-bug):
1229 * vc/ediff-util.el (ediff-submit-report):
1230 Add bug-gnu-emacs to bug report address.
1231
1232 * progmodes/simula.el (simula-mode-menu, simula-mode-map):
1233 Remove bug report entries.
1234 (simula-mode-help-address, simula-submit-bug-report): Make obsolete.
1235
1236 * emacs-lisp/bytecomp.el (byte-compile-level): New.
1237 (byte-compile-file, byte-compile-from-buffer):
1238 Use separate input/output buffers for each level of recursive
1239 byte-compile-file calls. (Bug#13787)
1240
1241 2013-02-23 Michael Albinus <michael.albinus@gmx.de>
1242
1243 * net/tramp.el (tramp-methods): Fix docstring.
1244 (tramp-ssh-controlmaster-options): Rename it from
1245 `tramp-ssh-controlmaster-template'. Return a string.
1246 (tramp-default-method): Adapt check for
1247 `tramp-ssh-controlmaster-options'.
1248
1249 * net/tramp-sh.el (tramp-methods):
1250 Replace `tramp-ssh-controlmaster-template' by "%c".
1251 (tramp-do-copy-or-rename-file-out-of-band)
1252 (tramp-maybe-open-connection): Use it in format spec. Ensure,
1253 that it is applied for the first hop only.
1254
1255 2013-02-22 Juri Linkov <juri@jurta.org>
1256
1257 * isearch.el (isearch-lazy-highlight-new-loop):
1258 Set `isearch-lazy-highlight-start' and `isearch-lazy-highlight-end'
1259 to `isearch-other-end' if it is not nil. (Bug#13402)
1260
1261 * replace.el (replace-highlight): Let-bind `isearch-other-end'
1262 to `match-beg'.
1263
1264 * textmodes/ispell.el (ispell-highlight-spelling-error-overlay):
1265 Let-bind `isearch-other-end' to `start', `isearch-forward' to t
1266 and `isearch-error' to nil.
1267
1268 2013-03-16 Fabián Ezequiel Gallina <fgallina@cuca>
1269
1270 * progmodes/python.el (python-info-current-defun):
1271 Enhance match-data cluttering prevention.
1272
1273 2013-02-22 Michael Albinus <michael.albinus@gmx.de>
1274
1275 * net/tramp.el (tramp-tramp-file-p): Fix docstring.
1276
1277 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
1278 Handle multibyte file names.
1279
1280 2013-02-22 Glenn Morris <rgm@gnu.org>
1281
1282 * textmodes/sgml-mode.el (sgml-xml-mode): Move before use.
1283 (sgml-transformation-function): Give it a :set function.
1284 (sgml-tag): Doc fix.
1285
1286 * cmuscheme.el (scheme-buffer):
1287 * progmodes/inf-lisp.el (inferior-lisp-buffer):
1288 * progmodes/tcl.el (inferior-tcl-buffer):
1289 * textmodes/tex-mode.el (tex-command): Doc fixes.
1290
1291 * image-mode.el (image-mode): Add mouse bindings for mode-line-process.
1292
1293 * htmlfontify.el (hfy-default-header): Encode title string. (Bug#7457)
1294
1295 2013-02-21 Bastien Guerry <bzg@gnu.org>
1296
1297 * cmuscheme.el (scheme-buffer): Fix docstring. (Bug#13778)
1298
1299 2013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
1300
1301 * progmodes/python.el (python-info-current-defun):
1302 Enhance match-data cluttering prevention.
1303
1304 2013-02-21 Glenn Morris <rgm@gnu.org>
1305
1306 * net/tramp.el (tramp-get-debug-buffer): Ensure outline.el is not
1307 loaded while outline-regexp is let bound. (Bug#9584)
1308
1309 2013-02-21 Fabián Ezequiel Gallina <fgallina@cuca>
1310
1311 * progmodes/python.el (python-info-current-defun): Fix failed
1312 defun name retrieval because of unwanted match-data cluttering.
1313
1314 2013-02-21 Michael Albinus <michael.albinus@gmx.de>
1315
1316 * net/tramp.el (tramp-ssh-controlmaster-template): Make it a
1317 defconst. Apply independent check for ControlPersist.
1318
1319 * net/tramp-sh.el (tramp-sh-handle-set-file-times): Set $UTC only
1320 temporarily, via "env".
1321
1322 2013-02-21 Glenn Morris <rgm@gnu.org>
1323
1324 * info.el (Info-enable-edit): Remove.
1325 (Info-edit): Disable it rather than using Info-enable.
1326 (Info-edit-mode-hook, Info-edit-map, Info-edit-mode, Info-edit)
1327 (Info-cease-edit): Make editing of Info files obsolete.
1328
1329 * informat.el (Info-tagify):
1330 Handle buffers not visiting files. (Bug#13763)
1331
1332 2013-02-21 Juanma Barranquero <lekktu@gmail.com>
1333
1334 * calc/calc-graph.el (calc-graph-show-dumb): Fix typo.
1335
1336 2013-02-21 Glenn Morris <rgm@gnu.org>
1337
1338 * files.el (basic-save-buffer): Move check for existing parent
1339 directory after hooks. (Bug#13773)
1340
1341 2013-02-20 Stefan Monnier <monnier@iro.umontreal.ca>
1342
1343 * simple.el (command-execute): Move from C. Add obsolete check.
1344 (extended-command-history): Move from C.
1345
1346 2013-02-20 Ulrich Müller <ulm@gentoo.org>
1347
1348 * jka-cmpr-hook.el (jka-compr-compression-info-list)
1349 (jka-compr-mode-alist-additions): Handle .txz suffix for
1350 XZ-compressed tar archives (bug#13770).
1351
1352 2013-02-20 Bastien Guerry <bzg@gnu.org>
1353
1354 * outline.el (outline-regexp, outline-heading-end-regexp):
1355 Make variables, not options (bug#13731).
1356
1357 2013-02-20 Glenn Morris <rgm@gnu.org>
1358
1359 * image.el (image-current-frame): Change from variable to function.
1360 (image-show-frame): Rename from image-nth-frame. Update callers.
1361 * image-mode.el (image-multi-frame): New variable.
1362 (image-mode-map, image-mode, image-goto-frame):
1363 Use image-multi-frame rather than image-current-frame.
1364 (image-mode, image-goto-frame): Use image-current-frame as
1365 function rather than as variable.
1366
1367 * emacs-lisp/cl-lib.el (cl-floatp-safe): Make it an alias for floatp.
1368 * emacs-lisp/cl-macs.el (cl--make-type-test)
1369 (cl--compiler-macro-assoc): Use floatp rather than cl-floatp-safe.
1370
1371 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
1372
1373 * net/tramp-cache.el (tramp-get-hash-table): New defun.
1374 (tramp-get-file-property, tramp-set-file-property)
1375 (tramp-get-connection-property, tramp-set-connection-property): Use it.
1376 (tramp-flush-file-property, tramp-flush-directory-property):
1377 Rename argument to KEY.
1378 (tramp-flush-connection-property): Simplify a little bit.
1379 (tramp-connection-property-p): New defun.
1380 (top): Reapply saved values only if there isn't a corresponding
1381 entry in `tramp-connection-properties'.
1382
1383 2013-02-19 Fabián Ezequiel Gallina <fgallina@cuca>
1384
1385 * progmodes/python.el (python-indent-context):
1386 Fix python-info-line-ends-backslash-p call.
1387 (python-info-line-ends-backslash-p)
1388 (python-info-beginning-of-backslash): Respect line-number argument.
1389 (python-info-current-line-comment-p):
1390 Fix behavior when not at beginning-of-line.
1391 (python-util-position): Remove function.
1392 (python-util-goto-line): New function.
1393
1394 2013-02-19 Michael Albinus <michael.albinus@gmx.de>
1395
1396 * eshell/em-unix.el (eshell/su): Require tramp.
1397 (eshell/sudo): Require tramp. Remove now unnecessary check.
1398
1399 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Let-bind
1400 `tramp-current-connection' in order to avoid an error when several
1401 commands are invoked in a short time in eshell and friends.
1402
1403 2013-02-19 Stefan Monnier <monnier@iro.umontreal.ca>
1404
1405 Cleanup some of EIEIO's namespace.
1406 * emacs-lisp/eieio.el (eieio--define-field-accessors): New macro.
1407 Use it to define all the class-* and object-* field accessors (renamed
1408 to eieio--class-* and eieio--object-*). Update all uses.
1409 (eieio--class-num-slots, eieio--object-num-slots): Rename from
1410 class-num-slots and object-num-slots.
1411 (eieio--check-type): New macro.
1412 (eieio-defclass, eieio-oref, eieio-oref-default, same-class-p)
1413 (object-of-class-p, child-of-class-p, object-slots, class-slot-initarg)
1414 (eieio-oset, eieio-oset-default, object-assoc, object-assoc-list)
1415 (object-assoc-list-safe): Use it.
1416 (eieio-defclass): Tighten regexp.
1417 (eieio--defmethod): Use `memq'. Signal an error for unknown method kind.
1418 Remove unreachable code.
1419 (object-class-fast): Declare obsolete.
1420 (eieio-class-name, eieio-object-name, eieio-object-set-name-string)
1421 (eieio-object-class, eieio-object-class-name, eieio-class-parents)
1422 (eieio-class-children, eieio-class-precedence-list, eieio-class-parent):
1423 Rename from class-name, object-name, object-set-name-string,
1424 object-class, object-class-name, class-parents, class-children,
1425 class-precedence-list, class-parent; with obsolete alias.
1426 (class-of, class-direct-superclasses, class-direct-subclasses):
1427 Declare obsolete.
1428 (eieio-defmethod): Use `memq'; remove unreachable code.
1429 * emacs-lisp/eieio-base.el (eieio-persistent-read):
1430 * emacs-lisp/eieio-opt.el (eieio-class-button, eieio-describe-generic)
1431 (eieio-browse-tree, eieio-browse): Use eieio--check-type.
1432
1433 2013-02-18 Aidan Gauland <aidalgol@no8wireless.co.nz>
1434
1435 * eshell/em-cmpl.el: Correct "context-related help" keybinding in
1436 commentary.
1437
1438 2013-02-18 Michael Heerdegen <michael_heerdegen@web.de>
1439
1440 * emacs-lisp/eldoc.el (eldoc-highlight-function-argument):
1441 Use font-lock-keyword-face for macros and special forms (bug#8345).
1442
1443 2013-02-17 Didier Verna <didier@didierverna.net>
1444
1445 * net/network-stream.el (network-stream-open-starttls):
1446 Check that response to the starttls-command is non-nil. (Bug#13706)
1447
1448 2013-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
1449
1450 * font-lock.el (lisp-font-lock-keywords-1, lisp-font-lock-keywords-2):
1451 Don't assume all identifier chars have syntax word.
1452 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
1453 Remove bar-not-symbol. Adjust callers.
1454 (lisp-mode-variables): Don't set a font-lock-syntax-table.
1455
1456 2013-02-17 Leo Liu <sdl.web@gmail.com>
1457
1458 * net/rcirc.el (rcirc-keepalive): Fix invalid timer error.
1459
1460 2013-02-17 Glenn Morris <rgm@gnu.org>
1461
1462 * menu-bar.el (menu-bar-tools-menu): Fix case of EDE entry.
1463
1464 * image-mode.el (image-mode-map): Add image-dired menu entry.
1465
1466 * image-dired.el (tumme): Make this alias obsolete.
1467
1468 2013-02-16 Glenn Morris <rgm@gnu.org>
1469
1470 * image.el (image-animated-types): Remove.
1471 (image-multi-frame-p): Rename from image-animated-p, and generalize.
1472 (image-animated-p): Make obsolete alias.
1473 (image-animate, image-nth-frame, image-animate-timeout):
1474 Use image-multi-frame-p.
1475 (image-animate-timeout): If no delay, use image-default-frame-delay.
1476 * image-mode.el (image-mode, image-toggle-animation):
1477 Use image-multi-frame-p. (Bug#763, bug#10739)
1478 (image-mode): Adjust startup message for a multi-frame image.
1479
1480 * image-mode.el (image-mode-map): Give it a menu.
1481
1482 2013-02-16 Michael Albinus <michael.albinus@gmx.de>
1483
1484 * net/tramp-cache.el (tramp-connection-properties): New customer
1485 option.
1486 (tramp-get-connection-property): Use it.
1487
1488 * net/tramp-compat.el (top): Require 'trampver.
1489
1490 * net/tramp-sh.el (tramp-remote-process-environment):
1491 Set tramp-autoload cookie.
1492
1493 2013-02-16 Kevin Ryde <user42@zip.com.au>
1494
1495 * info-look.el (info-lookup-select-mode): If major-mode has no
1496 info-lookup-alist entry then search up derived-mode-parent (bug#8660).
1497
1498 2013-02-16 Jambunathan K <kjambunathan@gmail.com>
1499
1500 * replace.el (read-regexp): Tighten the regexp that matches tag.
1501 When tag is retrieved with `find-tag-default', use regexp that
1502 matches tag at point. Also update docstring (Bug#13687).
1503
1504 2013-02-16 Eli Zaretskii <eliz@gnu.org>
1505
1506 * autorevert.el (auto-revert-notify-add-watch): With 'w32notify',
1507 add watch for the file, not its parent directory, since w32notify
1508 sets up the watch for the directory internally. (Bug#13725)
1509
1510 2013-02-16 Glenn Morris <rgm@gnu.org>
1511
1512 * image.el (image-default-frame-delay): New variable.
1513 (image-animated-p): Use image-default-frame-delay.
1514 (image-minimum-frame-delay): New constant.
1515 (image-animate-timeout): Use image-minimum-frame-delay.
1516
1517 * image.el (image-nth-frame): New, split from image-animate-timeout.
1518 (image-animate-timeout): Use image-nth-frame.
1519 * image-mode.el (image-goto-frame, image-next-frame)
1520 (image-previous-frame): New commands.
1521 (image-mode-map): Add new frame commands.
1522
1523 2013-02-16 Jonas Bernoulli <jonas@bernoul.li>
1524
1525 * emacs-lisp/tabulated-list.el (tabulated-list-print-col):
1526 If col-desc already has help-echo, use it. (Bug#13563)
1527
1528 2013-02-16 Glenn Morris <rgm@gnu.org>
1529
1530 * image.el (image-current-frame): New variable.
1531 (image-animate-timeout): Set image-current-frame.
1532 * image-mode.el (image-mode): For animated images,
1533 display a frame counter via mode-line-process.
1534
1535 * font-lock.el (lisp-font-lock-keywords-1): Add defvar-local.
1536
1537 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
1538
1539 * simple.el (eval-expression): Let `exp' set the mark (bug#13724).
1540
1541 2013-02-15 Alan Mackenzie <acm@muc.de>
1542
1543 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): When a
1544 global minor mode has been enabled, call the minor mode function
1545 for a new buffer once only, after the major mode hook, whilst
1546 allowing that hook explicitly to disable the minor mode.
1547 (MODE-disable-in-buffer): New (generated) function.
1548 (disable-MODE): New (generated) buffer local variable.
1549
1550 2013-02-15 Jambunathan K <kjambunathan@gmail.com>
1551
1552 * iswitchb.el (iswitchb-read-buffer): Bind `C-.' and `C-,' to
1553 `iswitchb-next-match' and `iswitchb-prev-match' resply.
1554 * ido.el (ido-init-completion-maps): Bind `C-.' and `C-,' to
1555 `ido-next-match' and `ido-prev-match' resply.
1556 * icomplete.el (icomplete-minibuffer-map): Unbind `C-s' and `C-r'.
1557 Bind `C-.' and `C-,' to `icomplete-forward-completions' and
1558 `icomplete-backward-completions' (Bug#13708).
1559
1560 2013-02-15 Glenn Morris <rgm@gnu.org>
1561
1562 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
1563
1564 2013-02-15 Stefan Monnier <monnier@iro.umontreal.ca>
1565
1566 * net/goto-addr.el (goto-address-fontify): Add start and end args.
1567 (goto-address-fontify-region): Use them instead of narrowing, so
1568 syntax-ppss has access to the whole buffer.
1569
1570 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
1571
1572 * progmodes/python.el: Explain how to restore "cc-mode"-like
1573 forward-sexp movement in header documentation (Bug#13642).
1574 (python-nav--forward-sexp): Behave like emacs-lisp-mode in
1575 comments and strings (GH bug 114).
1576
1577 2013-02-15 Fabián Ezequiel Gallina <fgallina@cuca>
1578
1579 * progmodes/python.el (python-info-current-defun): Fix current
1580 defun detection (Bug#13618).
1581
1582 2013-02-15 Chong Yidong <cyd@gnu.org>
1583
1584 * xml.el (xml-parse-string): Fix typo in handling of bad character
1585 references.
1586
1587 2013-02-15 Glenn Morris <rgm@gnu.org>
1588
1589 * play/fortune.el (fortune-compile): Simplify and fix previous change.
1590
1591 2013-02-14 Michael Albinus <michael.albinus@gmx.de>
1592
1593 * net/tramp.el (tramp-debug-message):
1594 Add `tramp-condition-case-unless-debug'.
1595 (tramp-debug-on-error): New defvar.
1596 (tramp-condition-case-unless-debug): New defun.
1597 (tramp-file-name-handler): Use it.
1598
1599 2013-02-14 Juri Linkov <juri@jurta.org>
1600
1601 * info.el (Info-isearch-filter): Treat non-nil values of
1602 `search-invisible' including its default value `open'
1603 like the value `t' to match hidden text. (Bug#13402)
1604
1605 2013-02-14 Glenn Morris <rgm@gnu.org>
1606
1607 * help-fns.el (find-lisp-object-file-name): Give special treatment
1608 to all ~/.foo.elc files, not just ~/.emacs. (Bug#9007)
1609
1610 2013-02-14 David Biesack <sasdjb@d72933.na.sas.com> (tiny change)
1611
1612 * net/quickurl.el (quickurl-save-urls):
1613 Ensure quickurl-urls is not truncated on printing. (Bug#9276)
1614
1615 2013-02-14 Dmitry Gutov <dgutov@yandex.ru>
1616
1617 * progmodes/ruby-mode.el (ruby-parse-partial): Don't increase
1618 depth for unfinished percent literal. Not using it in the caller.
1619 (ruby-move-to-block): Jump over multiline literals of all types,
1620 ignoring code-looking contents inside them.
1621 (ruby-add-log-current-method): Improve performance at the expense
1622 of accuracy. `ruby-block-contains-point' is relatively slow, so
1623 only use it for method and singleton class blocks.
1624
1625 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
1626
1627 Use ControlMaster where applicable. (Bug#13677)
1628
1629 * net/tramp.el (tramp-ssh-controlmaster-template): New defvar,
1630 replacing `tramp-detect-ssh-controlmaster'.
1631 (tramp-default-method): Use it.
1632
1633 * net/tramp-sh.el (tramp-methods) [scp, scp1, scp2, scpx, sftp]:
1634 [rsync, ssh, ssh1, ssh2, sshx]: Add ControlPath and ControlMaster
1635 arguments.
1636 [scpc, rsyncc]: Remove methods.
1637 (top): Remove completion functions for "scpc", "rsyncc", "ssh1_old"
1638 and "ssh2_old".
1639 (tramp-do-copy-or-rename-file-out-of-band): Change trace level.
1640 (tramp-maybe-open-connection): Reuse tmpfile for ControlPath.
1641
1642 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
1643
1644 * emacs-lisp/package.el (package--initialized): Move before first use.
1645
1646 2013-02-13 Jambunathan K <kjambunathan@gmail.com>
1647
1648 * icomplete.el (icomplete-hide-common-prefix): New user option.
1649 (icomplete-first-match): New face.
1650 (icomplete-completions): Correct handling of "complete but not
1651 unique" (Bug#12638).
1652
1653 2013-02-13 YE Qianchuan <stool.ye@gmail.com> (tiny change)
1654
1655 * descr-text.el (describe-char): Display the script (bug#13698).
1656
1657 2013-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
1658
1659 * tmm.el: Use lexical-binding and current-active-maps.
1660 (tmm-menubar): Use map-keymap and pcase.
1661 (tmm--completion-table): New function.
1662 (tmm-prompt): Use it to fix the menu order.
1663 (tmm-get-keybind): Use current-active-maps.
1664
1665 2013-02-12 Christopher Schmidt <christopher@ch.ristopher.com>
1666
1667 Add dired-hide-details-mode. (Bug#6799)
1668
1669 * locate.el (locate-mode): Set parent mode property to dired-mode.
1670
1671 * find-dired.el (find-dired): Call dired-insert-set-properties on
1672 initial information line. Set process mark on end of buffer.
1673 (find-dired-sentinel):
1674 Call dired-insert-set-properties on summary.
1675
1676 * dired.el (dired-hide-details-hide-symlink-targets)
1677 (dired-hide-details-hide-information-lines): New options.
1678 (dired-insert-directory):
1679 Set properties after final treatment of output.
1680 (dired-insert-set-properties):
1681 Set dired-hide-details-* properties.
1682 (dired-mode-map): Bind dired-hide-details-mode.
1683 (dired-mode): Set buffer-invisibility-spec to a list.
1684 (dired-next-line): Skip hidden lines.
1685 (dired-previous-line): Use dired-next-line.
1686 (dired-hide-details-mode): New minor mode.
1687 (dired-hide-details-update-invisibility-spec): New function.
1688
1689 2013-02-13 Glenn Morris <rgm@gnu.org>
1690
1691 * play/yow.el: Move to obsolete/. (Bug#9384)
1692
1693 2013-02-13 Juri Linkov <juri@jurta.org>
1694
1695 * vc/ediff-util.el (ediff-recenter): Use `select-frame-set-input-focus'
1696 to select `ediff-control-frame' and set input focus correctly on Xfce.
1697 (Bug#12218)
1698
1699 2013-02-13 Juri Linkov <juri@jurta.org>
1700
1701 * image-mode.el (image-mode-map):
1702 * doc-view.el (doc-view-mode-map):
1703 * vc/ediff-util.el (ediff-setup-keymap):
1704 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
1705
1706 2013-02-13 Dmitry Gutov <dgutov@yandex.ru>
1707
1708 * progmodes/ruby-mode.el (ruby-move-to-block): Improve
1709 performance. Instead of recalculating indentation fully for each
1710 line, sum up indentation depth based only on visited lines.
1711 (ruby-parse-partial): Increase the depth after "do" even when END
1712 is right after it.
1713 (ruby-parse-partial): When END is in the middle of a percent
1714 literal, increase the depth if the delimiter chars belong to the
1715 paren syntax class.
1716
1717 2013-02-13 Kirill A. Korinskiy <catap@catap.ru>
1718
1719 * play/fortune.el (fortune-compile): Also make the compiled file
1720 if it does not exist at all, not just if it is old. (Bug#5338)
1721
1722 2013-02-13 Glenn Morris <rgm@gnu.org>
1723
1724 * emacs-lisp/package.el (package-menu-execute): Doc fix.
1725
1726 2013-02-13 Yves Baumes <ybaumes@gmail.com> (tiny change)
1727
1728 * lisp/emacs-lisp/package.el (package-menu-execute):
1729 Add optional noquery argument. (Bug#13625)
1730
1731 2013-02-13 Michael Albinus <michael.albinus@gmx.de>
1732
1733 * net/ange-ftp.el (ange-ftp-make-directory): Don't raise an error,
1734 if DIR exists and PARENTS is non-nil.
1735
1736 2013-02-13 Juanma Barranquero <lekktu@gmail.com>
1737
1738 * progmodes/js.el (js--multi-line-declaration-indentation):
1739 Silence byte-compiler warning.
1740
1741 2013-02-12 Michael Albinus <michael.albinus@gmx.de>
1742
1743 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Rewrite.
1744
1745 * net/tramp-compat.el (top): Declare `remote-file-name-inhibit-cache'
1746 only if it doesn't exist.
1747
1748 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
1749 Set process marker.
1750
1751 2013-02-12 Tassilo Horn <tsdh@gnu.org>
1752
1753 * doc-view.el (doc-view-odf->pdf-converter-soffice): Use separate
1754 UserInstallation when calling soffice to work around LibreOffice
1755 bug 37531.
1756
1757 2013-02-12 Glenn Morris <rgm@gnu.org>
1758
1759 * files.el (basic-save-buffer):
1760 Offer to create a non-existing directory. (Bug#3016)
1761
1762 * calc/calc-graph.el (calc-graph-show-dumb):
1763 * calendar/calendar.el (calendar-mode-map):
1764 * cus-edit.el (custom-mode-map):
1765 * ehelp.el (electric-help-map):
1766 * emulation/vip.el (vip-mode-map):
1767 * epa.el (epa-key-list-mode-map):
1768 * info.el (Info-mode-map):
1769 * mail/rmail.el (rmail-mode-map):
1770 * mail/rmailsum.el (rmail-summary-mode-map):
1771 * man.el (Man-mode-map):
1772 * net/newst-plainview.el (newsticker-mode-map):
1773 * progmodes/cpp.el (cpp-edit-mode-map):
1774 * progmodes/grep.el (grep-mode-map):
1775 * progmodes/idlw-help.el (idlwave-help-mode-map):
1776 * simple.el (special-mode-map):
1777 * startup.el (splash-screen-keymap):
1778 * view.el (view-mode-map):
1779 Make S-SPC scroll in the opposite sense to SPC. (Bug#2145)
1780
1781 2013-02-11 Elias Pipping <pipping@lavabit.com>
1782
1783 * doc-view.el (doc-view-current-cache-dir): Beware % escapes
1784 (bug#13679).
1785
1786 2013-02-11 Stefan Monnier <monnier@iro.umontreal.ca>
1787
1788 * cus-start.el (all): Remove inhibit-local-menu-bar-menus.
1789
1790 2013-02-11 Glenn Morris <rgm@gnu.org>
1791
1792 * vc/diff.el (diff-use-labels): New variable.
1793 (diff-no-select): Use --label rather than -L, and first
1794 check that it is supported. (Bug#11067)
1795
1796 * files.el (enable-dir-local-variables): New variable.
1797 (hack-dir-local-variables): Respect enable-dir-local-variables.
1798 * tutorial.el (help-with-tutorial):
1799 Ignore directory-local variables. (Bug#11127)
1800
1801 * vc/vc-svn.el (vc-svn-command): Move --non-interactive from here...
1802 (vc-svn-global-switches): ... to here. (Bug#13513)
1803
1804 2013-02-10 Christopher Schmidt <christopher@ch.ristopher.com>
1805
1806 * minibuf-eldef.el (minibuffer-default--in-prompt-regexps):
1807 Handle "foo (bar, default: xxx): " prompts.
1808
1809 2013-02-10 Chong Yidong <cyd@gnu.org>
1810
1811 * files.el (basic-save-buffer-1): Do not set
1812 buffer-file-coding-system-explicit (Bug#4533).
1813
1814 * mail/emacsbug.el (report-emacs-bug): Change binding of
1815 report-emacs-bug-insert-to-mailer to C-c M-i (Bug#13510).
1816
1817 2013-02-09 Jay Belanger <jay.p.belanger@gmail.com>
1818
1819 * calc/calc.el (calc-allow-units-as-numbers): New variable.
1820 * calc/calc-units.el (calc-convert-units): Use new variable.
1821
1822 2013-02-09 Eli Zaretskii <eliz@gnu.org>
1823
1824 * subr.el (buffer-file-type, default-buffer-file-type): Remove.
1825
1826 * net/ange-ftp.el (ange-ftp-insert-file-contents): Don't reference
1827 buffer-file-type.
1828
1829 * mail/feedmail.el (feedmail-force-binary-write): Doc fix.
1830 (feedmail-run-the-queue, feedmail-dump-message-to-queue)
1831 (feedmail-send-it-immediately): Don't bind buffer-file-type, bind
1832 coding-system-for-write instead.
1833
1834 * jka-compr.el (jka-compr-write-region): Don't bind
1835 buffer-file-type.
1836
1837 * emacs-lisp/bytecomp.el (byte-compile-file): Don't bind
1838 buffer-file-type.
1839
1840 * files.el (file-name-buffer-file-type-alist): Remove defvar.
1841 (insert-file-contents-literally): Remove reference to
1842 file-name-buffer-file-type-alist.
1843
1844 * dos-w32.el (file-name-buffer-file-type-alist): Deprecate and
1845 make-obsolete.
1846 (find-buffer-file-type-match, find-buffer-file-type): Remove.
1847 (find-buffer-file-type-coding-system): Remove references to
1848 find-buffer-file-type-match, find-buffer-file-type, and
1849 buffer-file-type.
1850 Don't put find-buffer-file-type-coding-system into
1851 file-coding-system-alist.
1852 (find-file-binary, find-file-text): Bind coding-system-for-read
1853 instead of file-name-buffer-file-type-alist.
1854
1855 2013-02-09 Jambunathan K <kjambunathan@gmail.com>
1856
1857 * doc-view.el: Use (and prefer) soffice as default ODF->PDF
1858 converter (Bug#13622).
1859 (doc-view-unoconv-program): Make obsolete alias.
1860 (doc-view-odf->pdf-converter-program): New variable.
1861 (doc-view-odf->pdf-converter-function): New variable.
1862 (doc-view-mode-p): Use it.
1863 (doc-view-odf->pdf-converter-unoconv):
1864 Rename from `doc-view-odf->pdf-converter-unoconv'.
1865 (doc-view-odf->pdf-converter-soffice): New function.
1866 (doc-view-convert-current-doc):
1867 Use `doc-view-odf->pdf-converter-function'.
1868
1869 2013-02-09 Chong Yidong <cyd@gnu.org>
1870
1871 * minibuffer.el (minibuffer-inactive-mode-map): Bind mouse-1 to
1872 view-echo-area-messages (Bug#13340).
1873
1874 * help.el (view-echo-area-messages): Use display-buffer.
1875
1876 * dired-x.el (dired-do-run-mail): Prompt for confirmation
1877 (Bug#13561).
1878
1879 2013-02-08 Stefan Monnier <monnier@iro.umontreal.ca>
1880
1881 * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile):
1882 Eval body right away, now that we do eager macroexpansion (bug#13605).
1883
1884 * simple.el (end-of-buffer): Don't touch unrelated windows (bug#13466).
1885 (fundamental-mode): Use run-mode-hooks.
1886
1887 * eshell/esh-proc.el (eshell/kill): Fix last change.
1888 * eshell/em-ls.el (eshell-ls-dir): Fix use of CL in last change.
1889
1890 2013-02-08 Aidan Gauland <aidalgol@no8wireless.co.nz>
1891
1892 * eshell/esh-proc.el (eshell/kill): Rewrite.
1893
1894 * eshell/em-ls.el (show-almost-all): Declare.
1895 (eshell-do-ls): Add support for -A argument.
1896
1897 2013-02-08 Jambunathan K <kjambunathan@gmail.com>
1898
1899 * icomplete.el (icomplete-forward-completions)
1900 (icomplete-backward-completions): Handle corner case (bug#13602).
1901
1902 2013-02-07 Michael Albinus <michael.albinus@gmx.de>
1903
1904 * vc/vc-hooks.el (vc-find-file-hook): `buffer-file-truename' can
1905 be nil. Handle this. (Bug#13636)
1906
1907 2013-02-07 Richard Stallman <rms@gnu.org>
1908
1909 * mail/rmail.el (rmail-variables): Specify `no-conversion' for
1910 `save-buffer-coding-system'.
1911
1912 2013-02-07 Alan Mackenzie <acm@muc.de>
1913
1914 Fix bug in state cache mechanism. Remove 'BOD "strategy". Refactor.
1915 * progmodes/cc-engine.el (c-get-fallback-scan-pos): Remove.
1916 (c-parse-state-get-strategy): Don't return 'BOD any more.
1917 (c-append-lower-brace-pair-to-state-cache):
1918 Extra parameter HERE instead of narrowing.
1919 Widen to top of buffer before searching backwards for a brace pair.
1920 (c-state-push-any-brace-pair): Add HERE parameter to function call.
1921 (c-append-to-state-cache): Extra parameter HERE in place of narrowing.
1922 Narrow to parameter HERE, in place of being called narrowed.
1923 (c-remove-stale-state-cache): Extra parameter HERE in place of
1924 narrowing. Check there's an open brace in the cache before
1925 searching for its match.
1926 (c-invalidate-state-cache-1): Add HERE parameter to function call.
1927 (c-parse-state-1): Don't narrow here for 'forward strategy,
1928 instead passing extra parameter HERE to several functions.
1929 Remove 'BOD strategy.
1930
1931 2013-02-06 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
1932
1933 * emacs-lisp/package.el (describe-package-1): Tell what archive is
1934 used to install the package.
1935
1936 2013-02-06 Glenn Morris <rgm@gnu.org>
1937
1938 * vc/vc-hooks.el (vc-find-file-hook): Don't ask about following links
1939 if we can't get user input. (Bug#6567)
1940
1941 * startup.el (command-line): If simple.el is missing,
1942 test and warn about for some possible causes.
1943
1944 2013-02-05 Jan Djärv <jan.h.d@swipnet.se>
1945
1946 * cus-start.el (all): Add ns-use-native-fullscreen.
1947
1948 2013-02-05 Glenn Morris <rgm@gnu.org>
1949
1950 * profiler.el (profiler-report-mode-map): Add a restart menu entry.
1951
1952 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
1953 Fix directory creation in fallback case.
1954
1955 2013-02-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
1956
1957 * vc/vc.el (vc-next-action): Fix inf-loop (bug#13610).
1958 (vc-update-change-log): Use dolist.
1959
1960 2013-02-04 Chong Yidong <cyd@gnu.org>
1961
1962 * thingatpt.el: Rewrite the URL detection routines, absorbing some
1963 code from ffap.el.
1964 (thing-at-point-beginning-of-url-regexp): New var.
1965 (thing-at-point-uri-schemes): Update list of URI schemes.
1966 (thing-at-point-url-regexp): Variable deleted.
1967 (thing-at-point-markedup-url-regexp): Disallow newlines.
1968 (thing-at-point-newsgroup-regexp)
1969 (thing-at-point-newsgroup-heads)
1970 (thing-at-point-default-mail-uri-scheme): New variables.
1971 (thing-at-point-bounds-of-url-at-point): Rewrite. Use ffap's
1972 method to find the possible bounds of the URI at point.
1973 New optional argument to find ill-formed URIs.
1974 (thing-at-point-url-at-point): Rewrite. New arguments for finding
1975 ill-formed URIs. Use thing-at-point-bounds-of-url-at-point, and
1976 the scheme-adding heuristics from ffap-url-at-point.
1977 (thing-at-point--bounds-of-well-formed-url): New function.
1978 Do parens matching to decide whether to include parens in the URI
1979 (Bug#9153).
1980
1981 * ffap.el: Require thingatpt.
1982 (ffap-url-at-point): Delegate URI detection to thing-at-point.
1983 All URI-valid characters are now recognized (Bug#5673).
1984 (ffap-string-at-point): Use use-region-p.
1985 (ffap-url-regexp): Extra character is handled by thing-at-point.
1986 (ffap-string-at-point-mode-alist): Allow parentheses.
1987 (ffap-newsgroup-regexp, ffap-newsgroup-heads, ffap-newsgroup-p):
1988 Convert to aliases; code moved to thingatpt.el.
1989 (ffap-gnus-hook): Use setq-local.
1990
1991 2013-02-04 Glenn Morris <rgm@gnu.org>
1992
1993 * emacs-lisp/ert.el (ert--explain-format-atom):
1994 Don't try to print non-characters as characters. (Bug#13543)
1995
1996 2013-02-03 Michael Albinus <michael.albinus@gmx.de>
1997
1998 * net/tramp.el (tramp-debug-message): Extend function exclude list.
1999 (tramp-backtrace): New defun.
2000 (tramp-handle-insert-file-contents): Use `visit' when inserting
2001 the local copy.
2002
2003 * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime):
2004 Use `remote-file-name-inhibit-cache'.
2005
2006 2013-02-03 Stefan Monnier <monnier@iro.umontreal.ca>
2007
2008 * progmodes/cperl-mode.el (cperl-mode): Avoid byte-compile warning
2009 (bug#13614).
2010
2011 * subr.el (internal--called-interactively-p--get-frame): Avoid filling
2012 current-load-list (bug#13366).
2013
2014 2013-02-02 Christopher Schmidt <christopher@ch.ristopher.com>
2015
2016 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2017 Identify g++ template instantiation trace. (Bug#12287)
2018 (compilation-mode-hook, compilation-start-hook)
2019 (compilation-window-height): Simplify docstrings. (Bug#13379)
2020
2021 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
2022
2023 * mouse.el (mouse-drag-track): Always deactivate the mark before
2024 running the final event's command since that command is in charge of
2025 activating the mark if needed (bug#13523).
2026
2027 2013-02-02 Juri Linkov <juri@jurta.org>
2028
2029 * replace.el (perform-replace): Move let-bindings of isearch-*
2030 variables deeper to the loop that searches for the next match.
2031 Add bindings for `isearch-nonincremental' and `isearch-adjusted'.
2032 Use `isearch-search-fun-default' instead of `isearch-search-fun'.
2033 (Bug#13579)
2034
2035 * isearch.el (isearch-search-fun-default): Check for null
2036 first element of isearch-cmds as a precaution when it's used
2037 with inactive isearch.
2038
2039 2013-02-02 Andrew W. Nosenko <andrew.w.nosenko@gmail.com> (tiny change)
2040
2041 * net/tramp.el (tramp-check-for-regexp): Avoid "Args out of range"
2042 error when buffer in question is narrowed so position 1 is out of
2043 visible part.
2044
2045 2013-02-02 Glenn Morris <rgm@gnu.org>
2046
2047 * textmodes/remember.el (remember-clipboard): Doc fix.
2048
2049 2013-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
2050
2051 * progmodes/make-mode.el (makefile-fill-paragraph): Reset syntax-table
2052 properties (bug#13179).
2053
2054 2013-02-02 Juri Linkov <juri@jurta.org>
2055
2056 * progmodes/grep.el (grep-regexp-alist): Use variable grep-match-face
2057 instead of hard-coded default face `match'. (Bug#9438)
2058
2059 2012-02-01 Christopher Schmidt <christopher@ch.ristopher.com>
2060
2061 * vc/vc-arch.el (vc-arch-registered):
2062 * vc/vc-bzr.el (vc-bzr-registered):
2063 * vc/vc-cvs.el (vc-cvs-registered):
2064 * vc/vc-git.el (vc-git-registered):
2065 * vc/vc-hg.el (vc-hg-registered):
2066 * vc/vc-mtn.el (vc-mtn-registered):
2067 * vc/vc-svn.el (vc-svn-registered): Suppress load messages.
2068 (Bug#13139)
2069
2070 * info.el (Info-next-reference, Info-prev-reference): Add numeric
2071 prefix argument. (Bug#11656)
2072
2073 2013-02-01 Stefan Monnier <monnier@iro.umontreal.ca>
2074
2075 * help-fns.el (help-split-fundoc): Don't insert byte-compiled body.
2076
2077 2013-02-01 Glenn Morris <rgm@gnu.org>
2078
2079 * vc/vc-hooks.el (vc-menu-map): Disable vc-rollback menu item
2080 if the backend is known not to support it.
2081
2082 * imenu.el (imenu-default-create-index-function):
2083 Tweak infinite loop test to check for forward motion as well as none.
2084
2085 2013-02-01 Alex Harsanyi <AlexHarsanyi@gmail.com>
2086
2087 * net/soap-client.el (soap-invoke): Encode the string for
2088 `url-request-data' as UTF-8.
2089 Fixes <http://code.google.com/p/emacs-soap-client/issues/detail?id=16>.
2090
2091 2013-02-01 Glenn Morris <rgm@gnu.org>
2092
2093 * calc/calc-help.el (calc-view-news): Use view-emacs-news.
2094
2095 * calc/README, calc/README.prev: Rename/merge to etc/CALC-NEWS.
2096
2097 2013-01-31 Michael Albinus <michael.albinus@gmx.de>
2098
2099 * net/tramp.el (tramp-tramp-file-p): Comment check for
2100 `string-as-unibyte'. The function does not exist on XEmacs, and
2101 likely we need another approach.
2102
2103 * net/tramp-sh.el (tramp-compute-multi-hops): Check, whether
2104 `tramp-gw-*' variables are bound.
2105
2106 2013-01-31 Glenn Morris <rgm@gnu.org>
2107
2108 * files.el (basic-save-buffer-2): Choose coding system for
2109 writing the file before backing it up, to reduce delay between
2110 backing up and writing the new version. (Bug#13522)
2111
2112 2013-01-31 Michal Nazarewicz <mina86@mina86.com>
2113
2114 * simple.el (cycle-spacing): New command.
2115 (just-one-space): Use it.
2116
2117 2013-01-31 Stefan Monnier <monnier@iro.umontreal.ca>
2118
2119 * progmodes/opascal.el: Rename from delphi.el. Use lexical-binding.
2120 (opascal-newline-always-indents): Remove custom.
2121 (opascal-tab, opascal-newline): Remove commands.
2122 (opascal-new-comment-line): Insert "\n" instead of calling newline.
2123 (opascal-mode-map): Keep default bindings for RET and TAB and DEL.
2124 (opascal-save-match-data): Remove, use save-match-data instead.
2125 (opascal-save-state): Use with-silent-modifications.
2126
2127 * progmodes/pascal.el (pascal-mode-syntax-table): Accept //..\n comments
2128 (bug#13585).
2129
2130 2013-01-30 Juri Linkov <juri@jurta.org>
2131
2132 * frame.el (toggle-frame-maximized, toggle-frame-fullscreen):
2133 Use fullboth as an alias for fullscreen. Suggested by Jan Djärv in
2134 <http://lists.gnu.org/archive/html/emacs-devel/2013-01/msg00203.html>.
2135
2136 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
2137
2138 * progmodes/make-mode.el (makefile-backslash-region): Don't compute
2139 column if we're just deleting the backslashes.
2140 (makefile-fill-paragraph): Use eolp.
2141
2142 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
2143
2144 * autorevert.el (auto-revert-use-notify): Fix docstring.
2145
2146 2013-01-30 Leo Liu <sdl.web@gmail.com>
2147
2148 * imenu.el (imenu--truncate-items): Fix subalist checking (bug#13576).
2149
2150 2013-01-30 Glenn Morris <rgm@gnu.org>
2151
2152 * mouse.el (mouse-drag-line): Avoid pushing same event onto
2153 unread-command-events twice in some cases. This tries to implement
2154 the 2012-07-26 changes in a different way. (Bug#13560)
2155
2156 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
2157
2158 * progmodes/python.el
2159 (python-pdbtrack-comint-output-filter-function): Enhancements on
2160 stacktrace detection. (thanks @gnovak)
2161
2162 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
2163
2164 * jit-lock.el (jit-lock-stealth-chunk-start): Don't widen (bug#13542).
2165 (jit-lock-mode, jit-lock-functions, jit-lock-context-unfontify-pos):
2166 Use defvar-local.
2167 (jit-lock-register): Use setq-local.
2168
2169 2013-01-30 Jay Belanger <jay.p.belanger@gmail.com>
2170
2171 * calc-units.el (math-default-units-table): Remove initial value.
2172 (calc-convert-units): Treat expressions where all the units cancel as
2173 if they didn't have units.
2174
2175 2013-01-30 Michael Albinus <michael.albinus@gmx.de>
2176
2177 * net/tramp.el (tramp-process-connection-type): Fix docstring.
2178 (tramp-completion-reread-directory-timeout): Fix type.
2179 (tramp-connection-min-time-diff): New defcustom.
2180
2181 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
2182
2183 2013-01-30 Glenn Morris <rgm@gnu.org>
2184
2185 * imenu.el (imenu-default-create-index-function):
2186 Put back a version of the infinite loop test removed 2013-01-23.
2187
2188 2013-01-30 Fabián Ezequiel Gallina <fgallina@cuca>
2189
2190 * progmodes/python.el (python-shell-parse-command):
2191 Find python-shell-interpreter with modified environment.
2192
2193 2013-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
2194
2195 * emacs-lisp/cl.el (cl-set-getf): Add compatibility alias.
2196
2197 2013-01-29 Alan Mackenzie <acm@muc.de>
2198
2199 Amend to fontify /regexp/s in actions correctly.
2200 * cc-awk.el (c-awk-harmless-char-re, c-awk-harmless-string*-re):
2201 (c-awk-harmless-string*-here-re): Braces, parens and semicolons
2202 are no longer included.
2203 (c-awk-harmless-line-char-re, c-awk-harmless-line-string*-re):
2204 What used to be these variables without "-line" in the name.
2205 (c-awk-neutral-re): { is no longer neutral. Escaped newlines now are.
2206 (c-awk-non-arith-op-bra-re): Now also matches {.
2207 (c-awk-pre-exp-alphanum-kwd-re): New regexp to match "print",
2208 "return", and "case".
2209 (c-awk-kwd-regexp-sign-re): New, to match "print", etc., followed
2210 by /.
2211 (c-awk-syntax-tablify-/): Check special cases "print /re/", etc.
2212 (c-awk-set-syntax-table-properties): Extend FSM to handle {,},(,),;.
2213
2214 2013-01-29 Michael Albinus <michael.albinus@gmx.de>
2215
2216 * autorevert.el (auto-revert-use-notify):
2217 Use `custom-initialize-default' for initialization. (Bug#13583)
2218
2219 * net/ange-ftp.el (ange-ftp-skip-msgs): Add another message.
2220
2221 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2222 Catch `suppress'. Otherwise, `tramp-run-real-handler' might be called
2223 in `tramp-file-name-handler'.
2224 (tramp-gw-tunnel-method, tramp-gw-socks-method): Declare for
2225 compatibility.
2226 (tramp-compute-multi-hops): Check, whether
2227 `tramp-gw-tunnel-method' and `tramp-gw-socks-method' are non-nil.
2228
2229 2013-01-28 Stefan Monnier <monnier@iro.umontreal.ca>
2230
2231 * hi-lock.el (hi-lock-unface-buffer): Don't assume `face' is a symbol
2232 (bug#13297).
2233
2234 2013-01-27 Dmitry Gutov <dgutov@yandex.ru>
2235
2236 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove some
2237 checks made superfluous by the \_< operator.
2238 * progmodes/ruby-mode.el (ruby-move-to-block): Work with (maybe
2239 temporarily) broken indentation.
2240 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
2241 Highlight nested constants, too. \_< broke that.
2242
2243 2013-01-27 Nobuyoshi Nakada <nobu@ruby-lang.org>
2244
2245 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Use "\\_<"
2246 instead of "\\b".
2247
2248 2013-01-27 Michael Albinus <michael.albinus@gmx.de>
2249
2250 * autorevert.el (auto-revert-handler): Notifications which result
2251 from a saved file shall not be taken into account. (Bug#13557)
2252
2253 2013-01-26 Andreas Schwab <schwab@linux-m68k.org>
2254
2255 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Add optional
2256 parameter BAR-NOT-SYMBOL to control syntax of | for font-lock.
2257 (lisp-mode): Pass t for it. (Bug#13556)
2258
2259 2013-01-25 Alan Mackenzie <acm@muc.de>
2260
2261 AWK Mode: Fix indentation bug at top level. Bug #12274.
2262
2263 * progmodes/cc-engine.el (c-guess-basic-syntax): Move CASE 5P to
2264 just before CASE 5D.
2265
2266 2013-01-25 Dmitry Antipov <dmantipov@yandex.ru>
2267
2268 * net/socks.el (socks-nslookup-host): Use string-to-number.
2269
2270 2013-01-25 Michael Albinus <michael.albinus@gmx.de>
2271
2272 * autorevert.el (auto-revert-remote-files)
2273 (auto-revert-notify-exclude-dir-regexp): New defcustoms.
2274 (auto-revert-notify-enabled, auto-revert-use-notify)
2275 (auto-revert-notify-watch-descriptor-hash-list)
2276 (auto-revert-notify-modified-p, auto-revert-notify-event-p)
2277 (auto-revert-notify-event-descriptor)
2278 (auto-revert-notify-event-action)
2279 (auto-revert-notify-event-file-name): Doc fix.
2280 (global-auto-revert-mode): Reorder checks.
2281 (auto-revert-notify-rm-watch): Respect changed values of
2282 `auto-revert-notify-watch-descriptor-hash-list'.
2283 (auto-revert-notify-add-watch): Check for
2284 `auto-revert-notify-exclude-dir-regexp'. Adapt filters for
2285 `inotify-add-watch'. Watch `default-directory' instead of
2286 `buffer-file-name'. `auto-revert-notify-watch-descriptor-hash-list'
2287 has a changed meaning now. (Bug#13540)
2288 (auto-revert-notify-handler): Change implementation wrt events
2289 returning from a directory.
2290 (auto-revert-handler): Reorder implementation for checks of remote
2291 files.
2292 (auto-revert-buffers): Fix parentheses error.
2293
2294 2013-01-25 Fabián Ezequiel Gallina <fgallina@cuca>
2295
2296 * progmodes/python.el: Enhancements to header documentation about
2297 skeletons. (Bug#5716)
2298
2299 * imenu.el (imenu-default-create-index-function): Remove useless
2300 infinite loop check. (Bug#13438)
2301
2302 2013-01-25 Alan Mackenzie <acm@muc.de>
2303
2304 Fix a bug in the state cache mechanism. Refactor this a bit.
2305
2306 * progmodes/cc-engine.el (c-parse-state-get-strategy): Remove the
2307 `cache-pos' element from the return value.
2308 (c-append-lower-brace-pair-to-state-cache): "Narrow" to end of
2309 buffer to enable proper searching from beyond HERE. Amend the
2310 test for detecting the sought brace pair. Amend the value written
2311 to the "brace desert cache" when the brace isn't found.
2312 (c-remove-stale-state-cache): Rename `good-pos' to `start-point',
2313 and several other variables analogously.
2314 (c-remove-stale-state-cache-backwards): Change `cache-pos' from a
2315 parameter to a locally calculated variable.
2316 (c-parse-state-1): Change the calling conventions to the two
2317 defuns involving `cache-pos'.
2318
2319 2013-01-25 Chong Yidong <cyd@gnu.org>
2320
2321 * xml.el (xml-entity-or-char-ref-re): Fix regexp.
2322
2323 2013-01-24 Aaron Ecay <aaronecay@gmail.com> (tiny change)
2324
2325 * paren.el (show-paren-function): Make sure to set 'priority and
2326 'face only if the overlay does exist.
2327
2328 2013-01-24 Michael Albinus <michael.albinus@gmx.de>
2329
2330 * net/tramp.el (tramp-tramp-file-p): Check, whether NAME is unibyte.
2331
2332 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Do not suppress
2333 basic attributes.
2334 (tramp-sh-handle-set-file-acl): Improve error checking.
2335
2336 2013-01-24 Dmitry Antipov <dmantipov@yandex.ru>
2337
2338 * doc-view.el (doc-view-display): Force mode line update until all
2339 document is converted. Suggested by Stefan Monnier (Bug#13164).
2340
2341 2013-01-23 Bastien Guerry <bzg@gnu.org>
2342
2343 * paren.el (show-paren-function): Make sure an overlay exists
2344 before trying to delete it. Also use `pos' as a position only
2345 when it is an integer.
2346
2347 2013-01-23 Dmitry Antipov <dmantipov@yandex.ru>
2348
2349 * play/gametree.el (gametree-break-line-here): Use point-marker.
2350
2351 2013-01-22 Michael Albinus <michael.albinus@gmx.de>
2352
2353 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
2354 Mark descriptive parts with `display' property.
2355
2356 2013-01-21 Agustín Martín Domingo <agustin.martin@hispalinux.es>
2357
2358 * textmodes/ispell.el (ispell-hunspell-dictionary-equivs-alist):
2359 New variable to map standard dict names to hunspell ones.
2360 (ispell-set-spellchecker-params): Make sure specific dict names
2361 are used for standard dicts with hunspell.
2362
2363 2013-01-21 Tassilo Horn <tsdh@gnu.org>
2364
2365 * textmodes/reftex-cite.el (reftex-format-citation): Add format
2366 chars for note (%N) and url (%U).
2367 * textmodes/reftex-vars.el (reftex-cite-format): Document them.
2368
2369 2013-01-21 Juri Linkov <juri@jurta.org>
2370
2371 * frame.el: Bind `f10' in `esc-map' to `toggle-frame-maximized'
2372 in addition to existing separate binding `meta f10' in `global-map'.
2373 (Bug#13484)
2374
2375 2013-01-21 Michael Albinus <michael.albinus@gmx.de>
2376
2377 Improve XEmacs compatibility.
2378
2379 * net/tramp.el (tramp-replace-environment-variables): Make it a defun.
2380
2381 * net/tramp-adb.el (top): Require `time-date'.
2382 (tramp-adb-ls-output-time-less-p): Use `tramp-time-less-p'.
2383 (tramp-adb-handle-copy-file, tramp-adb-handle-rename-file):
2384 Use `tramp-file-name-handler'.
2385 (tramp-adb-maybe-open-connection):
2386 Use `tramp-compat-set-process-query-on-exit-flag'.
2387
2388 * net/tramp-sh.el (tramp-sh-handle-file-acl):
2389 Use `tramp-compat-funcall'.
2390
2391 * net/tramp-smb.el (tramp-smb-handle-file-acl): Use `looking-at' and
2392 `tramp-compat-funcall'.
2393
2394 2013-01-21 Jürgen Hötzel <juergen@archlinux.org>
2395
2396 * net/tramp-adb.el (tramp-adb-handle-start-file-process): Complete
2397 reimplementation using "adb shell command ..." instead of running
2398 remote shell interactively.
2399
2400 2013-01-20 Glenn Morris <rgm@gnu.org>
2401
2402 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map):
2403 Add native profiler menu entries.
2404
2405 * profiler.el (profiler-running-p): New function.
2406 (profiler-cpu-profile): Use profiler-running-p.
2407 (profiler-report-mode-map): Add some more menu entries.
2408
2409 2013-01-19 Glenn Morris <rgm@gnu.org>
2410
2411 * mail/unrmail.el (unrmail): Do not mangle the mbox From line;
2412 fixes 2012-12-07 change. (Bug#13499)
2413
2414 2013-01-19 Leo Liu <sdl.web@gmail.com>
2415
2416 * dired.el (dired-get-marked-files): Prune erroneous values due to
2417 last change. (Bug#13152)
2418
2419 2013-01-19 Glenn Morris <rgm@gnu.org>
2420
2421 * progmodes/etags.el (tags-table-check-computed-list):
2422 Preserve point in tags buffer. (Bug#13412)
2423
2424 * emacs-lisp/lisp-mode.el (lisp-indent-function): Doc fix.
2425
2426 2013-01-19 Christian Wittern <cwittern@gmail.com> (tiny change)
2427 Chong Yidong <cyd@gnu.org>
2428
2429 * image-mode.el (image-next-file, image-previous-file):
2430 New commands (Bug#8453).
2431 (image-mode-map): Bind them to n and p.
2432 (image-mode--images-in-directory): New helper function.
2433
2434 2013-01-19 Chong Yidong <cyd@gnu.org>
2435
2436 * image-mode.el (image-mode-fit-frame): Add a frame argument.
2437 Suggested by Drew Adams (Bug#7730). Handle window decorations;
2438 save and restore the old window configuration.
2439
2440 2013-01-18 Leo Liu <sdl.web@gmail.com>
2441
2442 * progmodes/js.el: Tweak autoload cookie for alias.
2443
2444 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
2445
2446 * autorevert.el (auto-revert-notify-watch-descriptor): Make it
2447 buffer local, again. This was lost with the fix on 2013-01-12.
2448
2449 2013-01-17 Jürgen Hötzel <juergen@archlinux.org>
2450
2451 * eshell/esh-util.el (eshell-path-env): Make it buffer local, in
2452 order to support several eshell buffers in parallel.
2453
2454 2013-01-17 Michael Albinus <michael.albinus@gmx.de>
2455
2456 * autorevert.el (auto-revert-use-notify): In the :set function, do
2457 not modify `kill-buffer-hook'.
2458 (auto-revert-notify-rm-watch):
2459 Remove `auto-revert-notify-rm-watch' from `kill-buffer-hook'.
2460 (auto-revert-notify-add-watch): Do not call
2461 `auto-revert-notify-rm-watch', but add it to a buffer local
2462 `kill-buffer-hook'.
2463
2464 2013-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
2465
2466 * emacs-lisp/trace.el (trace--read-args): Use a closure and an honest
2467 call to `eval' rather than a backquoted lambda.
2468
2469 2013-01-15 Stefan Monnier <monnier@iro.umontreal.ca>
2470
2471 * emacs-lisp/nadvice.el (advice--tweak): Make it possible for `tweak'
2472 to return an explicit nil.
2473 (advice--remove-function): Change accordingly.
2474
2475 * emacs-lisp/advice.el (ad-preactivate-advice): Adjust the cleanup to
2476 the use of nadvice.el.
2477
2478 * progmodes/which-func.el (which-function): Silence imenu errors
2479 (bug#13433).
2480
2481 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
2482
2483 * progmodes/sql.el (sql-imenu-generic-expression):
2484 (sql-mode-font-lock-object-name): Match schema qualified names.
2485 (sql-connect): Use string keys.
2486 (sql-product-interactive): Wait for interpreter prompt.
2487 (sql-comint-oracle): Set process coding based on NLS_LANG.
2488
2489 2013-01-15 Michael R. Mauger <mmaug@yahoo.com>
2490
2491 * progmodes/sql.el (sql-output-to-send): Remove, unused.
2492 (sql-interactive-remove-continuation-prompt):
2493 (sql-send-magic-terminator, sql-interactive-mode): Remove references.
2494
2495 2013-01-14 Leo Liu <sdl.web@gmail.com>
2496
2497 * calendar/calendar.el (calendar-redraw): Sync window-point and point.
2498 (Bug#13420)
2499
2500 2013-01-14 Glenn Morris <rgm@gnu.org>
2501
2502 * progmodes/compile.el (compilation-error-regexp-alist-alist):
2503 Fix interpretation of gnu line.col1-col2 format. (Bug#13335)
2504
2505 2013-01-13 Fabián Ezequiel Gallina <fgallina@cuca>
2506
2507 * progmodes/python.el (python-nav-end-of-statement):
2508 Fix cornercase when handling multiline strings.
2509
2510 2013-01-13 Richard Stallman <rms@gnu.org>
2511
2512 * mail/sendmail.el (mail-position-on-field): Add doc string.
2513
2514 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
2515 Get current message boundaries and pass them to
2516 message-forward-make-body-mime. Minor style changes.
2517
2518 2013-01-13 Eli Zaretskii <eliz@gnu.org>
2519
2520 * cus-start.el (all): Avoid warnings about
2521 scroll-bar-adjust-thumb-portion on platforms where it is not defined.
2522
2523 2013-01-11 Jan Djärv <jan.h.d@swipnet.se>
2524
2525 * cus-start.el (all): Add scroll-bar-adjust-thumb-portion.
2526
2527 2013-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
2528
2529 * jit-lock.el (jit-lock-debug-mode): New minor mode.
2530 (jit-lock--debug-fontifying): New var.
2531 (jit-lock--debug-fontify): New function.
2532 * subr.el (condition-case-unless-debug): Don't prevent catching the
2533 error, just let the debbugger run.
2534 * emacs-lisp/timer.el (timer-event-handler): Don't prevent debugging
2535 timer code and don't drop errors silently.
2536
2537 2013-01-12 Michael Albinus <michael.albinus@gmx.de>
2538
2539 * autorevert.el (auto-revert-notify-watch-descriptor): Give it
2540 `permanent-local' property.
2541 (auto-revert-notify-handler): Use `file-equal-p'.
2542
2543 2013-01-12 Eli Zaretskii <eliz@gnu.org>
2544
2545 * autorevert.el (auto-revert-notify-handler): Fix filtering of
2546 file notification by ACTION. For filtering by file name, compare
2547 only the non-directory part of the file name.
2548
2549 2013-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
2550
2551 * autorevert.el: Use cl-lib instead of cl.
2552
2553 * vc/vc-bzr.el (vc-bzr--sanitize-header): New function (bug#13307).
2554 (vc-bzr-checkin): Use it.
2555 * vc/log-edit.el (log-edit-extract-headers): Don't presume FUNCTION
2556 will preserve match-data.
2557
2558 2013-01-11 Felix H. Dahlke <fhd@ubercode.de>
2559
2560 * progmodes/js.el: Fix multiline declarations's indentation (bug#8576).
2561 (js--declaration-keyword-re): New var.
2562 (js--multi-line-declaration-indentation): New function.
2563 (js--proper-indentation): Use it.
2564
2565 2013-01-11 Aaron S. Hawley <Aaron.Hawley@vtinfo.com>
2566
2567 * calc/calc.el (calc-highlight-selections-with-faces)
2568 (calc-dispatch):
2569 * comint.el (comint-history-isearch-message):
2570 * emacs-lisp/edebug.el (edebug-read, edebug-eval-defun):
2571 * ffap.el (ffap-string-at-point-region, ffap-next)
2572 (ffap-string-at-point, ffap-string-around)
2573 (ffap-copy-string-as-kill, ffap-highlight-overlay)
2574 (ffap-literally):
2575 * font-lock.el (font-lock-keywords-alist)
2576 (font-lock-removed-keywords-alist):
2577 * help-mode.el (help-xref-symbol-regexp):
2578 * info.el (Info-find-emacs-command-nodes):
2579 * international/mule.el (add-to-coding-system-list):
2580 * isearch.el (isearch-message-function, isearch-fail-pos):
2581 * misearch.el (multi-isearch-next-buffer-function):
2582 * newcomment.el (comment-box):
2583 * printing.el (pr-txt-printer-alist, pr-ps-printer-alist)
2584 (pr-setting-database):
2585 * progmodes/cc-fonts.el (c-font-lock-keywords-3)
2586 (c++-font-lock-keywords-3, objc-font-lock-keywords-3)
2587 (java-font-lock-keywords-3, idl-font-lock-keywords-3)
2588 (pike-font-lock-keywords-3):
2589 * progmodes/compile.el (compile):
2590 * progmodes/etags.el (tags-table-files)
2591 (tags-table-files-function, tags-included-tables-function):
2592 * progmodes/gdb-mi.el (gdb, gdb-setup-windows)
2593 (gdb-restore-windows):
2594 * ps-print.el (ps-even-or-odd-pages, ps-spool-buffer-with-faces)
2595 (ps-n-up-filling-database):
2596 * server.el (server-buffer, server-log):
2597 * simple.el (newline, delete-backward-char, delete-forward-char)
2598 (minibuffer-history-isearch-message, kill-line, track-eol)
2599 (temporary-goal-column):
2600 * textmodes/flyspell.el (flyspell-mark-duplications-flag)
2601 (flyspell-default-deplacement-commands):
2602 * textmodes/ispell.el (ispell-accept-output):
2603 * textmodes/sgml-mode.el (html-tag-help):
2604 * vc/compare-w.el (compare-ignore-whitespace)
2605 (compare-ignore-case, compare-windows-dehighlight):
2606 * vc/diff.el (diff):
2607 * whitespace.el (whitespace-point)
2608 (whitespace-font-lock-refontify, whitespace-bob-marker)
2609 (whitespace-eob-marker): Fix ambiguous doc string cross-reference(s).
2610
2611 2013-01-11 Michael Albinus <michael.albinus@gmx.de>
2612
2613 * autorevert.el (top): Require 'cl in order to pacify byte compiler.
2614 (auto-revert-notify-rm-watch): Ignore errors.
2615 (auto-revert-notify-add-watch): Ignore errors. Use '(modify) for
2616 inotify, and '(size last-write-time) for w32notify.
2617 Set buffer-local `auto-revert-use-notify' to nil when adding a file
2618 watch fails - this is a fallback to the file modification check.
2619 (auto-revert-notify-event-p, auto-revert-notify-event-descriptor)
2620 (auto-revert-notify-event-action)
2621 (auto-revert-notify-event-file-name): New defuns.
2622 (auto-revert-notify-handler): Use them. Implement first
2623 plausibility checks.
2624 (auto-revert-handler): Handle also `auto-revert-tail-mode'.
2625
2626 2013-01-11 Julien Danjou <julien@danjou.info>
2627
2628 * color.el (color-rgb-to-hsv): Fix conversion computing in case min and
2629 max are almost equal. Also return the correct value for V which is
2630 already between 0 and 1.
2631
2632 2013-01-11 Dmitry Antipov <dmantipov@yandex.ru>
2633
2634 * emacs-lisp/ert.el (ert-run-test): Use point-max-marker.
2635
2636 2013-01-11 Eli Zaretskii <eliz@gnu.org>
2637
2638 * autorevert.el (auto-revert-notify-rm-watch)
2639 (auto-revert-notify-add-watch): Fix typos in w32notify function
2640 names.
2641
2642 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
2643
2644 * autorevert.el (auto-revert-notify-enabled): Move up.
2645 (auto-revert-use-notify): New defcustom.
2646 (auto-revert-mode, global-auto-revert-mode)
2647 (auto-revert-notify-add-watch, auto-revert-handler)
2648 (auto-revert-buffers): Use `auto-revert-use-notify' instead of
2649 `auto-revert-notify-enabled'.
2650
2651 2013-01-10 Elias Pipping <pipping@exherbo.org>
2652
2653 * files.el (auto-mode-alist): Use doc-view for djvu files (bug#13164).
2654 * doc-view.el (doc-view-document->bitmap):
2655 Use doc-view-single-page-converter-function instead of
2656 single-page-converter arg; adjust callers.
2657
2658 2013-01-10 Feng Li <fengli@gmail.com> (tiny change)
2659
2660 * progmodes/which-func.el (which-function): Understand Semantic's use
2661 of overlays in imenu--index-alist.
2662
2663 2013-01-10 Wolfgang Jenkner <wjenkner@inode.at>
2664
2665 * man.el: Handle different "man -k" behaviors (bug#13160). Use utf-8.
2666 (Man-man-k-use-anchor): New var.
2667 (Man-parse-man-k): New function.
2668 (Man-completion-table): Use it.
2669 (man): Flush the completion cache between uses.
2670
2671 2013-01-10 Michael Albinus <michael.albinus@gmx.de>
2672
2673 * autorevert.el: Add file watch support.
2674 (auto-revert-notify-enabled): New defconst.
2675 (auto-revert-notify-watch-descriptor-hash-list)
2676 (auto-revert-notify-watch-descriptor)
2677 (auto-revert-notify-modified-p): New defvars.
2678 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
2679 (auto-revert-notify-handler): New defuns.
2680 (auto-revert-mode, global-auto-revert-mode): Remove file watches
2681 when mode is disabled.
2682 (auto-revert-handler): Check for `auto-revert-notify-modified-p'.
2683 (auto-revert-buffers): Add file watches for active buffers.
2684
2685 2013-01-10 Dmitry Antipov <dmantipov@yandex.ru>
2686
2687 * cus-start.el (toplevel): Only allow float values for
2688 scroll-up-aggressively and scroll-down-aggressively.
2689 Allow any number for line-spacing.
2690
2691 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
2692
2693 * doc-view.el (doc-view-pdfdraw-program): Allow "pdfdraw" name.
2694 (doc-view-pdf->png-converter-function): Use mupdf if available.
2695 (doc-view-djvu->png-converter-function)
2696 (doc-view-ps->png-converter-function): Remove.
2697 (doc-view--image-file-pattern): Replace doc-view--image-file-extension.
2698 (doc-view-goto-page, doc-view-convert-current-doc, doc-view-display)
2699 (doc-view-already-converted-p): Adjust accordingly.
2700 (doc-view-mode-p): Simplify.
2701 (doc-view-enlarge): Use setq-local.
2702 (doc-view-pdf->png-converter-ghostscript)
2703 (doc-view-djvu->png-converter-ddjvu)
2704 (doc-view-pdf->png-converter-mupdf): Rework to call
2705 doc-view-start-process directly.
2706 (doc-view-pdf/ps->png): Simplify accordingly.
2707 (doc-view-pdf->png-1, doc-view-djvu->png-1): Remove.
2708 (doc-view-document->bitmap): Rename from doc-view-document->png.
2709 (doc-view-convert-current-doc): Merge pdf and djvu cases.
2710 (doc-view-set-slice-from-bounding-box): Fix completion table.
2711 (doc-view-mode): Use add-hook for after-revert-hook.
2712
2713 2013-01-10 Glenn Morris <rgm@gnu.org>
2714
2715 * emacs-lisp/authors.el (authors-ignored-files)
2716 (authors-valid-file-names, authors-renamed-files-alist):
2717 Add some more entries.
2718
2719 2013-01-10 Stefan Monnier <monnier@iro.umontreal.ca>
2720
2721 * image-mode.el (image-mode-winprops): Don't throw away the fallback
2722 `t' pseudo-window entry.
2723
2724 2013-01-10 Alan Mackenzie <acm@muc.de>
2725
2726 Fix bugs in the c-parse-state mechanism. Reuse some markers
2727 instead of continually generating new ones.
2728
2729 * progmodes/cc-engine.el (c-state-old-cpp-beg-marker)
2730 (c-state-old-cpp-end-marker): New variables.
2731 (c-append-lower-brace-pair-to-state-cache): Start a backward
2732 search for "}" definitively outside CPP constructs.
2733 (c-remove-stale-state-cache): Inform the caller of a need to
2734 search back for a brace pair in certain circumstances.
2735 (c-state-maybe-marker): New macro.
2736 (c-parse-state): Reuse markers when appropriate.
2737
2738 2013-01-10 Glenn Morris <rgm@gnu.org>
2739
2740 * simple.el (execute-extended-command): Doc fix.
2741 Bind prefix-arg around read-extended-command, for prompt. (Bug#13395)
2742
2743 2013-01-10 Chong Yidong <cyd@gnu.org>
2744
2745 * faces.el (read-face-name): Doc fix.
2746
2747 2013-01-10 Roland Winkler <winkler@gnu.org>
2748
2749 * emacs-lisp/crm.el: Allow any regexp for separators.
2750 (crm-default-separator): All spaces around the default comma separator.
2751 (crm--completion-command): New macro.
2752 (crm-completion-help, crm-complete, crm-complete-word): Use it.
2753 (crm-complete-and-exit): Handle non-single-char separators.
2754
2755 2013-01-09 Elias Pipping <pipping@lavabit.com>
2756
2757 * doc-view.el: Add support for DjVu (bug#13164).
2758 (doc-view-djvu->png-converter-function): New config var.
2759 (doc-view-single-page-converter-function, doc-view--image-type)
2760 (doc-view--image-file-extension): New vars.
2761 (doc-view-mode): Initialize them.
2762 (doc-view-goto-page): Use them.
2763 (doc-view-mode-p): Add support for ddjvu.
2764 (doc-view-djvu->png-converter-ddjvu, doc-view-djvu->png-1)
2765 (doc-view-set-up-single-converter): New funs.
2766 (doc-view-pdf/ps->png): Extend for djvu.
2767 (doc-view-document->png): Rename from doc-view-pdf->png.
2768 (doc-view-convert-current-doc): Handle djvu.
2769 (doc-view-insert-image, doc-view-display)
2770 (doc-view-already-converted-p): Don't hardcode png.
2771 (doc-view-set-doc-type): Recognize djvu docs.
2772
2773 2013-01-09 Elias Pipping <pipping@lavabit.com>
2774
2775 * doc-view.el: Add support for mupdf converter (bug#13164).
2776 (doc-view-pdfdraw-program, doc-view-pdf->png-converter-function)
2777 (doc-view-ps->png-converter-function): New config vars.
2778 (doc-view-pdf->png-converter-ghostscript)
2779 (doc-view-ps->png-converter-ghostscript)
2780 (doc-view-pdf->png-converter-mupdf): New functions.
2781 (doc-view-pdf/ps->png, doc-view-pdf->png-1): Use them.
2782
2783 2013-01-09 Jürgen Hötzel <juergen@archlinux.org>
2784
2785 * net/tramp.el (tramp-eshell-directory-change): Check remote-path
2786 first in session cache: When `tramp-own-remote-path' is in
2787 `tramp-remote-path', the remote path is only set in the session
2788 cache.
2789
2790 2013-01-09 Glenn Morris <rgm@gnu.org>
2791
2792 * emacs-lisp/trace.el (trace-function-foreground)
2793 (trace-function-background): Doc fix.
2794
2795 2013-01-09 Juri Linkov <juri@jurta.org>
2796
2797 * international/mule-cmds.el (read-char-by-name): Move let-binding
2798 of completion-ignore-case around completing-read to fix regression
2799 exhibited by the test case `C-x 8 RET *acc TAB' and caused by
2800 `string-match-p' using the nil value of `case-fold-search' and
2801 `completion-ignore-case' in `completion-pcm--all-completions'.
2802 (Bug#12615).
2803
2804 2013-01-09 Glenn Morris <rgm@gnu.org>
2805
2806 * progmodes/compile.el (compilation-parse-errors):
2807 Fix typo. (Bug#13369)
2808
2809 2013-01-09 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
2810
2811 * comint.el (comint-send-input): Check size of buffer before
2812 waiting for process output, in case already accepted. (Bug#13290)
2813
2814 2013-01-09 Paul Eggert <eggert@cs.ucla.edu>
2815
2816 Spelling fixes.
2817 * net/tramp-adb.el (tramp-adb-get-toolbox):
2818 Fix misspelling of 'unknown'.
2819
2820 2013-01-08 Juri Linkov <juri@jurta.org>
2821
2822 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
2823 * progmodes/flymake.el (flymake-errline, flymake-warnline):
2824 Use underline style wave on terminals that support it. (Bug#13000)
2825
2826 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2827
2828 * emacs-lisp/pcase.el (pcase--split-equal): Also take advantage if
2829 the predicate returns nil.
2830
2831 * simple.el: Use lexical-binding.
2832 (primitive-undo): Use pcase.
2833 (minibuffer-history-isearch-push-state): Use a closure.
2834
2835 2013-01-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
2836
2837 * simple.el (primitive-undo): Move from undo.c.
2838
2839 2013-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
2840
2841 * vc/pcvs.el (cvs-cleanup-collection): Extend meaning of `rm-handled'.
2842 (cvs-mode-remove-handled): Use it (bug#13380).
2843
2844 * emacs-lisp/nadvice.el (advice--tweak): New function.
2845 (advice--remove-function, advice--subst-main): Use it.
2846
2847 * emacs-lisp/advice.el: Update commentary.
2848
2849 2013-01-08 Michael Albinus <michael.albinus@gmx.de>
2850
2851 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
2852 Remove spurious entry.
2853
2854 2013-01-08 Glenn Morris <rgm@gnu.org>
2855
2856 * net/tramp.el (tramp-default-host-alist): Add :version.
2857
2858 2013-01-08 Juri Linkov <juri@jurta.org>
2859
2860 * info.el (Info-read-node-name-2): Don't duplicate suffixes for
2861 single completion. (Bug#12456)
2862 (info--manual-names): Expand node completions into an explicit list
2863 before appending it to another list. Filter out internal buffers
2864 with the leading space in the buffer name. (Bug#10771)
2865
2866 2013-01-08 Juri Linkov <juri@jurta.org>
2867
2868 * info.el (Info-read-node-name-1): Allow empty node name in (FILENAME)
2869 that defaults to the Top node.
2870 (Info-goto-node, Info-read-node-name): Doc fix to mention that
2871 the short format (FILENAME) goes to the Top node.
2872 (Info-build-node-completions): Rename arg `file' to `filename'.
2873 (Bug#13365)
2874
2875 2013-01-07 Bastien Guerry <bzg@gnu.org>
2876
2877 * menu-bar.el (menu-bar-search-documentation-menu):
2878 Use `apropos-user-option' and fix the help message.
2879
2880 2013-01-07 Bastien Guerry <bzg@gnu.org>
2881
2882 * apropos.el (apropos-do-all): Update docstring.
2883 (apropos-user-option-button): New face.
2884 (apropos-user-option): Rename from `apropos-variable' and update
2885 docstring.
2886 (apropos-variable): Rewrite, now show all variables by default.
2887 (apropos-print): Mention "User option" instead of "Variable" when
2888 printing doc for user options. (Bug#13276)
2889
2890 2013-01-07 Jürgen Hötzel <juergen@archlinux.org>
2891
2892 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
2893 Handle filename correctly, when parsing "source -> target" symlink
2894 output.
2895 (tramp-adb-handle-set-file-times): New defun.
2896
2897 2013-01-07 Stefan Monnier <monnier@iro.umontreal.ca>
2898
2899 * emacs-lisp/advice.el (ad-activate-advised-definition): Refresh the
2900 advice list when the interactive-spec of ad-Advice-* changes.
2901
2902 2013-01-07 Katsumi Yamaoka <yamaoka@jpl.org>
2903
2904 * wid-edit.el (widget-default-get): Work for inlined elements.
2905 (Bug#12670)
2906
2907 2013-01-07 Michael Albinus <michael.albinus@gmx.de>
2908
2909 * net/tramp.el (tramp-default-host-alist): New defcustom.
2910 (tramp-find-host): Use it.
2911 (tramp-eshell-directory-change): Move from tramp-sh.el. Add to
2912 `eshell-directory-change-hook'.
2913
2914 * net/tramp-adb.el (top): Add adb specific entry in
2915 `tramp-default-host-alist'.
2916 (tramp-adb-file-name-host): Remove function.
2917 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
2918 Use `tramp-file-name-host' instead of `tramp-adb-file-name-host'.
2919
2920 * net/tramp-sh.el: Move eshell integration code to tramp.el.
2921
2922 2013-01-06 Jürgen Hötzel <juergen@archlinux.org>
2923
2924 * net/tramp-adb.el (tramp-methods): Add `tramp-tmpdir' entry.
2925
2926 2013-01-06 Michael Albinus <michael.albinus@gmx.de>
2927
2928 * net/tramp-adb.el (tramp-adb-ls-toolbox-regexp): The file size can
2929 consist of more than one digit.
2930 (tramp-adb-file-name-handler-alist):
2931 Use `tramp-handle-file-exists-p' consistently.
2932 (tramp-adb-file-name-handler): Don't tweak `tramp-default-host'.
2933 (tramp-adb-handle-file-exists-p): Remove function.
2934 (tramp-adb-file-name-host): New defun.
2935 (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection):
2936 Use it.
2937 (tramp-adb-maybe-open-connection): Set "remote-path" property.
2938
2939 2013-01-06 Chong Yidong <cyd@gnu.org>
2940
2941 * vc/vc.el (vc-next-action): Detect buffer modifications
2942 conflicting with locking VCS operation (Bug#11490).
2943
2944 * vc/vc-hooks.el (vc-after-save): DTRT for locking VCSes.
2945
2946 2013-01-05 Michael Albinus <michael.albinus@gmx.de>
2947
2948 * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls):
2949 (tramp-adb-handle-directory-files-and-attributes): Fix typos.
2950
2951 2013-01-05 Jürgen Hötzel <juergen@archlinux.org>
2952
2953 * net/tramp-adb.el (tramp-adb-handle-file-attributes): More robust
2954 parsing of ls output using regular expression (handle filenames
2955 with spaces). Use virtual device number.
2956 (tramp-do-parse-file-attributes-with-ls): New defun (Code
2957 cleanup).
2958
2959 2013-01-04 Daiki Ueno <ueno@gnu.org>
2960
2961 * epg.el: Silence byte-compiler warnings.
2962 (epg--start): Use delete-char instead of delete-backward-char.
2963 (epg-wait-for-completion): Pass FRAME arg to redraw-frame.
2964
2965 2013-01-04 Daiki Ueno <ueno@gnu.org>
2966
2967 * epg.el (epg--start): Don't call "tty" program on W32 platforms.
2968 Suggested by Eli Zaretskii <eliz@gnu.org>.
2969
2970 2013-01-04 Michael Albinus <michael.albinus@gmx.de>
2971
2972 * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be
2973 non-negative integers. Otherwise, the default values are used.
2974 (tramp-convert-file-attributes): Convert uid and gid to integers.
2975
2976 2013-01-04 Glenn Morris <rgm@gnu.org>
2977
2978 * term.el (term-handle-colors-array): Ensure face attributes
2979 are fully specified, not nil. (Bug#13337)
2980
2981 * term.el (term-default-fg-color, term-default-bg-color):
2982 Fix custom type.
2983
2984 * progmodes/etags.el (tags-compression-info-list): Doc fix.
2985 (tag-find-file-of-tag-noselect): Check auto-compression-mode
2986 rather than 'jka-compr being loaded. (Bug#13338)
2987
2988 2013-01-04 Wesley Dawson <whd@lavabit.com> (tiny change)
2989
2990 * icomplete.el (icomplete-completions):
2991 Honor icomplete-prospects-height once more following
2992 2012-11-29 changes. (Bug#13224)
2993
2994 2013-01-04 Stefan Monnier <monnier@iro.umontreal.ca>
2995
2996 * subr.el (internal--called-interactively-p--get-frame): Find aliases
2997 of called-interactively-p as well (bug#13237).
2998
2999 * view.el (view--enable, view--disable): Rename from view-mode-enable
3000 and view-mode-disable and assume it's called from view-mode.
3001 (view-mode-enable, view-mode-disable): Redefine as obsolete
3002 compatibility layer above view-mode.
3003 (view-mode-enter): Call `view-mode'.
3004
3005 * files.el (after-find-file): Call `view-mode'.
3006
3007 * doc-view.el (doc-view-scale-internally): New var.
3008 (doc-view-enlarge, doc-view-insert-image): Obey it.
3009
3010 2013-01-03 Daiki Ueno <ueno@gnu.org>
3011
3012 * epg.el (epg--start): Ignore errors when /dev/fd/0 does not
3013 exist. (Bug#13344)
3014
3015 2013-01-03 Glenn Morris <rgm@gnu.org>
3016
3017 * mail/rmail.el (rmail-set-header-1): Ignore case.
3018 Handle multi-line headers. (Bug#13330)
3019
3020 * progmodes/make-mode.el (makefile-fill-paragraph): Add doc.
3021 Handle paragraph starting at beginning of buffer.
3022
3023 * subr.el (eval-after-load): Don't purecopy the form, so that it
3024 can be nconc'd later on; reverts 2009-11-11 change. (Bug#13331)
3025
3026 * emacs-lisp/byte-run.el (defun): Place cl declarations
3027 after any interactive spec. (Bug#13265)
3028
3029 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
3030
3031 * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as
3032 defun. Don't check for DECL if DOCSTRING isn't a string.
3033 (defun): Likewise.
3034
3035 2013-01-02 Glenn Morris <rgm@gnu.org>
3036
3037 * eshell/em-cmpl.el (eshell-pcomplete):
3038 More thoroughly imitate pcomplete. (Bug#13293)
3039
3040 * files.el (parse-colon-path): Doc fix. (Bug#12351)
3041 Return nil for empty path elements. (Bug#13296)
3042
3043 2013-01-02 Fabián Ezequiel Gallina <fgallina@cuca>
3044
3045 * progmodes/python.el (python-nav-end-of-statement): Rewrite in
3046 order to improve efficiency (Based on Daniel Colascione's
3047 <dancol@dancol.org> patch). (Bug#13182)
3048
3049 2013-01-02 Glenn Morris <rgm@gnu.org>
3050
3051 * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string.
3052
3053 2013-01-02 Andreas Schwab <schwab@linux-m68k.org>
3054
3055 * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if
3056 neither DOCSTRING nor DECL was given. (Bug#13316)
3057
3058 2013-01-02 Michael Albinus <michael.albinus@gmx.de>
3059
3060 * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Add argument to
3061 `error' call.
3062 (tramp-do-copy-or-rename-file): Ignore errors when calling
3063 `set-file-extended-attributes'.
3064
3065 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
3066 Add handler for `file-acl'.
3067 (tramp-smb-handle-file-acl): New defun.
3068
3069 2013-01-02 Jay Belanger <jay.p.belanger@gmail.com>
3070
3071 * calc/README: Mention ISO 8601 week-numbering dates.
3072
3073 2013-01-01 Martin Rudalics <rudalics@gmx.at>
3074
3075 * view.el (view-mode-enable): New argument run-view-mode-hook.
3076 Run view-mode-hook only when it's non-nil (Bug#13315).
3077 (view-mode-enter): Call view-mode-enable with run-view-mode-hook
3078 argument t.
3079
3080 2012-12-31 Jürgen Hötzel <juergen@archlinux.org>
3081
3082 * net/tramp-adb.el (tramp-adb-maybe-open-connection): Handle errors
3083 (No device connected, invalid device name). (Bug #13299)
3084
3085 2012-12-31 Martin Rudalics <rudalics@gmx.at>
3086
3087 * window.el (window-resizable--p): Rename to window-resizable-p.
3088 (window-resize-no-error): New function.
3089
3090 * mail/rmail.el (rmail-maybe-display-summary): Restore behavior
3091 broken in fix from 2012-12-28.
3092
3093 2012-12-31 Stefan Monnier <monnier@iro.umontreal.ca>
3094
3095 * subr.el (special-form-p): Don't signal errors on undef aliases.
3096
3097 2012-12-31 Jay Belanger <jay.p.belanger@gmail.com>
3098
3099 * calc/calc-forms.el (math-parse-date): Try using
3100 `math-parse-iso-date' when it looks like it might be needed.
3101 Allow times of 24:00.
3102 (math-parse-date-validate, math-parse-iso-date-validate): Allow times
3103 of 24:00.
3104
3105 2012-12-30 Glenn Morris <rgm@gnu.org>
3106
3107 * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary):
3108 Remove unnecessary/buggy autoloads (missing interactive). (Bug#13294)
3109 (rmail-summary-displayed, rmail-summary): Declare.
3110 (mairix-rmail-display): Just require rmail.
3111
3112 2012-12-30 Chong Yidong <cyd@gnu.org>
3113
3114 * emacs-lisp/package.el (package-untar-buffer): Improve integrity
3115 check for the tarball contents.
3116
3117 2012-12-30 Matt Fidler <matt.fidler@alcon.com> (tiny change)
3118
3119 * emacs-lisp/package.el (package-untar-buffer): Handle problematic
3120 tarfile content listings (Bug#13136).
3121
3122 2012-12-30 Mark Lillibridge <mark.lillibridge@hp.com>
3123
3124 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
3125 Insert the undecoded text of the message being forwarded. (Bug#9521)
3126
3127 2012-12-30 Michael Albinus <michael.albinus@gmx.de>
3128
3129 * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to
3130 integers, if they are real numbers. (Bug#13282)
3131
3132 * net/tramp-sh.el (tramp-sh-handle-set-file-selinux-context):
3133 Return `t' on success.
3134
3135 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
3136 Add handler for `set-file-selinux-context'.
3137
3138 2012-12-29 Michael Albinus <michael.albinus@gmx.de>
3139
3140 * net/tramp-sh.el (tramp-sh-handle-file-acl): Suppress basic attributes.
3141 (tramp-sh-handle-set-file-acl): Return `t' on success.
3142
3143 2012-12-29 Eli Zaretskii <eliz@gnu.org>
3144
3145 * files.el (backup-buffer-copy, basic-save-buffer-2):
3146 If set-file-extended-attributes fails, fall back on set-file-modes
3147 instead of signaling an error. (Bug#13298)
3148 (basic-save-buffer): Likewise.
3149
3150 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
3151
3152 * progmodes/python.el: Support other commands triggering
3153 python-indent-line so indentation cycling continues to work.
3154 (python-indent-trigger-commands): New defcustom.
3155 (python-indent-line): Use it.
3156
3157 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
3158
3159 * progmodes/python.el (python-shell-send-region): Add blank lines
3160 for non sent code so backtraces remain correct.
3161
3162 2012-12-29 Fabián Ezequiel Gallina <fgallina@cuca>
3163
3164 * progmodes/python.el: Remove cl dependency.
3165 (python-syntax-count-quotes): Replace incf call.
3166 (python-fill-string): Replace setf call.
3167
3168 2012-12-29 Damien Cassou <damien.cassou@gmail.com>
3169
3170 * info.el (info-other-window): New arg, for consistency with info.
3171
3172 2012-12-28 Martin Rudalics <rudalics@gmx.at>
3173
3174 * mail/rmail.el (rmail-maybe-display-summary):
3175 Rewrite (Bug#13066).
3176
3177 2012-12-28 Andreas Schwab <schwab@linux-m68k.org>
3178
3179 * epg.el (epg--start): Modify process-environment locally.
3180
3181 2012-12-28 Daiki Ueno <ueno@gnu.org>
3182
3183 * epg.el: Support pinentry-curses.
3184 Suggested by Werner Koch in
3185 <http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00755.html>.
3186 (epg-agent-file, epg-agent-mtime): New variable.
3187 (epg--start): Record the modified time of gpg-agent socket file,
3188 to restore Emacs frame after pinentry-curses termination.
3189 (epg-wait-for-completion): Restore Emacs frame here.
3190
3191 2012-12-27 Juri Linkov <juri@jurta.org>
3192
3193 * info.el (Info-file-completions): New variable.
3194 (Info-read-node-name-1): Complete node names in the Info file
3195 when a file name is given. Call `Info-build-node-completions'
3196 with a file name.
3197 (Info-build-node-completions): Add new arg `file'. When it is
3198 non-nil, visit it in a temporary buffer and cache its completions in
3199 `Info-current-file-completions'. Move most of the function body to
3200 `Info-build-node-completions-1'.
3201 (Info-build-node-completions-1): New function with the body from
3202 `Info-build-node-completions'. (Bug#12456)
3203
3204 2012-12-27 Juri Linkov <juri@jurta.org>
3205
3206 * frame.el (frame-maximization-style): Remove user option.
3207 (cycle-frame-maximized): Remove function.
3208 (toggle-frame-maximized): Rewrite and bind to M-<f10>.
3209 (toggle-frame-fullscreen): New command bound to <f11> instead of
3210 `toggle-frame-maximized'.
3211 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html
3212
3213 2012-12-27 Michael Albinus <michael.albinus@gmx.de>
3214
3215 * net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.
3216
3217 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
3218 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3219 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
3220 for `file-accessible-directory-p'. (Bug#13275)
3221
3222 2012-12-27 Sam Steingold <sds@gnu.org>
3223
3224 * progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
3225 continuations, see <http://stackoverflow.com/questions/3582436>.
3226
3227 2012-12-27 Dmitry Gutov <dgutov@yandex.ru>
3228
3229 * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
3230 "module" and "def" to have indentation before them.
3231 Regression from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).
3232
3233 * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
3234
3235 2012-12-27 Alan Mackenzie <acm@muc.de>
3236
3237 Speed up fontification where there's large brace blocks.
3238 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
3239 to a call of c-beginning-of-decl-1.
3240
3241 2012-12-27 Vitalie Spinu <spinuvit@gmail.com> (tiny change)
3242
3243 * comint.el (comint-adjust-window-point): New function.
3244 (comint-postoutput-scroll-to-bottom):
3245 Call comint-adjust-window-point (Bug#13248).
3246
3247 2012-12-26 Dmitry Gutov <dgutov@yandex.ru>
3248
3249 * progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
3250 Rakefile regexp.
3251 (auto-mode-alist): Associate .gemspec files with ruby-mode
3252 (https://bugs.ruby-lang.org/issues/5453).
3253
3254 2012-12-26 Jürgen Hötzel <juergen@archlinux.org>
3255
3256 * net/tramp-adb.el (tramp-adb-get-ls-command): New defun.
3257 Suppress coloring, if possible (required for BusyBox based systems like
3258 CyanogenMod).
3259 (tramp-adb-handle-file-attributes)
3260 (tramp-adb-handle-insert-directory)
3261 (tramp-adb-handle-file-name-all-completions): Use it.
3262 (tramp-adb-get-toolbox): New defun. Check for remote shell
3263 implementation (BusyBox or Toolbox).
3264
3265 2012-12-24 Constantin Kulikov <zxnotdead@gmail.com> (tiny change)
3266
3267 * startup.el (initial-buffer-choice): Allow function as value
3268 (Bug#13251).
3269 (command-line-1): Handle case where initial-buffer-choice
3270 specifies a function.
3271 * server.el (server-execute): Handle case where
3272 initial-buffer-choice specifies a function.
3273
3274 2012-12-24 Lars Ingebrigtsen <larsi@gnus.org>
3275
3276 * mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
3277 its own function.
3278 (smtpmail-try-auth-methods): Forget the user name/password if the
3279 login is unsuccessful (bug#12424).
3280
3281 2012-12-22 Michael Albinus <michael.albinus@gmx.de>
3282
3283 * notifications.el (notifications-notify): Protect body with
3284 `with-demoted-errors'.
3285
3286 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
3287 Check properties of remote device. Restart connection, if there is a
3288 change.
3289
3290 2012-12-21 Chong Yidong <cyd@gnu.org>
3291
3292 * sort.el (sort-subr): Doc fix (Bug#13056).
3293
3294 2012-12-21 Bastien Guerry <bzg@gnu.org>
3295
3296 * progmodes/etags.el (tags-search): Fix typo. Bug #13232.
3297
3298 2012-12-21 Michael Albinus <michael.albinus@gmx.de>
3299
3300 * simple.el (process-file): Overwrite stderr file, if exists.
3301
3302 2012-12-21 Daiki Ueno <ueno@gnu.org>
3303
3304 * epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
3305 (epg-error): Set `error-message' property.
3306
3307 2012-12-21 Chong Yidong <cyd@gnu.org>
3308
3309 * international/mule-cmds.el (read-char-by-name): Signal an error
3310 if the user does not supply a valid character (Bug#13177).
3311
3312 * simple.el (transpose-subr-1): Preserve marker positions by
3313 changing the insertion sequence (Bug#13122).
3314
3315 2012-12-21 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
3316
3317 * simple.el (kill-region): Deactivate mark even for empty regions
3318 (Bug#13169).
3319
3320 2012-12-21 Chong Yidong <cyd@gnu.org>
3321
3322 * help-fns.el (describe-variable): Make sure we get the right
3323 buffer name (Bug#13105). Suggested by Kelly Dean.
3324
3325 2012-12-20 Michael R. Mauger <mmaug@yahoo.com>
3326
3327 * comint.el (comint-redirect-previous-input-string): New variable.
3328 (comint-redirect-setup, comint-redirect-cleanup)
3329 (comint-redirect-preoutput-filter): Use it. Fixes redirection bug.
3330 (comint-redirect-preoutput-filter): Fix verbose message.
3331
3332 2012-12-20 Michael Albinus <michael.albinus@gmx.de>
3333
3334 * progmodes/grep.el (rgrep): Escape command line. Sometimes, it
3335 is too long for Tramp. See discussion in
3336 <http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.
3337
3338 * progmodes/compile.el (compilation-start): Remove line escape
3339 template.
3340
3341 2012-12-20 Dmitry Antipov <dmantipov@yandex.ru>
3342
3343 * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
3344 Adjust comment.
3345
3346 2012-12-19 Jonas Bernoulli <jonas@bernoul.li>
3347
3348 * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
3349 following non-comment text (bug#13207).
3350 (lm-header-multiline): Continuation lines need to be indented more than
3351 the first line.
3352 (lm-homepage): New function.
3353 (lm-with-file): Don't be confused if narrowing is in effect.
3354
3355 2012-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
3356
3357 * vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
3358 very beginning of a hunk (e.g. killing the first line).
3359
3360 2012-12-19 Michael Albinus <michael.albinus@gmx.de>
3361
3362 * net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
3363 and text properties from returned ACL string.
3364 (tramp-sh-handle-set-file-acl): Do not use additional parentheses
3365 for "setfacl" command.
3366
3367 2012-12-18 Michael Albinus <michael.albinus@gmx.de>
3368
3369 * net/tramp.el (tramp-error-with-buffer): Give a hint to use
3370 `tramp-cleanup-this-connection', when the process has died.
3371 (Bug#13151)
3372
3373 2012-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
3374
3375 * icomplete.el (icomplete-completions): Also use … to truncate prefix.
3376
3377 2012-12-17 Kevin Ryde <user42@zip.com.au>
3378
3379 * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
3380
3381 2012-12-17 Michael Albinus <michael.albinus@gmx.de>
3382
3383 Add support for preserving ACL entries of files.
3384
3385 * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
3386 `set-file-acl' handlers.
3387
3388 * net/tramp-adb.el (tramp-adb-handle-copy-file):
3389 Handle PRESERVE-EXTENDED-ATTRIBUTES.
3390
3391 * net/tramp-compat.el (tramp-compat-copy-file):
3392 Handle PRESERVE-EXTENDED-ATTRIBUTES.
3393
3394 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
3395 Add `file-acl' and `set-file-acl' handlers.
3396 (tramp-gvfs-handle-copy-file):
3397 Handle PRESERVE-EXTENDED-ATTRIBUTES.
3398 (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
3399 New defuns.
3400
3401 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
3402 Add `file-acl' and `set-file-acl' handlers.
3403 (tramp-remote-acl-p, tramp-sh-handle-file-acl)
3404 (tramp-sh-handle-set-file-acl): New defuns.
3405 (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
3406 Handle PRESERVE-EXTENDED-ATTRIBUTES.
3407
3408 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
3409 Add `file-acl' and `set-file-acl' handlers.
3410 (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
3411
3412 2012-12-17 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
3413
3414 * help-macro.el (make-help-screen): Instead of switch-to-buffer
3415 use pop-to-buffer with NORECORD argument t. As buffer name, use
3416 *Metahelp* with a leading space (Bug#13190).
3417
3418 2012-12-16 Romain Francoise <romain@orebokech.com>
3419
3420 * files.el (file-extended-attributes)
3421 (set-file-extended-attributes): New functions.
3422 (backup-buffer): Use them to handle both SELinux context and ACL
3423 entries.
3424 (backup-buffer-copy): Work with an alist of extended attributes,
3425 rather than an SELinux context.
3426 (basic-save-buffer-2): Ditto.
3427
3428 2012-12-16 Timo Myyrä <timo.myyra@gmail.com>
3429
3430 * battery.el (battery-bsd-apm): New function.
3431
3432 2012-12-16 Jay Belanger <jay.p.belanger@gmail.com>
3433
3434 * calc/calc.el (calc-standard-date-formats): Adjust one of the
3435 standard date formats.
3436
3437 2012-12-15 Juri Linkov <juri@jurta.org>
3438
3439 * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
3440 `isearch-insert-char-by-name'.
3441 (with-isearch-suspended): New defmacro with body mostly from
3442 `isearch-edit-string' except the part that sets
3443 `isearch-new-string' and `isearch-new-message'.
3444 (isearch-edit-string): Use new macro `with-isearch-suspended' with
3445 body that sets `isearch-new-string' and `isearch-new-message'.
3446 (isearch-insert-char-by-name): New command.
3447 * international/mule-cmds.el (read-char-by-name): Let-bind
3448 `enable-recursive-minibuffers' to t.
3449 http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
3450
3451 2012-12-15 Juri Linkov <juri@jurta.org>
3452
3453 * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
3454 (Bug#13175)
3455
3456 2012-12-15 Christopher Schmidt <christopher@ch.ristopher.com>
3457
3458 * dired-x.el (dired-guess-shell-command): Put colon at the end of
3459 the prompt. (Bug#13045)
3460
3461 2012-12-14 Glenn Morris <rgm@gnu.org>
3462
3463 * emacs-lisp/macroexp.el (macroexp--warn-and-return):
3464 Try to include filename in non-bytecomp warning. (Bug#13132)
3465
3466 2012-12-14 Paul Eggert <eggert@cs.ucla.edu>
3467
3468 Fix permissions bugs with setgid directories etc. (Bug#13125)
3469 * files.el (backup-buffer): Don't rely on 9th output of
3470 file-attributes, as it's now a placeholder. Instead, use the new
3471 optional arg of file-ownership-preserved-p.
3472 (file-ownership-preserved-p): New optional arg GROUP.
3473 Fix mishandling of setuid directories that would cause this
3474 function to return t when it should have returned nil.
3475 Document what happens if the file does not exist, and when
3476 it's not known whether the ownership will be preserved.
3477 * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
3478 Likewise.
3479 (tramp-get-local-gid): Use group-gid for integer, as that's
3480 faster and more reliable.
3481
3482 2012-12-14 Julien Danjou <julien@danjou.info>
3483
3484 * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
3485 Update keywords list, data type and PL/pgSQL.
3486
3487 2012-12-14 Dave Abrahams <dave@boostpro.com>
3488
3489 * vc/ediff-util.el (ediff-buffer-type): New function.
3490 (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
3491 rather than taking it as as argument.
3492 (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
3493
3494 2012-12-14 Ryan Crum <ryan.crum@eleostech.com>
3495
3496 * json.el: Add pretty-print option (bug#12634).
3497 (json-encoding-separator, json-encoding-default-indentation)
3498 (json--encoding-current-indentation, json-encoding-pretty-print)
3499 (json-encoding-lisp-style-closings): New vars.
3500 (json--with-indentation): New macro.
3501 (json-encode-hash-table, json-encode-alist, json-encode-plist)
3502 (json-encode-array): Use it to obey json-encoding-pretty-print.
3503 (json-pretty-print-buffer, json-pretty-print): New commands.
3504
3505 2012-12-14 Dmitry Gutov <dgutov@yandex.ru>
3506
3507 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
3508 Extract `ruby-syntax-propertize-expansions'.
3509 (ruby-syntax-propertize-expansions): Only change syntax on
3510 certain string delimiters, to punctuation. This way the common
3511 functions like forward-word and thing-at-point still work.
3512 (ruby-match-expression-expansion): Improve readability.
3513 (ruby-block-contains-point): New function.
3514 (ruby-add-log-current-method): Handle several edge cases.
3515
3516 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
3517
3518 * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
3519 unload-feature finishes even when aborting an ongoing edebug session.
3520 Also, do not worry about edebug-mode, unload-feature takes care of it.
3521
3522 2012-12-13 Andreas Schwab <schwab@suse.de>
3523
3524 * net/tls.el (tls-program): Update customize type.
3525
3526 2012-12-13 Juanma Barranquero <lekktu@gmail.com>
3527
3528 * emacs-lisp/edebug.el (edebug--require-cl-read): New function.
3529 (edebug-setup-hook, cl-read-load-hooks): Use it.
3530 (edebug-unload-function): New function. (Bug#13163)
3531
3532 2012-12-13 Michael Albinus <michael.albinus@gmx.de>
3533
3534 * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst.
3535 Otherwise, there could be errors in autoloading. (Bug#13151)
3536
3537 2012-12-13 Jürgen Hötzel <juergen@archlinux.org>
3538
3539 * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H"
3540 sequences.
3541
3542 2012-12-13 Alan Mackenzie <acm@muc.de>
3543
3544 Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841.
3545 * progmodes/cc-engine.el (c-backward-comments): Add code to work
3546 around `forward-comment' not recognizing ^M as whitespace.
3547
3548 2012-12-13 Fabián Ezequiel Gallina <fgallina@cuca>
3549
3550 * progmodes/python.el (python-skeleton-class)
3551 (python-skeleton-def): Do not add space after defun name.
3552
3553 2012-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
3554
3555 * emacs-lisp/cl.el (letf): Make it an alias of cl-letf.
3556 (cl--symbol-function): Remove (now that funbound is like nil).
3557
3558 2012-12-12 Glenn Morris <rgm@gnu.org>
3559
3560 * button.el (button--area-button-p): Fix typo.
3561
3562 2012-12-12 Sam Steingold <sds@gnu.org>
3563
3564 * frame.el (frame-maximization-style): New user option.
3565 (toggle-frame-maximized): Toggle frame maximization according to
3566 `frame-maximization-style', bound to <f11>.
3567 (cycle-frame-maximized): Cycle between all maximization styles and
3568 non-maximized frame, bound to shift-<f11>.
3569
3570 2012-12-12 David Cadé <codename68@gmail.com>
3571
3572 * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143).
3573
3574 2012-12-12 Jonas Bernoulli <jonas@bernoul.li>
3575
3576 * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115).
3577 (eieio-override-prin1): Don't quote kewords and booleans.
3578 (object-write) <eieio-default-superclass>: Don't put closing parens
3579 on new line, avoid needless empty lines, align values that are objects
3580 with the slot keyword (instead of beginning on the same line).
3581 (eieio-list-prin1): Align value with slot keyword; increase
3582 eieio-print-depth before printing members of the list.
3583
3584 2012-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
3585
3586 * mail/emacsbug.el (report-emacs-bug): Move the intangible text to
3587 a display text-property.
3588 (report-emacs-bug-hook): Don't bother deleting it any more.
3589
3590 * hilit-chg.el (highlight-save-buffer-state): Delete.
3591 Use with-silent-modifications instead.
3592 (hilit-chg-set-face-on-change): Only fixup the text that's modified.
3593
3594 * button.el: Handle buttons in display text-properties.
3595 (button--area-button-p, button--area-button-string):
3596 Use (STRING . STRING-POS) representation instead of just STRING.
3597
3598 2012-12-11 Eli Zaretskii <eliz@gnu.org>
3599
3600 * makefile.w32-in (compile4-SH): Fix a typo that caused term
3601 subdirectory be skipped.
3602
3603 2012-12-11 Glenn Morris <rgm@gnu.org>
3604
3605 * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes.
3606
3607 * progmodes/f90.el (f90-line-continued, f90-indent-region):
3608 Treat preprocessor lines embedded in continuations like comments.
3609 (f90-indent-line): Special-case preprocessor lines. (Bug#13138)
3610
3611 2012-12-11 Jay Belanger <jay.p.belanger@gmail.com>
3612
3613 * calc/calc.el (calc-standard-date-formats): Add more date
3614 formats.
3615 * calc/calc-forms.el (math-parse-iso-date): New function.
3616 (math-parse-date): Use `math-parse-iso-date' when appropriate.
3617 (math-parse-iso-date-validate): Add extra error checking.
3618 (calc-date-notation): Add ability to access new date formats.
3619
3620 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
3621
3622 * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for
3623 font-lock as well as when there's no text-property.
3624
3625 2012-12-10 Jambunathan K <kjambunathan@gmail.com>
3626
3627 * hi-lock.el: Refine the choice of default face.
3628 (hi-lock-keyword->face): New function. Use it wherever we used
3629 cadadadr instead.
3630 (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock.
3631 (hi-lock--last-face): Remove var.
3632 (hi-lock--unused-faces): New var to replace it.
3633 (hi-lock-read-face-name): Use/maintain it.
3634 (hi-lock-unface-buffer): Maintain it. Fix error for the C-u case.
3635 (hi-lock-set-pattern): Ignore new rule if it has the same regexp even
3636 if it has another face.
3637
3638 2012-12-10 Eli Zaretskii <eliz@gnu.org>
3639
3640 * subr.el (w32notify-handle-event): New function.
3641 (inotify-handle-event): Doc fix.
3642
3643 2012-12-10 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3644
3645 * subr.el (inotify-event-p, inotify-handle-event): New functions.
3646
3647 2012-12-10 Dani Moncayo <dmoncayo@gmail.com>
3648
3649 * simple.el (just-one-space): Doc fix.
3650
3651 2012-12-10 Eli Zaretskii <eliz@gnu.org>
3652
3653 * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample".
3654
3655 2012-12-10 Le Wang <l26wang@gmail.com>
3656
3657 * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in
3658 narrowed buffer (bug#12361).
3659
3660 2012-12-10 Juanma Barranquero <lekktu@gmail.com>
3661
3662 * vc/vc-hooks.el (vc-state): Doc fix.
3663
3664 2012-12-10 Glenn Morris <rgm@gnu.org>
3665
3666 * mail/rmail.el (rmail-maybe-display-summary):
3667 Preserve buffer, in case select-window changes it. (Bug#13066)
3668
3669 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
3670
3671 * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and
3672 cl-load-hook where they belong.
3673
3674 2012-12-10 Stefan Monnier <monnier@iro.umontreal.ca>
3675
3676 * emacs-lisp/cl-lib.el (cl-declaim): Paren typo.
3677
3678 2012-12-09 Eli Zaretskii <eliz@gnu.org>
3679
3680 Parallelize byte compilation on MS-Windows.
3681 * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3)
3682 (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts.
3683 (WINS_BASIC): Define as concatenation of the above.
3684 (compile): Subdivide into 4 separate and independent jobs that can
3685 be run in parallel.
3686 (compile0-CMD, compile0-SH): New targets for compiling
3687 COMPILE_FIRST files, which are prerequisites for the rest of the
3688 byte-compilation.
3689 (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD):
3690 New targets for parallel compilation with cmd.exe.
3691 (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for
3692 compiling under a Unixy shell.
3693
3694 2012-12-09 Chong Yidong <cyd@gnu.org>
3695
3696 * simple.el (set-mark-default-inactive): Delete this
3697 accidentally-introduced option.
3698 (set-mark-command, exchange-point-and-mark): Remove calls.
3699
3700 2012-12-09 Glenn Morris <rgm@gnu.org>
3701
3702 * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix.
3703 Respect a defcustom's :set function, if appropriate. (Bug#109)
3704 (eval-defun): Doc fix.
3705
3706 2012-12-08 Juri Linkov <juri@jurta.org>
3707
3708 * info.el (Info-copy-current-node-name, Info-breadcrumbs)
3709 (Info-fontify-node, Info-bookmark-make-record): Remove the
3710 file extension from Info-current-file (Bug#13016).
3711
3712 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
3713
3714 * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at
3715 point, still provide some default.
3716 (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face
3717 names, since we don't use it right now. Actually return the list.
3718 (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local.
3719
3720 2012-12-07 Chong Yidong <cyd@gnu.org>
3721
3722 * novice.el (disabled-command-function): Remove a spurious help
3723 xref (Bug#13043). Suggested by Kelly Dean.
3724
3725 * subr.el (text-clone-maintain): Fix clone overlay deletion when a
3726 syntax is specified (Bug#13025).
3727
3728 * info.el (Info-set-mode-line): Remove the file extension from
3729 Info-current-file if there is one (Bug#13016).
3730
3731 2012-12-07 Glenn Morris <rgm@gnu.org>
3732
3733 * mail/rmail.el (rmail-mime-decoded): New permanent local.
3734 (rmail-show-message-1): Set rmail-mime-decoded when appropriate.
3735 * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format
3736 and rmail-mime-decoded. (Bug#9841)
3737
3738 * mail/unrmail.el (unrmail-mbox-format): New option. (Bug#6574)
3739 (batch-unrmail, unrmail): Doc fixes.
3740 (unrmail): Respect unrmail-mbox-format.
3741 * mail/rmail.el (rmail-mbox-format): New option.
3742 (rmail-show-message-1): Respect rmail-mbox-format.
3743
3744 2012-12-07 Stefan Monnier <monnier@iro.umontreal.ca>
3745
3746 * emacs-lisp/cl-macs.el (cl-tagbody): New macro.
3747
3748 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3749
3750 Further cleanup of the "cl-" namespace. Fit CL in 80 columns.
3751 * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety)
3752 (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause)
3753 (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack)
3754 (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix.
3755 (cl-progv): Don't rely on dynamic scoping to find the body.
3756 * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety)
3757 (cl--proclaims-deferred): Rename from the "cl-" prefix.
3758 (cl-declaim): Use backquotes.
3759 * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p):
3760 Use "cl--" prefix for the object's tag.
3761
3762 * ses.el: Use advice-add/remove.
3763 (ses--advice-copy-region-as-kill, ses--advice-yank): New functions.
3764 (copy-region-as-kill, yank): Use advice-add.
3765 (ses-unload-function): Use advice-remove.
3766
3767 2012-12-06 Jonas Bernoulli <jonas@bernoul.li>
3768
3769 * button.el: Make them work in header-lines (bug#12817).
3770 (button-map): Add bindings for header-line and mode-line use.
3771 (button-get, button-put, button-label): `button' may now be a string.
3772 (button-activate): Don't make it a defsubst.
3773 (button--area-button-p, button--area-button-string): New functions.
3774 (make-text-button): Fix the return value when `beg' was a string.
3775 (push-button): Handle the mode-line case.
3776
3777 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3778
3779 * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup.
3780 (sql-signum): Remove. Use `cl-signum' instead.
3781 (sql-read-passwd): Remove; use read-passwd instread.
3782 (sql-get-login-ext): Use read-string.
3783 (sql-get-login): Use dolist and pcase.
3784 (sql--completion-table): Rename from sql-try-completion.
3785 Use complete-with-action.
3786 (sql-mode): Don't change abbrev-all-caps globally.
3787 (sql-connect): Don't rely on dynamic scoping for `new-name'.
3788 (sql-postgres-completion-object): Initialize vars in their `let'.
3789 (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql)
3790 (sql-comint-solid, sql-comint-ms, sql-comint-postgres)
3791 (sql-comint-interbase): Use a single append, without setq.
3792 (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var.
3793
3794 * hi-lock.el: Rework the default face and the serialize regexp code.
3795 (hi-lock--auto-select-face-defaults): Remove.
3796 (hi-lock-string-serialize-serial): Remove.
3797 (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash;
3798 make weak.
3799 (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an
3800 equal string.
3801 (hi-lock-set-pattern): Adjust accordingly.
3802 (hi-lock--regexps-at-point): Simplify accordingly.
3803 (hi-lock--auto-select-face-defaults): Remove.
3804 (hi-lock--last-face): New var to replace it.
3805 (hi-lock-read-face-name): Rewrite (bug#11095).
3806 (hi-lock-unface-buffer): Arrange for the face to be the next default.
3807
3808 2012-12-06 Michael Albinus <michael.albinus@gmx.de>
3809
3810 * net/tramp.el (tramp-replace-environment-variables):
3811 Hide compiler warning.
3812 (tramp-file-name-for-operation): Remove `executable-find',
3813 `start-process', `call-process' and `call-process-region'.
3814
3815 * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc.
3816
3817 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward
3818 compatibility.
3819
3820 * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'.
3821
3822 2012-12-06 Chong Yidong <cyd@gnu.org>
3823
3824 * ffap.el (ffap-replace-file-component): Fix typo.
3825
3826 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3827
3828 * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and
3829 fix open-paren-like token test (bug#12785).
3830
3831 2012-12-06 Glenn Morris <rgm@gnu.org>
3832
3833 * mail/rmailsum.el (rmail-new-summary): Tweak for
3834 rmail-maybe-display-summary changing buffer. (Bug#13066)
3835
3836 2012-12-06 Juri Linkov <juri@jurta.org>
3837
3838 * info.el (Info-fontify-node): Don't hide the last newline.
3839 (Bug#12272)
3840
3841 2012-12-06 Katsumi Yamaoka <yamaoka@jpl.org>
3842
3843 * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer
3844 so as to enable message-read-from-minibuffer to expand mail aliases.
3845
3846 2012-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
3847
3848 * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with
3849 the `intangible' property.
3850 Suggested by Christopher Schmidt <christopher@ch.ristopher.com>
3851
3852 2012-12-05 Deniz Dogan <deniz@dogan.se>
3853
3854 * net/rcirc.el (rcirc-urls): Update documentation.
3855 (rcirc-condition-filter): New function.
3856 (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point
3857 and exclude consecutive duplicate URLs (Bug#6082).
3858
3859 2012-12-05 Michael Albinus <michael.albinus@gmx.de>
3860
3861 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
3862 Check return code of copy command.
3863
3864 * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt):
3865 Use group `tramp'. Add version.
3866
3867 2012-12-05 Chong Yidong <cyd@gnu.org>
3868
3869 * ffap.el (ffap-url-regexp): Don't require matching at front of
3870 string (Bug#4952).
3871 (ffap-url-p): If only a substring matches, return that.
3872 (ffap-url-at-point): Use the return value of ffap-url-p.
3873 (ffap-read-file-or-url, ffap-read-file-or-url-internal)
3874 (find-file-at-point, dired-at-point, dired-at-point-prompter)
3875 (ffap-guess-file-name-at-point): Likewise.
3876 (ffap-replace-file-component): Fix typo.
3877
3878 * info.el (info-display-manual): Add existing Info buffers, whose
3879 files may not be in Info-directory-list, to the completion.
3880 (info--manual-names): New helper function.
3881
3882 2012-12-05 Glenn Morris <rgm@gnu.org>
3883
3884 * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook):
3885 New functions, for detecting and resolving conflicts. (Bug#10709)
3886
3887 2012-12-04 Jambunathan K <kjambunathan@gmail.com>
3888
3889 * hi-lock.el (hi-lock-auto-select-face): New user variable.
3890 (hi-lock-auto-select-face-defaults): New buffer local variable.
3891 (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'.
3892 (hi-lock-unface-buffer): Prompt user with useful defaults.
3893 With prefix arg, unhighlight all hi-lock patterns in buffer.
3894
3895 2012-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
3896
3897 * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info.
3898
3899 2012-12-04 Michael Albinus <michael.albinus@gmx.de>
3900
3901 * Makefile.in (TRAMP_SRC):
3902 * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el.
3903
3904 2012-12-04 Juergen Hoetzel <juergen@archlinux.org>
3905
3906 * net/tramp-adb.el: New package.
3907
3908 2012-12-04 Chong Yidong <cyd@gnu.org>
3909
3910 * terminal.el: Move to obsolete/.
3911
3912 * longlines.el: Move to obsolete/.
3913
3914 * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3):
3915 Remove code referring to longlines mode.
3916
3917 2012-12-03 Juri Linkov <juri@jurta.org>
3918
3919 * sort.el (delete-duplicate-lines): New command. (Bug#13032)
3920
3921 2012-12-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3922
3923 * textmodes/ispell.el (ispell-init-process)
3924 (ispell-start-process, ispell-internal-change-dictionary):
3925 Make sure personal dictionary name is expanded after initial
3926 `default-directory' value. Use expanded strings for
3927 keep/restart checks and for value (Bug#13019).
3928
3929 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
3930
3931 * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number.
3932
3933 2012-12-03 Leo Liu <sdl.web@gmail.com>
3934
3935 * files.el (dir-locals-read-from-file): Check file non-empty
3936 before reading. (Bug#13038)
3937
3938 2012-12-03 Glenn Morris <rgm@gnu.org>
3939
3940 * jka-cmpr-hook.el (jka-compr-get-compression-info):
3941 Remove any version extension before checking filename. (Bug#13006)
3942 (jka-compr-compression-info-list): Belated :version bump.
3943
3944 2012-12-03 Chong Yidong <cyd@gnu.org>
3945
3946 * simple.el (transient-mark-mode): Doc fix (Bug#11523).
3947
3948 * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode)
3949 (buffer-menu): Doc fix (Bug#12294).
3950
3951 2012-12-03 Roland Winkler <winkler@gnu.org>
3952
3953 * calendar/diary-lib.el (diary-header-line-format): Use keybinding
3954 of diary-show-all-entries in the diary buffer (Bug#12994).
3955
3956 2012-12-03 Michael Albinus <michael.albinus@gmx.de>
3957
3958 * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of
3959 "<STDIN>". This is binary safe.
3960
3961 2012-12-03 Jay Belanger <jay.p.belanger@gmail.com>
3962
3963 * calc/calc-forms.el (math-absolute-from-iso-dt)
3964 (math-date-to-iso-dt, math-parse-iso-date-validate)
3965 (math-iso-dt-to-date): New functions.
3966 (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek)
3967 (math-fd-isoweekday): New variables.
3968 (calc-date-notation, math-parse-standard-date, math-format-date)
3969 (math-format-date-part): Add support for more formatting codes.
3970
3971 2012-12-02 Dmitry Gutov <dgutov@yandex.ru>
3972
3973 * vc/vc.el (vc-delete-file, vc-rename-file): Default to the
3974 current buffer's file name when called interactively (Bug#12488).
3975
3976 2012-12-02 Juri Linkov <juri@jurta.org>
3977
3978 * info.el (info-display-manual): Don't clobber an existing Info
3979 buffer (Bug#10770). Add completion (Bug#10771).
3980
3981 2012-12-01 Yuya Nishihara <yuya@tcha.org> (tiny change)
3982
3983 * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename
3984 before using it for comparison (Bug#5297).
3985
3986 2012-12-01 Jari Aalto <jari.aalto@cante.net>
3987
3988 * textmodes/css-mode.el (css-current-defun-name): New function.
3989 (css-mode): Use it.
3990
3991 * textmodes/sgml-mode.el (html-current-defun-name): New function.
3992 (html-mode): Use it.
3993
3994 2012-12-01 Chong Yidong <cyd@gnu.org>
3995
3996 Modularize add-log-current-defun (Bug#2224).
3997 Suggested by Jari Aalto.
3998
3999 * vc/add-log.el (add-log-current-defun-function): Doc fix.
4000 (add-log-current-defun): Move mode-specific code to other files.
4001 (add-log-lisp-like-modes, add-log-c-like-modes)
4002 (add-log-tex-like-modes): Variables deleted.
4003
4004 * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New.
4005 (lisp-mode-variables): Use it.
4006
4007 * progmodes/cc-mode.el (c-common-init):
4008 * progmodes/cperl-mode.el (cperl-mode): Set a value for
4009 add-log-current-defun-function.
4010
4011 * progmodes/m4-mode.el (m4-current-defun-name): New function.
4012 (m4-mode): Use it.
4013
4014 * progmodes/perl-mode.el (perl-current-defun-name): New.
4015 (perl-mode): Use it.
4016
4017 * progmodes/scheme.el (scheme-mode-variables, dsssl-mode):
4018 Use lisp-current-defun-name.
4019
4020 * textmodes/tex-mode.el (tex-current-defun-name): New.
4021 (tex-common-initialization): Use it.
4022
4023 * textmodes/texinfo.el (texinfo-current-defun-name): New.
4024 (texinfo-mode): Use it.
4025
4026 2012-12-01 Chong Yidong <cyd@gnu.org>
4027
4028 * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode):
4029 * progmodes/autoconf.el (autoconf-mode):
4030 * progmodes/js.el (js-mode):
4031 * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode)
4032 (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse):
4033 * progmodes/perl-mode.el (perl-mode):
4034 * progmodes/sh-script.el (sh-mode, sh-set-shell):
4035 * textmodes/css-mode.el (css-mode):
4036 * textmodes/sgml-mode.el (html-mode, sgml-mode)
4037 (sgml-tags-invisible, sgml-guess-indent):
4038 * textmodes/tex-mode.el (tex-common-initialization)
4039 (latex-complete-bibtex-keys, tex-shell, tex-main-file)
4040 (doctex-mode, plain-tex-mode, latex-mode):
4041 * textmodes/texinfo.el (texinfo-mode): Use setq-local.
4042
4043 2012-12-01 Kirk Kelsey <kirk.kelsey@0x4b.net>
4044
4045 * vc/vc-hg.el (vc-hg-next-revision):
4046 Ensure use of default "tip" output format. (Bug#6968)
4047
4048 2012-12-01 Kim F. Storm <storm@cua.dk>
4049
4050 * startup.el (fancy-startup-tail): Add a clickable link
4051 (Bug#2176).
4052
4053 2012-12-01 Chong Yidong <cyd@gnu.org>
4054
4055 * startup.el (fancy-startup-tail): Improve the message about
4056 auto-save files (Bug#2176).
4057
4058 * files.el (recover-session): Improve the descriptive message, and
4059 use substitute-command-keys.
4060
4061 2012-12-01 Glenn Morris <rgm@gnu.org>
4062
4063 * ido.el (ido-file-internal):
4064 Handle other-window, other-frame for dired. (Bug#13036)
4065
4066 2012-11-30 Glenn Morris <rgm@gnu.org>
4067
4068 * icomplete.el (icomplete-separator): Fix :version.
4069
4070 2012-11-30 Chong Yidong <cyd@gnu.org>
4071
4072 * shell.el (shell): For C-u M-x shell, use an inactive shell
4073 buffer as the default (Bug#1975).
4074 (shell-apply-ansi-color, shell-reapply-ansi-color): New functions.
4075 (shell-mode): Use them to reapply ansi colorization if Shell mode
4076 is re-enabled.
4077
4078 2012-11-30 Yuriy Vostrikov <delamonpansie@gmail.com> (tiny change)
4079
4080 * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137).
4081
4082 2012-11-30 Samuel Bronson <naesten@gmail.com>
4083
4084 * progmodes/grep.el (grep-compute-defaults): Do not pass the -e
4085 flag to xargs, for compatibility with BSD xargs (Bug#11703).
4086
4087 2012-11-30 Toru TSUNEYOSHI <t_tuneyosi@hotmail.com>
4088
4089 * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot
4090 by move-to-column (Bug#3234).
4091
4092 2012-11-30 Chong Yidong <cyd@gnu.org>
4093
4094 * longlines.el (longlines-wrap-line, longlines-encode-region):
4095 Preserve text properties (Bug#1425).
4096
4097 2012-11-30 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
4098
4099 * vc/vc.el (vc-register): Allow registering a file which is
4100 already registered with a different backend (Bug#10589).
4101
4102 2012-11-29 Jambunathan K <kjambunathan@gmail.com>
4103 Stefan Monnier <monnier@iro.umontreal.ca>
4104
4105 * icomplete.el: Change separator; add ido-style commands.
4106 (icomplete-show-key-bindings): Remove custom var.
4107 (icomplete-get-keys): Remove function.
4108 (icomplete-forward-completions, icomplete-backward-completions):
4109 New commands.
4110 (icomplete-minibuffer-map): New var.
4111 (icomplete-minibuffer-setup): Use it.
4112 (icomplete-exhibit): Don't delay if the list of completions is known.
4113 (icomplete-separator): New custom.
4114 (icomplete-completions): Use it.
4115 * minibuffer.el (completion-all-sorted-completions): Delete duplicates.
4116 (minibuffer-force-complete-and-exit): New command.
4117 (minibuffer--complete-and-exit): New function extracted from
4118 minibuffer-complete-and-exit.
4119 (minibuffer-complete-and-exit): Use it.
4120
4121 * progmodes/etags.el (visit-tags-table-buffer): Give a more precise
4122 error message when the file doesn't exist (bug#12974).
4123
4124 2012-11-29 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
4125
4126 * simple.el (activate-mark): Run activate-mark-hook (bug#13027).
4127
4128 2012-11-29 Glenn Morris <rgm@gnu.org>
4129
4130 * files.el (hack-dir-local-variables): Warn if try to set
4131 coding via dir-locals, since it doesn't work. (Bug#7169)
4132
4133 Add desktop support for restoring vc-dir buffers. (Bug#10606)
4134 * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore).
4135 Set buffer-local value of desktop-save-buffer.
4136 (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer):
4137 New functions.
4138 (desktop-buffer-mode-handlers): Add vc-dir-mode entry.
4139 * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired.
4140
4141 * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610)
4142 (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case.
4143 Doc fix.
4144 (inhibit-local-variables-regexps, inhibit-local-variables-suffixes):
4145 Doc fixes.
4146
4147 2012-11-28 Jay Belanger <jay.p.belanger@gmail.com>
4148
4149 * calc/calc-forms.el (calc-date-notation): Fix regexp
4150 used to find time codes. Fix symbol for seconds.
4151
4152 2012-11-27 Glenn Morris <rgm@gnu.org>
4153
4154 * emacs-lisp/derived.el (derived-mode-make-docstring):
4155 Don't mention "abbrev" or "syntax" if nil. (Bug#11277)
4156
4157 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
4158
4159 * textmodes/table.el (table-insert): Don't use `symbol-name' on
4160 lexically scoped variables (bug#13005).
4161
4162 2012-11-27 Glenn Morris <rgm@gnu.org>
4163
4164 * vc/vc-hooks.el (vc-mistrust-permissions):
4165 Default to t, to avoid data-loss. (Bug#11490)
4166
4167 2012-11-27 Fabián Ezequiel Gallina <fgallina@cuca>
4168
4169 * progmodes/python.el (python-indent-guess-indent-offset):
4170 If indentation is guessed make python-indent-offset buffer-local.
4171
4172 Fix Imenu regression.
4173 * progmodes/python.el (python-nav-beginning-of-defun):
4174 Fix forward movement when statement(s) separates point from defun.
4175 (python-imenu-prev-index-position): New function.
4176
4177 2012-11-27 Eli Zaretskii <eliz@gnu.org>
4178
4179 * subr.el (buffer-file-type): Declare with defvar-local. Doc fix.
4180
4181 * dos-w32.el (find-file-not-found-set-buffer-file-coding-system):
4182 Don't set buffer-file-type. Return nil. (Bug#12989)
4183
4184 2012-11-27 Glenn Morris <rgm@gnu.org>
4185
4186 * hippie-exp.el (hippie-expand-try-functions-list):
4187 Re-autoload it. (Bug#12982)
4188
4189 2012-11-27 Eli Zaretskii <eliz@gnu.org>
4190
4191 * descr-text.el (describe-char-padded-string):
4192 Call internal-char-font only on GUI frames. (Bug#11964)
4193
4194 2012-11-27 Andreas Schwab <schwab@linux-m68k.org>
4195
4196 * buff-menu.el (Buffer-menu-buffer+size-width): Fix customize type
4197 and obsoletion message.
4198
4199 2012-11-27 Stefan Monnier <monnier@iro.umontreal.ca>
4200
4201 * emacs-lisp/cl-macs.el (cl--transform-lambda): Add back `declare' in
4202 the constructs to keep outside of the `cl-block' (bug#12977).
4203
4204 2012-11-27 Chong Yidong <cyd@gnu.org>
4205
4206 * mouse.el (mouse-drag-line): Even if the line is not draggable,
4207 keep reading until we get the up-event anyway, in order to process
4208 the up-event for mouse-1-click-follows-link (Bug#12971).
4209
4210 2012-11-26 Stefan Monnier <monnier@iro.umontreal.ca>
4211
4212 * emacs-lisp/advice.el (ad-should-compile): Don't compile advice if the
4213 base function is not yet defined (bug#12965).
4214 (ad-activate-advised-definition): Use ad-compile-function.
4215 (ad-activate): Use cond.
4216
4217 2012-11-25 Leo Liu <sdl.web@gmail.com>
4218
4219 * textmodes/sgml-mode.el (sgml-tag): Fix indentation for closing tag.
4220 (Bug#12979)
4221
4222 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
4223
4224 * textmodes/reftex-parse.el (reftex-parse-from-file): Use variable
4225 reftex-section-info-function in order to be compatible with
4226 Texinfo integration.
4227
4228 * textmodes/reftex.el (reftex-section-pre-regexp)
4229 (reftex-section-post-regexp, reftex-section-info-function):
4230 New variable.
4231 (reftex-compile-variables): Use variables reftex-section-pre-regexp,
4232 reftex-section-post-regexp, and reftex-section-info-function in order
4233 to be compatible with Texinfo integration.
4234
4235 * textmodes/reftex-toc.el (reftex-toc-promote-action):
4236 use reftex-section-pre-regexp variable in order to be compatible with
4237 Texinfo integration.
4238
4239 2012-11-25 Chong Yidong <cyd@gnu.org>
4240
4241 * faces.el: Make face-spec-set more analogous to setq.
4242 (face-spec-set): Change the third arg to specify whether this
4243 function is being called via defface, customize, or a third party.
4244 Set the appropriate symbol properties. Clear the override spec if
4245 setting via Custom. Initialize face if necessary. (Bug#4988)
4246 (face-spec-recalc): Allow theme faces to completely replace the
4247 defface spec, in the same way as custom faces (Bug#8454).
4248
4249 * cus-face.el (custom-declare-face): Move face initialization to
4250 face-spec-set.
4251 (custom-theme-set-faces): Don't initialize the face name here, as
4252 that is now done in face-spec-set.
4253
4254 * cus-edit.el (custom-face-set, custom-face-mark-to-save)
4255 (custom-face-reset-saved, custom-face-mark-to-reset-standard):
4256 Simplify by using the new arg to face-spec-set.
4257
4258 * emacs-lisp/lisp-mode.el (eval-defun-1): When evaluating defface,
4259 reset face-override-spec too, and use custom-declare-face.
4260
4261 2012-11-24 Jan Djärv <jan.h.d@swipnet.se>
4262
4263 * term/ns-win.el (ns-initialize-window-system): Move creation of
4264 fontsets here (Bug#11964).
4265
4266 2012-11-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
4267
4268 * ses.el (ses-rename-cell): Correct bug on mode-line update after
4269 cell renaming.
4270
4271 2012-11-24 Chong Yidong <cyd@gnu.org>
4272
4273 * woman.el (woman-default-faces, woman-monochrome-faces): Mark as
4274 obsolete.
4275
4276 * custom.el (custom-theme-set-variables): Use a topological sort
4277 for ordering by custom dependencies (Bug#12952).
4278 (custom--sort-vars, custom--sort-vars-1): New functions.
4279
4280 2012-11-24 Stefan Monnier <monnier@iro.umontreal.ca>
4281
4282 * emacs-lisp/bytecomp.el (byte-compile-file): Setup default value for
4283 lexical-binding (bug#12938).
4284
4285 2012-11-24 Wolfgang Jenkner <wjenkner@inode.at>
4286
4287 * image-mode.el (image-transform-check-size): Use assertions only
4288 for images of type imagemagick.
4289
4290 Otherwise no error, image-transform-fit-to-{width,height} is
4291 silently ignored, as before. Doc fix.
4292
4293 2012-11-24 Chong Yidong <cyd@gnu.org>
4294
4295 * faces.el (color-defined-p): Doc fix (Bug#12853).
4296
4297 2012-11-24 Juri Linkov <juri@jurta.org>
4298
4299 * dired.el (dired-mark): Add optional arg `interactive'.
4300 Check for `use-region-p' if `interactive' is non-nil.
4301 (dired-unmark, dired-flag-file-deletion): Add optional arg
4302 `interactive'. Call `dired-mark' with the arg `interactive'.
4303 (Bug#10624)
4304
4305 * wdired.el: Revert 2012-10-17 change partly and replace it with
4306 Patch by Christopher Schmidt <christopher@ch.ristopher.com>.
4307 (wdired-finish-edit): Add marks for new file names to
4308 `wdired-old-marks'. Restore marks using `dired-mark-remembered'
4309 after `revert-buffer'.
4310 (wdired-do-renames): Remove calls to `dired-remove-file',
4311 `dired-add-file', `dired-add-entry'. (Bug#11795)
4312
4313 2012-11-24 Alan Mackenzie <acm@muc.de>
4314
4315 * progmodes/cc-defs.el (c-version): Bump to 5.32.4.
4316
4317 Fix bugs in the state cache. Enhance a debugging mechanism.
4318 * progmodes/cc-engine.el (c-parse-state-get-strategy): Don't use
4319 "brace at column zero" strategy for C++.
4320 (c-append-lower-brace-pair-to-state-cache): Repair algorithm.
4321 (c-parse-state-point): New variable.
4322 (c-record-parse-state-state): Record old parse state with
4323 `copy-tree'. Record previous value of point.
4324 (c-debug-parse-state-double-cons): New debugging function.
4325 (c-debug-parse-state): Call the above new function.
4326 (c-toggle-parse-state-debug): Output a confirmatory message.
4327
4328 * progmodes/cc-mode.el (c-before-change, c-after-change):
4329 Call c-invalidate-state-cache from `c-before-change' instead of
4330 `c-after-change'.
4331
4332 2012-11-23 Chong Yidong <cyd@gnu.org>
4333
4334 * find-cmd.el (find-constituents): Add executable, ipath,
4335 readable, samefile, writable, daystart, regextype (Bug#12856).
4336
4337 2012-11-23 Stefan Monnier <monnier@iro.umontreal.ca>
4338
4339 * emacs-lisp/ert.el, emacs-lisp/ert-x.el: Use cl-lib and lexical-binding.
4340
4341 2012-11-22 Paul Eggert <eggert@cs.ucla.edu>
4342
4343 * calc/calc.el (calc-gregorian-switch): Move to after calc-refresh
4344 definition. This fixes a bootstrap failure.
4345 (calc-gregorian-switch): In menu, put dates before regions.
4346 This is easier to follow, lines up better in the menu, and lets us
4347 coalesce regions that switch at the same time. Give country
4348 names, not "Vatican", as that's better for non-expert users.
4349 Use names that are stable between the date of switch and now, e.g.,
4350 Bohemia and Moravia (which existed then and now) and not
4351 Czechoslovakia (which didn't exist then and doesn't exist now).
4352 What is now the U.S. mostly did not switch at the same time as
4353 Britain, so omit the U.S. Correct spelling of "Britain".
4354 Catholic Switzerland was too much of a mess, so omit it.
4355
4356 2012-11-22 Jay Belanger <jay.p.belanger@gmail.com>
4357
4358 * calc/calc.el (calc-gregorian-switch): Refresh the Calc buffer
4359 after the variable is changed.
4360
4361 2012-11-21 Daniel Colascione <dancol@dancol.org>
4362
4363 * progmodes/sql.el (sql-mode-font-lock-object-name): Support IF NOT EXISTS
4364 in SQL declarations for font-lock.
4365 (sql-imenu-generic-expression): Teach imenu about IF NOT EXISTS.
4366
4367 2012-11-21 Glenn Morris <rgm@gnu.org>
4368
4369 * faces.el (face-underline-p, face-inverse-video-p, face-bold-p)
4370 (face-italic-p): Add optional argument "inherit".
4371
4372 * faces.el (set-face-inverse-video, set-face-bold, set-face-italic):
4373 Remove -p suffix from names, for consistency with other set-face-*.
4374 (set-face-inverse-video): Fix interactive spec.
4375 * play/gamegrid.el (gamegrid-make-mono-tty-face):
4376 * textmodes/table.el (table--update-cell-face):
4377 Use set-face-inverse-video rather than now obsolete alias.
4378
4379 2012-11-21 Eli Zaretskii <eliz@gnu.org>
4380
4381 * simple.el (line-move): Don't call line-move-partial if
4382 scroll-conservatively is in effect. (Bug#12927)
4383
4384 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4385
4386 * eshell/em-cmpl.el (eshell-pcomplete): Refine fix for bug#12838:
4387 Fallback on completion-at-point rather than
4388 pcomplete-expand-and-complete, and only if pcomplete actually failed.
4389 (eshell-cmpl-initialize): Setup completion-at-point.
4390
4391 * pcomplete.el (pcomplete--entries): Obey pcomplete-ignore-case.
4392
4393 * emacs-lisp/ert.el (ert--expand-should-1): Adapt to cl-lib.
4394
4395 2012-11-21 Michael Albinus <michael.albinus@gmx.de>
4396
4397 * net/tramp-sh.el (tramp-do-copy-or-rename-file): If both files
4398 are remote, check out-of-band property for both.
4399
4400 2012-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
4401
4402 * window.el (switch-to-buffer): Re-add the warning that was lost in the
4403 code rewrite.
4404
4405 2012-11-21 Paul Eggert <eggert@cs.ucla.edu>
4406
4407 More minor time fixes.
4408 * calendar/time-date.el: Commentary fix.
4409 * net/tramp-sh.el (tramp-do-file-attributes-with-ls): Undo last change;
4410 too much other code depends on (0 0) time stamps.
4411 * net/tramp.el (tramp-time-less-p, tramp-time-subtract):
4412 Add a couple of FIXME comments.
4413
4414 Minor cleanup for times as lists of four integers.
4415 * files.el (dir-locals-directory-cache):
4416 * ps-bdf.el (bdf-file-mod-time, bdf-read-font-info):
4417 Doc fixes.
4418 * net/tramp-sh.el (tramp-do-file-attributes-with-ls):
4419 * ps-bdf.el (bdf-file-newer-than-time):
4420 Process four-integers time stamps, not two. Doc fixes.
4421
4422 2012-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
4423
4424 * uniquify.el (uniquify-managed): Use defvar-local.
4425 (rename-buffer, create-file-buffer): Advise with advice-add.
4426 (uniquify-unload-function): Unadvise accordingly.
4427
4428 * emacs-lisp/trace.el: Rewrite, use nadvice and lexical-binding.
4429 (trace-buffer): Don't purecopy.
4430 (trace-entry-message, trace-exit-message): Add `context' arg.
4431 (trace--timer): New var.
4432 (trace-make-advice): Adjust for use in nadvice.
4433 Add `context' argument. Delay `display-buffer' via a timer.
4434 (trace-function-internal): Use advice-add.
4435 (trace--read-args): New function.
4436 (trace-function-foreground, trace-function-background): Use it.
4437 (trace-function): Rename to trace-function-foreground and redefine as
4438 an alias to that new name.
4439 (untrace-function, untrace-all): Adjust to the use of nadvice.
4440
4441 * emacs-lisp/bytecomp.el (byte-compile): Fix handling of closures.
4442
4443 * emacs-lisp/byte-run.el (defun-declarations-alist): Fix last change.
4444
4445 * subr.el (called-interactively-p-functions): New var.
4446 (internal--called-interactively-p--get-frame): New macro.
4447 (called-interactively-p, interactive-p): Rewrite in Lisp.
4448 * emacs-lisp/nadvice.el (advice--called-interactively-skip): New fun.
4449 (called-interactively-p-functions): Use it.
4450 * emacs-lisp/edebug.el (edebug--called-interactively-skip): New fun.
4451 (called-interactively-p-functions): Use it.
4452 * allout.el (allout-called-interactively-p): Don't assume
4453 called-interactively-p is a subr.
4454
4455 2012-11-20 Glenn Morris <rgm@gnu.org>
4456
4457 * profiler.el (profiler-report-mode-map): Add a menu.
4458 No need to bind `q' because we derive from special-mode.
4459 (profiler-report-find-entry): Handle calls from the menu-bar.
4460
4461 2012-11-19 Stefan Monnier <monnier@iro.umontreal.ca>
4462
4463 * emacs-lisp/byte-run.el (defun-declarations-alist):
4464 Allow a compiler-macro to be a lambda expression.
4465
4466 * progmodes/python.el: Use cl-lib. Move var declarations outside of
4467 eval-when-compile.
4468 (python-syntax-context): Add compiler-macro.
4469 (python-font-lock-keywords): Simplify with De Morgan.
4470
4471 * vc/diff-mode.el (diff-hunk): Don't make useless timers.
4472
4473 * files.el (load-file): Require match in minibuffer selection, as was
4474 the case in Emacs-20 before we changed the spec to allow .elc files
4475 (bug#12935).
4476
4477 * json.el: Don't require cl since we don't use it.
4478 * color.el: Don't require cl.
4479 (color-complement): `caddr' -> `nth 2'.
4480
4481 * calendar/time-date.el (time-to-seconds): De-obsolete.
4482
4483 2012-11-19 Jay Belanger <jay.p.belanger@gmail.com>
4484
4485 * calc/calc-forms.el (math-leap-year-p): Fix formula for negative
4486 year numbers.
4487 (math-date-to-julian-dt): Adjust the initial approximation for the
4488 year to deal with the new definition of the DATE.
4489
4490 2012-11-19 Daniel Colascione <dancol@dancol.org>
4491
4492 * term/w32-win.el (cygwin-convert-path-from-windows):
4493 Accomodate rename of cygwin_convert_path* to cygwin_convert_file_name*.
4494
4495 2012-11-18 Chong Yidong <cyd@gnu.org>
4496
4497 * filecache.el (file-cache--read-list): New function.
4498 (file-cache-add-directory-list, file-cache-add-file-list)
4499 (file-cache-delete-file-list, file-cache-delete-directory-list):
4500 Use it to read a list of files or directories (Bug#12846).
4501 (file-cache-add-file, file-cache-add-directory)
4502 (file-cache-delete-file-list, file-cache-delete-file-regexp)
4503 (file-cache-delete-directory): Print an message.
4504
4505 2012-11-18 Jay Belanger <jay.p.belanger@gmail.com>
4506
4507 * calc/calc-forms.el (math-date-to-dt): Use integer date when
4508 calling `math-date-to-julian-dt' and 'math-date-to-gregorian-dt'.
4509
4510 2012-11-18 Glenn Morris <rgm@gnu.org>
4511
4512 * image.el (insert-image, insert-sliced-image): Doc fix.
4513
4514 2012-11-18 Chong Yidong <cyd@gnu.org>
4515
4516 * emacs-lisp/syntax.el (syntax-propertize-function): Doc fix
4517 (Bug#12810).
4518
4519 2012-11-18 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
4520
4521 * vc/vc-svn.el (vc-svn-merge-news): Properly parse the merge
4522 response when the target file is in a subdirectory (Bug#12757).
4523
4524 2012-11-18 Chong Yidong <cyd@gnu.org>
4525
4526 * filecache.el (file-cache-add-file-list): Doc fix (Bug#12694).
4527
4528 2012-11-18 Glenn Morris <rgm@gnu.org>
4529
4530 * emacs-lisp/cl-lib.el (face-underline-p):
4531 Use set-face-underline rather than the alias set-face-underline-p.
4532
4533 * window.el (with-temp-buffer-window): Doc fix.
4534 * subr.el (with-output-to-temp-buffer):
4535 Add doc xref to with-temp-buffer-window.
4536
4537 2012-11-18 Juanma Barranquero <lekktu@gmail.com>
4538
4539 * woman.el (woman-non-underline-faces): Use `set-face-underline'.
4540 * calc/calc.el (math-format-date-cache): Declare.
4541
4542 2012-11-17 Paul Eggert <eggert@cs.ucla.edu>
4543
4544 Calc by default uses the Gregorian calendar for all dates (Bug#12633).
4545 It also uses January 1, 1 AD as its day number 1.
4546 * calc/calc-forms.el (math-julian-date-beginning)
4547 (math-julian-date-beginning-int): Implement this.
4548
4549 2012-11-17 Juanma Barranquero <lekktu@gmail.com>
4550
4551 * descr-text.el (quail-find-key):
4552 * dired.el (desktop-file-name):
4553 * dirtrack.el (shell-prefixed-directory-name, shell-process-cd):
4554 * generic-x.el (comint-mode, comint-exec):
4555 * image-dired.el (widget-forward):
4556 * info.el (speedbar-add-expansion-list, speedbar-center-buffer-smartly)
4557 (speedbar-change-expand-button-char)
4558 (speedbar-change-initial-expansion-list, speedbar-delete-subblock)
4559 (speedbar-make-specialized-keymap, speedbar-make-tag-line):
4560 * printing.el (easy-menu-add-item, easy-menu-remove-item)
4561 (widget-field-action, widget-value-set):
4562 * speedbar.el (imenu--make-index-alist):
4563 * term.el (ring-empty-p, ring-ref, ring-insert-at-beginning)
4564 (ring-length, ring-insert):
4565 * vcursor.el (compare-windows-skip-whitespace):
4566 * woman.el (dired-get-filename):
4567 Declare functions.
4568
4569 * term/w32-win.el (cygwin-convert-path-from-windows): Fix declaration.
4570
4571 2012-11-17 Jay Belanger <jay.p.belanger@gmail.com>
4572
4573 * calc/calc.el (calc-gregorian-switch): New variable.
4574
4575 * calc/calc-forms.el (math-day-in-year, math-dt-before-p)
4576 (math-absolute-from-gregorian-dt, math-absolute-from-julian-dt)
4577 (math-date-to-julian-dt, math-date-to-gregorian-dt): New functions.
4578 (math-leap-year-p): Add option to distinguish between Julian
4579 and Gregorian calendars.
4580 (math-day-number): Use `math-day-in-year' to do the computations.
4581 (math-absolute-from-dt): Rename from `math-absolute-from-date'.
4582 Use `math-absolute-from-gregorian' and `math-absolute-from-julian'
4583 to do the computations.
4584 (math-date-to-dt): Use `math-date-to-julian-dt' and
4585 `math-date-to-gregorian-dt' to do the computations.
4586 (calcFunc-weekday, math-format-date-part): Use the new version of
4587 the DATE to determine the weekday.
4588 (calcFunc-newmonth, calcFunc-newyear): Use `calc-gregorian-switch'
4589 when necessary.
4590
4591 2012-11-17 Eli Zaretskii <eliz@gnu.org>
4592
4593 * term/w32-win.el (w32-handle-dropped-file): Use 'file://' only on
4594 Cygwin; otherwise use 'file:'. (Bug#12914)
4595 (cygwin-convert-path-from-windows): Declare, to avoid
4596 byte-compiler warnings.
4597
4598 2012-11-17 Andreas Politz <politza@fh-trier.de>
4599
4600 * ibuffer.el (ibuffer-mark-forward, ibuffer-unmark-forward)
4601 (ibuffer-unmark-backward, ibuffer-mark-interactive): Support plain
4602 prefix and negative numeric prefix args (Bug#12795).
4603
4604 2012-11-17 Stephen Berman <stephen.berman@gmx.net>
4605
4606 * play/gamegrid.el (gamegrid-add-score-with-update-game-score-1):
4607 Don't signal an error with a score that is too low to add to the
4608 list of top scores. (Bug#12779)
4609
4610 2012-11-17 Chong Yidong <cyd@gnu.org>
4611
4612 * help-mode.el (help-xref-interned): End on point-min (Bug#12737).
4613
4614 * filecache.el (file-cache-add-file): Handle relative file name in
4615 the argument (Bug#12694).
4616
4617 2012-11-16 Jürgen Hötzel <juergen@archlinux.org> (tiny change)
4618
4619 * eshell/em-unix.el (eshell/mkdir): Handle "--parents" (bug#12897).
4620
4621 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
4622
4623 * emacs-lisp/advice.el (ad-make-advised-definition): Improve last fix.
4624
4625 * emacs-lisp/cl-lib.el: Set more meaningful version number.
4626
4627 2012-11-16 Martin Rudalics <rudalics@gmx.at>
4628
4629 * window.el (enlarge-window, shrink-window): Don't mention return
4630 value in doc-string (Bug#12896).
4631 (window--display-buffer): Don't resize frames - it won't work
4632 with all window managers and defeat pop-up-frame-alist.
4633 (display-buffer-alist): In doc-string explain that CONDITION can
4634 be a function and which arguments are passed to it (Bug#12854).
4635 (display-buffer-assq-regexp): New argument ACTION. Handle lambda
4636 expressions (Bug#12854).
4637 (display-buffer): Pass ACTION argument to
4638 display-buffer-assq-regexp.
4639
4640 2012-11-16 Glenn Morris <rgm@gnu.org>
4641
4642 * window.el (fit-frame-to-buffer-bottom-margin)
4643 (fit-frame-to-buffer, fit-window-to-buffer): Doc fixes.
4644
4645 * faces.el (face-underline-p): Use face-attribute-specified-or.
4646
4647 2012-11-16 Juanma Barranquero <lekktu@gmail.com>
4648
4649 * emacs-lisp/cl-macs.el (cl-loop, cl-do, cl-do*): Doc fixes.
4650
4651 2012-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
4652
4653 * emacs-lisp/cl-macs.el (cl-flet, cl-flet*): Fix docstring (bug#12895).
4654
4655 2012-11-16 Glenn Morris <rgm@gnu.org>
4656
4657 * eshell/em-cmpl.el (eshell-pcomplete): New command. (Bug#12838)
4658 (eshell-cmpl-initialize): Bind eshell-pcomplete to TAB, C-i.
4659
4660 * faces.el (face-underline-p): Doc fix. Handle :underline being
4661 things other than `t' (a string, a list).
4662 (face-inverse-video-p): Doc fix.
4663 (set-face-underline): Rename it back from set-face-underline-p.
4664 Doc fix. Allow interactive input of values other than t.
4665 (read-face-attribute): Apply formatting to :underline,
4666 since like :box and :stipple it can take list values.
4667
4668 * term.el (ansi-term): Don't let C-x escape-char binding
4669 clobber the more standard C-c binding. (Bug#12842)
4670
4671 * subr.el (set-temporary-overlay-map): Doc fix.
4672
4673 2012-11-16 Martin Rudalics <rudalics@gmx.at>
4674
4675 * window.el (record-window-buffer)
4676 (display-buffer-record-window): When copying the markers to
4677 window-point preserve window-point-insertion-type. (Bug#12588)
4678
4679 2012-11-16 Glenn Morris <rgm@gnu.org>
4680
4681 * emacs-lisp/eieio-datadebug.el (eieio-debug-methodinvoke):
4682 * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error):
4683 Use new names for hooks rather than obsolete aliases.
4684
4685 2012-11-15 Daniel Colascione <dancol@dancol.org>
4686
4687 * term/w32-win.el (w32-handle-dropped-file): Use a "file://"
4688 prefix instead of "file:" so that when FILE-NAME begins with "//",
4689 as it does when the target file is on a network share, url-handler
4690 isn't confused.
4691
4692 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
4693
4694 * emacs-lisp/advice.el (ad-definition-type): Make sure we don't use
4695 a preactivated advice from an old advice.el; they're not compatible!
4696
4697 2012-11-15 Katsumi Yamaoka <yamaoka@jpl.org>
4698
4699 * emacs-lisp/nadvice.el (advice--make-interactive-form):
4700 Fix string-spec case.
4701
4702 * emacs-lisp/advice.el (ad-make-advised-definition): Fix undefined case.
4703
4704 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
4705
4706 * emacs-lisp/nadvice.el: Add buffer-local support to add-function.
4707 (advice--buffer-local-function-sample): New var.
4708 (advice--set-buffer-local, advice--buffer-local): New functions.
4709 (add-function, remove-function): Use them.
4710
4711 2012-11-15 Drew Adams <drew.adams@oracle.com>
4712
4713 * imenu.el (imenu--split-submenus): Use imenu--subalist-p (bug#12717).
4714
4715 2012-11-15 Stefan Monnier <monnier@iro.umontreal.ca>
4716
4717 * emacs-lisp/cl-macs.el (cl--transform-lambda): Defend against
4718 potential binding of print-gensym to t, and prettify (back)quotes in
4719 case they appear in args's default values (bug#12884).
4720
4721 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4722
4723 * emacs-lisp/nadvice.el: Add around advice for interactive specs.
4724 (advice-eval-interactive-spec): New function.
4725 (advice--make-interactive-form): Support around advice (bug#12844).
4726
4727 2012-11-14 Dmitry Gutov <dgutov@yandex.ru>
4728
4729 * progmodes/ruby-mode.el (ruby-expr-beg): Make heredoc detection
4730 more strict. Add docstring.
4731 (ruby-expression-expansion-re): Extract from
4732 `ruby-match-expression-expansion'.
4733 (ruby-syntax-propertize-function): After everything else, search
4734 for expansions in string literals, mark their insides as
4735 whitespace syntax and save match data for font-lock.
4736 (ruby-font-lock-keywords): Use the 2nd group from expression
4737 expansion matches.
4738 (ruby-match-expression-expansion): Use the match data saved to the
4739 text property in ruby-syntax-propertize-function.
4740
4741 2012-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4742
4743 * emacs-lisp/gv.el (setf): Fix debug spec for multiple assignments
4744 (bug#12879).
4745
4746 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
4747
4748 * progmodes/ruby-mode.el (ruby-move-to-block): Looks for a block
4749 start/end keyword a bit harder. Works with different values of N.
4750 Add more comments.
4751 (ruby-end-of-block): Update accordingly.
4752
4753 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
4754
4755 * woman.el (woman-file-name): Don't mess with unread-command-events
4756 (bug#12861).
4757
4758 * emacs-lisp/advice.el: Layer on top of nadvice.el.
4759 Remove out of date self-require hack.
4760 (ad-do-advised-functions): Use simple `dolist'.
4761 (ad-advice-name, ad-advice-protected, ad-advice-enabled)
4762 (ad-advice-definition): Redefine as functions.
4763 (ad-advice-classes): Move before first use.
4764 (ad-make-origname, ad-set-orig-definition, ad-clear-orig-definition)
4765 (ad-make-mapped-call, ad-make-advised-docstring,ad-make-plain-docstring)
4766 (ad--defalias-fset): Remove functions.
4767 (ad-make-advicefunname, ad-clear-advicefunname-definition): New funs.
4768 (ad-get-orig-definition): Rewrite.
4769 (ad-make-advised-definition-docstring): Change base docstring.
4770 (ad-real-orig-definition): Rewrite.
4771 (ad-map-arglists): Change name of called function.
4772 (ad--make-advised-docstring): Redirect `function' from ad-Advice-...
4773 (ad-make-advised-definition): Simplify.
4774 (ad-assemble-advised-definition): Tweak for new calling context.
4775 (ad-activate-advised-definition): Setup ad-Advice-* i.s.o ad-Orig-*.
4776 (ad--defalias-fset): Rename from ad-handle-definition. Make it set the
4777 function and call ad-activate if needed.
4778 (ad-activate, ad-deactivate): Don't call ad-handle-definition any more.
4779 (ad-recover): Clear ad-Advice-* instead of ad-Orig-*.
4780 (ad-compile-function): Compile ad-Advice-*.
4781 (ad-activate-on-top-level, ad-with-auto-activation-disabled): Remove.
4782 (ad-start-advice, ad-stop-advice): Remove.
4783
4784 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
4785
4786 * progmodes/ruby-mode.el (ruby-add-log-current-method): Print the
4787 period before class method names, not after. Remove handling of
4788 one impossible case. Add comments.
4789
4790 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
4791
4792 * emacs-lisp/advice.el: Remove support for freezing.
4793 (ad-make-freeze-docstring, ad-make-freeze-definition): Remove functions.
4794 (ad-make-single-advice-docstring, ad-defadvice-flags, defadvice):
4795 Remove support for `freeze'.
4796
4797 * emacs-lisp/cl.el (dolist, dotimes, declare): Use advice-add to
4798 override the default.
4799 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Rewrite without using
4800 cl--dotimes/dolist.
4801 * subr.el (dolist, dotimes, declare): Redefine them normally, even when
4802 `cl' is loaded.
4803
4804 * emacs-lisp/nadvice.el (advice--normalize): New function, extracted
4805 from add-advice.
4806 (advice--strip-macro): New function.
4807 (advice--defalias-fset): Use them to handle macros.
4808 (advice-add): Use them.
4809 (advice-member-p): Correctly handle macros.
4810
4811 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
4812
4813 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
4814 Never font-lock the beginning of singleton class as heredoc.
4815
4816 2012-11-13 Stefan Monnier <monnier@iro.umontreal.ca>
4817
4818 * emacs-lisp/gv.el (gv-define-simple-setter): One more fix (bug#12871).
4819
4820 2012-11-13 Wolfgang Jenkner <wjenkner@inode.at>
4821
4822 * ansi-color.el (ansi-color-apply-sequence): Implement SGR codes
4823 39 and 49 (bug#12792). Also, treat unimplemented parameters as 0,
4824 thereby restoring the behavior of revisions prior to 2012-08-15T03:33:55Z!monnier@iro.umontreal.ca.
4825
4826 2012-11-13 Fabián Ezequiel Gallina <fgallina@cuca>
4827
4828 Fix end-of-defun misbehavior.
4829 * progmodes/python.el (python-nav-beginning-of-defun): Rename from
4830 python-beginning-of-defun-function. Handle nested defuns
4831 correctly.
4832 (python-nav-end-of-defun): Rename from
4833 python-end-of-defun-function. Ensure forward movement.
4834 (python-info-current-defun): Reimplement to work as intended
4835 with new fixed python-nav-{end,beginning}-of-defun. Stop scanning
4836 parent defuns as soon as possible.
4837
4838 2012-11-13 Glenn Morris <rgm@gnu.org>
4839
4840 * progmodes/flymake.el (flymake-error-bitmap)
4841 (flymake-warning-bitmap, flymake-fringe-indicator-position): Doc fixes.
4842 (flymake-error-bitmap, flymake-warning-bitmap): Fix :types.
4843
4844 2012-11-13 Dmitry Gutov <dgutov@yandex.ru>
4845
4846 * progmodes/ruby-mode.el (ruby-move-to-block): When moving
4847 backward, always stop at indentation. Reverts the change from
4848 2012-08-12T22:06:56Z!monnier@iro.umontreal.ca (Bug#12851).
4849
4850 2012-11-13 Glenn Morris <rgm@gnu.org>
4851
4852 * ibuffer.el (ibuffer-mode-map, ibuffer-mode):
4853 Add ibuffer-filter-by-derived-mode.
4854
4855 * ibuffer.el (ibuffer-mode-map): Don't have two menu items with
4856 the same name shadowing each other.
4857
4858 * window.el (with-temp-buffer-window): Doc tweak.
4859
4860 * emacs-lisp/debug.el (debugger-bury-or-kill): Doc tweak.
4861
4862 * help.el (temp-buffer-max-height):
4863 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-bottom-margin):
4864 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix :version.
4865
4866 2012-11-12 Stefan Monnier <monnier@iro.umontreal.ca>
4867
4868 * emacs-lisp/nadvice.el: New package.
4869 * subr.el (special-form-p): New function.
4870 * emacs-lisp/elp.el: Use lexical-binding and advice-add.
4871 (elp-all-instrumented-list): Remove var.
4872 (elp-not-profilable): Remove elp-wrapper.
4873 (elp-profilable-p): Use autoloadp and special-form-p.
4874 (elp--advice-name): New const.
4875 (elp-instrument-function): Use advice-add.
4876 (elp--instrumented-p): New predicate.
4877 (elp-restore-function): Use advice-remove.
4878 (elp-restore-all, elp-reset-all): Use mapatoms.
4879 (elp-set-master): Use elp--instrumented-p.
4880 (elp--make-wrapper): Rename from elp-wrapper, return a function
4881 suitable for advice-add. Use cl-inf.
4882 (elp-results): Use mapatoms+elp--instrumented-p.
4883 * emacs-lisp/debug.el: Use lexical-binding and advice-add.
4884 (debug-function-list): Remove var.
4885 (debug): Rename arg, and then let-bind it explicitly inside.
4886 (debugger-setup-buffer): Rename arg.
4887 (debugger-setup-buffer): Adjust counts to new debug-on-entry setup.
4888 (debugger-frame-number): Adjust to new debug-on-entry setup.
4889 (debug--implement-debug-on-entry): Rename from
4890 implement-debug-on-entry, add argument.
4891 (debugger-special-form-p): Remove, use special-form-p instead.
4892 (debug-on-entry): Use advice-add.
4893 (debug--function-list): New function.
4894 (cancel-debug-on-entry): Use it, along with advice-remove.
4895 (debug-arglist, debug-convert-byte-code, debug-on-entry-1): Remove.
4896 (debugger-list-functions): Use debug--function-list instead of
4897 debug-function-list.
4898 * emacs-lisp/advice.el (ad-save-real-definition): Remove, unused.
4899 (ad-special-form-p): Remove, use special-form-p instead.
4900 (ad-set-advice-info): Use add-function and remove-function.
4901 (ad--defalias-fset): Adjust accordingly.
4902
4903 2012-11-10 Glenn Morris <rgm@gnu.org>
4904
4905 * mail/emacsbug.el (report-emacs-bug-tracker-url)
4906 (report-emacs-bug-bug-alist, report-emacs-bug-choice-widget)
4907 (report-emacs-bug-create-existing-bugs-buffer)
4908 (report-emacs-bug-parse-query-results)
4909 (report-emacs-bug-query-existing-bugs): Remove. (Bug#7449)
4910
4911 * term.el (term-default-fg-color, term-default-bg-color):
4912 Make obsolete, rather than just saying "deprecated" in the doc.
4913
4914 * term.el (term): Rename from `term-face'.
4915 (term-current-face, ansi-term-color-vector)
4916 (term-default-fg-color, term-default-bg-color, term-ansi-reset):
4917 Update all users.
4918
4919 2012-11-10 Jan Djärv <jan.h.d@swipnet.se>
4920
4921 * server.el (server-create-window-system-frame): Handle Nextstep
4922 specially (Bug#12780).
4923
4924 2012-11-10 Glenn Morris <rgm@gnu.org>
4925
4926 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs):
4927 Unautoload, and make obsolete. (Bug#7449)
4928
4929 2012-11-10 Chong Yidong <cyd@gnu.org>
4930
4931 * vc/diff-mode.el (diff-delete-trailing-whitespace): Rewrite, and
4932 rename from diff-remove-trailing-whitespace (Bug#12831).
4933
4934 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
4935
4936 * emacs-lisp/advice.el: Require `cl-lib' at run-time to fix
4937 miscompilation of trace.el.
4938
4939 2012-11-10 Glenn Morris <rgm@gnu.org>
4940
4941 * vc/diff-mode.el (diff-remove-trailing-whitespace): Doc fix.
4942
4943 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
4944
4945 * emacs-lisp/gv.el (gv-define-simple-setter): Fix last change
4946 (bug#12812).
4947
4948 2012-11-10 Chong Yidong <cyd@gnu.org>
4949
4950 * minibuf-eldef.el (minibuffer-eldef-shorten-default): Convert to
4951 a defcustom with an appropriate :set function.
4952 (minibuffer-default--in-prompt-regexps): New function.
4953
4954 2012-11-10 Glenn Morris <rgm@gnu.org>
4955
4956 * emacs-lisp/cl.el (define-setf-expander, defsetf)
4957 (define-modify-macro): Doc fixes.
4958
4959 * emacs-lisp/gv.el (gv-letplace): Fix doc typo.
4960 (gv-define-simple-setter): Update doc of `fix-return'.
4961
4962 2012-11-10 Stefan Monnier <monnier@iro.umontreal.ca>
4963
4964 * emacs-lisp/gv.el (gv-define-simple-setter): Don't evaluate `val'
4965 twice when `fix-return' is set (bug#12813).
4966
4967 * emacs-lisp/cl.el (defsetf): Pass the third arg to
4968 gv-define-simple-setter (bug#12812).
4969
4970 * woman.el (woman-decode-region): Disable adaptive-fill when rendering
4971 (bug#12756).
4972
4973 2012-11-10 Glenn Morris <rgm@gnu.org>
4974
4975 * emacs-lisp/gv.el (gv-define-setter): Fix doc typo.
4976
4977 * emacs-lisp/cl-extra.el (cl-prettyexpand):
4978 * emacs-lisp/cl-lib.el (cl-proclaim, cl-declaim):
4979 * emacs-lisp/cl-macs.el (cl-destructuring-bind, cl-locally)
4980 (cl-the, cl-compiler-macroexpand): Add basic doc strings.
4981
4982 * emacs-lisp/cl-extra.el (cl-maplist, cl-mapcan): Doc fix.
4983
4984 2012-11-10 Leo Liu <sdl.web@gmail.com>
4985
4986 * ido.el (ido-set-matches-1): Improve flex matching performance by
4987 removing backtracking in the regexp (suggested by Stefan). (Bug#12796)
4988
4989 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4990
4991 * emacs-lisp/advice.el (ad-set-advice-info): Set defalias-fset-function.
4992 (ad--defalias-fset): New function.
4993 (ad-safe-fset): Remove.
4994 (ad-make-freeze-definition): Use cl-letf*.
4995
4996 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
4997
4998 * subr.el (dolist): Don't bind VAR in RESULT.
4999
5000 * emacs-lisp/advice.el: Miscellaneous cleanup. Use lexical-binding.
5001 (fset, documentation): Don't save real def since we don't advise.
5002 (ad-do-advised-functions): Remove problematic `result-form'.
5003 (ad-safe-fset): `ad-real-fset' => `fset'.
5004 (ad-read-advised-function): Don't assume that ad-do-advised-functions
5005 uses CL's dolist internally.
5006 (ad-arglist): Remove unused arg `name'.
5007 (ad-docstring, ad-make-advised-docstring):
5008 `ad-real-documentation' => `documentation'.
5009 (warning-suppress-types): Declare.
5010 (ad-set-arguments): Simple CSE.
5011 (ad-recover-normality): Sanity check.
5012
5013 * emacs-lisp/bytecomp.el (byte-compile-out-toplevel): Don't turn
5014 (funcall '(lambda ..) ..) into ((lambda ..) ..).
5015
5016 2012-11-09 Vincent Belaïche <vincentb1@users.sourceforge.net>
5017
5018 * ses.el: symbol to coordinate mapping is made by symbol property
5019 `ses-cell'. This means that the same mapping is done for all SES
5020 sheets. That is good enough for cells with standard A1 names, but
5021 not for named cell. So a hash map is added for the latter.
5022 (defconst ses-localvars): Add local variable ses--named-cell-hashmap
5023 (ses-sym-rowcol): Use hashmap for named cell.
5024 (ses-is-cell-sym-p): New defun.
5025 (ses-decode-cell-symbol): New defun.
5026 (ses-create-cell-variable): Add cell to hashmap when name is not
5027 A1-like.
5028 (ses-rename-cell): Check that cell new name is not already in
5029 spreadsheet with the use of ses-is-cell-sym-p
5030 (ses-rename-cell): Use hash map for named cells, but accept also
5031 renaming back to A1-like.
5032
5033 2012-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
5034
5035 * emacs-lisp/advice.el: Use new dynamic docstrings.
5036 (ad-make-advised-definition-docstring, ad-advised-definition-p):
5037 Use dynamic-docstring-function instead of ad-advice-info.
5038 (ad--make-advised-docstring): New function extracted from
5039 ad-make-advised-docstring.
5040 (ad-make-advised-docstring): Use it.
5041 * progmodes/sql.el (sql--make-help-docstring): New function, extracted
5042 from sql-help.
5043 (sql-help): Use it with dynamic-docstring-function.
5044
5045 * env.el (env--substitute-vars-regexp): Don't use rx (for bootstrap).
5046
5047 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5048
5049 * files.el (hack-one-local-variable--obsolete): New function.
5050 (hack-one-local-variable): Use it for obsolete settings.
5051
5052 * subr.el (locate-user-emacs-file): If both old and new name exist, use
5053 the new name.
5054
5055 * progmodes/js.el (js--filling-paragraph): New var.
5056 (c-forward-sws, c-backward-sws, c-beginning-of-macro): Advise.
5057 (js-c-fill-paragraph): Prefer advice to cl-letf so the rebinding is
5058 less sneaky.
5059
5060 2012-11-08 Julien Danjou <julien@danjou.info>
5061
5062 * progmodes/ruby-mode.el (auto-mode-alist): Add Rakefile in
5063 `auto-mode-alist' (Bug#12835).
5064
5065 2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
5066
5067 * progmodes/perl-mode.el (perl-prettify-symbols): New defcustom.
5068 (perl--prettify-symbols-alist): New const.
5069 (perl--font-lock-compose-symbol, perl--font-lock-symbols-keywords):
5070 New functions.
5071 (perl-font-lock-keywords-2): Use them.
5072 (perl-electric-noindent-p): New function.
5073 (perl-mode): Use it to set up electric-indent-mode.
5074 (perl-electric-terminator, perl-indent-command): Mark obsolete.
5075 (perl-mode-map): Remove bindings for them.
5076 (perl-imenu-generic-expression, perl-outline-level):
5077 Match functions&packages in column>0.
5078
5079 * env.el (env--substitute-vars-regexp): New const.
5080 (substitute-env-vars): Use it. Add `only-defined' arg.
5081 * net/tramp.el (tramp-replace-environment-variables): Use it.
5082
5083 * emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
5084 Byte-compile *before* eval in eval-and-compile.
5085 (byte-compile-log-warning): Remove redundant inhibit-read-only.
5086 (byte-compile-file-form-autoload): Don't hide actual definition.
5087 (byte-compile-maybe-guarded): Accept `functionp' as well.
5088
5089 * emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
5090
5091 2012-11-07 Michael Albinus <michael.albinus@gmx.de>
5092
5093 * notifications.el (notifications-get-server-information-method):
5094 New defconst.
5095 (notifications-get-capabilities): Fix docstring.
5096 (notifications-get-server-information): New defun.
5097
5098 2012-11-06 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5099
5100 * textmodes/ispell.el (ispell-region): Standard re-indent for better
5101 readability.
5102
5103 * textmodes/ispell.el: Experimental support for support debugging.
5104 (ispell-create-debug-buffer): Create a `ispell-debug-buffer' debug
5105 buffer for ispell.
5106 (ispell-print-if-debug): New function to print stuff to
5107 `ispell-debug-buffer' if debugging is enabled.
5108 (ispell-region, ispell-process-line): Use `ispell-print-if-debug' to
5109 show some debugging info.
5110 (ispell-buffer-with-debug): New function that creates a debugging
5111 buffer and calls `ispell-buffer' with debugging enabled.
5112
5113 * textmodes/ispell.el (ispell-region): Do not prefix sent string by
5114 comment in autoconf mode. (Bug#12768)
5115
5116 2012-11-06 Dmitry Antipov <dmantipov@yandex.ru>
5117
5118 * emacs-lisp/byte-opt.el (toplevel): Add compare-window-configurations,
5119 frame-first-window, frame-root-window, frame-selected-window,
5120 minibuffer-selected-window, minibuffer-window,
5121 window-absolute-pixel-edges, window-at, window-body-height,
5122 window-body-width, window-display-table, window-combination-limit,
5123 window-frame, window-fringes, window-inside-absolute-pixel-edges,
5124 window-inside-edges, window-inside-pixel-edges, window-left-child,
5125 window-left-column, window-margins, window-next-buffers,
5126 window-next-sibling, window-new-normal, window-new-total,
5127 window-normal-size, window-parameter, window-parameters, window-parent,
5128 window-pixel-edges, window-point, window-prev-buffers,
5129 window-prev-sibling, window-redisplay-end-trigger, window-scroll-bars,
5130 window-start, window-text-height, window-top-child, window-top-line,
5131 window-total-height, window-total-width and window-use-time to the list
5132 of functions without side-effects.
5133 (toplevel): Add window-valid-p to the list of error-free functions
5134 without side-effects.
5135
5136 2012-11-05 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5137
5138 * textmodes/ispell.el (ispell-program-name):
5139 Update spellchecker parameters when customized.
5140
5141 2012-11-04 Glenn Morris <rgm@gnu.org>
5142
5143 * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850)
5144
5145 2012-11-04 Chong Yidong <cyd@gnu.org>
5146
5147 * bookmark.el (bookmark-bmenu-switch-other-window): Avoid binding
5148 same-window-* variables.
5149
5150 2012-11-04 Juri Linkov <juri@jurta.org>
5151
5152 * isearch.el (isearch-help-for-help, isearch-describe-bindings)
5153 (isearch-describe-key, isearch-describe-mode): Use a display
5154 action instead of binding same-window-* variables (Bug#10040).
5155
5156 2012-11-03 Glenn Morris <rgm@gnu.org>
5157
5158 * emacs-lisp/cl-macs.el (cl-parse-loop-clause):
5159 Rename handler properties back from cl-- to cl-. (Bug#12788)
5160
5161 * emacs-lisp/cl-macs.el (cl-do-all-symbols): Add doc string.
5162
5163 2012-11-03 Eli Zaretskii <eliz@gnu.org>
5164
5165 * term/pc-win.el: Don't load term/internal from here.
5166
5167 * loadup.el: Load term/internal from here.
5168
5169 2012-11-03 Fabián Ezequiel Gallina <fgallina@cuca>
5170
5171 * progmodes/python.el (inferior-python-mode): Fix hang in
5172 jit-lock (Bug#12645).
5173
5174 2012-11-03 Martin Rudalics <rudalics@gmx.at>
5175
5176 * window.el (switch-to-visible-buffer)
5177 (switch-to-buffer-preserve-window-point): Fix doc-strings.
5178
5179 2012-11-03 Glenn Morris <rgm@gnu.org>
5180
5181 * emacs-lisp/cl-lib.el (cl--random-time):
5182 Rename from cl-random-time. (Bug#12773)
5183 (cl--gensym-counter, cl--random-state): Update callers.
5184 * emacs-lisp/cl-extra.el (cl-make-random-state): Update callers.
5185
5186 2012-11-03 Chong Yidong <cyd@gnu.org>
5187
5188 * cus-start.el: Make cursor-type customizable (Bug#11633).
5189
5190 2012-11-02 Glenn Morris <rgm@gnu.org>
5191
5192 * filecache.el: No need to load find-lisp when compiling.
5193 (find-lisp-find-files): Autoload it.
5194 (file-cache-add-directory-recursively): Don't require find-lisp.
5195
5196 * image.el (image-type-from-file-name): Trivial simplification.
5197
5198 * emacs-lisp/bytecomp.el (byte-compile-eval):
5199 Decouple "noruntime" and "cl-functions" warnings.
5200
5201 2012-11-01 Stephen Berman <stephen.berman@gmx.net>
5202
5203 * play/gomoku.el (gomoku-display-statistics): Update mode line
5204 only if in Gomoku buffer; don't capitalize "won" (Bug#12771).
5205
5206 2012-10-31 Martin Rudalics <rudalics@gmx.at>
5207
5208 * window.el (quit-restore-window): If the window has been
5209 created on an existing frame and ended up as the sole window on
5210 that frame, do not delete it (Bug#12764).
5211
5212 2012-10-31 Stefan Monnier <monnier@iro.umontreal.ca>
5213
5214 * progmodes/sh-script.el (sh--inside-noncommand-expression):
5215 Rename from sh--inside-arithmetic-expression, handle more cases
5216 (bug#11263).
5217
5218 * progmodes/sh-script.el (sh--inside-arithmetic-expression): New func.
5219 (sh-font-lock-open-heredoc): Use it (bug#12770).
5220
5221 2012-10-30 Glenn Morris <rgm@gnu.org>
5222
5223 * emacs-lisp/cl-extra.el (cl-mapc): Add autoload cookie. Doc fix.
5224
5225 * emacs-lisp/cl.el (letf): Doc fix. (Bug#12760)
5226
5227 2012-10-29 Chong Yidong <cyd@gnu.org>
5228
5229 * isearch.el (isearch-other-meta-char): Ensure that a reprocessed
5230 function key is stored in a keyboard macro (Bug#4894).
5231
5232 * thingatpt.el (number-at-point): Apply a thing-at-point property.
5233
5234 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5235
5236 * vc/diff-mode.el (diff-context->unified): Don't get confused by "hunk
5237 header comments".
5238 (diff-unified->context, diff-context->unified)
5239 (diff-reverse-direction, diff-fixup-modifs): Use `use-region-p'.
5240
5241 * emacs-lisp/cl.el (letf): Add missing indent rules (bug#12759).
5242
5243 * files.el (find-alternate-file): Only ask one question (bug#12487).
5244
5245 2012-10-29 Chong Yidong <cyd@gnu.org>
5246
5247 * vc/vc-hooks.el (vc-file-clearprops): Kill vc-parent-buffer.
5248 Suggested by Dan Nicolaescu (Bug#6326).
5249
5250 * info.el (Info-complete-menu-item): Avoid duplicates (Bug#12705).
5251
5252 * startup.el (fancy-about-screen): Don't message (Bug#12680).
5253
5254 * thingatpt.el (thing-at-point): Doc fix (Bug#12691).
5255
5256 * imenu.el (imenu): Inhibit push-mark message (Bug#12726).
5257
5258 * face-remap.el (face-remap-add-relative): Handle the case where a
5259 face-remapping-alist entry is a cons cell (Bug#12762).
5260
5261 2012-10-29 Kevin Ryde <user42@zip.com.au>
5262
5263 * woman.el (woman-parse-numeric-value): Handle picas correctly
5264 (Bug#12639).
5265
5266 2012-10-29 Glenn Morris <rgm@gnu.org>
5267
5268 * emacs-lisp/cl.el (defsetf): Doc fix.
5269
5270 2012-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
5271
5272 * progmodes/sh-script.el (sh-font-lock-paren): Also put punctuation
5273 syntax to the matching opener, if any (bug#12547).
5274 (sh-smie-sh-forward-token, sh-smie-sh-backward-token): Recognize this
5275 matching open as a "case-(".
5276 (sh-smie-rc-grammar): Add a corresponding rule for it.
5277
5278 2012-10-28 Daniel Hackney <dan@haxney.org>
5279
5280 * emacs-lisp/package.el (package-generate-autoloads): Kill buffer
5281 "PKGNAME-autoloads.el" in case we created it.
5282
5283 2012-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
5284
5285 * minibuffer.el (completion--sifn-requote): Rewrite to handle things
5286 like Tramp's "/foo:~bar//baz" -> "/scpc:foo:/baz" mapping (bug#11714).
5287 (completion--twq-all): Disable too-strict assertions.
5288
5289 * tmm.el (tmm-prompt): Use map-keymap (bug#12744).
5290
5291 2012-10-27 Eli Zaretskii <eliz@gnu.org>
5292
5293 * profiler.el (profiler-report-make-entry-part): Fix help-echo
5294 text to match the real keybindings.
5295
5296 2012-10-27 Juri Linkov <juri@jurta.org>
5297
5298 * wdired.el (wdired-keep-marker-rename): New defcustom.
5299 (wdired-do-renames): Use it instead of `dired-keep-marker-rename'.
5300 (Bug#11795)
5301
5302 * dired.el (dired-keep-marker-rename): Add reference to
5303 `wdired-keep-marker-rename' in the docstring.
5304 Add default character value ?R to display initially in
5305 Customization UI instead of ?@.
5306
5307 2012-10-27 Martin Rudalics <rudalics@gmx.at>
5308
5309 * window.el (display-buffer): In doc-string describe
5310 window-height and window-width alist entries.
5311
5312 * time.el (display-time-world): Restore fit-window-to-buffer
5313 behavior.
5314
5315 2012-10-27 Chong Yidong <cyd@gnu.org>
5316
5317 * subr.el (insert-buffer-substring-as-yank): Doc fix.
5318
5319 2012-10-26 Jambunathan K <kjambunathan@gmail.com>
5320
5321 * minibuffer.el (completion-category-overrides): New completion
5322 category `bookmark' (bug#11131).
5323
5324 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
5325
5326 * emacs-lisp/advice.el (ad-assemble-advised-definition):
5327 Silence bogus compiler warnings for ad-do-it.
5328
5329 * bookmark.el (bookmark-completing-read): Set the completion category
5330 to `bookmark' (bug#11131).
5331
5332 2012-10-26 Bastien <bzg@altern.org>
5333 Stefan Monnier <monnier@iro.umontreal.ca>
5334
5335 * face-remap.el: Use lexical-binding.
5336 (text-scale-adjust): Improve docstring. Use itself for the temporary
5337 overlay-map bindings, so as to repeat the "Use..." message each time.
5338
5339 2012-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
5340
5341 * emacs-lisp/macroexp.el (macroexp--expand-all):
5342 Obey byte-compile-warning-enabled-p (bug#12486).
5343
5344 * vc/diff-mode.el (diff-end-of-hunk): Also skip potential "no LF at eol".
5345 (diff-refine-hunk): Similarly, handle the "no LF at eol" (bug#12584).
5346
5347 2012-10-26 Martin Rudalics <rudalics@gmx.at>
5348
5349 * mouse.el (mouse-drag-line): Move last form into preceding when
5350 clause (Bug#12731).
5351
5352 * help.el (resize-temp-buffer-window): Fix doc-string.
5353
5354 2012-10-25 David Engster <deng@randomsample.de>
5355
5356 * emacs-lisp/eieio.el (eieio-update-lisp-imenu-expression):
5357 Remove. This feature is already integrated in imenu.
5358
5359 * emacs-lisp/eieio-opt.el: Remove require for `button' since it is
5360 always loaded. Require `speedbar' unconditionally.
5361
5362 2012-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
5363
5364 * dired.el (dired-get-marked-files): Allow ! on . and .. (bug#12725).
5365
5366 * minibuffer.el (minibuffer-force-complete): Fix thinko.
5367
5368 * net/ldap.el (ldap-search-internal): The official ldif format starts
5369 with a "version: 1" header (bug#12724).
5370
5371 * emacs-lisp/package.el (package-installed-p): Warn if not ready
5372 (bug#12721).
5373
5374 2012-10-25 Glenn Morris <rgm@gnu.org>
5375
5376 * emacs-lisp/cl-macs.el (cl-progv): Doc fix.
5377
5378 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5379
5380 * minibuffer.el (minibuffer-force-complete): Use one more marker
5381 for the temporary-overlay-map command (bug#12619).
5382
5383 2012-10-24 Chong Yidong <cyd@gnu.org>
5384
5385 * time.el (display-time-world-mode): Derive from special-mode.
5386 (display-time-world): Use display-buffer (Bug#12708).
5387 (display-time-world-mode-map): Variable deleted.
5388 (display-time-world-display): Wrap the final delete-char inside
5389 inhibit-read-only.
5390
5391 2012-10-24 Chong Yidong <cyd@gnu.org>
5392
5393 * dired.el (dired-mark, dired-unmark, dired-flag-file-deletion):
5394 Doc fix.
5395
5396 * emacs-lisp/easymenu.el (easy-menu-define): Doc fix (Bug#12628).
5397
5398 2012-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
5399
5400 * minibuffer.el (completion--all-sorted-completions-location): New var.
5401 (completion--cache-all-sorted-completions)
5402 (completion--flush-all-sorted-completions): Use it.
5403 (completion-in-region, completion-in-region--postch)
5404 (completion-at-point, completion-help-at-point): Use markers in
5405 completion-in-region--data (bug#12619).
5406
5407 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5408
5409 * progmodes/compile.el (compilation-start): Try to handle common
5410 quoting of `cd' argument (bug#12640).
5411
5412 * vc/diff-mode.el (diff-hunk): `save-excursion' while refining
5413 (bug#12671).
5414
5415 2012-10-23 Glenn Morris <rgm@gnu.org>
5416
5417 * progmodes/gud.el (gud-menu-map):
5418 Check gdb-active-process is bound. (Bug#12358)
5419
5420 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5421
5422 * repeat.el (repeat): Set real-this-command (bug#12232).
5423
5424 * htmlfontify.el (hfy-post-html-hook):
5425 * filesets.el (filesets-cache-fill-content-hook):
5426 * arc-mode.el (archive-extract-hook):
5427 * progmodes/cc-mode.el (c-prepare-bug-report-hook):
5428 * net/rcirc.el (rcirc-sentinel-functions)
5429 (rcirc-receive-message-functions, rcirc-activity-functions)
5430 (rcirc-print-functions):
5431 * net/dbus.el (dbus-event-error-functions):
5432 * emacs-lisp/eieio.el (eieio-pre-method-execution-functions):
5433 * emacs-lisp/checkdoc.el (checkdoc-style-functions)
5434 (checkdoc-comment-style-functions): Don't use "-hooks" suffix.
5435 * term/sun.el (sun-raw-prefix-hooks):
5436 * mail/sendmail.el (mail-yank-hooks): Use make-obsolete-variable.
5437
5438 2012-10-23 Michael Albinus <michael.albinus@gmx.de>
5439
5440 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5441 Set `tramp-chunksize' to 1. This improves the performance.
5442 (tramp-smb-wait-for-output): Add timeout to
5443 `tramp-accept-process-output' calls.
5444
5445 2012-10-23 Chong Yidong <cyd@gnu.org>
5446
5447 * faces.el (font-list-limit): Define as an obsolete variable.
5448
5449 * startup.el (command-line):
5450 * cus-start.el: Don't refer to font-list-limit.
5451
5452 * newcomment.el (comment-normalize-vars): Doc fix (Bug#12583).
5453
5454 2012-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
5455
5456 * subr.el (internal-temp-output-buffer-show): Rename from
5457 temp-output-buffer-show, since previously compiled files expect this name.
5458
5459 2012-10-23 Glenn Morris <rgm@gnu.org>
5460
5461 * image.el (image-type-from-file-name): If multiple types match,
5462 return the first one that is supported. (Bug#9045)
5463
5464 2012-10-22 Glenn Morris <rgm@gnu.org>
5465
5466 * image.el (imagemagick-enabled-types): Doc fix.
5467
5468 2012-10-22 Takafumi Arakaki <aka.tkf@gmail.com> (tiny change)
5469
5470 * progmodes/which-func.el (which-func-current): The hash-table may have
5471 an explicit nil (bug#12338).
5472
5473 2012-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
5474
5475 * electric.el (electric-pair-delete-selection-self-insert-function):
5476 Rename to electric-pair-will-use-region, return a boolean.
5477 (electric-pair-mode): Adjust accordingly. Don't require delsel.
5478
5479 * delsel.el (delete-selection-helper): Use a function instead of a hook.
5480 (delete-selection-pre-hook): Use use-region-p.
5481 (delete-selection-self-insert-function): Remove.
5482 (self-insert-command): Obey self-insert-uses-region-functions.
5483 (self-insert-iso): Revert to previous setting, since we don't actually
5484 know what that command does.
5485 (delete-selection-self-insert-hooks): Remove.
5486
5487 2012-10-22 Simon Law <sfllaw@sfllaw.ca> (tiny change)
5488
5489 * delsel.el (delete-selection-helper): New function, extracted from
5490 delete-selection-pre-hook.
5491 (delete-selection-pre-hook): Use it.
5492 (delete-selection-self-insert-function): New function.
5493 (delete-selection-self-insert-hooks): New hook.
5494 (self-insert-command, self-insert-iso): Use it.
5495 * electric.el (electric-pair-syntax): New function, extracted from
5496 electric-pair-post-self-insert-function.
5497 (electric-pair-post-self-insert-function): Use it.
5498 (electric-pair-delete-selection-self-insert-function): New function.
5499 (electric-pair-mode): Require delsel and setup
5500 delete-selection-self-insert-hooks (bug#11520).
5501
5502 2012-10-20 Chong Yidong <cyd@gnu.org>
5503
5504 * vc/vc.el (vc-diff-internal): Set up Diff mode even if there are
5505 no changes to show (Bug#12586).
5506
5507 * eshell/esh-cmd.el (eshell-rewrite-for-command): Copy the body
5508 list explicitly (Bug#12571).
5509
5510 2012-10-20 Arne Jørgensen <arne@arnested.dk>
5511
5512 * progmodes/flymake.el (flymake-create-temp-inplace):
5513 Use file-truename.
5514
5515 2012-10-20 Eli Zaretskii <eliz@gnu.org>
5516
5517 * loadup.el: Update comment about uncompiled Lisp files. (Bug#12395)
5518
5519 2012-10-20 Jay Belanger <jay.p.belanger@gmail.com>
5520
5521 * calc/calc-units.el (math-extract-units): Properly extract powers
5522 of units.
5523
5524 2012-10-20 Daniel Colascione <dancol@dancol.org>
5525
5526 * frame.el (make-frame): Set x-display-name as we used to in order
5527 to unbreak creating an X11 frame from an Emacs daemon started
5528 without a display.
5529
5530 2012-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
5531
5532 * minibuffer.el (minibuffer-force-complete): Make the next completion use
5533 the same completion-field (bug#12221).
5534
5535 2012-10-19 Martin Rudalics <rudalics@gmx.at>
5536
5537 * emacs-lisp/debug.el (debug): Record height of debugger window
5538 also when debugger will be back (Bug#8789).
5539
5540 2012-10-18 Chong Yidong <cyd@gnu.org>
5541
5542 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
5543 Convert to defcustom.
5544 (gdb-get-source-file): Don't bind pop-up-windows.
5545
5546 * progmodes/gud.el (gud-display-line): Don't specially re-use
5547 other frames for the gdb-mi case (Bug#12648).
5548
5549 2012-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
5550
5551 * emacs-lisp/advice.el: Clean up commentary a bit.
5552 (ad-do-advised-functions, ad-with-originals): Use `declare'.
5553 (byte-code-function-p): Never redefine.
5554
5555 * emacs-lisp/gv.el (cond): Same fix as before for `if'.
5556
5557 2012-10-18 Glenn Morris <rgm@gnu.org>
5558
5559 * dired.el (dired-sort-toggle): Some ls implementations only allow
5560 a single option string. (Bug#12666)
5561
5562 * minibuffer.el (completion-cycle-threshold): Doc fix.
5563
5564 2012-10-17 Kenichi Handa <handa@gnu.org>
5565
5566 * international/mule.el (set-keyboard-coding-system):
5567 Recover input meta mode when the new coding system doesn not use 8-bit.
5568 Supply TERMINAL arg to set-input-meta-mode.
5569
5570 2012-10-17 Michael Heerdegen <michael_heerdegen@web.de>
5571
5572 * wdired.el (wdired-old-marks): New variable.
5573 (wdired-change-to-wdired-mode): Locally set wdired-old-marks.
5574 (wdired-do-renames): Move point with renamed file and don't lose
5575 mark status (Bug#11795).
5576
5577 2012-10-16 Juri Linkov <juri@jurta.org>
5578
5579 * replace.el (query-replace-help): Mention multi-buffer replacement
5580 keys in the Help message. (Bug#12655)
5581
5582 2012-10-15 Chong Yidong <cyd@gnu.org>
5583
5584 * emacs-lisp/byte-run.el (defsubst): Doc fix.
5585
5586 2012-10-14 Eli Zaretskii <eliz@gnu.org>
5587
5588 * window.el (display-buffer): Doc fix.
5589
5590 * progmodes/compile.el (compilation-error-regexp-alist-alist):
5591 Adjust the msft regexp to the output of Studio 2010, and move msft
5592 before edg-1. See the discussion on emacs-devel,
5593 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00579.html,
5594 for the details.
5595
5596 2012-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
5597
5598 * emacs-lisp/eieio.el (eieio-oset-default, eieio-oset, oset-default)
5599 (oset): Move uses of object-class-fast macro after its definition.
5600
5601 * emacs-lisp/gv.el (if): Don't use closures in non-lexical-binding code.
5602
5603 2012-10-13 Chong Yidong <cyd@gnu.org>
5604
5605 * textmodes/ispell.el (ispell-pdict-save): If flyspell-mode is
5606 enabled, re-enable it (Bug#11963).
5607
5608 2012-10-13 Martin Rudalics <rudalics@gmx.at>
5609
5610 * emacs-lisp/debug.el (debug): When debugger-will-be-back is
5611 non-nil, restore window configuration (Bug#12623).
5612
5613 2012-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
5614
5615 * help-fns.el (describe-variable, describe-function-1):
5616 * help-mode.el (help-make-xrefs): Remove error handler, made unneeded.
5617
5618 * emacs-lisp/eieio.el (lisp-imenu-generic-expression): Fix typo.
5619
5620 2012-10-12 Glenn Morris <rgm@gnu.org>
5621
5622 * mail/rmailsum.el (rmail-header-summary):
5623 Fix 2010-11-26 test for multiline Subject: field. (Bug#12625)
5624
5625 2012-10-12 Fabián Ezequiel Gallina <fgallina@cuca>
5626
5627 * progmodes/python.el (python-mode-map):
5628 Replace subtitute-key-definition with proper command remapping.
5629 (python-nav--up-list): Fix behavior for blocks on the same level.
5630
5631 2012-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5632
5633 * help-fns.el (describe-function-1): Handle autoloads w/o docstrings.
5634
5635 * emacs-lisp/bytecomp.el (byte-compile-eval): Adjust to long-ago
5636 changes to the format of load-history.
5637
5638 * international/mule-cmds.el (read-char-by-name): Move let-binding of
5639 completion-ignore-case in case that var is buffer-local (bug#12615).
5640
5641 2012-10-11 Kenichi Handa <handa@gnu.org>
5642
5643 * international/eucjp-ms.el: Re-generated.
5644
5645 2012-10-10 Kenichi Handa <handa@gnu.org>
5646
5647 * select.el (xselect--encode-string): If a coding is specified for
5648 selection, and that is compatible with COMPOUND_TEXT, use it.
5649
5650 2012-10-10 Martin Rudalics <rudalics@gmx.at>
5651
5652 * window.el (switch-to-buffer-preserve-window-point): New option.
5653 (switch-to-buffer):
5654 Obey `switch-to-buffer-preserve-window-point' (Bug#4041).
5655
5656 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
5657
5658 * newcomment.el (comment-start-skip, comment-end-skip, comment-end):
5659 Don't document nil as a useful value (bug#12583).
5660
5661 2012-10-09 Michael Albinus <michael.albinus@gmx.de>
5662
5663 * net/tramp.el (tramp-debug-message):
5664 Remove "tramp-with-progress-reporter" from regexp of ignored functions.
5665 (with-tramp-progress-reporter): Rename from
5666 `tramp-with-progress-reporter'.
5667 (with-tramp-file-property, with-tramp-connection-property):
5668 Move from tramp-cache.el, rename from `with-file-property' and
5669 `with-connection-property', respectively.
5670
5671 * net/tramp-cache.el: Remove `with-file-property' and
5672 `with-connection-property'.
5673
5674 * net/tramp.el:
5675 * net/tramp-gvfs.el:
5676 * net/tramp-sh.el:
5677 * net/tramp-smb.el: Adapt callees.
5678
5679 * net/trampver.el: Update release number.
5680
5681 2012-10-09 Glenn Morris <rgm@gnu.org>
5682
5683 * w32-fns.el (set-message-beep):
5684 * term/w32-win.el (set-message-beep): Update declarations.
5685
5686 2012-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
5687
5688 * bindings.el (mode-line-toggle-read-only, mode-line-toggle-modified)
5689 (mode-line-widen, mode-line-input-method-map)
5690 (mode-line-coding-system-map, mode-line-remote)
5691 (mode-line-unbury-buffer, mode-line-bury-buffer)
5692 (mode-line-next-buffer, mode-line-previous-buffer):
5693 Replace save-selected-window+select-window => with-selected-window.
5694
5695 * progmodes/cc-bytecomp.el (cc-bytecomp-defmacro): Remove, unused.
5696 * progmodes/cc-vars.el (bq-process): Remove, unused.
5697
5698 * emacs-lisp/cl-macs.el (cl-defstruct): Obey the :read-only property.
5699
5700 2012-10-09 Fabián Ezequiel Gallina <fgallina@cuca>
5701
5702 Implemented `backward-up-list'-like navigation.
5703 * progmodes/python.el (python-nav-up-list)
5704 (python-nav-backward-up-list): New functions.
5705 (python-mode-map): Define substitute key for backward-up-list to
5706 python-nav-backward-up-list.
5707
5708 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
5709
5710 * progmodes/python.el (python-fill-paragraph): Rename from
5711 python-fill-paragraph-function. Fixed fill-paragraph for
5712 decorators (Bug#12605).
5713
5714 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
5715
5716 * progmodes/python.el (python-shell-output-filter): Handle extra
5717 carriage return in OSX (Bug#12409).
5718
5719 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
5720
5721 Fix shell handling of unbalanced quotes and parens in output.
5722 * progmodes/python.el (python-rx-constituents): Add string-delimiter.
5723 (python-syntax-propertize-function): Use it.
5724 (python-shell-output-syntax-table): New var.
5725 (inferior-python-mode): Prevent unbalanced parens/quotes from
5726 previous output mess with current input context.
5727
5728 2012-10-08 Juanma Barranquero <lekktu@gmail.com>
5729
5730 * generic-x.el (javascript-generic-mode, javascript-generic-mode-hook):
5731 Make obsolete aliases of js-mode and js-mode-hook (from js.el).
5732
5733 2012-10-08 Michael Albinus <michael.albinus@gmx.de>
5734
5735 * ffap.el (ffap-replace-file-component): Support Tramp file name
5736 syntax, not only ange-ftp's one.
5737
5738 2012-10-08 Glenn Morris <rgm@gnu.org>
5739
5740 * cus-start.el (message-log-max): Set :version.
5741
5742 * calendar/calendar.el (calendar-intermonth-header): Doc fix.
5743
5744 2012-10-08 Martin Rudalics <rudalics@gmx.at>
5745
5746 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Don't try to split
5747 the minibuffer window (Bug#10851).
5748
5749 2012-10-08 Fabián Ezequiel Gallina <fgallina@cuca>
5750
5751 Enhancements on forward-sexp movement.
5752 * progmodes/python.el (python-nav-beginning-of-statement)
5753 (python-nav-end-of-statement): Return point-marker.
5754 (python-nav-forward-sexp): lisp-like forward-sexp behavior.
5755 (python-info-current-symbol)
5756 (python-info-statement-starts-block-p): Rename from
5757 python-info-beginning-of-block-p.
5758 (python-info-statement-ends-block-p): Rename from
5759 python-info-end-of-block-p.
5760 (python-info-beginning-of-statement-p)
5761 (python-info-end-of-statement-p)
5762 (python-info-beginning-of-block-p, python-info-end-of-block-p):
5763 New functions.
5764
5765 2012-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
5766
5767 * comint.el (comint-preinput-scroll-to-bottom): Preserve the
5768 frame-selected-windows.
5769
5770 2012-10-08 Daniel Colascione <dancol@dancol.org>
5771
5772 * battery.el (battery-status-function): Check for
5773 w32-battery-status itself, not system-time windows-nt.
5774
5775 * frame.el: Require cl-lib.
5776 (display-format-alist): New variable mapping frame types to
5777 functions that initialize them.
5778 (window-system-for-display): New function: interprets
5779 display-format-alist.
5780 (make-frame-on-display): Remove existing display-selection logic
5781 and just forward to make-frame, which will now DTRT.
5782 (make-frame): Restructure to use window-system-for-display to
5783 figure out how to create a frame on a given display.
5784 (display-mouse-p): Look for frame-type w32, not a particular
5785 system-type.
5786
5787 * loadup.el: Load w32 lisp code when we have the w32 feature.
5788
5789 * mouse.el (mouse-yank-primarY): Look for frame-type w32, not
5790 system-type windows-nt.
5791
5792 * server.el (server-create-window-system-frame): Look for window
5793 type.
5794 (server-proces-filter): Only force a window system when windows-nt
5795 _and_ w32. Explain why.
5796
5797 * simple.el (normal-erase-is-backspace-mode): Add w32 to the list
5798 of window systems we configure for the mode.
5799
5800 * startup.el (command-line): Mark window system is initialized
5801 after we've done it.
5802
5803 * common-win.el (x-select-text): Look for w32, not windows-nt.
5804
5805 * ns-win.el: Require cl-lib. Add ourselves to
5806 display-format-alist.
5807 (ns-initialize-window-system): Assert we're not initialized twice.
5808
5809 * w32-win.el: Enable lexical binding; require cl-lib; add
5810 ourselves to display-format-alist.
5811 (w32-handle-dropped-file): Convert incoming dropped files from
5812 Windows paths to Cygwin ones before passing them on to the rest of
5813 Emacs.
5814 (w32-drag-n-drop): New paramter new-frame. Simplify logic.
5815 (w32-initialize-window-system): Assert we're not initialized twice.
5816
5817 * x-win.el: Require cl-lib; add ourselves to display-format-alist.
5818 (x-initialize-window-system): Assert we're not initialized twice.
5819
5820 * w32-common-fns.el: New File.
5821 (w32-version, w32-using-nt, w32-get-clipboard-data)
5822 (w32-set-clipboard-data, x-set-selection, x-get-selection)
5823 (w32-charset-info-alist, x-last-selected, text)
5824 (x-get-selection-value, x-selection-value): Move here.
5825
5826 * w32-fns.el: Require w32-common-fns.
5827 (w32-version, w32-using-nt, w32-get-clipboard-data)
5828 (w32-set-clipboard-data, x-set-selection, x-get-selection)
5829 (w32-charset-info-alist, x-last-selected, text)
5830 (x-get-selection-value, x-selection-value): Move to
5831 w32-common-fns.
5832
5833 * w32-vars.el:
5834 (w32-allow-system-shell, w32-system-shells): Define only in
5835 non-cygwin case.
5836
5837 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5838
5839 * subr.el (read-passwd-map): Don't use `defconst' (bug#12597).
5840 (read-passwd): Remove a few more potential sources of leaks.
5841
5842 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
5843
5844 * progmodes/python.el (inferior-python-mode)
5845 (python-shell-make-comint): Fix initialization of local
5846 variables copied from parent buffer.
5847
5848 2012-10-07 Jan Djärv <jan.h.d@swipnet.se>
5849
5850 * term/ns-win.el (ns-read-file-name): Update declaration to match
5851 nsfns.m.
5852 (ns-respond-to-change-font): Change fontsize separately so we are sure
5853 it is set when font is acted upon.
5854
5855 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
5856
5857 Enhancements to indentation.
5858 * progmodes/python.el (python-indent-context): Give priority to
5859 inside-string context. Make comments indentation markers.
5860 (python-indent-region): Do not mess with strings, unless it's the
5861 enclosing set of quotes.
5862
5863 2012-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5864
5865 * window.el (internal--before-save-selected-window)
5866 (internal--after-save-selected-window): New functions extracted from
5867 save-selected-window. Make sure we return the `alist' we construct.
5868 (save-selected-window): Use them.
5869
5870 * textmodes/tex-mode.el (tex-recenter-output-buffer):
5871 Use with-selected-window.
5872
5873 * emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the
5874 forms that define macros (bug#12593).
5875
5876 2012-10-07 Kenichi Handa <handa@gnu.org>
5877
5878 * international/mule-conf.el (compound-text-with-extensions):
5879 Add :mime-charset property as x-ctext.
5880
5881 2012-10-07 Stefan Merten <smerten@oekonux.de>
5882
5883 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
5884 (rst-indent-literal-normal, rst-indent-literal-minimized)
5885 (rst-indent-comment): Correct :version tag.
5886 (rst-official-cvs-rev): Correct version string.
5887
5888 2012-10-07 Glenn Morris <rgm@gnu.org>
5889
5890 * mail/rmailmm.el (rmail-mime-process-multipart):
5891 Do not confuse a multipart message with an epilogue
5892 with a "truncated" one; fixes 2011-06-27 change. (Bug#10101)
5893
5894 2012-10-07 Fabián Ezequiel Gallina <fgallina@cuca>
5895
5896 Fix shell output retrieval and comint-prompt-regexp init.
5897 * progmodes/python.el (inferior-python-mode):
5898 (python-shell-make-comint): Fix initialization of
5899 comint-prompt-regexp from copied file local variables.
5900 (python-shell-fetched-lines): Remove var.
5901 (python-shell-output-filter-in-progress): Rename from
5902 python-shell-fetch-lines-in-progress.
5903 (python-shell-output-filter-buffer): Rename from
5904 python-shell-fetch-lines-string.
5905 (python-shell-fetch-lines-filter): Delete function.
5906 (python-shell-output-filter): New function.
5907 (python-shell-send-string-no-output): Use them.
5908
5909 2012-10-07 Glenn Morris <rgm@gnu.org>
5910
5911 * hi-lock.el (hi-lock-process-phrase):
5912 Try to make it less fragile. (Bug#7161)
5913
5914 * hi-lock.el (hi-lock-face-phrase-buffer): Doc fix.
5915
5916 2012-10-06 Glenn Morris <rgm@gnu.org>
5917
5918 * ehelp.el (electric-help-mode): Use help-mode rather than
5919 non-existent mode `help'.
5920 (electric-help-map): Use button-buffer-map. (Bug#10917)
5921
5922 * textmodes/reftex-vars.el (reftex-create-bibtex-header)
5923 (reftex-create-bibtex-footer): Fix custom types.
5924
5925 * progmodes/sh-script.el (sh-indent-after-continuation):
5926 Add explicit :group.
5927
5928 * textmodes/rst.el (rst-preferred-decorations)
5929 (rst-shift-basic-offset): Clarify obsolescence versions.
5930
5931 * profiler.el (profiler): Add missing group :version tag.
5932 * avoid.el (mouse-avoidance-banish-position):
5933 * proced.el (proced-renice-command):
5934 * calc/calc.el (calc-ensure-consistent-units):
5935 * calendar/icalendar.el (icalendar-import-format-uid):
5936 * net/tramp.el (tramp-save-ad-hoc-proxies):
5937 * progmodes/bug-reference.el (bug-reference-bug-regexp):
5938 * progmodes/flymake.el (flymake-error-bitmap)
5939 (flymake-warning-bitmap, flymake-fringe-indicator-position):
5940 * progmodes/sh-script.el (sh-indent-after-continuation):
5941 * progmodes/verilog-mode.el (verilog-auto-template-warn-unused)
5942 (verilog-before-save-font-hook, verilog-after-save-font-hook):
5943 * progmodes/vhdl-mode.el (vhdl-makefile-default-targets)
5944 (vhdl-array-index-record-field-in-sensitivity-list)
5945 (vhdl-indent-comment-like-next-code-line):
5946 * textmodes/reftex-vars.el (reftex-ref-style-alist)
5947 (reftex-ref-macro-prompt, reftex-ref-style-default-list)
5948 (reftex-cite-key-separator, reftex-create-bibtex-header)
5949 (reftex-create-bibtex-footer):
5950 * textmodes/rst.el (rst-new-adornment-down, rst-indent-field)
5951 (rst-indent-literal-normal, rst-indent-literal-minimized)
5952 (rst-indent-comment): Add missing custom :version tags.
5953
5954 * calendar/timeclock.el (timeclock-modeline-display):
5955 Add missing obsolete alias for renamed user option.
5956
5957 * strokes.el (strokes-modeline-string):
5958 * emulation/crisp.el (crisp-mode-modeline-string):
5959 * eshell/esh-mode.el (eshell-status-in-modeline):
5960 Aliases to defcustoms must come before the defcustom.
5961
5962 * calendar/cal-tex.el (cal-tex-diary, cal-tex-cursor-week)
5963 (cal-tex-cursor-week2, cal-tex-cursor-week-iso)
5964 (cal-tex-cursor-week-monday): Doc fixes.
5965 (cal-tex-cursor-week2-summary): Doc fix.
5966 Rename from cal-tex-cursor-week-at-a-glance.
5967
5968 * calendar/cal-menu.el (cal-menu-context-mouse-menu):
5969 Tweak week descriptions. Add cal-tex-cursor-week2-summary.
5970
5971 * calendar/calendar.el (calendar-mode-map):
5972 Add cal-tex-cursor-week2-summary.
5973
5974 2012-10-06 Stefan Monnier <monnier@iro.umontreal.ca>
5975
5976 * emacs-lisp/cl-macs.el (cl-defstruct): Improve docstring.
5977
5978 * subr.el (read-passwd-map): New var.
5979 (read-passwd): Use `read-string' again.
5980 * minibuffer.el (delete-minibuffer-contents): Make it interactive.
5981
5982 2012-10-06 Jambunathan K <kjambunathan@gmail.com>
5983
5984 * register.el (append-to-register, prepend-to-register):
5985 Deactivate mark, as does `copy-to-register' (bug#12389).
5986
5987 2012-10-06 Chong Yidong <cyd@gnu.org>
5988
5989 * files.el (auto-mode-alist): Add .by and .wy (Semantic grammars).
5990
5991 2012-10-06 Ikumi Keita <ikumi@ikumi.que.jp> (tiny change)
5992
5993 * international/characters.el: Fix simple mistake ((car chars) ->
5994 elt), delete duplicated code.
5995
5996 2012-10-06 Glenn Morris <rgm@gnu.org>
5997
5998 * subr.el (read-passwd): Allow C-u to erase entry. (Bug#12570)
5999
6000 2012-10-06 Julian Scheid <julians37@gmail.com> (tiny change)
6001
6002 * color.el (color-hsl-to-rgb): Fix incorrect results for
6003 small and large hue values. (Bug#12559)
6004
6005 2012-10-05 Fabián Ezequiel Gallina <fgallina@cuca>
6006
6007 Enhancements to docstring formatting when filling paragraphs.
6008 * progmodes/python.el (python-fill-docstring-style): Rename from
6009 python-fill-string-style. Added new style.
6010 (python-fill-string): Use new style. Better checks for
6011 docstrings.
6012
6013 2012-10-05 Glenn Morris <rgm@gnu.org>
6014
6015 * net/newst-treeview.el (newsticker-group-move-feed): Doc fix.
6016
6017 * color.el (color-name-to-rgb, color-rgb-to-hex)
6018 (color-hue-to-rgb, color-hsl-to-rgb, color-rgb-to-hsv)
6019 (color-rgb-to-hsl, color-srgb-to-xyz, color-saturate-hsl)
6020 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
6021 (color-lighten-name, color-darken-hsl, color-darken-name): Doc fixes.
6022
6023 * emacs-lisp/timer.el (with-timeout): Add missing progn. (Bug#12577)
6024
6025 2012-10-05 Juanma Barranquero <lekktu@gmail.com>
6026
6027 * ido.el (ido-directory-too-big-p): Pass dir through file-truename
6028 to get the correct size across symlinks.
6029
6030 * ido.el (ido-buffer-disable-smart-matches): Fix typo in docstring.
6031
6032 2012-10-04 Juri Linkov <juri@jurta.org>
6033
6034 * replace.el (query-replace-interactive): Declare obsolete.
6035 (query-replace-read-from): Add the last incremental search string
6036 to the list of default values accessible via M-n.
6037 (map-query-replace-regexp): Use `read-regexp'.
6038 (query-replace, query-replace-regexp, query-replace-regexp-eval)
6039 (map-query-replace-regexp, replace-string, replace-regexp):
6040 Fix docstrings to replace mentions of `query-replace-interactive'
6041 with alternatives. (Bug#12526)
6042
6043 2012-10-04 Juri Linkov <juri@jurta.org>
6044
6045 * dired.el (dired-shrink-to-fit): Declare obsolete. (Bug#1806)
6046 (dired-pop-to-buffer): Declare obsolete.
6047 (dired-mark-pop-up): Doc fix.
6048
6049 2012-10-04 Fabián Ezequiel Gallina <fgallina@cuca>
6050
6051 Allow user to set docstring style for fill-paragraph.
6052 * progmodes/python.el
6053 (python-fill-comment-function, python-fill-string-function)
6054 (python-fill-decorator-function, python-fill-paren-function):
6055 Remove :safe for defcustoms.
6056 (python-fill-string-style): New defcustom
6057 (python-fill-paragraph-function): Enhance context detection.
6058 (python-fill-string): Honor python-fill-string-style settings.
6059
6060 2012-10-04 Martin Rudalics <rudalics@gmx.at>
6061
6062 * emacs-lisp/edebug.el (edebug-pop-to-buffer): Select window
6063 after setting its buffer (Bug#10805).
6064
6065 2012-10-03 Fabián Ezequiel Gallina <fgallina@cuca>
6066
6067 Fix cornercase for string syntax.
6068 * progmodes/python.el (python-syntax-propertize-function):
6069 Simplify and enhance the regexp for unescaped quotes. Now it also
6070 matches quotes in weird situations like the single quote in
6071 "something\"'".
6072 (python-syntax-stringify): Simplify num-quotes detecting code.
6073
6074 2012-10-03 Glenn Morris <rgm@gnu.org>
6075
6076 * help-macro.el (three-step-help):
6077 Revert 2012-09-29 change. (Bug#12567)
6078
6079 2012-10-03 Martin Rudalics <rudalics@gmx.at>
6080
6081 * menu-bar.el (kill-this-buffer): Don't do anything when
6082 `menu-frame' is not alive or visible (Bug#8184).
6083
6084 * emacs-lisp/debug.el (debug): When quitting the debugger window
6085 restore current buffer (Bug#12502).
6086
6087 2012-10-02 Chong Yidong <cyd@gnu.org>
6088
6089 * progmodes/hideif.el (hif-lookup, hif-defined):
6090 Handle semantic-c-takeover-hideif.
6091
6092 2012-10-02 Paul Eggert <eggert@cs.ucla.edu>
6093
6094 Change sampling interval units from ms to ns.
6095 * profiler.el (profiler-sampling-interval): Change units
6096 from ms to ns, multiplying the default by 1000000 so that
6097 it remains 1 ms.
6098 (profiler-report-cpu-line-format): Give enough room for
6099 the maximum counters on 64-bit hosts.
6100 (profiler-report-render-calltree-1): Call them "CPU samples",
6101 not "Time (ms)", since they are not milliseconds now (and
6102 never really were).
6103
6104 2012-10-02 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
6105
6106 * net/eudcb-bbdb.el (eudc-bbdb-format-record-as-result):
6107 Fix querying BBDB for entries without a last name (Bug#11580).
6108
6109 2012-10-02 Chong Yidong <cyd@gnu.org>
6110
6111 * emacs-lisp/eieio.el: Restore Version header.
6112
6113 2012-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
6114
6115 * vc/diff-mode.el (diff--auto-refine-data): New var.
6116 (diff-hunk): Use it to delay refinement.
6117 (diff-mode): Remove overlays when we turn off font-lock.
6118
6119 * textmodes/table.el: Use lexical-binding, dolist, define-minor-mode.
6120 (table-initialize-table-fixed-width-mode)
6121 (table-set-table-fixed-width-mode): Remove functions.
6122 (table-command-list): Move initialization into declaration.
6123 (table--tweak-menu-for-xemacs): Move defun outside mapcar.
6124 (table-with-cache-buffer): Use `declare'.
6125 (table-span-cell): Simplify via CSE.
6126 (table-fixed-width-mode): Use define-minor-mode.
6127 (table-call-interactively, table-funcall, table-apply): Remove.
6128 (table-function): New function, to replace them.
6129
6130 * bookmark.el (bookmark-search-pattern): Remove var.
6131 (bookmark-read-search-input): Remove function.
6132 (bookmark-bmenu-search): Reimplement using a minibuffer.
6133
6134 * faces.el (modeline): Remove obsolete face name.
6135
6136 * vc/add-log.el (add-log-buffer-file-name-function): Demote to defvar
6137 and give a non-nil default value.
6138 (add-change-log-entry): Simplify accordingly.
6139
6140 2012-10-01 Dmitry Gutov <dgutov@yandex.ru>
6141
6142 * vc/vc-git.el (vc-git-log-edit-toggle-signoff): New function.
6143 (vc-git-log-edit-toggle-amend): New function.
6144 (vc-git-log-edit-toggle-signoff): New function.
6145 (vc-git-log-edit-mode): New major mode.
6146 (vc-git-log-edit-mode-map): Keymap for it.
6147 (vc-git-checkin): Handle "Amend" and "Sign-Off" headers.
6148
6149 * vc/log-edit.el (log-edit-font-lock-keywords): Allow hyphens in
6150 header names.
6151 (log-edit-toggle-header): New function.
6152 (log-edit-extract-headers): Accept function values in HEADERS alist.
6153
6154 2012-10-01 David Engster <deng@randomsample.de>
6155
6156 * emacs-lisp/eieio-opt.el (eieio-describe-class): Add filename
6157 from symbol property and change message to be more consistent with
6158 Emacs proper.
6159 (eieio-describe-generic): Add filename for each implementation.
6160 Fix indices for generic and normal methods.
6161 (eieio-method-def, eieio-class-def): New buttons.
6162 (eieio-help-find-method-definition)
6163 (eieio-help-find-class-definition): New functions.
6164 (eieio-help-mode-augmentation-maybee): Add buttons to filenames of
6165 class, constructor and method definitions.
6166
6167 * emacs-lisp/eieio.el (eieiomt-add, eieio-defclass): Save file
6168 information in symbol property.
6169 (scoped-class): Remove.
6170 (eieio-slot-name-index, call-next-method): Check if it is bound.
6171
6172 2012-10-01 Leo P. White <lpw25@cam.ac.uk>
6173
6174 * emacs-lisp/eieio-custom.el (eieio-custom-mode-map): New option.
6175 (eieio-custom-mode): New major mode.
6176 (eieio-customize-object): Use it.
6177
6178 2012-10-01 Eric Ludlam <zappo@gnu.org>
6179
6180 * emacs-lisp/eieio-base.el (eieio-persistent-read): New input args
6181 specifying the expected class, and whether subclassing is allowed.
6182 (eieio-persistent-convert-list-to-object):
6183 (eieio-persistent-validate/fix-slot-value)
6184 (eieio-persistent-slot-type-is-class-p): New functions.
6185 (eieio-named::slot-missing): Doc fix.
6186
6187 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
6188 Stop using unused publd variable.
6189
6190 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
6191 (eieio-speedbar-description, eieio-speedbar-derive-line-path)
6192 (eieio-speedbar-object-buttonname, eieio-speedbar-make-tag-line)
6193 (eieio-speedbar-handle-click): Do not specify a class for the
6194 method. Fixes method invocation order problems with EDE.
6195
6196 2012-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
6197
6198 * emacs-lisp/bytecomp.el (byte-compiler-abbreviate-file): New function.
6199 (byte-compile-warning-prefix, byte-compile-file): Use it (bug#12508).
6200
6201 2012-10-01 Karl Fogel <kfogel@red-bean.com>
6202
6203 * bookmark.el (bookmark-version-control): Give tags in the
6204 :type choices (Bug#12309), and improve doc string.
6205 (bookmark-write-file): Bind `print-circle' to `t' to allow
6206 circular custom bookmark types. (Bug#12503)
6207
6208 2012-10-01 Paul Eggert <eggert@cs.ucla.edu>
6209
6210 Revert the FOLLOW-SYMLINKS change for file-attributes.
6211 * files.el (remote-file-name-inhibit-cache, after-find-file):
6212 * time.el (display-time-file-nonempty-p): Undo last change.
6213
6214 * profiler.el (profiler-sampling-interval): Change default back to 1.
6215 See Stefan Monnier in
6216 <http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00863.html>.
6217
6218 2012-10-01 Fabián Ezequiel Gallina <fgallina@cuca>
6219
6220 Shell output catching a la gud-gdb.
6221 * progmodes/python.el (python-shell-fetch-lines-in-progress)
6222 (python-shell-fetch-lines-string, python-shell-fetched-lines):
6223 New Vars.
6224 (python-shell-fetch-lines-filter): New function.
6225 (python-shell-send-string-no-output): Use them.
6226
6227 2012-09-30 Tomohiro Matsuyama <tomo@cx4a.org>
6228
6229 * profiler.el (profiler-sampling-interval): Rename from
6230 profiler-sample-interval.
6231 (profiler-sampling-interval): Default to 10.
6232 (profiler-find-profile): New command (was profiler-find-log).
6233 (profiler-find-profile-other-window): New command.
6234 (profiler-find-profile-other-frame): New command.
6235 (profiler-profile): Introduce API-level data structure.
6236
6237 2012-09-30 Paul Eggert <eggert@cs.ucla.edu>
6238
6239 file-attributes has a new optional arg FOLLOW-SYMLINKS.
6240 * files.el (remote-file-name-inhibit-cache):
6241 * time.el (display-time-file-nonempty-p): Use it.
6242 * files.el (after-find-file): Don't chase links before calling
6243 file-exists-p, as file-exists-p already does the right thing.
6244
6245 2012-09-30 Ralf Angeli <angeli@caeruleus.net>
6246
6247 Merge from standalone RefTeX repository.
6248
6249 The following ChangeLog entries are shortened versions of the
6250 original ones with file paths adapted. A not so strongly edited
6251 version of the original ChangeLog can be found in the commit log.
6252
6253 * textmodes/reftex-auc.el: Move `provide' call to bottom of file.
6254 (reftex-arg-cite): Use `reftex-cite-key-separator'.
6255 Correctly handle new value type returned by `reftex-citation'.
6256
6257 * textmodes/reftex-cite.el (reftex-create-bibtex-file): Make sure
6258 that entries with whitespace at various places are found.
6259 Doc fix. Include entries that are cross-referenced from cited entries.
6260 Include @String definitions in the resulting bib file. Add header
6261 and footer defined in `reftex-create-bibtex-header' and
6262 `reftex-create-bibtex-footer'.
6263 (reftex-do-citation): Make it possible again to insert
6264 non-existent entries. Save match data when asking for optional
6265 arguments. Return all keys, not just the first one.
6266 (reftex-all-used-citation-keys): Fix regexp to correctly extract
6267 all citations in the same line.
6268 (reftex-parse-bibtex-entry): Accept additional optional argument
6269 `raw' and keep quotes or braces if it is non-nil. Match fields
6270 containing hyphens besides word constituents.
6271 (reftex-get-string-refs): New function.
6272 (reftex-extract-bib-entries): Check if BibTeX file changed on disk
6273 and ask if it should be reread in case it did.
6274 (reftex-pop-to-bibtex-entry)
6275 (reftex-extract-bib-entries-from-thebibliography): Match \bibitem
6276 entries with spaces or tabs in front of arguments.
6277 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
6278 (reftex-parse-bibtex-entry, reftex-create-bibtex-file):
6279 Match entries containing numbers and symbol constituents.
6280 (reftex-do-citation, reftex-figure-out-cite-format):
6281 Use `reftex-cite-key-separator'.
6282
6283 * textmodes/reftex-dcr.el: Move provide statement to end of file.
6284 (reftex-mouse-view-crossref): Explain why point is set.
6285
6286 * textmodes/reftex-global.el: Whitespace changes.
6287
6288 * textmodes/reftex-index.el: Move provide statement to end of
6289 file.
6290 (reftex-index-selection-or-word): Use `reftex-region-active-p'.
6291 (reftex-index-visit-phrases-buffer): Set marker when visiting
6292 buffer. This allows for returning from the phrases file to the
6293 file one was just editing instead of the file where the last
6294 phrases was added from.
6295 (reftex-index-phrases-syntax-table): New variable. Give ?\"
6296 punctuation syntax as it usually is not used as string quote in
6297 TeX-related modes and may occur unmatched. The change also
6298 prevents fontification of quoted content.
6299 (reftex-index-phrases-mode): Use it.
6300
6301 * textmodes/reftex-parse.el (reftex-parse-from-file):
6302 Move backward one char if a `\' was matched after a section macro.
6303 (reftex-parse-from-file): Use beginning of match instead of end as
6304 bound.
6305
6306 * textmodes/reftex-ref.el: Adapt creation of
6307 `reftex-<package>-<macro>' functions to new structure of
6308 `reftex-ref-style-alist'.
6309 (reftex-reference): Use `reftex-ref-style-list' function.
6310 Adapt to new structure of `reftex-ref-style-alist'. Prompt for a
6311 reference macro if `reftex-ref-macro-prompt' is non-nil.
6312 (reftex-reference): Pass refstyle to `reftex-format-special'.
6313 Determine reference macro by looking at
6314 `reftex-ref-style-default-list' and `reftex-ref-style-alist'.
6315 Use only one special format function.
6316 (reftex-varioref-vref, reftex-fancyref-fref)
6317 (reftex-fancyref-Fref): Remove definitions. The functions are now
6318 generated from `reftex-ref-style-alist'.
6319 (reftex-format-vref, reftex-format-Fref, reftex-format-fref):
6320 Remove.
6321 (reftex-format-special): New function.
6322
6323 * textmodes/reftex-sel.el
6324 (reftex-select-cycle-ref-style-internal): Adapt to new structure
6325 of `reftex-ref-style-alist'. Remove code for testing macro type.
6326 (reftex-select-toggle-varioref)
6327 (reftex-select-toggle-fancyref): Remove.
6328 (reftex-select-cycle-ref-style-internal)
6329 (reftex-select-cycle-ref-style-forward)
6330 (reftex-select-cycle-ref-style-backward): New functions.
6331 (reftex-select-label-map): Use `v' and `V' for general cycling
6332 through reference styles. Add `p' for switching between number
6333 and page reference types.
6334
6335 * textmodes/reftex-toc.el (reftex-re-enlarge):
6336 Call `enlarge-window' only if there is something to do because in Emacs
6337 the horizontal version throws an error even if the parameter is 0.
6338
6339 * textmodes/reftex-vars.el (reftex-label-alist): Doc fix.
6340 (reftex-plug-into-AUCTeX): Doc fix.
6341 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc
6342 string. Adapt to new name.
6343 (reftex-ref-style-alist): Change structure so that it is not
6344 possible to use multiple different package names within a style.
6345 Remove the symbols for symbols for macro type distinction.
6346 Add characters for macro selection.
6347 (reftex-ref-macro-prompt, reftex-create-bibtex-header)
6348 (reftex-create-bibtex-footer): New variables.
6349 (reftex-format-ref-function): Mention third argument of special
6350 format function.
6351 (reftex-ref-style-alist, reftex-ref-style-default-list):
6352 New variables.
6353 (reftex-vref-is-default, reftex-fref-is-default): Adapt doc string
6354 to new implementation. Mark as obsolete. Add compatibility code
6355 for honoring the variable values in case they are set.
6356 (reftex-cite-format-builtin, reftex-bibliography-commands):
6357 Add support for ConTeXt.
6358 (reftex-format-ref-function, reftex-format-cite-function):
6359 Fix custom type.
6360 (reftex-cite-key-separator): New variable.
6361
6362 * textmodes/reftex.el (reftex-syntax-table-for-bib)
6363 (reftex-mode): Do not derive `reftex-syntax-table-for-bib' from
6364 `reftex-syntax-table' because parens have to retain their paren
6365 syntax in order for parsing of BibTeX entries like @book(...) to
6366 work.
6367 (reftex-in-comment): Do not error out if `comment-start-skip' is
6368 not set. Deal correctly with escaped comment characters.
6369 (reftex-tie-multifile-symbols): Add doc string.
6370 Initialize `reftex-ref-style-list'.
6371 (reftex-untie-multifile-symbols): Add doc string.
6372 (reftex-add-index-macros): Doc fix.
6373 (reftex-ref-style-activate, reftex-ref-style-toggle)
6374 (reftex-ref-style-list): New functions.
6375 (reftex-mode-menu): Use them. Adapt to new structure of
6376 `reftex-ref-style-alist'.
6377 (reftex-select-with-char): Kill the RefTeX Select buffer when
6378 done.
6379 (reftex-remove-if): New function.
6380 (reftex-erase-all-selection-and-index-buffers)
6381 (reftex-mode-menu): Reference styles are now computed from
6382 `reftex-ref-style-alist'. Fix typo.
6383 (reftex-report-bug): New function.
6384 (reftex-uniquify, reftex-uniquify-by-car): Replace O(n^2)
6385 algorithms with O(n log n). Introduce optional argument SORT (not
6386 yet used).
6387
6388 2012-09-30 Fabián Ezequiel Gallina <fgallina@cuca>
6389
6390 Enhancements for triple-quote string syntax.
6391 * progmodes/python.el (python-syntax-propertize-function):
6392 Match both quote cases in one regexp.
6393 (python-syntax-stringify): Handle matches properly.
6394
6395 2012-09-30 Juri Linkov <juri@jurta.org>
6396
6397 * arc-mode.el (archive-summarize): Let-bind `buffer-file-truename'
6398 to nil around the call to `insert' to prevent
6399 directory time modification by lock_file. (Bug#2295)
6400 * tar-mode.el (tar-summarize-buffer): Idem.
6401
6402 2012-09-30 Juri Linkov <juri@jurta.org>
6403
6404 * facemenu.el (list-colors-sort): Add option "Luminance".
6405 (list-colors-sort-key): Implement it.
6406
6407 * vc/diff-mode.el (diff-refine-removed):
6408 * vc/ediff-init.el (ediff-fine-diff-A):
6409 * vc/smerge-mode.el (smerge-refined-removed):
6410 Change background color "#ffaaaa" to "#ffbbbb". (Bug#10181)
6411
6412 2012-09-30 Jan Djärv <jan.h.d@swipnet.se>
6413
6414 * term/ns-win.el (x-file-dialog): New function.
6415
6416 2012-09-30 Juanma Barranquero <lekktu@gmail.com>
6417
6418 * ido.el (ido-max-directory-size): Default to nil; the current
6419 default is small for POSIX systems, and impractical on Windows 7
6420 now that lstat returns directory sizes for NTFS.
6421
6422 2012-09-30 Martin Rudalics <rudalics@gmx.at>
6423
6424 In buffer display functions handle window-height/window-width
6425 alist entries. Suggested by Juri Linkov as fix for Bug#1806.
6426 * window.el (window--display-buffer): New argument ALIST.
6427 Obey window-height and window-width alist entries.
6428 (window--try-to-split-window): New argument ALIST.
6429 Bind window-combination-limit to t when the window's size shall be
6430 changed and window-combination-limit equals `window-size'.
6431 (display-buffer-in-atom-window)
6432 (display-buffer-in-major-side-window)
6433 (display-buffer-in-side-window, display-buffer-same-window)
6434 (display-buffer-reuse-window, display-buffer-pop-up-frame)
6435 (display-buffer-pop-up-window, display-buffer-below-selected)
6436 (display-buffer-at-bottom, display-buffer-in-previous-window)
6437 (display-buffer-use-some-window): Adjust all callers of
6438 window--display-buffer and window--try-to-split-window.
6439 (fit-frame-to-buffer): New option.
6440 (fit-window-to-buffer): Can resize frames if fit-frame-to-buffer
6441 is non-nil.
6442 (display-buffer-in-major-side-window): Evaluate window-height /
6443 window-width alist entries.
6444
6445 * help.el (temp-buffer-resize-frames)
6446 (temp-buffer-resize-regexps): Remove options.
6447 (temp-buffer-resize-mode): Adjust doc-string.
6448 (resize-temp-buffer-window): Don't consult
6449 temp-buffer-resize-regexps. Use fit-frame-to-buffer instead of
6450 temp-buffer-resize-frames.
6451
6452 * dired.el (dired-mark-pop-up):
6453 Call display-buffer-below-selected with a fit-window-to-buffer alist
6454 entry.
6455
6456 2012-09-30 Chong Yidong <cyd@gnu.org>
6457
6458 * server.el (server-host): Document the security implications.
6459 (server-auth-key): Doc fix.
6460
6461 * startup.el (initial-buffer-choice): Doc fix.
6462
6463 * minibuffer.el (minibuffer-local-filename-syntax): Doc fix.
6464
6465 * simple.el (delete-trailing-whitespace): Avoid an unnecessary
6466 restriction change.
6467
6468 * bindings.el (goto-map): Bind M-g TAB to move-to-column.
6469
6470 * help-fns.el (help-fns--obsolete): Fix last change.
6471
6472 2012-09-30 Stefan Monnier <monnier@iro.umontreal.ca>
6473
6474 * winner.el (winner-mode-map): Obey winner-dont-bind-my-keys here.
6475 (minor-mode-map-alist): Remove redundant code.
6476
6477 * vc/pcvs.el (cvs-cleanup-collection): Keep entries that are currently
6478 visited in a buffer.
6479 (cvs-insert-visited-file): New function.
6480 (find-file-hook): Use it.
6481
6482 * vc/pcvs-info.el (cvs-fileinfo-pp): Don't use non-existent faces.
6483
6484 * vc/log-edit.el (log-edit-font-lock-keywords): Ignore case to
6485 chose face.
6486 (log-edit-empty-buffer-p): Don't require a space after a header.
6487
6488 * vc/ediff-util.el (ediff-diff-at-point): Don't assume point-min==1.
6489
6490 * tutorial.el (help-with-tutorial): Use minibuffer-with-setup-hook.
6491
6492 * textmodes/text-mode.el (paragraph-indent-minor-mode): Make it
6493 a proper minor-mode.
6494
6495 * textmodes/tex-mode.el (tex-mode-map): Don't bind paren keys.
6496
6497 2012-09-29 Glenn Morris <rgm@gnu.org>
6498
6499 * winner.el (winner-mode): Remove variable (let define-minor-mode
6500 handle it).
6501 (winner-dont-bind-my-keys, winner-boring-buffers, winner-mode-hook):
6502 Doc fixes.
6503 (winner-mode-leave-hook): Rename to winner-mode-off-hook.
6504 (winner-mode): Use define-minor-mode.
6505
6506 * vc/vc-sccs.el (vc-sccs-registered): Use the progn trick to get
6507 the full definition in loaddefs, rather than duplicating it.
6508
6509 * help-macro.el (three-step-help): No need to autoload defcustom.
6510
6511 * progmodes/inf-lisp.el (inferior-lisp-filter-regexp)
6512 (inferior-lisp-program, inferior-lisp-load-command)
6513 (inferior-lisp-prompt, inferior-lisp-mode-hook):
6514 No need to autoload defcustoms.
6515
6516 * hippie-exp.el (hippie-expand-try-functions-list)
6517 (hippie-expand-verbose, hippie-expand-dabbrev-skip-space)
6518 (hippie-expand-dabbrev-as-symbol, hippie-expand-no-restriction)
6519 (hippie-expand-max-buffers, hippie-expand-ignore-buffers)
6520 (hippie-expand-only-buffers): No need to autoload defcustoms.
6521 * progmodes/vhdl-mode.el (vhdl-line-expand):
6522 Explicitly load hippie-exp, so it does not get autoloaded
6523 while hippie-expand-try-functions-list is let-bound.
6524
6525 2012-09-28 Glenn Morris <rgm@gnu.org>
6526
6527 * emacs-lisp/cl.el (flet): Fix case of obsolescence message.
6528
6529 * emacs-lisp/bytecomp.el (byte-compile-cl-file-p):
6530 Only "cl.el" counts as cl these days.
6531
6532 2012-09-28 Juri Linkov <juri@jurta.org>
6533
6534 Display archive errors in the echo area instead of inserting
6535 to the file buffer.
6536
6537 * arc-mode.el (archive-extract-by-stdout): Change arg STDERR-FILE
6538 to STDERR-TEST that can be a regexp matching a successful output.
6539 Create a temporary file and redirect stderr to it. Search for
6540 STDERR-TEST in the stderr output and display it in the echo area
6541 if no match is found.
6542 (archive-extract-by-file): New function like
6543 `archive-extract-by-stdout' but extracting archives to files
6544 and looking for successful matches in stdout. Function body is
6545 mostly copied from `archive-rar-extract'.
6546 (archive-rar-extract): Use `archive-extract-by-file'.
6547 (archive-7z-extract): Use `archive-extract-by-stdout'. (Bug#10347)
6548
6549 2012-09-28 Leo Liu <sdl.web@gmail.com>
6550
6551 * pcomplete.el (pcomplete-show-completions):
6552 Use minibuffer-message to make pcomplete usable in minibuffer.
6553
6554 * ido.el (ido-set-matches-1): Fix 2012-09-11 change.
6555
6556 2012-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
6557
6558 * type-break.el: Use lexical-binding.
6559 (type-break-mode): Use define-minor-mode.
6560
6561 * emacs-lisp/pcase.el (pcase--mark-used): New.
6562 (pcase--u1): Use it (bug#12512).
6563
6564 * custom.el (load-theme): Set buffer-file-name so the load is recorded
6565 in load-history with the right file name.
6566
6567 2012-09-28 Tassilo Horn <tsdh@gnu.org>
6568
6569 * doc-view.el (doc-view-current-cache-doc-pdf): New function.
6570 (doc-view-doc->txt, doc-view-convert-current-doc): Use it.
6571 (doc-view-get-bounding-box): Make bounding box slicing work for
6572 ODF and DVI documents.
6573
6574 2012-09-28 Glenn Morris <rgm@gnu.org>
6575
6576 * type-break.el (type-break-mode, type-break-interval)
6577 (type-break-good-rest-interval, type-break-keystroke-threshold):
6578 No need to autoload.
6579 (type-break-good-rest-interval, type-break-keystroke-threshold):
6580 Add :set-after.
6581
6582 2012-09-28 Chong Yidong <cyd@gnu.org>
6583
6584 * progmodes/verilog-mode.el (verilog-auto-inst-interfaced-ports):
6585 Add :version tag.
6586
6587 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
6588
6589 * json.el (json-encode-char): Codes 127-160 aren't "ASCII printable".
6590
6591 2012-09-27 Glenn Morris <rgm@gnu.org>
6592
6593 * faces.el (x-display-name): Declare (for without-x builds).
6594
6595 * linum.el (linum-format): Don't autoload it. Improve :type.
6596
6597 * progmodes/tcl.el: Don't require outline when compiling.
6598 (outline-regexp, outline-level): Declare.
6599 * textmodes/sgml-mode.el: Don't require outline when compiling.
6600 (outline-regexp, outline-heading-end-regexp, outline-level): Declare.
6601
6602 * term.el (term-ansi-reset):
6603 Try setting term-ansi-face-already-done to nil. (Bug#11785)
6604
6605 * vc/vc.el (vc-next-action): Only gripe about committing read-only
6606 files for RCS and SCCS. (Bug#9781)
6607
6608 2012-09-27 Chong Yidong <cyd@gnu.org>
6609
6610 * progmodes/verilog-mode.el (verilog-mode-release-emacs): Fix last
6611 change; value should be t.
6612
6613 2012-09-27 Stefan Monnier <monnier@iro.umontreal.ca>
6614
6615 * image-mode.el: Use lexical-binding.
6616 (image-mode-winprops): Use t to stand for the window of
6617 a buffer that's not displayed.
6618 * doc-view.el (doc-view-new-window-function): Handle the new
6619 t in winprops.
6620 (doc-view-enlarge): Make it a real nop if the size is not changed.
6621 (doc-view-display): Handle the case where the buffer is not (yet?)
6622 displayed in any window.
6623 (doc-view-saved-settings): New var.
6624 (doc-view-mode): Use it.
6625 (doc-view-fallback-mode): Set it.
6626
6627 * minibuf-eldef.el: Make it possible to replace (default ...) with [...].
6628 Set lexical-binding.
6629 (minibuffer-eldef-shorten-default): New var.
6630 (minibuffer-default-in-prompt-regexps): Use it for new default.
6631 (minibuf-eldef-setup-minibuffer): Add replacement functionality.
6632
6633 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
6634
6635 * international/uni-bidi.el:
6636 * international/uni-category.el:
6637 * international/uni-name.el:
6638 * international/uni-numeric.el: Regenerate.
6639
6640 2012-09-26 Tomohiro Matsuyama <tomo@cx4a.org>
6641 Stefan Monnier <monnier@iro.umontreal.ca>
6642
6643 * profiler.el: New file.
6644
6645 2012-09-26 Stefan Monnier <monnier@iro.umontreal.ca>
6646
6647 * emacs-lisp/testcover.el (testcover-after): Add gv-expander.
6648 (testcover-reinstrument): Simplify with CSE.
6649
6650 2012-09-26 Juanma Barranquero <lekktu@gmail.com>
6651
6652 * window.el (temp-buffer-window-setup): Fix typo in docstring.
6653
6654 2012-09-25 Wilson Snyder <wsnyder@wsnyder.org>
6655
6656 * verilog-mode.el (verilog-auto-ascii-enum, verilog-auto-inout)
6657 (verilog-auto-input, verilog-auto-insert-lisp)
6658 (verilog-auto-output, verilog-auto-output-every, verilog-auto-reg)
6659 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-undef)
6660 (verilog-auto-unused, verilog-auto-wire)
6661 (verilog-forward-or-insert-line): Fix AUTOs with no trailing
6662 newline. Reported by Andrew Jones.
6663 (verilog-auto-inst) Support expanding $clog2 in AUTOINST.
6664 Reported by Brad Dobbie.
6665 (verilog-batch-delete-trailing-whitespace):
6666 Create verilog-batch-delete-trailing-whitespace.
6667 Reported by Brad Dobbie.
6668 (verilog-auto-inout-param): Support AUTOINOUTPARAM for copying
6669 parameters from another module. Reported by Dan Katz.
6670 (verilog-auto, verilog-auto-assign-modport)
6671 (verilog-auto-inout-modport): Add AUTOASSIGNMODPORT and
6672 AUTOINOUTMODPORT for UVM interface module shell generation.
6673 Reported by Brad Dobbie.
6674 (verilog-auto-inst-interfaced-ports): Make default nil, as more
6675 standard behavior.
6676 (verilog-auto): Fix AUTO parameters with parenthesis arguments.
6677 Reported by Matt Martin.
6678
6679 2012-09-25 Martin Rudalics <rudalics@gmx.at>
6680
6681 * window.el (window--resize-child-windows): When resizing child
6682 windows proportionally, process them in reverse order to
6683 preserve the "when splitting a window the new one gets the odd
6684 line" behavior.
6685 (window--resize-root-window-vertically): When resizing the
6686 minibuffer window try to affect only windows at the bottom of the
6687 frame. (Bug#12419)
6688
6689 2012-09-25 Chong Yidong <cyd@gnu.org>
6690
6691 * subr.el (declare): Doc fix.
6692
6693 * help-fns.el (help-fns--obsolete): Handle macros properly.
6694
6695 2012-09-25 Chong Yidong <cyd@gnu.org>
6696
6697 * bookmark.el (bookmark-jump-noselect): Use a declare form to mark
6698 this function obsolete.
6699
6700 * calendar/cal-x.el (calendar-two-frame-setup)
6701 (calendar-only-one-frame-setup, calendar-one-frame-setup):
6702 * calendar/calendar.el (american-calendar, european-calendar)
6703 (calendar-for-loop):
6704 * comint.el (comint-dynamic-simple-complete)
6705 (comint-dynamic-complete-as-filename, comint-unquote-filename):
6706 * desktop.el (desktop-load-default):
6707 * dired-x.el (dired-omit-here-always)
6708 (dired-hack-local-variables, dired-default-directory):
6709 * emacs-lisp/derived.el (derived-mode-class):
6710 * emacs-lisp/timer.el (timer-set-time-with-usecs):
6711 * emacs-lock.el (toggle-emacs-lock):
6712 * epa.el (epa-display-verify-result):
6713 * epg.el (epg-sign-keys, epg-start-sign-keys)
6714 (epg-passphrase-callback-function):
6715 * eshell/esh-util.el (eshell-for):
6716 * eshell/eshell.el (eshell-remove-from-window-buffer-names)
6717 (eshell-add-to-window-buffer-names):
6718 * files.el (locate-file-completion):
6719 * imenu.el (imenu-example--create-c-index)
6720 (imenu-example--create-lisp-index)
6721 (imenu-example--lisp-extract-index-name)
6722 (imenu-example--name-and-position):
6723 * international/mule-cmds.el (princ-list):
6724 * international/mule-diag.el (decode-codepage-char):
6725 * international/mule-util.el (detect-coding-with-priority):
6726 * iswitchb.el (iswitchb-read-buffer):
6727 * mail/mailalias.el (mail-complete):
6728 * mail/sendmail.el (mail-sent-via):
6729 * mouse.el (mouse-popup-menubar-stuff, mouse-popup-menubar)
6730 (mouse-major-mode-menu):
6731 * password-cache.el (password-read-and-add):
6732 * pcomplete.el (pcomplete-parse-comint-arguments):
6733 * progmodes/sh-script.el (sh-maybe-here-document):
6734 * replace.el (query-replace-regexp-eval):
6735 * savehist.el (savehist-load):
6736 * simple.el (choose-completion-delete-max-match):
6737 * term.el (term-dynamic-simple-complete):
6738 * vc/ediff-init.el (ediff-check-version):
6739 * vc/ediff-wind.el (ediff-choose-window-setup-function-automatically):
6740 * vc/vc.el (vc-diff-switches-list):
6741 * view.el (view-return-to-alist-update): Likewise.
6742
6743 * subr.el (eval-next-after-load, makehash, insert-string)
6744 (assoc-ignore-representation, assoc-ignore-case): Use declare to
6745 mark obsolete.
6746 (mode-line-inverse-video): Variable deleted.
6747
6748 * international/mule-util.el (string-to-sequence): Remove.
6749
6750 * calendar/calendar.el (calendar-version):
6751 * calendar/icalendar.el (icalendar-extract-ical-from-buffer)
6752 (icalendar-convert-diary-to-ical):
6753 * cus-edit.el (custom-mode):
6754 * ansi-color.el (ansi-color-unfontify-region):
6755 * international/latin1-disp.el (latin1-char-displayable-p):
6756 * progmodes/cwarn.el (turn-on-cwarn-mode):
6757 * progmodes/which-func.el (which-func-update-1):
6758 Use define-obsolete-function-alias.
6759
6760 * net/newst-backend.el (newsticker-cache-filename):
6761 * net/newst-treeview.el (newsticker-groups-filename):
6762 Fix incorrect obsolescence declaration.
6763
6764 * allout.el (allout-passphrase-hint-string): Likewise.
6765 (allout-init): Use a declare form to mark obsolete.
6766
6767 * emacs-lisp/byte-run.el (make-obsolete): Doc fix; emphasize that
6768 this applies to functions.
6769
6770 * iswitchb.el (iswitchb-read-buffer): Move code of
6771 iswitchb-define-mode-map here, and delete that obsolete function.
6772
6773 * net/snmp-mode.el (snmp-font-lock-keywords-3): Don't use obsolete
6774 font-lock-reference-face.
6775
6776 2012-09-25 Glenn Morris <rgm@gnu.org>
6777
6778 * buff-menu.el (Buffer-menu-name-width, Buffer-menu-size-width):
6779 Doc fixes.
6780
6781 * eshell/em-term.el (eshell-term-name):
6782 Default to term-term-name. (Bug#12485)
6783
6784 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
6785
6786 * progmodes/python.el (python-shell-send-buffer): Better handling
6787 of "if __name__ == '__main__':" conditionals when sending the buffer.
6788
6789 2012-09-24 Glenn Morris <rgm@gnu.org>
6790
6791 * eshell/esh-cmd.el (eshell-find-alias-function):
6792 Tighten up file-name regexp. (Bug#12499)
6793
6794 2012-09-24 Fabián Ezequiel Gallina <fgallina@cuca>
6795
6796 Enhancements for triple-quote string syntax.
6797 * progmodes/python.el (python-quote-syntax): Remove.
6798 (python-syntax-propertize-function): New value.
6799 (python-syntax-count-quotes, python-syntax-stringify):
6800 New functions.
6801
6802 2012-09-24 Chong Yidong <cyd@gnu.org>
6803
6804 * mail/supercite.el (sc-version): Remove obsolete function.
6805 (sc-describe): Don't mark as obsolete, since it is bound.
6806 (sc-submit-bug-report): Remove.
6807
6808 * vc/log-edit.el (cvs-changelog-full-paragraphs)
6809 (cvs-commit-buffer-require-final-newline): Remove.
6810 (log-edit-require-final-newline)
6811 (log-edit-changelog-full-paragraphs): Default to t.
6812
6813 * vc/pcvs-defs.el (cvs-diff-buffer-name, cvs-diff-ignore-marks)
6814 * vc/vc-hooks.el (vc-ignore-vc-files, vc-master-templates)
6815 * vc/vc.el (vc-checkout-carefully): Likewise.
6816
6817 * vc/emerge.el (emerge-mode): Make it an obsolete alias.
6818 (emerge-version): Remove.
6819
6820 * progmodes/compile.el (compile-internal): Remove.
6821 (compilation-parse-errors-function): Fix typo.
6822
6823 * international/mule.el (set-char-table-default): Remove.
6824 (set-coding-priority, make-coding-system, generic-char-p)
6825 (charset-list, charset-bytes, charset-id): Use declare to mark
6826 functions as obsolete.
6827
6828 * vc/pcvs-defs.el (cvs-buffer-name-alist)
6829 (cvs-invert-ignore-marks): Remove references to obsolete vars.
6830 * vc/vc-hooks.el (vc-default-registered): Don't use
6831 vc-master-templates.
6832
6833 * font-lock.el (font-lock-reference-face):
6834 Use define-obsolete-variable-alias.
6835
6836 * generic-x.el (rul-generic-mode): Use font-lock-constant-face.
6837 * calendar/calendar.el (calendar-font-lock-keywords):
6838 * calendar/diary-lib.el (diary-font-lock-keywords)
6839 (diary-fancy-font-lock-keywords):
6840 * textmodes/reftex-sel.el (reftex-insert-docstruct):
6841 * textmodes/reftex-index.el (reftex-insert-index):
6842 * textmodes/reftex-cite.el (reftex-format-bib-entry):
6843 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
6844 * progmodes/ps-mode.el (ps-mode-font-lock-keywords-1):
6845 * progmodes/prolog.el (prolog-font-lock-keywords):
6846 * progmodes/idlwave.el (idlwave-idl-keywords):
6847 * progmodes/ada-mode.el (ada-font-lock-keywords):
6848 * net/snmp-mode.el (snmp-font-lock-keywords-3): Likewise.
6849
6850 2012-09-24 Glenn Morris <rgm@gnu.org>
6851
6852 * mail/emacsbug.el (report-emacs-bug): Include `lsb_release -d'.
6853
6854 2012-09-23 Fabián Ezequiel Gallina <fgallina@cuca>
6855
6856 * progmodes/python.el (python-indent-line): More consistent cursor
6857 movement behavior.
6858
6859 2012-09-23 Stefan Merten <smerten@oekonux.de>
6860
6861 * textmodes/rst.el: Fix compiler warning.
6862
6863 2012-09-23 Roland Winkler <winkler@gnu.org>
6864
6865 * textmodes/bibtex.el (bibtex-autokey-transcriptions):
6866 Transcribe also LaTeX hyphenation.
6867 (bibtex-reformat): Bug fix. Do not quote twice the elements of
6868 bibtex-reformat-previous-options.
6869
6870 2012-09-23 Roland Winkler <winkler@gnu.org>
6871
6872 * proced.el (proced-renice-command): New variable.
6873 (proced-marked-processes): New function.
6874 (proced-with-processes-buffer): New macro.
6875 (proced-send-signal): Use them.
6876 (proced-renice): New command bound to r.
6877
6878 2012-09-23 Roland Winkler <winkler@gnu.org>
6879
6880 * ibuf-ext.el (ibuffer-switch-to-saved-filter-groups): If list
6881 ibuffer-saved-filter-groups has one element, shortcut the call of
6882 completing-read. (Bug#12331)
6883
6884 2012-09-23 Chong Yidong <cyd@gnu.org>
6885
6886 * bindings.el (mode-line-toggle-read-only):
6887 * bs.el (bs-toggle-readonly):
6888 * buff-menu.el (Buffer-menu-toggle-read-only):
6889 * dired.el (dired-toggle-read-only):
6890 * ibuffer.el (ibuffer-do-toggle-read-only): Use read-only-mode.
6891
6892 2012-09-23 Chong Yidong <cyd@gnu.org>
6893
6894 * image.el (image-type-available-p): Adapt to init-image-library
6895 argument changes.
6896
6897 2012-09-22 Juri Linkov <juri@jurta.org>
6898
6899 * dired.el (dired-mode-map): Add [remap read-only-mode] for
6900 `dired-toggle-read-only'. (Bug#12462)
6901
6902 2012-09-22 Martin Rudalics <rudalics@gmx.at>
6903
6904 * subr.el (temp-output-buffer-show): New function.
6905 (with-output-to-temp-buffer): Call temp-output-buffer-show
6906 instead of internal-temp-output-buffer-show.
6907
6908 2012-09-22 Chong Yidong <cyd@gnu.org>
6909
6910 * files.el (ctl-x-map): Bind C-x C-q to read-only-mode
6911 (Bug#12462).
6912
6913 * repeat.el (repeat): Doc fix (Bug#12348).
6914
6915 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix
6916 (Bug#10909).
6917
6918 * simple.el (shell-command-on-region): Doc fix.
6919 (read-only-mode): Doc fix.
6920
6921 2012-09-22 Eli Zaretskii <eliz@gnu.org>
6922
6923 * emacs-lisp/timer.el (run-with-idle-timer)
6924 (timer-activate-when-idle): Warn against reinvoking an idle timer
6925 from within its own timer action. (Bug#12447)
6926
6927 2012-09-22 Martin Rudalics <rudalics@gmx.at>
6928
6929 * cus-start.el (window-combination-limit): Add new optional
6930 values.
6931 * window.el (temp-buffer-window-show)
6932 (window--try-to-split-window): Handle new values of
6933 window-combination-limit (Bug#1806).
6934 (split-window): Test window-combination-limit for t instead of
6935 non-nil.
6936 (display-buffer-at-bottom): New buffer display action function.
6937 * help.el (temp-buffer-resize-regexps): New option.
6938 (temp-buffer-resize-mode): Rewrite doc-string.
6939 (resize-temp-buffer-window): Obey temp-buffer-resize-regexps.
6940 Don't resize reused window. Suggested by Glenn Morris.
6941
6942 2012-09-22 Stefan Merten <smerten@oekonux.de>
6943
6944 * textmodes/rst.el: Revamp section title faces.
6945 (rst-official-version)
6946 (rst-package-emacs-version-alist): Sync with official version
6947 V1.4.0.
6948 (rst-faces-defaults, rst-set-level-default)
6949 (rst-level-face-max, rst-level-face-base-color)
6950 (rst-level-face-base-light, rst-level-face-format-light)
6951 (rst-level-face-step-light, rst-define-level-faces): Obsolete.
6952 (rst-adornment-faces-alist): Match new setup.
6953 (rst-level-1, rst-level-2, rst-level-3, rst-level-4)
6954 (rst-level-5, rst-level-6): New faces.
6955
6956 2012-09-22 Chong Yidong <cyd@gnu.org>
6957
6958 * simple.el (undo): Handle indirect buffers (Bug#8207).
6959
6960 2012-09-21 Leo Liu <sdl.web@gmail.com>
6961
6962 IDO: Disable match re-ordering for buffer switching.
6963 * ido.el (ido-buffer-disable-smart-matches): New variable.
6964 (ido-set-matches-1): Use it. (Bug#2042)
6965
6966 2012-09-21 Jose Marino <marinoj@nso.edu> (tiny change)
6967
6968 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
6969 Fix 2011-05-17 change. (Bug#12418)
6970
6971 2012-09-21 Leo Liu <sdl.web@gmail.com>
6972
6973 * subr.el (ignore-errors): Mention with-demoted-errors in doc-string.
6974
6975 2012-09-21 Glenn Morris <rgm@gnu.org>
6976
6977 * emacs-lisp/shadow.el (load-path-shadows-font-lock-keywords):
6978 Be more robust about locating simple.el.
6979
6980 2012-09-21 Glenn Morris <rgm@gnu.org>
6981
6982 * mail/emacsbug.el (report-emacs-bug): Trap load-path-shadows errors.
6983
6984 2012-09-21 Joel Bion <jpbion@westvi.com> (tiny change)
6985
6986 * pcmpl-gnu.el (pcmpl-gnu-tarfile-regexp): Add tar.xz. (Bug#12382)
6987
6988 2012-09-20 Juri Linkov <juri@jurta.org>
6989
6990 * replace.el (query-replace-read-from): Use `read-regexp' instead
6991 of `read-from-minibuffer' when `regexp-flag' is non-nil.
6992 (occur-read-primary-args): Use `read-regexp' instead of
6993 `read-string'.
6994 (multi-occur-in-matching-buffers): Use `read-regexp' instead of
6995 `read-from-minibuffer'.
6996 * isearch.el (isearch-occur): Use `read-regexp' instead of
6997 `read-string'.
6998 * dired.el (dired-read-regexp): Use `read-regexp' instead of
6999 `read-from-minibuffer'.
7000 * progmodes/grep.el (grep-read-regexp): Use `read-regexp' instead
7001 of `read-string'. (Bug#7567)
7002
7003 * replace.el (read-regexp): Rename DEFAULT-VALUE arg to DEFAULTS
7004 and allow accepting a list of strings prepended to a list of
7005 standard default values. Doc fix. (Bug#12321)
7006
7007 * replace.el (read-regexp): Add HISTORY arg. (Bug#7567)
7008
7009 * replace.el (read-regexp): Don't add ": " when PROMPT already
7010 ends with a colon and space. (Bug#12321)
7011
7012 2012-09-20 Tassilo Horn <tsdh@gnu.org>
7013
7014 * doc-view.el (doc-view-display): Better fix for the cl-assertion
7015 error.
7016
7017 2012-09-20 Stefan Merten <smerten@oekonux.de>
7018
7019 * textmodes/rst.el: Integrate support for `imenu' and `which-function'.
7020 Fixes feature request bug#11711.
7021 (rst-mode): Create `imenu-create-index-function'.
7022 (rst-get-stripped-line): Delete after refactoring.
7023 (rst-section-tree, rst-section-tree-rec)
7024 (rst-section-tree-point): Refactor and document properly.
7025 (rst-imenu-find-adornments-for-position)
7026 (rst-imenu-convert-cell, rst-imenu-create-index):
7027 New function.
7028
7029 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
7030
7031 * emacs-lisp/macroexp.el (macroexp--obsolete-warning): New function.
7032 (macroexp--expand-all): Use it.
7033 (macroexp--funcall-and-return): Remove by folding it into its sole
7034 caller (macroexp--warn-and-return).
7035 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete):
7036 Use macroexp--obsolete-warning.
7037
7038 * calc/calc.el: Fix last change by removing the whole chunk, since it
7039 was only needed back when Calc was not bundled.
7040
7041 2012-09-20 Martin Rudalics <rudalics@gmx.at>
7042
7043 * emacs-lisp/debug.el (debug): Restore assignment to
7044 debugger-old-buffer removed on 2012-09-08.
7045
7046 2012-09-20 Juri Linkov <juri@jurta.org>
7047
7048 * dired-aux.el (dired-diff): Remove (require 'diff) since
7049 `diff-latest-backup-file' is now autoloaded.
7050
7051 2012-09-20 Chong Yidong <cyd@gnu.org>
7052
7053 * vc/diff.el (diff-latest-backup-file): Autoload.
7054
7055 2012-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
7056
7057 * calc/calc.el: Remove redundant autoload shape check.
7058 (sel-mode): Don't defvar.
7059 (calc-get-stack-element): Add `sel-mode' arg instead.
7060 (calc-top, calc-top-list): Pass it this additional argument.
7061 * calc/calc-store.el (calc-store-map):
7062 * calc/calc-map.el (calc-apply, calc-reduce, calc-map)
7063 (calc-map-equation, calc-outer-product, calc-inner-product):
7064 * calc/calc-aent.el (calc-alg-entry): Don't bind sel-mode.
7065
7066 * emacs-lisp/macroexp.el (macroexp--expand-all): Fix last change.
7067
7068 2012-09-19 Juri Linkov <juri@jurta.org>
7069
7070 * dired-aux.el (dired-diff): Add (require 'diff) because
7071 `diff-latest-backup-file' is not autoloaded.
7072 (dired-do-chxxx, dired-do-chmod): Set `no-error-if-not-filep' arg
7073 of `dired-get-filename' to t to not report error when there is
7074 no default file on the current line.
7075
7076 2012-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
7077
7078 * emacs-lisp/macroexp.el (macroexp--funcall-if-compiled): Rename from
7079 macroexp--eval-if-compile.
7080 (macroexp--funcall-and-return, macroexp--warn-and-return): New funs.
7081 (macroexp--expand-all): Use them (bug#12371).
7082
7083 * doc-view.el (doc-view-guess-paper-size)
7084 (doc-view-scale-bounding-box): Fix unbound `caddr'.
7085
7086 2012-09-19 Tassilo Horn <tsdh@gnu.org>
7087
7088 New feature: set optimal slice from BoundingBox information.
7089 * doc-view.el (doc-view-mode-map): Add keybinding.
7090 (doc-view-menu): Add menu entry.
7091 (doc-view-set-slice): Adapt docstring.
7092 (doc-view-get-bounding-box, doc-view-guess-paper-size)
7093 (doc-view-scale-bounding-box)
7094 (doc-view-set-slice-from-bounding-box): New functions.
7095 (doc-view-paper-sizes): New defvar.
7096
7097 2012-09-19 Glenn Morris <rgm@gnu.org>
7098
7099 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete)
7100 (byte-compile-log-warning): Autoload. (Bug#12371)
7101
7102 * calendar/calendar.el (calendar-american-month-header)
7103 (calendar-european-month-header, calendar-iso-month-header)
7104 (calendar-month-header): New options.
7105 (calendar-set-date-style): Set calendar-month-header. Redraw calendar.
7106 (calendar-generate-month): Use calendar-month-header. (Bug#9510)
7107
7108 2012-09-19 Jan Djärv <jan.h.d@swipnet.se>
7109
7110 * startup.el (command-line-ns-option-alist): Add -g and --geometry.
7111
7112 2012-09-18 Juri Linkov <juri@jurta.org>
7113
7114 * dired-aux.el (dired-diff): Restore original functionality of
7115 getting the default value, but keep new feature of using the
7116 latest existing backup file (`diff-latest-backup-file').
7117
7118 2012-09-18 Juri Linkov <juri@jurta.org>
7119
7120 * dired.el (dired-mark): If the region is active in Transient Mark
7121 mode, mark all files in the active region. Doc fix.
7122 (dired-unmark, dired-flag-file-deletion, dired-unmark-backward):
7123 Doc fix. (Bug#10624)
7124
7125 2012-09-18 Juri Linkov <juri@jurta.org>
7126
7127 * dired-aux.el (dired-do-chxxx, dired-do-chmod): Default file
7128 attributes for M-n are pulled from the file at point.
7129 (dired-do-chgrp, dired-do-chown, dired-do-touch): Doc fix.
7130 Suggested by Drew Adams. (Bug#10624)
7131
7132 2012-09-18 Dmitry Gutov <dgutov@yandex.ru>
7133
7134 * progmodes/ruby-mode.el (ruby-brace-to-do-end): Don't add extra
7135 whitespace after "end".
7136 (ruby-do-end-to-brace): Collapse block to one line if it fits
7137 within fill-column.
7138
7139 2012-09-18 Martin Rudalics <rudalics@gmx.at>
7140
7141 * emacs-lisp/debug.el (debugger-bury-or-kill): Fix customization
7142 value.
7143 (debug): Don't remove debugger window when debugger is expected
7144 to be back.
7145
7146 2012-09-18 Chong Yidong <cyd@gnu.org>
7147
7148 * custom.el (defface): Doc fix.
7149
7150 * cus-edit.el (custom-unlispify-remove-prefixes): Add warning.
7151
7152 2012-09-18 Martin Blais <blais@furius.ca> (tiny change)
7153
7154 * progmodes/compile.el (compilation-start): Use compilation-always-kill
7155 to initialize query-on-exit; then test that instead (bug#12288).
7156
7157 2012-09-17 Stefan Merten <smerten@oekonux.de>
7158
7159 * textmodes/rst.el: Add support for `testcover'.
7160 (rst-defcustom-testcover, rst-testcover-add-compose)
7161 (rst-testcover-add-1value): New functions.
7162 (rst-portable-mark-active-p): Replace by `use-region-p'.
7163 (rst-update-section, rst-classify-adornment)
7164 (rst-find-title-line): Mark `1value' forms.
7165 (rst-classify-adornment): Remove superfluous form.
7166 (rst-update-section, rst-get-adornments-around)
7167 (rst-adornment-complete-p, rst-get-next-adornment)
7168 (rst-adjust, rst-promote-region)
7169 (rst-display-adornments-hierarchy, rst-straighten-adornments)
7170 (rst-find-pfx-in-region, rst-section-tree-rec)
7171 (rst-section-tree-point, rst-toc-insert, rst-toc-insert-node)
7172 (rst-toc-node, rst-toc, rst-forward-section)
7173 (rst-iterate-leftmost-paragraphs)
7174 (rst-iterate-leftmost-paragraphs-2, rst-enumerate-region)
7175 (rst-bullet-list-region)
7176 (rst-convert-bullets-to-enumeration, rst-font-lock-keywords)
7177 (rst-compile-find-conf, rst-compile)
7178 (rst-repeat-last-character): Fix style.
7179
7180 2012-09-17 Chong Yidong <cyd@gnu.org>
7181
7182 * comint.el (comint--complete-file-name-data): Don't add a space
7183 if the status is `sole'; that adds a gratuitous space in the
7184 completion-cycling case (Bug#12092).
7185
7186 * pcomplete.el (pcomplete-completions-at-point): Likewise.
7187
7188 2012-09-17 Richard Stallman <rms@gnu.org>
7189
7190 * mail/rmailmm.el (rmail-mime-toggle-raw): Do rmail-mime-insert
7191 only in the mime-shown mode, not in raw mode.
7192 (rmail-mime): Toggle off mime by displaying the message without
7193 mime processing. (Bug#12305)
7194
7195 * mail/rmail.el (rmail-retry-failure):
7196 Turn off mime processing first. (Bug#12037)
7197
7198 * epa-mail.el (epa-mail-encrypt): Fix bug when a name has no key.
7199
7200 2012-09-17 Chong Yidong <cyd@gnu.org>
7201
7202 * shell.el (shell-file-name-chars, shell-file-name-quote-list)
7203 (shell-dynamic-complete-functions): Convert to defcustom.
7204 (shell-prompt-pattern, shell-completion-fignore): Doc fix.
7205
7206 * bookmark.el (bookmark-bmenu-toggle-filenames): Doc fixes.
7207 * comint.el (comint-prompt-read-only):
7208 * custom.el (defcustom):
7209 * hi-lock.el (hi-lock-mode):
7210 * ibuffer.el (ibuffer-formats):
7211 * ielm.el (ielm-prompt-read-only):
7212 * novice.el (disable-command):
7213 * saveplace.el (toggle-save-place):
7214 * speedbar.el (speedbar-supported-extension-expressions):
7215 * startup.el (auto-save-list-file-prefix, init-file-user)
7216 (after-init-hook, inhibit-startup-echo-area-message):
7217 * strokes.el (strokes-help):
7218 * time-stamp.el (time-stamp):
7219 * calendar/calendar.el (calendar, diary-file):
7220 * calendar/diary-lib.el (diary-mail-entries, diary)
7221 (diary-list-entries-hook):
7222 * calendar/holidays.el (holidays, calendar-holidays):
7223 * calendar/lunar.el (lunar-phases):
7224 * calendar/solar.el (sunrise-sunset):
7225 * emulation/edt.el (edt-load-keys):
7226 * emulation/viper.el (viper-mode):
7227 * eshell/em-alias.el (eshell-command-aliases-list):
7228 * eshell/esh-util.el (eshell-convert-numeric-arguments):
7229 * international/ogonek.el (ogonek-information):
7230 * net/tramp-cmds.el (tramp-bug):
7231 * net/quickurl.el (quickurl-reread-hook-postfix):
7232 * play/decipher.el (decipher-font-lock-keywords):
7233 * progmodes/cc-styles.el (c-set-style):
7234 * progmodes/idlw-shell.el (idlwave-shell-prompt-pattern):
7235 * progmodes/inf-lisp.el (inferior-lisp-prompt):
7236 * progmodes/octave-mod.el (octave-mode):
7237 * progmodes/sql.el (sql-mode, sql-interactive-mode, sql-password):
7238 * progmodes/verilog-mode.el (verilog-read-defines):
7239 * textmodes/two-column.el (2C-mode): Likewise.
7240
7241 2012-09-16 Katsumi Yamaoka <yamaoka@jpl.org>
7242
7243 * mail/mailabbrev.el (mail-abbrev-expand-hook): Work for a mail aliasee
7244 that holds many addresses.
7245
7246 2012-09-16 Chong Yidong <cyd@gnu.org>
7247
7248 * align.el (align-areas): Call the indication function with
7249 positions instead of markers for arguments (Bug#12343).
7250
7251 * files.el (parse-colon-path): Use split-string (Bug#12351).
7252
7253 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
7254 (display-buffer-function): Mark as obsolete.
7255
7256 * progmodes/compile.el (compilation-parse-errors): Accept list
7257 values similar to font-lock-keywords (Bug#12136).
7258 Suggested by Oleksandr Manzyuk.
7259 (compilation-error-regexp-alist): Doc fix.
7260
7261 2012-09-15 Glenn Morris <rgm@gnu.org>
7262
7263 * version.el (emacs-bzr-version-bzr): New function.
7264 (emacs-bzr-get-version): Add optional EXTERNAL argument.
7265
7266 * vc/vc-bzr.el (vc-bzr-working-revision): For lightweight local
7267 checkouts, check the parent dirstate matches the branch.
7268 Add "--tree" to "bzr revno" arguments. Don't try to shorten the
7269 empty string.
7270
7271 * version.el (emacs-bzr-version): Doc fix.
7272 (emacs-bzr-version-dirstate): New function.
7273 (emacs-bzr-get-version): For lightweight checkouts, if the parent
7274 is local try and check that it matches the branch. If not, just
7275 use dirstate information. (Bug#12441)
7276
7277 2012-09-14 Juri Linkov <juri@jurta.org>
7278
7279 * dired-aux.el (dired-do-chmod): Use `eq' to detect empty input.
7280 (Bug#12399)
7281
7282 2012-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
7283
7284 * emacs-lisp/advice.el (ad-prognify): Remove, use macroexp-progn.
7285
7286 * emacs-lisp/edebug.el: Miscellaneous cleanup.
7287 Remove obsolete byte-compiler hack that tried to silence some warnings.
7288 (edebug-submit-bug-report): Remove.
7289 (edebug-get-buffer-window, edebug-sit-for, edebug-input-pending-p):
7290 Remove aliases, use the un-prefixed name instead.
7291 (edebug-pop-to-buffer): Consider other frames.
7292 (edebug-original-read):: Make it more obvious that it's always defined.
7293 (edebug--make-form-data-entry, edebug--form-data-name)
7294 (edebug--form-data-begin, edebug--form-data-end): Rename from the
7295 single-dashed name, and implement with cl-defstruct.
7296 (edebug-set-form-data-entry): Use the standard accessors.
7297 (edebug-make-top-form-data-entry): Use push.
7298 (edebug-no-match): Drop useless `funcall'.
7299 (mapcar, mapconcat, mapatoms, apply, funcall): Don't add debug specs
7300 to functions.
7301 (defsubst, dont-compile, eval-when-compile, eval-and-compile)
7302 (delay-mode-hooks, with-temp-file, with-temp-message, ad-dolist)
7303 (with-syntax-table, push, pop, 1value, noreturn, defadvice)
7304 (easy-menu-define, with-custom-print): Remove redundant specs.
7305 (edebug-outside-overriding-local-map)
7306 (edebug-outside-overriding-terminal-local-map): Remove, unused.
7307 (edebug--display): Bind unread-command-events directly to nil rather
7308 than binding it to unread-command-events and later setting it to nil.
7309 (edebug--display): Kill edebug-eval-buffer here...
7310 (edebug--recursive-edit): ...rather than here.
7311 Bind standard-output and standard-input.
7312 (edebug-eval): Check cl-macroexpand-all is fboundp.
7313 (edebug-temp-display-freq-count): Fix last change.
7314
7315 * emacs-lisp/easymenu.el (easy-menu-define): Add `debug' spec.
7316 * subr.el (noreturn, 1value): Add `debug' spec.
7317 * emacs-lisp/advice.el: Require cl-lib.
7318 (ad-copy-tree): Remove, use copy-tree instead.
7319 (ad-dolist): Remove use dolist or cl-dolist instead.
7320 (ad-do-return): Remove, use cl-return instead.
7321 (defadvice): Add `debug' spec.
7322
7323 2012-09-13 Juri Linkov <juri@jurta.org>
7324
7325 * dired-aux.el (dired-do-chxxx): Use `eq' to detect empty input.
7326 (Bug#12399)
7327
7328 2012-09-13 Glenn Morris <rgm@gnu.org>
7329
7330 * calc/calc.el (math-compose-expr):
7331 * calc/calc-ext.el (math-compose-expr):
7332 * progmodes/cc-defs.el (cl-macroexpand-all):
7333 * progmodes/cc-langs.el (delete-duplicates, mapcan)
7334 (cl-macroexpand-all): Update declarations.
7335
7336 * vc/vc.el: No need to require ediff.
7337 (ediff-load-version-control): Declare.
7338 (ediff-vc-internal): Fix declaration.
7339 (vc-version-ediff): Require ediff.
7340
7341 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
7342
7343 Use a more backwards-compatible timer format (Bug#12430).
7344 * emacs-lisp/timer.el (timer): PSECS is now at the end, rather than
7345 being right after USECS, as that better supports old code that
7346 inadvisedly looked directly at the timer vector.
7347
7348 2012-09-13 Kenichi Handa <handa@gnu.org>
7349
7350 * language/chinese.el ("Chinese-GB", "Chinese-BIG5")
7351 ("Chinese-CNS", "Chinese-EUC-TW"): Add chinese-gbk to
7352 `coding-priority' property of these language environment.
7353
7354 2012-09-13 Paul Eggert <eggert@cs.ucla.edu>
7355
7356 Fix glitches caused by addition of psec to timers (Bug#12430).
7357 * image.el (image-animate-timer):
7358 * time.el (display-time-world-timer):
7359 Use timer--function and timer--args rather than raw access to
7360 timer vector.
7361
7362 2012-09-13 Glenn Morris <rgm@gnu.org>
7363
7364 * emacs-lisp/bytecomp.el (byte-compile-warning-prefix):
7365 If not compiling a file, try using load-file-name.
7366
7367 2012-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
7368
7369 * emacs-lisp/edebug.el (edebug-outside-unread-command-events):
7370 Fix last change.
7371 (edebug-update-eval-list): Use `push'.
7372
7373 * emacs-lisp/edebug.el: Use lexical-binding.
7374 Remove the "edebug-" prefix from non-dynamically-scoped variables.
7375 Mark unused args with underscore.
7376 (edebug-save-restriction, edebug-outside-excursion): Use `declare'.
7377 (edebug-form-data): Use defvar-local.
7378 (edebug-make-before-and-after-form, edebug-make-after-form):
7379 Use backquote.
7380 (edebug-args, edebug-value, edebug-after-index, edebug-arg-mode):
7381 Not dynamically scoped any more.
7382 (edebug--enter-trace): Add arguments `function' and `args'.
7383 Rename from edebug-enter-trace.
7384 (edebug-enter): Call it accordingly. Bind edebug-function explicitly.
7385 (edebug--update-coverage): Add `after-index' and `value' args.
7386 Rename from edebug-update-coverage.
7387 (edebug-slow-after): Call it accordingly.
7388 (edebug--recursive-edit): Add arg `arg-mode'. Rename from
7389 edebug-recursive-edit.
7390 (edebug--display): Call it accordingly. Add args `value',
7391 `offset-index', and `arg-mode'. Rename from edebug-display.
7392 (edebug-debugger, edebug): Call it accordingly.
7393 (edebug-eval-display-list): Use dolist.
7394
7395 2012-09-12 Juri Linkov <juri@jurta.org>
7396
7397 * info.el (Info-search): Don't check for isearch-mode and
7398 isearch-regexp before let-binding search-spaces-regexp to
7399 Info-search-whitespace-regexp.
7400 (Info-isearch-search): Let-bind Info-search-whitespace-regexp to
7401 search-whitespace-regexp if isearch-lax-whitespace or
7402 isearch-regexp-lax-whitespace is non-nil.
7403 (Info-mode): Don't set local variable search-whitespace-regexp.
7404 http://lists.gnu.org/archive/html/emacs-devel/2012-08/msg00811.html
7405
7406 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7407
7408 * emacs-lisp/debug.el (debugger-outer-unread-command-char, debug)
7409 (debugger-env-macro): Remove support for unread-command-char.
7410
7411 * subr.el (set-temporary-overlay-map): Minimize slightly the impact of
7412 the temporary map re-appearing on emulation-mode-map-alists.
7413
7414 * emacs-lisp/edebug.el (def-edebug-form-spec): Remove, it's been broken
7415 since 22.1.
7416
7417 * ehelp.el (with-electric-help): Accept functions in
7418 electric-help-form-to-execute.
7419 (electric-help-execute-extended, electric-help-ctrl-x-prefix): Use it.
7420 And replace unread-command-char -> unread-command-events.
7421
7422 2012-09-12 Michael Albinus <michael.albinus@gmx.de>
7423
7424 Sync with Tramp 2.2.6.
7425
7426 * net/tramp.el (tramp-accept-process-output): Don't use
7427 JUST-THIS-ONE in the XEmacs case.
7428
7429 * net/trampver.el: Update release number.
7430
7431 2012-09-12 Martin Rudalics <rudalics@gmx.at>
7432
7433 * emacs-lisp/debug.el (debugger-previous-window-height):
7434 New variable.
7435 (debug): When debugger-jumping-flag is non-nil try to restore
7436 height of debugger window. (Bug#8789)
7437
7438 2012-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
7439
7440 * emacs-lisp/edebug.el (edebug-enter): Don't mess with
7441 overriding-local-map and pre/post-command-hook here.
7442 (edebug-recursive-edit): Do it here instead (bug#12345).
7443 (edebug-outside-unread-command-char): Remove all uses of
7444 unread-command-char.
7445
7446 * emacs-lisp/debug.el (debug): Don't bind debug-on-error since
7447 inhibit-debugger is bound instead.
7448
7449 2012-09-11 Bastien Guerry <bzg@gnu.org>
7450
7451 * subr.el (set-temporary-overlay-map): Add a docstring.
7452 (Bug#12346)
7453
7454 2012-09-11 Bastien Guerry <bzg@gnu.org>
7455
7456 * minibuffer.el (completion-table-subvert): Fix docstring.
7457 (Bug#12347)
7458
7459 2012-09-11 Bastien Guerry <bzg@gnu.org>
7460
7461 * help-fns.el (describe-variable): Fix typo. (Bug#12346)
7462
7463 2012-09-10 Michael R. Mauger <mmaug@yahoo.com>
7464
7465 * progmodes/sql.el: Version 3.1
7466 (sql-db2-escape-newlines): New variable.
7467 (sql-escape-newlines-filter): Use it.
7468
7469 2012-09-10 Juanma Barranquero <lekktu@gmail.com>
7470
7471 * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
7472
7473 2012-09-10 Dan Nicolaescu <dann@gnu.org>
7474
7475 * vc/diff-mode.el (diff-mode-menu):
7476 Bind diff-remove-trailing-whitespace.
7477
7478 2012-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
7479
7480 * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
7481 (emacs-lisp-byte-code-comment, emacs-lisp-byte-code-syntax-propertize)
7482 (emacs-lisp-byte-code-mode): New functions.
7483 (eval-sexp-add-defvars): Don't skip defvars in column >0.
7484 (eval-defun-2): Remove bogus interactive spec.
7485 (lisp-indent-line): Remove redundant whole-exp code, now done in
7486 indent-according-to-mode.
7487 (save-match-data): Remove redundant indent data.
7488
7489 * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
7490 Use `declare'.
7491
7492 2012-09-09 Juri Linkov <juri@jurta.org>
7493
7494 * replace.el (replace-regexp-lax-whitespace): New defcustom.
7495 (replace-lax-whitespace, query-replace-regexp)
7496 (query-replace-regexp-eval, replace-regexp): Doc fix.
7497 (perform-replace, replace-highlight): Let-bind
7498 isearch-lax-whitespace to replace-lax-whitespace and
7499 isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
7500
7501 * isearch.el (isearch-query-replace): Let-bind
7502 replace-lax-whitespace to isearch-lax-whitespace and
7503 replace-regexp-lax-whitespace to
7504 isearch-regexp-lax-whitespace. (Bug#10885)
7505
7506 2012-09-09 Stefan Monnier <monnier@iro.umontreal.ca>
7507
7508 * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
7509
7510 2012-09-09 Alan Mackenzie <acm@muc.de>
7511
7512 * progmodes/cc-engine.el (c-state-cache-init):
7513 Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
7514 (c-record-parse-state-state):
7515 Record c-state-semi-nonlit-pos-cache\(-limit\)?.
7516
7517 2012-09-09 Andreas Schwab <schwab@linux-m68k.org>
7518
7519 * register.el (register-separator): Rename from
7520 separator-register. All uses changed. Doc fix.
7521 (register): Fix version.
7522
7523 2012-09-09 Chong Yidong <cyd@gnu.org>
7524
7525 * replace.el (query-replace-map): Bind four new symbols for
7526 requesting window scrolling.
7527
7528 * subr.el (y-or-n-p): Handle the window-scrolling bindings in
7529 query-replace-map (Bug#8948).
7530
7531 * custom.el (custom-theme-load-confirm): Use y-or-n-p.
7532
7533 * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
7534 since they are now in query-replace-map.
7535
7536 * window.el (scroll-other-window-down): Make the arg optional.
7537
7538 2012-09-09 Chong Yidong <cyd@gnu.org>
7539
7540 * files.el (hack-local-variables-confirm): Use quit-window to kill
7541 the *Local Variables* buffer.
7542
7543 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
7544
7545 * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
7546 not just expect to be at its beginning. Adjust callees.
7547 Succeed when do-end block has no space before the pipe character.
7548 (ruby-brace-to-do-end): When the original block is one-liner,
7549 convert to multiline. Reindent the result.
7550
7551 2012-09-08 Jambunathan K <kjambunathan@gmail.com>
7552
7553 * register.el (register): New group.
7554 (separator-register): New user option.
7555 (increment-register): Route it to `append-to-register', if
7556 register contains text. Implication is that `C-x r +' can now be
7557 used for appending to a text register (bug#12217).
7558 (append-to-register, prepend-to-register): Add separator based on
7559 `separator-register'.
7560
7561 2012-09-08 Alan Mackenzie <acm@muc.de>
7562
7563 AWK Mode: make auto-newline work when there's "==" in the pattern.
7564 * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
7565 correctly.
7566 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
7567 Test more rigorously for "=" token.
7568
7569 2012-09-08 Dmitry Gutov <dgutov@yandex.ru>
7570
7571 * progmodes/ruby-mode.el (ruby-match-expression-expansion):
7572 Only fail when reached LIMIT.
7573
7574 2012-09-08 Chong Yidong <cyd@gnu.org>
7575
7576 * dired.el (dired-mode-map): Don't bind M-=.
7577
7578 * dired-aux.el (dired-diff): Use backup file as default.
7579
7580 2012-09-08 Drew Adams <drew.adams@oracle.com>
7581
7582 * subr.el (add-to-history): Fix delete usage (Bug#12314).
7583
7584 2012-09-08 Chong Yidong <cyd@gnu.org>
7585
7586 * subr.el (syntax-after, syntax-class): Doc fix.
7587
7588 2012-09-08 Martin Rudalics <rudalics@gmx.at>
7589
7590 * window.el (display-buffer-in-previous-window): New buffer
7591 display action function.
7592
7593 * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
7594 (debugger-previous-window): New variable.
7595 (debug): Rewrite using display-buffer-in-previous-window,
7596 quit-restore-window and debugger-bury-or-kill. (Bug#8789)
7597
7598 2012-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
7599
7600 * emacs-lisp/byte-run.el (defun): Tweak message. Simplify code.
7601
7602 2012-09-07 Matt McClure <mlm@aya.yale.edu> (tiny change)
7603
7604 * progmodes/python.el (python-shell-send-string):
7605 When default-directory is remote, create temp file on remote
7606 filesystem.
7607 (python-shell-send-file): When file is remote, pass local view of
7608 file paths to remote Python interpreter. (Bug#12340)
7609
7610 2012-09-07 Chong Yidong <cyd@gnu.org>
7611
7612 * window.el (switch-to-buffer): Doc fix (Bug#12181).
7613
7614 * files.el (after-find-file): Don't fail on a read-only buffer if
7615 require-final-newline is `visit' or `visit-save' (Bug#11156).
7616
7617 * subr.el (read-char-choice): Allow quitting via ESC ESC.
7618
7619 * userlock.el (ask-user-about-supersession-threat):
7620 Use read-char-choice (Bug#12093).
7621
7622 2012-09-07 Chong Yidong <cyd@gnu.org>
7623
7624 * subr.el (buffer-narrowed-p): New function.
7625
7626 * ses.el (ses-widen):
7627 * simple.el (count-words--buffer-message):
7628 * net/browse-url.el (browse-url-of-buffer): Use it.
7629
7630 * simple.el (count-words-region): Don't signal an error if there
7631 is a non-nil prefix arg and the mark is not set.
7632
7633 * help.el (describe-key-briefly): Allow the message to be seen
7634 when invoked from the minibuffer (Bug#7014).
7635
7636 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
7637
7638 * progmodes/ruby-mode.el (ruby-end-of-defun)
7639 (ruby-beginning-of-defun): Simplify, allow indentation before
7640 block beginning and end keywords.
7641 (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
7642 (ruby-end-of-defun): Expect that the point is at the beginning of
7643 the defun.
7644
7645 2012-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
7646
7647 * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
7648 (bug#12367).
7649 (cl--make-usage-args): Strip _ from argument names.
7650
7651 2012-09-06 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
7652
7653 * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
7654 obsolete alias speedbar-key-map.
7655 (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
7656 (vhdl-index-menu-init): Don't use obsolete variable
7657 font-lock-maximum-size.
7658
7659 2012-09-06 Chong Yidong <cyd@gnu.org>
7660
7661 * frame.el (window-system-version): Mark as obsolete.
7662
7663 * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
7664 of obsolete variable speedbar-key-map.
7665
7666 2012-09-06 Juri Linkov <juri@jurta.org>
7667
7668 * replace.el (replace-lax-whitespace): New defcustom.
7669 (query-replace, query-replace-regexp, query-replace-regexp-eval)
7670 (replace-string, replace-regexp): Mention it in docstrings.
7671 (perform-replace, replace-highlight): Let-bind
7672 isearch-lax-whitespace and isearch-regexp-lax-whitespace according
7673 to the values of replace-lax-whitespace and regexp-flag.
7674 Don't let-bind search-whitespace-regexp. (Bug#10885)
7675
7676 * isearch.el (isearch-query-replace): Let-bind
7677 replace-lax-whitespace instead of let-binding
7678 replace-search-function and replace-re-search-function.
7679 (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
7680 and isearch-regexp-lax-whitespace to lazy-highlight variables.
7681 (isearch-toggle-symbol): Set isearch-regexp to nil
7682 in isearch-word mode (like in isearch-toggle-word).
7683
7684 2012-09-06 Juri Linkov <juri@jurta.org>
7685
7686 * replace.el (replace-search-function)
7687 (replace-re-search-function): Set default values to nil.
7688 (perform-replace): Let-bind isearch-related variables based on
7689 replace-related values, call `isearch-search-fun' and let-bind
7690 the result to `search-function'. Remove code that sets
7691 `search-function' and `search-string' separately for
7692 `delimited-flag'.
7693 (replace-highlight): Add new argument `delimited-flag' and
7694 rename other arguments to the names used in `perform-replace'.
7695 Let-bind `isearch-word' to the argument `delimited-flag'.
7696 (Bug#10885, bug#10887)
7697
7698 2012-09-07 Dmitry Gutov <dgutov@yandex.ru>
7699
7700 * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
7701 ruby-beginning-of-indent, simplify, allow all keywords to have
7702 indentation before them.
7703 (ruby-beginning-of-indent): Adjust for above. Search until the
7704 found point is not inside a string or comment.
7705 (ruby-font-lock-keywords): Allow symbols to start with "@"
7706 character, give them higher priority than variables.
7707 (ruby-syntax-propertize-function)
7708 (ruby-font-lock-syntactic-keywords): Remove the "not comments"
7709 matchers. Expression expansions are not comments when inside a
7710 string, and there comment syntax status is irrelevant.
7711 (ruby-match-expression-expansion): New function. Check that
7712 expression expansion is inside a string, and it's not escaped.
7713 (ruby-font-lock-keywords): Use it.
7714
7715 2012-09-05 Martin Rudalics <rudalics@gmx.at>
7716
7717 * help.el (temp-buffer-max-height): New default value.
7718 (temp-buffer-resize-frames): New option.
7719 (resize-temp-buffer-window): Optionally resize frame.
7720
7721 * window.el (fit-frame-to-buffer-bottom-margin): New option.
7722 (fit-frame-to-buffer): New function.
7723
7724 2012-09-05 Glenn Morris <rgm@gnu.org>
7725
7726 * emulation/cua-rect.el (cua--init-rectangles):
7727 * textmodes/picture.el (picture-mode-map):
7728 * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
7729 like forward-char and backward-char. (Bug#12317)
7730
7731 2012-09-05 Leo Liu <sdl.web@gmail.com>
7732
7733 * progmodes/flymake.el (flymake-warning-re): New variable.
7734 (flymake-parse-line): Use it.
7735
7736 2012-09-05 Glenn Morris <rgm@gnu.org>
7737
7738 * calendar/holidays.el (holiday-christian-holidays):
7739 Rename an entry. (Bug#12289)
7740
7741 2012-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
7742
7743 * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
7744 (bug#12222).
7745
7746 2012-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
7747
7748 * loadup.el: Load macroexp. Remove hack.
7749 * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
7750 (macroexp--expand-all): Use it to get better warnings.
7751 (macroexp--backtrace, macroexp--trim-backtrace-frame)
7752 (internal-macroexpand-for-load): New functions.
7753 (macroexp--pending-eager-loads): New var.
7754 (emacs-startup-hook): New hack to replace one in loadup.el.
7755 * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
7756 (cl--compiler-macro-cXXr): Move to top, before they can be used.
7757 (cl-psetf): Simplify.
7758 (cl-defstruct): Add indent rule.
7759
7760 2012-09-04 Lars Ingebrigtsen <larsi@gnus.org>
7761
7762 * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
7763 over `user-mail-address' for the SMTP MAIL FROM envelope.
7764 (smtpmail-via-smtp): Ditto.
7765
7766 2012-09-04 Dmitry Gutov <dgutov@yandex.ru>
7767
7768 * progmodes/ruby-mode.el: Clean up keybindings.
7769 (ruby-mode-map): Don't bind ruby-electric-brace,
7770 ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
7771 backward-kill-word, reindent-then-newline-and-indent.
7772 (ruby-mark-defun): Remove.
7773 (ruby-electric-brace): Remove. Obsoleted by electric-indent-chars.
7774 (ruby-mode): Set local beginning-of-defun-function and
7775 end-of-defun-function values.
7776
7777 2012-09-03 Martin Rudalics <rudalics@gmx.at>
7778
7779 * window.el (temp-buffer-window-setup-hook)
7780 (temp-buffer-window-show-hook): New hooks.
7781 (temp-buffer-window-setup, temp-buffer-window-show)
7782 (with-temp-buffer-window): New functions.
7783 (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
7784 (special-display-popup-frame): Make sure the window used shows BUFFER.
7785
7786 * help.el (temp-buffer-resize-mode): Fix doc-string.
7787 (resize-temp-buffer-window): New optional argument WINDOW.
7788
7789 * files.el (recover-file, save-buffers-kill-emacs):
7790 * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
7791
7792 2012-09-02 Michael Albinus <michael.albinus@gmx.de>
7793
7794 * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
7795 remote definition of `default-directory', ensure we can connect.
7796
7797 2012-09-02 Juri Linkov <juri@jurta.org>
7798
7799 Toggle whitespace matching mode with M-s SPC.
7800 http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
7801
7802 * isearch.el (search-whitespace-regexp): Doc fix.
7803 Remove cons cell customization.
7804 (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
7805 (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
7806 New variables.
7807 (isearch-forward, isearch-forward-regexp): Doc fix.
7808 (isearch-toggle-lax-whitespace): New command.
7809 (search-forward-lax-whitespace, search-backward-lax-whitespace)
7810 (re-search-forward-lax-whitespace)
7811 (re-search-backward-lax-whitespace): New functions.
7812 (isearch-whitespace-regexp): Remove function.
7813 (isearch-query-replace): Let-bind replace-search-function and
7814 replace-re-search-function.
7815 (isearch-occur): Let-bind search-spaces-regexp according to the
7816 value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
7817 (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
7818 condition for C-q SPC.
7819 (isearch-search-fun-default): Use new functions mentioned above.
7820 (isearch-search-forward, isearch-search-backward): Remove functions.
7821 (isearch-search): Don't let-bind search-spaces-regexp.
7822 (isearch-lazy-highlight-space-regexp): Remove variable.
7823 (isearch-lazy-highlight-lax-whitespace)
7824 (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
7825 (isearch-lazy-highlight-new-loop): Use them.
7826 (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
7827
7828 2012-09-02 Chong Yidong <cyd@gnu.org>
7829
7830 * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
7831
7832 2012-09-02 Glenn Morris <rgm@gnu.org>
7833
7834 * simple.el (undo): Tweak message in undo-only case. (Bug#12283)
7835
7836 2012-09-01 Glenn Morris <rgm@gnu.org>
7837
7838 * term.el: Tidy up menu definitions.
7839 (term-mode-map): Use easymenu for In/Out, Complete menus.
7840 (term-pager-break-map): Initialize in the defvar.
7841 (term-terminal-menu, term-signals-menu): Define with easymenu.
7842 (term-terminal-menu): Also show it in line-mode. (Bug#11957)
7843 (term-pager-menu): New, extracted from term-process-pager.
7844 (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
7845 (term-update-mode-line): Propertize line/char and page items.
7846 (term-process-pager): Move keymap initialization elsewhere.
7847
7848 2012-09-01 Martin Rudalics <rudalics@gmx.at>
7849
7850 * window.el (switch-to-prev-buffer): Handle additional values of
7851 BURY-OR-KILL argument. Don't switch in minibuffer window.
7852 (switch-to-next-buffer): Don't switch in minibuffer window.
7853 (quit-restore-window): New function based on quit-window.
7854 Handle additional values of former KILL argument.
7855 (quit-window): Call quit-restore-window with appropriate
7856 interpretation of KILL argument.
7857 (display-buffer-below-selected): New buffer display action
7858 function.
7859
7860 2012-09-01 Stefan Monnier <monnier@iro.umontreal.ca>
7861
7862 * minibuffer.el (completion-at-point-functions): Complete docstring
7863 (bug#12254).
7864
7865 2012-09-01 Paul Eggert <eggert@cs.ucla.edu>
7866
7867 Better seed support for (random).
7868 * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
7869 * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
7870 * play/mpuz.el, play/tetris.el, play/zone.el:
7871 * calc/calc-comb.el (math-init-random-base):
7872 * play/blackbox.el (bb-init-board):
7873 * play/life.el (life):
7874 * server.el (server-use-tcp):
7875 * type-break.el (type-break):
7876 Remove unnecessary call to (random t).
7877 * net/sasl.el (sasl-unique-id-function):
7878 Change (random t) to (random), now that the latter is more random.
7879 * play/life.el (life-initialized): Remove no-longer-needed var.
7880
7881 2012-08-31 Alp Aker <alp.tekin.aker@gmail.com>
7882
7883 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
7884 Consider frame's buffer predicate when choosing the buffer.
7885 (Bug#12081)
7886
7887 2012-08-30 Richard Stallman <rms@gnu.org>
7888
7889 * simple.el (special-mode-map): Delete binding for `z'.
7890
7891 2012-08-30 Andreas Schwab <schwab@linux-m68k.org>
7892
7893 * progmodes/compile.el (compilation-always-kill): Doc fix.
7894
7895 2012-08-30 Chong Yidong <cyd@gnu.org>
7896
7897 * window.el (display-buffer-reuse-frames): Make the obsolescence
7898 message more informative.
7899
7900 2012-08-30 Glenn Morris <rgm@gnu.org>
7901
7902 * paren.el (show-paren-delay):
7903 Add a :set function. Doc fix. (Bug#12297)
7904
7905 2012-08-29 Martin Blais <blais@furius.ca> (tiny change)
7906
7907 * progmodes/compile.el (compilation-always-kill): New var.
7908 (compilation-start): Use it.
7909
7910 2012-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
7911
7912 * simple.el (read-only-mode): Move from files.el for bootstrapping.
7913 * files.el (read-only-mode): Move to simple.el.
7914
7915 * files.el (read-only-mode): New minor mode.
7916 (toggle-read-only): Use it and mark obsolete.
7917 (find-file--read-only):
7918 * vc/vc.el (vc-next-action, vc-checkout):
7919 * vc/vc-cvs.el (vc-cvs-checkout):
7920 * obsolete/vc-mcvs.el (vc-mcvs-update):
7921 * ffap.el (ffap--toggle-read-only): Update callers.
7922
7923 2012-08-29 Michael Albinus <michael.albinus@gmx.de>
7924
7925 * eshell/esh-ext.el (eshell-external-command): Do not examine
7926 remote shell scripts.
7927 See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
7928
7929 * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
7930 "/usr/local/sbin".
7931
7932 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7933
7934 * emacs-lisp/cl-lib.el (buffer-string): Fix setter macro (bug#12293).
7935
7936 2012-08-28 Leo Liu <sdl.web@gmail.com>
7937
7938 * progmodes/sh-script.el (sh-dynamic-complete-functions): Adapt to
7939 completion-at-point. (Bug#12220)
7940
7941 * skeleton.el (skeleton-untabify): Change to nil (bug#12223).
7942
7943 * progmodes/sh-script.el (sh-indent-comment): Change to t (bug#12267).
7944
7945 2012-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7946
7947 * files.el (safe-local-eval-forms): Fix before-save-hook entry to
7948 be buffer-local; add delete-trailing-whitespace (bug#12259).
7949
7950 2012-08-28 Jeremy Moore <jmoore@ieee.org> (tiny change)
7951
7952 * progmodes/hideif.el (hif-compress-define-list):
7953 Fix typo. (Bug#11951)
7954
7955 2012-08-28 Dan Nicolaescu <dann@gnu.org>
7956
7957 * progmodes/hideshow.el (hs-block-end-regexp): Restore lost
7958 buffer local setting.
7959
7960 * net/rcirc.el (rcirc-split-message): Fix for buffer-local
7961 rcirc-encode-coding-system.
7962
7963 2012-08-28 Leo Liu <sdl.web@gmail.com>
7964
7965 * net/rcirc.el (rcirc-split-message): New function.
7966 (rcirc-send-message): Use it. (Bug#12051)
7967
7968 2012-08-28 Juri Linkov <juri@jurta.org>
7969
7970 * info.el (Info-fontify-node): Hide empty lines at the end of
7971 the node. (Bug#12272)
7972
7973 2012-08-27 Drew Adams <drew.adams@oracle.com>
7974
7975 * dired.el (dired-pop-to-buffer): Make window start at beginning
7976 of buffer (Bug#12281).
7977
7978 2012-08-26 Chong Yidong <cyd@gnu.org>
7979
7980 * window.el (special-display-regexps, special-display-frame-alist)
7981 (special-display-buffer-names, special-display-function)
7982 (display-buffer-reuse-frames): Mark as obsolete.
7983
7984 * progmodes/compile.el: Don't use display-buffer-reuse-frames.
7985
7986 * help.el (help-print-return-message): Don't treat
7987 display-buffer-reuse-frames specially.
7988
7989 2012-08-26 Chong Yidong <cyd@gnu.org>
7990
7991 * progmodes/gdb-mi.el (gdb-display-buffer-other-frame-action):
7992 New variable, replacing gdb-frame-parameters.
7993 (gdb-frame-io-buffer, gdb-frame-breakpoints-buffer)
7994 (gdb-frame-threads-buffer, gdb-frame-memory-buffer)
7995 (gdb-frame-disassembly-buffer, gdb-frame-stack-buffer)
7996 (gdb-frame-locals-buffer, gdb-frame-registers-buffer): Use it.
7997 (def-gdb-frame-for-buffer): Macro deleted. It is easier to define
7998 the functions directly with gdb-display-buffer-other-frame-action.
7999 (gdb-display-breakpoints-buffer, gdb-display-threads-buffer)
8000 (gdb-display-memory-buffer, gdb-display-disassembly-buffer)
8001 (gdb-display-stack-buffer, gdb-display-locals-buffer)
8002 (gdb-display-registers-buffer): Define directly.
8003 (def-gdb-display-buffer): Macro deleted.
8004 (gdb-display-buffer): Remove second and third args, callers don't
8005 use them. Defer to the default display-buffer behavior, apart
8006 from making windows dedicated.
8007 (gdb-setup-windows): Don't call display-buffer unnecessarily.
8008
8009 * progmodes/gud.el (gud-display-line): Just use display-buffer.
8010
8011 * window.el (display-buffer-pop-up-frame): Handle a
8012 pop-up-frame-parameters alist entry.
8013 (display-buffer): Document it.
8014
8015 2012-08-26 Chong Yidong <cyd@gnu.org>
8016
8017 * isearch.el (search-whitespace-regexp): Make string and nil
8018 values apply to both ordinary and regexp search. Allow a cons
8019 cell value to distinguish between the two.
8020 (isearch-whitespace-regexp, isearch-search-forward)
8021 (isearch-search-backward): New functions.
8022 (isearch-occur, isearch-search-fun-default, isearch-search)
8023 (isearch-lazy-highlight-new-loop): Use them.
8024 (isearch-forward, isearch-forward-regexp): Doc fix.
8025
8026 2012-08-26 Chong Yidong <cyd@gnu.org>
8027
8028 * faces.el (help-argument-name): Always inherit from italic
8029 (Bug#12213).
8030
8031 2012-08-25 Martin Rudalics <rudalics@gmx.at>
8032
8033 * window.el (window--even-window-heights): Even heights when
8034 WINDOW and the selected window form a vertical combination.
8035 (display-buffer-use-some-window): Provide that window used gets
8036 sized back by quit-window. (Bug#11880) and (Bug#12091)
8037
8038 2012-08-24 Paul Eggert <eggert@cs.ucla.edu>
8039
8040 Fix file time stamp problem with bzr and CVS (Bug#12001).
8041 * vc/vc-cvs.el (vc-cvs-parse-entry): Ignore subsecond information
8042 in the file's time stamp, since the version control system loses
8043 that information.
8044
8045 2012-08-22 Juri Linkov <juri@jurta.org>
8046
8047 * info.el (Info-fontify-node): Hide the suffix of the
8048 Info file name in the header line. (Bug#12187)
8049
8050 2012-08-22 Glenn Morris <rgm@gnu.org>
8051
8052 * calendar/cal-tex.el (cal-tex-weekly-common):
8053 Restore leading blank page.
8054
8055 2012-08-22 Le Wang <l26wang@gmail.com>
8056
8057 * misc.el (forward-to-word, backward-to-word): Activate or extend
8058 the region under `shift-select-mode'. (Bug#12231)
8059
8060 2012-08-22 Bastien Guerry <bzg@gnu.org>
8061
8062 * progmodes/executable.el (executable-prefix): Set to "#!" instead
8063 of "#! ". http://www.in-ulm.de/~mascheck/various/shebang/#details
8064 gives details on why the space is never needed.
8065
8066 2012-08-22 Martin Rudalics <rudalics@gmx.at>
8067
8068 * window.el (walk-window-tree, window-with-parameter):
8069 New optional argument MINIBUF to control whether these functions
8070 should run on the minibuffer window.
8071 (window-at-side-list): Don't operate on minibuffer window.
8072 (window-in-direction): Simplify and rewrite doc-string.
8073 (window--size-ignore): Rename to window--size-ignore-p.
8074 Update callers.
8075 (display-buffer-in-atom-window, window--major-non-side-window)
8076 (window--major-side-window, display-buffer-in-major-side-window)
8077 (delete-side-window, display-buffer-in-side-window):
8078 New functions.
8079 (window--side-check, window-deletable-p, delete-window)
8080 (delete-other-windows, split-window): Handle side windows and
8081 atomic windows appropriately.
8082 (window--display-buffer): Call display-buffer-record-window also
8083 when the window buffer did not change.
8084
8085 2012-08-22 Christopher Schmidt <christopher@ch.ristopher.com>
8086
8087 * help-fns.el (help-fns--key-bindings):
8088 Abbreviate non-symbol remap targets. (Bug#12174)
8089
8090 2012-08-22 Martin Rudalics <rudalics@gmx.at>
8091
8092 * dired.el (dired-mark-remembered): Don't clobber point.
8093 (Bug#11795)
8094
8095 2012-08-22 Glenn Morris <rgm@gnu.org>
8096
8097 * progmodes/bug-reference.el (bug-reference): New custom group.
8098 (bug-reference-bug-regexp): Make it a defcustom.
8099
8100 2012-08-22 Daiki Ueno <ueno@unixuser.org>
8101
8102 * progmodes/js.el (js-indent-level, js-expr-indent-offset)
8103 (js-paren-indent-offset, js-square-indent-offset)
8104 (js-curly-indent-offset): Add :safe (Bug#12257).
8105
8106 2012-08-22 Edward O'Connor <hober0@gmail.com>
8107
8108 * json.el (json-key-format): Add error properties.
8109 (json-encode-key): New function.
8110 (json-encode-hash-table, json-encode-alist, json-encode-plist):
8111 Use json-encode-key.
8112
8113 2012-08-22 Glenn Morris <rgm@gnu.org>
8114
8115 * calendar/cal-tex.el (cal-tex-longday): New function, replacing...
8116 (cal-tex-leftday, cal-tex-rightday): Remove functions.
8117 (cal-tex-weekly-common, cal-tex-cursor-filofax-2week):
8118 Update for above change.
8119
8120 2012-08-21 Andreas Schwab <schwab@linux-m68k.org>
8121
8122 * cus-face.el (custom-face-attributes): Fix customize type for the
8123 :underline attribute. (Bug#11805)
8124
8125 2012-08-21 Martin Rudalics <rudalics@gmx.at>
8126
8127 * window.el (window-point-1, set-window-point-1): Remove.
8128 (window-in-direction, record-window-buffer)
8129 (set-window-buffer-start-and-point, split-window-below)
8130 (window--state-get-1, display-buffer-record-window):
8131 Replace calls to window-point-1 and set-window-point-1 by calls to
8132 window-point and set-window-point respectively.
8133
8134 2012-08-21 Glenn Morris <rgm@gnu.org>
8135
8136 * calendar/cal-tex.el (cal-tex-weekly-common): New function.
8137 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week):
8138 Use it.
8139
8140 * calendar/cal-tex.el (cal-tex-rightday): Add optional funcname arg.
8141 (cal-tex-shortday): New function.
8142 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-week)
8143 (cal-tex-cursor-filofax-daily): Use the above.
8144
8145 * calendar/cal-tex.el (cal-tex-leftday, cal-tex-rightday):
8146 New functions.
8147 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
8148 (cal-tex-cursor-filofax-week): Use them.
8149
8150 * calendar/cal-tex.el (cal-tex-lefthead, cal-tex-righthead):
8151 New constants.
8152 (cal-tex-cursor-week-at-a-glance, cal-tex-cursor-filofax-2week)
8153 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use them.
8154
8155 * calendar/cal-tex.el (cal-tex-preamble): Generate new buffers.
8156 (cal-tex-end-document): Don't rely on buffer name.
8157
8158 * calendar/cal-tex.el (cal-tex-cursor-filofax-year):
8159 Use cal-tex-vspace.
8160 (cal-tex-vspace, cal-tex-hspace, cal-tex-em, cal-tex-bf)
8161 (cal-tex-Huge-bf, cal-tex-large-bf): Use cal-tex-cmd.
8162 (cal-tex-scriptsize, cal-tex-huge, cal-tex-Huge, cal-tex-large):
8163 Use cal-tex-arg.
8164
8165 * calendar/cal-tex.el (cal-tex-cursor-filofax-year)
8166 (cal-tex-cursor-week, cal-tex-cursor-week2)
8167 (cal-tex-cursor-week-iso, cal-tex-cursor-week-at-a-glance)
8168 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
8169 (cal-tex-cursor-filofax-daily, cal-tex-cursor-day)
8170 (cal-tex-insert-preamble, cal-tex-b-document)
8171 (cal-tex-e-document, cal-tex-b-center, cal-tex-e-center):
8172 Improve cal-tex-cmd usage.
8173
8174 * calendar/cal-tex.el (cal-tex-filofax-paper): New function.
8175 (cal-tex-cursor-filofax-year, cal-tex-cursor-filofax-2week)
8176 (cal-tex-cursor-filofax-week, cal-tex-cursor-filofax-daily): Use it.
8177 (cal-tex-weekly-paper): New function.
8178 (cal-tex-cursor-week, cal-tex-cursor-week2)
8179 (cal-tex-cursor-week-iso, cal-tex-cursor-week-monday)
8180 (cal-tex-cursor-day): Use it.
8181
8182 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance)
8183 (cal-tex-cursor-filofax-week): Remove leading blank page.
8184
8185 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
8186 Add autoload cookie. For now at least, don't use color, since
8187 no other cal-tex function does.
8188
8189 * calendar/cal-tex.el (cal-tex-cursor-week-iso)
8190 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
8191 (cal-tex-cursor-filofax-daily): Correct start date for diary entries.
8192
8193 2012-08-21 Juri Linkov <juri@jurta.org>
8194
8195 * info.el (Info-file-attributes): New variable.
8196 (info-insert-file-contents): Add file attributes to
8197 `Info-file-attributes'. Clear the caches `Info-index-nodes' and
8198 `Info-toc-nodes' when previous modtime of the Info file is less
8199 than new modtime.
8200 (Info-toc-nodes, Info-index-nodes): Move definitions up to the top
8201 of info.el. (Bug#12230)
8202
8203 2012-08-20 Glenn Morris <rgm@gnu.org>
8204
8205 * calendar/diary-lib.el (diary-include-files, diary-sexp-entry):
8206 * calendar/holidays.el (calendar-holiday-list):
8207 Report errors with display-warning rather than beep'n'sleep.
8208
8209 2012-08-20 Michael Albinus <michael.albinus@gmx.de>
8210
8211 * net/tramp.el (tramp-accept-process-output): Accept only output
8212 from PROC. Otherwise, process filters and sentinels might be
8213 confused. (Bug#12145)
8214
8215 2012-08-20 Chong Yidong <cyd@gnu.org>
8216
8217 * descr-text.el (describe-text-properties-1): Use overlays-in to
8218 report on empty overlays (Bug#3322).
8219
8220 2012-08-20 Glenn Morris <rgm@gnu.org>
8221
8222 * mail/rmailout.el (rmail-output-read-file-name):
8223 Trap and report errors in rmail-output-file-alist elements.
8224
8225 * font-lock.el (font-lock-add-keywords): Doc fix (quote face names
8226 since most non-font-lock faces are not also variables).
8227
8228 2012-08-20 Edward Reingold <reingold@iit.edu>
8229
8230 * calendar/cal-tex.el (cal-tex-cursor-week-at-a-glance):
8231 New function. (Bug12160)
8232
8233 2012-08-19 Glenn Morris <rgm@gnu.org>
8234
8235 * mail/rmailout.el (rmail-output-read-file-name):
8236 Fix previous change (when the alist is nil or does not match).
8237
8238 2012-08-19 Chong Yidong <cyd@gnu.org>
8239
8240 * xml.el (xml-escape-string): Don't refer to xml-entity-alist
8241 (Bug#12228).
8242
8243 2012-08-18 Chong Yidong <cyd@gnu.org>
8244
8245 * simple.el (yank-handled-properties): New defcustom.
8246 (yank-excluded-properties): Add font-lock-face and category.
8247 (yank): Doc fix.
8248
8249 * subr.el (remove-yank-excluded-properties):
8250 Obey yank-handled-properties. The special handling of font-lock-face
8251 and category is now done this way, instead of being hard-coded.
8252 (insert-for-yank-1): Remove font-lock-face handling.
8253 (yank-handle-font-lock-face-property)
8254 (yank-handle-category-property): New function.
8255
8256 2012-08-17 Glenn Morris <rgm@gnu.org>
8257
8258 * mail/rmailout.el (rmail-output-read-file-name):
8259 Check rmail-output-file-alist against the full message body
8260 in the correct rmail buffer. (Bug#12214)
8261
8262 2012-08-17 Michael Albinus <michael.albinus@gmx.de>
8263
8264 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
8265 Eliminate superfluous prompt. (Bug#12203)
8266
8267 2012-08-17 Chong Yidong <cyd@gnu.org>
8268
8269 * mouse.el (mouse-appearance-menu): If x-select-font returns a
8270 font spec, set the font directly (Bug#3228).
8271
8272 2012-08-17 Martin Rudalics <rudalics@gmx.at>
8273
8274 * window.el (delete-window): Fix last fix.
8275
8276 2012-08-16 Martin Rudalics <rudalics@gmx.at>
8277
8278 * window.el (window-valid-p): Move to window.c.
8279 (window-child, window-child-count, window-last-child)
8280 (window-normalize-window, window-combined-p)
8281 (window-combinations, window-atom-root, window-min-size)
8282 (window-sizable, window-sizable-p, window-size-fixed-p)
8283 (window-min-delta, window-max-delta, window--resizable)
8284 (window--resizable-p, window-resizable, window-total-size)
8285 (window-full-height-p, window-full-width-p, window-body-size)
8286 (window-at-side-p, adjust-window-trailing-edge, maximize-window)
8287 (minimize-window, window-deletable-p, delete-window)
8288 (delete-other-windows, set-window-buffer-start-and-point)
8289 (next-buffer, previous-buffer, split-window, balance-windows-2)
8290 (set-window-text-height, window-buffer-height)
8291 (fit-window-to-buffer, shrink-window-if-larger-than-buffer)
8292 (truncated-partial-width-window-p): Minor code adjustments.
8293 In doc-strings state whether the argument window has to denote a
8294 live, valid or any window.
8295
8296 2012-08-16 Phil Sainty <psainty@orcon.net.nz> (tiny change)
8297
8298 * progmodes/subword.el (subword-forward-function)
8299 (subword-backward-function, subword-forward-regexp)
8300 (subword-backward-regexp): New variables.
8301 (subword-forward, subword-forward-internal, subword-backward-internal):
8302 Use new variables, eg so that different "word" definitions
8303 can be easily used. (Bug#11411)
8304
8305 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
8306
8307 * vc/vc-mtn.el (vc-mtn-revision-completion-table): Handle completion
8308 for composite selectors.
8309 * vc/vc.el (vc-diff-build-argument-list-internal): Don't prevent
8310 operation just because we can't find a previous revision.
8311
8312 2012-08-15 Chong Yidong <cyd@gnu.org>
8313
8314 * frame.el (set-frame-font): Accept font objects.
8315
8316 2012-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
8317
8318 * textmodes/tex-mode.el (tex-insert-quote): ~ is a space (bug#12137).
8319
8320 2012-08-15 Wolfgang Jenkner <wjenkner@inode.at>
8321
8322 * man.el (Man-overstrike-face, Man-underline-face)
8323 (Man-reverse-face): Remove variables.
8324 (Man-overstrike, Man-underline, Man-reverse): New faces.
8325 (Man-fontify-manpage): Use them instead of the variables.
8326 (Man-cleanup-manpage): Comment change.
8327 (Man-ansi-color-map): New variable.
8328 (Man-fontify-manpage): Use it.
8329 Call ansi-color-apply-on-region to replace ad hoc code (bug#12147).
8330
8331 Implement ANSI SGR parameters 22-27 (bug#12146).
8332 * ansi-color.el (ansi-colors): Doc fix.
8333 (ansi-color-context, ansi-color-context-region): Doc fix.
8334 (ansi-color--find-face): New function.
8335 (ansi-color-apply, ansi-color-apply-on-region): Use it.
8336 Rename the local variable `face' to `codes' since it is now a list of
8337 ansi codes. Doc fix.
8338 (ansi-color-get-face): Remove.
8339 (ansi-color-parse-sequence): New function, derived from
8340 ansi-color-get-face.
8341 (ansi-color-apply-sequence): Use it. Rewrite, and support ansi
8342 codes 22-27.
8343
8344 2012-08-14 Stefan Monnier <monnier@iro.umontreal.ca>
8345
8346 * subr.el (read-passwd): Allow use from a minibuffer.
8347
8348 2012-08-14 Eli Zaretskii <eliz@gnu.org>
8349
8350 * tooltip.el (tooltip-identifier-from-point): Don't treat tokens
8351 inside comments and strings as identifiers.
8352
8353 * progmodes/gud.el (gud-tooltip-print-command): Quote the
8354 expression to evaluate. This allows to evaluate expressions with
8355 embedded whitespace.
8356 (gud-tooltip-tips): Add a blank before the newline in the
8357 message-box text, for the benefit of message-box emulation on
8358 MS-Windows.
8359
8360 * progmodes/gdb-mi.el (gdb-tooltip-print): Don't ignore error
8361 messages from GDB, pop them up in a tooltip to give feedback to
8362 user.
8363 (gdb-tooltip-print-1): Quote the expression to evaluate.
8364 This allows to evaluate expressions with embedded whitespace.
8365 (gdb-inferior-io--init-proc): Don't send "-inferior-tty" command
8366 if the TTY name is nil or empty (which happens when communicating
8367 with the inferior via pipes, e.g. on MS-Windows).
8368 (gdb-internals): If GDB sends a "&\n" empty debugging message,
8369 don't send that to the GUD buffer.
8370
8371 2012-08-14 Glenn Morris <rgm@gnu.org>
8372
8373 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
8374 Optimize away setq-default with no args, as for setq. (Bug#12195)
8375
8376 2012-08-14 Chong Yidong <cyd@gnu.org>
8377
8378 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
8379
8380 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
8381 (Bug#12085).
8382
8383 2012-08-14 Glenn Morris <rgm@gnu.org>
8384
8385 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
8386
8387 2012-08-14 Michael Albinus <michael.albinus@gmx.de>
8388
8389 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
8390 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
8391 Use cached shell name.
8392
8393 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
8394
8395 * progmodes/python.el (python-shell-send-string):
8396 (python-shell-send-setup-code): Do not use `format' with `message'.
8397
8398 2012-08-14 Dmitry Gutov <dgutov@yandex.ru>
8399
8400 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
8401 (ruby-percent-literal-beg-re): New constant.
8402 (ruby-syntax-general-delimiters-goto-beg): Rename to
8403 `ruby-syntax-enclosing-percent-literal', improve literal type check.
8404 (ruby-syntax-propertize-general-delimiters): Rename to
8405 `ruby-syntax-propertize-percent-literal', it's a shorter and more
8406 popular term. Adjust comments everywhere.
8407 (ruby-syntax-propertize-percent-literal): Only propertize when not
8408 inside a simple string or comment. When the literal is unclosed,
8409 leave the text after it unpropertized.
8410 (ruby-syntax-methods-before-regexp): New constant.
8411 (ruby-syntax-propertize-function): Use it to recognize regexps.
8412 Don't look at the text after regexp, just use the whitelist.
8413
8414 2012-08-14 Andreas Schwab <schwab@linux-m68k.org>
8415
8416 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
8417 non-nil always load the compiled file if it exists. (Bug#12197)
8418
8419 2012-08-14 Chong Yidong <cyd@gnu.org>
8420
8421 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
8422 (hi-lock-set-pattern): When deciding whether to use font lock or
8423 overlays, look at font-lock-mode instead of font-lock-fontified
8424 (Bug#12168).
8425 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
8426 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
8427
8428 2012-08-14 Daiki Ueno <ueno@unixuser.org>
8429
8430 * subr.el (internal--after-with-selected-window): Fix typo
8431 (Bug#12193).
8432
8433 2012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
8434
8435 Use `completion-table-dynamic' for completion functions.
8436 * progmodes/python.el
8437 (python-shell-completion--do-completion-at-point)
8438 (python-shell-completion--get-completions):
8439 Remove functions.
8440 (python-shell-completion-complete-at-point): New function.
8441 (python-completion-complete-at-point): Use it.
8442
8443 2012-08-13 Jambunathan K <kjambunathan@gmail.com>
8444
8445 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
8446 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
8447
8448 2012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
8449
8450 * subr.el (function-get): Refine `autoload' arg so it can also
8451 autoload functions for gv.el (bug#12191).
8452 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
8453 autoloads macros.
8454
8455 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
8456 Prefer pcase-let over destructuring-bind.
8457 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
8458 Also, remove whitespace as we go, rather than after accumulating the
8459 various places.
8460
8461 * subr.el (internal--before-with-selected-window)
8462 (internal--after-with-selected-window): Fix typo seleted->selected.
8463 (with-selected-window): Adjust callers.
8464 Reported by Dmitry Gutov <dgutov@yandex.ru>.
8465
8466 2012-08-13 Bastien Guerry <bzg@gnu.org>
8467
8468 * window.el (special-display-popup-frame): Minor docstring
8469 enhancement. (Bug#12172)
8470
8471 2012-08-13 Andreas Schwab <schwab@linux-m68k.org>
8472
8473 * tar-mode.el (tar-header-data-end): Only ignore size for files of
8474 type 1-6.
8475 (tar-header-block-summarize, tar-get-descriptor): Handle pax
8476 extended headers.
8477
8478 * files.el (hack-local-variables-filter): Remove useless eval.
8479
8480 2012-08-13 Martin Rudalics <rudalics@gmx.at>
8481
8482 * subr.el (with-selected-window): Fix last change.
8483
8484 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
8485
8486 * subr.el (internal--before-with-seleted-window)
8487 (internal--after-with-seleted-window): New functions.
8488 (with-selected-window): Use them, to replace dependency on
8489 tty-top-frame.
8490
8491 2012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
8492
8493 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
8494 binding for `newline'.
8495 (ruby-move-to-block): When moving backward, stop at block opening,
8496 not indentation.
8497 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
8498 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
8499 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
8500 `ruby-toggle-block'.
8501
8502 2012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
8503
8504 * ibuffer.el (ibuffer-do-toggle-read-only):
8505 * dired.el (dired-toggle-read-only):
8506 * buff-menu.el (Buffer-menu-toggle-read-only):
8507 * bindings.el (mode-line-toggle-read-only):
8508 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
8509
8510 2012-08-12 Andreas Schwab <schwab@linux-m68k.org>
8511
8512 * descr-text.el (describe-char): Put the overlays over the
8513 "displayed as" character.
8514
8515 2012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
8516
8517 * calc/calc-units.el (math-default-units-table): Give an
8518 initial value.
8519 (math-put-default-units): Add options to put composite units and
8520 unit systems in the default units table.
8521 (calc-convert-units): Send composite units to
8522 `math-put-default-units' when appropriate.
8523
8524 2012-08-11 Glenn Morris <rgm@gnu.org>
8525
8526 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
8527
8528 * tutorial.el (help-with-tutorial):
8529 * emacs-lisp/copyright.el (copyright-update-directory):
8530 * emacs-lisp/autoload.el (autoload-find-generated-file)
8531 (autoload-find-file): Disable local eval: (for insurance).
8532
8533 * files.el (hack-local-variables-filter): If an eval: form is not
8534 known to be safe, and enable-local-variables is :safe, then ignore
8535 the form totally, as is done for non-eval forms. (Bug#12155)
8536 This is CVE-2012-3479.
8537
8538 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
8539
8540 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
8541 (rx-form): Simplify.
8542
8543 2012-08-09 Dmitry Gutov <dgutov@yandex.ru>
8544
8545 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
8546 ?, _, and : are symbol constituents, ! is not (but kinda should be).
8547 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
8548 (ruby-syntax-propertize-function): Adjust for changes in
8549 `ruby-syntax-propertize-heredoc'.
8550
8551 2012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
8552
8553 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
8554 binding (use `M-;' instead).
8555 (ruby-singleton-class-p): New function.
8556 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
8557
8558 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
8559
8560 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
8561
8562 2012-08-10 Chong Yidong <cyd@gnu.org>
8563
8564 * progmodes/python.el (python-shell-get-process-name): Don't mess
8565 with same-window-buffer-names.
8566
8567 * eshell/eshell.el (eshell-add-to-window-buffer-names)
8568 (eshell-remove-from-window-buffer-names): Make obsolete.
8569 (eshell-buffer-name, eshell-unload-hook): Don't use them.
8570 (eshell): Just use pop-to-buffer-same-window instead.
8571
8572 2012-08-10 Chong Yidong <cyd@gnu.org>
8573
8574 * bindings.el: Bind M-= back to count-words-region.
8575
8576 * simple.el (count-words-region): Accept a prefix arg for acting
8577 on the entire buffer.
8578 (count-words--buffer-message): New helper function.
8579
8580 2012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
8581
8582 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
8583 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
8584 (event-start, event-end): Use posn-at-point to return a more
8585 informative posn.
8586 (posnp): New function.
8587 * mouse.el (popup-menu-normalize-position): Use it.
8588
8589 2012-08-10 Masatake YAMATO <yamato@redhat.com>
8590
8591 * mouse.el (popup-menu-normalize-position): New function.
8592 (popup-menu): Use `popup-menu-normalize-position' to normalize
8593 the form for POSITION argument.
8594
8595 * term/x-win.el (x-menu-bar-open):
8596 Use the value returend from (posn-at-point) as position
8597 passed to `popup-menu'.
8598
8599 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
8600
8601 * calc/calccomp.el (math-compose-expr): Add extra argument
8602 indicating that parentheses should be put around products in
8603 denominators. Give multiplication precedence over division during
8604 composition.
8605
8606 2012-08-09 Chong Yidong <cyd@gnu.org>
8607
8608 * man.el (Man-switches, Man-sed-command, Man-awk-command)
8609 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
8610 (Man-untabify-command, manual-program): Convert to defcustom
8611 (Bug#10429).
8612
8613 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
8614
8615 * descr-text.el (describe-char): Don't insert extra newlines
8616 (Bug#10127).
8617
8618 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
8619 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
8620
8621 * align.el (align-region): Delete temporary markers (Bug#10047).
8622 Plus some code cleanups.
8623
8624 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
8625
8626 * progmodes/python.el (python-pdbtrack-tracked-buffer)
8627 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
8628 (python-shell-internal-last-output): Use make-local-variable
8629 instead of make-variable-buffer-local.
8630
8631 2012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
8632
8633 * progmodes/python.el: Enhancements to forward-sexp.
8634 (python-nav-forward-sexp): Rename from
8635 python-nav-forward-sexp-function.
8636 (python-nav--forward-sexp, python-nav--backward-sexp):
8637 New functions.
8638
8639 2012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
8640
8641 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
8642 modes and simplification modes.
8643
8644 2012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
8645
8646 * delsel.el (delete-selection-pre-hook): Don't propagate the
8647 file-supersession signals (bug#12161).
8648
8649 2012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
8650
8651 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
8652 (cl-map-extents): Add compatibility aliases (bug#12135).
8653
8654 2012-08-08 Michael Albinus <michael.albinus@gmx.de>
8655
8656 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
8657 tests by `ignore-error'.
8658 (tramp-find-shell): Open also a new shell, when cache is already
8659 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
8660
8661 2012-08-08 Juri Linkov <juri@jurta.org>
8662
8663 * bookmark.el: Add `defaults' property to the bookmark record.
8664 (bookmark-current-buffer): Doc fix.
8665 (bookmark-make-record): Add `defaults' property with default values
8666 to the bookmark record.
8667 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
8668 with `bookmark-insert-current-bookmark'.
8669 (bookmark-set): Get `defaults' property from the bookmark record
8670 and use it in `read-from-minibuffer'.
8671 (bookmark-insert-current-bookmark): Remove function.
8672
8673 * info.el (Info-bookmark-make-record): Add `defaults' property
8674 with values of canonical Info node name, the current Info file
8675 name and the current Info node name. (Bug#12107)
8676
8677 2012-08-08 Juri Linkov <juri@jurta.org>
8678
8679 * files.el (basic-save-buffer): Use `buffer-name' as the default
8680 of `read-file-name' when buffer is not visiting a file (bug#12128).
8681
8682 2012-08-08 Juri Linkov <juri@jurta.org>
8683
8684 * info.el (Info-isearch-search): Doc fix.
8685 (Info-search): Change search-failed message from "initial node" to
8686 "end of node" (bug#12078).
8687 (Info-isearch-search): Change `isearch-string-state' to
8688 `isearch--state-string'.
8689
8690 2012-08-08 Glenn Morris <rgm@gnu.org>
8691
8692 * language/persian.el: Remove file.
8693 * language/misc-lang.el: Move unique part of persian.el here.
8694 * loadup.el: Remove language/persian.
8695
8696 2012-08-08 Óscar Fuentes <ofv@wanadoo.es>
8697
8698 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
8699
8700 2012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
8701
8702 * progmodes/python.el: Fix defsubst warning.
8703 (python-syntax-context) Rename from python-info-ppss-context.
8704 (python-syntax-context-type): Rename from
8705 python-info-ppss-context-type.
8706 (python-syntax-comment-or-string-p): Rename from
8707 python-info-ppss-comment-or-string-p.
8708
8709 2012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
8710
8711 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
8712
8713 2012-08-07 Andreas Schwab <schwab@linux-m68k.org>
8714
8715 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
8716 a defcustom that is quoted with backquote.
8717
8718 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
8719 Fix handling of interactive spec when the body uses return.
8720 (math-do-arg-check, math-define-function-body): Use backquote forms.
8721 * calc/calc-ext.el (math-defcache): Likewise.
8722 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
8723 * allout.el (allout-new-exposure): Likewise.
8724 * calc/calcalg2.el (math-tracing-integral): Likewise.
8725 * info.el (Info-last-menu-item): Likewise.
8726 * emulation/vip.el (vip-loop): Likewise.
8727 * textmodes/artist.el (artist-funcall): Likewise.
8728 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
8729 Construct menu-item directly.
8730
8731 * progmodes/autoconf.el (font-lock-syntactic-keywords):
8732 Don't declare.
8733
8734 2012-08-07 Chong Yidong <cyd@gnu.org>
8735
8736 * simple.el (deactivate-mark): Preserve text properties when
8737 saving the primary selection (Bug#8384).
8738
8739 2012-08-07 Kevin Ryde <user42@zip.com.au>
8740
8741 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
8742 (woman-parse-numeric-value): On a bad .IP line, issue a warning
8743 and continue processing (Bug#12110).
8744
8745 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
8746
8747 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
8748 syntax-propertize-function (bug#10095).
8749
8750 2012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
8751
8752 * help-fns.el (help-fns--key-bindings, help-fns--signature)
8753 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
8754 describe-function-1.
8755 (describe-function-1): Use them. Move compiler macro after sig.
8756 (help-fns--compiler-macro): Use function-get. Assume we're already in
8757 standard-output. Adjust layout to new call order.
8758
8759 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
8760 re-binding a symbol that has a symbol-macro (bug#12119).
8761
8762 2012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
8763
8764 * language/persian.el: New file. (Bug#11812)
8765 * loadup.el: Add language/persian.el.
8766
8767 2012-08-06 Chong Yidong <cyd@gnu.org>
8768
8769 * window.el (window--maybe-raise-frame): New function.
8770 (window--display-buffer): Split off from here.
8771 (display-buffer-reuse-window, display-buffer-pop-up-frame)
8772 (display-buffer-pop-up-window, display-buffer-use-some-window):
8773 Obey an inhibit-switch-frame action alist entry.
8774 (display-buffer): Update doc.
8775
8776 * replace.el (occur-after-change-function): Avoid losing focus by
8777 using the inhibit-switch-frame display parameter (Bug#12139).
8778
8779 2012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
8780
8781 Make internal shell process buffer names start with space.
8782 * progmodes/python.el (python-shell-make-comint): Add optional
8783 argument INTERNAL.
8784 (run-python-internal): Use it.
8785 (python-shell-internal-get-or-create-process): Check for new
8786 internal buffer names.
8787
8788 2012-08-06 Glenn Morris <rgm@gnu.org>
8789
8790 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
8791 Do less getting and setting of environment variables.
8792
8793 2012-08-05 Chong Yidong <cyd@gnu.org>
8794
8795 * proced.el (proced): Add substitution string to docstring to
8796 trigger autoloading of the proced library on C-h f (Bug#1768).
8797
8798 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
8799 Don't show defvars which have no second argument (Bug#8638).
8800
8801 * imenu.el (imenu-generic-expression): Move documentation here
8802 from imenu--generic-function.
8803 (imenu--generic-function): Refer to imenu-generic-expression.
8804
8805 2012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
8806
8807 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
8808 indentation declaration.
8809 (viper-loop): Add indentation declaration (Bug#7025).
8810
8811 2012-08-05 Chong Yidong <cyd@gnu.org>
8812
8813 * help-fns.el (describe-variable): Add hyperlink for
8814 directory-local variables files. Improve buffer-local and
8815 permanent-local reporting; suggested by MON KEY (Bug#6644).
8816
8817 * help-mode.el (help-dir-local-var-def): New button type.
8818
8819 * files.el (kill-buffer-hook): Provide a defvar.
8820
8821 2012-08-05 Glenn Morris <rgm@gnu.org>
8822
8823 * eshell/esh-ext.el (eshell/addpath):
8824 Also update eshell-path-env. (Bug#12013)
8825
8826 2012-08-05 Chong Yidong <cyd@gnu.org>
8827
8828 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
8829
8830 * fringe.el (fringe-styles): Add docstring.
8831 (fringe--check-mode): New function.
8832 (set-fringe-mode, set-fringe-style): Use it.
8833 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
8834
8835 * files.el (set-auto-mode): Fix invalid setq call.
8836
8837 2012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
8838
8839 * isearch.el: Misc simplification; use defstruct.
8840 (isearch-mode-map): Dense maps now work like sparse ones.
8841 (isearch--state): New defstruct.
8842 (isearch-string-state, isearch-message-state, isearch-point-state)
8843 (isearch-success-state, isearch-forward-state)
8844 (isearch-other-end-state, isearch-word-state, isearch-error-state)
8845 (isearch-wrapped-state, isearch-barrier-state)
8846 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
8847 replaced by defstruct's accessors.
8848 (isearch--set-state): Rename from isearch-top-state and change
8849 calling convention.
8850 (isearch-push-state): Use new isearch--get-state.
8851 (isearch-toggle-word): Disable regexp when enabling word.
8852 (isearch-message-prefix): Remove unused arg _c-q-hack.
8853 (isearch-message-suffix): Remove unused arg _ellipsis.
8854
8855 2012-08-04 Andreas Schwab <schwab@linux-m68k.org>
8856
8857 * simple.el (list-processes--refresh): For a server use :host or
8858 :local as the address.
8859 (list-processes): Doc fix.
8860
8861 2012-08-04 Michal Nazarewicz <mina86@mina86.com>
8862
8863 * lisp/mpc.el: Support password in host argument.
8864 (mpc--proc-connect): Parse and use new password element.
8865 Set mpc-proc variable instead of returning process.
8866 (mpc-proc): Adjust accordingly.
8867
8868 2012-08-03 Eli Zaretskii <eliz@gnu.org>
8869
8870 * whitespace.el (whitespace-display-mappings): Use Unicode
8871 codepoints, instead of emacs-mule codepoints. See
8872 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
8873 for the details.
8874
8875 * files.el (file-truename): Don't skip symlink-chasing part on
8876 windows-nt. Incorporate the resolution of 8+3 short aliases on
8877 Windows into the loop that recursively chases symlinks.
8878 Compare directory and its parent case-insensitively on MS-Windows and
8879 MS-DOS.
8880
8881 2012-08-03 Chong Yidong <cyd@gnu.org>
8882
8883 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
8884
8885 * sort.el (sort-regexp-fields): Doc fix.
8886
8887 2012-08-03 Tassilo Horn <tsdh@gnu.org>
8888
8889 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
8890 labels regex position point at the expected place.
8891
8892 2012-08-03 MON KEY <monkey@sandpframing.com>
8893
8894 * net/imap.el (imap-interactive-login, imap-authenticate)
8895 (imap-mailbox-lsub, imap-mailbox-list)
8896 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
8897 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
8898 (imap-parse-response): Doc fix.
8899
8900 2012-08-03 João Távora <joaotavora@gmail.com>
8901
8902 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
8903 if sexp scanning does not move point (Bug#5734).
8904
8905 2012-08-02 Tassilo Horn <tsdh@gnu.org>
8906
8907 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
8908 Add listings, minted, and ctable packages.
8909 (reftex-label-alist-builtin): Move listings, minted, and ctable
8910 entries before LaTeX.
8911 (reftex-label-alist): Docfix.
8912
8913 2012-08-02 Bastien Guerry <bzg@gnu.org>
8914
8915 * replace.el (occur): Fix docstring (bug#12122).
8916
8917 2012-08-02 Glenn Morris <rgm@gnu.org>
8918
8919 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
8920
8921 2012-08-02 Paul Eggert <eggert@cs.ucla.edu>
8922
8923 Obsolete alias inactivate-current-input-method-function (Bug#10150).
8924 * international/mule-cmds.el: Create
8925 inactivate-current-input-method-function as an obsolete alias for
8926 deactivate-current-input-method-function. See Katsumi Yamaoka in
8927 <http://bugs.gnu.org/10150#46>.
8928
8929 2012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
8930
8931 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
8932 of nested `if's.
8933
8934 2012-08-01 Glenn Morris <rgm@gnu.org>
8935
8936 * progmodes/autoconf.el (autoconf-definition-regexp):
8937 Add AH_TEMPLATE, adjust submatch numbering.
8938 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
8939 (autoconf-current-defun-function): Update for above change.
8940 (autoconf-current-defun-function): First skip to end of current word.
8941
8942 2012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
8943
8944 * calendar/cal-html.el (cal-html-insert-agenda-days):
8945 Fix typo. (Bug#12018)
8946
8947 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
8948
8949 Shell processes: enhancements to startup and CEDET compatibility.
8950 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
8951 (python-shell-make-comint): accept-process-output at startup.
8952 (run-python-internal): Set inferior-python-mode-hook to nil.
8953 (python-shell-internal-get-or-create-process): call sit-for.
8954 (python-preoutput-result): Add obsolete alias.
8955 (python-shell-internal-send-string): Use it.
8956 (python-shell-send-setup-code): Remove call to
8957 accept-process-output.
8958
8959 2012-07-31 Andreas Schwab <schwab@linux-m68k.org>
8960
8961 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
8962 (Bug#12108)
8963
8964 2012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
8965
8966 * calc-mode.el (calc-basic-simplification-mode): Rename from
8967 `calc-limited-simplification-mode'.
8968 (calc-alg-simplification-mode): New function.
8969 (calc-set-simplify-mode): Adjust message.
8970
8971 * calc.el (calc-set-mode-line): Adjust mode line display for
8972 basic simplification mode.
8973
8974 * calc-help.el (calc-m-prefix-help): Update help message.
8975
8976 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
8977 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
8978
8979 2012-07-31 Bastien Guerry <bzg@gnu.org>
8980
8981 * man.el (man): Fix comment. (bug#12101)
8982
8983 2012-07-31 Martin Rudalics <rudalics@gmx.at>
8984
8985 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
8986 Don't return a non-nil value when no suitable buffer was found.
8987
8988 2012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
8989
8990 * progmodes/python.el (run-python-internal): Disable font lock for
8991 internal shells.
8992
8993 2012-07-30 Stefan Merten <smerten@oekonux.de>
8994
8995 * textmodes/rst.el: Silence `checkdoc-ispell'.
8996 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
8997 (rst-official-version, rst-official-cvs-rev)
8998 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
8999 (rst-mode-map): New key binding.
9000
9001 2012-07-30 Paul Eggert <eggert@cs.ucla.edu>
9002
9003 Update .PHONY listings in makefiles.
9004 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
9005 autoloads, update-subdirs, updates, bzr-update, update-authors,
9006 compile-onefile, compile-calc, backup-compiled-files,
9007 compile-after-backup, compile-one-process, mh-autoloads,
9008 bootstrap-clean, distclean, maintainer-clean.
9009
9010 2012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
9011
9012 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
9013 (calc-set-mode-line): Don't display "AlgSimp ".
9014
9015 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
9016 (calc-lim-simplify-mode): New function.
9017 (calc-set-simplify-mode): Default to 'alg.
9018 (calc-default-simplify-mode): Make algebraic simplifications
9019 the default.
9020
9021 * calc/calc-ext.el (calc-init-extensions): Remove binding for
9022 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
9023
9024 * calc/calc-help.el (calc-m-prefix-help): Change messages to
9025 indicate new simplification modes.
9026
9027 * calc/README: Mention new default simplification mode.
9028
9029 * calc/calc.el (math-normalize-error): New variable.
9030 (math-normalize): Set `math-normalize-error' to t
9031 when there's an error.
9032
9033 * calc/calc-alg.el (math-simplify): Don't simplify when
9034 `math-normalize' returns an error.
9035
9036 2012-07-29 Eli Zaretskii <eliz@gnu.org>
9037
9038 * international/mule-cmds.el (set-locale-environment): Revert last
9039 change, since display-graphic-p returns nil when this function is
9040 called during startup. Instead...
9041
9042 * term/w32console.el (terminal-init-w32console): ...setup the
9043 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
9044
9045 2012-07-29 Juri Linkov <juri@jurta.org>
9046
9047 * simple.el (goto-line): Don't display default line number in the
9048 prompt because it should be displayed by `read-number' (bug#9952).
9049 Add the current line number to the defaults of `goto-line' to
9050 allow its easier modification by users with `M-n' (bug#9201).
9051
9052 * subr.el (read-number): Support multiple default values like in
9053 other minibuffer reading functions. Replace `read' with
9054 `string-to-number' for consistency with `number-to-string'.
9055
9056 2012-07-29 Paul Eggert <eggert@cs.ucla.edu>
9057
9058 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
9059 * emulation/viper-init.el (viper-deactivate-input-method-action):
9060 Rename from viper-inactivate-input-method-action.
9061 (viper-deactivate-input-method):
9062 Rename from viper-inactivate-input-method.
9063 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
9064 * international/mule-cmds.el (deactivate-input-method):
9065 Rename from inactivate-input-method.
9066 Also run input-method-deactivate-hook.
9067 (deactivate-current-input-method-function):
9068 Rename from inactivate-current-input-method-function.
9069 (input-method-deactivate-hook): New hook.
9070 (input-method-inactivate-hook): Mark obsolete.
9071 (inactivate-input-method): Mark obsolete.
9072
9073 * international/quail.el (quail-activate):
9074 Also run quail-deactivate-hook.
9075 (quail-deactivate): Rename from quail-inactivate.
9076 * international/robin.el (robin-activate):
9077 Also run robin-deactivate-hook.
9078 (robin-deactivate): Rename from robin-inactivate.
9079
9080 2012-07-29 Chong Yidong <cyd@gnu.org>
9081
9082 * simple.el (indicate-copied-region): New function.
9083 (kill-ring-save): Split off from here.
9084
9085 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
9086 (kill-rectangle): Set deactivate-mark to t on read-only error.
9087
9088 * register.el (copy-to-register, copy-rectangle-to-register):
9089 Deactivate the mark, and use indicate-copied-region (Bug#10056).
9090 (append-to-register, prepend-to-register): Call indicate-copied-region.
9091
9092 2012-07-29 Juri Linkov <juri@jurta.org>
9093
9094 * simple.el (async-shell-command-buffer): New defcustom.
9095 (shell-command): Use it. (Bug#4719)
9096
9097 2012-07-28 Eli Zaretskii <eliz@gnu.org>
9098
9099 * international/mule-cmds.el (set-locale-environment): In a
9100 console session on MS-Windows, set up keyboard and terminal
9101 encoding from the OEM codepage, not the ANSI codepage.
9102 (Bug#12055)
9103
9104 2012-07-28 Chong Yidong <cyd@gnu.org>
9105
9106 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
9107 gdb-get-location.
9108
9109 2012-07-28 Leo Liu <sdl.web@gmail.com>
9110
9111 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
9112 the alist (bug#12029).
9113
9114 2012-07-28 Eli Zaretskii <eliz@gnu.org>
9115
9116 * makefile.w32-in (custom-deps, finder-data, updates, compile)
9117 (compile-always, compile-first)
9118 ($(lisp)/calendar/cal-loaddefs.el)
9119 ($(lisp)/calendar/diary-loaddefs.el)
9120 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
9121 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
9122 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
9123 instead of on update-subdirs.
9124 (bootstrap-clean): Delete $(lisp)/subdirs.el.
9125
9126 2012-07-28 Chong Yidong <cyd@gnu.org>
9127
9128 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
9129 directory if vc-deduce-backend returns nil (Bug#7350).
9130
9131 * simple.el (delete-trailing-lines): New option.
9132 (delete-trailing-whitespace): Obey it (Bug#11879).
9133
9134 2012-07-28 David Engster <deng@randomsample.de>
9135
9136 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
9137 Explanation of new 'symbol-qnames feature in doc-strings.
9138 (xml-maybe-do-ns): Return expanded names as plain symbols if
9139 'symbol-qnames was provided in XML-NS argument (Bug#11916).
9140 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
9141
9142 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
9143
9144 Consistent completion in inferior python with emacs -nw.
9145 * progmodes/python.el (inferior-python-mode): replace "<tab>"
9146 binding in inferior-python-mode-map with "\t".
9147 (python-shell-completion-complete-at-point)
9148 (python-completion-complete-at-point): Remove interactive spec.
9149
9150 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
9151
9152 * calc/calccomp.el (math-compose-expr): Undo previous change.
9153
9154 2012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
9155
9156 * progmodes/python.el (python-mode-map): Add keybinding for
9157 run-python.
9158 (python-shell-make-comint): Fix pop-to-buffer call.
9159 (run-python): Autoload. New arg SHOW.
9160 (python-shell-get-or-create-process): Do not pop python process
9161 buffer.
9162
9163 2012-07-27 Michael Albinus <michael.albinus@gmx.de>
9164
9165 * notifications.el (notifications-on-action-signal)
9166 (notifications-on-closed-signal): Use also the bus address for the map.
9167 (notifications-notify, notifications-close-notification)
9168 (notifications-get-capabilities): Add optional argument BUS.
9169
9170 2012-07-27 Tassilo Horn <tsdh@gnu.org>
9171
9172 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
9173 Add support for the lstlisting and minted environments, and for the
9174 ctable macro.
9175 * textmodes/reftex.el (reftex-compile-variables): Also recognize
9176 labels written in keyvals syntax.
9177
9178 2012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
9179
9180 * calc/calccomp.el (math-compose-expr): Use parentheses when
9181 there is a product in the denominator of a fraction.
9182
9183 2012-07-26 Eli Zaretskii <eliz@gnu.org>
9184
9185 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
9186 ($(lisp)/calendar/diary-loaddefs.el)
9187 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
9188 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
9189 Fixes failures in parallel bootstrap because subdirs.el is being
9190 rewritten while the autoload files are built at the same time,
9191 which needs to load subdirs.el.
9192
9193 2012-07-26 Martin Rudalics <rudalics@gmx.at>
9194
9195 * mouse.el (popup-menu): Fix doc-string and re-indent code.
9196 (mouse-drag-line): Don't exit tracking when a switch-frame or
9197 switch-window event occurs (Bug#12006).
9198
9199 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
9200
9201 * mouse.el (popup-menu): Fix last change.
9202
9203 2012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
9204
9205 Autoload from Lisp with more care. Follow aliases when looking for
9206 function properties.
9207 * subr.el (autoloadp): New function.
9208 (symbol-file): Use it.
9209 (function-get): New function.
9210 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
9211 autoload-do-load.
9212 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
9213 (lisp-indent-function):
9214 * emacs-lisp/gv.el (gv-get):
9215 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
9216 * emacs-lisp/byte-opt.el (byte-optimize-form):
9217 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
9218 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
9219 Use function-get.
9220 * emacs-lisp/cl.el: Don't propagate function properties any more.
9221
9222 * speedbar.el (speedbar-add-localized-speedbar-support):
9223 * emacs-lisp/disass.el (disassemble-internal):
9224 * desktop.el (desktop-load-file):
9225 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
9226 (describe-function-1):
9227 * emacs-lisp/find-func.el (find-function-noselect):
9228 * emacs-lisp/elp.el (elp-instrument-function):
9229 * emacs-lisp/advice.el (ad-has-proper-definition):
9230 * apropos.el (apropos-safe-documentation, apropos-macrop):
9231 * emacs-lisp/debug.el (debug-on-entry):
9232 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
9233 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
9234 * calc/calc.el (name): Use autoloadp & autoload-do-load.
9235
9236 2012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
9237
9238 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
9239 function, not an obsolete variable (Bug#12046).
9240
9241 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
9242
9243 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
9244
9245 2012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
9246
9247 * emacs-lisp/pp.el (pp-display-expression): Select old selected
9248 window only if it is still live (Bug#12034).
9249
9250 2012-07-25 Martin Rudalics <rudalics@gmx.at>
9251
9252 * subr.el (redirect-frame-focus): Add advertised calling
9253 convention (Bug#12030).
9254
9255 2012-07-25 Paul Eggert <eggert@cs.ucla.edu>
9256
9257 Prefer typical American spelling for "acknowledgment".
9258 * vc/add-log.el (change-log-acknowledgment): Rename from
9259 change-log-acknowledgement, with an alias for the old name.
9260
9261 2012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
9262
9263 * calc-alg.el (math-simplify-divide): Don't cross multiply
9264 in an equation when the lhs is a variable.
9265
9266 2012-07-24 Julien Danjou <julien@danjou.info>
9267
9268 * net/netrc.el (netrc-find-service-number, netrc-store-data):
9269 Remove, unused.
9270
9271 2012-07-23 Eli Zaretskii <eliz@gnu.org>
9272
9273 * startup.el (command-line): Don't display an empty user name in
9274 the error message about non-existent home directory, when
9275 init-file-user was set to an empty string. See
9276 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
9277 for the details and context.
9278
9279 2012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
9280
9281 * ses.el (ses-cell-formula-aset): New macro.
9282 (ses-cell-references-aset): New macro.
9283 (ses-cell-p): New function.
9284 (ses-rename-cell): Do no longer rely on complex operations like
9285 ses-cell-set-formula or ses-set-cell to change the cell and handle
9286 the undo at the same time, but rather use lower level new macros
9287 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
9288 the undo directly. Refresh the mode line.
9289
9290 2012-07-21 Leo Liu <sdl.web@gmail.com>
9291
9292 * progmodes/cc-cmds.el (c-defun-name):
9293 Use match-string-no-properties instead for consistency.
9294
9295 2012-07-20 Leo Liu <sdl.web@gmail.com>
9296
9297 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
9298 (Bug#7879)
9299
9300 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
9301
9302 2012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
9303
9304 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
9305 * progmodes/bug-reference.el, misearch.el: Provide themselves
9306 (bug#11915).
9307
9308 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
9309 of narrowed buffer (bug#11966).
9310
9311 2012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
9312
9313 * ses.el (ses-rename-cell): Set new name also in reference list of
9314 cells of which the renamed cell depends.
9315
9316 2012-07-20 Masatake YAMATO <yamato@redhat.com>
9317
9318 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
9319 to check whether menu-bar is shown or not. If not shown,
9320 show the menu-bar as a popup menu instead of using tmm.
9321 * mouse.el (popup-menu): Accept `point' as `position' argument.
9322
9323 2012-07-20 Dmitry Gutov <dgutov@yandex.ru>
9324
9325 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
9326 up inside string symbol literal (bug#11923).
9327
9328 2012-07-20 Eli Zaretskii <eliz@gnu.org>
9329
9330 * startup.el (fancy-startup-text): Read the whole tutorial, not
9331 just its first 256 bytes. Prevents gibberish in display of the
9332 tutorial title.
9333
9334 2012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
9335
9336 Drop idle buffer compaction due to an absence of the
9337 proved efficiency.
9338 * compact.el: Remove.
9339
9340 2012-07-19 Sam Steingold <sds@gnu.org>
9341
9342 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
9343 vc-bzr-pull & vc-bzr-merge-branch.
9344 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
9345 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
9346 for consistency with compilation-error-regexp-alist.
9347 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
9348 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
9349 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
9350 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
9351
9352 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
9353
9354 * emacs-lisp/chart.el: Use lexical-binding.
9355 (chart-emacs-storage): Don't hardcode the list of entries.
9356
9357 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
9358
9359 Next round of tweaks caused by Fgarbage_collect changes.
9360 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
9361
9362 2012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
9363
9364 Compact buffers when idle.
9365 * compact.el: New file.
9366
9367 2012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
9368
9369 * subr.el (eventp): Presume that if it looks vaguely like an event,
9370 it's an event (bug#10190).
9371
9372 2012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
9373
9374 Enhancements to ppss related code (thanks Stefan).
9375 * progmodes/python.el (python-indent-context)
9376 (python-indent-calculate-indentation, python-indent-dedent-line)
9377 (python-indent-electric-colon, python-nav-forward-block)
9378 (python-mode-abbrev-table)
9379 (python-info-assignment-continuation-line-p): Simplify checks
9380 for ppss context.
9381 (python-info-continuation-line-p): Cleanup.
9382 (python-info-ppss-context): Do not catch 'quote.
9383 (python-info-ppss-context-type)
9384 (python-info-ppss-comment-or-string-p): Simplify.
9385
9386 2012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
9387
9388 * progmodes/python.el: Enhancements to eldoc support.
9389 (python-info-current-symbol): New function.
9390 (python-eldoc-at-point): Use python-info-current-symbol.
9391 (python-info-current-defun): Fix cornercase on first defun scan.
9392 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
9393 and signal error when no inferior python process is available.
9394
9395 2012-07-18 Dmitry Gutov <dgutov@yandex.ru>
9396
9397 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
9398 assume it's always t.
9399 (vc-git-registered): Remove caching, the function is only called
9400 once.
9401 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
9402
9403 2012-07-18 Chong Yidong <cyd@gnu.org>
9404
9405 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
9406
9407 * simple.el (count-words): Report on narrowing (Bug#9959).
9408
9409 * bindings.el: Bind M-= to count-words.
9410
9411 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
9412
9413 2012-07-18 Masatake YAMATO <yamato@redhat.com>
9414
9415 * progmodes/sh-script.el (sh-imenu-generic-expression):
9416 Capture a function with `function' keyword and without parentheses
9417 like "function FOO" (bug#11856).
9418
9419 2012-07-18 Tassilo Horn <tassilo@member.fsf.org>
9420
9421 * window.el (split-window-sensibly): Make WINDOW argument
9422 optional.
9423
9424 2012-07-18 Chong Yidong <cyd@gnu.org>
9425
9426 * subr.el (keyboard-translate): Doc fix (Bug#7261).
9427
9428 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
9429 and make C-x 8 RET exit isearch (Bug#11439).
9430
9431 * international/iso-transl.el: Move isearch-mode-map key
9432 definitions to isearch.el.
9433
9434 2012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
9435
9436 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
9437 (eieio-defclass): Use gv-define-setter when possible.
9438
9439 2012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
9440
9441 Reflect recent changes in Fgarbage_collect.
9442 * emacs-lisp/chart.el (chart-emacs-storage): Change to
9443 reflect new format of data returned by Fgarbage_collect.
9444
9445 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
9446
9447 New utility functions + python-info-ppss-context fix (Bug#11910).
9448 * progmodes/python.el (python-info-beginning-of-block-statement-p)
9449 (python-info-ppss-comment-or-string-p): New functions.
9450 (python-info-ppss-context): Small fix for string check.
9451
9452 2012-07-17 Juri Linkov <juri@jurta.org>
9453
9454 * dired-aux.el (dired-do-async-shell-command): Doc fix.
9455 (dired-do-async-shell-command): Don't add `*' at the end of the
9456 command (Bug#11815).
9457 (dired-do-shell-command): Doc fix.
9458 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
9459 Join the individual commands using either "&" or ";" as the
9460 separator depending on the values of these trailing characters.
9461 At the end re-add the trailing "&". (Bug#10598)
9462
9463 * simple.el (async-shell-command): Sync the interactive spec with
9464 `shell-command'. Doc fix.
9465 (shell-command): Doc fix.
9466
9467 2012-07-17 Juri Linkov <juri@jurta.org>
9468
9469 * descr-text.el (describe-char): Fix format args. (Bug#10129)
9470
9471 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
9472
9473 Final renames and doc fixes for movement commands (bug#11899).
9474 * progmodes/python.el (python-nav-beginning-of-statement):
9475 Rename from python-nav-statement-start.
9476 (python-nav-end-of-statement): Rename from
9477 python-nav-statement-end.
9478 (python-nav-beginning-of-block): Rename from
9479 python-nav-block-start.
9480 (python-nav-end-of-block): Rename from python-nav-block-end.
9481
9482 2012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
9483
9484 * progmodes/python.el (python-shell-send-string-no-output):
9485 Allow accept-process-output to quit, keeping shell process ready for
9486 future interactions (Bug#11868).
9487
9488 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
9489
9490 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
9491
9492 * emacs-lisp/elint.el (elint-find-args-in-code):
9493 Use help-function-arglist, so as to handle lexical byte-code.
9494
9495 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
9496 change (bug#11826).
9497
9498 2012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
9499
9500 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
9501 Avoid spuriously marking the buffer as modified because of c-is-sws.
9502
9503 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
9504 as not-a-comment (bug#11946).
9505
9506 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
9507 for uninterned vars.
9508
9509 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
9510 Use read-event since we don't really want to read chars but bytes.
9511
9512 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
9513 $$..$$ but also $..$ using regexps (bug#11953).
9514 Use tex-verbatim for \url and \path.
9515 (tex-font-lock-keywords): Define as defconst like the others.
9516 (tex-common-initialization): Don't use font-lock-syntax-table any more.
9517
9518 2012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
9519
9520 * international/mule-cmds.el (ucs-insert): Make it an obsolete
9521 alias for insert-char.
9522
9523 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
9524
9525 * progmodes/python.el: Simplified imenu implementation.
9526 (python-nav-jump-to-defun): Remove command.
9527 (python-mode-map): Use `imenu' instead.
9528 (python-nav-list-defun-positions-cache)
9529 (python-imenu-include-defun-type, python-imenu-make-tree)
9530 (python-imenu-subtree-root-label, python-imenu-index-alist):
9531 Remove vars.
9532 (python-nav-list-defun-positions, python-nav-read-defun)
9533 (python-imenu-tree-assoc, python-imenu-make-element-tree)
9534 (python-imenu-make-tree, python-imenu-create-index):
9535 Remove functions.
9536 (python-mode): Update to interact with imenu by setting
9537 `imenu-extract-index-name-function' only.
9538
9539 2012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
9540
9541 * progmodes/python.el: Enhancements to navigation commands.
9542 (python-nav-backward-sentence)
9543 (python-nav-forward-sentence): Remove.
9544 (python-nav-backward-statement, python-nav-forward-statement)
9545 (python-nav-statement-start, python-nav-statement-end)
9546 (python-nav-backward-block, python-nav-forward-block)
9547 (python-nav-block-start, python-nav-block-end)
9548 (python-nav-forward-sexp-function)
9549 (python-info-current-line-comment-p)
9550 (python-info-current-line-empty-p): New functions.
9551 (python-indent-context): Use `python-nav-statement-start'.
9552
9553 2012-07-16 Michael Albinus <michael.albinus@gmx.de>
9554
9555 * eshell/em-ls.el (eshell/ls): Use `apply'.
9556
9557 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
9558 multi-hops, instead of Tramp internals.
9559
9560 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
9561
9562 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
9563 when F1 and F2 are located on different hosts.
9564
9565 2012-07-14 Chong Yidong <cyd@gnu.org>
9566
9567 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
9568 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
9569 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
9570 (xterm-mouse--read-event-sequence-1000)
9571 (xterm-mouse--read-event-sequence-1006): New functions. For old
9572 mouse protocol, handle M-mouse-X events correctly.
9573 (xterm-mouse-event): New arg specifying mouse protocol.
9574 (turn-on-xterm-mouse-tracking-on-terminal)
9575 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
9576 sequence to toggle extended coordinates on newer XTerms.
9577 This appears to be harmless on terminals which do not support this.
9578
9579 2012-07-14 Leo Liu <sdl.web@gmail.com>
9580
9581 Add fringe bitmap indicators for flymake. (Bug#11253)
9582 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
9583 (flymake-make-overlay): New arg BITMAP.
9584 (flymake-error-bitmap, flymake-warning-bitmap)
9585 (flymake-fringe-indicator-position): New user variables.
9586
9587 * fringe.el: New bitmap exclamation-mark.
9588
9589 2012-07-14 Jan Djärv <jan.h.d@swipnet.se>
9590
9591 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
9592 also (Bug#7879).
9593
9594 2012-07-14 Chong Yidong <cyd@gnu.org>
9595
9596 * electric.el (electric-pair-post-self-insert-function): Fix pair
9597 insertion in empty-region case (Bug#11520).
9598
9599 2012-07-14 Chong Yidong <cyd@gnu.org>
9600
9601 * bindings.el: Consolidate ctl-x-r-map bindings.
9602 Bind copy-rectangle-as-kill to C-x r w.
9603
9604 * rect.el, register.el: Move bindings to bindings.el.
9605
9606 2012-07-14 Reuben Thomas <rrt@sc3d.org>
9607
9608 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
9609
9610 2012-07-13 Andreas Schwab <schwab@linux-m68k.org>
9611
9612 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
9613
9614 2012-07-13 Juanma Barranquero <lekktu@gmail.com>
9615
9616 * bindings.el (top): Use `mapc' instead of `mapcar'.
9617
9618 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
9619
9620 2012-07-13 Michael Albinus <michael.albinus@gmx.de>
9621
9622 * progmodes/sql.el (sql-comint): Suppress the check for program on
9623 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
9624 (Bug#11908)
9625
9626 2012-07-13 Chong Yidong <cyd@gnu.org>
9627
9628 * bindings.el: Assign a non-nil permanent-local property to
9629 per-buffer variables which lack a default value (Bug#11930).
9630
9631 * help-fns.el (describe-variable): In the "automatically becomes
9632 local" notice, take note of permanent-local variables.
9633
9634 2012-07-13 Chong Yidong <cyd@gnu.org>
9635
9636 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
9637 to allow printing the message when called from Lisp.
9638
9639 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
9640 Remove toggle-read-only.
9641
9642 * bs.el (bs-toggle-readonly):
9643 * buff-menu.el (Buffer-menu-toggle-read-only):
9644 Remove with-no-warnings around toggle-read-only.
9645
9646 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
9647 Remove with-no-warnings around toggle-read-only.
9648 (ffap-read-only, ffap-read-only-other-window)
9649 (ffap-read-only-other-frame): Callers changed.
9650
9651 * help-mode.el: Don't require view package.
9652 (help-mode-finish): Set buffer-read-only instead of calling
9653 toggle-read-only.
9654
9655 * bindings.el (mode-line-toggle-read-only):
9656 * dired.el (dired-toggle-read-only):
9657 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
9658 with non-nil second arg.
9659
9660 * emacs-lisp/eieio-custom.el (eieio-customize-object):
9661 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
9662 directly.
9663
9664 2012-07-12 Eli Zaretskii <eliz@gnu.org>
9665
9666 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
9667 not incf.
9668
9669 2012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
9670
9671 More CL cleanups and reduction of use of cl.el.
9672 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
9673 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
9674 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
9675 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
9676 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
9677 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
9678 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
9679 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
9680 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
9681 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
9682 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
9683 * eshell/em-cmpl.el, eshell/em-banner.el:
9684 * calendar/parse-time.el: Use cl-lib.
9685 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
9686 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
9687 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
9688 * term/ns-win.el, term.el, shell.el, ps-samp.el:
9689 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
9690 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
9691 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
9692 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
9693 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
9694 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
9695 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
9696 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
9697 `lambda' rather than with `quote'.
9698 (eshell-do-opt): Adjust accordingly.
9699 (eshell-process-option): Simplify.
9700 * eshell/esh-var.el:
9701 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
9702 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
9703 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
9704 to `pcase--dontcare'.
9705 * emacs-lisp/cl.el (labels): Mark obsolete.
9706 (cl--letf, letf): Move to cl-lib.
9707 (cl--letf*, letf*): Remove.
9708 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
9709 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
9710 (cl-progv): Rewrite.
9711 (cl--letf, cl-letf): Move from cl.el.
9712 (cl-letf*): New macro.
9713 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
9714
9715 2012-07-11 Michael Albinus <michael.albinus@gmx.de>
9716
9717 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
9718
9719 2012-07-11 Chong Yidong <cyd@gnu.org>
9720
9721 * vc/log-edit.el (log-edit-vc-backend): New variable.
9722 (log-edit): Doc fix.
9723
9724 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
9725 argument of log-edit to set up all local variables.
9726 (vc-start-logentry): New optional arg specifying VC backend.
9727
9728 * vc/vc.el (vc-checkin): Use it.
9729 (vc-deduce-fileset): Handle Log Edit buffers.
9730 (vc-diff): Make first argument optional too.
9731
9732 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
9733
9734 2012-07-10 Michael Albinus <michael.albinus@gmx.de>
9735
9736 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
9737 command, just in case. The function is not needed anymore.
9738 (eshell-external-command): Do not call `eshell-remote-command'.
9739
9740 2012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
9741
9742 Reduce use of (require 'cl).
9743 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
9744 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
9745 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
9746 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
9747 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
9748 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
9749 * battery.el, avoid.el, abbrev.el: Use cl-lib.
9750 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
9751 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
9752 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
9753 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
9754 * calculator.el, autorevert.el, apropos.el: Don't require CL.
9755 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
9756 (byte-compile-unfold-bcf, byte-compile-check-variable):
9757 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
9758 (byte-compile-nilconstp):
9759 * emacs-lisp/autoload.el (make-autoload): Use pcase.
9760 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
9761
9762 * emacs-lisp/gv.el (cond): Make it a valid place.
9763 (if): Simplify slightly.
9764
9765 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
9766 (pcase--self-quoting-p): New function.
9767 (pcase--u1): Use it.
9768
9769 2012-07-10 Glenn Morris <rgm@gnu.org>
9770
9771 * emacs-lisp/authors.el (authors-fixed-entries):
9772 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
9773
9774 2012-07-09 Paul Eggert <eggert@cs.ucla.edu>
9775
9776 Rename configure.in to configure.ac (Bug#11603).
9777 * emacs-lisp/authors.el (authors-canonical-file-name):
9778 * progmodes/autoconf.el (autoconf-mode):
9779 Prefer configure.ac to configure.in.
9780
9781 2012-07-08 Chong Yidong <cyd@gnu.org>
9782
9783 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
9784 Implement the mouse-1-click-follows-link handling properly.
9785
9786 * info.el (Info-link-keymap): Use follow-link mechanism for
9787 header-line links (Bug#374).
9788
9789 * simple.el (deactivate-mark): Do not set the primary selection
9790 if another program has acquired it (Bug#11772).
9791
9792 2012-07-07 Kevin Ryde <user42@zip.com.au>
9793
9794 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
9795 (woman-decode-region): Replace escaped-escapes without destroying
9796 bold or underline (Bug#11552).
9797 (woman2-process-escapes): Handle nofill regions (Bug#11591).
9798
9799 2012-07-07 Chong Yidong <cyd@gnu.org>
9800
9801 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
9802 (interprogram-cut-function, interprogram-paste-function):
9803 Mention that we typically mean the clipboard.
9804
9805 2012-07-06 Glenn Morris <rgm@gnu.org>
9806
9807 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
9808
9809 * files.el (toggle-read-only): Restrict message to interactive use.
9810
9811 2012-07-06 Michael Albinus <michael.albinus@gmx.de>
9812
9813 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
9814
9815 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
9816
9817 2012-07-06 Glenn Morris <rgm@gnu.org>
9818
9819 * Makefile.in (compile-one-process): Rename from "recompile".
9820
9821 * Makefile.in (bzr-update): "compile" is the same as "recompile
9822 autoloads", but parallelizable, so use that instead.
9823
9824 2012-07-06 Dmitry Gutov <dgutov@yandex.ru>
9825
9826 * window.el (quit-window): Always restore window height when
9827 it's saved in quit-restore parameter (Bug#11810).
9828
9829 2012-07-06 Glenn Morris <rgm@gnu.org>
9830
9831 * simple.el (kill-whole-line): Doc tweak.
9832
9833 2012-07-06 Eli Zaretskii <eliz@gnu.org>
9834
9835 * files.el (file-relative-name): Compare file names
9836 case-insensitively if on MS-Windows or MS-DOS, or if
9837 read-file-name-completion-ignore-case is non-nil. Don't use
9838 case-fold-search for this purpose. (Bug#11827)
9839
9840 2012-07-17 Andreas Schwab <schwab@linux-m68k.org>
9841
9842 * calendar/cal-dst.el (calendar-current-time-zone):
9843 Return calendar-current-time-zone-cache if non-nil.
9844
9845 2012-07-17 Masatake YAMATO <yamato@redhat.com>
9846 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
9847
9848 * calendar/cal-dst.el (calendar-current-time-zone):
9849 Return calendar-current-time-zone-cache if non-nil.
9850
9851 2012-07-06 Glenn Morris <rgm@gnu.org>
9852
9853 * Makefile.in (cvs-update): Remove old alias.
9854
9855 2012-07-05 Michael Albinus <michael.albinus@gmx.de>
9856
9857 Sync with Tramp 2.2.6-pre.
9858
9859 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
9860 compatible declaration.
9861
9862 * net/tramp-cmds.el (tramp-append-tramp-buffers):
9863 Protect `list-load-path-shadows' call.
9864
9865 * net/tramp-compat.el (top): Require packages, which aren't
9866 autoloaded anymore for XEmacs. Protect call of
9867 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
9868 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
9869 it hurts at least for SXEmacs.
9870 (tramp-compat-temporary-file-directory): In XEmacs, there is no
9871 standard-value for `temporary-file-directory'.
9872
9873 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
9874 Redirect stderr to /dev/null.
9875 (tramp-sh-handle-write-region): uid and gid can be floats.
9876 Reported by Russell Sim <russell.sim@gmail.com>.
9877 (tramp-sh-handle-vc-registered): Hide errors.
9878 (tramp-vc-file-name-handler): Use dummy results for `process-file'
9879 and `start-file-process'.
9880 (tramp-maybe-open-connection): Check also whether `non-essential'
9881 is bound.
9882
9883 2012-07-04 Chong Yidong <cyd@gnu.org>
9884
9885 * xml.el (xml--parse-buffer): Use xml-syntax-table.
9886 (xml-parse-tag): Likewise, and avoid changing entity tables.
9887 (xml-syntax-table): Define from scratch, making sure not to give
9888 x2000 and other Unicode spaces whitespace syntax, since those are
9889 not spaces in XML.
9890 (xml-parse-fragment): Delete unused function.
9891 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
9892 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
9893 (xml-entity-ref, xml-pe-reference-re)
9894 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
9895 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
9896 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
9897 (xml-entity-value-re): Use syntax references in regexps where
9898 possible; no need to define inside a let-binding.
9899 (xml-parse-dtd): Use xml-pe-reference-re.
9900 (xml-entity-or-char-ref-re): New defconst.
9901 (xml-parse-string, xml-substitute-special): Use it.
9902
9903 2012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
9904
9905 * files.el (locate-dominating-file): Allow `name' to be a predicate.
9906 (find-file--read-only): New function.
9907 (find-file-read-only, find-file-read-only-other-window)
9908 (find-file-read-only-other-frame): Use it.
9909 (insert-file-contents-literally): Don't `fset'.
9910 (get-free-disk-space): Use locate-dominating-file.
9911
9912 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
9913 function is already compiled.
9914
9915 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
9916
9917 2012-07-03 Michael Albinus <michael.albinus@gmx.de>
9918
9919 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
9920 files on the same host.
9921
9922 2012-07-03 Andreas Schwab <schwab@linux-m68k.org>
9923
9924 * help-fns.el (describe-function-1): Only call
9925 help-fns--autoloaded-p when we have a file name. (Bug#11848)
9926
9927 2012-07-03 Chong Yidong <cyd@gnu.org>
9928
9929 * xml.el: Protect parser against XML bombs.
9930 (xml-entity-expansion-limit): New variable.
9931 (xml-parse-string, xml-substitute-special): Use it.
9932 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
9933
9934 2012-07-03 Glenn Morris <rgm@gnu.org>
9935
9936 * progmodes/bug-reference.el (bug-reference-bug-regexp):
9937 Allow linking to specific messages in debbugs reports (eg 123#5).
9938
9939 2012-07-02 Chong Yidong <cyd@gnu.org>
9940
9941 * xml.el: Fix entity and character reference expansion, allowing
9942 them to expand into markup as per XML spec.
9943 (xml-default-ns): New variable.
9944 (xml-entity-alist): Use XML spec definitions for lt and amp.
9945 (xml-parse-region): Make first two arguments optional.
9946 Discard text properties.
9947 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
9948 All callers changed.
9949 (xml-parse-tag): Call xml-parse-tag-1. For backward
9950 compatibility, this function should not modify buffer contents.
9951 (xml-parse-tag-1): Fix opening-tag regexp.
9952 (xml-parse-string): Rewrite, handling entity and character
9953 references properly.
9954 (xml--entity-replacement-text): Signal an error if a parameter
9955 entity is undefined.
9956
9957 2012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
9958
9959 * comint.el (comint-output-filter): Filter out repeated prompts.
9960
9961 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
9962 and file-name-absolute-p.
9963 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
9964 internal calls.
9965
9966 2012-07-02 Paul Eggert <eggert@cs.ucla.edu>
9967
9968 Spelling fixes.
9969 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
9970 Rename from byte-compile--refiy-function. All uses changed.
9971
9972 2012-07-01 Chong Yidong <cyd@gnu.org>
9973
9974 * xml.el (xml--parse-buffer): New function. Move most of
9975 xml-parse-region here.
9976 (xml-parse-region): Copy region into a temporary buffer, since
9977 parameter entity substitution requires changing buffer contents.
9978 Use xml--parse-buffer.
9979 (xml-parse-file): Use xml--parse-buffer.
9980 (xml-parse-dtd): Make parameter entity substitution work right.
9981 Use proper regexps for ELEMENT declarations (Bug#7172).
9982
9983 2012-06-30 Glenn Morris <rgm@gnu.org>
9984
9985 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
9986
9987 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
9988 Remove outdated and unnecessary dbus declarations.
9989
9990 2012-06-30 Eli Zaretskii <eliz@gnu.org>
9991
9992 * emacs-lisp/timer.el (timer-until): Subtract results of
9993 float-time, instead of taking float-time of the result of
9994 time-subtract, since float-time signals an error for negative time
9995 arguments.
9996
9997 2012-06-30 Chong Yidong <cyd@gnu.org>
9998
9999 * xml.el (xml-*-re): Convert defvars into defconsts, and
10000 eval-and-compile them so eval-and-compile works on derivatives.
10001 (xml--entity-replacement-text): Use eval-and-comple.
10002
10003 2012-06-30 Michael Albinus <michael.albinus@gmx.de>
10004
10005 * vc/vc-git.el (vc-git-registered): Use cache property
10006 `git-registered'.
10007 (vc-git-mode-line-string): Call `vc-working-revision' instead of
10008 `vc-git-working-revision' in order to benefit from the cache.
10009 (vc-git-root): Use cache property `git-root'. (Bug#11757)
10010
10011 2012-06-30 Dmitry Gutov <dgutov@yandex.ru>
10012
10013 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
10014 removed (likely outside Emacs). (Bug#11757)
10015
10016 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
10017
10018 * emacs-lisp/cl-lib.el: Require macroexp.
10019
10020 2012-06-30 Chong Yidong <cyd@gnu.org>
10021
10022 * xml.el: Implement XML parameter entities.
10023 (xml-parameter-entity-alist): New variable.
10024 (xml-parse-region, xml-parse-fragment): Preserve previous values
10025 of xml-entity-alist and xml-parameter-entity-alist, so that
10026 repeated calls on different documents do not change them.
10027 (xml-parse-tag): Fix doctype regexp.
10028 (xml--entity-replacement-text): New function.
10029 (xml-parse-dtd): Use it. Don't handle system entities; doing that
10030 properly requires url retrieval which is unimplemented.
10031 (xml-escape-string): Doc fix.
10032
10033 2012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
10034
10035 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
10036
10037 2012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
10038
10039 * fringe.el (fringe-mode): Doc fix.
10040
10041 2012-06-29 Michael Albinus <michael.albinus@gmx.de>
10042
10043 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
10044 is non-nil.
10045 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
10046 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
10047
10048 2012-06-29 Andreas Schwab <schwab@linux-m68k.org>
10049
10050 * calendar/cal-dst.el (calendar-current-time-zone):
10051 Return calendar-current-time-zone-cache if non-nil.
10052
10053 2012-06-29 Masatake YAMATO <yamato@redhat.com>
10054
10055 * progmodes/which-func.el (which-func-format):
10056 Add mouse-face. (Bug#11698)
10057
10058 2012-06-29 Leo Liu <sdl.web@gmail.com>
10059
10060 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
10061
10062 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
10063
10064 * minibuffer.el (minibuffer-confirm-exit-commands):
10065 Add completion-at-point (bug#11725).
10066
10067 2012-06-29 Glenn Morris <rgm@gnu.org>
10068
10069 * progmodes/f90.el (f90-font-lock-keywords-2):
10070 Add some preprocessor elements. (Bug#10499)
10071
10072 2012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
10073
10074 * progmodes/cperl-mode.el (cperl-update-syntaxification):
10075 Use syntax-propertize (bug#11739).
10076
10077 2012-06-28 Juanma Barranquero <lekktu@gmail.com>
10078
10079 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
10080
10081 2012-06-28 Julien Danjou <julien@danjou.info>
10082
10083 * term.el (term-handle-colors-array): Use a set of new faces to
10084 color the terminal. Also uses :inverse-video property.
10085 (term-default-fg-color): Set to nil by default, deprecate in favor
10086 of `term-face'.
10087 (term-default-bg-color): Set to nil by default, deprecate in favor
10088 of `term-face'.
10089 (term-current-face): Use `term-face' by default.
10090 (term-bold-attribute): Variable deleted.
10091
10092 2012-06-28 Glenn Morris <rgm@gnu.org>
10093
10094 * simple.el (completion-list-mode-finish):
10095 Don't use toggle-read-only. (Since completion-list-mode has
10096 a special mode-class, it wasn't doing anything extra anyway.)
10097
10098 2012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
10099
10100 Make inlining of other-mode interpreted functions work (bug#11799).
10101 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
10102 (byte-compile): Use it to fix compilation of lexical-binding closures.
10103 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
10104 function, if needed.
10105
10106 2012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
10107
10108 * help-mode.el (help-make-xrefs): Don't just withstand
10109 cyclic-variable-indirection but any error in documentation-property.
10110
10111 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
10112 memory use.
10113 * bindings.el (bindings--define-key): New function.
10114 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
10115 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
10116 * bindings.el: Use it to purecopy define-key bindings.
10117
10118 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
10119
10120 * emacs-lisp/cl.el (flet): Mark obsolete.
10121 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
10122 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
10123 * progmodes/js.el (js-c-fill-paragraph):
10124 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
10125 (ebrowse-switch-member-buffer-to-derived-class):
10126 * play/5x5.el (5x5-solver): Use cl-flet.
10127
10128 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
10129 (cl--symbol-function): New macro.
10130 (cl--letf, cl--letf*): Use it.
10131
10132 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
10133 Strip "toggle-" if any.
10134
10135 2012-06-27 Glenn Morris <rgm@gnu.org>
10136
10137 * info.el (Info-default-directory-list): Move here from paths.el.
10138 * paths.el: Remove file, which is now empty.
10139 * loadup.el: No longer load "paths".
10140
10141 * custom.el (custom-initialize-delay): Doc fix.
10142
10143 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
10144 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
10145 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
10146 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
10147 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
10148 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
10149 * eshell/eshell.el (eshell-defgroup): Remove alias.
10150
10151 2012-06-27 Chong Yidong <cyd@gnu.org>
10152
10153 * help.el (help-enable-auto-load): New variable.
10154
10155 * help-fns.el (help-fns--autoloaded-p): New function.
10156 (describe-function-1): Refer to a function as "autoloaded" if it
10157 was autoloaded at any time in the past. Perform autoloading if
10158 help-enable-auto-load is non-nil.
10159
10160 2012-06-26 Eli Zaretskii <eliz@gnu.org>
10161
10162 * makefile.w32-in (compile, compile-always): Depend on
10163 update-subdirs, not on subdirs.el. Otherwise, several different
10164 sub-targets of 'bootstrap' running in parallel could
10165 simultaneously write to subdirs.el, producing a garbled file.
10166
10167 2012-06-26 Sam Steingold <sds@gnu.org>
10168
10169 * files.el (file-name-base): New convenience function.
10170 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
10171 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
10172 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
10173 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
10174 * textmodes/ispell.el, textmodes/reftex-ref.el:
10175 * textmodes/tex-mode.el: Use it.
10176 Did not touch cedet and org because they are maintained elsewhere.
10177
10178 2012-06-26 Martin Rudalics <rudalics@gmx.at>
10179
10180 * calendar/calendar.el (calendar-exit): Don't try to delete or
10181 iconify last frame. See:
10182 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
10183
10184 2012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
10185
10186 * server.el (server-process-filter): Remember dir in the
10187 process's `server-client-directory' properties.
10188
10189 2012-06-24 Chong Yidong <cyd@gnu.org>
10190
10191 * xml.el (xml-parse-tag): Correctly handle comment embedded in
10192 non-tag text.
10193
10194 2012-06-23 Juanma Barranquero <lekktu@gmail.com>
10195
10196 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
10197
10198 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
10199
10200 * help-fns.el (describe-variable): Don't croak when doc is not found.
10201 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
10202 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
10203 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
10204 * emacs-lisp/smie.el (smie-next-sexp): CSE.
10205 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
10206 ((lambda ..) ..).
10207 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
10208
10209 2012-06-23 Chong Yidong <cyd@gnu.org>
10210
10211 * info.el (Info-mouse-follow-link): Accept symbol values of
10212 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
10213 (Info-fontify-node): Use Info-link-keymap for all navigation
10214 buttons, with link-args property to perform the desired action.
10215 (Info-link-keymap): Doc fix.
10216 (Info-next-link-keymap, Info-prev-link-keymap)
10217 (Info-up-link-keymap): Delete now-unused keymaps.
10218
10219 2012-06-23 Chong Yidong <cyd@gnu.org>
10220
10221 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
10222
10223 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
10224 system abbrevs.
10225
10226 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
10227
10228 2012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
10229
10230 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
10231 (bug#11719).
10232
10233 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
10234 the requote function doesn't work properly (bug#11714).
10235
10236 2012-06-23 Glenn Morris <rgm@gnu.org>
10237
10238 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
10239
10240 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
10241
10242 Further GV/CL cleanups.
10243 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
10244 gv-expander.
10245 (gv--defun-declaration): New function.
10246 (defun-declarations-alist): Use it.
10247 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
10248 (gv-place): Autoload.
10249 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
10250 original definition of dotimes and dolist.
10251 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
10252 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
10253 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
10254 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
10255 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
10256 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
10257 to the function's definition.
10258 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
10259 * window.el:
10260 * files.el:
10261 * faces.el:
10262 * env.el: Don't use CL.
10263
10264 2012-06-22 Paul Eggert <eggert@cs.ucla.edu>
10265
10266 Support higher-resolution time stamps (Bug#9000).
10267
10268 * calendar/time-date.el (with-decoded-time-value): New arg
10269 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
10270 (encode-time-value): New optional arg PICO. New type 3.
10271 (time-to-seconds) [!float-time]: Support the new picoseconds
10272 component if it's used.
10273 (seconds-to-time, time-subtract, time-add):
10274 Support ps-resolution time stamps as well.
10275
10276 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
10277 (timerp): Timer vectors now have length 9, not 8.
10278 (timer--time): Support new-style (4-part) time stamps.
10279 (timer-next-integral-multiple-of-time): Time stamps now have
10280 picosecond resolution, so take a bit more care about rounding.
10281 (timer-relative-time, timer-inc-time): New optional arg psecs.
10282 (timer-set-time-with-usecs): Set psecs to 0.
10283 (timer--activate): Check psecs component, too.
10284
10285 * proced.el (proced-time-lessp): Support ps-resolution stamps.
10286
10287 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
10288
10289 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
10290 Move the non-essential binding to the post/pre-command-hook where it is
10291 more obviously correct.
10292
10293 * subr.el (read-passwd): Don't use a history at all.
10294 * savehist.el (savehist-save): Remove password saved accidentally
10295 because of the above bug.
10296
10297 2012-06-22 Bastien Guerry <bzg@gnu.org>
10298
10299 * files.el (toggle-read-only): Display a message telling whether
10300 the buffer is read-only or not (bug#11726).
10301
10302 2012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
10303
10304 * emacs-lisp/gv.el: New file.
10305 * subr.el (push, pop): Extend to generalized variables.
10306 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
10307 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
10308 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
10309 gv-define-simple-setter, and gv-define-expander.
10310 Remove setf-methods defined in gv. Rename cl-setf -> setf.
10311 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
10312 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
10313 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
10314 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
10315 gv-letplace.
10316 (cl-defstruct): Don't define setf-method any more.
10317 * emacs-lisp/cl.el (flet): Don't autoload.
10318 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
10319 (define-setf-expander, defsetf, define-modify-macro)
10320 (cl-struct-setf-expander): Move from cl-lib.el.
10321 * emacs-lisp/syntax.el:
10322 * emacs-lisp/ewoc.el:
10323 * emacs-lisp/smie.el:
10324 * emacs-lisp/cconv.el:
10325 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
10326 (timer--time): Use gv-define-simple-setter.
10327 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
10328 to avoid coding-system problems in subr.el. Adjust all users.
10329 (macroexp--maxsize, macroexp-small-p): New functions.
10330 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
10331 * scroll-bar.el (scroll-bar-mode):
10332 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
10333 (normal-erase-is-backspace-mode): Don't use the `eq' place.
10334 * winner.el (winner-configuration, winner-make-point-alist)
10335 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
10336 * files.el (locate-file-completion-table): Avoid list*.
10337
10338 2012-06-22 Chong Yidong <cyd@gnu.org>
10339
10340 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
10341 (dired-create-files): Doc fix (Bug#11329).
10342 (dired-do-copy): Doc fix (Bug#11334).
10343 (dired-mark-read-string): Doc fix (Bug#11553).
10344
10345 * dired.el (dired-recursive-copies, dired-recursive-deletes):
10346 Doc fix (Bug#11326).
10347 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
10348 (dired-dwim-target): Doc fix.
10349
10350 * wdired.el (wdired-mode): Doc fix.
10351
10352 2012-06-22 Glenn Morris <rgm@gnu.org>
10353
10354 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
10355 (pcmpl-rpm-cache-stamp-file): New constant.
10356 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
10357 (pcmpl-rpm-packages): Optionally cache list of packages.
10358
10359 * pcmpl-rpm.el (pcmpl-rpm): New group.
10360 (pcmpl-rpm-query-options): New option.
10361 (pcmpl-rpm-packages): No need to inline it.
10362 Use pcmpl-rpm-query-options.
10363
10364 * calendar/calendar.el (calendar-in-read-only-buffer):
10365 Avoid some needless mode changes.
10366
10367 2012-06-21 Chong Yidong <cyd@gnu.org>
10368
10369 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
10370 (desktop-path): Remove . from the default value (Bug#10977).
10371 (desktop-read): Use user-emacs-directory if desktop-path is nil.
10372
10373 2012-06-20 Chong Yidong <cyd@gnu.org>
10374
10375 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
10376
10377 2012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
10378
10379 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
10380 (bug#11201).
10381
10382 2012-06-20 Chong Yidong <cyd@gnu.org>
10383
10384 * term.el (term-window-width): Handle the case of a missing right
10385 fringe (Bug#8837).
10386 (term-check-size): Use window-text-height (Bug#5445).
10387 (term-mode): Use define-derived-mode. Minor cleanups.
10388 Set font-lock-defaults (Bug#7692).
10389 (term-move-columns, term-insert-char, term-emulate-terminal)
10390 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
10391
10392 2012-06-20 Michael Albinus <michael.albinus@gmx.de>
10393
10394 * net/ange-ftp.el (ange-ftp-get-passwd):
10395 Bind `enable-recursive-minibuffers'.
10396 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
10397
10398 2012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
10399
10400 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
10401
10402 2012-06-19 Glenn Morris <rgm@gnu.org>
10403
10404 * progmodes/python.el (python-mode): Derive from prog-mode.
10405
10406 2012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
10407
10408 * emulation/edt.el (edt-default-menu-bar-update-buffers)
10409 (edt-user-menu-bar-update-buffers): New functions.
10410 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
10411
10412 2012-06-19 Chong Yidong <cyd@gnu.org>
10413
10414 * subr.el (with-selected-window): Preserve the selected window's
10415 terminal's top-frame (Bug#4702).
10416
10417 * window.el (save-selected-window): Likewise.
10418
10419 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10420
10421 * progmodes/python.el (python-rx-constituents): Move backquote.
10422 (python-skeleton-define, python-define-auxiliary-skeleton):
10423 Use `declare'.
10424
10425 2012-06-18 Michael Albinus <michael.albinus@gmx.de>
10426
10427 * minibuffer.el (read-file-name-default): Revert the patch from
10428 2012-06-17.
10429
10430 2012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10431
10432 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
10433 (pcase--u1, pcase--q1): Don't use apply-partially.
10434
10435 2012-06-18 Glenn Morris <rgm@gnu.org>
10436
10437 * progmodes/python.el (python-proc, python-buffer)
10438 (python-send-receive, python-send-string): Fix obsolete versions.
10439
10440 2012-06-18 Martin Rudalics <rudalics@gmx.at>
10441
10442 * window.el (special-display-p): Completely remove stringp
10443 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
10444
10445 2012-06-17 Michael Albinus <michael.albinus@gmx.de>
10446
10447 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
10448
10449 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
10450
10451 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
10452 * net/tramp-sh.el (tramp-maybe-open-connection):
10453 Throw if `non-essential' is non-nil.
10454
10455 2012-06-17 Martin Rudalics <rudalics@gmx.at>
10456
10457 * window.el (special-display-p): Signal an error if BUFFER-NAME
10458 is not a string (Bug#11713).
10459
10460 2012-06-17 Paul Eggert <eggert@cs.ucla.edu>
10461
10462 * progmodes/python.el (python-info-beginning-of-backslash):
10463 Rename from python-info-beginning-of-backlash, as a spelling fix.
10464
10465 2012-06-17 Chong Yidong <cyd@gnu.org>
10466
10467 * term.el (term-emulate-terminal): If term-check-size is called,
10468 move point to the process mark without resetting point (Bug#4635).
10469
10470 2012-06-17 Glenn Morris <rgm@gnu.org>
10471
10472 * international/mule-cmds.el (mule-menu-keymap)
10473 (set-language-environment, set-locale-environment): Doc tweaks.
10474
10475 2012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
10476
10477 * cus-face.el (custom-face-attributes): Add wave-style underline
10478 attribute.
10479 * faces.el (set-face-attribute): Update docstring to describe
10480 wave-style underline attribute.
10481
10482 2012-06-16 Chong Yidong <cyd@gnu.org>
10483
10484 * term/xterm.el (terminal-init-xterm): Discard input before
10485 querying background mode (Bug#10959).
10486
10487 2012-06-16 Stefan Merten <smerten@oekonux.de>
10488
10489 * textmodes/rst.el: Added and corrected some comments.
10490 (rst-re-alist-def): Improve symbol syntax.
10491 (rst-mode-syntax-table): Correct syntax entries.
10492 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
10493 (rst-official-version, rst-official-cvs-rev): Update version
10494 information.
10495
10496 2012-06-15 Juanma Barranquero <lekktu@gmail.com>
10497
10498 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
10499 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
10500
10501 2012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
10502
10503 * progmodes/python.el: New python.el merge.
10504 (python-guess-indent): Obsolete var.
10505 (python-indent-guess-indent-offset): New defcustom.
10506 (python-indent): Obsolete var.
10507 (python-indent-offset): New defcustom.
10508 (python-python-command, python-jython-command): Delete var.
10509 (python-shell-interpreter): New defcustom.
10510 (python-pdbtrack-do-tracking-p): Delete var.
10511 (python-pdbtrack-activate): New defcustom.
10512 (python-use-skeletons): Obsolete var.
10513 (python-skeleton-autoinsert): New defcustom.
10514 (inferior-python-filter-regexp, python-continuation-offset)
10515 (python-honour-comment-indentation, python-indent-string-contents)
10516 (python-jython-packages, python-mode-hook)
10517 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
10518 (python-shell-prompt-alist)
10519 (python-source-modes): Delete defcustoms.
10520 (python-check-buffer-name, python-eldoc-setup-code)
10521 (python-eldoc-string-code, python-ffap-setup-code)
10522 (python-ffap-string-code, python-fill-comment-function)
10523 (python-fill-decorator-function, python-fill-paren-function)
10524 (python-fill-string-function, python-imenu-include-defun-type)
10525 (python-imenu-make-tree, python-imenu-subtree-root-label)
10526 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
10527 (python-shell-compilation-regexp-alist)
10528 (python-shell-completion-module-string-code)
10529 (python-shell-completion-pdb-string-code)
10530 (python-shell-completion-setup-code)
10531 (python-shell-completion-string-code)
10532 (python-shell-enable-font-lock, python-shell-exec-path)
10533 (python-shell-extra-pythonpaths)
10534 (python-shell-internal-buffer-name, python-shell-interpreter-args)
10535 (python-shell-process-environment)
10536 (python-shell-prompt-block-regexp)
10537 (python-shell-prompt-output-regexp)
10538 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
10539 (python-shell-send-setup-max-wait, python-shell-setup-codes)
10540 (python-shell-virtualenv-path): New defcustoms.
10541 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
10542 (inferior-python-mode-syntax-table, python--prompt-regexp)
10543 (python-buffer, python-command python-python-command)
10544 (python-default-template, python-imports, python-indent-index)
10545 (python-indent-list, python-indent-list-length)
10546 (python-mode-running, python-pdbtrack-is-tracking-p)
10547 (python-preoutput-continuation, python-preoutput-leftover)
10548 (python-preoutput-result, python-preoutput-skip-next-prompt)
10549 (python-prev-dir/file, python-recursing)
10550 (python-saved-check-command, python-version-checked)
10551 (python-which-func-length-limit)
10552 (view-return-to-alist): Delete vars.
10553 (python-check-custom-command, python-dotty-syntax-table)
10554 (python-imenu-index-alist, python-indent-current-level)
10555 (python-indent-dedenters, python-indent-levels)
10556 (python-nav-beginning-of-defun-regexp)
10557 (python-nav-list-defun-positions-cache)
10558 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
10559 (python-shell-internal-buffer)
10560 (python-skeleton-available): New vars.
10561 (def-python-skeleton): Delete macro.
10562 (python-skeleton-define): New macro.
10563 (python-define-auxiliary-skeleton, python-rx): New macros.
10564 (python-insert-class): Delete command.
10565 (python-skeleton-class): New command.
10566 (python-insert-def): Delete command.
10567 (python-skeleton-def): New command.
10568 (python-insert-for): Delete command.
10569 (python-skeleton-for): New command.
10570 (python-insert-if): Delete command.
10571 (python-skeleton-if): New command.
10572 (python-insert-try/except, python-insert-try/finally): Delete commands.
10573 (python-skeleton-try): New command.
10574 (python-insert-while): Delete command.
10575 (python-skeleton-while): New command.
10576 (python-backspace): Delete command.
10577 (python-indent-dedent-line-backspace): New command.
10578 (python-electric-colon): Delete command.
10579 (python-indent-electric-colon): New command.
10580 (python-guess-indent): Delete command.
10581 (python-indent-guess-indent-offset): New command.
10582 (python-shift-left): Delete command.
10583 (python-indent-shift-left): New command.
10584 (python-shift-right): Delete command.
10585 (python-indent-shift-right): New command.
10586 (python-find-function): Delete command.
10587 (python-nav-jump-to-defun): New command.
10588 (python-next-statement): Delete command.
10589 (python-nav-forward-sentence): New command.
10590 (python-previous-statement): Delete command.
10591 (python-nav-backward-sentence): New command.
10592 (python-fill-paragraph): Delete command.
10593 (python-fill-paragraph-function): New command.
10594 (python-send-buffer): Delete command.
10595 (python-shell-send-buffer): New command.
10596 (python-send-defun): Delete command.
10597 (python-shell-send-defun): New command.
10598 (python-send-region, python-send-region-and-go): Delete commands.
10599 (python-shell-send-region)
10600 (python-shell-switch-to-shell): New commands.
10601 (python-send-string): Delete command.
10602 (python-shell-send-string): New command.
10603 (python-switch-to-python): Delete command.
10604 (python-shell-switch-to-shell): New command.
10605 (python-describe-symbol): Delete command.
10606 (python-eldoc-at-point): New command.
10607 (python--set-prompt-regexp, python-args-to-list)
10608 (python-after-info-look, python-check-version)
10609 (python-check-comint-prompt, python-find-imports)
10610 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
10611 (python-unload-function, python-expand-template)
10612 (python-maybe-jython, python-preoutput-filter)
10613 (python-pdbtrack-get-source-buffer)
10614 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
10615 (python-pdbtrack-toggle-stack-tracking)
10616 (python-pdbtrack-track-stack-file, python-initial-text)
10617 (python-first-word, python-comment-line-p, python-send-command)
10618 (python-setup-brm, python-sentinel, python-set-proc)
10619 (python-skip-out, python-input-filter, python-outdent-p)
10620 (python-outline-level, python-backslash-continuation-line-p)
10621 (python-end-of-block, python-end-of-statement, python-mark-block)
10622 (python-beginning-of-block, python-beginning-of-statement)
10623 (python-blank-line-p, python-beginning-of-string)
10624 (python-open-block-statement-p): Delete functions.
10625 (python-indent-line, python-indent-line-1): Delete functions.
10626 (python-indent-line): New function.
10627 (python-indentation-levels): Delete function.
10628 (python-indent-calculate-levels): New function.
10629 (python-proc): Delete function.
10630 (python-shell-get-process): New function.
10631 (python-send-receive): Delete function.
10632 (python-shell-send-string-no-output): New function.
10633 (python-module-path): Delete function.
10634 (python-ffap-module-path): New function.
10635 (python-completion-at-point)
10636 (python-symbol-completions): Delete functions.
10637 (python-completion-complete-at-point): New function.
10638 (python-load-file): Delete function.
10639 (python-shell-send-file): New function.
10640 (python-calculate-indentation): Delete function.
10641 (python-indent-calculate-indentation): New function.
10642 (python-skip-comments/blanks): Delete function.
10643 (python-util-forward-comment): New function.
10644 (python-continuation-line-p): Delete function.
10645 (python-info-continuation-line-p): New function.
10646 (python-which-func, python-current-defun): Delete function.
10647 (python-info-current-defun): New function.
10648 (python-beginning-of-defun): Delete function.
10649 (python-nav-beginning-of-defun): New function.
10650 (python-close-block-statement-p)
10651 (python-block-end-p): Delete function.
10652 (python-info-closing-block): New function.
10653 (python-comint-output-filter-function)
10654 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
10655 (python-fill-comment, python-fill-decorator, python-fill-paren)
10656 (python-fill-string, python-imenu-make-element-tree)
10657 (python-imenu-make-tree, python-imenu-tree-assoc)
10658 (python-indent-context, python-indent-dedent-line)
10659 (python-indent-line-function)
10660 (python-indent-post-self-insert-function)
10661 (python-indent-toggle-levels)
10662 (python-info-assignment-continuation-line-p)
10663 (python-info-beginning-of-backlash)
10664 (python-info-block-continuation-line-p)
10665 (python-info-closing-block-message)
10666 (python-info-line-ends-backslash-p)
10667 (python-info-looking-at-beginning-of-defun)
10668 (python-info-ppss-context, python-info-ppss-context-type)
10669 (python-nav-list-defun-positions, python-nav-read-defun)
10670 (python-nav-sentence-end, python-nav-sentence-start)
10671 (python-pdbtrack-comint-output-filter-function)
10672 (python-pdbtrack-set-tracked-buffer)
10673 (python-shell-calculate-exec-path)
10674 (python-shell-calculate-process-environment)
10675 (python-shell-completion--do-completion-at-point)
10676 (python-shell-completion--get-completions)
10677 (python-shell-completion-complete-at-point)
10678 (python-shell-completion-complete-or-indent)
10679 (python-shell-get-or-create-process)
10680 (python-shell-get-process-name)
10681 (python-shell-internal-get-or-create-process)
10682 (python-shell-internal-get-process-name)
10683 (python-shell-internal-send-string, python-shell-make-comint)
10684 (python-shell-parse-command, python-shell-send-setup-code)
10685 (python-skeleton-add-menu-items)
10686 (python-util-clone-local-variables, python-util-position)
10687 (run-python-internal, python-indentation-levels)
10688 (python-nav-beginning-of-defun)
10689 (python-completion-complete-at-point): New functions.
10690 (run-python): Change arguments. New API requirements.
10691
10692 2012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
10693
10694 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
10695 (bug#11649).
10696
10697 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
10698 (macroexp--expand-all): Use it.
10699
10700 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
10701 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
10702 Use `cl-function' instead.
10703
10704 2012-06-14 Juanma Barranquero <lekktu@gmail.com>
10705
10706 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
10707 Suggested by Stefan Monnier while discussing bug#11657.
10708
10709 2012-06-14 Sam Steingold <sds@gnu.org>
10710
10711 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
10712
10713 2012-06-14 Andreas Schwab <schwab@linux-m68k.org>
10714
10715 * play/doctor.el (doctor-doc): Remove parameter and use
10716 doctor-sent instead of sent.
10717 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
10718
10719 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10720
10721 * files.el: Require cl-lib.
10722 (file-name-non-special): Replace case -> cl-case.
10723
10724 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
10725
10726 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
10727 mapping from #' to function*.
10728
10729 2012-06-13 Chong Yidong <cyd@gnu.org>
10730
10731 * mouse.el (mouse-drag-track): Do not set the mark if the user
10732 releases the mouse without selecting anything (Bug#11588).
10733
10734 2012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10735
10736 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
10737 as well (bug#11646).
10738
10739 * loadup.el: Count byte-code functions as well.
10740
10741 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
10742 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
10743
10744 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
10745 (bug#11649). Add cl-defun and cl-defmacro.
10746
10747 2012-06-13 Drew Adams <drew.adams@oracle.com>
10748
10749 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
10750 Fix last change.
10751
10752 2012-06-13 Michael Albinus <michael.albinus@gmx.de>
10753
10754 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
10755 Otherwise, it blocks in batch mode.
10756
10757 2012-06-13 Juanma Barranquero <lekktu@gmail.com>
10758
10759 * help-mode.el (bookmark-make-record-default): Declare.
10760
10761 2012-06-13 Chong Yidong <cyd@gnu.org>
10762
10763 * emacs-lisp/package.el (list-packages): Compute a list of
10764 packages that are newly-available since the last list-packages
10765 invocation.
10766 (package-menu--new-package-list): New var.
10767 (package-menu--generate, package-menu--print-info)
10768 (package-menu--status-predicate, package-menu-mark-install):
10769 Handle new status label "new".
10770
10771 2012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
10772
10773 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
10774 conversion to backquotes.
10775
10776 2012-06-12 Chong Yidong <cyd@gnu.org>
10777
10778 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
10779 Rename from gud-inhibit-global-bindings.
10780
10781 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
10782
10783 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
10784 hook from nxml-glyph-set-hook.
10785
10786 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
10787 declaration.
10788
10789 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
10790
10791 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
10792 Convert to defcustom.
10793
10794 2012-06-12 Drew Adams <drew.adams@oracle.com>
10795
10796 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
10797 New functions.
10798 (help-mode): Use them.
10799
10800 2012-06-11 Glenn Morris <rgm@gnu.org>
10801
10802 * progmodes/fortran.el (fortran-font-lock-keywords-3):
10803 Use preprocessor face for directives.
10804 (fortran-directive-re): Doc fix.
10805
10806 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10807
10808 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
10809 conversion to backquotes (bug#11652).
10810
10811 Fix compiler-expansion of CL's cXXr functions (bug#11673).
10812 * emacs-lisp/cl-lib.el (cl--defalias): New function.
10813 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
10814 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
10815 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
10816 (cl-ninth, cl-tenth): Mark them as inlinable.
10817 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
10818 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
10819 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
10820 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
10821 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
10822 (cl-list*, cl-adjoin): Don't put an autoload manually.
10823 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
10824 (cl--compiler-macro-list*): Add autoload cookie.
10825 (cl--compiler-macro-cXXr): New function.
10826
10827 * help-fns.el (help-fns--compiler-macro): New function extracted from
10828 describe-function-1; follow aliases and use `compiler-macro' property.
10829 (describe-function-1): Use it.
10830
10831 2012-06-11 Chong Yidong <cyd@gnu.org>
10832
10833 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
10834 is uninstalled, if imagemagick is installed.
10835
10836 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10837
10838 * emacs-lisp/cl-lib.el: Use lexical-binding.
10839 (cl-map-extents, cl-maclisp-member): Remove.
10840 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
10841 (cl--set-substring, cl--block-wrapper, cl--block-throw)
10842 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
10843 * emacs-lisp/cl-extra.el: Use lexical-binding.
10844 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
10845 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
10846 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
10847 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
10848 * emacs-lisp/cl-seq.el: Use lexical-binding.
10849 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
10850 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
10851 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
10852 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
10853 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
10854 CL's internals.
10855
10856 2012-06-11 Michael Albinus <michael.albinus@gmx.de>
10857
10858 Sync with Tramp 2.2.6-pre.
10859
10860 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
10861 `print-length' and `print-level' to nil, in order to avoid
10862 truncation. Reported by Christopher Schmidt
10863 <christopher@ristopher.com>.
10864
10865 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
10866
10867 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
10868 New defmacro.
10869 (tramp-compat-copy-directory): Add optional argument
10870 COPY-CONTENTS. It is not handled yet.
10871
10872 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
10873 (tramp-ftp-file-name-p): Simplify.
10874
10875 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
10876 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
10877 connection vector.
10878
10879 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
10880 (tramp-methods): Do not use `tramp-password-end-of-line'.
10881 (tramp-completion-function-alist-putty): Handle UNIX case.
10882 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
10883 (tramp-do-file-attributes-with-stat)
10884 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
10885 gid as real numbers. They could run out of integer range on cygwin.
10886 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
10887 (tramp-sh-handle-expand-file-name): Handle hops.
10888 (tramp-open-connection-setup-interactive-shell):
10889 Use `tramp-cleanup'. Move check for busyboxes ...
10890 (tramp-find-shell): ... here. Simplify implementation.
10891 Set "remote-shell" property also for alternative shells.
10892 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
10893 If failing, a regular file would be written otherwise.
10894 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
10895 (tramp-find-inline-encoding): Cache the coding commands in the
10896 process cache. Apply test command on the remote side, if defined.
10897 (tramp-find-inline-compress): Cache the compress commands in the
10898 process cache.
10899 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
10900 when requested. Handle hops.
10901 (tramp-current-connection): New defvar.
10902 (tramp-maybe-open-connection): Use `tramp-cleanup'.
10903 Throw `suppress', if there was a failed connection shortly before.
10904 Handle user interrupt. (Bug#10187)
10905 (tramp-get-inline-compress, tramp-get-inline-coding):
10906 Read connection properties from the process cache.
10907
10908 * net/tramp-smb.el (tramp-smb-server-version)
10909 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
10910 New defconsts.
10911 (tramp-smb-prompt): Extend for powershell prompt.
10912 (tramp-smb-file-name-handler-alist): Add handlers for
10913 `process-file', `shell-command' and `start-file-process'.
10914 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
10915 (tramp-smb-winexe-shell-command-switch): New defcustoms.
10916 (tramp-smb-file-name-p): Simplify.
10917 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
10918 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
10919 (tramp-smb-shell-quote-argument): New defuns.
10920 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
10921 Implement using "tar". By this, time-stamps are preserved.
10922 (tramp-smb-handle-copy-file): Handle also the case of directories.
10923 (tramp-smb-do-file-attributes-with-stat)
10924 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
10925 Use `tramp-get-connection-buffer').
10926 (tramp-smb-handle-rename-file): Use "rename", when source and
10927 target are on the same share.
10928 (tramp-smb-maybe-open-connection): Handle wrong passwords.
10929 Use `tramp-smb-server-version'.
10930 (tramp-smb-wait-for-output): Remove prompt.
10931
10932 * net/tramp.el (top): Require 'cl.
10933 (tramp-methods, tramp-rsh-end-of-line):
10934 Remove `tramp-password-end-of-line' from docstring.
10935 (tramp-save-ad-hoc-proxies): New defcustom.
10936 (tramp-completion-function-alist): Adapt docstring.
10937 (tramp-default-password-end-of-line): Remove defcustom.
10938 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
10939 (tramp-user-regexp, tramp-file-name-regexp-unified)
10940 (tramp-file-name-regexp-url): Extend regexp by hop separator.
10941 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
10942 (tramp-remote-file-name-spec-regexp): New defconst.
10943 (tramp-file-name-structure): Extend structure for hops.
10944 (tramp-get-method-parameter): Move up.
10945 (tramp-file-name-p, tramp-dissect-file-name)
10946 (with-parsed-tramp-file-name): Handle hops.
10947 (tramp-file-name-hop): New defun.
10948 (tramp-make-tramp-file-name): New optional arg HOP.
10949 (tramp-message-show-progress-reporter-message): New defvar.
10950 (tramp-with-progress-reporter): Use it. We cannot use
10951 `tramp-message-show-message' here, because this suppresses also
10952 error buffers.
10953 (tramp-error-with-buffer): Suppress buffer view, if
10954 `tramp-message-show-message' is nil.
10955 Use `tramp-get-connection-buffer'.
10956 (tramp-cleanup): New defun.
10957 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
10958 (tramp-file-name-handler): If `debug-on-error' is set, propagate
10959 an error unchanged.
10960 (tramp-completion-handle-file-name-all-completions): Handle hops.
10961 Fix an error when called from ido.
10962 (tramp-completion-dissect-file-name): Use better local variable
10963 name. Add hop to the vector.
10964 (tramp-handle-insert-file-contents): Use progress-reporter for the
10965 whole scenario.
10966 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
10967 to `t'.
10968 (tramp-check-for-regexp): Simplify search.
10969 (tramp-enter-password): Remove it. Move implementation ...
10970 (tramp-action-password): ... here.
10971 (tramp-mode-string-to-int, tramp-local-host-p)
10972 (tramp-make-tramp-temp-file, tramp-read-passwd)
10973 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
10974 Set tramp-autoload cookie.
10975
10976 * net/trampver.el: Update release number.
10977
10978 2012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10979 Michael Albinus <michael.albinus@gmx.de>
10980
10981 * net/tramp.el (tramp-set-completion-function): Fix docstring.
10982 (tramp-parse-group, tramp-parse-file)
10983 (tramp-parse-shostkeys-sknownhosts): New defuns.
10984 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
10985 (tramp-parse-shosts-group, tramp-parse-sconfig)
10986 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
10987 (tramp-parse-sknownhosts, tramp-parse-hosts)
10988 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
10989 Use them.
10990 (tramp-parse-passwd-group, tramp-parse-netrc-group)
10991 (tramp-parse-putty-group): Don't narrow.
10992 (tramp-parse-putty): Make a loop.
10993 (tramp-file-name-handler): Catch the `suppress' signal.
10994
10995 2012-06-11 Chong Yidong <cyd@gnu.org>
10996
10997 * image.el (imagemagick-register-types): Put the ImageMagick entry
10998 at the end of image-type-file-name-regexps.
10999
11000 2012-06-11 Johan Bockgård <bojohan@gnu.org>
11001
11002 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
11003 (pcase, pcase-let*, pcase-dolist): Use them.
11004
11005 2012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
11006
11007 * emacs-lisp/pcase.el (pcase--let*): New function.
11008 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
11009 (pcase--expand): Use macroexp-let².
11010
11011 2012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
11012
11013 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
11014 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
11015 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
11016 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
11017 * emacs-lisp/derived.el: Use pcase instead of `cl'.
11018 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
11019
11020 2012-06-10 Glenn Morris <rgm@gnu.org>
11021
11022 * mail/rmail.el (rmail-yank-current-message): Leave point at
11023 correct position. (Bug#11660)
11024
11025 2012-06-10 Chong Yidong <cyd@gnu.org>
11026
11027 * allout-widgets.el: Fix code header.
11028
11029 2012-06-10 Chong Yidong <cyd@gnu.org>
11030
11031 * cus-edit.el (customize-changed-options-previous-release):
11032 Bump to 24.1.
11033
11034 2012-06-09 Andreas Schwab <schwab@linux-m68k.org>
11035
11036 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
11037
11038 2012-06-09 Chong Yidong <cyd@gnu.org>
11039
11040 * ebuff-menu.el (electric-buffer-list): Preserve header line.
11041
11042 2012-06-09 Martin Rudalics <rudalics@gmx.at>
11043
11044 * window.el (special-display-popup-frame): Don't use
11045 window--display-buffer (Bug#11651).
11046
11047 2012-06-09 Eli Zaretskii <eliz@gnu.org>
11048
11049 Fix parallel builds: make sure loaddefs.el is not being written
11050 while Lisp files are compiled.
11051 (compile): Don't depend on 'mh-autoloads'.
11052 (compile-CMD, compile-SH): Depend on 'autoloads'.
11053 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
11054
11055 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
11056
11057 2012-06-09 Chong Yidong <cyd@gnu.org>
11058
11059 * face-remap.el (face-remap-add-relative, face-remap-set-base)
11060 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
11061 Doc fixes (Bug#11225).
11062
11063 2012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
11064
11065 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
11066 a function if there's a clear indication that it has a compiler-macro.
11067 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
11068 (macro-declarations-alist): Add arglist to declaration functions.
11069 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
11070 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
11071 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
11072 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
11073 Also add autoload to find the compiler macro.
11074 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
11075 (cl--compiler-macro-member, cl--compiler-macro-assoc)
11076 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
11077 (cl--compiler-macro-get): New functions, replacing calls to
11078 cl-define-compiler-macro.
11079 (cl-typep) [compiler-macro]: Use macroexp-let².
11080
11081 2012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
11082
11083 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
11084 string properly, fixes Bug#11473.
11085
11086 2012-06-08 Chong Yidong <cyd@gnu.org>
11087
11088 * faces.el (set-face-attribute): Doc fix.
11089 (modify-face): Don't use :bold and :italic.
11090 (error, warning, success): Tweak definitions.
11091
11092 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
11093 (custom-modified, custom-set, custom-changed, custom-themed)
11094 (custom-saved, custom-button, custom-button-mouse)
11095 (custom-button-pressed, custom-state, custom-comment-tag)
11096 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
11097 (custom-group-subtitle): Use new-style face specs.
11098 (custom-invalid-face, custom-rogue-face, custom-modified-face)
11099 (custom-set-face, custom-changed-face, custom-saved-face)
11100 (custom-button-face, custom-button-pressed-face)
11101 (custom-documentation-face, custom-state-face)
11102 (custom-comment-face, custom-comment-tag-face)
11103 (custom-variable-tag-face, custom-variable-button-face)
11104 (custom-face-tag-face, custom-group-tag-face-1)
11105 (custom-group-tag-face): Remove obsolete face alias.
11106
11107 * epa.el (epa-validity-high, epa-validity-medium)
11108 (epa-validity-low, epa-mark, epa-field-name, epa-string)
11109 (epa-field-name, epa-field-body):
11110 * font-lock.el (font-lock-comment-face, font-lock-string-face)
11111 (font-lock-keyword-face, font-lock-builtin-face)
11112 (font-lock-function-name-face, font-lock-variable-name-face)
11113 (font-lock-type-face, font-lock-constant-face):
11114 * ido.el (ido-first-match, ido-only-match, ido-subdir)
11115 (ido-virtual, ido-indicator, ido-incomplete-regexp):
11116 * speedbar.el (speedbar-button-face, speedbar-file-face)
11117 (speedbar-directory-face, speedbar-tag-face)
11118 (speedbar-selected-face, speedbar-highlight-face)
11119 (speedbar-separator-face):
11120 * whitespace.el (whitespace-newline, whitespace-space)
11121 (whitespace-hspace, whitespace-tab, whitespace-trailing)
11122 (whitespace-line, whitespace-space-before-tab)
11123 (whitespace-space-after-tab, whitespace-indentation)
11124 (whitespace-empty):
11125 * emulation/cua-base.el (cua-global-mark):
11126 * eshell/em-prompt.el (eshell-prompt):
11127 * net/newst-plainview.el (newsticker-new-item-face)
11128 (newsticker-old-item-face, newsticker-immortal-item-face)
11129 (newsticker-obsolete-item-face, newsticker-date-face)
11130 (newsticker-statistics-face, newsticker-default-face):
11131 * net/newst-reader.el (newsticker-feed-face)
11132 (newsticker-extra-face, newsticker-enclosure-face):
11133 * net/newst-treeview.el (newsticker-treeview-face)
11134 (newsticker-treeview-new-face, newsticker-treeview-old-face)
11135 (newsticker-treeview-immortal-face)
11136 (newsticker-treeview-obsolete-face)
11137 (newsticker-treeview-selection-face):
11138 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
11139 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
11140 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
11141 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
11142 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
11143 (nxml-outline-active-indicator, nxml-outline-ellipsis):
11144 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
11145 (mpuz-text):
11146 * progmodes/vera-mode.el (vera-font-lock-number)
11147 (vera-font-lock-function, vera-font-lock-interface):
11148 * textmodes/table.el (table-cell): Use new-style face specs, and
11149 don't use the old :bold and :italic attributes.
11150
11151 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
11152 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
11153 (ebrowse-member-class, ebrowse-progress): Likewise.
11154 (ebrowse-tree-mark-face, ebrowse-root-class-face)
11155 (ebrowse-file-name-face, ebrowse-default-face)
11156 (ebrowse-member-attribute-face, ebrowse-member-class-face)
11157 (ebrowse-progress-face): Remove obsolete faces.
11158
11159 * progmodes/flymake.el (flymake-errline, flymake-warnline):
11160 Inherit from error and warning faces respectively.
11161
11162 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
11163 Likewise.
11164 (flyspell-incorrect-face, flyspell-duplicate-face):
11165 Remove obsolete aliases.
11166
11167 2012-06-08 Michael Albinus <michael.albinus@gmx.de>
11168
11169 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
11170 Avoid infloop.
11171
11172 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
11173
11174 * startup.el (argv, argi): Make lexically scoped.
11175 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
11176 * emacs-lisp/cl-macs.el: Use lexical-binding.
11177 Rename cl-bind-* to cl--bind-*.
11178 * files.el: Don't require `cl' since it doesn't use it.
11179 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
11180
11181 2012-06-08 Juanma Barranquero <lekktu@gmail.com>
11182
11183 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
11184 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
11185 instead of calling external sort utility.
11186 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
11187
11188 2012-06-08 Eli Zaretskii <eliz@gnu.org>
11189
11190 * descr-text.el (describe-char): Mention how to insert the
11191 character, if the current input method doesn't support it.
11192 See the discussion in this thread for the details:
11193 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
11194
11195 2012-06-08 Sam Steingold <sds@gnu.org>
11196
11197 * bindings.el (global-map): Bind XF86Forward to next-buffer and
11198 XF86Back to previous-buffer.
11199 (minibuffer-local-map): Bind them to next-history-element and
11200 previous-history-element respectively.
11201 * help-mode.el (help-mode-map): Bind them to help-go-forward and
11202 help-go-back respectively.
11203 * info.el (Info-mode-map): Bind them to Info-history-forward and
11204 Info-history-back respectively.
11205 These are the keys next to Up on the ThinkPad keyboard.
11206
11207 2012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
11208
11209 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
11210 * emacs-lisp/cl-macs.el: Provide itself.
11211 (cl--labels-convert-cache): New var.
11212 (cl--labels-convert): New function.
11213 (cl-flet, cl-labels): New implementation with new semantics, relying on
11214 lexical-binding.
11215 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
11216 (cl-closure-vars, cl--function-convert-cache)
11217 (cl--function-convert): Move from cl-macs.el.
11218 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
11219 rename by removing the "cl-" prefix.
11220 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
11221
11222 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
11223
11224 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
11225 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
11226 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
11227 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
11228 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
11229 (cl-hash-table-count): Add old compatibility aliases.
11230
11231 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
11232 Use macroexpand-all-environment instead.
11233 (cl--old-macroexpand): New var.
11234 (cl--sm-macroexpand): New function.
11235 (cl-symbol-macrolet): Use it during macro expansion.
11236 (cl--function-convert-cache): New var.
11237 (cl--function-convert): New function, extracted from
11238 cl-macroexpand-all.
11239 (cl-lexical-let): Use it.
11240
11241 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
11242 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
11243 (cl-member): Remove old alias.
11244
11245 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
11246 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
11247 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
11248 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
11249 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
11250 (cl-macroexpand-cmacs): Remove var.
11251 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
11252 Use macroexpand-all instead.
11253
11254 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
11255
11256 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
11257 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
11258 (macroexp-copyable-p): New functions and macros.
11259 * emacs-lisp/edebug.el (edebug-unwrap):
11260 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
11261 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
11262 (pcase--let*): Remove.
11263 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
11264 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
11265 macroexp-const-p instead.
11266 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
11267
11268 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
11269 instead of "cl-" for internal definitions. Use macroexp-const-p.
11270 (cl-old-bc-file-form): Remove var.
11271 (cl-const-exprs-p): Remove fun.
11272 (cl-labels, cl-macrolet): Use backquote.
11273 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
11274 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
11275 (cl-define-setf-expander): Rename from cl-define-setf-method.
11276 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
11277
11278 * international/mule-cmds.el: Don't require CL.
11279 (view-hello-file): Don't use `letf'.
11280
11281 2012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
11282
11283 * tmm.el (tmm-prompt): Use string-prefix-p.
11284 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
11285 (tmm-add-prompt): Use minibuffer-completion-help.
11286 (tmm-delete-map): Remove.
11287
11288 * subr.el (kbd): Make it its own function.
11289
11290 2012-06-07 Stefan Merten <smerten@oekonux.de>
11291
11292 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
11293 Silence compiler warnings. Fix versions.
11294 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
11295 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
11296 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
11297 (rst-package-emacs-version-alist): Correct Emacs version to
11298 represent major merge with upstream.
11299 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
11300
11301 2012-06-06 Glenn Morris <rgm@gnu.org>
11302
11303 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
11304 Only print environment variables if set.
11305
11306 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
11307
11308 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
11309 (macroexp--cons): Rename from maybe-cons.
11310 (macroexp--accumulate): Rename from macroexp-accumulate.
11311 (macroexp--all-forms): Rename from macroexpand-all-forms.
11312 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
11313 (macroexp--expand-all): Rename from macroexpand-all-1.
11314
11315 2012-06-06 Sam Steingold <sds@gnu.org>
11316
11317 * calendar/calendar.el (calendar-in-read-only-buffer):
11318 Call `special-mode' to enable the standard read-only keybindings.
11319
11320 2012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
11321
11322 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
11323 with "loading" messages (bug#11635).
11324
11325 2012-06-06 Michael Albinus <michael.albinus@gmx.de>
11326
11327 * files.el (enable-remote-dir-locals): New option.
11328 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
11329
11330 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
11331 Ensure, that the temp directory is local.
11332
11333 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
11334 `temporary-file-directory'.
11335
11336 * progmodes/python.el (python-send-region): Ensure, that the
11337 temporary file is created also in the remote case.
11338
11339 2012-06-06 Glenn Morris <rgm@gnu.org>
11340
11341 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
11342 (vc-rcs-update-changelog): Use it.
11343
11344 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
11345
11346 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
11347 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
11348 (vc-sccs-diff): Replace use of the external vcdiff script.
11349
11350 2012-06-05 Glenn Morris <rgm@gnu.org>
11351
11352 * ledit.el: Move to obsolete/.
11353
11354 2012-06-05 Sam Steingold <sds@gnu.org>
11355
11356 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
11357 patch (Bug#11140).
11358
11359 2012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
11360
11361 * emacs-lisp/cust-print.el: Move to obsolete.
11362
11363 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
11364 compiler-macro expansion.
11365
11366 Add native compiler-macro support.
11367 * emacs-lisp/macroexp.el (macroexpand-all-1):
11368 Support compiler-macros directly. Properly follow aliases and apply
11369 the compiler macros more thoroughly.
11370 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
11371 macroexpand now properly follows aliases.
11372 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
11373 (cl-compiler-macroexpand): Use new prop.
11374 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
11375
11376 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
11377
11378 2012-06-05 Martin Rudalics <rudalics@gmx.at>
11379
11380 * window.el (get-lru-window, get-mru-window, get-largest-window):
11381 New argument NOT-SELECTED to avoid picking the selected window.
11382 (window--display-buffer-1, window--display-buffer-2): Replace by
11383 new function window--display-buffer
11384 (display-buffer-same-window, display-buffer-reuse-window)
11385 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
11386 Use window--display-buffer.
11387 (display-buffer-use-some-window): Remove temporary dedication
11388 hack by calling get-lru-window and get-largest-window with
11389 NOT-SELECTED argument non-nil. Call window--display-buffer.
11390
11391 2012-06-05 Glenn Morris <rgm@gnu.org>
11392
11393 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
11394 Replace external vcdiff script.
11395
11396 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
11397
11398 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
11399
11400 2012-06-04 Chong Yidong <cyd@gnu.org>
11401
11402 * image.el (imagemagick-types-inhibit): Revert last change.
11403 Add INFO and M.
11404 (imagemagick-enabled-types): Remove CIN and EPS*.
11405
11406 2012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
11407
11408 * emacs-lisp/cl-lib.el: Rename from cl.el.
11409 * emacs-lisp/cl.el: New compatibility file.
11410 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
11411 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
11412 to obey the "cl-" prefix.
11413 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
11414
11415 2012-06-03 Glenn Morris <rgm@gnu.org>
11416
11417 * emacs-lisp/authors.el (authors-aliases): Addition.
11418
11419 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
11420 Fix :version.
11421
11422 2012-06-03 Stefan Merten <smerten@oekonux.de>
11423
11424 * textmodes/rst.el: Add comments.
11425 (rst-transition, rst-adornment): New faces.
11426 (rst-adornment-faces-alist): Make default safe to reevaluate.
11427 Fixes
11428 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
11429 Improve customization tags.
11430 (rst-define-level-faces): Clarify meaning.
11431
11432 2012-06-03 Chong Yidong <cyd@gnu.org>
11433
11434 * progmodes/compile.el (compilation-mode-line-fail)
11435 (compilation-mode-line-run, compilation-mode-line-exit):
11436 New faces.
11437 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
11438
11439 2012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
11440
11441 * progmodes/which-func.el (which-func-update-ediff-windows):
11442 New function. Use it in ediff-select-hook (Bug#11478).
11443
11444 2012-06-03 Chong Yidong <cyd@gnu.org>
11445
11446 * bindings.el: Remove explicit help text from format-mode-line.
11447 It is now supplied by mode-line-default-help-echo.
11448 (mode-line-front-space, mode-line-end-spaces)
11449 (mode-line-misc-info): New variables.
11450 (mode-line-modes, mode-line-position): Move the default value to
11451 the variable definition.
11452 (mode-line-default-help-echo): New defcustom.
11453 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
11454 (mode-line-modified-help-echo): New functions.
11455 (mode-line-mule-info, mode-line-modified): Use them.
11456 (mode-line-eol-desc, propertized-buffer-identification):
11457 Consistency fixes for help text.
11458 (mode-line-coding-system-map): Allow using mouse-3 to invoke
11459 set-buffer-file-coding-system (Bug#289).
11460 (mode-line-mule-info-help-echo): Update help text.
11461
11462 2012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
11463
11464 * simple.el (execute-extended-command): Set real-this-command
11465 (bug#11506).
11466
11467 2012-06-02 Chong Yidong <cyd@gnu.org>
11468
11469 Remove incorrect uses of "modeline" in comments, docstrings, and
11470 function/variable names (Bug#10329).
11471
11472 * cus-edit.el (mode-line):
11473 * dframe.el (dframe-mouse-hscroll):
11474 * emacs-lisp/re-builder.el:
11475 * emacs-lisp/easy-mmode.el (define-minor-mode):
11476 * frame.el (set-frame-name):
11477 * help.el (lookup-minor-mode-from-indicator):
11478 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
11479 * progmodes/cc-cmds.el (c-toggle-auto-newline)
11480 (c-toggle-hungry-state):
11481 * progmodes/antlr-mode.el (antlr-language-alist):
11482 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
11483 * progmodes/vhdl-mode.el (vhdl-mode):
11484 * progmodes/which-func.el (which-func, which-func-cleanup-function):
11485 * term/ns-win.el (ns-face-at-pos):
11486 * term/sup-mouse.el (sup-mouse-report):
11487 * textmodes/flyspell.el (flyspell-mode-line-string):
11488 * textmodes/ispell.el (ispell-highlight-face):
11489 * textmodes/reftex-global.el:
11490 * vc/vc-arch.el (vc-arch-mode-line-string):
11491 * vc/vc-cvs.el (vc-cvs-mode-line-string):
11492 * vc/vc-git.el (vc-git-mode-line-string):
11493 * vc/vc-hooks.el (vc-display-status)
11494 (vc-default-mode-line-string):
11495 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
11496
11497 * ansi-color.el (ansi-color-faces-vector): Change default faces.
11498
11499 * dired.el (dired-sort-set-mode-line): Rename from
11500 dired-sort-set-modeline. All callers changed.
11501
11502 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
11503 eshell-status-in-modeline.
11504
11505 * foldout.el (foldout-mode-line-string): Rename from
11506 foldout-modeline-string. All callers changed.
11507 (foldout-update-mode-line): Rename from foldout-update-modeline.
11508
11509 * subr.el (redraw-modeline): Make into obsolete alias.
11510
11511 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
11512 timeclock-modeline-display. Make old name an alias.
11513 (timeclock-update-mode-line): Likewise. All callers changed.
11514 (timeclock-mode-line-display): No need to check before using
11515 add-hook.
11516 (timeclock-relative, timeclock-day-over-hook)
11517 (timeclock-use-elapsed, timeclock-mode-string)
11518 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
11519
11520 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
11521 crisp-mode-modeline-string.
11522
11523 * play/solitaire.el (solitaire-build-mode-line): Rename from
11524 solitaire-build-modeline. All callers changed.
11525
11526 * play/zone.el (zone-hiding-mode-line): Rename from
11527 zone-hiding-modeline. All callers changed.
11528 (zone): Remove unusued `modeline-hidden-level' property.
11529
11530 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
11531 xscheme-modeline-initialize. All callers changed.
11532
11533 * strokes.el (strokes-lighter): Rename from
11534 strokes-modeline-string.
11535
11536 * textmodes/sgml-mode.el (html-face-tag-alist)
11537 (html-tag-face-alist): Use mode-line face instead of obsolete
11538 alias modeline.
11539
11540 2012-06-02 Stefan Merten <smerten@oekonux.de>
11541
11542 * textmodes/rst.el: Always require `cl'.
11543 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
11544
11545 2012-06-02 Chong Yidong <cyd@gnu.org>
11546
11547 * image.el (imagemagick-enabled-types): Rename from
11548 imagemagick-types-enable. Add many more types.
11549 (imagemagick-types-inhibit): Change default to nil.
11550 (imagemagick-filter-types): Caller changed.
11551
11552 2012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
11553
11554 * emacs-lisp/cl-macs.el: Use backquotes.
11555 (cl-transform-function-property): Use eval-and-compile rather than
11556 abusing `require'.
11557 (defstruct): Use declare-function instead of with-no-warnings.
11558
11559 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
11560 (byte-compile-output-docform): Re-add the print-circle bindings.
11561 (byte-compile-fix-header): Use #$ just because it's shorter.
11562 (byte-compile-output-file-form): Remove defun/defmacro.
11563
11564 2012-06-01 Martin Rudalics <rudalics@gmx.at>
11565
11566 * simple.el (choose-completion): Remove now obsolete binding for
11567 owindow.
11568
11569 2012-06-01 Michael Albinus <michael.albinus@gmx.de>
11570
11571 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
11572 in order to avoid "Stack overflow in regexp matcher".
11573
11574 2012-05-31 Glenn Morris <rgm@gnu.org>
11575
11576 * image.el: For clarity, call imagemagick-register-types at
11577 top-level, rather than relying on a custom :initialize.
11578 (imagemagick-types-enable): New option. (Bug#11557)
11579 (imagemagick-filter-types): New function. (Bug#7406)
11580 (imagemagick-register-types): Use imagemagick-filter-types.
11581 If disabling support, remove elements altogether rather
11582 than using an impossible regexp.
11583 (imagemagick-types-inhibit): Give it the default init function.
11584
11585 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11586
11587 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
11588 Handle arbitrary file name lengths (Bug#11585).
11589
11590 2012-05-31 Martin Rudalics <rudalics@gmx.at>
11591
11592 * desktop.el (desktop-read): Clear previous and next buffers for
11593 all windows and bury *Messages* buffer (bug#11556).
11594
11595 2012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
11596
11597 Add `declare' for `defun'. Align `defmacro's with it.
11598 * emacs-lisp/easy-mmode.el (define-minor-mode)
11599 (define-globalized-minor-mode): Don't autoload the var definitions.
11600 * emacs-lisp/byte-run.el: Use lexical-binding.
11601 (defun-declarations-alist, macro-declarations-alist): New vars.
11602 (defmacro, defun): Use them.
11603 (make-obsolete, define-obsolete-function-alias)
11604 (make-obsolete-variable, define-obsolete-variable-alias):
11605 Use `declare'.
11606 (macro-declaration-function): Mark obsolete.
11607 * emacs-lisp/autoload.el: Use lexical-binding.
11608 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
11609
11610 2012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11611
11612 * textmodes/ispell.el (ispell-with-no-warnings):
11613 Define as a macro.
11614 (ispell-kill-ispell, ispell-change-dictionary):
11615 Use `called-interactively-p' for Emacs instead of obsolete
11616 `interactive-p'.
11617
11618 2012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11619
11620 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
11621 (macro-declaration-function): Move var from C code.
11622 (macro-declaration-function): Define function with defalias.
11623 * emacs-lisp/macroexp.el (macroexpand-all-1):
11624 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
11625 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
11626 defun/defmacro any more.
11627 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
11628 Provide fallback for unknown arglist.
11629 (byte-compile-arglist-warn): Change calling convention.
11630 (byte-compile-output-file-form): Move print-vars binding.
11631 (byte-compile-output-docform): Simplify accordingly.
11632 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
11633 (byte-compile-defmacro-declaration): Remove.
11634 (byte-compile-file-form-defmumble): Generalize to defalias.
11635 (byte-compile-output-as-comment): Return byte-positions.
11636 Simplify callers accordingly.
11637 (byte-compile-lambda): Use `assert'.
11638 (byte-compile-defun, byte-compile-defmacro): Remove.
11639 (byte-compile-file-form-defalias):
11640 Use byte-compile-file-form-defmumble.
11641 (byte-compile-defalias-warn): Remove.
11642
11643 2012-05-29 Stefan Merten <smerten@oekonux.de>
11644
11645 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
11646 possible. Fix authors. Improve comments. Improve loading of `cl'.
11647
11648 (rst-mode-abbrev-table): Merge definition.
11649 (rst-mode): Make sure `font-lock-defaults' is buffer local.
11650 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
11651
11652 2012-05-29 Ulf Jasper <ulf.jasper@web.de>
11653
11654 * calendar/icalendar.el
11655 (icalendar-export-region): Export UID properly.
11656
11657 2012-05-29 Leo Liu <sdl.web@gmail.com>
11658 * calendar/icalendar.el (icalendar-import-format):
11659 Add `icalendar-import-format-uid' (Bug#11525).
11660 (icalendar-import-format-uid): New.
11661 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
11662 Export UID.
11663
11664 2012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
11665
11666 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
11667 different alternative patterns.
11668 (pcase-codegen): Be more careful to preserve identity.
11669 (pcase--u1): Don't forget to mark vars as used.
11670
11671 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
11672 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
11673 (byte-compile-from-buffer): ...rather than here.
11674
11675 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
11676 functions from byte-compile-function-environment.
11677
11678 2012-05-29 Troels Nielsen <bn.troels@gmail.com>
11679
11680 * window.el (window-deletable-p): Avoid deleting the root window
11681 of a frame with an active minibuffer.
11682
11683 2012-05-29 Martin Rudalics <rudalics@gmx.at>
11684
11685 * simple.el (choose-completion): Use quit-window (Bug#11567).
11686
11687 2012-05-29 Chong Yidong <cyd@gnu.org>
11688
11689 * whitespace.el (whitespace-cleanup): Fix usage of
11690 whitespace-empty-at-bob-regexp (Bug#11492).
11691
11692 2012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11693
11694 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
11695 revert (Bug#11488).
11696
11697 2012-05-29 Juri Linkov <juri@jurta.org>
11698
11699 * isearch.el (isearch-mode-map): Bind `M-s _' to
11700 `isearch-toggle-symbol'. Bind `M-s c' to
11701 `isearch-toggle-case-fold'.
11702 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
11703 (isearch-forward): Add `M-s _' to the docstring.
11704 (isearch-forward-symbol, isearch-toggle-case-fold)
11705 (isearch-symbol-regexp): New functions. (Bug#11381)
11706
11707 2012-05-29 Juri Linkov <juri@jurta.org>
11708
11709 * isearch.el (isearch-word): Add docstring. (Bug#11381)
11710 (isearch-occur, isearch-search-and-update): If `isearch-word' is
11711 a function, call it to get the regexp.
11712 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
11713 property `isearch-message-prefix' instead of the string "word ".
11714 (isearch-search-fun-default): For the case of `isearch-word',
11715 return a lambda that calls re-search-forward/re-search-backward
11716 with a regexp returned by `word-search-regexp' or by the function
11717 in `isearch-word'.
11718
11719 2012-05-29 Juri Linkov <juri@jurta.org>
11720
11721 * isearch.el (isearch-search-fun-default): New function.
11722 (isearch-search-fun): Move default part to the new function
11723 `isearch-search-fun-default'.
11724 (isearch-search-fun-function): Set the default value to
11725 `isearch-search-fun-default'. (Bug#11381)
11726
11727 * comint.el (comint-history-isearch-end):
11728 Use `isearch-search-fun-default'.
11729 (comint-history-isearch-search): Use `isearch-search-fun-default'
11730 and remove spacial case for `isearch-word'.
11731 (comint-history-isearch-wrap): Remove spacial case for
11732 `isearch-word'.
11733
11734 * hexl.el (hexl-isearch-search-function):
11735 Use `isearch-search-fun-default'.
11736
11737 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
11738 Use `word-search-regexp' for `isearch-word'.
11739
11740 * misearch.el (multi-isearch-search-fun):
11741 Use `isearch-search-fun-default'.
11742
11743 * simple.el (minibuffer-history-isearch-search):
11744 Use `isearch-search-fun-default' and remove spacial case for
11745 `isearch-word'.
11746 (minibuffer-history-isearch-wrap): Remove spacial case for
11747 `isearch-word'.
11748
11749 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
11750 Remove spacial case for `isearch-word'.
11751 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
11752
11753 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11754
11755 Decrease XEmacs incompatibilities.
11756 * textmodes/flyspell.el (flyspell-check-pre-word-p):
11757 Use `string-match'.
11758 (flyspell-delete-region-overlays): Use alternative definition for
11759 XEmacs.
11760 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
11761 (flyspell-word): Use `process-kill-without-query' if XEmacs.
11762 (flyspell-mode-on): Use `interactive-p' if XEmacs.
11763 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
11764 `define-obsolete-face-alias' under XEmacs, but old method.
11765
11766 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
11767 `with-no-warnings' definition or Emacs alias.
11768 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
11769 (ispell-word): Do not use `region-p' if XEmacs.
11770
11771 2012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11772
11773 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
11774 Check for `ispell-dictionary-base-alist' instead of full
11775 `ispell-dictionary-alist'.
11776 (ispell-init-process): Show spellchecker when starting new Ispell
11777 process.
11778
11779 2012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
11780
11781 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
11782 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
11783
11784 2012-05-27 Juanma Barranquero <lekktu@gmail.com>
11785
11786 * version.el (motif-version-string, gtk-version-string)
11787 (ns-version-string): Declare.
11788
11789 2012-05-27 Juri Linkov <juri@jurta.org>
11790
11791 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
11792 after the `eval-defun-1' specialcaseing
11793 like in `edebug-eval-defun' (bug#10181).
11794
11795 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
11796 like in `eval-defun-1'.
11797
11798 2012-05-27 Eli Zaretskii <eliz@gnu.org>
11799
11800 * mail/sendmail.el (mail-yank-region):
11801 Recognize rmail-yank-current-message in addition to insert-buffer.
11802 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
11803 a *mail* buffer created through rmail-start-mail with sendmail as
11804 mail-user-agent.
11805
11806 2012-05-27 Chong Yidong <cyd@gnu.org>
11807
11808 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
11809 Default to 256 (Bug#11267).
11810
11811 * help.el (describe-mode): Doc fix.
11812
11813 2012-05-26 Glenn Morris <rgm@gnu.org>
11814
11815 * w32-fns.el (w32-init-info): Remove.
11816 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
11817
11818 * info.el (info-initialize): For self-contained NS builds, put the
11819 included info/ directory at the front. (Bug#2791)
11820
11821 * paths.el (Info-default-directory-list): Make it a defcustom,
11822 mainly so that we can use custom-initialize-delay.
11823
11824 2012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
11825
11826 * subr.el (buffer-has-markers-at): Mark obsolete.
11827
11828 * subr.el (lambda): Use declare.
11829
11830 * emacs-lisp/lisp-mode.el (lambda):
11831 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
11832
11833 2012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
11834
11835 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
11836
11837 2012-05-26 Glenn Morris <rgm@gnu.org>
11838
11839 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
11840
11841 2012-05-25 Glenn Morris <rgm@gnu.org>
11842
11843 * paths.el: Remove no-byte-compile.
11844 * loadup.el: No need to load paths.el uncompiled.
11845
11846 * image.el (imagemagick-types-inhibit): Doc fix.
11847
11848 * version.el: Remove no-byte-compile and associated formatting.
11849 * loadup.el: No need to load version.el uncompiled. AFAICS, this
11850 is ancient code from when there was an "inc-vers.el".
11851
11852 2012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
11853
11854 * progmodes/gdb-mi.el: Minor style changes.
11855 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
11856 Turn into minor modes.
11857 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
11858 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
11859 (gdb-shell): Remove unneeded let-binding.
11860 (gdb-get-many-fields): Eliminate O(n²) behavior.
11861
11862 2012-05-25 Eli Zaretskii <eliz@gnu.org>
11863
11864 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
11865 platforms that don't link in fontset.c.
11866
11867 2012-05-25 Juri Linkov <juri@jurta.org>
11868
11869 Use the same diff color scheme as in modern VCSes (bug#10181).
11870
11871 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
11872 to avoid confusion with `diff-added' that now uses green colors.
11873 (diff-removed): Use shades of red.
11874 (diff-added): Use shades of green.
11875 (diff-changed): Leave just the yellow color.
11876 (diff-use-changed-face): New variable.
11877 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
11878 how to highlight context diff changes.
11879 (diff-refine-change): Use shades of yellow.
11880 (diff-refine-removed): New face that uses shades of red.
11881 (diff-refine-added): New face that uses shades of green.
11882 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
11883 `diff-refine-removed' in the call to `smerge-refine-subst'
11884 depending on the value of `diff-use-changed-face'.
11885
11886 * vc/smerge-mode.el (smerge-mine): Use shades of red.
11887 (smerge-other): Use shades of green.
11888 (smerge-base): Use shades of yellow.
11889 (smerge-refined-change): Empty face.
11890 (smerge-refined-removed): New face that uses shades of red.
11891 (smerge-refined-added): New face that uses shades of green.
11892 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
11893 args `props-r' and `props-a', and use them. Doc fix.
11894 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
11895 on its value use different faces `smerge-refined-change',
11896 `smerge-refined-removed', `smerge-refined-added' in the call to
11897 `smerge-refine-subst'.
11898
11899 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
11900 Add face condition `min-colors 88' with shades of red.
11901 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
11902 `min-colors 88' with shades of green.
11903 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
11904 `min-colors 88' with shades of yellow.
11905
11906 2012-05-24 Glenn Morris <rgm@gnu.org>
11907
11908 * paths.el (prune-directory-list, remote-shell-program): Move to...
11909 * files.el (prune-directory-list, remote-shell-program): ...here.
11910 For the latter, delay initialization, prefer ssh, just search PATH.
11911
11912 * paths.el (term-file-prefix): Move to faces.el (the only user).
11913 * faces.el (term-file-prefix): Move here, make it a defcustom.
11914
11915 * paths.el (news-directory, news-path, news-inews-program):
11916 Move to gnus/nnspool.el.
11917
11918 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
11919
11920 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
11921 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
11922 Make the latter a defcustom, with a delayed initialization.
11923
11924 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
11925 These were deleted from Gnus itself late 2010.
11926
11927 2012-05-22 Juanma Barranquero <lekktu@gmail.com>
11928
11929 * progmodes/which-func.el (which-func-ff-hook):
11930 Check against user-error, not error.
11931
11932 * emacs-lisp/edebug.el (top): Do not load or set up loading of
11933 cl-specs.el, which no longer exists.
11934
11935 2012-05-22 Glenn Morris <rgm@gnu.org>
11936
11937 * info.el (info-emacs-bug): New command.
11938 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
11939 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
11940
11941 2012-05-21 Glenn Morris <rgm@gnu.org>
11942
11943 * makefile.w32-in (update-subdirs-SH):
11944 * Makefile.in (update-subdirs): Update for moved update-subdirs.
11945
11946 2012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
11947
11948 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
11949
11950 * progmodes/compile.el (compilation-error-regexp-alist-alist):
11951 Simplify Maven regexp, and make sure the file can't start with a space
11952 (bug#11517).
11953
11954 2012-05-21 Glenn Morris <rgm@gnu.org>
11955
11956 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
11957 Scrap superfluous subshells.
11958
11959 2012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
11960
11961 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
11962 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
11963
11964 2012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
11965
11966 * calc/calc.el (calc-ensure-consistent-units): New variable.
11967
11968 * calc/calc-units.el (math-consistent-units-p)
11969 (math-check-unit-consistency): New functions.
11970 (calc-quick-units, calc-convert-units):
11971 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
11972 is non-nil.
11973 (calc-extract-units): Fix typo.
11974
11975 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
11976
11977 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
11978
11979 * textmodes/flyspell.el: Commenting style, plus code simplifications.
11980 (flyspell-default-deplacement-commands): Don't spell check after
11981 repeated window/frame switches (e.g. triggered by mouse-movement).
11982 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
11983 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
11984 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
11985 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
11986 Remove unused vars.
11987 (flyspell-get-casechars, flyspell-get-not-casechars):
11988 Simplify; Don't bother removing a ] just to add it back.
11989 * textmodes/ispell.el (ispell-program-name): Use executable-find.
11990
11991 2012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11992
11993 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
11994 New functions.
11995 (math-function-table): Add support for more C functions.
11996
11997 2012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
11998
11999 * textmodes/flyspell.el (flyspell-check-pre-word-p)
12000 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
12001 Protect delay handling for otherchars against empty otherchars.
12002
12003 2012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
12004
12005 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
12006 their respective macro declarations.
12007 * skeleton.el (define-skeleton):
12008 * progmodes/compile.el (define-compilation-mode):
12009 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
12010 (define-ibuffer-filter):
12011 * emacs-lisp/generic.el (define-generic-mode):
12012 * emacs-lisp/easy-mmode.el (define-minor-mode)
12013 (define-globalized-minor-mode):
12014 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
12015 * emacs-lisp/byte-run.el (defsubst):
12016 * custom.el (deftheme): Add doc-string metadata.
12017
12018 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12019
12020 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
12021
12022 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12023
12024 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
12025
12026 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
12027 * emacs-lisp/cl-macs.el: Idem.
12028 * emacs-lisp/cl-specs.el: Remove.
12029
12030 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12031
12032 Minor renaming of internal CL functions and variables.
12033 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
12034 (cl--position): Rename from cl-position.
12035 (cl--delete-duplicates): Rename from cl-delete-duplicates.
12036 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
12037 (cl--random-state): Rename from *random-state*.
12038
12039 2012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
12040
12041 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
12042 parens around the arg list (bug#11499).
12043
12044 2012-05-17 Juri Linkov <juri@jurta.org>
12045
12046 * isearch.el (word-search-regexp, word-search-backward)
12047 (word-search-forward, word-search-backward-lax)
12048 (word-search-forward-lax): Move functions from search.c
12049 (bug#10145, bug#11381).
12050
12051 2012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12052
12053 * textmodes/flyspell.el (flyspell-check-pre-word-p)
12054 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
12055 Delay for otherchars as for normal word components.
12056
12057 2012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
12058
12059 * minibuffer.el (completion--sifn-requote): Fix last change.
12060 (minibuffer-local-must-match-filename-map):
12061 Move define-obsolete-variable-alias before its var.
12062
12063 2012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
12064
12065 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
12066
12067 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
12068 behavior.
12069 (completion--string-equal-p): New function.
12070 (completion--twq-all): Use it to get better assertion failure data.
12071
12072 Only handle ".." and '..' quoting in shell-mode (bug#11466).
12073 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
12074 (shell--requote-argument): New functions.
12075 (shell-completion-vars): Use them.
12076 (shell--parse-pcomplete-arguments): Rename from
12077 shell-parse-pcomplete-arguments.
12078 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
12079 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
12080 Obey comint-file-name-quote-list.
12081
12082 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
12083 (smie-indent-keyword): Use it.
12084
12085 2012-05-14 Stefan Merten <smerten@oekonux.de>
12086
12087 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
12088
12089 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
12090
12091 * net/rlogin.el (rlogin-mode-map): Fix last change.
12092
12093 2012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
12094
12095 * mail/smtpmail.el (smtpmail-send-command): Send the command and
12096 the following \r\n using a single `process-send-string', since the
12097 Lotus SMTP server refuses to accept any commands if they are sent
12098 with two `process-send-string's (Bug#11444).
12099
12100 2012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
12101
12102 * shell.el (shell-parse-pcomplete-arguments):
12103 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
12104
12105 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
12106
12107 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
12108 (image-transform-scale, image-transform-right-angle-fudge): New vars.
12109 (image-transform-width, image-transform-fit-width): New functions.
12110 (image-transform-properties): Use them.
12111 (image-transform-check-size): New function.
12112 (image-toggle-display-image): Use it (for testing).
12113 (image-transform-set-rotation): Reduce angle mod 360.
12114 Delete obsolete comment.
12115
12116 2012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
12117
12118 * image-mode.el: Fix scaling (bug#11399).
12119 (image-transform-resize): Doc fix.
12120 (image-transform-properties): Default scale is 1 and height should
12121 be an integer.
12122
12123 2012-05-13 Johan Bockgård <bojohan@gnu.org>
12124
12125 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
12126 than hard-coding `car', to fix misbehavior when moving forward.
12127
12128 2012-05-13 Chong Yidong <cyd@gnu.org>
12129
12130 * emacs-lisp/tabulated-list.el (tabulated-list-format)
12131 (tabulated-list-entries, tabulated-list-padding)
12132 (tabulated-list-sort-key): Make permanent-local.
12133
12134 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
12135 (electric-buffer-list): Put electric buffer menu
12136 command descriptions in this docstring, instead of the docstring
12137 of electric-buffer-menu-mode. Code cleanups.
12138 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
12139 Electric-buffer-menu-mode.
12140 (electric-buffer-update-highlight): Minor code cleanup.
12141
12142 2012-05-13 Michael Albinus <michael.albinus@gmx.de>
12143
12144 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
12145 (Bug#11447)
12146
12147 2012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
12148
12149 Move define-obsolete-variable-alias before the var's definition.
12150 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
12151 * tooltip.el (tooltip-hook):
12152 * textmodes/reftex-toc.el (reftex-toc-map):
12153 * textmodes/reftex-sel.el (reftex-select-label-map)
12154 (reftex-select-bib-map):
12155 * textmodes/reftex-index.el (reftex-index-map)
12156 (reftex-index-phrases-map):
12157 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
12158 * progmodes/meta-mode.el (meta-mode-map):
12159 * novice.el (disabled-command-hook):
12160 * loadhist.el (unload-hook-features-list):
12161 * frame.el (blink-cursor):
12162 * files.el (find-file-not-found-hooks, write-file-hooks)
12163 (write-contents-hooks):
12164 * emulation/tpu-edt.el (GOLD-map):
12165 * emacs-lock.el (emacs-lock-from-exiting):
12166 * emacs-lisp/generic.el (generic-font-lock-defaults):
12167 * emacs-lisp/chart.el (chart-map):
12168 * dos-fns.el (register-name-alist):
12169 * dired-x.el (dired-omit-files-p):
12170 * desktop.el (desktop-enable):
12171 * cus-edit.el (custom-mode-hook):
12172 * buff-menu.el (buffer-menu-mode-hook):
12173 * bookmark.el (bookmark-read-annotation-text-func)
12174 (bookmark-exit-hooks):
12175 * allout.el (allout-mode-deactivate-hook)
12176 (allout-exposure-change-hook, allout-structure-added-hook)
12177 (allout-structure-deleted-hook, allout-structure-shifted-hook):
12178 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
12179 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
12180 comes before the corresponding variable's definition.
12181
12182 2012-05-12 Chong Yidong <cyd@gnu.org>
12183
12184 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
12185 (Buffer-menu-mouse-select): Restore function (Bug#11459).
12186 (Buffer-menu-mode-map): Bind it.
12187 (Buffer-menu--pretty-name): Add a mouse-face property.
12188
12189 2012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
12190
12191 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
12192 (prolog-upper-case-string, prolog-lower-case-string)
12193 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
12194 (prolog-use-smie, prolog-smie-grammar): New vars.
12195 (prolog-smie-forward-token, prolog-smie-backward-token)
12196 (prolog-smie-rules): New funs.
12197 (prolog-comment-indent): Remove.
12198 (prolog-mode-variables): Use default comment indentation instead.
12199 Setup SMIE.
12200 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
12201 (prolog-mode): Don't call them any more.
12202 (prolog-electric-colon, prolog-electric-dash)
12203 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
12204
12205 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
12206
12207 * minibuffer.el (completion--twq-all): Again, allow case differences.
12208
12209 * term.el: Move keymap initialization code to be more idiomatic.
12210 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
12211 (term-terminal-menu): Move initialization into declaration.
12212 (term-escape-char): Let the user set it in her .emacs.
12213
12214 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
12215 Provide SMIE-based indentation (not enabled by default yet).
12216 (sh-mode-map): Don't bind electric keys.
12217 Use electric-pair-mode instead of skeleton-pair.
12218 (sh-assignment-regexp): Fit within 80 columns.
12219 (sh-indent-supported): Specify actual shell name instead of boolean.
12220 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
12221 (sh-maybe-here-document): Use it. Make obsolete.
12222 (sh-electric-here-document-mode) New minor mode.
12223 (sh-mode): Use it. Don't set sh-indent-supported-here here.
12224 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
12225 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
12226 (sh-smie-rc-grammar, sh-use-smie): New vars.
12227 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
12228 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
12229 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
12230 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
12231 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
12232 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
12233 (sh-set-shell): Use smie-setup if requested.
12234
12235 * term.el (term-set-escape-char): Properly set term-escape-char.
12236 See http://stackoverflow.com/questions/10524656.
12237
12238 2012-05-10 Chong Yidong <cyd@gnu.org>
12239
12240 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
12241 Use url-generic-parse-url, and handle host names and Windows
12242 filenames properly.
12243 (ffap-url-unwrap-remote): Use url-generic-parse-url.
12244 (ffap-url-unwrap-remote): Accept list values, specifying a list of
12245 URL schemes to work on.
12246 (ffap--toggle-read-only): New function.
12247 (ffap-read-only, ffap-read-only-other-window)
12248 (ffap-read-only-other-frame): Use it.
12249 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
12250 necessary for ffap-url-unwrap-remote.
12251
12252 2012-05-10 Dave Abrahams <dave@boostpro.com>
12253
12254 * cus-start.el (create-lockfiles): Add it.
12255
12256 2012-05-09 Chong Yidong <cyd@gnu.org>
12257
12258 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
12259 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
12260
12261 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
12262
12263 * shell.el (shell-completion-vars): Fix last change (bug#11348).
12264
12265 2012-05-09 Chong Yidong <cyd@gnu.org>
12266
12267 * ansi-color.el (ansi-color-process-output): Check for validity of
12268 comint-last-output-start before using it. This avoids a bad
12269 interaction with gdb-mi's input/output buffer.
12270
12271 2012-05-09 Glenn Morris <rgm@gnu.org>
12272
12273 * files.el (dir-locals-read-from-file):
12274 Mention dir-locals in any error message.
12275
12276 2012-05-09 Chong Yidong <cyd@gnu.org>
12277
12278 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
12279 package (Bug#11410).
12280
12281 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
12282 variables into description.
12283
12284 2012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
12285
12286 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
12287 shell-delimiter-argument-list (bug#11348).
12288 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
12289
12290 2012-05-09 Juanma Barranquero <lekktu@gmail.com>
12291
12292 * textmodes/rst.el: Silence byte-compiler warnings.
12293 (rst-re-alist, rst-reset-section-caches): Move around.
12294 (rst-re): Use `characterp', not `char-valid-p'.
12295 (font-lock-beg, font-lock-end): Declare.
12296
12297 * progmodes/idlw-shell.el (specs): Remove reference to deleted
12298 variable `idlwave-shell-activate-alt-keybindings' and simplify.
12299
12300 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
12301
12302 2012-05-08 Glenn Morris <rgm@gnu.org>
12303
12304 * files.el (auto-mode-alist): Treat ".make" like ".mk".
12305
12306 2012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12307
12308 * vc/log-edit.el: Add GNU coding standards highlighting.
12309 (log-edit-font-lock-gnu-style)
12310 (log-edit-font-lock-gnu-keywords): New vars.
12311 (log-edit-font-lock-keywords): New fun.
12312 (log-edit-mode): Don't fold case in font-lock.
12313 (log-edit-font-lock-keywords): Do not assume case-folding.
12314
12315 * imenu.el: Misc cleanup. Make docstrings out of comments.
12316 Use lexical-binding.
12317 (imenu--index-alist, imenu--last-menubar-index-alist)
12318 (imenu-menubar-modified-tick): Use defvar-local.
12319 (imenu--split-menu): Remove unused var.
12320 (imenu--cleanup-seen): Declare as global.
12321 (imenu--cleanup): Use dolist.
12322
12323 * subr.el (defvar-local): Add debug spec and doc-string position.
12324
12325 2012-05-08 Glenn Morris <rgm@gnu.org>
12326
12327 * language/burmese.el, language/cham.el, language/czech.el:
12328 * language/english.el, language/georgian.el, language/greek.el:
12329 * language/japanese.el, language/khmer.el, language/korean.el:
12330 * language/lao.el, language/misc-lang.el, language/romanian.el:
12331 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
12332 * language/thai.el, language/utf-8-lang.el:
12333 Remove no-byte-compile setting.
12334
12335 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
12336
12337 2012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
12338
12339 * progmodes/make-mode.el (makefile-browse):
12340 Remove unnecessary interactive. (Bug#11324)
12341
12342 2012-05-07 Glenn Morris <rgm@gnu.org>
12343
12344 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
12345
12346 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
12347
12348 2012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
12349
12350 * loadup.el: Preload newcomment.el.
12351 * newcomment.el: Move autoload-only code to toplevel.
12352
12353 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
12354 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
12355 Handle new :right-align column property.
12356 (tabulated-list-print-col): Idem, plus use `display' text-property to
12357 try and preserve alignment for variable pitch fonts.
12358
12359 2012-05-07 Chong Yidong <cyd@gnu.org>
12360
12361 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
12362 (tabulated-list-use-header-line): New var.
12363 (tabulated-list-init-header): Use it.
12364 (tabulated-list-print-fake-header): New function.
12365 (tabulated-list-print): Use it.
12366 (tabulated-list-sort-button-map): Add non-header-line commands.
12367 (tabulated-list-init-header): Add column name property to basic
12368 labels as well.
12369 (tabulated-list-col-sort): Handle non-header-line button case.
12370 (tabulated-list--sort-by-column-name): Fix a corner case.
12371
12372 * buff-menu.el (list-buffers--refresh):
12373 Handle Buffer-menu-use-header-line.
12374
12375 2012-05-06 Chong Yidong <cyd@gnu.org>
12376
12377 * buff-menu.el: Convert to Tabulated List mode.
12378 (Buffer-menu-buffer+size-width): Make obsolete.
12379 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
12380 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
12381 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
12382 documentation into docstring of buffer-menu.
12383 (Buffer-menu-toggle-files-only): Add an informative message.
12384 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
12385 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
12386 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
12387 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
12388 (Buffer-menu-execute, Buffer-menu-select)
12389 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
12390 (Buffer-menu-bury): Use Tabulated List machinery.
12391 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
12392 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
12393 Delete.
12394 (list-buffers--refresh): New function.
12395 (list-buffers-noselect): Use it.
12396 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
12397 (Buffer-menu--pretty-file-name): New helper functions.
12398
12399 * loadup.el: Preload tabulated-list.
12400
12401 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
12402 tabulated-list-sort-column.
12403 (tabulated-list-init-header): Add the initial aligning space even
12404 if tabulated-list-padding is zero.
12405
12406 2012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
12407
12408 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
12409 whose cdr is not a cons cell correctly (bug#11038).
12410
12411 2012-05-06 Chong Yidong <cyd@gnu.org>
12412
12413 * emacs-lisp/tabulated-list.el (tabulated-list-format):
12414 Accept additional plist in column descriptors.
12415 (tabulated-list-init-header): Obey it.
12416 (tabulated-list-get-entry): New function.
12417 (tabulated-list-put-tag): Use it. Use string-width instead of
12418 length.
12419 (tabulated-list--column-number): New function.
12420 (tabulated-list-print): Use it.
12421 (tabulated-list-print-col): New function.
12422 Set `tabulated-list-column-name' property on each column's text.
12423 (tabulated-list-print-entry): Use it.
12424 (tabulated-list-delete-entry, tabulated-list-set-col):
12425 New functions.
12426 (tabulated-list-sort-column): New command (Bug#11337).
12427
12428 * buff-menu.el (list-buffers): Move C-x C-b binding from
12429 buff-menu.el to bindings.el.
12430
12431 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
12432 :advertised-binding feature.
12433
12434 2012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
12435
12436 * progmodes/compile.el (compilation-internal-error-properties):
12437 Calculate start position correctly when end-col is set but
12438 end-line is not (Bug#11382).
12439
12440 2012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
12441
12442 * man.el (Man-unindent): Use text-property-default-nonsticky to
12443 prevent untabify from inheriting face properties (Bug#11408).
12444
12445 2012-05-05 Stefan Merten <smerten@oekonux.de>
12446
12447 * textmodes/rst.el: Major merge with upstream development up to
12448 Docutils SVN r7399 / rst.el V1.2.1.
12449
12450 Clarify maintainership and authors.
12451
12452 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
12453 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
12454 (rst-official-version, rst-official-cvs-rev, rst-version)
12455 (rst-package-emacs-version-alist): New functions and variables
12456 for version information.
12457
12458 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
12459 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
12460 (rst-mode-syntax-table, rst-mode): New and corrected functions
12461 and variables representing reStructuredText features.
12462
12463 (rst-re): New function for reStructuredText regexes. Use in
12464 many places.
12465
12466 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
12467 (rst-mode-map): Rebind keys.
12468
12469 (rst-mode-lazy, rst-font-lock-keywords)
12470 (rst-font-lock-extend-region)
12471 (rst-font-lock-extend-region-internal)
12472 (rst-font-lock-extend-region-extend)
12473 (rst-font-lock-find-unindented-line-limit)
12474 (rst-font-lock-find-unindented-line-match)
12475 (rst-adornment-level, rst-font-lock-adornment-level)
12476 (rst-font-lock-adornment-match)
12477 (rst-font-lock-handle-adornment-pre-match-form)
12478 (rst-font-lock-handle-adornment-matcher): Major revision of
12479 font-locking. Integrate with other code. Use `jit-lock-mode'.
12480
12481 (rst-preferred-adornments, rst-adjust-hook)
12482 (rst-new-adornment-down, rst-preferred-bullets)
12483 (rst-preferred-bullets, rst-indent, rst-indent-width)
12484 (rst-indent-field, rst-indent-literal-normal)
12485 (rst-indent-literal-minimized, rst-indent-comment): Change,
12486 extend and improve customization.
12487
12488 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
12489 (rst-normalize-cursor-position, rst-get-decoration)
12490 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
12491 (rst-rstrip, rst-toc-insert-find-delete-contents)
12492 (rst-shift-fill-region, rst-compute-bullet-tabs)
12493 (rst-debug-print-tabs, rst-debug-mark-found)
12494 (rst-shift-region-guts, rst-shift-region-right)
12495 (rst-shift-region-left, rst-use-char-classes)
12496 (rst-font-lock-keywords-function)
12497 (rst-font-lock-indentation-point)
12498 (rst-font-lock-find-unindented-line-begin)
12499 (rst-font-lock-find-unindented-line-end)
12500 (rst-font-lock-find-unindented-line)
12501 (rst-font-lock-adornment-point, rst-font-lock-level)
12502 (rst-adornment-level-alist): Remove functions and variables.
12503
12504 (rst-compare-adornments, rst-get-adornment-match)
12505 (rst-suggest-new-adornment, rst-get-adornments-around)
12506 (rst-adornment-complete-p, rst-get-next-adornment)
12507 (rst-adjust-adornment, rst-display-adornments-hierarchy)
12508 (rst-straighten-adornments): Standardize function names to
12509 use "adornment" instead of "decoration". Correct callers.
12510 Similar standardizing in many places.
12511
12512 (rst-update-section, rst-adjust, rst-promote-region)
12513 (rst-enumerate-region, rst-bullet-list-region)
12514 (rst-repeat-last-character): Correct use of `interactive'.
12515
12516 (rst-classify-adornment, rst-find-all-adornments)
12517 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
12518 (rst-find-leftmost-column, rst-repeat-last-character):
12519 Refactor functions.
12520
12521 (rst-find-title-line, rst-reset-section-caches)
12522 (rst-get-adornments-around, rst-adjust-adornment-work)
12523 (rst-arabic-to-roman, rst-roman-to-arabic)
12524 (rst-insert-list-pos, rst-insert-list-new-item)
12525 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
12526 New functions.
12527
12528 (rst-all-sections, rst-section-hierarchy)
12529 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
12530 New variables.
12531
12532 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
12533 configuration instead of only buffer. Change where necessary.
12534
12535 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
12536 (rst-shift-region, rst-adaptive-fill): New functions for
12537 indentation and filling.
12538
12539 (rst-comment-line-break, rst-comment-indent)
12540 (rst-comment-insert-comment, rst-comment-region)
12541 (rst-uncomment-region): New functions for handling comments.
12542
12543 (rst-compile): Quote shell arguments.
12544
12545 (rst-compile-pdf-preview, rst-compile-slides-preview):
12546 Delete temporary files after use.
12547
12548 2012-05-05 Glenn Morris <rgm@gnu.org>
12549
12550 * calendar/cal-html.el: Optionally include holidays in the output.
12551 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
12552 (cal-html-holidays): New option.
12553 (cal-html-css-default): Add holiday entry.
12554 (holiday-in-range): Autoload it.
12555 (cal-html-htmlify-entry): Add optional class argument.
12556 (cal-html-htmlify-list): Add optional holidays argument.
12557 (cal-html-insert-agenda-days): Include holidays in the output.
12558 (cal-html-one-month): Maybe include holidays.
12559
12560 * calendar/holidays.el (holiday-in-range):
12561 Move here from cal-tex-list-holidays.
12562 * calendar/cal-tex.el (cal-tex-list-holidays):
12563 Make it an obsolete alias for holiday-in-range. Update all callers.
12564
12565 2012-05-05 Chong Yidong <cyd@gnu.org>
12566
12567 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
12568 Nextstep.
12569
12570 2012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
12571
12572 * files.el (file-auto-mode-skip): New var.
12573 (set-auto-mode-1): Use it.
12574
12575 2012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
12576
12577 * repeat.el: Use lexical-binding.
12578 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
12579 (repeat-undo-count): Remove.
12580 (repeat):
12581 * progmodes/octave-mod.el (octave-abbrev-start):
12582 * progmodes/f90.el (f90-abbrev-start):
12583 * face-remap.el (text-scale-adjust):
12584 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
12585
12586 * emacs-lisp/pcase.el (pcase--let*): New function.
12587 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
12588 a bit more.
12589 (pcase--split-pred): Be more clever about ruling out overlap between
12590 a predicate and some constant pattern.
12591 (pcase--q1): Use `null' instead of (eq foo nil).
12592
12593 * subr.el (setq-local, defvar-local): New macros.
12594 (kbd): Redefine as an alias.
12595 (with-selected-window): Leave unrelated frames alone.
12596 (set-temporary-overlay-map): New function.
12597
12598 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
12599
12600 * subr.el (user-error): New function.
12601 * window.el (switch-to-buffer):
12602 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
12603 (smerge-match-conflict):
12604 * simple.el (previous-matching-history-element)
12605 (next-matching-history-element, goto-history-element, undo-more)
12606 (undo-start):
12607 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
12608 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
12609 (next-file, tags-loop-scan, list-tags, complete-tag):
12610 * progmodes/compile.el (compilation-loop):
12611 * mouse.el (mouse-minibuffer-check):
12612 * man.el (Man-bgproc-sentinel, Man-goto-page):
12613 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
12614 (Info-history-forward, Info-follow-reference, Info-menu)
12615 (Info-extract-menu-item, Info-extract-menu-counting)
12616 (Info-forward-node, Info-backward-node, Info-next-menu-item)
12617 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
12618 (Info-next-reference, Info-prev-reference, Info-index)
12619 (Info-index-next, Info-follow-nearest-node)
12620 (Info-copy-current-node-name):
12621 * imenu.el (imenu--make-index-alist)
12622 (imenu-default-create-index-function, imenu-add-to-menubar):
12623 * files.el (basic-save-buffer, recover-file):
12624 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
12625 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
12626 (checkdoc-message-text, checkdoc-defun):
12627 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
12628 * cus-edit.el (customize-changed-options, customize-rogue)
12629 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
12630 (custom-variable-mark-to-reset-standard)
12631 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
12632 (custom-file):
12633 * completion.el (check-completion-length):
12634 * comint.el (comint-search-arg)
12635 (comint-previous-matching-input-string-position)
12636 (comint-previous-matching-input)
12637 (comint-replace-by-expanded-history-before-point, comint-send-input)
12638 (comint-copy-old-input, comint-backward-matching-input)
12639 (comint-goto-process-mark, comint-set-process-mark):
12640 * calendar/calendar.el (calendar-cursor-to-date): Use it.
12641 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
12642
12643 2012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
12644
12645 * dabbrev.el (dabbrev--ignore-case-p): New function.
12646 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
12647 Use it.
12648
12649 * files.el (automount-dir-prefix): Mark as obsolete.
12650
12651 2012-05-04 Glenn Morris <rgm@gnu.org>
12652
12653 * patcomp.el, play/bruce.el: Move to obsolete/.
12654
12655 2012-05-04 Paul Eggert <eggert@cs.ucla.edu>
12656
12657 Fix minor Y10k bugs.
12658 * arc-mode.el (archive-unixdate):
12659 * autoinsert.el (auto-insert-alist):
12660 * calc/calc-forms.el (math-this-year):
12661 * emacs-lisp/copyright.el (copyright-current-year)
12662 (copyright-update-year, copyright):
12663 * tar-mode.el (tar-clip-time-string):
12664 * time.el (display-time-update):
12665 Don't assume years have 4 digits.
12666
12667 2012-05-04 Chong Yidong <cyd@gnu.org>
12668
12669 * dos-w32.el (file-name-buffer-file-type-alist)
12670 (direct-print-region-use-command-dot-com):
12671 * ffap.el (ffap-menu-regexp):
12672 * find-file.el (ff-special-constructs):
12673 * follow.el (follow-debug):
12674 * forms.el (forms--debug):
12675 * iswitchb.el (iswitchb-all-frames):
12676 * ido.el (ido-all-frames):
12677 * emacs-lisp/timer.el (timer-max-repeats):
12678 * mail/feedmail.el (feedmail-mail-send-hook)
12679 (feedmail-mail-send-hook-queued):
12680 * mail/footnote.el (footnote-signature-separator):
12681 * mail/mailabbrev.el (mail-alias-separator-string)
12682 (mail-abbrev-mode-regexp):
12683 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
12684 * progmodes/idlwave.el (idlwave-libinfo-file)
12685 (idlwave-default-completion-case-is-down)
12686 (idlwave-library-routines): Convert defvars to defcustoms.
12687
12688 * mail/rmail.el (rmail-decode-mime-charset):
12689 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
12690 (idlwave-shell-fix-inserted-breaks)
12691 (idlwave-shell-activate-alt-keybindings)
12692 (idlwave-shell-use-breakpoint-glyph):
12693 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
12694
12695 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
12696
12697 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
12698
12699 2012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
12700
12701 * progmodes/verilog-mode.el (font-lock-keywords):
12702 Fix mis-highligting auto. Reported by Craig Barner.
12703 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
12704 defines from global name space. Reported by Dan Dever.
12705 (verilog-auto-reset, verilog-auto-reset-widths)
12706 (verilog-auto-tieoff): Support using unbased numbers for
12707 AUTORESET and AUTOTIEOFF.
12708 (verilog-submit-bug-report): Update variable list.
12709 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
12710 parenthesis from not matching. Reported by Michael Rytting.
12711 (verilog-auto-template-lint): Fix hash error when linting modules
12712 with no used templates.
12713 (verilog-warn, verilog-warn-error)
12714 (verilog-warn-fatal): When non-interactive report multiple
12715 warnings before exiting. Suggested by Brad Dobbie.
12716 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
12717 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
12718 to report unused template errors. Reported by Brad Dobbie.
12719 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
12720 nets, bug438. Reported by Vns Blore.
12721 (verilog-auto-inout-module, verilog-auto-reg)
12722 (verilog-read-decls, verilog-read-sub-decls-sig)
12723 (verilog-signals-edit-wire-reg, verilog-signals-with):
12724 Fix passing of Verilog data types in ANSI input/output ports
12725 such as "output logic" into the AUTOs. Special case "wire" and
12726 "reg" for backwards compatibility presuming Verilog 2001.
12727 (verilog-auto-ascii-enum): Add "auto enum" as alias.
12728 (verilog-preprocess): Fix replication of preprocess output.
12729 Reported by Brad Dobbie.
12730 (verilog-auto-inst-interfaced-ports):
12731 Create verilog-auto-inst-interfaced-ports, bug429.
12732 Reported by Julian Gorfajn.
12733 (verilog-after-save-font-hook)
12734 (verilog-before-save-font-hook): New variable.
12735 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
12736 (verilog-save-font-mods): Wrap disabling fontification, reported
12737 by David Rogoff.
12738 (verilog-do-indent, verilog-pretty-declarations-auto)
12739 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
12740 Reported by Pierre-David Pfister.
12741 (verilog-set-auto-endcomments): Fix endtask auto comments outside
12742 of class declarations, bug292. Reported by Kevin Heilman.
12743 (verilog-read-decls): Fix 'parameter type' not appearing in
12744 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
12745 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
12746 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
12747 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
12748 Reported by David Kravitz.
12749
12750 2012-05-03 Michael McNamara <mac@mail.brushroad.com>
12751
12752 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
12753 assignment with tests in ifs and for loops.
12754 (verilog-extended-complete-re, verilog-complete-reg): Change so
12755 that DPI inport functions don't look like fuction declarations.
12756 (verilog-pretty-expr): Don't line up assignment
12757 operations to the test and increment in if and for loops
12758 (verilog-extended-complete-re, verilog-complete-reg): Change so
12759 that DPI inport functions don't look like fuction declarations.
12760
12761 2012-05-03 Kenichi Handa <handa@m17n.org>
12762
12763 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
12764 decoding, and show a warning message without signaling an error
12765 (Bug#11282).
12766
12767 2012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
12768
12769 * emacs-lisp/bytecomp.el
12770 (byte-compile-file-form-custom-declare-variable): Compile all elements,
12771 since cconv.el might have introduced :fun-body, internal-make-closure,
12772 and friends for bytecomp to handle (bug#11391).
12773 * custom.el (defcustom): Avoid ((λ ..) ..).
12774
12775 2012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
12776
12777 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
12778
12779 2012-05-02 Juanma Barranquero <lekktu@gmail.com>
12780
12781 * notifications.el (dbus-debug):
12782 * term/linux.el (gpm-mouse-enable):
12783 * term/screen.el (xterm-register-default-colors): Declare.
12784
12785 2012-05-02 Chong Yidong <cyd@gnu.org>
12786
12787 * cus-start.el (gc-cons-percentage, exec-suffixes)
12788 (dos-display-scancodes, dos-hyper-key, dos-super-key)
12789 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
12790 (make-cursor-line-fully-visible, void-text-area-pointer)
12791 (font-list-limit): Add customization data.
12792
12793 * allout.el (allout-exposure-change-functions)
12794 (allout-structure-added-functions)
12795 (allout-structure-deleted-functions)
12796 (allout-structure-shifted-functions): Rename abnormal hooks from
12797 *-hook, and convert to defcustoms.
12798 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
12799 Convert to defcustoms.
12800 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
12801
12802 * allout-widgets.el: Hook callers changed.
12803
12804 2012-05-02 Eli Zaretskii <eliz@gnu.org>
12805
12806 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
12807 the yanked message in preference to the default value of
12808 buffer-file-coding-system.
12809
12810 2012-05-02 Martin Rudalics <rudalics@gmx.at>
12811
12812 * window.el (display-buffer--action-function-custom-type):
12813 Fix entry.
12814
12815 2012-05-02 Alan Mackenzie <acm@muc.de>
12816
12817 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
12818
12819 2012-05-01 Glenn Morris <rgm@gnu.org>
12820
12821 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
12822
12823 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
12824
12825 * cus-edit.el (custom-variable-documentation): Simplify with format.
12826
12827 2012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
12828 Stefan Monnier <monnier@iro.umontreal.ca>
12829
12830 * simple.el (suggest-key-bindings, execute-extended-command):
12831 Move from keyboard.c.
12832
12833 2012-05-01 Chong Yidong <cyd@gnu.org>
12834
12835 * follow.el: Eliminate advice.
12836 (set-process-filter, process-filter, sit-for): Advice deleted.
12837 (follow-mode-off-hook): Obsolete hook removed.
12838 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
12839 Vars deleted.
12840 (follow-auto): Use a :set function.
12841 (follow-mode): Rewritten. Don't advise process filters.
12842 (follow-switch-to-current-buffer-all, follow-scroll-up)
12843 (follow-scroll-down): Assume follow-mode is bound.
12844 (follow-comint-scroll-to-bottom)
12845 (follow-align-compilation-windows): New functions.
12846 (follow--window-sorter): New function.
12847 (follow-all-followers): Use it to explicitly sort windows by their
12848 positions; don't make assumptions about next-window order.
12849 (follow-windows-start-end, follow-delete-other-windows-and-split)
12850 (follow-calc-win-start): Doc fix.
12851 (follow-windows-aligned-p, follow-select-if-visible): Don't call
12852 vertical-motion unnecessarily.
12853 (follow-adjust-window): New function.
12854 (follow-post-command-hook): Use it.
12855 (follow-call-set-process-filter, follow-call-process-filter)
12856 (follow-intercept-process-output, follow-tidy-process-filter-alist)
12857 (follow-stop-intercept-process-output, follow-generic-filter):
12858 Functions deleted.
12859 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
12860 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
12861 New functions, replacing advice on scroll-bar-* commands.
12862 (follow-mwheel-scroll): New function (Bug#4112).
12863
12864 * comint.el (comint-adjust-point): New function.
12865 (comint-postoutput-scroll-to-bottom): Use it.
12866 Call follow-comint-scroll-to-bottom for Follow mode buffers.
12867
12868 2012-05-01 Glenn Morris <rgm@gnu.org>
12869
12870 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
12871 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
12872 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
12873 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
12874 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
12875 Remove no-byte-compile setting.
12876
12877 2012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
12878
12879 * minibuffer.el (completion-table-with-quoting): Fix compatibility
12880 all-completions code to not return a number in the last cdr.
12881
12882 2012-04-30 Leo Liu <sdl.web@gmail.com>
12883
12884 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
12885 read-only error.
12886
12887 2012-04-29 Chong Yidong <cyd@gnu.org>
12888
12889 * follow.el (follow-calc-win-end): Rewrite to handle partial
12890 screen lines correctly (Bug#8390).
12891 (follow-avoid-tail-recenter): Minor cleanup.
12892
12893 2012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
12894
12895 Avoid the obsolete `assoc' package.
12896 * speedbar.el (speedbar-refresh): Avoid adelete.
12897 (speedbar-file-lists): Simplify and avoid aput.
12898 * man.el (Man--sections, Man--refpages): New vars, replacing
12899 Man-sections-alist and Man-refpages-alist.
12900 (Man-build-section-alist, Man-build-references-alist):
12901 Use them; avoid aput.
12902 (Man--last-section, Man--last-refpage): New vars.
12903 (Man-follow-manual-reference): Use them.
12904 Use the `default' arg of completing-read.
12905 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
12906
12907 2012-04-27 Chong Yidong <cyd@gnu.org>
12908
12909 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
12910
12911 * startup.el (x-apply-session-resources): New function.
12912
12913 * term/ns-win.el (ns-initialize-window-system):
12914 * term/w32-win.el (w32-initialize-window-system):
12915 * term/x-win.el (x-initialize-window-system): Use it to properly
12916 set menu-bar-mode and other vars from X resources, even if the
12917 initial frame is not a window-system frame (Bug#2299).
12918
12919 * subr.el (read-key): Avoid running filter function when setting
12920 up temporary tool bar entries (Bug#9922).
12921
12922 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
12923
12924 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
12925 (Bug#11344)
12926
12927 2012-04-27 Chong Yidong <cyd@gnu.org>
12928
12929 * select.el (xselect--encode-string): New function, split from
12930 xselect-convert-to-string.
12931 (xselect-convert-to-string): Use it.
12932 (xselect-convert-to-filename, xselect-convert-to-os)
12933 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
12934 returned strings are properly encoded (Bug#11315).
12935
12936 2012-04-27 Chong Yidong <cyd@gnu.org>
12937
12938 * simple.el (delete-active-region): Move to killing custom group.
12939
12940 2012-04-27 Andreas Schwab <schwab@linux-m68k.org>
12941
12942 * progmodes/which-func.el (which-func-current): Quote %
12943 characters for mode-line processing.
12944
12945 2012-04-27 Chong Yidong <cyd@gnu.org>
12946
12947 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
12948 reaching eob (Bug#11286).
12949
12950 2012-04-27 Eli Zaretskii <eliz@gnu.org>
12951
12952 * progmodes/gdb-mi.el (gdb-control-level): New variable.
12953 (gdb): Make it buffer-local and init to zero.
12954 (gdb-control-commands-regexp): New variable.
12955 (gdb-send): Don't wrap in "-interpreter-exec console" if
12956 gdb-control-level is positive. Increment gdb-control-level
12957 whenever the command matches gdb-control-commands-regexp, and
12958 decrement it each time the command is "end". (Bug#11279)
12959
12960 2012-04-27 Martin Rudalics <rudalics@gmx.at>
12961
12962 * window.el (adjust-window-trailing-edge, enlarge-window)
12963 (shrink-window, window-resize):
12964 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
12965 windows (Bug#11276).
12966
12967 2012-04-27 Chong Yidong <cyd@gnu.org>
12968
12969 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
12970 fix "missing prefix" warning. All callers changed.
12971
12972 2012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
12973
12974 * emacs-lisp/assoc.el: Move to obsolete/.
12975
12976 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
12977
12978 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
12979
12980 * term/ns-win.el (ns-define-service):
12981 * progmodes/pascal.el (pascal-goto-defun):
12982 * progmodes/js.el (js--read-tab):
12983 * progmodes/etags.el (tags-lazy-completion-table):
12984 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
12985 * emacs-lisp/ewoc.el (ewoc--wrap):
12986 * emacs-lisp/assoc.el (aput, adelete, amake):
12987 * doc-view.el (doc-view-convert-current-doc):
12988 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
12989
12990 2012-04-26 Chong Yidong <cyd@gnu.org>
12991
12992 * image.el (image-type-from-buffer): Only return supported image
12993 type (Bug#9045).
12994
12995 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
12996 value, for symmetry with diff-end-of-hunk.
12997 (diff-split-hunk, diff-find-source-location)
12998 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
12999 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
13000 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
13001 compute the relevant hunk or file properly (Bug#6005).
13002 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
13003
13004 2012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
13005
13006 * vc/vc-mtn.el:
13007 * vc/vc-hg.el:
13008 * vc/vc-git.el:
13009 * vc/vc-dir.el:
13010 * vc/vc-cvs.el:
13011 * vc/vc-bzr.el:
13012 * vc/vc-arch.el:
13013 * vc/vc.el: Replace lexical-let by lexical-binding.
13014 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
13015 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
13016 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
13017
13018 2012-04-26 Chong Yidong <cyd@gnu.org>
13019
13020 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
13021 (diff-mode-shared-map): Bind it to / and [remap undo].
13022
13023 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
13024 (ediff-window-setup-function): Use it as the default, to set up
13025 windows based on whether the current frame is graphical (Bug#2138).
13026 (ediff-choose-window-setup-function-automatically): Make obsolete.
13027
13028 * vc/ediff-init.el: Always define ediff-pixel-width/height.
13029
13030 2012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
13031
13032 * ffap.el: Remove old code for obsolete package.
13033 (ffap-complete-as-file-p): Remove.
13034
13035 Use completion-table-with-quoting for comint and pcomplete.
13036 * comint.el (comint--unquote&requote-argument)
13037 (comint--unquote-argument, comint--requote-argument): New functions.
13038 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
13039 (comint-quote-filename): Use regexp-opt-charset.
13040 (comint--common-suffix, comint--common-quoted-suffix)
13041 (comint--table-subvert): Remove.
13042 (comint-unquote-function, comint-requote-function): New vars.
13043 (comint--complete-file-name-data): Use them with
13044 completion-table-with-quoting.
13045 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
13046 * pcomplete.el (pcomplete-arg-quote-list)
13047 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
13048 (pcomplete-unquote-argument-function): Default to non-nil.
13049 (pcomplete-unquote-argument): Simplify.
13050 (pcomplete--common-quoted-suffix): Remove.
13051 (pcomplete-requote-argument-function): New var.
13052 (pcomplete--common-suffix): New function.
13053 (pcomplete-completions-at-point): Use completion-table-with-quoting
13054 and completion-table-subvert.
13055
13056 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
13057 (minibuffer--double-dollars): Preserve properties.
13058 (completion--sifn-requote): New function.
13059 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
13060
13061 * minibuffer.el: Add support for completion of quoted/escaped data.
13062 (completion-table-with-quoting, completion-table-subvert): New funs.
13063 (completion--twq-try, completion--twq-all): New functions.
13064 (completion--nth-completion): New function.
13065 (completion-try-completion, completion-all-completions): Use it.
13066
13067 2012-04-25 Leo Liu <sdl.web@gmail.com>
13068
13069 * progmodes/python.el (python-pdbtrack-get-source-buffer):
13070 Use compilation-message if available to find real filename.
13071
13072 2012-04-25 Chong Yidong <cyd@gnu.org>
13073
13074 * vc/diff-mode.el (diff-setup-whitespace): New function.
13075 (diff-mode): Use it.
13076
13077 * vc/diff.el (diff-sentinel):
13078 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
13079 Whitespace mode variables based on diff style (Bug#8612).
13080
13081 2012-04-25 Leo Liu <sdl.web@gmail.com>
13082
13083 * progmodes/python.el (python-send-region): Add suffix .py to the
13084 temp file.
13085
13086 * files.el (auto-mode-alist): Use javascript-mode instead.
13087
13088 2012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
13089
13090 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
13091
13092 * net/soap-client.el (soap-resolve-references-for-sequence-type)
13093 (soap-resolve-references-for-array-type): Hack to prevent self
13094 references, see Bug#9.
13095 (soap-parse-envelope): Report the contents of the 'detail' node
13096 when receiving a fault reply.
13097 (soap-parse-envelope): Report the contents of the entire 'detail' node.
13098
13099 * net/soap-inspect.el (soap-sample-value-for-simple-type)
13100 (soap-inspect-simple-type): New function.
13101
13102 * net/soap-client.el (soap-simple-type): New struct.
13103 (soap-default-xsd-types, soap-default-soapenc-types)
13104 (soap-decode-basic-type, soap-encode-basic-type):
13105 support unsignedInt and double basic types.
13106 (soap-resolve-references-for-simple-type)
13107 (soap-parse-simple-type, soap-encode-simple-type): New function.
13108 (soap-parse-schema): Parse xsd:simpleType declarations.
13109
13110 * net/soap-client.el (soap-default-xsd-types)
13111 (soap-default-soapenc-types): Add integer, byte and anyURI types.
13112 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
13113 the local name of "soapenc:Array".
13114 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
13115 decoding integer, byte and anyURI xsd types.
13116
13117 2012-04-25 Chong Yidong <cyd@gnu.org>
13118
13119 * cus-edit.el (custom-buffer-create-internal): Update header text.
13120
13121 2012-04-25 Eli Zaretskii <eliz@gnu.org>
13122
13123 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
13124 settings on 'system-type', not on 'window-system'. On MS-Windows,
13125 set interactive-mode on in GDB.
13126
13127 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
13128
13129 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
13130 (ruby-syntax-propertize-regexp): Remove.
13131 (ruby-syntax-propertize-function): Split regexp into chunks.
13132 Match following code directly.
13133
13134 2012-04-24 Dmitry Gutov <dgutov@yandex.ru>
13135
13136 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
13137 (ruby-syntax-propertize-regexp): New function.
13138 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
13139 by a special keyword.
13140
13141 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
13142 (ruby-syntax-general-delimiters-goto-beg)
13143 (ruby-syntax-propertize-general-delimiters): New functions.
13144 (ruby-syntax-propertize-function): Use them to handle GDL.
13145 (ruby-font-lock-keywords): Move old handling of GDL...
13146 (ruby-font-lock-syntactic-keywords): .. to here.
13147 (ruby-calculate-indent): Adjust indentation for GDL.
13148
13149 2012-04-24 Michael Albinus <michael.albinus@gmx.de>
13150
13151 * notifications.el (top): Remove unneeded declarations.
13152 (notifications-specification-version): Change to "1.2".
13153 (notifications-interface, notifications-notify-method)
13154 (notifications-close-notification-method): Fix docstring.
13155 (notifications-get-capabilities-method): New defconst.
13156 (notifications-notify): Add :action-items, :resident and
13157 :transient hints. Change "image_data" to "image-data" and
13158 "image_path" to "image-path".
13159 (notifications-get-capabilities): New defun.
13160
13161 2012-04-24 Leo Liu <sdl.web@gmail.com>
13162
13163 * progmodes/python.el: Move hideshow setup to the end.
13164
13165 2012-04-24 Martin Rudalics <rudalics@gmx.at>
13166
13167 * window.el (handle-select-window): Clear echo area since this is
13168 no more done by read_char (Bug#11304).
13169
13170 2012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
13171
13172 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
13173 and `/ M' to filter-derived-mode.
13174 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
13175 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
13176 (ibuffer-mark-by-mode): Use default rather than initial-input.
13177 (ibuffer-filter-by-derived-mode): Autoload and require-match.
13178
13179 2012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
13180
13181 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
13182 (ibuffer-filter-by-derived-mode): New filter.
13183 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
13184
13185 2012-04-23 Andreas Politz <politza@fh-trier.de>
13186
13187 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
13188
13189 2012-04-23 Chong Yidong <cyd@gnu.org>
13190
13191 * cus-edit.el (customize-apropos, customize-apropos-options):
13192 Disable matching of non-option variables (Bug#11176).
13193 (customize-option, customize-option-other-window)
13194 (customize-changed-options): Doc fix.
13195 (customize-apropos-options, customize-apropos-faces)
13196 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
13197
13198 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
13199 Fix word list splitting (Bug#11132).
13200 (apropos-symbol, apropos-keybinding, apropos-label)
13201 (apropos-property, apropos-function-button)
13202 (apropos-variable-button, apropos-misc-button): New faces.
13203 (apropos-symbol-face, apropos-keybinding-face)
13204 (apropos-label-face, apropos-property-face, apropos-match-face):
13205 Variables removed (Bug#8396).
13206 (apropos-library-button, apropos-format-plist, apropos-print)
13207 (apropos-print-doc, apropos-describe-plist): Callers changed.
13208
13209 2012-04-23 Michael Albinus <michael.albinus@gmx.de>
13210
13211 * net/xesam.el (xesam-mode-map): Use let-bound map in
13212 initialization. (Bug#11292)
13213
13214 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13215
13216 Preserve ispell session localwords when switching back to
13217 original buffer.
13218
13219 * textmodes/ispell.el (ispell-buffer-session-localwords):
13220 New buffer-local variable to hold buffer session localwords.
13221 (ispell-kill-ispell): Add option 'clear to delete session
13222 localwords.
13223 (ispell-command-loop, ispell-change-dictionary)
13224 (ispell-buffer-local-words): Preserve session localwords when
13225 needed.
13226
13227 * textmodes/flyspell.el (flyspell-process-localwords)
13228 (flyspell-do-correct): Preserve session localwords when needed.
13229
13230 2012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13231
13232 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
13233 using obsolete `translation-table-for-input'.
13234 (ispell-word, ispell-process-line, ispell-complete-word):
13235 Use plain `insert' instead of removed `ispell-insert-word'.
13236
13237 2012-04-22 Chong Yidong <cyd@gnu.org>
13238
13239 * cus-edit.el (custom-variable-menu)
13240 (custom-variable-reset-saved, custom-face-menu)
13241 (custom-face-reset-saved): If there is no saved value, make the
13242 "reset-saved" operation bring back the default (Bug#9509).
13243 (custom-face-state): Properly detect themed faces.
13244
13245 * faces.el (face-spec-set): Stop supporting deprecated form of
13246 third arg.
13247
13248 2012-04-22 Michael Albinus <michael.albinus@gmx.de>
13249
13250 Move functions from C to Lisp. Make non-blocking method calls
13251 the default. Implement further D-Bus standard interfaces.
13252
13253 * net/dbus.el (dbus-message-internal): Declare function.
13254 Remove unneeded function declarations.
13255 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
13256 (dbus-message-type-method-return, dbus-message-type-error)
13257 (dbus-message-type-signal): Declare variables. Remove local
13258 definitions.
13259 (dbus-interface-dbus, dbus-interface-peer)
13260 (dbus-interface-introspectable, dbus-interface-properties)
13261 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
13262 Adapt docstring.
13263 (dbus-interface-objectmanager): New defconst.
13264 (dbus-call-method, dbus-call-method-asynchronously)
13265 (dbus-send-signal, dbus-method-return-internal)
13266 (dbus-method-error-internal, dbus-register-service)
13267 (dbus-register-signal, dbus-register-method): New defuns, moved
13268 from dbusbind.c
13269 (dbus-call-method-handler, dbus-setenv)
13270 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
13271 New defuns.
13272 (dbus-call-method-non-blocking): Make it an obsolete function.
13273 (dbus-unregister-object, dbus-unregister-service)
13274 (dbus-handle-event, dbus-register-property)
13275 (dbus-property-handler): Obey the new structure of
13276 `bus-registered-objects'.
13277 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
13278 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
13279 Use `dbus-call-method'.
13280
13281 2012-04-22 Chong Yidong <cyd@gnu.org>
13282
13283 * cus-edit.el (custom-commands, custom-reset-menu)
13284 (Custom-reset-standard): Tweak labels.
13285 (custom-reset-button-menu): Change default to t.
13286 (custom-buffer-create-internal): For the custom-reset-button-menu
13287 case, put the revert button first.
13288 (custom-group-subtitle): New face.
13289 (custom-group-value-create): Align docstring to a specific column.
13290
13291 * wid-edit.el (widget-documentation-link-add): Don't handle
13292 indentation in this function.
13293 (widget-documentation-string-indent-to): New function.
13294 (widget-documentation-string-value-create): Use it.
13295
13296 * autorevert.el (auto-revert):
13297 * epg-config.el (epg):
13298 * ibuffer.el (ibuffer):
13299 * mpc.el (mpc):
13300 * ses.el (ses):
13301 * eshell/eshell.el (eshell):
13302 * net/ange-ftp.el (ange-ftp):
13303 * progmodes/ebnf2ps.el (postscript):
13304 * progmodes/flymake.el (flymake):
13305 * progmodes/prolog.el (prolog):
13306 * progmodes/verilog-mode.el (verilog-mode):
13307 * progmodes/which-func.el (which-func):
13308 * term/xterm.el (xterm):
13309 * textmodes/picture.el (picture):
13310 * textmodes/tildify.el (tildify):
13311 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
13312 customization buffers.
13313
13314 2012-04-22 Alan Mackenzie <acm@muc.de>
13315
13316 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
13317 Adding a ) can hide the resulting (..) from searches. Fix it.
13318 Bound the backward search to the position of the existing (.
13319
13320 2012-04-21 Juanma Barranquero <lekktu@gmail.com>
13321
13322 * progmodes/verilog-mode.el (verilog-mode): Check whether
13323 which-func-modes is t before adding verilog-mode.
13324 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
13325
13326 2012-04-21 Leo Liu <sdl.web@gmail.com>
13327
13328 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
13329
13330 2012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
13331
13332 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
13333 filling of the last column of a table (Bug#5635).
13334 (woman-find-next-control-line): New arg, specifying an additional
13335 regexp component for the control line.
13336 (woman2-roff-buffer): Use it.
13337 (woman-break-table): New function.
13338 (woman2-TS): Use it.
13339
13340 2012-04-21 Chong Yidong <cyd@gnu.org>
13341
13342 * woman.el (woman-set-buffer-display-table, woman-decode-region)
13343 (woman-horizontal-escapes, woman-negative-vertical-space)
13344 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
13345 (WoMan-warn-ignored): Use ?\s instead of ?\ .
13346
13347 2012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
13348
13349 * minibuffer.el (completion-file-name-table): Complete user names.
13350
13351 2012-04-20 Leo Liu <sdl.web@gmail.com>
13352
13353 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
13354 and pcase-let*.
13355
13356 2012-04-20 Chong Yidong <cyd@gnu.org>
13357
13358 * server.el (server-execute): Respect initial-buffer-choice if it
13359 is a string and there are no files to open (Bug#2825).
13360 (server-create-window-system-frame, server-create-tty-frame):
13361 Don't switch buffers here.
13362 (server-process-filter): Only try to open a window system frame if
13363 compiled with graphical support (Bug#8314).
13364
13365 2012-04-20 Dan Nicolaescu <dann@gnu.org>
13366
13367 * battery.el (battery-echo-area-format): Display remaining time
13368 for sysfs backend too (Bug#11269).
13369 (battery-linux-sysfs): Fix conditional for the charge.
13370
13371 2012-04-20 Chong Yidong <cyd@gnu.org>
13372
13373 * progmodes/gdb-mi.el (gdb): Revert previous change.
13374 (gdb-inferior-io--init-proc): New function.
13375 (gdb-init-1): Use it.
13376 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
13377 responsible for allocating a new pty and hooking it to gdb when
13378 the old pty gets an EIO due to process exit.
13379 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
13380 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
13381 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
13382
13383 2012-04-20 Eli Zaretskii <eliz@gnu.org>
13384
13385 * window.el (window-min-size, window-sizable, window-min-delta)
13386 (window-max-delta, window--resizable, window-resizable)
13387 (window-total-size, window-full-height-p, window-full-width-p)
13388 (window-in-direction, window--resize-mini-window, window-resize)
13389 (window--resize-child-windows-normal)
13390 (window--resize-child-windows, window--resize-siblings)
13391 (window--resize-this-window, adjust-window-trailing-edge)
13392 (enlarge-window, shrink-window): Doc fixes.
13393
13394 2012-04-20 Chong Yidong <cyd@gnu.org>
13395
13396 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
13397 New function to call delete-process on the gdb-inferior buffer's pty.
13398 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
13399 pty process (Bug#11273).
13400 (gdb-update): New arg to suppress talking to the gdb process.
13401 (gdb-done-or-error): Use it.
13402 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
13403 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
13404 sentinel not being called.
13405
13406 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
13407
13408 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
13409
13410 2012-04-20 Glenn Morris <rgm@gnu.org>
13411
13412 * net/network-stream.el (open-network-stream): Doc fix.
13413
13414 2012-04-20 Chong Yidong <cyd@gnu.org>
13415
13416 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
13417
13418 2012-04-20 Alan Mackenzie <acm@muc.de>
13419
13420 Ensure searching for keywords is case sensitive.
13421
13422 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
13423 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
13424 (c-defun-name, c-mark-function, c-cpp-define-name)
13425 (c-comment-indent, c-scan-conditionals, c-indent-defun)
13426 (c-context-line-break): Bind case-fold-search to nil.
13427
13428 * progmodes/cc-mode.el (c-font-lock-fontify-region):
13429 Bind case-fold-search to nil.
13430
13431 2012-04-20 Chong Yidong <cyd@gnu.org>
13432
13433 * mail/sendmail.el (mail-bury): Call return action with the right
13434 Rmail buffer (Bug#11242).
13435
13436 * server.el (server-process-filter): Handle corner case where both
13437 tty and nowait options are present (Bug#11102).
13438
13439 2012-04-20 Eli Zaretskii <eliz@gnu.org>
13440
13441 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
13442 (top level): Put into the executable the ident-style '$Id:' tag on
13443 windows-nt as well.
13444
13445 2012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
13446
13447 * electric.el (electric-indent-post-self-insert-function): Check that
13448 electric-indent-mode is enabled in current buffer.
13449
13450 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
13451
13452 * imenu.el (imenu-progress-message): Restore; it is "used" in
13453 erc/erc-imenu.el and net/snmp-mode.el.
13454
13455 2012-04-19 Juanma Barranquero <lekktu@gmail.com>
13456
13457 * avoid.el (mouse-avoidance-mode): Mark unused arg.
13458 (mouse-avoidance-nudge-mouse): Remove unused binding.
13459
13460 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
13461
13462 * descr-text.el (describe-char):
13463 * progmodes/python.el (python-describe-symbol):
13464 Don't call `toggle-read-only', set `buffer-read-only'.
13465
13466 * imenu.el (imenu-default-goto-function): Mark unused args.
13467 (imenu-progress-message): Remove obsolete macro; all callers changed.
13468
13469 * subr.el (keymap-canonicalize): Remove unused binding.
13470 (read-passwd): Mark unused arg.
13471
13472 * tutorial.el (tutorial--display-changes): Remove unused binding.
13473 (tutorial--save-tutorial-to): Remove unused variable.
13474
13475 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
13476 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
13477 (package-generate-autoloads, package-menu--generate)
13478 (package-menu--find-upgrades): Remove unused bindings.
13479
13480 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
13481 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
13482 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
13483 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
13484 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
13485 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
13486 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
13487 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
13488 (cua-delete-char-rectangle): Mark unused args.
13489 (cua-align-rectangle): Remove unused binding.
13490
13491 * mail/rmail.el (compilation--message->loc)
13492 (epa--find-coding-system-for-mime-charset): Declare.
13493
13494 * net/dbus.el (dbus-register-service): Declare.
13495 (dbus-name-owner-changed-handler): Remove unused binding.
13496
13497 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
13498 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
13499 (nxml-scan-backward-within): Mark unused arg.
13500 (nxml-dynamic-markup-word): Remove unused binding.
13501
13502 * mouse.el (mouse-menu-major-mode-map):
13503 * emacs-lisp/authors.el (authors-scan-change-log)
13504 (authors-add-to-author-list):
13505 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
13506 * emacs-lisp/smie.el (smie-auto-fill):
13507 * mail/sendmail.el (mail-bury):
13508 * mail/unrmail.el (unrmail):
13509 * net/tls.el (open-tls-stream):
13510 * textmodes/picture.el (picture-mouse-set-point):
13511 Remove unused bindings.
13512
13513 2012-04-19 Michael Albinus <michael.albinus@gmx.de>
13514
13515 * net/tramp.el (tramp-action-password): Let-bind
13516 `enable-recursive-minibuffers' to t.
13517
13518 2012-04-18 Sam Steingold <sds@gnu.org>
13519
13520 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
13521 instead of 'string to accommodate values like [f11].
13522 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
13523 * progmodes/gdb-mi.el: Likewise.
13524
13525 2012-04-18 Leo Liu <sdl.web@gmail.com>
13526
13527 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
13528 current buffer.
13529 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
13530 LOCAL is nil.
13531
13532 2012-04-18 Chong Yidong <cyd@gnu.org>
13533
13534 * simple.el (line-move): Use forward-line if in batch mode
13535 (Bug#11053).
13536
13537 2012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
13538
13539 * files.el (after-find-file): Do not try to add a final newline if
13540 the buffer is read-only (Bug#11156).
13541
13542 2012-04-17 Richard Stallman <rms@gnu.org>
13543
13544 * mail/rmail.el (rmail-start-mail):
13545 Pass (rmail-mail-return...) for the return-action.
13546 Pass (rmail-yank-current-message...) for the yank-action.
13547 (rmail-yank-current-message): New function.
13548 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
13549 (rmail-reply): Likewise.
13550 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
13551
13552 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
13553 buffer, not the last. Reject temp buffers. Use the rmail-mode
13554 buffer, not newbuf.
13555
13556 2012-04-17 Juanma Barranquero <lekktu@gmail.com>
13557
13558 * server.el (server-ensure-safe-dir): Simplify.
13559
13560 2012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
13561
13562 * emacs-lisp/smie.el: Provide smarter auto-filling.
13563 (smie-auto-fill): New function.
13564 (smie-setup): Use it.
13565
13566 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
13567
13568 2012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
13569
13570 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
13571 (comment-indent): Use it.
13572
13573 2012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
13574
13575 * ses.el: The overall change is to add cell renaming, that is
13576 setting fancy names for cell symbols other than name matching
13577 "\\`[A-Z]+[0-9]+\\'" regexp .
13578 (ses-localvars): Add ses--renamed-cell-symb-list.
13579 (ses-create-cell-variable): New defun.
13580 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
13581 (ses-relocate-formula): Relocate formulas only for cells the
13582 symbols of which are not renamed, i.e. symbols whose names do not
13583 match regexp "\\`[A-Z]+[0-9]+\\'".
13584 (ses-relocate-all): Relocate values only for cells the symbols of
13585 which are not renamed.
13586 (ses-load): Create cells variables as the (ses-cell ...) are read,
13587 in order to check row col consistency with cell symbol name only
13588 for cells that are not renamed.
13589 (ses-replace-name-in-formula): New defun.
13590 (ses-rename-cell): New defun.
13591
13592 2012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
13593
13594 * progmodes/perl-mode.el (perl-indent-parens-as-block):
13595 New option (bug#11118).
13596 (perl-calculate-indent): Respect it.
13597
13598 2012-04-17 Glenn Morris <rgm@gnu.org>
13599
13600 * dired-aux.el (dired-mark-read-string): Doc fix.
13601
13602 2012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
13603
13604 * dired-aux.el (dired-mark-read-string): Offer optional completion.
13605 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
13606
13607 2012-04-17 Glenn Morris <rgm@gnu.org>
13608
13609 * mouse.el (mouse-drag-track):
13610 * speedbar.el (speedbar-frame-mode):
13611 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
13612
13613 2012-04-16 Leo Liu <sdl.web@gmail.com>
13614
13615 * progmodes/python.el: Trivial cleanup.
13616
13617 2012-04-16 Glenn Morris <rgm@gnu.org>
13618
13619 * vc/vc.el (vc-string-prefix-p):
13620 * vc/pcvs-util.el (cvs-string-prefix-p):
13621 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
13622 * mpc.el (mpc-string-prefix-p):
13623 Make all of these into obsolete aliases for string-prefix-p.
13624 Update callers.
13625 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
13626
13627 * textmodes/two-column.el: Move custom options to the start.
13628 (frame-width): Remove compat definition.
13629 (2C-associate-buffer, 2C-dissociate):
13630 Use with-current-buffer rather than save-excursion.
13631 (2C-dissociate): Force a mode-line update.
13632 (2C-autoscroll): Use ignore-errors.
13633
13634 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
13635 Autoload trivia.
13636
13637 * emacs-lisp/cl-extra.el (*random-state*):
13638 Remove unnecessary declaration.
13639
13640 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
13641
13642 * play/cookie1.el (cookie-snarf):
13643 Give an explicit error if input file cannot be read.
13644
13645 * play/yow.el (yow-file): Use expand-file-name rather than concat.
13646
13647 * progmodes/perl-mode.el (c-macro-expand):
13648 Remove unnecessary autoload (it is in loaddefs.el).
13649
13650 * textmodes/picture.el (picture-desired-column)
13651 (picture-update-desired-column): Convert comments to doc-strings.
13652 (picture-substitute): Remove function.
13653 (picture-mode-map): Initialize in the defvar.
13654
13655 * woman.el: Remove eval-after-load for tar-mode.
13656 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
13657 (woman-tar-extract-file): Autoload it.
13658
13659 * frame.el (automatic-hscrolling): Make this alias obsolete.
13660
13661 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13662
13663 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
13664 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
13665 (ispell-dictionary-base-alist): Revert to original XEmacs
13666 friendly version for default. [:alpha:] will be added in
13667 `ispell-set-spellchecker-params' if needed.
13668
13669 2012-04-16 Chong Yidong <cyd@gnu.org>
13670
13671 * image.el (imagemagick--file-regexp): New variable.
13672 (imagemagick-register-types): Use it.
13673 (imagemagick-types-inhibit): Add :set function. Allow new value
13674 of t to inhibit all types.
13675
13676 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
13677 so we can preload it.
13678
13679 * loadup.el (fboundp): Preload regexp-opt, needed by
13680 imagemagick-register-types.
13681
13682 2012-04-15 Chong Yidong <cyd@gnu.org>
13683
13684 * frame.el (scrolling): Remove nearly unused customization group.
13685
13686 * scroll-all.el (scroll-all-mode): Move to windows group.
13687
13688 2012-04-15 Chong Yidong <cyd@gnu.org>
13689
13690 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
13691
13692 2012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13693
13694 Avoid the use of ((lambda ...) ...) in lexical-binding code.
13695 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
13696
13697 2012-04-15 Glenn Morris <rgm@gnu.org>
13698
13699 * simple.el (process-file-side-effects): Doc fix.
13700
13701 2012-04-15 Glenn Morris <rgm@gnu.org>
13702
13703 * international/mule-cmds.el (set-language-environment): Doc fix.
13704
13705 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
13706
13707 * server.el (server-auth-key, server-generate-key): Doc fixes.
13708 (server-get-auth-key): Doc fix. Use `string-match-p'.
13709 (server-start): Reflow docstring.
13710
13711 2012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
13712
13713 * server.el (server-generate-key): `called-interactively-p'
13714 requires a parameter.
13715
13716 2012-04-14 Michal Nazarewicz <mina86@mina86.com>
13717
13718 * server.el (server-auth-key): New variable.
13719 (server-generate-key, server-get-auth-key): New function.
13720 (server-start): Use the new variable and functions to allow
13721 setting a permanent server key (bug#9423).
13722
13723 2012-04-14 Leo Liu <sdl.web@gmail.com>
13724
13725 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
13726
13727 2012-04-14 Paul Eggert <eggert@cs.ucla.edu>
13728
13729 Spelling fixes.
13730 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
13731 Emacs uses American spelling.
13732
13733 2012-04-14 Juanma Barranquero <lekktu@gmail.com>
13734
13735 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
13736 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
13737 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
13738 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
13739
13740 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
13741
13742 * progmodes/which-func.el (which-func-modes): Change default.
13743
13744 2012-04-14 Kim F. Storm <storm@cua.dk>
13745
13746 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
13747 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
13748
13749 2012-04-14 Chong Yidong <cyd@gnu.org>
13750
13751 * custom.el (custom-theme-set-variables): Doc fix.
13752
13753 2012-04-14 Glenn Morris <rgm@gnu.org>
13754
13755 * international/mule.el (set-auto-coding-for-load): Doc fix.
13756
13757 2012-04-14 Alan Mackenzie <acm@muc.de>
13758
13759 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
13760 imenu work again for Objective C Mode. Correct the *-index values,
13761 these having been disturbed by a previous change in 2011-08.
13762
13763 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
13764 Correct two search limits.
13765
13766 2012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
13767
13768 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
13769
13770 2012-04-14 Andreas Schwab <schwab@linux-m68k.org>
13771
13772 * international/characters.el: Fix sorting.
13773
13774 2012-04-14 Eli Zaretskii <eliz@gnu.org>
13775
13776 * international/characters.el: Add more missing Latin case pairs.
13777
13778 2012-04-14 Glenn Morris <rgm@gnu.org>
13779
13780 * files.el (dir-locals-set-class-variables): Doc fix.
13781
13782 2012-04-14 Eli Zaretskii <eliz@gnu.org>
13783
13784 * international/characters.el: Add set-case-syntax-pair call for
13785 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
13786 counterpart. (Bug#11209)
13787
13788 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
13789
13790 2012-04-14 Glenn Morris <rgm@gnu.org>
13791
13792 * calendar/holidays.el (calendar-check-holidays): Doc fix.
13793
13794 2012-04-14 Eli Zaretskii <eliz@gnu.org>
13795
13796 * textmodes/ispell.el (ispell-dictionary-base-alist):
13797 Add data for Hebrew.
13798
13799 2012-04-14 Chong Yidong <cyd@gnu.org>
13800
13801 * net/rcirc.el (rcirc-cmd-quit):
13802 Revert 2012-03-18 change (Bug#11192).
13803
13804 2012-04-14 Glenn Morris <rgm@gnu.org>
13805
13806 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
13807
13808 2012-04-14 Eli Zaretskii <eliz@gnu.org>
13809
13810 * minibuffer.el (completion-in-region-mode-map):
13811 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
13812
13813 2012-04-13 Vivek Dasmohapatra <vivek@etla.org>
13814
13815 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
13816
13817 2012-04-13 Masatake YAMATO <yamato@redhat.com>
13818
13819 * minibuffer.el (minibuffer-local-filename-syntax): New variable
13820 to allow `C-M-f' and `C-M-b' to move to the nearest path
13821 separator (bug#9511).
13822
13823 2012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
13824
13825 * avoid.el: Require cl when compiling. And also move the
13826 `provide' to the end.
13827
13828 2012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13829
13830 * avoid.el (mouse-avoidance-banish-position): New variable.
13831 (mouse-avoidance-banish-destination): Use it (bug#10165).
13832
13833 2012-04-13 Leo Liu <sdl.web@gmail.com>
13834
13835 * progmodes/which-func.el (which-func-modes): Add objc-mode.
13836
13837 2012-04-13 Ken Brown <kbrown@cornell.edu>
13838
13839 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
13840 this is no longer needed now that cygstart understands file:// URLs.
13841 (browse-url-filename-alist): For the same reason, don't modify
13842 file:// URLs on Cygwin.
13843
13844 2012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
13845
13846 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
13847 the region on shift if the binding is already shifted (bug#11221).
13848
13849 2012-04-12 Glenn Morris <rgm@gnu.org>
13850
13851 * mail/mailpost.el: Move to obsolete/.
13852
13853 2012-04-12 Drew Adams <drew.adams@oracle.com>
13854
13855 * imenu.el (imenu--generic-function): Ignore invisible definitions
13856 (bug#10123).
13857
13858 2012-04-12 Vivek Dasmohapatra <vivek@etla.org>
13859
13860 * hexl.el (hexl-bits): New variable.
13861 (hexl-options): Mention the variable in the doc string.
13862 (hexl-rulerise, hexl-line-displen): New functions.
13863 (hexl-mode): Mention the new variable.
13864 (hexl-mode, hexl-current-address, hexl-current-address):
13865 Use the displen.
13866 (hexl-ascii-start-column): New function.
13867 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
13868 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
13869
13870 2012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13871
13872 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
13873 '("-i" ENCODING), in 2 separate command-line arguments, to specify
13874 the encoding, as expected by hunspell.
13875
13876 2012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
13877
13878 * battery.el (battery--linux-sysfs-regexp): New const.
13879 (battery-status-function): Use it. Remove yeeloong special case.
13880 (battery-yeeloong-sysfs): Remove.
13881 (battery-echo-area-format): Remove yeeloong special case.
13882
13883 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
13884
13885 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
13886 Reported by Noah Friedman.
13887
13888 * subr.el (read-passwd): Use read-string.
13889
13890 2012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
13891
13892 * vcursor.el (vcursor-move): Increase the priority of the overlay
13893 (bug#9663).
13894
13895 2012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
13896
13897 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
13898 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
13899
13900 2012-04-11 William Stevenson <yhvh2000@gmail.com>
13901
13902 * textmodes/artist.el (artist-mode): Convert artist-mode to use
13903 define-minor-mode (bug#10760).
13904
13905 2012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
13906
13907 * progmodes/grep.el (rgrep): Tweak the find command line so
13908 that directories matching `grep-find-ignored-files' won't be
13909 pruned (bug#10351).
13910
13911 2012-04-11 Chong Yidong <cyd@gnu.org>
13912
13913 * startup.el (command-line): Remove support for long-obsolete
13914 variable font-lock-face-attributes.
13915
13916 2012-04-11 Glenn Morris <rgm@gnu.org>
13917
13918 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
13919
13920 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
13921
13922 * window.el (window--state-get-1): Obey window-point-insertion-type.
13923
13924 2012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
13925
13926 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
13927 to previous function when point is on the first character of a
13928 function. Take care of that in `narrow-to-defun' (bug#6157).
13929
13930 2012-04-11 Glenn Morris <rgm@gnu.org>
13931
13932 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
13933 not just file-errors.
13934
13935 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
13936 (vc-bzr-sha1): Use internal sha1.
13937
13938 2012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
13939
13940 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
13941
13942 2012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
13943
13944 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
13945 that start in the middle of the line (bug#10496).
13946
13947 2012-04-10 Dan Nicolaescu <dann@gnu.org>
13948
13949 * battery.el (battery-linux-proc-acpi): Only one battery is
13950 discharged at a time, but that seems to confuse battery.el when
13951 computing `rate-type' for the battery not being discharged
13952 (bug#10332).
13953
13954 2012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
13955
13956 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
13957
13958 * international/quail.el: Use dolist and simplify.
13959 (quail-define-package, quail-update-keyboard-layout)
13960 (quail-define-rules): Use dolist.
13961 (quail-insert-kbd-layout, quail-get-translation): CSE.
13962
13963 * tmm.el: Use dolist, remove left over hook.
13964 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
13965 Use dolist.
13966 (calendar-load-hook): Don't mess with it.
13967
13968 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
13969 Use derived-mode-p. Run the diff asynchronously.
13970
13971 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
13972
13973 * obsolete/mouse-sel.el: Add an Obsolete-since header.
13974
13975 2012-04-10 Juanma Barranquero <lekktu@gmail.com>
13976
13977 * misc.el: Display absolute path of loaded DLLs (bug#10424).
13978 (list-dynamic-libraries--loaded): New function.
13979 (list-dynamic-libraries--refresh): Use it.
13980
13981 2012-04-10 Nathan Weizenbaum <nweiz@google.com>
13982
13983 * progmodes/python.el (python-fill-paragraph):
13984 Make python-fill-region in a multiline string work when font-lock is
13985 disabled (bug#7018).
13986
13987 2012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
13988
13989 * language/european.el (cp775): Add oem/legacy (en)coding on
13990 DOS/MS Windows for the Baltic languages. There are still plenty
13991 of texts written in this encoding/codepage (bug#6519).
13992
13993 2012-04-10 Glenn Morris <rgm@gnu.org>
13994
13995 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
13996 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
13997
13998 2012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
13999
14000 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
14001 next-line "n" and previous-line "p" in order to make recentf more
14002 consistent with ibuffer, dired or org-mode (bug#9387).
14003
14004 2012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
14005
14006 * image.el (put-image): Return the overlay created instead of the
14007 optional input string (bug#7834). Note that this may break code
14008 that is (for some reason or other) depending on `put-image'
14009 returning the string.
14010
14011 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
14012
14013 * simple.el (zap-to-char): Allow zapping using input methods
14014 (bug#1580).
14015
14016 * textmodes/fill.el (fill-region): Leave point and mark where they
14017 were before filling (bug#5399).
14018
14019 2012-04-09 Glenn Morris <rgm@gnu.org>
14020
14021 * version.el (emacs-bzr-get-version):
14022 Handle lightweight checkouts of local branches.
14023
14024 2012-04-09 Andreas Schwab <schwab@linux-m68k.org>
14025
14026 * international/characters.el: Recover lost case pairs. (Bug#11209)
14027
14028 2012-04-09 Chong Yidong <cyd@gnu.org>
14029
14030 * custom.el (custom-variable-p): Return nil for non-symbol
14031 arguments instead of signaling an error.
14032 (user-variable-p): Obsolete alias for custom-variable-p.
14033
14034 * apropos.el (apropos-variable):
14035 * files-x.el (read-file-local-variable):
14036 * simple.el (set-variable):
14037 * woman.el (woman-mini-help):
14038 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
14039
14040 2012-04-09 Glenn Morris <rgm@gnu.org>
14041
14042 * startup.el (normal-top-level): Don't look for leim-list.el
14043 in places where it will not be found. (Bug#910)
14044
14045 * international/mule-cmds.el (set-default-coding-systems):
14046 * files.el (normal-mode):
14047 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
14048 This function was removed with ucs-tables.el in 2008.
14049
14050 2012-04-08 Eli Zaretskii <eliz@gnu.org>
14051
14052 * textmodes/ispell.el (ispell-check-version): For hunspell, set
14053 ispell-encoding8-command to "-i", without a trailing space.
14054 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
14055 separate command-line arguments, to specify the encoding, since
14056 that's how hunspell expects it.
14057
14058 2012-04-08 Glenn Morris <rgm@gnu.org>
14059
14060 * loadup.el: Load bindings before cus-start.
14061 This reduces somewhat the number of "rogue" settings in emacs -Q.
14062
14063 2012-04-07 Glenn Morris <rgm@gnu.org>
14064
14065 * version.el (emacs-bzr-get-version): New function.
14066 (emacs-bzr-version): New variable.
14067 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
14068 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
14069
14070 2012-04-07 Eli Zaretskii <eliz@gnu.org>
14071
14072 * international/uni-bidi.el, international/uni-category.el:
14073 * international/uni-combining.el, international/uni-decimal.el:
14074 * international/uni-decomposition.el, international/uni-digit.el:
14075 * international/uni-lowercase.el, international/uni-mirrored.el:
14076 * international/uni-name.el, international/uni-numeric.el:
14077 * international/uni-titlecase.el, international/uni-uppercase.el:
14078 Update for Unicode 6.1.
14079
14080 2012-04-07 Eli Zaretskii <eliz@gnu.org>
14081
14082 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
14083
14084 2012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
14085
14086 * window.el (shrink-window): Mention the `window-min-height'
14087 variable in the doc string.
14088
14089 2012-04-05 Bastien Guerry <bzg@altern.org>
14090
14091 * color.el (color-lighten-name): Fix typo.
14092
14093 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
14094
14095 * server.el (server--on-display-p): New function.
14096 (server--on-display-p): Use it.
14097
14098 2012-04-04 Gábor Vida <vidagabor@gmail.com> (tiny change)
14099
14100 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
14101 (bug#11145).
14102
14103 2012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
14104
14105 * comint.el (comint--common-quoted-suffix): Check string boundary
14106 before comparing (bug#11158).
14107 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
14108
14109 2012-04-04 Chong Yidong <cyd@gnu.org>
14110
14111 * minibuffer.el (completion-extra-properties): Doc fix.
14112
14113 * subr.el (delayed-warnings-hook): Doc fix.
14114
14115 2012-04-04 Daiki Ueno <ueno@unixuser.org>
14116
14117 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
14118 selection (Bug#11159).
14119 (epa-insert-keys): Inform that the default public key will be
14120 exported if no key is selected.
14121
14122 2012-04-04 Richard Stallman <rms@gnu.org>
14123
14124 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
14125
14126 2012-04-03 Chong Yidong <cyd@gnu.org>
14127
14128 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
14129 mail-insert-file, not its obsolete alias mail-attach-file.
14130
14131 2012-04-03 Michael Albinus <michael.albinus@gmx.de>
14132
14133 * notifications.el (notifications-notify): Fix docstring.
14134
14135 2012-04-02 Glenn Morris <rgm@gnu.org>
14136
14137 * emacs-lisp/authors.el (authors-aliases): Another addition.
14138
14139 2012-04-02 Michael Albinus <michael.albinus@gmx.de>
14140
14141 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
14142 `tramp-compat-call-process' instead of `tramp-local-call-process'.
14143 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
14144
14145 2012-04-01 Chong Yidong <cyd@gnu.org>
14146
14147 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
14148 Handle root directory properly.
14149 (copy-directory): Caller changed.
14150
14151 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
14152 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
14153
14154 2012-03-31 Glenn Morris <rgm@gnu.org>
14155
14156 * term/xterm.el (xterm-extra-capabilities): Doc fix.
14157
14158 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
14159
14160 * calendar/calendar.el (calendar-window-list)
14161 (calendar-hide-window): Restore. (Bug#11140)
14162 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
14163
14164 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
14165
14166 2012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14167
14168 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
14169 Check if file is a symlink (Bug#10489).
14170
14171 * files.el (copy-directory): Likewise.
14172
14173 2012-03-30 Chong Yidong <cyd@gnu.org>
14174
14175 * image.el (imagemagick-types-inhibit)
14176 (imagemagick-register-types): Doc fix.
14177
14178 2012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
14179
14180 * textmodes/ispell.el (ispell-get-extended-character-mode):
14181 Disable extended-char-mode for hunspell. hunspell does not support it
14182 and treats ~word as ordinary words in pipe mode.
14183
14184 2012-03-30 Glenn Morris <rgm@gnu.org>
14185
14186 * tutorial.el (help-with-tutorial): Ensure local variables don't
14187 happen to make the buffer read-only. (Bug#11127)
14188
14189 2012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
14190
14191 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
14192 (perl-calculate-indent): Return `noindent' in strings.
14193
14194 2012-03-28 Sam Steingold <sds@gnu.org>
14195
14196 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
14197 instead of the broken adhockery which does not prevent calendar
14198 buffers from being displayed at random after exit.
14199 (calendar-window-list, calendar-hide-window): Remove the broken
14200 adhockery.
14201
14202 2012-03-28 Glenn Morris <rgm@gnu.org>
14203
14204 * replace.el (query-replace-map): Doc fix.
14205
14206 2012-03-28 Andreas Schwab <schwab@linux-m68k.org>
14207
14208 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
14209 contents. (Bug#11109)
14210
14211 2012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
14212
14213 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
14214 (bug#11077).
14215 (avl-tree--check, avl-tree--check-node): New funs.
14216
14217 2012-03-27 Martin Rudalics <rudalics@gmx.at>
14218
14219 * window.el (switch-to-visible-buffer): New option.
14220 (switch-to-prev-buffer, switch-to-next-buffer):
14221 Observe switch-to-visible-buffer. Make sure that checking for a window
14222 showing a buffer already is done on the same frame.
14223
14224 2012-03-27 Glenn Morris <rgm@gnu.org>
14225
14226 * startup.el (mail-host-address): Doc fix.
14227
14228 2012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
14229
14230 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
14231 than 197 variables.
14232
14233 2012-03-26 Ami Fischman <ami@fischman.org>
14234
14235 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
14236
14237 2012-03-26 Glenn Morris <rgm@gnu.org>
14238
14239 * files.el (save-buffers-kill-emacs): Doc fix.
14240
14241 * startup.el (normal-top-level, command-line, command-line-1):
14242 Give them doc strings.
14243
14244 2012-03-25 Eli Zaretskii <eliz@gnu.org>
14245
14246 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
14247 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
14248
14249 2012-03-25 Chong Yidong <cyd@gnu.org>
14250
14251 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
14252 theme if it was previously enabled before (Bug#11031).
14253
14254 * cus-theme.el (custom-theme-write-faces): Retrieve current face
14255 spec with custom-face-get-current-spec if its :shown-value is not
14256 determined yet (Bug#9337).
14257 (customize-create-theme, custom-theme-revert): Doc fixes.
14258
14259 * button.el (button-at): Minor addition to docstring.
14260
14261 2012-03-24 Simon Leinen <simon.leinen@gmail.com>
14262
14263 * vc/vc.el (vc-merge): Fix a prompt.
14264
14265 2012-03-24 Chong Yidong <cyd@gnu.org>
14266
14267 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
14268 point (Bug#9623).
14269
14270 * button.el (button-at): Minor addition to docstring.
14271
14272 2012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
14273
14274 * newcomment.el (comment-choose-indent): No space after BOL.
14275
14276 2012-03-22 Sam Steingold <sds@gnu.org>
14277
14278 * window.el (switch-to-prev-buffer): Revert last patch because the
14279 bug turned out to be an advertised feature (Elisp manual 28.14).
14280
14281 2012-03-22 Glenn Morris <rgm@gnu.org>
14282
14283 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
14284 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
14285
14286 2012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
14287
14288 * net/network-stream.el (network-stream-open-starttls): Make error
14289 message under Windows be less misleading.
14290
14291 2012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
14292
14293 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
14294 understands (bug#9942).
14295
14296 2012-03-22 Chong Yidong <cyd@gnu.org>
14297
14298 * simple.el (end-of-visible-line): Handle return value of
14299 next-single-property-change properly (Bug#9371).
14300
14301 2012-03-22 Kenichi Handa <handa@m17n.org>
14302
14303 * international/quail.el (quail-insert-kbd-layout): Fix previous
14304 change. To avoid unwanted bidi reordering, use
14305 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
14306
14307 2012-03-21 Dmitry Gutov <dgutov@yandex.ru>
14308
14309 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
14310 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
14311 (ruby-beginning-of-indent): Be more careful with the difference
14312 between word-boundary and symbol boundary.
14313 (ruby-mode-syntax-table): Make : a symbol constituent.
14314
14315 2012-03-21 Andreas Politz <politza@fh-trier.de>
14316
14317 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
14318
14319 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
14320
14321 * progmodes/etags.el (tags-completion-at-point-function):
14322 Improve last fix.
14323
14324 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
14325
14326 2012-03-21 Sam Steingold <sds@gnu.org>
14327
14328 * progmodes/etags.el (tags-completion-at-point-function):
14329 Avoid the error when point is inside the pattern.
14330
14331 2012-03-21 John Yates <john@yates-sheets.org> (tiny change)
14332
14333 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
14334 line (Bug#10855).
14335
14336 2012-03-21 Drew Adams <drew.adams@oracle.com>
14337
14338 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
14339
14340 2012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
14341
14342 * ido.el (ido-set-current-directory, ido-read-internal)
14343 (ido-choose-completion-string, ido-completion-help): Handle nil
14344 value of ido-completion-buffer (Bug#11008).
14345
14346 2012-03-21 Sam Steingold <sds@gnu.org>
14347
14348 * window.el (switch-to-prev-buffer): Do not switch to a visible
14349 window previous buffer, just like with the frame previous buffers.
14350
14351 2012-03-21 Chong Yidong <cyd@gnu.org>
14352
14353 * faces.el (make-face, make-empty-face, copy-face):
14354 * face-remap.el (face-remap-add-relative, face-remap-set-base):
14355 Doc fixes.
14356
14357 2012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
14358
14359 * wid-edit.el (widget-complete-field): Remove (bug#11051).
14360 (widget-complete): Remove broken use of it.
14361
14362 2012-03-20 Chong Yidong <cyd@gnu.org>
14363
14364 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
14365 Use string-width and truncate-string-width to handle arbitrary
14366 characters.
14367
14368 2012-03-20 Tassilo Horn <tassilo@member.fsf.org>
14369
14370 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
14371 to draw rectangles, not squares. (Regression introduced by revno
14372 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
14373
14374 2012-03-18 Chong Yidong <cyd@gnu.org>
14375
14376 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
14377 it is not yet defined (for temacs).
14378
14379 2012-03-18 Leo Liu <sdl.web@gmail.com>
14380
14381 * net/rcirc.el (rcirc-cmd-quit): Allow quitting all servers with
14382 prefix.
14383
14384 2012-03-17 Eli Zaretskii <eliz@gnu.org>
14385
14386 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
14387 (ispell-choices-win-default-height, ispell-silently-savep)
14388 (ispell-dictionary-alist, ispell-encoding8-command)
14389 (ispell-check-version, ispell-aspell-find-dictionary)
14390 (ispell-valid-dictionary-list, ispell-words-keyword)
14391 (ispell-get-word, ispell-internal-change-dictionary)
14392 (ispell-region, ispell-skip-region-list)
14393 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
14394 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
14395 (ispell-message-text-end, ispell-message)
14396 (ispell-buffer-local-parsing): Doc fix.
14397
14398 2012-03-13 Jambunathan K <kjambunathan@gmail.com>
14399
14400 * htmlfontify.el: Add support for code block fontification for ODT
14401 export (Bug #9914).
14402 (hfy-optimisations): Define new option
14403 `body-text-only'
14404 (hfy-fontify-buffer): Honor above setting.
14405 (hfy-begin-span, hfy-end-span): New routines factored out form
14406 `hfy-fontify-buffer'.
14407 (hfy-begin-span-handler, hfy-end-span-handler): New variables
14408 that permit insertion of custom tags.
14409 (hfy-fontify-buffer): Use above handlers.
14410 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
14411 (hfy-face-to-css): Re-defined to be a variable.
14412 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
14413 over multiple runs. This is made possible by having the caller let
14414 bind a special variable `hfy-user-sheet-assoc'.
14415 (htmlfontify-string): New defun.
14416 (hfy-compile-face-map): Make sure that the last char in the
14417 buffer is correctly fontified.
14418 (hfy-face-resolve-face): Whitespace only change.
14419
14420 2012-03-17 Eli Zaretskii <eliz@gnu.org>
14421
14422 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
14423 message more clear.
14424
14425 2012-03-16 Leo Liu <sdl.web@gmail.com>
14426
14427 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
14428
14429 2012-03-16 Alan Mackenzie <acm@muc.de>
14430
14431 Further optimize the handling of large macros.
14432
14433 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
14434 limit to a call of `c-literal-limits'.
14435 (c-determine-+ve-limit): New function.
14436 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
14437 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
14438 In CASE 5B, restrict a search limit to 500.
14439 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
14440
14441 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
14442 Restrict macro bounds to +-500 from after-change's BEG END.
14443
14444 2012-03-16 Leo Liu <sdl.web@gmail.com>
14445
14446 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
14447
14448 2012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
14449
14450 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
14451 `special-mode' setting of `buffer-read-only'. (Bug#11010)
14452
14453 2012-03-16 Glenn Morris <rgm@gnu.org>
14454
14455 * view.el (view-buffer, view-buffer-other-window)
14456 (view-buffer-other-frame): Doc fixes re special mode-class.
14457
14458 * subr.el (eval-after-load): If named feature is provided not from
14459 a file, run after-load forms. (Bug#10946)
14460
14461 * calendar/calendar.el (calendar-insert-at-column):
14462 Handle non-unit-width characters a bit better. (Bug#10978)
14463
14464 2012-03-15 Chong Yidong <cyd@gnu.org>
14465
14466 * emacs-lisp/ring.el (ring-extend): New function.
14467 (ring-insert+extend): Extend the ring correctly (Bug#11019).
14468
14469 * comint.el (comint-read-input-ring)
14470 (comint-add-to-input-history): Grow comint-input-ring lazily.
14471
14472 2012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
14473
14474 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
14475 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
14476
14477 * imenu.el: Fix multiple inheritance breakage (bug#9199).
14478 (imenu-add-to-menubar): Don't add a redundant index.
14479 (imenu-update-menubar): Handle a dynamically composed keymap.
14480
14481 2012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
14482
14483 * mail/sendmail.el (mail-encode-header):
14484 Bind rfc2047-encode-encoded-words to nil.
14485
14486 2012-03-13 Glenn Morris <rgm@gnu.org>
14487
14488 * calendar/calendar.el (calendar-string-spread):
14489 Handle non-unit-width characters a bit better. (Bug#10978)
14490
14491 2012-03-13 Leo Liu <sdl.web@gmail.com>
14492
14493 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
14494 directory and file as argument (Bug#10822).
14495
14496 2012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
14497
14498 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
14499 For dynamically generated code, follow $PC.
14500 (gdb-disassembly-handler-custom): Handle no function name case.
14501
14502 2012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
14503
14504 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
14505 * emulation/ws-mode.el (ws-query-replace):
14506 * sort.el (sort-regexp-fields):
14507 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
14508
14509 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14510
14511 * dabbrev.el: Fix cycle completion order (bug#10963).
14512 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
14513 (dabbrev-completion): Don't use an obarray; provide
14514 a cycle-sort-function.
14515
14516 2012-03-12 Leo Liu <sdl.web@gmail.com>
14517
14518 * simple.el (kill-new): Use equal-including-properties for comparison.
14519 (kill-do-not-save-duplicates): Doc fix.
14520
14521 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14522
14523 * dabbrev.el: Fix cycle completion (bug#10963).
14524 Use lexical binding and wrap to 80 columns.
14525 (dabbrev-completion): Delay computing the list of completions.
14526
14527 2012-03-12 Kenichi Handa <handa@m17n.org>
14528
14529 * international/quail.el (quail-insert-kbd-layout): Surround each
14530 row by LRO and PDF instead of inserting many LRMs. Pad the left
14531 and right of each non-spacing marks. Insert invisible space
14532 between lower and upper characters to prevent composition.
14533
14534 2012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
14535
14536 * minibuffer.el (minibuffer-complete): Don't get confused when the
14537 function is run twice via different commands (bug#10958).
14538 (complete-with-action): Fix docstring.
14539
14540 2012-03-12 Chong Yidong <cyd@gnu.org>
14541
14542 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
14543 (nxml-completion-at-point-function): New function.
14544 (nxml-mode): Use it.
14545 (nxml-bind-meta-tab-to-complete-flag): Default to t.
14546
14547 * emacs-lisp/package.el (package-unpack, package-unpack-single):
14548 Load generated autoloads file before byte compiling (Bug#10970).
14549 (package--make-autoloads-and-compile): New helper fun.
14550
14551 2012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
14552
14553 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
14554
14555 2012-03-11 Michael Albinus <michael.albinus@gmx.de>
14556
14557 * autorevert.el (auto-revert-handler): Ensure, that
14558 file-readable-p is applied only for local files or in
14559 auto-revert-tail-mode.
14560
14561 2012-03-11 Andreas Schwab <schwab@linux-m68k.org>
14562
14563 * server.el (server-eval-at): Handle non-tcp connections.
14564 Decode result string.
14565
14566 * server.el (server-msg-size): New constant.
14567 (server-reply-print): New function.
14568 (server-eval-and-print): Use it.
14569 (server-eval-at): Use server-quote-arg and server-unquote-arg.
14570 Handle -print-nonl.
14571
14572 2012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
14573
14574 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
14575 (Bug#10987).
14576
14577 2012-03-11 Chong Yidong <cyd@gnu.org>
14578
14579 * simple.el (goto-line): Doc fix (Bug#9938).
14580
14581 * subr.el (save-window-excursion): Doc fix (Bug#9979).
14582
14583 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
14584 when finished (Bug#10963).
14585
14586 2012-03-11 Martin Rudalics <rudalics@gmx.at>
14587
14588 * window.el (split-window-below): Fix bug in case where
14589 split-window-keep-point is nil (Bug#10971).
14590
14591 2012-03-11 Juri Linkov <juri@jurta.org>
14592
14593 * replace.el (replace-highlight): Set isearch-word to nil
14594 unconditionally. (Bug#10887)
14595
14596 2012-03-10 Eli Zaretskii <eliz@gnu.org>
14597
14598 * net/mairix.el (mairix-replace-invalid-chars): Rename from
14599 mairix-replace-illegal-chars; all callers changed. Don't remove
14600 ^, ~, and = characters: they are meaningful in mairix search specs.
14601 (mairix-widget-create-query): Add usage information about mairix
14602 search forms: negating words, searching for substrings, etc.
14603
14604 2012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
14605
14606 * international/fontset.el (font-encoding-alist): Add an entry for
14607 ksx1001 (Bug#5667).
14608
14609 2012-03-10 Richard Stallman <rms@gnu.org>
14610
14611 * mail/sendmail.el (mail-encode-header):
14612 Set rfc2047-encode-encoded-words.
14613
14614 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
14615
14616 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
14617 view buffer means not swapped.
14618 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
14619 (rmail-write-region-annotate): Error if real text has disappeared.
14620
14621 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
14622
14623 2012-03-10 Chong Yidong <cyd@gnu.org>
14624
14625 * emulation/cua-rect.el (cua--init-rectangles):
14626 * emulation/cua-base.el (cua--init-keymaps):
14627 Add delete-forward-char to remappings (Bug#9666).
14628
14629 2012-03-10 Martin Rudalics <rudalics@gmx.at>
14630
14631 * speedbar.el (speedbar-unhighlight-one-tag-line):
14632 Avoid unhighlighting due to frame switching (Bug#10275).
14633
14634 2012-03-10 Chong Yidong <cyd@gnu.org>
14635
14636 * minibuffer.el (completion-in-region, completion-help-at-point):
14637 Give the completion field overlay a high priority (Bug#6830).
14638
14639 * dired.el (dired-goto-file): Recognize absolute file name
14640 listings (Bug#7126).
14641 (dired-goto-file-1): New helper function.
14642 (dired-toggle-read-only): Inhibit warnings.
14643
14644 2012-03-09 Michael Albinus <michael.albinus@gmx.de>
14645
14646 * net/dbus.el (dbus-property-handler): Return empty array if
14647 there are no properties.
14648
14649 2012-03-09 Leo Liu <sdl.web@gmail.com>
14650
14651 * savehist.el (savehist-printable): Stricter check for string
14652 value (Bug#10937).
14653
14654 2012-03-09 Eli Zaretskii <eliz@gnu.org>
14655
14656 * mail/smtpmail.el (smtpmail-send-it):
14657 Bind coding-system-for-write to *-unix, so that FCC files are kept in
14658 valid mbox format.
14659
14660 2012-03-09 Glenn Morris <rgm@gnu.org>
14661
14662 * files.el (dir-locals-find-file):
14663 Don't check result is regular, readable.
14664 (dir-locals-read-from-file): Demote errors.
14665
14666 2012-03-08 Eli Zaretskii <eliz@gnu.org>
14667
14668 * international/quail.el (quail-insert-kbd-layout):
14669 Insert invisible LRM characters before each character in a keyboard
14670 layout cell, to prevent their reordering by bidi display engine.
14671 For details, see the discussion in
14672 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
14673
14674 2012-03-08 Alan Mackenzie <acm@muc.de>
14675
14676 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
14677 the starting position; make it extend the marked region when
14678 invoked repeatedly - all under appropriate circumstances.
14679 Fixes bugs #5525, #10906.
14680
14681 2012-03-08 Glenn Morris <rgm@gnu.org>
14682
14683 * files.el (locate-dominating-file, dir-locals-find-file):
14684 Undo 2012-03-06 change.
14685
14686 2012-03-07 Eli Zaretskii <eliz@gnu.org>
14687
14688 * international/quail.el (quail-help):
14689 Force bidi-paragraph-direction be left-to-right. See discussion in
14690 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
14691 for the reason.
14692
14693 2012-03-07 Michael Albinus <michael.albinus@gmx.de>
14694
14695 Avoid superfluous registering of signals. (Bug#10807)
14696
14697 * notifications.el (notifications-on-action-object)
14698 (notifications-on-close-object): New defvars.
14699 (notifications-on-action-signal, notifications-on-closed-signal):
14700 Unregister the signal if not needed any longer.
14701 (notifications-notify): Register `notifications-action-signal' or
14702 `notifications-closed-signal', if :on-action or :on-close has been
14703 passed as argument.
14704
14705 2012-03-07 Chong Yidong <cyd@gnu.org>
14706
14707 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
14708 non-X platforms.
14709
14710 2012-03-06 Glenn Morris <rgm@gnu.org>
14711
14712 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
14713 (x-disown-selection-internal, x-get-selection-internal):
14714 Doc fix (add arglist signatures). (Bug#10783)
14715
14716 2012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
14717
14718 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
14719 Handle breakpoints with no "type".
14720
14721 2012-03-06 Glenn Morris <rgm@gnu.org>
14722
14723 * files.el (locate-dominating-file): Add optional predicate argument.
14724 (dir-locals-find-file): Make use of above change.
14725
14726 2012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
14727
14728 * info.el (Info-insert-dir): Also try "dir.gz".
14729
14730 2012-03-06 Glenn Morris <rgm@gnu.org>
14731
14732 * files.el (dir-locals-find-file):
14733 Ignore non-readable or non-regular files. (Bug#10928)
14734
14735 * files.el (locate-dominating-file): Doc fix.
14736
14737 2012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
14738
14739 * calendar/calendar.el (calendar-set-mode-line):
14740 `getenv' returns a string. (Bug#10951)
14741
14742 2012-03-05 Leo Liu <sdl.web@gmail.com>
14743
14744 * simple.el (backward-delete-char-untabify): Constrain point to
14745 field (Bug#10939).
14746
14747 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
14748
14749 2012-03-05 Chong Yidong <cyd@gnu.org>
14750
14751 * simple.el (count-words): If called from Lisp, return the word
14752 count, for symmetry with `count-lines'. Arglist changed.
14753 (count-words--message): Args changed. Consolidate counting code
14754 from count-words and count-words-region.
14755 (count-words-region): Caller changed.
14756 (count-lines-region): Make it an obsolete alias.
14757
14758 2012-03-04 Tassilo Horn <tassilo@member.fsf.org>
14759
14760 * saveplace.el (save-place-to-alist)
14761 (save-place-ignore-files-regexp): Allow value nil to disable this
14762 feature.
14763
14764 2012-03-04 Chong Yidong <cyd@gnu.org>
14765
14766 * faces.el (face-spec-reset-face): For the default face, reset the
14767 attributes to default values (Bug#10748).
14768
14769 2012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
14770
14771 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
14772 previous patch: Check `message-send-mail-function', and not the
14773 default function (bug#10897).
14774
14775 2012-03-04 Michael Albinus <michael.albinus@gmx.de>
14776
14777 * notifications.el (notifications-on-action-signal)
14778 (notifications-on-closed-signal): Check for unique service name of
14779 incoming event. Fix error in removing entry.
14780 (top): Register for signals with wildcard service name.
14781 (notifications-notify): Use daemon unique service name for map entries.
14782
14783 2012-03-04 Chong Yidong <cyd@gnu.org>
14784
14785 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
14786
14787 2012-03-04 Glenn Morris <rgm@gnu.org>
14788
14789 * abbrev.el (copy-abbrev-table, abbrev-table-p)
14790 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
14791 (expand-abbrev, define-abbrev-table): Doc fixes.
14792
14793 2012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
14794
14795 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
14796 `message-default-send-mail-function' and not `send-mail-function'
14797 when doing the prompting for `sendmail-query-once' before sending
14798 in Message buffers (bug#10897).
14799
14800 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
14801 This is inconsistent with all the other stream functions, which leave
14802 the setting up to the higher levels (if so wanted) (bug#10931).
14803
14804 2012-03-02 Alan Mackenzie <acm@muc.de>
14805
14806 Depessimize the handling of very large macros.
14807
14808 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
14809 (c-macro-cache-syntactic): New variables to implement a one
14810 element macro cache.
14811 (c-invalidate-macro-cache): New function.
14812 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
14813 Adapt to use the new cache.
14814 (c-state-safe-place): Use better the cache of safe positions.
14815 (c-state-semi-nonlit-pos-cache)
14816 (c-state-semi-nonlit-pos-cache-limit):
14817 New variables for...
14818 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
14819 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
14820 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
14821 Use c-state-semi-safe-place.
14822
14823 * progmodes/cc-langs.el (c-get-state-before-change-functions):
14824 Add c-invalidate-macro-cache to the C, C++, Obj entries.
14825
14826 2012-03-02 Michael Albinus <michael.albinus@gmx.de>
14827
14828 * jka-compr.el (jka-compr-call-process):
14829 Apply `file-accessible-directory-p' only when the default directory is
14830 not remote.
14831
14832 2012-03-01 Michael Albinus <michael.albinus@gmx.de>
14833
14834 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
14835 access of FILE2, if FILE1 does not exist.
14836
14837 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
14838 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
14839
14840 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
14841 Add "PAGER=" to `process-environment'.
14842
14843 2012-03-01 Michael R. Mauger <mmaug@yahoo.com>
14844
14845 * progmodes/sql.el: Bug fix
14846 (sql-get-login-ext): Save login values in globals.
14847 (sql-get-login): Use new version of `sql-get-login-ext'.
14848 (sql-interactive-mode): Set global `sql-connection' to nil.
14849 (sql-connect): Set global values for connection.
14850 (sql-product-interactive): Save global values as buffer local.
14851
14852 2012-02-29 Leo Liu <sdl.web@gmail.com>
14853
14854 * abbrev.el (define-abbrevs): Reset sys to nil.
14855
14856 2012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14857
14858 * files.el (file-equal-p): Rename from `files-equal-p'.
14859 Return nil when one or both files don't exist.
14860 (file-subdir-of-p): Now only top directory must exists,
14861 return nil if it doesn't.
14862 (copy-directory): No need to test with `file-subdir-of-p' after
14863 creating dir.
14864 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
14865 to `file-equal-p'.
14866
14867 2012-02-28 Glenn Morris <rgm@gnu.org>
14868
14869 * shell.el (shell-mode):
14870 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
14871 * play/landmark.el (landmark-font-lock-face-O):
14872 * play/handwrite.el (handwrite):
14873 * play/gomoku.el (gomoku-O):
14874 * net/browse-url.el (browse-url-browser-display):
14875 * international/mule.el (define-charset):
14876 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
14877 * filesets.el (filesets-find-file-delay):
14878 * eshell/em-xtra.el (eshell-xtra):
14879 * eshell/em-unix.el (eshell-grep):
14880 * emulation/viper.el (viper-mode):
14881 * emacs-lisp/regexp-opt.el (regexp-opt-group):
14882 * emacs-lisp/easymenu.el (easy-menu-define):
14883 * calendar/timeclock.el (timeclock-use-display-time):
14884 * bs.el (bs-mode):
14885 * bookmark.el (bookmark-save-flag):
14886 Doc fix (standardize possessive apostrophe usage).
14887
14888 2012-02-27 Chong Yidong <cyd@gnu.org>
14889
14890 * emulation/viper-cmd.el (viper-intercept-ESC-key):
14891 Fix key-binding lookup for ESC key (Bug#9146).
14892
14893 * font-lock.el (font-lock-specified-p): Rename from
14894 font-lock-spec-present. Callers changed.
14895
14896 2012-02-27 Daniel Hackney <dan@haxney.org>
14897
14898 * emacs-lisp/package.el (package-compute-transaction):
14899 Handle holding a package version to t in package-load-list.
14900
14901 2012-02-26 Michael Albinus <michael.albinus@gmx.de>
14902
14903 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
14904 (tramp-get-inode, tramp-get-device): Use cached values.
14905
14906 2012-02-26 Alan Mackenzie <acm@muc.de>
14907
14908 Check there is a font-lock specification before doing initial
14909 fontification.
14910
14911 * font-core.el (font-lock-mode): Move the conditional from
14912 :after-hook to font-lock-initial-fontify.
14913 (font-lock-default-function): Move the check for a specification
14914 to font-lock-spec-present.
14915
14916 * font-lock.el (font-lock-initial-fontify): Call ...
14917 (font-lock-spec-present): New function.
14918
14919 2012-02-26 Jim Blandy <jimb@red-bean.com>
14920
14921 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
14922 (gdb-send): Apply it to the operand of the '-interpreter-exec
14923 console' command, so that we can pass arguments with (say) quotes
14924 in them. Store exact string sent in gdb-debug-log (Bug#10765).
14925
14926 2012-02-26 Chong Yidong <cyd@gnu.org>
14927
14928 * help-fns.el (describe-function-1): Clarify description of
14929 remapping (Bug#10844).
14930
14931 * files.el (files-equal-p): Doc fix.
14932 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
14933 and quit the loop once a mismatch is found.
14934
14935 2012-02-25 Juanma Barranquero <lekktu@gmail.com>
14936
14937 * bs.el (bs--show-with-configuration): Don't throw an error
14938 if the window cannot be split; otherwise, subsequent calls to
14939 bs-show fail, restoring a stale window config. (Bug#10882)
14940
14941 2012-02-25 Jan Djärv <jan.h.d@swipnet.se>
14942
14943 * term/ns-win.el (global-map): Bind ns-drag-file to
14944 ns-find-file (Bug#5855, Bug#10050).
14945
14946 2012-02-25 Andreas Schwab <schwab@linux-m68k.org>
14947
14948 * calendar/parse-time.el (parse-time-string): Allow extractor to
14949 return nil.
14950
14951 2012-02-25 Michael Albinus <michael.albinus@gmx.de>
14952
14953 * net/tramp.el (tramp-file-name-for-operation):
14954 Add `files-equal-p' and `file-subdir-of-p'.
14955
14956 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
14957 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
14958 Add COPY-CONTENTS argument.
14959
14960 2012-02-25 Chong Yidong <cyd@gnu.org>
14961
14962 Add custom groups for VC backends, for consistency with vc-bzr.
14963
14964 * vc/vc-arch.el (vc-arch):
14965 * vc/vc-cvs.el (vc-cvs):
14966 * vc/vc-git.el (vc-git):
14967 * vc/vc-hg.el (vc-hg):
14968 * vc/vc-mtn.el (vc-mtn):
14969 * vc/vc-rcs.el (vc-rcs):
14970 * vc/vc-sccs.el (vc-sccs):
14971 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
14972 All relevant defcustoms reassigned.
14973
14974 2012-02-25 Chong Yidong <cyd@gnu.org>
14975
14976 * newcomment.el (comment-styles): Add autoload (Bug#10868).
14977
14978 * term/x-win.el (x-initialize-window-system): Reduce default for
14979 x-selection-timeout to 5 seconds (Bug#8869).
14980
14981 2012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
14982
14983 * files.el (files-equal-p, file-subdir-of-p): New functions.
14984 (copy-directory): Error when trying to copy a directory on itself.
14985 Add missing copy-contents arg to tramp handler.
14986 * dired-aux.el (dired-copy-file-recursive): Same.
14987 (dired-create-files): Modify destination when source is equal to
14988 dest when copying files.
14989 Return also when dest is a subdir of source. (Bug#10489)
14990
14991 2012-02-24 Michael Albinus <michael.albinus@gmx.de>
14992
14993 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
14994 (Bug#10874)
14995
14996 2012-02-23 Alan Mackenzie <acm@muc.de>
14997
14998 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
14999 parameter "after-hook:" to allow the expansion to run code after
15000 the execution of the mode hooks.
15001
15002 * font-lock.el (font-lock-initial-fontify): New function extracted
15003 from font-lock-mode-internal.
15004
15005 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
15006 :after-hook.
15007
15008 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
15009
15010 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
15011 (completion--cache-all-sorted-completions): New function.
15012 (completion-all-sorted-completions): Use it.
15013 (completion--do-completion, minibuffer-force-complete):
15014 Use it to re-instate the flush hook.
15015
15016 * icomplete.el (icomplete-completions): Replace last fix with a better
15017 one (bug#10850).
15018
15019 2012-02-23 Dmitry Gutov <dgutov@yandex.ru>
15020
15021 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
15022 when it might call us back infinitely (bug#10797).
15023
15024 2012-02-23 Glenn Morris <rgm@gnu.org>
15025
15026 * minibuffer.el (completion-category-overrides): Doc fix.
15027
15028 2012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
15029
15030 * minibuffer.el (completion-table-with-context): Fix inf-loop.
15031 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
15032
15033 2012-02-23 Glenn Morris <rgm@gnu.org>
15034
15035 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
15036 (authors-obsolete-files-regexps, authors-ignored-files)
15037 (authors-ambiguous-files, authors-renamed-files-alist):
15038 Add more entries.
15039
15040 2012-02-23 Juri Linkov <juri@jurta.org>
15041
15042 * isearch.el (isearch-occur): Sync interactive spec with occur's
15043 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
15044
15045 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
15046
15047 2012-02-22 Juri Linkov <juri@jurta.org>
15048
15049 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
15050 (ucs-insert): Doc fix. Check for hex digits in the string.
15051 Don't display `nil' in the error message. (Bug#10857)
15052
15053 2012-02-22 Alan Mackenzie <acm@muc.de>
15054
15055 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
15056
15057 2012-02-22 Glenn Morris <rgm@gnu.org>
15058
15059 * ffap.el (ffap-c-path):
15060 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
15061
15062 2012-02-22 Chong Yidong <cyd@gnu.org>
15063
15064 * custom.el (load-theme): Doc fix.
15065
15066 2012-02-22 Glenn Morris <rgm@gnu.org>
15067
15068 * dired-x.el (dired-guess-shell-alist-default):
15069 Remove escape sequences from nroff output. (Bug#172)
15070
15071 2012-02-21 Glenn Morris <rgm@gnu.org>
15072
15073 * vc/emerge.el (emerge-defvar-local):
15074 Set `permanent-local' property rather than unused `preserved'.
15075
15076 * textmodes/picture.el (picture-delete-char): New alias.
15077 (picture-mode-map): Use it. (Bug#10860)
15078 (picture-mode): Doc fix.
15079
15080 2012-02-21 Juanma Barranquero <lekktu@gmail.com>
15081
15082 * newcomment.el (uncomment-region-default): Remove unused binding.
15083
15084 2012-02-21 Glenn Morris <rgm@gnu.org>
15085
15086 * textmodes/picture.el (picture-motion, picture-motion-reverse)
15087 (picture-self-insert, picture-tab-chars): Doc fix.
15088 (picture-mode-map): Fix C-a, C-e.
15089
15090 2012-02-20 Glenn Morris <rgm@gnu.org>
15091
15092 * emacs-lisp/authors.el (authors-aliases): Add another entry.
15093
15094 2012-02-20 Leo Liu <sdl.web@gmail.com>
15095
15096 * icomplete.el (icomplete-completions): Check FROM arg before
15097 passing to substring (Bug#10850).
15098
15099 2012-02-19 Chong Yidong <cyd@gnu.org>
15100
15101 * comint.el: Require ansi-color.
15102 (comint-output-filter-functions): Add ansi-color-process-output.
15103
15104 * ansi-color.el: Don't set comint-output-filter-functions; it is
15105 now in the initial value defined in comint.el.
15106 (ansi-color-apply-face-function): New variable.
15107 (ansi-color-apply-on-region): Use it.
15108 (ansi-color-apply-overlay-face): New function.
15109
15110 * shell.el (shell): No need to require ansi-color.
15111 (shell-mode): Use ansi-color-apply-face-function to highlight
15112 color escapes using font-lock-face property (Bug#10835).
15113
15114 2012-02-19 Chong Yidong <cyd@gnu.org>
15115
15116 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
15117 mode-line formats (Bug#10839).
15118
15119 2012-02-18 Glenn Morris <rgm@gnu.org>
15120
15121 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
15122
15123 * mail/undigest.el (unforward-rmail-message): Doc fix.
15124
15125 * saveplace.el (save-place-ignore-files-regexp): Add :version.
15126
15127 2012-02-18 Eli Zaretskii <eliz@gnu.org>
15128
15129 * international/characters.el (script-list): Sync with the latest
15130 Unicode Character Database.
15131
15132 2012-02-18 Andreas Schwab <schwab@linux-m68k.org>
15133
15134 * international/titdic-cnv.el: Remove duplicate coding tag.
15135 * language/cham.el: Likewise.
15136 * language/tai-viet.el: Likewise.
15137
15138 2012-02-18 Glenn Morris <rgm@gnu.org>
15139
15140 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
15141 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
15142 (calendar-bahai-all-holidays-flag, calendar-other-dates):
15143 * calendar/diary-lib.el (diary-abbreviated-year-flag):
15144 * calendar/holidays.el (holiday-bahai-holidays)
15145 (calendar-holidays, list-holidays):
15146 Use utf-8 Bahá'í in doc-strings, menus, etc.
15147
15148 2012-02-17 Tassilo Horn <tassilo@member.fsf.org>
15149
15150 * saveplace.el (save-place-ignore-files-regexp): New variable
15151 allowing for excluding files from saving their location of point.
15152 The default value matches the temporary commit message editing
15153 files from Git, SVN, Bazaar, and Mercurial.
15154 (save-place-to-alist): Use it.
15155
15156 2012-02-17 Lawrence Mitchell <wence@gmx.li>
15157 Stefan Monnier <monnier@iro.umontreal.ca>
15158
15159 * newcomment.el (uncomment-region-default): Don't leave extra space
15160 when an arg is provided (bug#8150).
15161
15162 2012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
15163
15164 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
15165
15166 2012-02-17 Glenn Morris <rgm@gnu.org>
15167
15168 * net/socks.el: Require network-stream. (Bug#10599)
15169
15170 2012-02-17 Kenichi Handa <handa@m17n.org>
15171
15172 * international/charprop.el:
15173 * international/uni-name.el:
15174 * international/uni-old-name.el:
15175 * international/uni-comment.el: Regenerate.
15176
15177 2012-02-16 Glenn Morris <rgm@gnu.org>
15178
15179 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
15180 Interactively in calendar buffer, give an error if not on a date.
15181
15182 2012-02-15 Glenn Morris <rgm@gnu.org>
15183
15184 * shell.el (shell-delimiter-argument-list):
15185 Revert 2011-02-17 change. (Bug#8027)
15186
15187 2012-02-15 Chong Yidong <cyd@gnu.org>
15188
15189 * minibuffer.el (completion-at-point-functions): Doc fix.
15190
15191 * custom.el (defcustom): Doc fix; note use of defvar.
15192
15193 2012-02-15 Glenn Morris <rgm@gnu.org>
15194
15195 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
15196 Doc fixes.
15197
15198 2012-02-14 Glenn Morris <rgm@gnu.org>
15199
15200 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
15201
15202 2012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
15203
15204 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
15205 way the ports list is computed.
15206 (smtpmail-query-smtp-server): Prompt the user for a port number if
15207 we can't connect to any of the standard ports (bug#10810).
15208
15209 2012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
15210
15211 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
15212
15213 2012-02-13 Glenn Morris <rgm@gnu.org>
15214
15215 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
15216
15217 2012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
15218
15219 * net/gnutls.el (gnutls-trustfiles): New variable.
15220 (gnutls-negotiate): Use it.
15221
15222 2012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
15223
15224 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
15225 does its stuff if Gnus is running.
15226
15227 2012-02-13 Alan Mackenzie <acm@muc.de>
15228
15229 Fix a loop in c-set-fl-decl-start.
15230
15231 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
15232 c-backward-syntactic-ws actually moves backwards.
15233
15234 2012-02-13 Leo Liu <sdl.web@gmail.com>
15235
15236 * net/rcirc.el (rcirc-markup-attributes): Move point to the
15237 beginning so that all \C-o chars are removed.
15238
15239 2012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
15240
15241 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
15242
15243 2012-02-12 Alan Mackenzie <acm@muc.de>
15244
15245 Fix infinite loop with long macros.
15246 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
15247
15248 2012-02-12 Chong Yidong <cyd@gnu.org>
15249
15250 * window.el (display-buffer): Doc fix (Bug#10785).
15251
15252 2012-02-12 Glenn Morris <rgm@gnu.org>
15253
15254 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
15255 (x-disown-selection-internal, x-get-selection-internal):
15256 Sync docs with the xselect.c versions.
15257
15258 * allout-widgets.el: Add missing license notice.
15259
15260 2012-02-11 Glenn Morris <rgm@gnu.org>
15261
15262 * select.el (x-get-selection-internal, x-own-selection-internal)
15263 (x-disown-selection-internal):
15264 * x-dnd.el (x-get-selection-internal): Update declarations.
15265
15266 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
15267
15268 * window.el (window-sides-slots):
15269 * tool-bar.el (tool-bar-position):
15270 * term/xterm.el (xterm-extra-capabilities):
15271 * ses.el (ses-self-reference-early-detection):
15272 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
15273 (verilog-auto-wire-type)
15274 (verilog-auto-delete-trailing-whitespace)
15275 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
15276 (verilog-auto-tieoff-declaration):
15277 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
15278 (sql-oracle-statement-starters, sql-oracle-scan-on):
15279 * progmodes/prolog.el (prolog-align-comments-flag)
15280 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
15281 (prolog-left-indent-regexp, prolog-paren-indent-p)
15282 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
15283 (prolog-types, prolog-mode-specificators)
15284 (prolog-determinism-specificators, prolog-directives)
15285 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
15286 (prolog-electric-dot-flag)
15287 (prolog-electric-dot-full-predicate-template)
15288 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
15289 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
15290 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
15291 (prolog-program-switches, prolog-prompt-regexp)
15292 (prolog-debug-on-string, prolog-debug-off-string)
15293 (prolog-trace-on-string, prolog-trace-off-string)
15294 (prolog-zip-on-string, prolog-zip-off-string)
15295 (prolog-use-standard-consult-compile-method-flag)
15296 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
15297 (prolog-imenu-max-lines, prolog-info-predicate-index)
15298 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
15299 (prolog-char-quote-workaround):
15300 * progmodes/cc-vars.el (c-defun-tactic):
15301 * net/tramp.el (tramp-encoding-command-interactive)
15302 (tramp-local-end-of-line):
15303 * net/soap-client.el (soap-client):
15304 * net/netrc.el (netrc-file):
15305 * net/gnutls.el (gnutls):
15306 * minibuffer.el (completion-category-overrides)
15307 (completion-cycle-threshold)
15308 (completion-pcm-complete-word-inserts-delimiters):
15309 * man.el (Man-name-local-regexp):
15310 * mail/feedmail.el (feedmail-display-full-frame):
15311 * international/characters.el (glyphless-char-display-control):
15312 * eshell/em-ls.el (eshell-ls-date-format):
15313 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
15314 (lisp-lambda-list-keyword-parameter-indentation)
15315 (lisp-lambda-list-keyword-parameter-alignment):
15316 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
15317 * dired-x.el (dired-omit-verbose):
15318 * cus-theme.el (custom-theme-allow-multiple-selections):
15319 * calc/calc.el (calc-highlight-selections-with-faces)
15320 (calc-lu-field-reference, calc-lu-power-reference)
15321 (calc-note-threshold):
15322 * battery.el (battery-mode-line-limit):
15323 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
15324 (archive-7z-update):
15325 * allout.el (allout-prefixed-keybindings)
15326 (allout-unprefixed-keybindings)
15327 (allout-inhibit-auto-fill-on-headline)
15328 (allout-flattened-numbering-abbreviation):
15329 * allout-widgets.el (allout-widgets-auto-activation)
15330 (allout-widgets-icons-dark-subdir)
15331 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
15332 (allout-widgets-theme-dark-background)
15333 (allout-widgets-theme-light-background)
15334 (allout-widgets-item-image-properties-emacs)
15335 (allout-widgets-item-image-properties-xemacs)
15336 (allout-widgets-run-unit-tests-on-load)
15337 (allout-widgets-time-decoration-activity)
15338 (allout-widgets-hook-error-post-time)
15339 (allout-widgets-track-decoration):
15340 Add missing :version tags to new defcustoms and defgroups.
15341
15342 * progmodes/sql.el (sql-ansi-statement-starters)
15343 (sql-oracle-statement-starters): Add custom type.
15344
15345 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
15346 (prolog-system-version): Give it a type.
15347
15348 2012-02-11 Eli Zaretskii <eliz@gnu.org>
15349
15350 * term/pc-win.el (x-select-text, x-selection-owner-p)
15351 (x-own-selection-internal, x-disown-selection-internal)
15352 (x-get-selection-internal): Sync doc strings and argument lists
15353 with xselect.c, common-win.el and x-win.el. (Bug#10783)
15354
15355 2012-02-11 Leo Liu <sdl.web@gmail.com>
15356
15357 * progmodes/python.el (python-end-of-statement): Fix infinite
15358 loop. (Bug#10788)
15359
15360 2012-02-10 Glenn Morris <rgm@gnu.org>
15361
15362 * international/mule-cmds.el (unify-8859-on-encoding-mode)
15363 (unify-8859-on-decoding-mode): Properly mark as obsolete.
15364
15365 2012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
15366
15367 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
15368 about SMTP before checking the From header.
15369
15370 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
15371 into own function for reuse by emacsbug.el.
15372
15373 2012-02-10 Leo Liu <sdl.web@gmail.com>
15374
15375 * subr.el (condition-case-unless-debug): Rename from
15376 condition-case-no-debug. All callers changed.
15377 (with-demoted-errors): Fix caller.
15378
15379 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
15380 * nxml/rng-valid.el (rng-do-some-validation):
15381 * emacs-lisp/package.el (package-refresh-contents)
15382 (package-menu-execute):
15383 * desktop.el (desktop-create-buffer):
15384 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
15385
15386 2012-02-10 Glenn Morris <rgm@gnu.org>
15387
15388 * textmodes/bibtex.el:
15389 Add missing :version tags for new/changed defcustoms.
15390
15391 * files.el (remote-file-name-inhibit-cache): Doc fixes.
15392
15393 2012-02-09 Lars Ingebrigtsen <larsi@rusty>
15394
15395 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
15396 (smtpmail-via-smtp): Use it, or fall back on the From address.
15397 (smtpmail-send-it): Ditto.
15398
15399 2012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
15400
15401 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
15402 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
15403 (byte-compile-tmp-var): New const.
15404 (byte-compile-defvar): Use it to minimize .elc size.
15405 Just use `defvar' rather than simulate it (bug#10761).
15406
15407 2012-02-09 Glenn Morris <rgm@gnu.org>
15408
15409 * files.el (rename-uniquely): Doc fix. (Bug#3806)
15410
15411 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
15412 Add :version tags.
15413
15414 * progmodes/compile.el (compilation-error-screen-columns)
15415 (compilation-first-column, compilation-filter-start): Doc fixes.
15416
15417 * vc/log-view.el (log-view-toggle-entry-display):
15418 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
15419
15420 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
15421 (report-emacs-bug-can-use-xdg-email):
15422 (report-emacs-bug-insert-to-mailer): Doc fixes.
15423 (report-emacs-bug): Message fix.
15424
15425 * net/browse-url.el (browse-url-can-use-xdg-open)
15426 (browse-url-xdg-open): Doc fixes.
15427
15428 * electric.el (electric-indent-mode, electric-pair-mode)
15429 (electric-layout-rules, electric-layout-mode): Doc fixes.
15430 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
15431
15432 2012-02-08 Martin Rudalics <rudalics@gmx.at>
15433
15434 * server.el (server-unselect-display): Don't inadvertently kill
15435 the current buffer. (Bug#10729)
15436
15437 2012-02-08 Glenn Morris <rgm@gnu.org>
15438
15439 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
15440 (sql-list-table): Doc fixes.
15441
15442 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
15443 Comment out (does nothing).
15444
15445 * completion.el (dynamic-completion-mode):
15446 * dirtrack.el (dirtrack-debug-mode):
15447 * electric.el (electric-layout-mode):
15448 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
15449 * face-remap.el (text-scale-mode, buffer-face-mode):
15450 * iimage.el (iimage-mode):
15451 * image-mode.el (image-transform-mode):
15452 * minibuffer.el (completion-in-region-mode):
15453 * scroll-lock.el (scroll-lock-mode):
15454 * simple.el (next-error-follow-minor-mode):
15455 * tar-mode.el (tar-subfile-mode):
15456 * tooltip.el (tooltip-mode):
15457 * vcursor.el (vcursor-use-vcursor-map):
15458 * wid-browse.el (widget-minor-mode):
15459 * emulation/tpu-edt.el (tpu-edt-mode):
15460 * emulation/tpu-extras.el (tpu-cursor-free-mode):
15461 * international/iso-ascii.el (iso-ascii-mode):
15462 * language/thai-util.el (thai-word-mode):
15463 * mail/supercite.el (sc-minor-mode):
15464 * net/goto-addr.el (goto-address-mode):
15465 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
15466 * progmodes/cwarn.el (cwarn-mode):
15467 * progmodes/flymake.el (flymake-mode):
15468 * progmodes/glasses.el (glasses-mode):
15469 * progmodes/hideshow.el (hs-minor-mode):
15470 * progmodes/pascal.el (pascal-outline-mode):
15471 * textmodes/enriched.el (enriched-mode):
15472 * vc/smerge-mode.el (smerge-mode):
15473 Doc fixes (minor mode argument).
15474
15475 2012-02-07 Eli Zaretskii <eliz@gnu.org>
15476
15477 * ls-lisp.el (ls-lisp-sanitize): New function.
15478 (ls-lisp-insert-directory): Use it to fix or remove any elements
15479 in file-alist with missing attributes. (Bug#4673)
15480
15481 2012-02-07 Alan Mackenzie <acm@muc.de>
15482
15483 Fix spurious recognition of c-in-knr-argdecl.
15484
15485 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
15486 putative K&R region.
15487
15488 2012-02-07 Alan Mackenzie <acm@muc.de>
15489
15490 * progmodes/cc-engine.el (c-forward-objc-directive):
15491 Prevent looping in "#pragma mark @implementation".
15492
15493 2012-02-07 Michael Albinus <michael.albinus@gmx.de>
15494
15495 * notifications.el (notifications-on-closed-signal): Make `reason'
15496 optional. (Bug#10744)
15497
15498 2012-02-07 Glenn Morris <rgm@gnu.org>
15499
15500 * emacs-lisp/easy-mmode.el (define-minor-mode):
15501 Doc fixes for the macro and the mode it defines.
15502
15503 * image.el (imagemagick-types-inhibit): Doc fix.
15504
15505 * cus-start.el (imagemagick-render-type): Add it.
15506
15507 2012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
15508
15509 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
15510 Set the default at load time, too, so that `font-lock-fontify-buffer'
15511 can be called without setting up the entire mode first. This fixes
15512 a bug in `mm-inline-text' with C MIME parts.
15513
15514 2012-02-06 Chong Yidong <cyd@gnu.org>
15515
15516 * simple.el (list-processes--refresh): Delete exited processes
15517 (Bug#8094).
15518
15519 * comint.el (comint-next-prompt): next-single-char-property-change
15520 and prev-single-char-property-change never return nil (Bug#8657).
15521
15522 * custom.el (defcustom): Doc fix (Bug#9711).
15523
15524 2012-02-05 Chong Yidong <cyd@gnu.org>
15525
15526 * cus-edit.el (custom-variable-reset-backup): Quote the value
15527 before storing it in the customized-value property (Bug#6712).
15528 (custom-display): Add a customization type tag.
15529 (custom-buffer-create-internal): Improve tooltip message.
15530
15531 * wid-edit.el (widget-field-value-get): New optional arg to
15532 suppress trailing whitespace truncation.
15533 (character): Use it (Bug#2689).
15534
15535 2012-02-05 Andreas Schwab <schwab@linux-m68k.org>
15536
15537 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
15538 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
15539
15540 2012-02-05 Chong Yidong <cyd@gnu.org>
15541
15542 * cus-edit.el (custom-variable-value-create): For mismatched
15543 types, show the current value (Bug#7600).
15544
15545 * custom.el (defcustom): Doc fix.
15546
15547 2012-02-05 Glenn Morris <rgm@gnu.org>
15548
15549 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
15550
15551 2012-02-05 Juanma Barranquero <lekktu@gmail.com>
15552
15553 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
15554 (pp-buffer): Use `ignore-errors', `looking-at-p'.
15555 (pp-last-sexp): Use `looking-at-p'.
15556
15557 2012-02-04 Glenn Morris <rgm@gnu.org>
15558
15559 * files.el (revert-buffer):
15560 Doc fix (mention revert-buffer-in-progress-p).
15561
15562 * emacs-lisp/ert-x.el (ert-simulate-command):
15563 Check deferred-action-list (which is obsolete) is bound.
15564
15565 * subr.el (with-wrapper-hook): Doc fixes.
15566
15567 * simple.el (filter-buffer-substring-functions)
15568 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
15569
15570 2012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
15571
15572 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
15573 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
15574
15575 2012-02-04 Leo Liu <sdl.web@gmail.com>
15576
15577 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
15578
15579 2012-02-04 Glenn Morris <rgm@gnu.org>
15580
15581 * image.el (image-extension-data): Add obsolete alias.
15582
15583 * isearch.el (isearch-update): Doc fix.
15584
15585 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
15586
15587 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
15588
15589 2012-02-03 Glenn Morris <rgm@gnu.org>
15590
15591 * image.el (image-animated-p): Doc fix. Use image-animated-types.
15592 (image-animate-timeout): Doc fix.
15593
15594 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
15595
15596 2012-02-02 Glenn Morris <rgm@gnu.org>
15597
15598 * server.el (server-auth-dir): Doc fix.
15599 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
15600
15601 * subr.el (run-mode-hooks): Doc fix.
15602
15603 2012-02-02 Juri Linkov <juri@jurta.org>
15604
15605 * image-mode.el (image-toggle-display-image): Remove tautological
15606 `major-mode' from the `derived-mode-p' test.
15607
15608 2012-02-02 Kenichi Handa <handa@m17n.org>
15609
15610 * composite.el (compose-region): Cancel previous change.
15611
15612 2012-02-02 Kenichi Handa <handa@m17n.org>
15613
15614 * composite.el (compose-region, compose-string): Signal error for
15615 a null string component (Bug#6988).
15616
15617 2012-02-01 Chong Yidong <cyd@gnu.org>
15618
15619 * view.el (view-buffer-other-window, view-buffer-other-frame):
15620 Handle special modes like view-buffer (Bug#10650).
15621 (view-buffer): Simplify.
15622
15623 * frame.el (set-frame-font): Tweak meaning of third argument.
15624
15625 * dynamic-setting.el (font-setting-change-default-font):
15626 Use set-frame-font (Bug#9982).
15627
15628 2012-02-01 Glenn Morris <rgm@gnu.org>
15629
15630 * progmodes/compile.el (compilation-internal-error-properties):
15631 Respect compilation-first-column in the "*compilation*" buffer.
15632
15633 * emacs-lisp/easy-mmode.el (define-minor-mode):
15634 Relax :variable's test for a named function.
15635
15636 2012-01-31 Alan Mackenzie <acm@muc.de>
15637
15638 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
15639 off by one error.
15640
15641 2012-01-31 Chong Yidong <cyd@gnu.org>
15642
15643 * frame.el (set-frame-font): New arg ALL-FRAMES.
15644
15645 * menu-bar.el (menu-set-font): Use set-frame-font.
15646
15647 * faces.el (face-spec-reset-face): Don't apply unspecified
15648 attribute values to the default face.
15649
15650 2012-01-31 Juanma Barranquero <lekktu@gmail.com>
15651
15652 * progmodes/cwarn.el (cwarn): Remove dead link.
15653 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
15654 Remove * from defcustom docstrings.
15655 (turn-on-cwarn-mode): Make obsolete.
15656 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
15657 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
15658
15659 2012-01-31 Glenn Morris <rgm@gnu.org>
15660
15661 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
15662 Fix :variable handling of mode a symbol not equal to modefun.
15663 Allow named functions to be used as the cdr of :variable.
15664
15665 2012-01-30 Glenn Morris <rgm@gnu.org>
15666
15667 * emacs-lisp/authors.el (authors-fixed-entries):
15668 Remove reference to deleted file rnewspost.el.
15669
15670 2012-01-29 Juanma Barranquero <lekktu@gmail.com>
15671
15672 * window.el (window-with-parameter): Remove unused variable `windows'.
15673 (window--side-check): Remove unused variable `code'.
15674 (window--resize-siblings): Remove unused variable `first'.
15675 (adjust-window-trailing-edge): Remove unused variable `failed'.
15676 (window-deletable-p, window--delete): Remove unused variable `buffer'.
15677 Use `let', not `let*'.
15678 (balance-windows-2): Remove unused variable `found'.
15679 (window--state-put-2): Remove unused variable `splits'.
15680 (window-state-put): Remove unused variable `selected'.
15681 (same-window-p): Use `string-match-p'.
15682 (display-buffer-assq-regexp): Remove unused variable `value'.
15683 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
15684 Mark argument ALIST as ignored.
15685 (pop-to-buffer): Remove unused variable `old-window'.
15686
15687 2012-01-29 Eli Zaretskii <eliz@gnu.org>
15688
15689 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
15690 and .lzma compressed files.
15691
15692 2012-01-29 Chong Yidong <cyd@gnu.org>
15693
15694 * frame.el (window-system-default-frame-alist): Doc fix.
15695
15696 * dynamic-setting.el (font-setting-change-default-font): Don't
15697 change the default face if SET-FONT argument is non-nil (Bug#9982).
15698
15699 2012-01-29 Samuel Bronson <naesten@gmail.com>
15700
15701 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
15702
15703 2012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
15704
15705 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
15706 breakpoints in files outside current directory (Bug#6098).
15707
15708 2012-01-29 Chong Yidong <cyd@gnu.org>
15709
15710 * progmodes/python.el: Require ansi-color at top-level.
15711
15712 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
15713 Define and use in Emacs Lisp mode (Bug#9360).
15714 (lisp-mode-abbrev-table): Add doc.
15715 (lisp-mode-variables): Don't set local-abbrev-table.
15716 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
15717
15718 2012-01-28 Roland Winkler <winkler@gnu.org>
15719
15720 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
15721
15722 2012-01-28 Roland Winkler <winkler@gnu.org>
15723
15724 * textmodes/bibtex.el (bibtex-entry-alist): New function.
15725 (bibtex-set-dialect): Use it. Either set global values of
15726 dialect-dependent variables or bind these variables buffer-locally
15727 (Bug#10254).
15728 (bibtex-mode): Call bibtex-set-dialect via
15729 hack-local-variables-hook.
15730 (bibtex-dialect): Update docstring.
15731 Add safe-local-variable predicate.
15732 (bibtex-entry-alist, bibtex-field-alist): Initialize via
15733 bibtex-set-dialect.
15734 (bibtex-mode-map): Define menu for each dialect.
15735 (bibtex-entry): Fix docstring.
15736
15737 2012-01-28 Chong Yidong <cyd@gnu.org>
15738
15739 * eshell/esh-arg.el (eshell-quote-argument): New function.
15740
15741 * eshell/esh-ext.el (eshell-invoke-batch-file):
15742 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
15743 first arg to eshell-parse-command (Bug#10523).
15744
15745 2012-01-28 Drew Adams <drew.adams@oracle.com>
15746
15747 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
15748 `default-directory' is non-nil.
15749
15750 2012-01-28 Eli Zaretskii <eliz@gnu.org>
15751
15752 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
15753 line that displays system-configuration-options. (Bug#9924)
15754
15755 2012-01-28 Drew Adams <drew.adams@oracle.com>
15756
15757 * descr-text.el (describe-char): Show information about POS, in
15758 addition to information about the character at POS. Improve and
15759 update the doc string. Change "code point" to "code point in
15760 charset", to avoid confusion with the character's Unicode code
15761 point shown above that. (Bug#10129)
15762
15763 2012-01-28 Eli Zaretskii <eliz@gnu.org>
15764
15765 * descr-text.el (describe-char): Show the raw character, not only
15766 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
15767 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
15768 for the reasons.
15769
15770 2012-01-28 Phil Hagelberg <phil@hagelb.org>
15771
15772 * emacs-lisp/package.el (package-install):
15773 Run package-refresh-contents if there is no archive yet (Bug#9798).
15774
15775 2012-01-28 Chong Yidong <cyd@gnu.org>
15776
15777 * emacs-lisp/package.el (package-maybe-load-descriptor):
15778 New function, split from package-maybe-load-descriptor.
15779 (package-maybe-load-descriptor): Use it.
15780 (package-download-transaction): Fully load required packages
15781 inside the loop, so that `require' calls work (Bug#10593).
15782 (package-install): No need to call package-initialize now.
15783
15784 2012-01-28 Chong Yidong <cyd@gnu.org>
15785
15786 * simple.el (deactivate-mark): Doc fix (Bug#8614).
15787
15788 * tooltip.el (tooltip-mode): Doc fix.
15789 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
15790
15791 * frame.el (set-cursor-color): Doc fix (Bug#352).
15792
15793 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
15794 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
15795
15796 * cus-edit.el (custom-buffer-create-internal): Fix search button
15797 action (Bug#10542).
15798 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
15799
15800 2012-01-27 Eduard Wiebe <usenet@pusto.de>
15801
15802 * dired.el (dired-mark-files-regexp):
15803 Include any subdirectory components. (Bug#10445)
15804
15805 2012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
15806
15807 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
15808 Handle [host]:port syntax. (Bug#10533)
15809
15810 2012-01-27 Alex Harsanyi <harsanyi@mac.com>
15811
15812 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
15813
15814 2012-01-26 Glenn Morris <rgm@gnu.org>
15815
15816 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
15817 * term.el (term-raw-escape-map): Use Control-X-prefix.
15818 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
15819
15820 2012-01-25 Martin Rudalics <rudalics@gmx.at>
15821
15822 * window.el (window-state-get, window--state-get-1): Don't deal
15823 with fixed-sizeness of windows. Simplify code.
15824
15825 2012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
15826
15827 * window.el (window--state-get-1, window--state-put-2):
15828 Don't save and restore the mark.
15829
15830 2012-01-25 Chong Yidong <cyd@gnu.org>
15831
15832 * custom.el (custom-variable-p): Doc fix.
15833
15834 2012-01-25 Glenn Morris <rgm@gnu.org>
15835
15836 * dired.el (dired-goto-file): Handle some of the more common
15837 characters that `ls -b' escapes. (Bug#10596)
15838
15839 * progmodes/compile.el (compilation-next-error-function):
15840 Respect compilation-first-column in the "*compilation*" buffer.
15841 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
15842
15843 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
15844
15845 2012-01-24 Glenn Morris <rgm@gnu.org>
15846
15847 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
15848
15849 2012-01-24 Julien Danjou <julien@danjou.info>
15850
15851 * color.el (color-rgb-to-hsl): Fix value computing.
15852 (color-hue-to-rgb): New function.
15853 (color-hsl-to-rgb): New function.
15854 (color-clamp, color-saturate-hsl, color-saturate-name)
15855 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
15856 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
15857
15858 2012-01-24 Glenn Morris <rgm@gnu.org>
15859
15860 * vc/vc-rcs.el (vc-rcs-create-tag):
15861 * vc/vc-sccs.el (vc-sccs-create-tag):
15862 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
15863
15864 2012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
15865
15866 * eshell/esh-util.el (eshell-read-hosts-file):
15867 Skip comment lines. (Bug#10549)
15868
15869 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
15870
15871 2012-01-23 Juanma Barranquero <lekktu@gmail.com>
15872
15873 * subr.el (display-delayed-warnings): Doc fix.
15874 (collapse-delayed-warnings): New function to collapse identical
15875 adjacent warnings.
15876 (delayed-warnings-hook): Add it.
15877
15878 2012-01-22 Michael Albinus <michael.albinus@gmx.de>
15879
15880 * net/tramp.el (tramp-action-login): Set connection property "login-as".
15881
15882 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
15883 (tramp-default-user-alist): Don't add "pscp".
15884 (tramp-do-copy-or-rename-file-out-of-band): Use connection
15885 property "login-as", if set. (Bug#10530)
15886
15887 2012-01-21 Michael Albinus <michael.albinus@gmx.de>
15888
15889 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
15890 "plink1" and "psftp". (Bug#10530)
15891
15892 2012-01-21 Kenichi Handa <handa@m17n.org>
15893
15894 * international/mule-cmds.el (prefer-coding-system): Show a
15895 warning message if the default value of file-name-coding-system
15896 was not changed.
15897
15898 2012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
15899
15900 * windmove.el (windmove-reference-loc):
15901 Fix windmove-reference-loc miscalculation.
15902
15903 2012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
15904
15905 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
15906 default unit.
15907
15908 2012-01-21 Glenn Morris <rgm@gnu.org>
15909
15910 * international/mule.el (auto-coding-alist): Add .tbz.
15911
15912 * files.el (local-enable-local-variables): Doc fix.
15913 (inhibit-local-variables-regexps): Rename from
15914 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
15915 Doc fix. Add some extensions from auto-coding-alist.
15916 (inhibit-local-variables-suffixes):
15917 Rename from inhibit-first-line-modes-suffixes. Doc fix.
15918 (inhibit-local-variables-p):
15919 New function, extracted from set-auto-mode-1.
15920 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
15921 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
15922 (hack-local-variables): Doc fix. Make the mode-only case
15923 respect enable-local-variables and friends.
15924 Respect inhibit-local-variables-regexps for file-locals, but
15925 not for directory-locals.
15926 (set-visited-file-name):
15927 Take account of inhibit-local-variables-regexps.
15928 Whether it applies may change as the file name is changed.
15929 * jka-cmpr-hook.el (jka-compr-install):
15930 * jka-compr.el (jka-compr-uninstall):
15931 Update for inhibit-first-line-modes-suffixes name change.
15932
15933 2012-01-20 Martin Rudalics <rudalics@gmx.at>
15934
15935 * help-macro.el (make-help-screen): Temporarily restore original
15936 binding for minor-mode-map-alist (Bug#10454).
15937
15938 2012-01-19 Julien Danjou <julien@danjou.info>
15939
15940 * color.el (color-name-to-rgb): Use the white color to find the max
15941 color component value and return correctly computed values.
15942 (color-name-to-rgb): Add missing float conversion for max value.
15943
15944 2012-01-19 Martin Rudalics <rudalics@gmx.at>
15945
15946 * window.el (window--state-get-1, window-state-get): Do not use
15947 special state value for window-persistent-parameters.
15948 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
15949 (window--state-put-2): Reset all window parameters to nil before
15950 assigning values of persistent parameters.
15951
15952 2012-01-18 Alan Mackenzie <acm@muc.de>
15953
15954 Eliminate sluggishness and hangs in fontification of "semicolon
15955 deserts".
15956
15957 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
15958 Change value 10000 -> 3000.
15959 (c-state-safe-place): Reformulate so it doesn't stack up an
15960 infinite number of wrong entries in c-state-nonlit-pos-cache.
15961 (c-determine-limit-get-base, c-determine-limit): New functions to
15962 determine backward search limits disregarding literals.
15963 (c-find-decl-spots): Amend commenting.
15964 (c-cheap-inside-bracelist-p): New function which detects "={".
15965
15966 * progmodes/cc-fonts.el
15967 (c-make-font-lock-BO-decl-search-function): Give a limit to a
15968 backward search.
15969 (c-font-lock-declarations): Fix an occurrence of point being
15970 undefined. Check additionally for point being in a bracelist or
15971 near a macro invocation without a semicolon so as to avoid a
15972 fruitless time consuming search for a declarator. Give a more
15973 precise search limit for declarators using the new
15974 c-determine-limit.
15975
15976 2012-01-18 Glenn Morris <rgm@gnu.org>
15977
15978 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
15979 (set-auto-mode): Doc fixes.
15980
15981 2012-01-17 Glenn Morris <rgm@gnu.org>
15982
15983 * isearch.el (search-nonincremental-instead): Fix doc typo.
15984
15985 * dired.el (dired-insert-directory): Handle newlines in directory name.
15986 (dired-build-subdir-alist): Unescape newlines in directory name.
15987
15988 2012-01-17 Michael Albinus <michael.albinus@gmx.de>
15989
15990 * net/tramp.el (tramp-local-end-of-line): New defcustom.
15991 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
15992 (tramp-action-terminal): Use it. (Bug#10530)
15993
15994 2012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
15995
15996 * minibuffer.el (completion--replace): Strip properties (bug#10062).
15997
15998 2012-01-16 Martin Rudalics <rudalics@gmx.at>
15999
16000 * window.el (window-state-ignored-parameters): Remove variable.
16001 (window--state-get-1): Rename argument MARKERS to IGNORE.
16002 Handle persistent window parameters. Make copy of clone-of
16003 parameter only if requested. (Bug#10348)
16004 (window--state-put-2): Install a window parameter only if it has
16005 a non-nil value or an existing parameter shall be overwritten.
16006
16007 2012-01-15 Michael Albinus <michael.albinus@gmx.de>
16008
16009 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
16010
16011 2012-01-14 Eli Zaretskii <eliz@gnu.org>
16012
16013 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
16014 don't pass the (nil) value of `upnode' to string-match.
16015
16016 2012-01-14 Chong Yidong <cyd@gnu.org>
16017
16018 * startup.el (command-line): Fix X resource class for cursorColor.
16019 Fix values recognized by the cursorBlink resource.
16020
16021 2012-01-14 Paul Eggert <eggert@cs.ucla.edu>
16022
16023 * epg.el (epg--make-temp-file): Avoid permission race condition
16024 when running on old Emacs versions (bug#10403).
16025
16026 2012-01-14 Glenn Morris <rgm@gnu.org>
16027
16028 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
16029
16030 2012-01-13 Alan Mackenzie <acm@muc.de>
16031
16032 Fix filling for when filladapt mode is enabled.
16033
16034 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
16035 c-mask-paragraph, pass in `fill-paragraph' rather than
16036 `fill-region-as-paragraph'. (This is a reversion of a previous
16037 change.)
16038 * progmodes/cc-mode.el (c-basic-common-init):
16039 Make fill-paragraph-handle-comment buffer local and set it to nil.
16040
16041 2012-01-13 Glenn Morris <rgm@gnu.org>
16042
16043 * dired.el (dired-switches-escape-p): New function.
16044 (dired-insert-directory): Use dired-switches-escape-p.
16045 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
16046
16047 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
16048
16049 2012-01-12 Glenn Morris <rgm@gnu.org>
16050
16051 * mail/sendmail.el (mail-mode): Update paragraph-separate for
16052 changes in adaptive-fill-regexp. (Bug#10276)
16053
16054 2012-01-11 Alan Mackenzie <acm@muc.de>
16055
16056 Fix Emacs bug #10463 - put `widen's around the critical spots.
16057
16058 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
16059 widen around each invocation of c-state-pp-to-literal. Remove an
16060 unused let variable.
16061
16062 2012-01-11 Glenn Morris <rgm@gnu.org>
16063
16064 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
16065 Doc fix.
16066
16067 2012-01-10 Chong Yidong <cyd@gnu.org>
16068
16069 * net/network-stream.el (network-stream-open-starttls):
16070 Avoid emitting a confusing error message when the server gives a bad
16071 response to the capability command.
16072
16073 2012-01-10 Glenn Morris <rgm@gnu.org>
16074
16075 * mail/unrmail.el (unrmail): Tweak previous change.
16076
16077 2012-01-09 Chong Yidong <cyd@gnu.org>
16078
16079 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
16080
16081 2012-01-08 Alan Mackenzie <acm@muc.de>
16082
16083 Optimize font locking in long enum definitions.
16084
16085 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
16086 arm to a cond form to handle enums.
16087 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
16088 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
16089
16090 2012-01-07 Paul Eggert <eggert@cs.ucla.edu>
16091
16092 * files.el (move-file-to-trash): Preserve default file modes on error.
16093 (Bug#10401)
16094
16095 2012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
16096
16097 * faces.el (set-face-attribute): Clarify the meaning of the nil
16098 frame (bug#10294).
16099
16100 * subr.el (with-selected-frame): Mention that the selected frame
16101 is restored (bug#9980).
16102
16103 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
16104 (bug#9759).
16105
16106 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
16107 (password-read): Don't autoload unused function.
16108
16109 2012-01-07 Juanma Barranquero <lekktu@gmail.com>
16110
16111 * progmodes/which-func.el (which-func-mode): Turn into a
16112 non-interactive function and mark as obsolete (bug#10428).
16113
16114 2012-01-06 Chong Yidong <cyd@gnu.org>
16115
16116 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
16117 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
16118 functions, along with 1 and -1.
16119
16120 2012-01-06 Eli Zaretskii <eliz@gnu.org>
16121
16122 * time.el (display-time-load-average)
16123 (display-time-default-load-average): Doc fixes. See the thread
16124 starting at
16125 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
16126 for the details.
16127
16128 2012-01-06 Glenn Morris <rgm@gnu.org>
16129
16130 * mail/unrmail.el (unrmail): Give an explicit error if the input file
16131 has no messages. (Bug#10377)
16132
16133 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
16134 than Info-edit. (Bug#10385)
16135
16136 * time.el (display-time-load-average, display-time-next-load-average):
16137 Doc fixes.
16138
16139 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
16140 local setting of buffer-read-only to the input buffer. (Bug#10419)
16141
16142 * calendar/calendar.el (calendar-mode):
16143 Locally set scroll-margin to 0. (Bug#10379)
16144
16145 2012-01-06 Ulrich Mueller <ulm@gentoo.org>
16146
16147 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
16148
16149 2012-01-05 Glenn Morris <rgm@gnu.org>
16150
16151 * eshell/em-unix.el (diff-no-select): Autoload it.
16152 (eshell/diff): Use diff-no-select. (Bug#10420)
16153
16154 2012-01-05 Chong Yidong <cyd@gnu.org>
16155
16156 * shell.el (shell-dynamic-complete-functions): Revert last change.
16157 (shell-command-completion-function): New function.
16158 (shell-completion-vars): Use it to implement
16159 shell-completion-execonly (Bug#10417).
16160
16161 * custom.el (enable-theme): Don't set custom-safe-themes.
16162
16163 * cus-theme.el (custom-theme-merge-theme):
16164 Ignore custom-enabled-themes and custom-safe-themes.
16165
16166 2012-01-05 Michael R. Mauger <mmaug@yahoo.com>
16167
16168 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
16169 first prompt in `sql-interacive-mode'.
16170 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
16171 keywords.
16172 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
16173 (sql-product-interactive): Bug fix: Set `sql-buffer' in
16174 context of original buffer. Invoke `sql-login-hook'.
16175
16176 2012-01-04 Eli Zaretskii <eliz@gnu.org>
16177
16178 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
16179 letters in cite-prefix.
16180
16181 2012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
16182
16183 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
16184
16185 2012-01-03 Chong Yidong <cyd@gnu.org>
16186
16187 * shell.el (shell-dynamic-complete-functions):
16188 Put pcomplete-completions-at-point, so as to try
16189 comint-filename-completion first (Bug#10417).
16190
16191 2012-01-02 Richard Stallman <rms@gnu.org>
16192
16193 * battery.el (battery-status-function):
16194 Detect when to use battery-yeeloong-sysfs.
16195 (battery-echo-area-format): Add string for Yeeloong.
16196 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
16197 (battery-yeeloong-sysfs): New function.
16198
16199 2012-01-02 Chong Yidong <cyd@gnu.org>
16200
16201 * dirtrack.el (dirtrack-list): Eliminate unused third element.
16202 (dirtrack): Merge code for handling relative filenames in prompt
16203 from shell-dir-cookie-watcher.
16204 (dirtrack-debug-message): New arg to avoid excess format calls.
16205
16206 * shell.el (shell-dir-cookie-re): Variable deleted.
16207 (shell-dir-cookie-watcher): Function deleted.
16208 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
16209 with dirtrack-mode.
16210
16211 2012-01-01 Eli Zaretskii <eliz@gnu.org>
16212
16213 * term/w32-win.el (dynamic-library-alist) <gnutls>:
16214 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
16215 libgnutls-26.dll.
16216
16217 2011-12-31 Andreas Schwab <schwab@linux-m68k.org>
16218
16219 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
16220
16221 2011-12-31 Eli Zaretskii <eliz@gnu.org>
16222
16223 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
16224 headers of non-MIME messages, when rmail-enable-mime is non-nil.
16225
16226 2011-12-29 Michael Albinus <michael.albinus@gmx.de>
16227
16228 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
16229 also for alternative shells.
16230 (tramp-open-connection-setup-interactive-shell): Check, whether
16231 the shell is a busybox.
16232 (tramp-send-command): Don't suppress multiple prompts for
16233 busyboxes, it hurts.
16234
16235 2011-12-28 Chong Yidong <cyd@gnu.org>
16236
16237 * progmodes/gdb-mi.el (gdb-get-source-file-list)
16238 (gdb-get-source-file): Move mode line update to
16239 gdb-get-source-file (Bug#10087).
16240
16241 2011-12-25 Chong Yidong <cyd@gnu.org>
16242
16243 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
16244 gud-gdb-marker-filter without taking it as an argument.
16245 (gud-gdb-run-command-fetch-lines): Caller changed.
16246 (gud-gdb-completion-function): New variable.
16247 (gud-gdb-completion-at-point): Use it.
16248 (gud-gdb-completions-1): Split from gud-gdb-completions.
16249
16250 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
16251 function as separate arguments.
16252 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
16253 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
16254 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
16255 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
16256 (gdb-stopped, def-gdb-auto-update-trigger)
16257 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
16258 (gdb-get-changed-registers, gdb-get-main-selected-frame):
16259 Callers changed.
16260 (gud-gdbmi-completions): New function.
16261 (gdb): Use it for generating the completion table.
16262
16263 2011-12-24 Alan Mackenzie <acm@muc.de>
16264
16265 Introduce a mechanism to widen the region used in context font
16266 locking. Use this to protect declarations from losing their contexts.
16267
16268 * progmodes/cc-langs.el (c-before-font-lock-functions):
16269 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
16270 (c-before-context-fontification-functions): New defvar, a list of
16271 functions to be run just before context (etc.) font locking.
16272
16273 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
16274 New, functionality extracted from
16275 c-neutralize-syntax-in-and-mark-CPP.
16276 (c-in-after-change-fontification): New variable.
16277 (c-after-change): Set c-in-after-change-fontification.
16278 (c-set-fl-decl-start): Rejig its interface, so it can be called
16279 from both after-change and context fontifying.
16280 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
16281 New functions.
16282 (c-standard-font-lock-fontify-region-function): New variable.
16283 (c-font-lock-fontify-region): New function.
16284
16285 2011-12-24 Juri Linkov <juri@jurta.org>
16286
16287 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
16288 (Bug#10348)
16289
16290 2011-12-23 Michael Albinus <michael.albinus@gmx.de>
16291
16292 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
16293 existence of source file. (Bug#10325)
16294
16295 2011-12-23 Alan Mackenzie <acm@muc.de>
16296
16297 Fix unstable fontification inside templates.
16298
16299 * progmodes/cc-langs.el (c-before-font-lock-functions):
16300 Newly created from the singular version. The (c c++ objc) entry now
16301 additionally has c-set-fl-decl-start. The other languages (apart
16302 from AWK) have that as a single entry.
16303
16304 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
16305 The functionality for "local" declarations has been extracted to
16306 c-set-fl-decl-start.
16307
16308 * progmodes/cc-mode.el (c-common-init, c-after-change):
16309 Changes due to pluralisation of c-before-font-lock-functions.
16310 (c-set-fl-decl-start): New function, extracted from
16311 c-font-lock-enclosing-decls and enhanced.
16312
16313 2011-12-23 Juanma Barranquero <lekktu@gmail.com>
16314
16315 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
16316
16317 2011-12-22 Juri Linkov <juri@jurta.org>
16318
16319 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
16320
16321 2011-12-22 Chong Yidong <cyd@gnu.org>
16322
16323 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
16324
16325 2011-12-21 Drew Adams <drew.adams@oracle.com>
16326
16327 * files.el (file-remote-p): Fix docstring. (Bug#10319)
16328
16329 2011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
16330
16331 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
16332
16333 2011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
16334
16335 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
16336 highlighting and support. Fix up comments for capitalization.
16337 (cfengine-mode-debug): New var.
16338 (cfengine3-mode): Change the modeline indicator to "CFE3".
16339 (cfengine3-font-lock-keywords): Improve defun highlighting.
16340 (cfengine2-actions): Rename from `cfengine-actions'.
16341 (cfengine2-font-lock-keywords): Rename from
16342 `cfengine-font-lock-keywords'.
16343 (cfengine2-imenu-expression): Rename from
16344 `cfengine-imenu-expression'.
16345 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
16346 (cfengine2-beginning-of-defun): Rename from
16347 `cfengine-beginning-of-defun'.
16348 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
16349 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
16350 (cfengine2-mode): Rename from `cfengine-mode'. Change the
16351 modeline indicator to "CFE2".
16352 (cfengine-mode): Defalias to `cfengine-auto-mode'.
16353 (cfengine-mode-abbrevs): Mark obsolete.
16354
16355 2011-12-21 Chong Yidong <cyd@gnu.org>
16356
16357 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
16358 filename argument.
16359
16360 2011-12-20 Martin Rudalics <rudalics@gmx.at>
16361
16362 * window.el (window-normalize-buffer-to-display): Remove.
16363 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
16364
16365 2011-12-19 Chong Yidong <cyd@gnu.org>
16366
16367 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
16368 Don't signal an error in a predicate function; return non-nil.
16369 (vc-dir-mark-file): Move the error here.
16370 (vc-dir-mark-unmark): If acting on the region, keep going if one
16371 of the entries cannot be marked/unmarked.
16372 (vc-dir-mark-all-files): If current entry is a directory, mark
16373 only child files, as documented.
16374
16375 2011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
16376
16377 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
16378 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
16379 addition.
16380
16381 2011-12-18 Jan Djärv <jan.h.d@swipnet.se>
16382
16383 * term/ns-win.el (ns-get-selection-internal)
16384 (ns-store-selection-internal): Declare.
16385 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
16386 Declare as obsolete.
16387 (ns-get-pasteboard, ns-paste-secondary):
16388 Use ns-get-selection-internal.
16389 (ns-set-pasteboard, ns-copy-including-secondary):
16390 Use ns-store-selection-internal.
16391
16392 2011-12-17 Chong Yidong <cyd@gnu.org>
16393
16394 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
16395 (vc-deduce-fileset): Doc fix.
16396
16397 2011-12-16 Andreas Schwab <schwab@linux-m68k.org>
16398
16399 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
16400
16401 2011-12-13 Sam Steingold <sds@gnu.org>
16402
16403 * man.el (Man-getpage-in-background): When running under a
16404 window-system, ignore $MANWIDTH and $COLUMNS.
16405
16406 2011-12-15 Kenichi Handa <handa@m17n.org>
16407
16408 * language/ethio-util.el: Change coding tag to utf-8-emacs.
16409 (setup-ethiopic-environment-internal): Comment out key-binding for
16410 ethio-toggle-punctuation.
16411
16412 2011-12-13 Alan Mackenzie <acm@muc.de>
16413
16414 Add the switch statement to AWK Mode.
16415
16416 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
16417 "default" to the keywords regexp.
16418
16419 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
16420 expression as the rest.
16421 (c-nonlabel-token-key): Allow string literals for AWK.
16422 Refactor for the other modes.
16423
16424 Large brace-block initialisation makes CC Mode slow: Fix.
16425 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
16426 routines. Limit backward searching in c-font-lock-enclosing.decl.
16427
16428 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
16429 pp-state and literal type in addition to the limits.
16430 (c-state-safe-place): New defun, extracted from c-state-literal-at.
16431 (c-state-literal-at): Use the above new defun.
16432 (c-slow-in-literal, c-fast-in-literal): Remove.
16433 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
16434
16435 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
16436 being in a literal. Add a limit for backward searching.
16437
16438 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
16439 c-slow-in-literal.
16440
16441 2011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
16442
16443 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
16444
16445 2011-12-13 Martin Rudalics <rudalics@gmx.at>
16446
16447 * window.el (delete-other-windows): Use correct frame in call to
16448 window-with-parameter.
16449
16450 2011-12-12 Daniel Pfeiffer <occitan@t-online.de>
16451
16452 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
16453 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
16454 (makefile-gmake-statements, makefile-makepp-statements):
16455 Use it and add new makepp keywords.
16456 (makefile-makepp-font-lock-keywords): Add new patterns.
16457 (makefile-match-function-end): Match new [...] and [[...]].
16458
16459 2011-12-11 Juanma Barranquero <lekktu@gmail.com>
16460
16461 * ses.el (ses-call-printer-return, ses-cell-property-get)
16462 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
16463 (ses-create-cell-variable, ses-reset-header-string)
16464 (ses-cell-set-formula, ses-repair-cell-reference-all)
16465 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
16466 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
16467 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
16468 (ses-aset-with-undo, ses-load, ses-truncate-cell)
16469 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
16470 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
16471 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
16472 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
16473 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
16474 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
16475 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
16476 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
16477
16478 2011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
16479
16480 * ses.el: The overall change is to add cell renaming, that is
16481 setting fancy names for cell symbols other than name matching
16482 "\\`[A-Z]+[0-9]+\\'" regexp .
16483 (ses-create-cell-variable): New defun.
16484 (ses-relocate-formula): Relocate formulas only for cells the
16485 symbols of which are not renamed, i.e. symbols whose names do not
16486 match regexp "\\`[A-Z]+[0-9]+\\'".
16487 (ses-relocate-all): Relocate values only for cells the symbols of
16488 which are not renamed.
16489 (ses-load): Create cells variables as the (ses-cell ...) are read,
16490 in order to check row col consistency with cell symbol name only
16491 for cells that are not renamed.
16492 (ses-replace-name-in-formula): New defun.
16493 (ses-rename-cell): New defun.
16494
16495 2011-12-11 Chong Yidong <cyd@gnu.org>
16496
16497 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
16498 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
16499
16500 2011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
16501
16502 * window.el (other-window): Fix docstring.
16503
16504 2011-12-10 Eli Zaretskii <eliz@gnu.org>
16505
16506 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
16507 `from' or `to' address before taking its substring.
16508 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
16509 encoded name is chopped in the middle of the encoded string, and
16510 thus displayed encoded.
16511
16512 2011-12-10 Juanma Barranquero <lekktu@gmail.com>
16513
16514 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
16515
16516 2011-12-10 Eli Zaretskii <eliz@gnu.org>
16517
16518 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
16519 to use texinfo-update-node and commands that call it if the
16520 Texinfo file uses @node lines without next/prev/up pointers.
16521 Correct outdated description about texinfo-master-menu.
16522 (texinfo-all-menus-update, texinfo-master-menu)
16523 (texinfo-update-node, texinfo-every-node-update)
16524 (texinfo-multiple-files-update): Doc fix. Warn against updating
16525 all the @node lines.
16526 (texinfo-master-menu): Only call texinfo-update-node if the prefix
16527 argument is numeric. Explain better in the doc string what the
16528 function really does.
16529 (texinfo-insert-master-menu-list): Improve the error message
16530 displayed if there's no menu in the Top node.
16531 (Bug#2975) See also this thread:
16532 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
16533
16534 2011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
16535
16536 * speedbar.el (speedbar-supported-extension-expressions):
16537 Add .adb and .ads, commonly used for Ada source code (bug#10256).
16538
16539 2011-12-09 Juanma Barranquero <lekktu@gmail.com>
16540
16541 * printing.el (pr-mode-alist):
16542 * simple.el (filter-buffer-substring-functions)
16543 (completion-list-insert-choice-function):
16544 * window.el (window-with-parameter, window-atom-root)
16545 (window-sides-slots, window-size-fixed, window-min-delta)
16546 (window-max-delta, window--resize-mini-window)
16547 (window--resize-child-windows-normal, window-tree)
16548 (delete-other-windows, quit-window, split-window)
16549 (display-buffer-record-window, special-display-buffer-names)
16550 (special-display-regexps, special-display-popup-frame)
16551 (same-window-p, split-window-sensibly)
16552 (display-buffer-overriding-action, display-buffer-alist)
16553 (display-buffer-base-action, display-buffer, switch-to-buffer)
16554 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
16555 (fit-window-to-buffer, recenter-positions)
16556 (mouse-autoselect-window-state, mouse-autoselect-window-select):
16557 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
16558 and remove unneeded backslashes in docstrings.
16559
16560 2011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
16561
16562 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
16563
16564 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
16565 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
16566 end in ".mk".
16567 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
16568 when reading the makefile (bug#10116).
16569
16570 2011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
16571
16572 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
16573 (bug#10116).
16574
16575 2011-12-06 Glenn Morris <rgm@gnu.org>
16576
16577 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
16578
16579 2011-12-06 Chong Yidong <cyd@gnu.org>
16580
16581 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
16582
16583 2011-12-06 Juanma Barranquero <lekktu@gmail.com>
16584
16585 * textmodes/table.el (table-shorten-cell): Fix typo.
16586
16587 2011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
16588
16589 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
16590
16591 2011-12-05 Eli Zaretskii <eliz@gnu.org>
16592
16593 * descr-text.el (describe-char): Fix display of strong
16594 right-to-left characters and directional embeddings and overrides.
16595
16596 * simple.el (what-cursor-position): Fix display of codepoints of
16597 strong right-to-left characters.
16598
16599 2011-12-05 Chong Yidong <cyd@gnu.org>
16600
16601 * faces.el (read-color): Doc fix.
16602
16603 2011-12-05 Glenn Morris <rgm@gnu.org>
16604
16605 * align.el (align--set-marker): Add doc-string.
16606 Don't try to move something that is not a marker. (Bug#10216)
16607
16608 2011-12-04 Glenn Morris <rgm@gnu.org>
16609
16610 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
16611 overly zealous deletion of trailing whitespace.
16612
16613 2011-12-04 Juanma Barranquero <lekktu@gmail.com>
16614
16615 * server.el (server-delete-client): On Windows, do not try to delete
16616 the only terminal.
16617 (server-process-filter): On Windows, treat requests for a tty frame as
16618 if they were for a GUI frame if the running server is in GUI mode.
16619
16620 2011-12-03 Glenn Morris <rgm@gnu.org>
16621
16622 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
16623
16624 2011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
16625
16626 * electric.el: Streamline electric-indent's hook.
16627 (electric-indent-chars): Revert to simple list.
16628 (electric-indent-functions): New var.
16629 (electric-indent-post-self-insert-function): Use it.
16630
16631 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
16632 there's no inferior buffer (bug#10196).
16633 (prolog-consult-compile): Don't use toggle-read-only.
16634
16635 2011-12-02 Michael Albinus <michael.albinus@gmx.de>
16636
16637 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
16638 interrupt. (Bug#10187)
16639
16640 2011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
16641
16642 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
16643 (bug#9160).
16644
16645 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
16646 (bug#10191).
16647
16648 2011-12-02 Juri Linkov <juri@jurta.org>
16649
16650 * info.el (Info-search): Display "end of manual" when Isearch
16651 reaches the end of single-file Info manual. (Bug#9918)
16652
16653 2011-12-02 Eli Zaretskii <eliz@gnu.org>
16654
16655 * isearch.el (isearch-message-prefix): Run the input method part
16656 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
16657
16658 2011-12-02 Juri Linkov <juri@jurta.org>
16659
16660 * isearch.el (isearch-occur): Use `word-search-regexp' for
16661 `isearch-word'.
16662 (isearch-search-and-update): Add condition for `isearch-word' and
16663 call `word-search-regexp'. (Bug#10145)
16664
16665 2011-12-01 Glenn Morris <rgm@gnu.org>
16666
16667 * eshell/em-hist.el (eshell-hist-initialize):
16668 Handle eshell-history-size nil and HISTSIZE set or unset.
16669 (eshell-history-file-name, eshell-history-size): Fix custom type.
16670
16671 2011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
16672
16673 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
16674
16675 2011-12-01 Michael McNamara <mac@mail.brushroad.com>
16676
16677 * progmodes/verilog-mode.el (verilog-pretty-expr):
16678 Rework verilog-pretty-expr to handle new assignment operators in system
16679 verilog, such as += *= and the like.
16680 (verilog-assignment-operator-re): Regular expression to find the
16681 assigment operator in a verilog assignment.
16682 (verilog-assignment-operation-re): Regular expression to find an
16683 assignment statement for pretty-expr.
16684 (verilog-in-attribute-p): Query returns true if point is in an
16685 attribute context; used to skip these for expression line up from
16686 pretty-expr.
16687 (verilog-in-parameter-p): Query returns true if point is in an
16688 parameter definition context; used to skip these for expression
16689 line up from pretty-expr.
16690 (verilog-in-parenthesis-p): Query returns true if point is in a
16691 parenthetical expression, specifically ( ) but not [ ] or { };
16692 used by pretty-expr.
16693 (verilog-just-one-space): If there is no space, don't add one.
16694 (verilog-get-lineup-indent-2): Specifically skip just attribute
16695 contexts for expression lineup, rather than skipping all
16696 parenthetical expressions.
16697 (verilog-calculate-indent): Fix comment, and fix indent.
16698 (verilog-do-indent): Indent declarations in lists (suggested by
16699 Joachim Lechner).
16700 (verilog-mode-abbrev-table): Populate abbrev mode with the various
16701 skeleton items.
16702 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
16703 by Alain Mellan).
16704
16705 2011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
16706
16707 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
16708 parameters with embedded comments. Reported by Ray Stevens.
16709 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
16710 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
16711 Reported by Tim Holt.
16712 (verilog-auto): Fix AUTOing a upper module then AUTOing module
16713 instantiated by upper module causing wrong expansion until AUTOed a
16714 second time. Reported by K C Buckenmaier.
16715 (verilog-diff-auto): Fix showing .* as a difference when
16716 `verilog-auto-star-save' off. Reported by Dan Dever.
16717 (verilog-auto-reset, verilog-read-always-signals)
16718 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
16719 temporary signals in reset list if
16720 verilog-auto-reset-blocking-in-non is nil, and match assignment
16721 style to each signal's assignment type, bug381.
16722 Reported by Thomas Esposito.
16723 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
16724 (verilog-uvm-statement-re): Support UVM indentation and
16725 highlighting, with old OVM keywords only.
16726 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
16727 Support AUTOTIEOFF creating non-wire data types.
16728 Suggested by Jonathan Greenlaw.
16729 (verilog-auto-insert-lisp, verilog-delete-to-paren)
16730 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
16731 (verilog-inject-sense, verilog-read-inst-pins)
16732 (verilog-read-sub-decls, verilog-read-sub-decls-line):
16733 Fix mismatching parenthesis inside commented out code when deleting
16734 AUTOINST, bug383. Reported by Jonathan Greenlaw.
16735 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
16736 non-numeric vector width. Reported by Alex Reed.
16737 (verilog-auto-ascii-enum): Add "onehot" option to work around not
16738 detecting signals with parameter widths. Reported by Alex Reed.
16739 (verilog-auto-delete-trailing-whitespace):
16740 With `verilog-auto-delete-trailing-whitespace' remove trailing
16741 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
16742 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
16743 Fix verilog-scan-cache corruption when running user AUTO expansion
16744 hooks that call indentation routines.
16745 (verilog-simplify-range-expression): Fix typo ignoring lower case
16746 identifiers.
16747 (verilog-delete-auto): Fix delete-autos to also remove user created
16748 automatics, as long as they start with AUTO.
16749 (verilog-batch-diff-auto, verilog-diff-auto)
16750 (verilog-diff-function): Add `verilog-diff-auto' and bind to
16751 "C-c?" to report differences in AUTO expansion, ignoring spaces.
16752 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
16753 (verilog-in-paren-quick, verilog-re-search-backward-quick)
16754 (verilog-re-search-forward-quick, verilog-syntax-ppss):
16755 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
16756 is disabled and its cache will get corrupt, causing AUTOS not to
16757 expand. Instead use only -quick functions.
16758 (verilog-scan-region): Fix scanning over escaped quotes.
16759 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
16760 (verilog-re-search-backward-quick)
16761 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
16762 related functions now ignore strings, to fix misparsing of strings
16763 with magic comments embedded in them.
16764 (verilog-read-auto-template):
16765 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
16766 Reported by Brad Dobbie.
16767 (verilog-read-auto-template):
16768 Fix 'verilog-auto-inst-template-numbers' with comments.
16769 Reported by Brad Dobbie.
16770 (verilog-auto-inst, verilog-auto-inst-param)
16771 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
16772 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
16773 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
16774 debugging templates without merge conflicts, bug357.
16775 Reported by Brad Dobbie.
16776 (verilog-read-auto-template):
16777 Fix verilog-auto-inst-template-numbers with multiple templates.
16778 Reported by Brad Dobbie.
16779 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
16780 abbrevs so user won't be asked to save.
16781 (verilog-read-auto-lisp-present): Fix to start at beginning of
16782 buffer in case called outside of verilog-auto.
16783 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
16784 to "X-2". Reported by Matthew Myers.
16785 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
16786 all inputs from module templates. Reported by Leith Johnson.
16787 (verilog-module-inside-filename-p): Fix locating programs as with
16788 modules.
16789 (verilog-auto-inst-port): Fix vl-width expressions when using
16790 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
16791 (verilog-decls-get-regs, verilog-decls-get-signals,
16792 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
16793 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
16794 verilog-read-decls): Combine reg and wire structures into one var
16795 structure to represent SystemVerilog concepts.
16796 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
16797 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
16798 (verilog-auto-wire-type, verilog-insert-definition):
16799 Add verilog-auto-wire-type and AUTOLOGIC to support using
16800 SystemVerilog "logic" keyword instead of "wire"/"reg".
16801 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
16802 to declares outputs that also have assignments (presumably in an
16803 ifdef or generate if so there's not a driver conflict).
16804 Reported by Matthew Myers.
16805 (verilog-auto-declare-nettype, verilog-insert-definition):
16806 Add verilog-auto-declare-nettype to fix declarations using
16807 `default_nettype none. Reported by Julian Gorfajn.
16808 (verilog-read-always-signals-recurse, verilog-read-decls)
16809 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
16810 malformed end statement, bug325. Reported by Joshua Wise and
16811 Andrew Drake.
16812 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
16813 (verilog-inst-comment-re): Fix not deleting Interfaced comment
16814 when expanding .* in interfaces, bug320.
16815 Reported by Pierre-David Pfister.
16816 (verilog-read-module-name): Fix import statements between module
16817 name and open parenthesis, bug317.
16818 Reported by Pierre-David Pfister.
16819 (verilog-simplify-range-expression): Fix simplification of
16820 multiplications inside AUTOWIRE connections, bug303.
16821 (verilog-auto-inst-port): Support parameter expansion in
16822 multidimensional arrays.
16823 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
16824 after "assert property". Reported by Julian Gorfajn.
16825 (verilog-simplify-range-expression): Fix "couldn't merge" errors
16826 with multiplication, bug303.
16827 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
16828 Reported by Jan Frode Lonnum.
16829
16830 2011-11-30 Juanma Barranquero <lekktu@gmail.com>
16831
16832 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
16833 (hfy-shell-file-name, hfy-shell):
16834 * international/fontset.el (x-decompose-font-name): Fix typos.
16835
16836 2011-11-29 Ken Brown <kbrown@cornell.edu>
16837
16838 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
16839 (gdb-version): Remove defvar.
16840 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
16841 (gdb-gud-context-command, gdb-non-stop-handler)
16842 (gdb-current-context-command, gdb-stopped): Use it.
16843 (gdb-init-1): Enable pretty printing here.
16844 (gdb-non-stop-handler): Don't enable pretty-printing here.
16845 Check to see if the target supports non-stop mode; if not, turn off
16846 non-stop mode. Use the following.
16847 (gdb-check-target-async): New defun.
16848 (gud-watch, gdb-stopped): Fix whitespace.
16849 (gdb-get-source-file): Don't try to display the source file if
16850 `gdb-main-file' is nil.
16851
16852 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
16853
16854 * align.el: Try to generate fewer markers (bug#10047).
16855 (align--set-marker): New macro.
16856 (align-region): Use it.
16857
16858 2011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
16859
16860 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
16861
16862 2011-11-29 Chong Yidong <cyd@gnu.org>
16863
16864 * indent.el (indent-for-tab-command, indent-according-to-mode):
16865 Doc fix.
16866 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
16867
16868 2011-11-29 Michael Albinus <michael.albinus@gmx.de>
16869
16870 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
16871 aware of remote file names. (Bug#10124)
16872
16873 2011-11-29 Chong Yidong <cyd@gnu.org>
16874
16875 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
16876
16877 2011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
16878
16879 * files.el (find-file): Don't use force-same-window (bug#10144).
16880 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
16881 use pop-to-buffer if the selected window can't be used.
16882 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
16883
16884 2011-11-28 Eli Zaretskii <eliz@gnu.org>
16885
16886 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
16887 special-mode-map.
16888
16889 2011-11-28 Chong Yidong <cyd@gnu.org>
16890
16891 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
16892
16893 2011-11-27 Nick Roberts <nickrob@snap.net.nz>
16894
16895 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
16896 gdb-get-source-file-list on gdb-create-source-file-list.
16897
16898 2011-11-26 Eli Zaretskii <eliz@gnu.org>
16899
16900 * whitespace.el (whitespace-newline): Use a different foreground
16901 color for 16-color light-background displays.
16902
16903 2011-11-24 Chong Yidong <cyd@gnu.org>
16904
16905 * window.el (display-buffer--special-action): Doc fix.
16906
16907 2011-11-25 Juanma Barranquero <lekktu@gmail.com>
16908
16909 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
16910 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
16911 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
16912 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
16913 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
16914 (avl-tree-stack-first):
16915 * emacs-lisp/cconv.el (cconv--analyse-use):
16916 * net/gnutls.el (gnutls-negotiate): Fix typos.
16917
16918 2011-11-24 Glenn Morris <rgm@gnu.org>
16919
16920 * lpr.el (lpr-windows-system, lpr-lp-system):
16921 * mail/binhex.el (binhex-begin-line):
16922 * progmodes/grep.el (grep-history, grep-find-history):
16923 * textmodes/flyspell.el:
16924 * vc/pcvs-defs.el (cvs-global-menu):
16925 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
16926 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
16927 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
16928
16929 * net/tls.el: Fix case of "GnuTLS".
16930
16931 * paths.el (rmail-file-name): Format doc-string for make-docfile.
16932
16933 * version.el (emacs-build-system): Give it a doc-string.
16934
16935 2011-11-24 Juri Linkov <juri@jurta.org>
16936
16937 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
16938
16939 2011-11-24 Glenn Morris <rgm@gnu.org>
16940
16941 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
16942 if called on a non-mime message just toggle the headers. (Bug#8006)
16943
16944 2011-11-24 Juanma Barranquero <lekktu@gmail.com>
16945
16946 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
16947 (allout-lead-with-comment-string, allout-structure-deleted-hook)
16948 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
16949 (allout-rebullet-heading, allout-open-sibtopic)
16950 (allout-toggle-current-subtree-encryption)
16951 (allout-toggle-subtree-encryption, allout-encrypt-string)
16952 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
16953 (allout-distinctive-bullets-string, allout-auto-activation):
16954 * window.el (window-normalize-buffer-to-display):
16955 * progmodes/verilog-mode.el (verilog-batch-indent):
16956 * textmodes/bibtex.el (bibtex-field-braces-opt)
16957 (bibtex-field-strings-opt):
16958 * vc/cvs-status.el (cvs-tree-merge):
16959 Fix typos.
16960
16961 2011-11-23 Michael Albinus <michael.albinus@gmx.de>
16962
16963 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
16964 `non-essential' to t, in order to avoid remote connections.
16965
16966 2011-11-23 Eli Zaretskii <eliz@gnu.org>
16967
16968 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
16969 On MS-DOS and MS-Windows, compare with loaddefs.el
16970 case-insensitively.
16971
16972 2011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
16973
16974 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
16975
16976 2011-11-23 Glenn Morris <rgm@gnu.org>
16977
16978 * paths.el (rmail-file-name): Reformat the doc-string so that it
16979 is picked up.
16980
16981 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
16982 (rmail-auto-file): Ignore case in the "special" field names,
16983 as mail-fetch-field does for all others.
16984
16985 * mail/rmail.el (rmail-forward):
16986 * mail/rmailkwd.el (rmail-set-label):
16987 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
16988 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
16989
16990 * mail/rmail.el (rmail-current-message): Doc fix.
16991
16992 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
16993
16994 2011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
16995
16996 * server.el (server-eval-and-print): Allow C-g (bug#6585).
16997
16998 2011-11-22 Glenn Morris <rgm@gnu.org>
16999
17000 * mail/rmailmm.el (test-rmail-mime-handler)
17001 (test-rmail-mime-bulk-handler)
17002 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
17003
17004 2011-11-21 Juri Linkov <juri@jurta.org>
17005
17006 * calc/calc.el (calc-read-key-sequence):
17007 Let-bind `input-method-function' to nil. (Bug#10018)
17008
17009 2011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
17010
17011 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
17012 Tell the caller that the next line needs recomputation, even
17013 though it doesn't start a sexp (bug#10094).
17014
17015 2011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
17016
17017 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
17018
17019 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
17020
17021 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
17022 Use force-same-window.
17023
17024 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
17025
17026 * descr-text.el (describe-char-unicode-data):
17027 * json.el (json-string-escape):
17028 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
17029 (Footnote-unicode, Footnote-style-p):
17030 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
17031
17032 2011-11-20 Chong Yidong <cyd@gnu.org>
17033
17034 * window.el (replace-buffer-in-windows): Restore interactive spec.
17035
17036 2011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
17037
17038 * electric.el (electric-indent-mode): Fix last change (too optimistic).
17039
17040 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
17041 (byte-compile-global-not-obsolete-vars): New var.
17042 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
17043 Use it.
17044 (byte-compile-warn-obsolete): Align text with the one in *Help*.
17045
17046 2011-11-20 Juanma Barranquero <lekktu@gmail.com>
17047
17048 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
17049 * progmodes/pascal.el (electric-pascal-equal):
17050 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
17051 * xml.el (xml-substitute-special): Fix typos.
17052
17053 2011-11-20 Glenn Morris <rgm@gnu.org>
17054
17055 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
17056 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
17057 Doc fixes.
17058 (rmail-decode-mime-charset): Mark as obsolete.
17059
17060 * mail/rmailsum.el (rmail-message-regexp-p-1):
17061 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
17062 Before using mime functions, check they are set. (Bug#10077)
17063
17064 2011-11-19 Juri Linkov <juri@jurta.org>
17065
17066 * info.el (Info-finder-find-node): Use `package--builtins' instead
17067 of `package-alist'. Use node names formed by the pattern "Keyword "
17068 and the keyword name.
17069
17070 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
17071
17072 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
17073
17074 2011-11-19 Juri Linkov <juri@jurta.org>
17075
17076 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
17077 that calls `revert-buffer' on all Info buffers. (Bug#9915)
17078 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
17079 `old-history', `old-history-forward'. Add let-binding
17080 `window-selected'. Remove calls to `kill-buffer',
17081 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
17082 before calling `Info-find-node', so `Info-find-node-2' will reread
17083 the Info file. Restore window positions only when `window-selected'
17084 is non-nil.
17085
17086 2011-11-19 Juri Linkov <juri@jurta.org>
17087
17088 * isearch.el (isearch-lazy-highlight-new-loop):
17089 Remove condition `(not isearch-error)'. (Bug#9918)
17090
17091 * misearch.el (multi-isearch-search-fun): Add condition
17092 `(not bound)' to ignore lazy-highlighting search.
17093 Add the search-failed message "end of multi" when the end of
17094 multi-sequence is reached. Uncapitalize the search-failed
17095 message "Repeat for next buffer".
17096
17097 * info.el (Info-search): Add the search-failed message
17098 "end of the manual" when the end of the manual is reached
17099 in Isearch mode.
17100
17101 2011-11-19 Juri Linkov <juri@jurta.org>
17102
17103 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
17104 Use non-destructive `remove' instead of `delete' because
17105 `Info-history-list' stored to `Info-isearch-initial-history-list' in
17106 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
17107
17108 2011-11-19 Juri Linkov <juri@jurta.org>
17109
17110 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
17111 to nil instead of binding `search-ring' and `regexp-search-ring'.
17112 (Bug#9185)
17113
17114 2011-11-19 Eli Zaretskii <eliz@gnu.org>
17115
17116 * simple.el (line-move): Force movement by logical lines for any
17117 hscrolled window, not only when auto-hscroll-mode is on.
17118 (line-move-visual): Update doc string to that effect. (Bug#10076)
17119
17120 2011-11-19 Andreas Schwab <schwab@linux-m68k.org>
17121
17122 * language/european.el (macintosh): Define as alias for mac-roman.
17123
17124 2011-11-19 Eli Zaretskii <eliz@gnu.org>
17125
17126 * mail/rmailmm.el (rmail-mime-display-header)
17127 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
17128 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
17129 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
17130 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
17131 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
17132 of a raw aref.
17133 (rmail-mime-entity-segment): To get past the tagline, move forward
17134 2 more lines, to account for the 2 empty lines that precede and
17135 follow the line with the buttons.
17136 (rmail-mime-update-tagline): Move one more line, to get past the
17137 empty line that follows the buttons in the tagline. (Bug#9520)
17138
17139 2011-11-19 Martin Rudalics <rudalics@gmx.at>
17140
17141 * window.el (window-max-delta-1, window-min-delta-1)
17142 (window-min-size-1, window-state-get-1, window-state-put-1)
17143 (window-state-put-2): Use "window--" prefix.
17144
17145 2011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
17146
17147 * emacs-lisp/smie.el: Improve warnings and conflict detection.
17148 (smie-warning-count): New var.
17149 (smie-set-prec2tab): Use it.
17150 (smie-bnf->prec2): Improve warnings. Add docstring.
17151 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
17152 (smie-bnf--set-class): New function.
17153 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
17154 corner case.
17155
17156 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
17157 (compilation-error-properties, compilation-move-to-column):
17158 Handle compilation-first-column while in the target buffer.
17159
17160 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
17161 Don't hardcode point-min==1.
17162
17163 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
17164 (eshell-rewrite-for-command): Remove workaround.
17165 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
17166 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
17167 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
17168
17169 * files-x.el (modify-file-local-variable): Obey commenting conventions.
17170
17171 2011-11-17 Glenn Morris <rgm@gnu.org>
17172
17173 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
17174 Ignore buffer-local generated-autoload-file if it is the same
17175 as the global value. (Bug#10049)
17176
17177 2011-11-17 Juanma Barranquero <lekktu@gmail.com>
17178
17179 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
17180 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
17181 (reftex-toc-previous-heading, reftex-toc-max-level)
17182 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
17183 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
17184 (reftex-toc-do-promote, reftex-toc-promote-prepare)
17185 (reftex-toc-promote-action, reftex-toc-extract-section-number)
17186 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
17187 (reftex-toc-rename-label, reftex-toc-visit-location)
17188 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
17189 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
17190 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
17191 leaving "*toc*" only for references to the buffer.
17192
17193 2011-11-17 Martin Rudalics <rudalics@gmx.at>
17194
17195 * window.el (window-resize, delete-window, split-window):
17196 Replace window-splits by window-combination-resize.
17197 * cus-start.el (window-splits): Replace by window-combination-resize.
17198
17199 2011-11-17 Glenn Morris <rgm@gnu.org>
17200
17201 * progmodes/sh-script.el (sh-font-lock-keywords-var):
17202 Make bash entry derive from sh entry, not shell entry.
17203
17204 2011-11-16 Michael Albinus <michael.albinus@gmx.de>
17205
17206 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
17207 local file name.
17208
17209 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
17210
17211 * menu-bar.el (menu-bar-file-menu):
17212 * printing.el (pr-ps-utility):
17213 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
17214 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
17215 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
17216 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
17217 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
17218 (icalendar--convert-cyclic-to-ical)
17219 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
17220 (icalendar--convert-ical-to-diary)
17221 (icalendar--convert-recurring-to-diary)
17222 (icalendar--convert-non-recurring-all-day-to-diary)
17223 (icalendar-import-format-sample):
17224 * progmodes/idlw-shell.el (idlwave-shell-mode):
17225 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
17226 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
17227 (vhdl-ps-print-init): Fix typos.
17228
17229 2011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
17230
17231 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
17232 FSF and collapse date sequence, obscure author/maintainer email address
17233 better, remove extra version line, track relocation of author's webpage.
17234
17235 * progmodes/python.el (python-pdbtrack-input-prompt)
17236 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
17237 regular python pdb prompts. Adjustments shamelessly taken exactly as
17238 suggested in EmacsWiki page (tiny change):
17239 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
17240
17241 2011-11-16 Juanma Barranquero <lekktu@gmail.com>
17242
17243 * expand.el (expand-pos, expand-index, expand-point):
17244 Remove redundant info from docstring.
17245 (expand-add-abbrevs): Doc fix.
17246 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
17247 (expand-sample-perl-mode-expand-list): Fix typos.
17248
17249 * net/dbus.el (dbus-event-member-name):
17250 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
17251 * term/pc-win.el (msdos-create-frame-with-faces):
17252 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
17253
17254 2011-11-16 Martin Rudalics <rudalics@gmx.at>
17255
17256 * window.el (split-window, window-state-get-1)
17257 (window-state-put-1, window-state-put-2): Rename occurrences of
17258 window-nest to window-combination-limit.
17259 * cus-start.el (window-nest): Rename to window-combination-limit.
17260
17261 2011-11-16 Chong Yidong <cyd@gnu.org>
17262
17263 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
17264 regexp (Bug#10033).
17265
17266 2011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
17267
17268 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
17269 `completing-read' will remove *Completions* and will preserve
17270 current-buffer for us.
17271 (tmm-add-prompt): Users of *Completions* will always (re)set its
17272 major mode.
17273 (tmm-old-comp-map): Remove.
17274
17275 2011-11-16 Glenn Morris <rgm@gnu.org>
17276
17277 * mail/rmailedit.el: Require rmailmm when compiling.
17278 (rmail-old-mime-state): New declaration.
17279 (rmail-edit-current-message): If editing a mime message,
17280 edit the "raw" message from the mbox buffer.
17281 (rmail-cease-edit): Handle mime messages. (Bug#9840)
17282
17283 2011-11-15 Glenn Morris <rgm@gnu.org>
17284
17285 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
17286 which wasn't being used. Add optional arg to force given state.
17287 (rmail-mime): Add optional arg to force given state.
17288
17289 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
17290
17291 * allout.el (allout-encryption-plaintext-sanitization-regexps):
17292 * frame.el (display-mm-dimensions-alist):
17293 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
17294 (outline-move-subtree-down):
17295 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
17296 (newsticker--treeview-do-get-node):
17297 * net/quickurl.el (quickurl-list-buffer-name):
17298 * progmodes/dcl-mode.el (dcl-mode):
17299 * progmodes/gdb-mi.el (gdb-mapcar*):
17300 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
17301
17302 2011-11-15 Glenn Morris <rgm@gnu.org>
17303
17304 * mail/rmail.el (rmail-file-coding-system): It's only ever used
17305 in a boolean sense, so just make it a boolean, and fix the doc.
17306 (rmail-show-mime-function, rmail-mime-feature)
17307 (rmail-require-mime-maybe): Doc fixes.
17308 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
17309
17310 * mail/rmailmm.el (rmail-show-mime): Doc fix.
17311
17312 2011-11-15 Juanma Barranquero <lekktu@gmail.com>
17313
17314 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
17315 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
17316 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
17317 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
17318
17319 2011-11-15 Glenn Morris <rgm@gnu.org>
17320
17321 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
17322 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
17323 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
17324 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
17325 (rmail-mime, rmail-show-mime): Doc fixes.
17326
17327 * term/ns-win.el (mode-line-frame-identification):
17328 Leave it alone. (Bug#10051)
17329
17330 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
17331
17332 * mail/rmailout.el (rmail-output-to-rmail-buffer):
17333 Handle empty buffers. (Bug#9978)
17334
17335 2011-11-14 Juanma Barranquero <lekktu@gmail.com>
17336
17337 * international/mule.el (define-charset):
17338 * mail/rmailmm.el (rmail-mime-find-header-encoding):
17339 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
17340 * progmodes/verilog-mode.el (verilog-backward-token):
17341 * textmodes/ispell.el (lookup-words):
17342 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
17343
17344 2011-11-14 Glenn Morris <rgm@gnu.org>
17345
17346 * progmodes/executable.el
17347 (executable-make-buffer-file-executable-if-script-p):
17348 Handle file-modes returning nil.
17349
17350 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
17351 message - not necessary, and causes problems. (Bug#9831)
17352
17353 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
17354
17355 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
17356
17357 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
17358 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
17359 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
17360
17361 2011-11-12 Martin Rudalics <rudalics@gmx.at>
17362
17363 * window.el (window-resize, delete-window): Use window-splits
17364 variable instead of function.
17365 (window-state-get-1, window-state-put-2, window-state-put):
17366 Don't deal with windows' splits status.
17367
17368 2011-11-12 Glenn Morris <rgm@gnu.org>
17369
17370 * apropos.el (apropos-do-all, apropos-library, apropos-value)
17371 (apropos-documentation): Doc fixes.
17372
17373 2011-11-11 Juanma Barranquero <lekktu@gmail.com>
17374
17375 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
17376 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
17377
17378 2011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
17379
17380 * electric.el (electric-indent-post-self-insert-function): Make it
17381 possible for a char to only indent in some circumstances.
17382 (electric-indent-mode): Simplify.
17383
17384 2011-11-11 Martin Rudalics <rudalics@gmx.at>
17385
17386 * window.el (windows-with-parameter): Remove unused function.
17387 (windows-at-side): Rename to window-at-side-list.
17388 (window-check, window-atom-check, window-atom-check-1)
17389 (window-side-check, window-size-ignore, window-size-fixed-1)
17390 (window-in-direction-2): Prefix with "window--".
17391 (window-tree-1): Rename to window--subtree, fix doc-string.
17392
17393 2011-11-11 Glenn Morris <rgm@gnu.org>
17394
17395 * subr.el (eval-after-load): If FILE is already loaded,
17396 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
17397
17398 2011-11-10 Glenn Morris <rgm@gnu.org>
17399
17400 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
17401 Call svn via vc-svn-command rather than vc-do-command.
17402 (vc-svn-command): Add --non-interactive. (Bug#9993)
17403 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
17404
17405 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
17406 Add toggle-read-only. (Bug#7292)
17407 * files.el (toggle-read-only): Mention that it should only
17408 be used interactively. (Bug#10006)
17409
17410 2011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
17411
17412 * progmodes/compile.el (compilation-error-regexp-alist-alist):
17413 Adjust regexp for OCaml warnings.
17414
17415 * electric.el (electric-pair-post-self-insert-function): Let user
17416 turn it off buffer-locally (bug#9932).
17417
17418 * progmodes/python.el (python-beginning-of-statement):
17419 Rewrite (bug#2703).
17420
17421 * progmodes/compile.el: Better handle TABs (bug#9749).
17422 (compilation-internal-error-properties)
17423 (compilation-next-error-function): Obey the target buffer's
17424 compilation-error-screen-columns.
17425
17426 2011-11-09 Juanma Barranquero <lekktu@gmail.com>
17427
17428 * progmodes/meta-mode.el: Remove obsolete comments.
17429 (meta-right-comment-regexp, meta-ignore-comment-regexp):
17430 Fix typos in docstrings.
17431
17432 2011-11-09 Martin Rudalics <rudalics@gmx.at>
17433
17434 * window.el (window-size-fixed-p): Rewrite doc-string.
17435 (window-resizable-p): Rename to window--resizable-p. Update callers.
17436 (window--resizable): New function. Make all callers of
17437 window-resizable call window--resizable instead.
17438 (window-resizable): Rewrite in terms of window--resizable.
17439
17440 2011-11-08 Glenn Morris <rgm@gnu.org>
17441
17442 * progmodes/delphi.el (delphi-mode-syntax-table):
17443 Let define-derived-mode define a proper syntax table. (Bug#9994)
17444
17445 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
17446
17447 * window.el: Stay away from defsubst.
17448 (window-list-no-nils): Remove.
17449 (window-state-get-1, window-state-get): Use backquote instead.
17450
17451 2011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
17452
17453 * emacs-lisp/find-func.el (find-function-read):
17454 Fix incorrect use of default argument in `completing-read'.
17455
17456 2011-11-08 Martin Rudalics <rudalics@gmx.at>
17457
17458 * window.el (display-buffer-function, special-display-function):
17459 Mention display-buffer-record-window but do not mention
17460 help-setup parameter in doc-strings.
17461 (window-min-delta): Fix doc-string typo.
17462
17463 2011-11-08 Chong Yidong <cyd@gnu.org>
17464
17465 * window.el (window-total-height, window-total-width): Doc fix.
17466 (window-body-size): Move from C.
17467 (window-body-height, window-body-width): Move to C.
17468
17469 2011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
17470
17471 * window.el: Make special-display like display-buffer-alist (bug#9532).
17472 (display-buffer--special-action): New function, morphed
17473 from display-buffer--special.
17474 (display-buffer): Use it to handle special-display-buffers at higher
17475 priority (just after display-buffer-alist).
17476 (display-buffer-fallback-action, display-buffer--other-frame-action)
17477 (pop-to-buffer-same-window): Remove display-buffer--special.
17478
17479 2011-11-07 Glenn Morris <rgm@gnu.org>
17480
17481 * calendar/cal-menu.el (cal-menu-set-date-title):
17482 Do nothing if not in a calendar. (Bug#9976)
17483
17484 2011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
17485
17486 * files.el (find-file): Always use selected-window.
17487
17488 2011-11-07 Martin Rudalics <rudalics@gmx.at>
17489
17490 * window.el (window-combinations): Make WINDOW argument
17491 mandatory. Rewrite doc-string.
17492 (walk-window-subtree, window-atom-check, window-min-delta)
17493 (window-max-delta, window--resize-this-window)
17494 (window--resize-root-window-vertically, window-tree)
17495 (balance-windows, window-state-put): Rewrite doc-strings as to
17496 not mention the term "subwindow".
17497 (window--resize-subwindows-skip-p): Rename to
17498 window--resize-child-windows-skip-p.
17499 (window--resize-subwindows-normal): Rename to
17500 window--resize-child-windows-normal.
17501 (window--resize-subwindows): Rename to
17502 window--resize-child-windows.
17503 (window-or-subwindow-p): Rename to window--in-subtree-p.
17504
17505 2011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
17506
17507 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
17508 Ensure that mbox format messages end in two newlines (Bug#9974).
17509
17510 2011-11-06 Chong Yidong <cyd@gnu.org>
17511
17512 * window.el (window-combination-p): Function deleted; its
17513 side-effect is not used in any existing code.
17514 (window-combinations, window-combined-p): Call window-*-child
17515 directly.
17516
17517 2011-11-05 Chong Yidong <cyd@gnu.org>
17518
17519 * window.el (window-valid-p): Rename from window-any-p.
17520 (window-size-ignore, window-state-get): Callers changed.
17521 (window-normalize-window): Rename from window-normalize-any-window.
17522 New arg LIVE-ONLY, replacing window-normalize-live-window.
17523 (window-normalize-live-window): Delete.
17524 (window-combination-p, window-combined-p, window-combinations)
17525 (walk-window-subtree, window-atom-root, window-min-size)
17526 (window-sizable, window-sizable-p, window-size-fixed-p)
17527 (window-min-delta, window-max-delta, window-resizable)
17528 (window-resizable-p, window-full-height-p, window-full-width-p)
17529 (window-current-scroll-bars, window-point-1, set-window-point-1)
17530 (window-at-side-p, window-in-direction, window-resize)
17531 (adjust-window-trailing-edge, maximize-window, minimize-window)
17532 (window-deletable-p, delete-window, delete-other-windows)
17533 (record-window-buffer, unrecord-window-buffer)
17534 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
17535 (quit-window, split-window, window-state-put)
17536 (set-window-text-height, fit-window-to-buffer)
17537 (shrink-window-if-larger-than-buffer): Callers changed.
17538
17539 2011-11-04 Eli Zaretskii <eliz@gnu.org>
17540
17541 * mail/rmail.el (rmail-simplified-subject): Decode subject with
17542 rfc2047-decode-string.
17543 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
17544 warnings.
17545
17546 * window.el (window-body-height, window-body-width): Mention in
17547 the doc string that the return values are in frame's canonical
17548 units. (Bug#9949)
17549
17550 2011-11-03 Alan Mackenzie <acm@muc.de>
17551
17552 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
17553 change in cc-engine.el.
17554
17555 2011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
17556
17557 * window.el (switch-to-buffer): Use `force-same-window' interactively.
17558
17559 2011-11-02 Martin Rudalics <rudalics@gmx.at>
17560
17561 * window.el (quit-window): Call unrecord-window-buffer after
17562 showing another buffer in the window. (Bug#9937)
17563 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
17564
17565 2011-11-02 Juanma Barranquero <lekktu@gmail.com>
17566
17567 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
17568 Accept status with more than 9 shelves. (Bug#9935)
17569 Reported by Colin D Bennett <colin@gibibit.com>.
17570
17571 2011-11-01 Martin Rudalics <rudalics@gmx.at>
17572
17573 * help.el (with-help-window): Don't reference
17574 temp-buffer-show-specifiers in doc-string.
17575
17576 2011-10-31 Andreas Schwab <schwab@linux-m68k.org>
17577
17578 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
17579 menu-item.
17580
17581 2011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
17582
17583 * whitespace.el: New version 13.2.2.
17584 (whitespace-newline-mode): Disable properly. Reported by Sarah
17585 <EmacsWiki>.
17586
17587 2011-10-30 Ulf Jasper <ulf.jasper@web.de>
17588
17589 * net/newst-treeview.el: Remove "Time-stamp".
17590 (newsticker--group-manage-orphan-feeds): Do not call
17591 newsticker--treeview-tree-update.
17592 (newsticker-treeview-update, newsticker-treeview):
17593 Call newsticker--treeview-tree-update if necessary.
17594
17595 2011-10-30 Martin Rudalics <rudalics@gmx.at>
17596
17597 * window.el (window-iso-combination-p, window-iso-combined-p)
17598 (window-iso-combinations): Remove "iso-" infix.
17599 Suggested by Chong Yidong.
17600 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
17601 (window-max-delta-1, window-resize, window--resize-siblings)
17602 (window--resize-this-window, adjust-window-trailing-edge)
17603 (split-window, balance-windows-1)
17604 (shrink-window-if-larger-than-buffer):
17605 * calendar/calendar.el (calendar-generate-window):
17606 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
17607
17608 2011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
17609
17610 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
17611 in place (bug#9907).
17612 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
17613 (eshell-rewrite-if-command, eshell-rewrite-for-command)
17614 (eshell-structure-basic-command, eshell-rewrite-while-command)
17615 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
17616 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
17617 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
17618 (eshell-do-pipelines-synchronously, eshell-eval-command):
17619 Use backquotes and prefer setq to set.
17620 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
17621 (eshell-macrop): Use functionp.
17622 (eshell-do-eval): Handle multiple expressions in `while' body.
17623
17624 2011-10-30 Chong Yidong <cyd@gnu.org>
17625
17626 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
17627 instead of set-mark (Bug#9810).
17628
17629 2011-10-30 Chong Yidong <cyd@gnu.org>
17630
17631 * window.el (split-window-below, split-window-right): Rename from
17632 split-window-above-each-other and split-window-side-by-side
17633 respectively. All callers changed.
17634 (split-window-sensibly, split-window-sensibly): Use them.
17635 (split-window-keep-point): Doc fix.
17636
17637 * isearch.el: Add isearch-scroll property to split-window-below
17638 and split-window-right.
17639
17640 * follow.el (follow-mode):
17641 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
17642 * progmodes/ada-xref.el (ada-gdb-application):
17643 * emulation/vip.el (vip-buffer-in-two-windows):
17644 * image-dired.el (image-dired-dired-with-window-configuration):
17645 * dired-x.el (dired-do-find-marked-files):
17646 * dired.el (dired-pop-to-buffer):
17647 * bs.el (bs--show-with-configuration):
17648 * vc/emerge.el (emerge-setup-windows):
17649 * textmodes/two-column.el (2C-two-columns):
17650 * textmodes/reftex-toc.el (reftex-toc):
17651 * progmodes/gdb-mi.el (gdb-setup-windows):
17652 * progmodes/fortran.el (fortran-window-create):
17653 * net/newst-treeview.el (newsticker--treeview-window-init):
17654 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
17655 * emulation/tpu-edt.el (tpu-gold-map):
17656 * emulation/crisp.el (crisp-mode-map):
17657 * calendar/calendar.el (calendar-basic-setup): Callers changed.
17658
17659 2011-10-29 Chong Yidong <cyd@gnu.org>
17660
17661 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
17662
17663 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
17664
17665 * textmodes/flyspell.el (flyspell-word): Fix char offset for
17666 forged Ispell output (Bug#7904).
17667
17668 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
17669
17670 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
17671
17672 * doc-view.el: Avoid ugly errors about not finding nil.
17673 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
17674 (doc-view-dvipdf-program, doc-view-unoconv-program)
17675 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
17676 Avoid nil or absolute file name as default value.
17677 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
17678
17679 2011-10-28 Alan Mackenzie <acm@muc.de>
17680
17681 * progmodes/cc-defs.el (c-version): -> 5.32.2.
17682
17683 2011-10-28 Alan Mackenzie <acm@muc.de>
17684
17685 Amend the handling of c-beginning/end-of-defun in nested declaration
17686 scopes.
17687
17688 * progmodes/cc-vars.el (c-defun-tactic): Move here from
17689 cc-langs.el. Change it to a defcustom.
17690
17691 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
17692 cc-vars.el.
17693
17694 * progmodes/cc-engine.el (c-beginning-of-statement-1):
17695 Prevent "class foo : bar" being spuriously recognized as a label.
17696
17697 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
17698 Add parameter `inclusive' (to include enclosing braces in the region).
17699 (c-widen-to-enclosing-decl-scope): New function.
17700 (c-while-widening-to-decl-block): New macro.
17701 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
17702 outward for defun boundaries, and correspondingly change symbol
17703 `respect-enclosure' to `go-outward'.
17704 (c-declaration-limits): Change algorithm to report only the "innermost"
17705 defun's boundaries.
17706
17707 2011-10-28 Deniz Dogan <deniz@dogan.se>
17708
17709 * net/rcirc.el (rcirc-mode): Use hard newlines.
17710
17711 2011-10-28 Alan Mackenzie <acm@muc.de>
17712
17713 Amend to indent and fontify macros "which include their own semicolon"
17714 correctly, using the "virtual semicolon" mechanism.
17715
17716 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
17717
17718 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
17719 Recode to scan one line at a time rather than having \n and \r
17720 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
17721 (c-forward-label): Amend for virtual semicolons.
17722 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
17723
17724 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
17725 of the new C macros.
17726
17727 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
17728 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
17729 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
17730 (c-opt-cpp-macro-define): Make into a full language variable.
17731 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
17732 AWK Mode (including \n, \r) removed, no longer needed.
17733
17734 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
17735 Invoke c-make-macro-with-semi-re.
17736
17737 * progmodes/cc-vars.el (c-macro-with-semi-re):
17738 (c-macro-names-with-semicolon): New variables.
17739 (c-make-macro-with-semi-re): New function.
17740
17741 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
17742
17743 * vc/log-edit.el: Fill empty field rather than adding new one.
17744 (log-edit-add-field): New function.
17745 (log-edit-insert-changelog): Use it.
17746
17747 2011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
17748
17749 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
17750
17751 2011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
17752
17753 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
17754 (gdb--check-interpreter): New function.
17755 (gdb): Use it.
17756
17757 2011-10-27 Glenn Morris <rgm@gnu.org>
17758
17759 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
17760 (least-positive-float, least-negative-float)
17761 (least-positive-normalized-float, least-negative-normalized-float)
17762 (float-epsilon, float-negative-epsilon):
17763 Remove unnecessary declarations.
17764
17765 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
17766 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
17767 (least-positive-float, least-negative-float)
17768 (least-positive-normalized-float, least-negative-normalized-float)
17769 (float-epsilon, float-negative-epsilon): Add doc-strings,
17770 based on those in cl.texi.
17771
17772 * files.el (set-visited-file-name): If the major-mode changed,
17773 reload the local variables. (Bug#9796)
17774
17775 2011-10-27 Chong Yidong <cyd@gnu.org>
17776
17777 * subr.el (change-major-mode-after-body-hook): New hook.
17778 (run-mode-hooks): Run it.
17779
17780 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
17781 Use change-major-mode-before-body-hook.
17782
17783 * simple.el (fundamental-mode):
17784 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
17785 change introducing fundamental-mode-hook.
17786
17787 2011-10-26 Juanma Barranquero <lekktu@gmail.com>
17788
17789 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
17790
17791 2011-10-26 Michael Albinus <michael.albinus@gmx.de>
17792
17793 * ido.el (ido-file-name-all-completions-1): Do not require
17794 tramp.el explicitly. (Bug#7583)
17795
17796 2011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
17797
17798 * progmodes/octave-mod.el:
17799 * progmodes/octave-inf.el: Update maintainer.
17800
17801 2011-10-26 Chong Yidong <cyd@gnu.org>
17802
17803 * subr.el (with-wrapper-hook): Rewrite doc.
17804
17805 2011-10-25 Michael Albinus <michael.albinus@gmx.de>
17806
17807 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
17808 filenames "/method:foo:". (Bug#9793)
17809
17810 2011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
17811
17812 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
17813 (bug#9865).
17814
17815 2011-10-24 Glenn Morris <rgm@gnu.org>
17816
17817 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
17818
17819 2011-10-24 Michael Albinus <michael.albinus@gmx.de>
17820
17821 * notifications.el: Add the requirement of a running D-Bus session
17822 bus to the Commentary.
17823
17824 2011-10-24 Juri Linkov <juri@jurta.org>
17825
17826 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
17827 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
17828 (Bug#9364)
17829
17830 2011-10-24 Juri Linkov <juri@jurta.org>
17831
17832 * info.el (Info-following-node-name-re): Add newline to the list
17833 of allowed characters for leading space. (Bug#9824)
17834
17835 2011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
17836
17837 * progmodes/octave-inf.el (inferior-octave-mode-map):
17838 Fix C-c C-h binding.
17839 * progmodes/octave-mod.el (octave-help): Remove.
17840
17841 2011-10-23 Michael Albinus <michael.albinus@gmx.de>
17842
17843 Sync with Tramp 2.2.3.
17844
17845 * net/tramp-cache.el (top): Pacify byte-compiler using
17846 `init-file-user' and `site-run-file'.
17847
17848 * net/trampver.el: Update release number.
17849
17850 2011-10-23 Chong Yidong <cyd@gnu.org>
17851
17852 * files.el (toggle-read-only): Remove obsolete comment about
17853 version control.
17854
17855 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
17856 for toggle-read-only. Note that this hasn't called vc-next-action
17857 since 2008-05-02, though it wasn't documented at the time.
17858
17859 * vc/ediff-init.el (ediff-toggle-read-only-function):
17860 Use toggle-read-only.
17861
17862 2011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
17863
17864 Fix bug #9560, sporadic wrong indentation; improve instrumentation
17865 of c-parse-state.
17866
17867 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
17868 correct faulty logical expression.
17869 (c-parse-state-state, c-record-parse-state-state):
17870 (c-replay-parse-state-state): New defvar/defuns.
17871 (c-debug-parse-state): Use new functions.
17872
17873 2011-10-22 Martin Rudalics <rudalics@gmx.at>
17874
17875 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
17876 last fix. Use window-in-direction correctly.
17877
17878 2011-10-21 Chong Yidong <cyd@gnu.org>
17879
17880 * progmodes/idlwave.el (idlwave-mode):
17881 * progmodes/vera-mode.el (vera-mode): No need to set
17882 require-final-newline; that's done in prog-mode.
17883 Suggested by Stefan Monnier.
17884
17885 2011-10-21 Martin Rudalics <rudalics@gmx.at>
17886
17887 * mouse.el (mouse-drag-window-above)
17888 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
17889 (mouse-drag-mode-line-1, mouse-drag-header-line)
17890 (mouse-drag-vertical-line-rightward-window): Remove.
17891 (mouse-drag-line): New function.
17892 (mouse-drag-mode-line, mouse-drag-header-line)
17893 (mouse-drag-vertical-line): Call mouse-drag-line.
17894 * window.el (window-at-side-p, windows-at-side): New functions.
17895
17896 2011-10-21 Ulrich Mueller <ulm@gentoo.org>
17897
17898 * tar-mode.el (tar-grind-file-mode):
17899 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
17900
17901 2011-10-21 Chong Yidong <cyd@gnu.org>
17902
17903 * progmodes/idlwave.el (idlwave-mode):
17904 * progmodes/vera-mode.el (vera-mode):
17905 Use mode-require-final-newline.
17906
17907 2011-10-20 Glenn Morris <rgm@gnu.org>
17908
17909 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
17910
17911 2011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
17912
17913 * emulation/cua-base.el (cua-set-mark): Fix case of string.
17914
17915 2011-10-20 Chong Yidong <cyd@gnu.org>
17916
17917 * emulation/cua-base.el (cua-mode):
17918 * mail/footnote.el (footnote-mode):
17919 * mail/mailabbrev.el (mail-abbrevs-mode):
17920 * net/xesam.el (xesam-minor-mode):
17921 * progmodes/bug-reference.el (bug-reference-mode):
17922 * progmodes/cap-words.el (capitalized-words-mode):
17923 * progmodes/compile.el (compilation-minor-mode)
17924 (compilation-shell-minor-mode):
17925 * progmodes/gud.el (gud-tooltip-mode):
17926 * progmodes/hideif.el (hide-ifdef-mode):
17927 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
17928 * progmodes/subword.el (subword-mode):
17929 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
17930 * progmodes/which-func.el (which-function-mode):
17931 * term/tvi970.el (tvi970-set-keypad-mode):
17932 * term/vt100.el (vt100-wide-mode):
17933 * textmodes/flyspell.el (flyspell-mode):
17934 * textmodes/ispell.el (ispell-minor-mode):
17935 * textmodes/nroff-mode.el (nroff-electric-mode):
17936 * textmodes/paragraphs.el (use-hard-newlines):
17937 * textmodes/refill.el (refill-mode):
17938 * textmodes/reftex.el (reftex-mode):
17939 * textmodes/rst.el (rst-minor-mode):
17940 * textmodes/sgml-mode.el (html-autoview-mode)
17941 (sgml-electric-tag-pair-mode):
17942 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
17943 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
17944 * emulation/crisp.el (crisp-mode):
17945 * emacs-lisp/eldoc.el (eldoc-mode):
17946 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
17947 minor mode behavior.
17948
17949 2011-10-19 Juri Linkov <juri@jurta.org>
17950
17951 * descr-text.el (describe-char): Add #x2010 and #x2011 to
17952 the list of hard-coded chars with escape-glyph face.
17953
17954 2011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
17955
17956 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
17957
17958 2011-10-19 Michael Albinus <michael.albinus@gmx.de>
17959
17960 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
17961 running process.
17962
17963 2011-10-19 Glenn Morris <rgm@gnu.org>
17964
17965 * vc/vc-bzr.el (vc-bzr-after-dir-status):
17966 Ignore ignored files. (Bug#9726)
17967
17968 2011-10-19 Chong Yidong <cyd@gnu.org>
17969
17970 Doc fix for minor modes, stating that an omitted argument enables
17971 the mode unconditionally when called from Lisp.
17972
17973 * abbrev.el (abbrev-mode):
17974 * allout.el (allout-mode):
17975 * autoinsert.el (auto-insert-mode):
17976 * autoarg.el (autoarg-mode, autoarg-kp-mode):
17977 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
17978 (global-auto-revert-mode):
17979 * battery.el (display-battery-mode):
17980 * composite.el (global-auto-composition-mode)
17981 (auto-composition-mode):
17982 * delsel.el (delete-selection-mode):
17983 * desktop.el (desktop-save-mode):
17984 * dired-x.el (dired-omit-mode):
17985 * dirtrack.el (dirtrack-mode):
17986 * doc-view.el (doc-view-minor-mode):
17987 * double.el (double-mode):
17988 * electric.el (electric-indent-mode, electric-pair-mode):
17989 * emacs-lock.el (emacs-lock-mode):
17990 * epa-hook.el (auto-encryption-mode):
17991 * follow.el (follow-mode):
17992 * font-core.el (font-lock-mode):
17993 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
17994 * help.el (temp-buffer-resize-mode):
17995 * hilit-chg.el (highlight-changes-mode)
17996 (highlight-changes-visible-mode):
17997 * hi-lock.el (hi-lock-mode):
17998 * hl-line.el (hl-line-mode, global-hl-line-mode):
17999 * icomplete.el (icomplete-mode):
18000 * ido.el (ido-everywhere):
18001 * image-file.el (auto-image-file-mode):
18002 * image-mode.el (image-minor-mode):
18003 * iswitchb.el (iswitchb-mode):
18004 * jka-cmpr-hook.el (auto-compression-mode):
18005 * linum.el (linum-mode):
18006 * longlines.el (longlines-mode):
18007 * master.el (master-mode):
18008 * mb-depth.el (minibuffer-depth-indicate-mode):
18009 * menu-bar.el (menu-bar-mode):
18010 * minibuf-eldef.el (minibuffer-electric-default-mode):
18011 * mouse-sel.el (mouse-sel-mode):
18012 * msb.el (msb-mode):
18013 * mwheel.el (mouse-wheel-mode):
18014 * outline.el (outline-minor-mode):
18015 * paren.el (show-paren-mode):
18016 * recentf.el (recentf-mode):
18017 * reveal.el (reveal-mode, global-reveal-mode):
18018 * rfn-eshadow.el (file-name-shadow-mode):
18019 * ruler-mode.el (ruler-mode):
18020 * savehist.el (savehist-mode):
18021 * scroll-all.el (scroll-all-mode):
18022 * scroll-bar.el (scroll-bar-mode):
18023 * server.el (server-mode):
18024 * shell.el (shell-dirtrack-mode):
18025 * simple.el (auto-fill-mode, transient-mark-mode)
18026 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
18027 (line-number-mode, column-number-mode, size-indication-mode)
18028 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
18029 * strokes.el (strokes-mode):
18030 * time.el (display-time-mode):
18031 * t-mouse.el (gpm-mouse-mode):
18032 * tool-bar.el (tool-bar-mode):
18033 * tooltip.el (tooltip-mode):
18034 * type-break.el (type-break-mode-line-message-mode)
18035 (type-break-query-mode):
18036 * view.el (view-mode):
18037 * whitespace.el (whitespace-mode, whitespace-newline-mode)
18038 (global-whitespace-mode, global-whitespace-newline-mode):
18039 * xt-mouse.el (xterm-mouse-mode): Doc fix.
18040
18041 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
18042 Fix autogenerated docstring.
18043
18044 2011-10-19 Juri Linkov <juri@jurta.org>
18045
18046 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
18047 by checking environment variables "DESKTOP_SESSION" and
18048 "XDG_CURRENT_DESKTOP". (Bug#9779)
18049
18050 2011-10-19 Juri Linkov <juri@jurta.org>
18051
18052 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
18053 (browse-url-chromium-program, browse-url-chromium-arguments):
18054 New defcustoms.
18055 (browse-url-default-browser): Check for `browse-url-chromium' and
18056 call `browse-url-chromium-program'.
18057 (browse-url-chromium): New command. (Bug#9779)
18058
18059 2011-10-18 Juanma Barranquero <lekktu@gmail.com>
18060
18061 * facemenu.el (list-colors-duplicates): On Windows, detect more
18062 duplicates by assuming that only colors matching "^System" are
18063 special "system colors". (Bug#9722)
18064
18065 2011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
18066
18067 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
18068 to distinguish the author from the committer.
18069
18070 2011-10-18 Michael Albinus <michael.albinus@gmx.de>
18071
18072 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
18073
18074 2011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
18075
18076 * international/mule.el (sgml-html-meta-auto-coding-function):
18077 Add support for detecting encoding in HTML5 specified only as
18078 <meta charset="UTF-8">. Implementation just makes http-equiv and
18079 content-type parts from HTML4 encoding string optional. (Bug#9716)
18080
18081 2011-10-18 Glenn Morris <rgm@gnu.org>
18082
18083 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
18084
18085 2011-10-18 Chong Yidong <cyd@gnu.org>
18086
18087 * faces.el (cursor): Doc fix.
18088
18089 2011-10-17 Chong Yidong <cyd@gnu.org>
18090
18091 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
18092
18093 2011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
18094
18095 * dirtrack.el (dirtrack): Support shell buffers with path
18096 prefixes, e.g. tramp-based remote shells. (Bug#9647)
18097
18098 2011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
18099
18100 * json.el: Bump version to 1.3 and note change in History.
18101 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
18102
18103 2011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
18104
18105 * comint.el (comint-insert-input, comint-send-input)
18106 (comint-get-old-input-default, comint-backward-matching-input)
18107 (comint-next-prompt): Use nil instead of `input' for field property of
18108 past user input (bug#114).
18109
18110 * minibuffer.el (completion--replace): Inherit surrounding properties
18111 (bug#114).
18112 (minibuffer-complete-and-exit): Use it.
18113
18114 * comint.el (comint--table-subvert): Quote the all-completions output
18115 (bug#9160).
18116
18117 2011-10-17 Martin Rudalics <rudalics@gmx.at>
18118
18119 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
18120
18121 * menu-bar.el (menu-bar-file-menu): Add entry for making new
18122 window on right of selected. (Bug#9350) Reword other window
18123 entries and separate them from frame entries.
18124
18125 2011-10-15 Glenn Morris <rgm@gnu.org>
18126
18127 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
18128 Doc fixes.
18129
18130 2011-10-15 Chong Yidong <cyd@stupidchicken.com>
18131
18132 * net/network-stream.el (network-stream-open-starttls):
18133 Improve detection of failure due to lack of TLS support.
18134
18135 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
18136 putting the input text in front and in bold.
18137
18138 2011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
18139
18140 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
18141
18142 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
18143 empty buffer.
18144
18145 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
18146 unread-command-events rather than pushing yet-another event.
18147
18148 2011-10-14 Eli Zaretskii <eliz@gnu.org>
18149
18150 * mail/sendmail.el (sendmail-query-once): Improve the wording of
18151 the explanation of the possible choices. Make the options passed
18152 to completing-read shorter.
18153
18154 2011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
18155
18156 * textmodes/flyspell.el (flyspell-large-region): Make sure
18157 extended character mode is used if defined (Bug#1339).
18158
18159 2011-10-13 Eli Zaretskii <eliz@gnu.org>
18160
18161 * simple.el (what-cursor-position): Fix the display of the
18162 character info for LRE, LRO, RLE, and RLO characters by appending
18163 an invisible PDF.
18164
18165 2011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
18166
18167 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
18168 even in case of error; add debug spec; simplify data flow.
18169 (with-timeout-handler): Remove.
18170
18171 2011-10-12 Michael Albinus <michael.albinus@gmx.de>
18172
18173 Fix Bug#6019, Bug#9315.
18174
18175 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
18176 complete `buffer-file-name', the local file name part could look
18177 remotely (for example on VMS).
18178
18179 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
18180 `tramp-run-real-handler'.
18181 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
18182 already quoted by '"'.
18183
18184 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
18185 Let `file-name-handler-alist' be nil, the local file name part
18186 could look remotely (for example on VMS).
18187
18188 2011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
18189
18190 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
18191 from here...
18192 (flyspell-post-command-hook): ...to here.
18193
18194 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
18195
18196 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
18197 if not needed.
18198 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
18199 using completion. Protect against "slow" callers.
18200 Remove the "message hack".
18201
18202 2011-10-11 Juri Linkov <juri@jurta.org>
18203
18204 * isearch.el (isearch-lazy-highlight-word): New variable.
18205 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
18206 Use it. (Bug#9727)
18207
18208 2011-10-11 Glenn Morris <rgm@gnu.org>
18209
18210 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
18211 like f90-previous-statement does.
18212
18213 2011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
18214
18215 * eshell/eshell.el (eshell-command): History should be saved
18216 only in interactive use, to avoid error.
18217
18218 2011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
18219
18220 * minibuffer.el (completion-file-name-table): Fix last change,
18221 i.e. ignore normal errors but not the other ones.
18222
18223 2011-10-10 Martin Rudalics <rudalics@gmx.at>
18224
18225 * window.el (special-display-buffer-names)
18226 (special-display-regexps): Remove some remnants of earlier
18227 changes from doc-strings.
18228 (quit-windows-on): New function.
18229
18230 * vc/vc.el (vc-revert, vc-rollback):
18231 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
18232 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
18233 (Bug#6183) (Bug#7074) (Bug#7447)
18234
18235 2011-10-09 Martin Rudalics <rudalics@gmx.at>
18236
18237 * window.el (frame-auto-hide-function): Add version tag.
18238 (Bug#9699)
18239
18240 2011-10-09 Michael Albinus <michael.albinus@gmx.de>
18241
18242 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
18243 condition.
18244
18245 2011-10-09 Leo Liu <sdl.web@gmail.com>
18246
18247 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
18248 (Bug#9701)
18249
18250 2011-10-08 Glenn Morris <rgm@gnu.org>
18251
18252 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
18253 before the first code statement zero indent. (Bug#9690)
18254
18255 2011-10-08 Chong Yidong <cyd@stupidchicken.com>
18256
18257 * simple.el (count-words-region): Always count in the region.
18258 Report the number of lines and characters too.
18259 (count-words): New command, which counts in the buffer if the
18260 region is inactive, as count-words-region used to.
18261 (count-words--message): New function. Handle plurals.
18262 (count-lines-region): Make it an alias for count-words-region.
18263
18264 * bindings.el (esc-map): Replace count-lines-region with
18265 count-words-region.
18266
18267 2011-10-08 Martin Rudalics <rudalics@gmx.at>
18268
18269 * window.el (window--delete): Delete dedicated frame
18270 unconditionally when argument KILL is non-nil. (Bug#9699)
18271 (switch-to-buffer): Fix doc-string typo.
18272
18273 2011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
18274
18275 * eshell/eshell.el (eshell-command): Avoid using hooks.
18276
18277 2011-10-07 Chong Yidong <cyd@stupidchicken.com>
18278
18279 * bindings.el ([M-left],[M-right]): Bind to left-word and
18280 right-word respectively.
18281
18282 2011-10-07 Glenn Morris <rgm@gnu.org>
18283
18284 * cus-start.el (debug-on-quit): Fix custom type.
18285
18286 2011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
18287
18288 * subr.el (define-key-after): Clarify that the function is not
18289 useful for non-menu keymaps.
18290
18291 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
18292
18293 2011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
18294
18295 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
18296 in current minibuffer (Fix bug with recursive minibuffers).
18297
18298 2011-10-06 Chong Yidong <cyd@stupidchicken.com>
18299
18300 * progmodes/gdb-mi.el (gdb): Doc fix.
18301
18302 2011-10-05 Martin Rudalics <rudalics@gmx.at>
18303
18304 * window.el (frame-auto-hide-function): New option replacing
18305 frame-auto-delete. Suggested by Stefan Monnier.
18306 (window--delete): Call frame-auto-hide-function instead of
18307 investigating frame-auto-delete.
18308 (window-point-1, set-window-point-1): New functions.
18309 (window-in-direction, record-window-buffer, window-state-get-1)
18310 (display-buffer-record-window): Use window-point-1 instead of
18311 window-point.
18312 (set-window-buffer-start-and-point): Use set-window-point-1.
18313
18314 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
18315
18316 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
18317
18318 2011-10-05 Glenn Morris <rgm@gnu.org>
18319
18320 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
18321 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
18322
18323 2011-10-05 Leo Liu <sdl.web@gmail.com>
18324
18325 * subr.el (read-char-choice): Fix argument to buffer-live-p which
18326 works with buffer object.
18327
18328 2011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
18329
18330 * mpc.el (mpc-tool-bar-map): Add labels.
18331
18332 2011-10-04 Glenn Morris <rgm@gnu.org>
18333
18334 * calendar/holidays.el (calendar-check-holidays): Doc fix.
18335
18336 2011-10-04 Martin Rudalics <rudalics@gmx.at>
18337
18338 * window.el (window--delete): New function.
18339 (frame-auto-delete): Resuscitate option.
18340 (bury-buffer, replace-buffer-in-windows)
18341 (quit-window): Rewrite using window--delete.
18342 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
18343 Pass display-buffer-mark-dedicated to window--display-buffer-2
18344 (Bug#9639).
18345
18346 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
18347
18348 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
18349 returns a list (bug#9554). Add remote file name completion.
18350 * comint.el (comint--table-subvert): Curry and get quote&unquote
18351 functions as arguments.
18352 (comint--complete-file-name-data): Adjust call accordingly.
18353 * pcomplete.el (pcomplete--table-subvert): Remove.
18354 (pcomplete-completions-at-point): Use comint--table-subvert instead.
18355
18356 * minibuffer.el (completion-table-case-fold): Use currying.
18357 (completion--styles-type, completion--cycling-threshold-type):
18358 New constants.
18359 (completion-styles, completion-category-overrides)
18360 (completion-cycle-threshold): Use them.
18361 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
18362 completion-table-case-fold.
18363
18364 2011-10-03 Stephen Berman <stephen.berman@gmx.net>
18365
18366 * minibuffer.el (completion-category-overrides): Fix type of styles
18367 and add more user friendly tags (bug#9660).
18368
18369 2011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
18370
18371 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
18372 (mule-input-method-string): New widget.
18373 (default-input-method, language-info-custom-alist): Use it.
18374
18375 2011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
18376
18377 * pcomplete.el: Require comint.
18378 (pcomplete--common-suffix): Remove.
18379 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
18380 (pcomplete--table-subvert): Sync with comint--table-subvert.
18381 (pcomplete--entries): Use comint-completion-file-name-table.
18382 * comint.el (comint-unquote-filename): Simplify.
18383 (comint-completion-file-name-table): New function (bug#9616).
18384 (comint--complete-file-name-data): Use it.
18385
18386 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
18387 (pcmpl-gnu-tar-buffer): Remove.
18388 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
18389 around. Make sure pcomplete-suffix-list is only changed temporarily.
18390 Don't look inside the tar's file if it's too large.
18391
18392 2011-10-01 Chong Yidong <cyd@stupidchicken.com>
18393
18394 * cus-edit.el (custom-mode-map):
18395 * epa.el (epa-key-list-mode-map):
18396 * man.el (Man-mode-map):
18397 * startup.el (splash-screen-keymap):
18398 * simple.el (special-mode-map): Use scroll-up-command and
18399 scroll-down-command.
18400
18401 * progmodes/idlw-help.el (idlwave-help-mode-map):
18402 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
18403 * net/newst-plainview.el (newsticker-mode-map):
18404 * emulation/ws-mode.el (wordstar-mode-map):
18405 * emulation/vi.el (vi-com-map):
18406 * calc/calc-graph.el (calc-graph-show-dumb):
18407 * term/sun.el (terminal-init-sun):
18408 * term/ns-win.el (global-map):
18409 * progmodes/grep.el (grep-mode-map):
18410 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
18411 * mail/rmail.el (rmail-mode-map):
18412 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
18413
18414 * custom.el (custom-safe-themes, load-theme): Treat value of t for
18415 custom-safe-themes as special.
18416
18417 2011-10-01 Julien Danjou <julien@danjou.info>
18418
18419 * notifications.el (notifications-notify): Fix docstring.
18420
18421 2011-10-01 Per Starbäck <per@starback.se>
18422
18423 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
18424
18425 2011-09-30 Martin Rudalics <rudalics@gmx.at>
18426
18427 * startup.el (command-line-1): Fix last fix by inserting
18428 initial-scratch-message into *scratch* before displaying it.
18429 (Bug#9605) and (Bug#9636)
18430
18431 2011-09-29 Eli Zaretskii <eliz@gnu.org>
18432
18433 * simple.el (line-move): If auto-hscroll-mode is disabled and the
18434 window is hscrolled, move by logical lines. (Bug#9607)
18435 (line-move-visual): Update the doc string to the above effect.
18436
18437 2011-09-29 Martin Rudalics <rudalics@gmx.at>
18438
18439 * window.el (display-buffer-record-window): When WINDOW is the
18440 selected window use `point' instead of `window-point'. (Bug#9626)
18441
18442 * startup.el (command-line-1): Use insert-before-markers when
18443 inserting initial-scratch-message. (Bug#9605)
18444
18445 * help.el (help-window): Remove variable.
18446
18447 2011-09-29 Glenn Morris <rgm@gnu.org>
18448
18449 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
18450
18451 2011-09-29 Juanma Barranquero <lekktu@gmail.com>
18452
18453 * descr-text.el (describe-char-categories): Accept category
18454 descriptions more than one line long.
18455
18456 2011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
18457
18458 * simple.el (delete-trailing-whitespace): Fix last change.
18459
18460 * progmodes/perl-mode.el (perl-syntax-propertize-function):
18461 Don't confuse "y => 3" as the beginning of a `y' operation.
18462
18463 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
18464 object has more than 4 slots (bug#9613).
18465
18466 2011-09-28 Juanma Barranquero <lekktu@gmail.com>
18467
18468 * subr.el (with-output-to-temp-buffer):
18469 * net/quickurl.el (quickurl, quickurl-browse-url):
18470 Fix typos in docstrings.
18471
18472 2011-09-27 Eli Zaretskii <eliz@gnu.org>
18473
18474 * minibuffer.el (completion-styles)
18475 (completion-category-overrides): Cross reference each other in doc
18476 strings.
18477
18478 2011-09-27 Glenn Morris <rgm@gnu.org>
18479
18480 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
18481 to split-string. (Bug#9606)
18482
18483 2011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
18484
18485 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
18486 (bug#9615).
18487
18488 2011-09-27 Chong Yidong <cyd@stupidchicken.com>
18489
18490 * emacs-lisp/package.el (list-packages): Fix echo area message.
18491
18492 2011-09-27 Leo Liu <sdl.web@gmail.com>
18493
18494 * ido.el (ido-read-internal): Accept cons cell HIST arg.
18495
18496 2011-09-25 Michael Albinus <michael.albinus@gmx.de>
18497
18498 * net/dbus.el (dbus-unregister-object): Don't release services for
18499 registered signals. (Bug#9581)
18500
18501 2011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
18502
18503 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
18504 function that picks between cfengine 2 and 3 support
18505 automatically. Update docs accordingly.
18506
18507 2011-09-22 Kenichi Handa <handa@m17n.org>
18508
18509 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
18510 ZERO.
18511 (indian-itrans-v5-table-for-tamil): New variable.
18512 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
18513
18514 2011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
18515
18516 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
18517 that's true if the current command involved collapsing of text.
18518 It's reset to false at the beginning of the next command.
18519 (allout-post-command-business): Move the cursor to the beginning
18520 of entry if the cursor is hidden and collapsing activity just
18521 happened.
18522
18523 2011-09-24 Chong Yidong <cyd@stupidchicken.com>
18524
18525 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
18526 tracking (Bug#9541).
18527
18528 2011-09-24 Ulf Jasper <ulf.jasper@web.de>
18529
18530 * net/newst-reader.el (newsticker-html-renderer)
18531 (newsticker-show-news): Automatically load html rendering package
18532 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
18533 because w3m-fill-column is let-bound" and the error "Symbol's value
18534 as variable is void: w3m-fill-column".
18535
18536 2011-09-24 Michael Albinus <michael.albinus@gmx.de>
18537
18538 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
18539 Release services only if they are defined. (Bug#9581)
18540
18541 2011-09-23 Richard Stallman <rms@gnu.org>
18542
18543 * textmodes/paragraphs.el (forward-sentence): For backwards case,
18544 distinguish start of paragraph from start of its text.
18545
18546 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
18547
18548 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
18549 (rmail-generate-viewer-buffer): Put that hook on view buffer.
18550 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
18551
18552 2011-09-23 Andreas Schwab <schwab@linux-m68k.org>
18553
18554 * international/mule-diag.el (mule-diag): Insert a newline after
18555 each fontset description.
18556
18557 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
18558
18559 * simple.el (delete-trailing-whitespace):
18560 Document last change; simplify.
18561
18562 2011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
18563
18564 * simple.el (delete-trailing-whitespace): Also delete
18565 extra newlines at the end of the buffer.
18566
18567 * textmodes/picture.el: Make motion commands obey shift-select-mode.
18568 (picture-newline): Use forward-line so as to ignore fields.
18569
18570 2011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
18571
18572 * subr.el (with-wrapper-hook): Fix edebug spec.
18573
18574 2011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
18575
18576 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
18577 (bug#4538).
18578
18579 2011-09-23 Michael Albinus <michael.albinus@gmx.de>
18580
18581 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
18582 Fix nasty bug using wrong cached values.
18583
18584 2011-09-23 Alan Mackenzie <acm@muc.de>
18585
18586 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
18587
18588 2011-09-23 Chong Yidong <cyd@stupidchicken.com>
18589
18590 * window.el (pop-to-buffer): Ensure right window is selected if we
18591 chose another frame.
18592
18593 2011-09-22 Eli Zaretskii <eliz@gnu.org>
18594
18595 * simple.el (what-cursor-position): Use get-char-property-change
18596 and next-single-char-property-change, to be able to show display
18597 properties that come from overlays as well as text properties.
18598
18599 2011-09-22 Chong Yidong <cyd@stupidchicken.com>
18600
18601 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
18602
18603 * cmuscheme.el (run-scheme, switch-to-scheme):
18604 * cus-edit.el (customize-group, custom-buffer-create)
18605 (customize-browse):
18606 * info.el (info):
18607 * shell.el (shell):
18608 * mail/sendmail.el (mail):
18609 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
18610
18611 2011-09-22 Richard Stallman <rms@gnu.org>
18612
18613 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
18614 move back only to line beg, don't move back over blank lines.
18615
18616 2011-09-22 Michael Albinus <michael.albinus@gmx.de>
18617
18618 * files.el (copy-directory): Set directory attributes only in case
18619 they could be retrieved from the source directory. (Bug#9565)
18620
18621 2011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
18622
18623 * progmodes/hideshow.el (hs-looking-at-block-start-p)
18624 (hs-find-block-beginning, hs-hide-level-recursive):
18625 Ignore strings as well as comments. (Bug#9502)
18626
18627 2011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
18628
18629 * progmodes/sql.el (sql-comint-postgres):
18630 Convert port number to a string. (Bug#9566)
18631
18632 2011-09-22 Martin Rudalics <rudalics@gmx.at>
18633
18634 * window.el (quit-window): Undedicate window when switching to
18635 previous buffer. Reported by Thierry Volpiatto
18636 <thierry.volpiatto@gmail.com>.
18637 (special-display-popup-frame): When popping up a new frame reset
18638 its previous buffers to nil. Simplify code.
18639
18640 2011-09-21 Michael Albinus <michael.albinus@gmx.de>
18641
18642 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
18643 and process filter, as done also in `shell-command'.
18644
18645 2011-09-21 Martin Rudalics <rudalics@gmx.at>
18646
18647 * window.el (set-window-buffer-start-and-point):
18648 Call set-window-start with NOFORCE argument t.
18649 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
18650 (quit-window): Reword doc-string. Handle new format of
18651 quit-restore parameter. Don't delete window if it has a
18652 previous buffer we can show instead of the present one.
18653 (display-buffer-record-window): Rewrite using a new format for
18654 the quit-restore window parameter
18655 (special-display-popup-frame, display-buffer-same-window)
18656 (display-buffer-reuse-window, display-buffer-pop-up-frame)
18657 (display-buffer-pop-up-window, display-buffer-use-some-window):
18658 Adapt symbol passed to display-buffer-record-window.
18659 * help.el (help-window-setup): Handle new format of quit-restore
18660 parameter.
18661
18662 2011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
18663
18664 * faces.el (face-list): Fix docstring (bug#9564).
18665
18666 * window.el (display-buffer--action-function-custom-type):
18667 Don't include internal functions in the Custom interface.
18668
18669 2011-09-20 Juri Linkov <juri@jurta.org>
18670
18671 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
18672 (Info-forward-node, Info-backward-node, Info-next-preorder)
18673 (Info-last-preorder): Use it. (Bug#9528)
18674
18675 2011-09-20 Juri Linkov <juri@jurta.org>
18676
18677 * info.el (Info-last-preorder): Visit last menu item only when
18678 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
18679
18680 2011-09-20 Julien Danjou <julien@danjou.info>
18681
18682 * password-cache.el (password-cache-remove): Remove entries even if the
18683 value is nil, so that password with a nil value (negative caching) is
18684 possible to invalidate.
18685
18686 2011-09-20 Lawrence Mitchell <wence@gmx.li>
18687
18688 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
18689 all whitespace around breakpoint. (Bug#9553)
18690 (f90-find-breakpoint): Only break at whitespace inside a comment.
18691
18692 2011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
18693
18694 * minibuffer.el (completion-file-name-table): Keep track of errors.
18695 (completion-table-with-predicate): Handle the case where pred1 is nil.
18696 * pcomplete.el (pcomplete-completions-at-point): Simplify.
18697
18698 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
18699
18700 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
18701 (debugger-return-value): Signal an error if the debugging context does
18702 not await any return value.
18703
18704 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
18705 * image-mode.el (image-toggle-display-text)
18706 (image-toggle-display-image): Stay away from evil `intangible'.
18707
18708 2011-09-19 Leo Liu <sdl.web@gmail.com>
18709
18710 * replace.el (occur-revert-arguments): Make it permanent-local.
18711 (occur-mode): Don't call font-lock-defontify.
18712
18713 2011-09-19 Chong Yidong <cyd@stupidchicken.com>
18714
18715 * net/ldap.el (ldap-search-internal): Don't push empty search
18716 result (Bug#9508).
18717
18718 2011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
18719
18720 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
18721
18722 2011-09-19 Michael Albinus <michael.albinus@gmx.de>
18723
18724 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
18725 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
18726
18727 2011-09-18 Juri Linkov <juri@jurta.org>
18728
18729 * buff-menu.el (Buffer-menu-mode-map):
18730 * dired.el (dired-mode-map):
18731 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
18732 (lisp-interaction-mode-map):
18733 * emacs-lisp/package.el (package-menu-mode-map):
18734 * epa.el (epa-key-list-mode-map):
18735 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
18736 (menu-bar-options-menu):
18737 * outline.el (outline-mode-menu-bar-map):
18738 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
18739 * vc/vc-dir.el (vc-dir-menu-map):
18740 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
18741 Capitalize non-function content words in menu item strings.
18742
18743 * dired.el (dired-mode-map): Add menu item for
18744 `image-dired-dired-toggle-marked-thumbs'.
18745
18746 2011-09-18 Juri Linkov <juri@jurta.org>
18747
18748 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
18749 to `isearch-case-fold-search' and restore its original value
18750 after the `isearch-mode' call.
18751
18752 2011-09-18 Juri Linkov <juri@jurta.org>
18753
18754 * progmodes/grep.el (grep-process-setup): Don't check code for 1
18755 because `zgrep' returns 1 for successful matches (bug#9226).
18756
18757 2011-09-18 Juri Linkov <juri@jurta.org>
18758
18759 * info.el (Info-extract-menu-node-name): Check the second match
18760 for empty string (second test-case of bug#9528).
18761 (Info-last-preorder): Let-bind `Info-history' to nil to not add
18762 intermediate nodes to the history (first test-case of bug#9528).
18763
18764 2011-09-18 Juri Linkov <juri@jurta.org>
18765
18766 * info.el (Info-mode-syntax-table): New variable.
18767 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
18768
18769 2011-09-18 Juri Linkov <juri@jurta.org>
18770
18771 * info.el (Info-file-supports-index-cookies):
18772 Increment line-beginning-position's arg from 3 to 4 because makeinfo
18773 outputs one more line for long file names (bug#4142).
18774
18775 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
18776
18777 * newcomment.el (comment-normalize-vars): If prompting for
18778 comment-start, set comment-start-skip too (Bug#8424).
18779
18780 2011-09-18 Johan Bockgård <bojohan@gnu.org>
18781
18782 * icomplete.el: Fix previous fix of Bug#5849.
18783 (icomplete-mode): Don't set completion-show-inline-help.
18784 (icomplete-minibuffer-setup): Set completion-show-inline-help
18785 locally during icompletion.
18786
18787 2011-09-18 Chong Yidong <cyd@stupidchicken.com>
18788
18789 * woman.el (woman2-process-escapes): Don't delete unrecognized
18790 escapes (Bug#7843).
18791
18792 * files.el (inhibit-first-line-modes-regexps): Add image files.
18793 (hack-local-variables-prop-line): Return nil for malformed
18794 prop-lines (Bug#9044).
18795
18796 2011-09-18 Michael Albinus <michael.albinus@gmx.de>
18797
18798 * net/tramp.el (top): Don't require 'shell.
18799 (tramp-methods): Fix docstring.
18800 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
18801 Return complete remote file name. Handle "smb" case.
18802 Use `tramp-tmpdir', if defined for the respective method.
18803 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
18804
18805 * net/tramp-compat.el (top): Require 'shell.
18806
18807 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
18808 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
18809 `tramp-current-host'.
18810 (tramp-get-remote-tmpdir): Remove.
18811
18812 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
18813 `tramp-tmpdir' entries.
18814 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
18815 (tramp-smb-handle-file-attributes): Ignore errors.
18816 (tramp-smb-wait-for-output): Check also for process end.
18817
18818 2011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
18819
18820 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
18821 when sending QUIT (bug#9312).
18822
18823 2011-09-17 Chong Yidong <cyd@stupidchicken.com>
18824
18825 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
18826 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
18827 occur-mode-display-occurrence.
18828 (occur-edit-mode): Add usage message.
18829 (occur-cease-edit): New command.
18830 (occur-after-change-function): Use text properties to find the
18831 position of the prefix text.
18832 (occur-engine): Set stickiness of prefix text properties.
18833
18834 2011-09-17 Glenn Morris <rgm@gnu.org>
18835
18836 * progmodes/etags.el (complete-tag):
18837 Fix call to completion-in-region. (Bug#9526)
18838
18839 2011-09-17 Juri Linkov <juri@jurta.org>
18840
18841 * textmodes/ispell.el (ispell-word): Add to the error message
18842 the word, ispell program name and current dictionary (bug#9121).
18843 (ispell-tex-arg-end): Capitalize "error" in the error message.
18844
18845 2011-09-17 Andreas Schwab <schwab@linux-m68k.org>
18846
18847 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
18848 check. (Bug#4251)
18849
18850 2011-09-17 Juri Linkov <juri@jurta.org>
18851
18852 * window.el (window-safe-min-height, window-safe-min-width):
18853 Fix typos (followup to bug#9522).
18854
18855 2011-09-17 Sven Joachim <svenjoac@gmx.de>
18856
18857 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
18858
18859 2011-09-16 Eli Zaretskii <eliz@gnu.org>
18860
18861 * simple.el (line-move): If goal-column is set, move by logical
18862 lines, not by display lines. (Bug#971)
18863 (next-line, previous-line, goal-column, line-move-visual): Doc fix
18864 to reflect the above change.
18865
18866 2011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
18867
18868 * image.el (imagemagick-register-types): Use regexp-opt.
18869
18870 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
18871
18872 * window.el (display-buffer-base-action): Rename from
18873 display-buffer-default-action. Make default value empty.
18874 (display-buffer-overriding-action): Convert to defvar.
18875 (display-buffer-fallback-action): New var.
18876
18877 2011-09-15 Chong Yidong <cyd@stupidchicken.com>
18878
18879 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
18880 declaration.
18881 (package--add-to-archive-contents): If there is a duplicate entry
18882 with an older version, remove it.
18883 (package-menu-mark-delete, package-menu-mark-install)
18884 (package-menu-mark-unmark): Make unused args optional.
18885 (package-menu-mark-obsolete-for-deletion):
18886 Use package-menu-get-status instead of a regexp search.
18887 (package-menu-get-status): Use tabulated-list-entry.
18888 (package-menu-mark-upgrades): New command.
18889 (package-menu-mode-map): Bind it to U. Add it to menu bar.
18890 (package-menu-execute): Do installation before deletion.
18891 (package-menu-refresh, package-menu-execute): Use derived-mode-p
18892 instead of checking major-mode.
18893 (package-menu--find-upgrades): New function.
18894
18895 2011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
18896
18897 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
18898 passwords in the log buffer.
18899 (smtpmail-process-filter): Update the process marker so that the
18900 "broken by peer" status message is inserted in the right place.
18901
18902 2011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
18903
18904 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
18905 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
18906 bibtex-completion-at-point-function.
18907 (bibtex-completion-at-point-function): Use them.
18908
18909 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
18910
18911 * mpc.el (mpc-constraints-tag-lookup): New function.
18912 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
18913 also to browser "album|playlist".
18914
18915 2011-09-14 Juri Linkov <juri@jurta.org>
18916
18917 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
18918 (isearch-edit-string): Use length of `isearch-string' when
18919 `isearch-fail-pos' returns nil.
18920 (isearch-message): Remove duplicate code and call
18921 `isearch-fail-pos' with arg `t'.
18922
18923 2011-09-14 Chong Yidong <cyd@stupidchicken.com>
18924
18925 * replace.el (occur-mode-goto-occurrence): Don't force using other
18926 window (Bug#9499).
18927
18928 * dired-aux.el (dired-do-chmod): Don't provide initial input.
18929
18930 2011-09-14 Martin Rudalics <rudalics@gmx.at>
18931
18932 * window.el (display-buffer-window): Remove.
18933 (display-buffer-record-window): Use help-setup window parameter
18934 instead of variable display-buffer-window.
18935 (display-buffer-function, special-display-buffer-names)
18936 (special-display-function): Mention help-setup parameter instead
18937 of display-buffer-window in doc-string.
18938 * help.el (help-window-setup): New argument help-window.
18939 Use help-window-setup parameter instead of display-buffer-window.
18940 Reword some messages.
18941 (with-help-window): Pass window used for displaying the buffer
18942 to help-window-setup. Don't set display-buffer-window.
18943
18944 2011-09-13 Glenn Morris <rgm@gnu.org>
18945
18946 * emacs-lisp/debug.el (debugger-make-xrefs):
18947 Preserve point. (Bug#9462)
18948
18949 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
18950
18951 * window.el (window-deletable-p): Use next-frame.
18952
18953 2011-09-13 Martin Rudalics <rudalics@gmx.at>
18954
18955 * window.el (window-auto-delete): Remove.
18956 (window-deletable-p): Remove argument FORCE. Don't deal with
18957 dedication and previous buffers.
18958 (switch-to-prev-buffer): Don't delete window.
18959 (delete-windows-on): Delete a window's frame if and only if the
18960 window is dedicated.
18961 (replace-buffer-in-windows): Delete buffer's window or frame if
18962 and only if window is dedicated.
18963 (quit-window): Handle quit-restore as before last change.
18964 (bury-buffer): Delete window only if window-deletable-p returns t.
18965
18966 2011-09-13 Chong Yidong <cyd@stupidchicken.com>
18967
18968 * window.el (window-deletable-p): Never delete the last frame on a
18969 given terminal.
18970
18971 2011-09-13 Glenn Morris <rgm@gnu.org>
18972
18973 * help.el (describe-key-briefly): Copy previous standard-output change.
18974
18975 2011-09-13 PJ Weisberg <pj@irregularexpressions.net>
18976
18977 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
18978
18979 2011-09-13 Glenn Morris <rgm@gnu.org>
18980
18981 * emacs-lisp/lisp-mode.el (lisp-indent-function):
18982 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
18983
18984 2011-09-12 Chong Yidong <cyd@stupidchicken.com>
18985
18986 * dired-aux.el (dired-mark-read-string): Don't return default
18987 value on empty input (Bug#9361).
18988 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
18989 Omit initial minibuffer contents.
18990 (dired-do-chmod): Signal an error on empty input.
18991 (dired-mark-read-string): Don't return default on empty input.
18992
18993 * files.el (file-modes-symbolic-to-number): Doc fix.
18994
18995 2011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
18996
18997 * international/mule-cmds.el (ucs-completions): Remove.
18998 (read-char-by-name): Use complete-with-action instead; add metadata.
18999
19000 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
19001
19002 * window.el (display-buffer--action-function-custom-type)
19003 (display-buffer--action-custom-type): New vars.
19004 (display-buffer-alist, display-buffer-default-action)
19005 (display-buffer-overriding-action): Add defcustom types.
19006
19007 * frame.el (delete-other-frames): Doc fix (Bug#276).
19008
19009 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
19010
19011 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
19012
19013 2011-09-11 Chong Yidong <cyd@stupidchicken.com>
19014
19015 Change modes that used same-window-* vars to use switch-to-buffer.
19016
19017 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
19018 Use switch-to-buffer.
19019
19020 * cus-edit.el (customize-group, custom-buffer-create)
19021 (customize-browse, custom-buffer-create-other-window):
19022 Use switch-to-buffer or switch-to-buffer-other-window.
19023
19024 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
19025 (Info-prev, Info-up, Info-speedbar-goto-node)
19026 (info-display-manual): Use switch-to-buffer.
19027 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
19028
19029 * mail/sendmail.el (mail): Use switch-to-buffer.
19030 (mail-recover): Use switch-to-buffer-other-window.
19031
19032 * cmuscheme.el (run-scheme, switch-to-scheme):
19033 * ielm.el (ielm):
19034 * shell.el (shell):
19035 * net/rlogin.el (rlogin):
19036 * net/telnet.el (telnet, rsh):
19037 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
19038
19039 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
19040
19041 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
19042
19043 2011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
19044
19045 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
19046 so don't mention it (bug#9301).
19047 (dired-sort-toggle-or-edit): Clarify string further.
19048
19049 * faces.el (face-spec-set-match-display): Make `(type graphic)'
19050 match `x', `w32' and `ns', like the manual says (bug#9029).
19051
19052 * subr.el (eval-after-load): Doc string clarification (bug#9125).
19053 (process-kill-buffer-query-function): Mention the buffer name in
19054 the query.
19055
19056 * image-mode.el (image-next-line): The line parameter is mandatory
19057 (bug#9258).
19058
19059 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
19060 which can be useful (bug#9301).
19061
19062 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
19063
19064 * subr.el (match-string): Mention that the current buffer should
19065 be the same as the search was done in (bug#9282).
19066
19067 * facemenu.el: Disable the remove-* commands if the mark isn't
19068 active (bug#9162).
19069
19070 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
19071
19072 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
19073 of display-buffer.
19074 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
19075
19076 * replace.el (occur-mode-goto-occurrence)
19077 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
19078 and display-buffer.
19079
19080 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
19081 display-buffer.
19082
19083 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
19084 special-display and same-window variables.
19085 (mail-other-window): Use switch-to-buffer-other-window.
19086 (mail-other-frame): USe switch-to-buffer-other-frame.
19087
19088 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
19089 Use display-buffer-other-frame.
19090 (gdb-display-gdb-buffer): Use pop-to-buffer.
19091
19092 * progmodes/gud.el (gud-goto-info): Use info-other-window.
19093
19094 * progmodes/python.el: Don't set same-window-buffer-names.
19095
19096 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
19097
19098 * window.el (display-buffer-alist): Add *Python*.
19099
19100 2011-09-10 Chong Yidong <cyd@stupidchicken.com>
19101
19102 * window.el (display-buffer-alist): Add entry for buffers
19103 previously handled same-window-*.
19104 (display-buffer-alist, display-buffer-default-action)
19105 (display-buffer-overriding-action): Mark as risky.
19106 (display-buffer-alist): Document action function changes.
19107 (display-buffer--same-window-action)
19108 (display-buffer--other-frame-action): New variables.
19109 (switch-to-buffer, display-buffer-other-frame): Use them.
19110 (display-buffer): Rename reuse-frame entry to reusable-frames.
19111 (display-buffer-reuse-selected-window): Function deleted.
19112 (display-buffer-reuse-window): Handle reusable-frames alist entry.
19113 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
19114 (display-buffer-special): New function.
19115 (display-buffer--maybe-pop-up-frame-or-window): Rename from
19116 display-buffer-reuse-or-pop-window. Split off special-display
19117 part into display-buffer-special.
19118 (display-buffer-use-some-window): Don't perform any special
19119 pop-up-frames handling.
19120 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
19121 (display-buffer--maybe-same-window): Rename from
19122 display-buffer-maybe-same-window.
19123
19124 * info.el: Don't set same-window-regexps.
19125 (info-setup): New function.
19126 (info-other-window, info): Call it.
19127
19128 * cus-edit.el: Don't set same-window-regexps.
19129 (customize-group): New argument.
19130 (customize-group-other-window): Use it.
19131 (customize-face, customize-face-other-window): Likewise.
19132 (custom-buffer-create-other-window): Use pop-to-buffer directly.
19133
19134 * net/rlogin.el:
19135 * net/telnet.el:
19136 * progmodes/gud.el: Don't set same-window-regexps.
19137
19138 * cmuscheme.el:
19139 * ielm.el:
19140 * shell.el:
19141 * mail/sendmail.el:
19142 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
19143
19144 2011-09-10 Juri Linkov <juri@jurta.org>
19145
19146 * isearch.el (isearch-edit-string): Remove obsolete mention of
19147 `C-w' (`isearch-yank-word-or-char') from docstring.
19148 (isearch-query-replace): Fix typo in docstring (bug#9466).
19149
19150 2011-09-10 Juri Linkov <juri@jurta.org>
19151
19152 * paren.el (show-paren-function): Don't show escaped parens.
19153 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
19154
19155 2011-09-10 Eli Zaretskii <eliz@gnu.org>
19156
19157 * mail/sendmail.el (mml-to-mime, mml-attach-file)
19158 (mm-default-file-encoding): Remove autoload forms, they are
19159 replaced with autoload cookies in mml.el and mm-encode.el.
19160 (mail-add-attachment): New command.
19161 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
19162 (mail-mode): Mention mail-insert-file and mail-add-attachment in
19163 the doc string.
19164 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
19165
19166 2011-09-10 Reuben Thomas <rrt@sc3d.org>
19167
19168 * simple.el (count-words-region): Use buffer if there's no region
19169 (bug#9429).
19170
19171 2011-09-09 Juri Linkov <juri@jurta.org>
19172
19173 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
19174 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
19175 (wdired-isearch-filter-read-only): New function. (Bug#6362)
19176
19177 2011-09-09 Alan Mackenzie <acm@muc.de>
19178
19179 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
19180 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
19181
19182 2011-09-09 Eli Zaretskii <eliz@gnu.org>
19183
19184 Fix for Savannah bug#9392.
19185 * simple.el (mail-encode-mml): New defvar.
19186
19187 * mail/rmail.el (mail-encode-mml): Add a defvar.
19188 (rmail-enable-mime-composing): Default to t.
19189 (rmail-forward): Use MIME method of forwarding only if both
19190 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
19191 Set mail-encode-mml non-nil if the MIME method was used.
19192
19193 * mail/sendmail.el (mml-to-mime): Add autoload form.
19194 (mail-encode-mml): Add a defvar.
19195 (mail-mode): Make mail-encode-mml buffer-local and initialize it
19196 to nil.
19197 (mail-send): If mail-encode-mml is non-nil, run the outgoing
19198 message through mml-to-mime, and reset mail-encode-mml to nil.
19199
19200 2011-09-09 Glenn Morris <rgm@gnu.org>
19201
19202 * woman.el (woman-if-body): When processing an .el block,
19203 do not delete the next .el block as well. (Bug#9447)
19204 (woman-special-characters): Add oq, cq, and hy characters.
19205
19206 2011-09-08 Martin Rudalics <rudalics@gmx.at>
19207
19208 * window.el (window-deletable-p): Make sure window is live before
19209 invoking window-prev-buffers.
19210
19211 2011-09-08 Leo Liu <sdl.web@gmail.com>
19212
19213 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
19214
19215 2011-09-08 Juri Linkov <juri@jurta.org>
19216
19217 * progmodes/compile.el (compilation-environment): Make it
19218 a defcustom (bug#8340).
19219
19220 2011-09-08 Martin Rudalics <rudalics@gmx.at>
19221
19222 * window.el (frame-auto-delete): Rename to window-auto-delete.
19223 Make it control auto-deletion of windows and/or frames.
19224 (window-deletable-p): New argument FORCE. Rewrite conditions
19225 for deleting window/frame. (Bug#9419)
19226 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
19227 Rewrite handling of case when window/frame can be deleted.
19228 (delete-windows-on): Call window-deletable-p with new FORCE
19229 argument t. (Bug#9456)
19230
19231 2011-09-07 Chong Yidong <cyd@stupidchicken.com>
19232
19233 * help-mode.el (help-mode): Restore autoload.
19234
19235 2011-09-07 Juri Linkov <juri@jurta.org>
19236
19237 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
19238 `compilation-environment'. Set buffer-local
19239 `compilation-environment' to `thisenv' later after (funcall mode).
19240 (Bug#8340)
19241
19242 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
19243 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
19244 instead of replacing its value. (Bug#8340)
19245
19246 2011-09-07 Juri Linkov <juri@jurta.org>
19247
19248 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
19249 based on text properties put by `grep-filter' instead of matching
19250 escape sequences.
19251 (grep-mode): Set buffer-local `compilation-error-screen-columns'
19252 to the value of `grep-error-screen-columns' (bug#9438).
19253
19254 2011-09-07 Juri Linkov <juri@jurta.org>
19255
19256 * simple.el (next-error-highlight, next-error-highlight-no-select):
19257 Doc fix (bug#9432).
19258
19259 2011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
19260
19261 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
19262 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
19263
19264 2011-09-07 Leo Liu <sdl.web@gmail.com>
19265
19266 * net/rcirc.el (rcirc-mode): Conditionally initialize
19267 rcirc-input-ring.
19268
19269 2011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
19270
19271 * emacs-lisp/find-func.el (find-function-C-source): Only set
19272 find-function-C-source-directory after checking that we found a source
19273 file there (bug#9440).
19274
19275 2011-09-06 Alan Mackenzie <acm@muc.de>
19276
19277 * isearch.el (isearch-other-meta-char): Wherever a key list is
19278 unread, "unread" the prefix arg, too. This fixes bug #8901.
19279
19280 2011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
19281
19282 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
19283
19284 2011-09-05 Juri Linkov <juri@jurta.org>
19285
19286 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
19287
19288 2011-09-05 Juri Linkov <juri@jurta.org>
19289
19290 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
19291 keeping point where processing of grep matches begins, and
19292 continue to delete remaining escape sequences from the same point.
19293 (grep-filter): Make leading zero optional in "0?1;31m" because
19294 git-grep emits "\033[1;31m" escape sequences unlike expected
19295 "\033[01;31m" as GNU Grep does (bug#9408).
19296 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
19297
19298 2011-09-05 Juri Linkov <juri@jurta.org>
19299
19300 * subr.el (y-or-n-p): Capitalize "yes".
19301
19302 2011-09-04 Michael Albinus <michael.albinus@gmx.de>
19303
19304 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
19305 `tramp-cache-unload-hook' where appropriate.
19306 (tramp-methods): Rename `tramp-remote-sh' to
19307 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
19308 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
19309
19310 * net/tramp-sh.el (top): Don't require 'shell.
19311 (tramp-methods): Add `tramp-remote-shell' and
19312 `tramp-remote-shell-args' entries.
19313 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
19314 (tramp-sh-handle-shell-command): Remove.
19315 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
19316 Use `tramp-remote-shell'.
19317
19318 2011-09-03 Chong Yidong <cyd@stupidchicken.com>
19319
19320 * mail/sendmail.el (sendmail-query-once-function): Delete.
19321 (sendmail-query-once): Save directly to send-mail-function.
19322 Update message-send-mail-function too.
19323
19324 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
19325
19326 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
19327
19328 * progmodes/python.el (python-mode-map): Use correct function to
19329 start python interpreter from menu-bar (as reported by Geert
19330 Kloosterman).
19331 (inferior-python-mode-map): Fix typo.
19332 (python-shell-map): Remove.
19333
19334 2011-09-03 Deniz Dogan <deniz@dogan.se>
19335
19336 * net/rcirc.el (rcirc-print): Simplify code for
19337 rcirc-scroll-show-maximum-output. There is no need to walk
19338 through all windows to find the right one.
19339
19340 2011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
19341
19342 * help.el (help-return-method): Doc fix.
19343
19344 2011-09-03 Martin Rudalics <rudalics@gmx.at>
19345
19346 * window.el (window-deletable-p): Don't return a non-nil value
19347 when there's a buffer that was shown in the window before.
19348 (Bug#9419)
19349 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
19350 Set window's previous buffers to nil.
19351
19352 2011-09-03 Eli Zaretskii <eliz@gnu.org>
19353
19354 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
19355 newline before and after the tag line, so it doesn't interfere
19356 with determining the paragraph direction of bidirectional text.
19357
19358 2011-09-03 Leo Liu <sdl.web@gmail.com>
19359
19360 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
19361
19362 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
19363
19364 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
19365 (pop-to-buffer): Change interactive spec. Pass second argument
19366 directly to display-buffer.
19367 (display-buffer): Fix interactive spec. Use functionp to
19368 distinguish between a function and a list of functions.
19369
19370 * abbrev.el (edit-abbrevs):
19371 * arc-mode.el (archive-extract):
19372 * autoinsert.el (auto-insert):
19373 * bookmark.el (bookmark-bmenu-list):
19374 * files.el (find-file):
19375 * view.el (view-buffer):
19376 * progmodes/compile.el (compilation-goto-locus):
19377 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
19378
19379 2011-09-02 Chong Yidong <cyd@stupidchicken.com>
19380
19381 * window.el (display-buffer-alist): Doc fix.
19382 (display-buffer): Add docstring. Don't treat
19383 display-buffer-default specially.
19384 (display-buffer-reuse-selected-window)
19385 (display-buffer-same-window, display-buffer-maybe-same-window)
19386 (display-buffer-reuse-window, display-buffer-pop-up-frame)
19387 (display-buffer-pop-up-window)
19388 (display-buffer-reuse-or-pop-window)
19389 (display-buffer-use-some-window): New functions.
19390 (display-buffer-default-action): Use them.
19391 (display-buffer-default): Delete.
19392 (pop-to-buffer-1): Fix choice of actions.
19393
19394 2011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
19395
19396 * minibuffer.el (completion--insert-strings): Don't get confused by
19397 completion entries that end with an LF char.
19398
19399 2011-09-01 Eli Zaretskii <eliz@gnu.org>
19400
19401 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
19402
19403 2011-09-01 Chong Yidong <cyd@stupidchicken.com>
19404
19405 * window.el (display-buffer): Restore interactive spec.
19406 (display-buffer-same-window, display-buffer-other-window):
19407 New functions.
19408 (pop-to-buffer-1): New function. Use the above.
19409 (pop-to-buffer, pop-to-buffer-same-window): Use it.
19410 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
19411
19412 * view.el (view-buffer-other-window, view-buffer-other-frame):
19413 Just use pop-to-buffer.
19414
19415 2011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
19416
19417 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
19418
19419 2011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
19420
19421 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
19422
19423 2011-08-31 Richard Stallman <rms@gnu.org>
19424
19425 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
19426 of the separation of rmail-view-buffer from rmail-buffer.
19427 If you say no to "replace original", the decrypt is in the
19428 view buffer. If you say yes, the decrypt goes into the
19429 rmail buffer also.
19430
19431 2011-08-31 Martin Rudalics <rudalics@gmx.at>
19432
19433 * window.el (display-buffer-window): Rewrite doc-string.
19434 (display-buffer-record-window): New function.
19435 (display-buffer-macro-specifiers)
19436 (display-buffer-even-window-sizes, display-buffer-set-height)
19437 (display-buffer-set-width, display-buffer-in-window)
19438 (display-buffer-reuse-window, display-buffer-split-specifiers)
19439 (display-buffer-side-specifiers, display-buffer-split-window-1)
19440 (display-buffer-split-window, display-buffer-split-atom-window)
19441 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
19442 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
19443 (display-buffer-other-window-means-other-frame)
19444 (display-buffer-normalize-special)
19445 (display-buffer-normalize-default)
19446 (display-buffer-normalize-argument)
19447 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
19448 (display-buffer-normalize-specifiers, display-buffer-frame)
19449 (display-buffer-same-window, display-buffer-same-frame)
19450 (display-buffer-other-window)
19451 (display-buffer-same-frame-other-window)
19452 (display-buffer-other-frame, pop-to-buffer-same-window)
19453 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
19454 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
19455 (switch-to-buffer-same-frame)
19456 (switch-to-buffer-other-window-same-frame)
19457 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
19458 (display-buffer-alist-set-1, display-buffer-alist-set-2)
19459 (display-buffer-alist-set): Remove.
19460 (display-buffer-function, special-display-buffer-names)
19461 (special-display-regexps, special-display-function):
19462 In doc-string refer to display-buffer-window and quit-restore
19463 parameter.
19464 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
19465 (special-display-frame-alist, special-display-popup-frame)
19466 (same-window-buffer-names, same-window-regexps, same-window-p)
19467 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
19468 (split-window-preferred-function, split-height-threshold)
19469 (split-width-threshold, window-splittable-p)
19470 (split-window-sensibly, window--try-to-split-window)
19471 (window--frame-usable-p, even-window-heights)
19472 (window--even-window-heights, window--display-buffer-1)
19473 (window--display-buffer-2, display-buffer-other-frame):
19474 Restore old Emacs 23 code, order and doc-strings where applicable.
19475 (display-buffer-default, display-buffer-assq-regexp): New functions.
19476 (display-buffer-alist): Rewrite doc-string.
19477 (display-buffer-default-action)
19478 (display-buffer-overriding-action): New variables.
19479 (display-buffer, switch-to-buffer): Rewrite.
19480 (pop-to-buffer): Restore Emacs 23 behavior but use
19481 window-normalize-buffer-to-display.
19482 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
19483 Restore Emacs 23 behavior but use
19484 window-normalize-buffer-to-switch-to.
19485 (pop-to-buffer-same-window): Rewrite.
19486 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
19487 Rewrite using Emacs 23 options.
19488
19489 2011-08-31 Michael Albinus <michael.albinus@gmx.de>
19490
19491 * net/tramp.el (tramp-root-regexp): Remove.
19492 (tramp-completion-file-name-regexp-unified)
19493 (tramp-completion-file-name-regexp-separate)
19494 (tramp-completion-file-name-regexp-url): Don't use leading volume
19495 letter on w32 systems. (Bug#5303, Bug#9311)
19496 (tramp-drop-volume-letter): Simplify definition.
19497 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
19498
19499 2011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
19500
19501 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
19502 (bug#9356).
19503
19504 2011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
19505
19506 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
19507
19508 2011-08-29 Juri Linkov <juri@jurta.org>
19509
19510 * isearch.el (isearch-done): Don't display message "Mark saved"
19511 when arg `edit' is non-nil to prevent its flicker in the echo area.
19512
19513 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
19514
19515 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
19516 obsolete packages for deletion.
19517
19518 2011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
19519
19520 * help-mode.el (help-mode-map): Add special-mode-map to parent.
19521 (help-mode): Derive help-mode from special-mode. Don't invoke
19522 view-mode from help-mode.
19523 (help-xref-override-view-map): Remove.
19524 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
19525 view-mode is not used anymore.
19526
19527 2011-08-28 Chong Yidong <cyd@stupidchicken.com>
19528
19529 * server.el (server-port): Doc fix.
19530
19531 * cus-theme.el (custom-theme-choose-mode): Inherit from
19532 special-mode (Bug#9124).
19533 (custom-theme-choose-mode-map): Add special-mode to parent.
19534
19535 2011-08-28 Alan Mackenzie <acm@muc.de>
19536
19537 * progmodes/cc-fonts.el
19538 (c-make-font-lock-BO-decl-search-function): New function.
19539 (c-basic-matchers-after - "Fontify the clauses after various
19540 keywords"): Extract the three keyword lists for the 3 erroneous
19541 constructs from the list of four, and use the new function above
19542 in place of an old one.
19543
19544 2011-08-28 Deniz Dogan <deniz@dogan.se>
19545
19546 * net/rcirc.el (rcirc-insert-prev-input)
19547 (rcirc-insert-next-input): Remove unused argument.
19548
19549 2011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
19550
19551 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
19552
19553 2011-08-27 Alan Mackenzie <acm@muc.de>
19554
19555 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
19556 handle function pointer parameters properly.
19557
19558 2011-08-27 Martin Rudalics <rudalics@gmx.at>
19559
19560 * window.el (display-buffer-reuse-window): Fix case where
19561 selected window was reused with non-nil OTHER-WINDOW argument.
19562 (Bug#9381)
19563
19564 2011-08-27 Deniz Dogan <deniz@dogan.se>
19565
19566 * net/rcirc.el (rcirc-check-auth-status): Adding support for
19567 oftc's NickServ messages.
19568
19569 2011-08-27 Glenn Morris <rgm@gnu.org>
19570
19571 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
19572
19573 2011-08-26 Chong Yidong <cyd@stupidchicken.com>
19574
19575 * emacs-lisp/package.el (package-install): Call package-initialize
19576 if called interactively.
19577
19578 2011-08-26 Leo Liu <sdl.web@gmail.com>
19579
19580 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
19581
19582 2011-08-25 Juri Linkov <juri@jurta.org>
19583
19584 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
19585 `search-whitespace-regexp' (bug#9364).
19586
19587 2011-08-25 Juri Linkov <juri@jurta.org>
19588
19589 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
19590 `regexp-search-ring' to their global values to protect from
19591 updating by `read-from-minibuffer' (bug#9185).
19592
19593 2011-08-25 Juri Linkov <juri@jurta.org>
19594
19595 * textmodes/ispell.el (ispell-command-loop): Add newline
19596 at the end of the "Use option `i'..." line.
19597
19598 2011-08-25 Juri Linkov <juri@jurta.org>
19599
19600 * battery.el (display-battery-mode): If `battery-status-function'
19601 or `battery-mode-line-format' is nil, display the message and set
19602 `display-battery-mode' to nil (bug#9363).
19603
19604 2011-08-25 Eli Zaretskii <eliz@gnu.org>
19605
19606 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
19607 bidi-string-mark-left-to-right; they are unnecessary now.
19608
19609 2011-08-25 Deniz Dogan <deniz@dogan.se>
19610
19611 * net/quickurl.el: Documentation typo fixes.
19612
19613 2011-08-25 Chong Yidong <cyd@stupidchicken.com>
19614
19615 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
19616
19617 2011-08-25 Glenn Morris <rgm@gnu.org>
19618
19619 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
19620
19621 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
19622 (smtpmail-via-smtp): Handle nil response from smtp.
19623
19624 2011-08-24 Juri Linkov <juri@jurta.org>
19625
19626 * proced.el (proced-marked): Inherit from `error' instead of
19627 `font-lock-warning-face'.
19628
19629 * ibuffer.el (ibuffer-marked-face): Change default face from
19630 `font-lock-warning-face' to `warning'.
19631 (ibuffer-deletion-face): Change default face from
19632 `font-lock-type-face' to `error'.
19633
19634 * battery.el (battery-update): Use the face `error' instead of
19635 `font-lock-warning-face' (bug#6117).
19636
19637 2011-08-24 Juri Linkov <juri@jurta.org>
19638
19639 * faces.el (success): Change face color from "Green3" to
19640 "ForestGreen" on light background (bug#9353).
19641
19642 2011-08-24 Chong Yidong <cyd@stupidchicken.com>
19643
19644 * window.el (quit-window): Rename from quit-restore-window.
19645 Use same arglist as old quit-window.
19646 (frame-auto-delete): Doc fix.
19647
19648 * view.el (view-mode-exit): Use quit-window.
19649
19650 2011-08-24 Juri Linkov <juri@jurta.org>
19651
19652 * isearch.el (isearch-ring-adjust1): Start visiting previous
19653 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
19654 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
19655 for empty search string (when the last search string is reused
19656 automatically) to adjust the isearch ring to the last element and
19657 prepare the correct index for further M-p commands (bug#9185).
19658
19659 2011-08-24 Kenichi Handa <handa@m17n.org>
19660
19661 * international/ucs-normalize.el: If decomposition property of
19662 CHAR is the default one (i.e. a list of CHAR itself), treat it as
19663 nil.
19664 (nfd, nfkd): Likewise.
19665
19666 2011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
19667
19668 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
19669 from process filters aren't reliably transmitted to the surrounding
19670 accept-process-output.
19671 (mpc-proc-check): New function.
19672 (mpc-proc-sync): Use it (bug#8293)
19673
19674 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
19675
19676 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
19677 Add compatibility functions (bug#9313).
19678
19679 2011-08-23 Eli Zaretskii <eliz@gnu.org>
19680
19681 * cus-start.el (all): Add entry for bidi-paragraph-direction.
19682
19683 * international/uni-bidi.el: Regenerate.
19684
19685 2011-08-23 Kenichi Handa <handa@m17n.org>
19686
19687 * international/charprop.el:
19688 * international/uni-bidi.el:
19689 * international/uni-category.el:
19690 * international/uni-combining.el:
19691 * international/uni-comment.el:
19692 * international/uni-decimal.el:
19693 * international/uni-decomposition.el:
19694 * international/uni-digit.el:
19695 * international/uni-lowercase.el:
19696 * international/uni-mirrored.el:
19697 * international/uni-name.el:
19698 * international/uni-numeric.el:
19699 * international/uni-old-name.el:
19700 * international/uni-titlecase.el:
19701 * international/uni-uppercase.el: Regenerate.
19702
19703 2011-08-23 Martin Rudalics <rudalics@gmx.at>
19704
19705 * help.el (help-window-setup): Fix message displayed when other
19706 window is reused. (Bug#9341)
19707
19708 2011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
19709
19710 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
19711 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
19712
19713 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
19714 Mark obsolete.
19715 * shell.el (shell-parse-pcomplete-arguments): New function.
19716 (shell-completion-vars): Use it instead (bug#9160).
19717
19718 2011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
19719
19720 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
19721 strings and comments (bug#9333).
19722
19723 * emacs-lisp/debug.el (debug-arglist): New function.
19724 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
19725 (debug-on-entry-1): Handle interpreted closures (bug#9120).
19726
19727 2011-08-22 Juri Linkov <juri@jurta.org>
19728
19729 * progmodes/compile.el (compilation-mode-font-lock-keywords):
19730 Revert regexp that highlights output switches to its old
19731 pre-2010-10-28 value and remove one `?' from it (bug#9319).
19732
19733 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
19734 to check for empty output (bug#9226).
19735
19736 2011-08-22 Chong Yidong <cyd@stupidchicken.com>
19737
19738 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
19739 symbol-constituent as the default, as that stops font-lock from
19740 working properly (Bug#8843).
19741
19742 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
19743
19744 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
19745 `coding-system-for-*' around the process open call to avoid
19746 auth-source side effects.
19747 (smtpmail-try-auth-methods): Expand the secret password.
19748 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
19749 probe hangs.
19750
19751 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
19752
19753 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
19754
19755 * emacs-lisp/find-func.el (find-function-noselect): New arg
19756 lisp-only.
19757
19758 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
19759 signal an error for built-in functions (Bug#6664).
19760
19761 2011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
19762
19763 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
19764 (smtpmail-try-auth-methods): Use it.
19765
19766 2011-08-21 Chong Yidong <cyd@stupidchicken.com>
19767
19768 * font-lock.el (font-lock-fontify-region)
19769 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
19770 (font-lock-default-unfontify-buffer)
19771 (font-lock-default-fontify-region)
19772 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
19773
19774 * progmodes/compile.el (compilation-error-properties):
19775 Fix confusion between file struct and message struct (Bug#9319).
19776 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
19777 `ant' regexp.
19778
19779 * net/browse-url.el (browse-url-firefox): Don't call
19780 browse-url-firefox-sentinel unless using -remote (Bug#9328).
19781
19782 2011-08-20 Glenn Morris <rgm@gnu.org>
19783
19784 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
19785
19786 * tutorial.el (tutorial--default-keys): Update some default bindings.
19787
19788 * files.el (hack-local-variables): Fully ignore case for "mode:".
19789
19790 2011-08-20 Alan Mackenzie <acm@muc.de>
19791
19792 Resolve invalid use of a regexp in regexp-opt.
19793
19794 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
19795 detection for a java annotation.
19796
19797 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
19798 detection for a java annotation.
19799
19800 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
19801 handling for java.
19802 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
19803
19804 2011-08-20 Chong Yidong <cyd@stupidchicken.com>
19805
19806 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
19807 (Bug#9274).
19808
19809 2011-08-20 Alan Mackenzie <acm@muc.de>
19810
19811 Fontify CPP expressions correctly when starting in the middle of
19812 such a construct. Mainly for when jit-lock etc. starts a chunk
19813 here.
19814
19815 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
19816 variable.
19817 (c-make-font-lock-search-form): New function, extracted from
19818 c-make-font-lock-search-function.
19819 (c-make-font-lock-search-function): Use the above function.
19820 (c-make-font-lock-context-search-function): New function.
19821 (c-cpp-matchers): Enhance the preprocessor expression case with
19822 the above function
19823 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
19824 which takes an expression.
19825
19826 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
19827
19828 2011-08-20 Martin Rudalics <rudalics@gmx.at>
19829
19830 * window.el (display-buffer-reuse-window)
19831 (display-buffer-pop-up-window): Don't reuse or split a side
19832 window.
19833
19834 2011-08-19 Glenn Morris <rgm@gnu.org>
19835
19836 * files.el (hack-local-variables-prop-line, hack-local-variables):
19837 Downcase "Mode:". (Bug#9331)
19838
19839 2011-08-18 Chong Yidong <cyd@stupidchicken.com>
19840
19841 * international/characters.el: Add L and R categories.
19842
19843 * subr.el (bidi-string-mark-left-to-right): Rename from
19844 string-mark-left-to-right. Use category search.
19845
19846 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
19847
19848 2011-08-18 Juri Linkov <juri@jurta.org>
19849
19850 * faces.el (error, warning, success): New faces with definitions
19851 copied from old default values of `font-lock-warning-face',
19852 `compilation-warning', `compilation-info' (bug#6117).
19853
19854 * font-lock.el (font-lock-warning-face): Inherit from `error'.
19855
19856 * progmodes/compile.el (compilation-error): Inherit from `error'.
19857 (compilation-warning): Inherit from `warning'.
19858 (compilation-info): Inherit from `success'.
19859
19860 * dired.el (dired-marked): Inherit from `warning'.
19861 (dired-flagged): Inherit from `error'.
19862
19863 2011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
19864
19865 * mail/smtpmail.el (auth-source): Require to avoid problems with
19866 binding variables (bug#9298). Also clean up some unused
19867 autoloads.
19868
19869 * net/network-stream.el (network-stream-open-starttls):
19870 Support using starttls.el without using gnutls-cli.
19871
19872 2011-08-17 Juri Linkov <juri@jurta.org>
19873
19874 * progmodes/grep.el (rgrep): Handle the case when
19875 `grep-find-command' is a cons cell (bug#9278).
19876
19877 2011-08-17 Martin Rudalics <rudalics@gmx.at>
19878
19879 * window.el (display-buffer-pop-up-frame): Run frame creation
19880 function with BUFFER current (as special-display-popup-frame
19881 does). Reported by Drew Adams.
19882
19883 2011-08-17 Daiki Ueno <ueno@unixuser.org>
19884
19885 * epa-mail.el: Simplify GnuPG group expansion using
19886 epg-expand-group.
19887 (epa-mail-group-alist, epa-mail-group-modtime)
19888 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
19889 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
19890 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
19891 Remove.
19892
19893 2011-08-16 Feng Li <fengli@gmail.com> (tiny change)
19894
19895 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
19896
19897 2011-08-16 Alan Mackenzie <acm@muc.de>
19898
19899 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
19900 Correct, to avoid the inside of macros.
19901
19902 2011-08-16 Richard Stallman <rms@gnu.org>
19903
19904 * epa-mail.el: Handle GnuPG group definitions.
19905 (epa-mail-group-alist, epa-mail-group-modtime)
19906 (epa-mail-gnupg-conf-file): New variables.
19907 (epa-mail-parse-groups, epa-mail-sync-groups)
19908 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
19909 (epa-mail-expand-recipients): New functions.
19910 (epa-mail-encrypt): Call epa-mail-expand-recipients.
19911
19912 * mail/rmail.el (rmail-epa-decrypt): New command.
19913
19914 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
19915 Don't bind buffer-read-only, just inhibit-read-only.
19916 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
19917 (epa-decrypt-armor-in-region): Make error message clearer.
19918
19919 2011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
19920
19921 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
19922 and "a2b" to "ab" for `prefix'.
19923
19924 2011-08-14 Chong Yidong <cyd@stupidchicken.com>
19925
19926 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
19927 filter groups.
19928 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
19929 Fourquet (Bug#8804).
19930
19931 2011-08-12 Juanma Barranquero <lekktu@gmail.com>
19932
19933 * startup.el (argi): Declare as global variable (bug#9275).
19934
19935 2011-08-12 Chong Yidong <cyd@stupidchicken.com>
19936
19937 * subr.el (string-mark-left-to-right): Search the entire string
19938 for RTL script, not just the terminating character. Doc fix.
19939
19940 2011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
19941
19942 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
19943 New function.
19944 (js--regexp-literal, js-syntax-propertize-function): Remove.
19945 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
19946 (js-mode-map): Don't rebind electric keys.
19947 (js-insert-and-indent): Remove.
19948 (js-mode): Setup electric-layout and electric-indent instead.
19949
19950 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
19951
19952 2011-08-12 Daiki Ueno <ueno@unixuser.org>
19953
19954 * epa.el (epa-progress-callback-function): Fix the logic of
19955 displaying progress.
19956 * epa-file.el (epa-file-insert-file-contents): Make progress
19957 display more user-friendly.
19958 (epa-file-write-region): Ditto.
19959
19960 2011-08-10 Chong Yidong <cyd@stupidchicken.com>
19961
19962 * subr.el (string-mark-left-to-right): New function.
19963
19964 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
19965 Use string-mark-left-to-right.
19966 (list-buffers-noselect): Caller changed.
19967
19968 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
19969 Use string-mark-left-to-right.
19970 (tabulated-list-print): Recenter after moving point.
19971
19972 2011-08-10 Juri Linkov <juri@jurta.org>
19973
19974 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
19975 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
19976 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
19977
19978 2011-08-09 Chong Yidong <cyd@stupidchicken.com>
19979
19980 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
19981 (Bug#7554).
19982
19983 2011-08-09 Andreas Schwab <schwab@linux-m68k.org>
19984
19985 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
19986 character. (Bug#6594)
19987
19988 2011-08-08 Chong Yidong <cyd@stupidchicken.com>
19989
19990 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
19991 (image-dired--with-db-file): New macro.
19992 (image-dired-write-tags, image-dired-remove-tag)
19993 (image-dired-create-gallery-lists, image-dired-write-comments)
19994 (image-dired-get-comment, image-dired-mark-tagged-files)
19995 (image-dired-list-tags, image-dired-gallery-generate): Use it.
19996 (image-dired-gallery-generate): Use insert-file-contents.
19997
19998 * time.el (display-time-world-list, display-time-world-display):
19999 * time-stamp.el (time-stamp-string):
20000 * vc/add-log.el (add-change-log-entry): Use setenv instead of
20001 set-time-zone-rule (Bug#7337).
20002
20003 2011-08-08 Daiki Ueno <ueno@unixuser.org>
20004
20005 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
20006 (epg-error-to-string, epg-errors-to-string): New function.
20007 (epg-wait-for-completion): Reverse errors list.
20008 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
20009 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
20010 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
20011 (epg-sign-keys, epg-generate-key-from-file)
20012 (epg-generate-key-from-string): Format errors by using
20013 epg-errors-to-string (bug#9255).
20014 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
20015
20016 2011-08-07 Juri Linkov <juri@jurta.org>
20017
20018 * faces.el (list-faces-display): Remove extra angle bracket
20019 from `help-mode-map'.
20020
20021 * info.el (Info-history-toc-nodes): Doc fix.
20022
20023 * longlines.el (longlines-mode): Doc fix.
20024
20025 2011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
20026
20027 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
20028 of statements and in a few more cases (bug#9183).
20029
20030 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
20031 New functions.
20032 (cl-transform-lambda): Use them (bug#9239).
20033
20034 2011-08-05 Martin Rudalics <rudalics@gmx.at>
20035
20036 * window.el (display-buffer-same-window)
20037 (display-buffer-same-frame, display-buffer-other-window)
20038 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
20039 (pop-to-buffer-other-window)
20040 (pop-to-buffer-same-frame-other-window)
20041 (pop-to-buffer-other-frame): Make them defuns.
20042 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
20043
20044 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
20045
20046 * subr.el (make-composed-keymap): Move from C. Change calling
20047 convention, and improve docstring to bring attention to a subtle point.
20048 * minibuffer.el (completing-read-default): Adjust accordingly.
20049
20050 2011-08-03 Michael Albinus <michael.albinus@gmx.de>
20051
20052 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
20053 (tramp-open-shell): Use `tramp-shell-quote-argument'.
20054
20055 * net/trampver.el: Update release number.
20056
20057 2011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
20058
20059 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
20060 "in" (bug#9190).
20061
20062 2011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
20063
20064 * mail/sendmail.el (sendmail-query-once): Restore the current
20065 buffer after querying (bug#9074).
20066
20067 * dired.el (dired-flagged): Use different faces for marked and
20068 flagged files (bug#6117).
20069
20070 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
20071 (bug#4433).
20072
20073 * ido.el (ido-mode): Switch off the message if called
20074 non-interactively.
20075
20076 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
20077 before 587, since it appears that that's more likely to work for
20078 more people.
20079
20080 * cus-edit.el (custom-file): When running under emacs -q, always
20081 refuse to save the customizations, even if the .emacs file doesn't
20082 exist.
20083
20084 * info.el: Remove the `Info-beginning-of-buffer' function
20085 (bug#8325).
20086
20087 * net/network-stream.el (network-stream-open-starttls):
20088 Use `starttls-available-p' to see whether starttls.el can be used.
20089
20090 2011-08-01 Martin Rudalics <rudalics@gmx.at>
20091
20092 * window.el (display-buffer-in-window): Don't set dedicated status
20093 of window here (Bug#9215).
20094 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
20095 (display-buffer-pop-up-side-window)
20096 (display-buffer-in-side-window): Set dedicated status of window here.
20097
20098 2011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
20099
20100 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
20101 before binding generated-autoload-file.
20102
20103 2011-08-01 Deniz Dogan <deniz@dogan.se>
20104
20105 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
20106
20107 2011-07-30 Michael Albinus <michael.albinus@gmx.de>
20108
20109 Sync with Tramp 2.2.2.
20110
20111 * net/trampver.el: Update release number.
20112
20113 2011-07-30 Juri Linkov <juri@jurta.org>
20114
20115 * dired-aux.el (dired-touch-initial): Remove function.
20116 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
20117 current time, and `default' to the last modification time of the
20118 current marked file (bug#6887).
20119
20120 2011-07-28 Jose E. Marchesi <jemarch@gnu.org>
20121
20122 * simple.el (goto-line): Use string-to-number to provide a
20123 numeric argument to read-number (bug#9163).
20124
20125 2011-07-27 Michael Albinus <michael.albinus@gmx.de>
20126
20127 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
20128 connection process, it could be nil.
20129
20130 2011-07-27 Leo Liu <sdl.web@gmail.com>
20131
20132 Simplify url handling in rcirc-mode.
20133
20134 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
20135 (rcirc-browse-url-at-mouse): Remove.
20136 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
20137
20138 2011-07-26 Alan Mackenzie <acm@muc.de>
20139
20140 Fontify bitfield declarations properly.
20141
20142 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
20143 (c-symbol-chars): Now exported as a lang variable.
20144 (c-not-primitive-type-keywords): New lang variable.
20145
20146 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
20147 QT keyword "more" to prevent "more slots: ...." being spuriously
20148 parsed as a bitfield declaration.
20149
20150 * progmodes/cc-engine.el (c-beginning-of-statement-1):
20151 Refactor and enhance to handle bitfield declarations.
20152 (c-punctuation-in): New function.
20153 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
20154 declarations properly.
20155
20156 2011-07-26 Ulf Jasper <ulf.jasper@web.de>
20157
20158 * calendar/icalendar.el (icalendar--all-events): Take care of
20159 multiple vcalendars in a single file.
20160 (icalendar--convert-float-to-ical): Checkdoc fixes.
20161
20162 2011-07-25 Deniz Dogan <deniz@dogan.se>
20163
20164 * image.el (insert-image): Clarifying docstring.
20165
20166 2011-07-24 Michael Albinus <michael.albinus@gmx.de>
20167
20168 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
20169 `tramp-send-command-and-check' if there is no error.
20170 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
20171
20172 2011-07-22 Alan Mackenzie <acm@muc.de>
20173
20174 Prevent cc-langs.elc being loaded at run time.
20175
20176 * progmodes/cc-mode.el: Remove two autoload forms which loaded
20177 cc-langs.
20178
20179 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
20180 "(require 'cc-langs)". Quote a form so it will evaluate at
20181 (cc-mode's) compilation time.
20182
20183 2011-07-22 Michael Albinus <michael.albinus@gmx.de>
20184
20185 * net/tramp.el (tramp-file-name-handler): Avoid recursive
20186 loading. (Bug#9114)
20187
20188 2011-07-21 Martin Rudalics <rudalics@gmx.at>
20189
20190 * window.el (display-buffer-pop-up-window)
20191 (display-buffer-pop-up-side-window)
20192 (display-buffer-in-side-window): Call display-buffer-set-height
20193 and display-buffer-set-width after setting the new window's
20194 buffer so `fit-window-to-buffer' and friends work on the right buffer.
20195
20196 2011-07-20 Sam Steingold <sds@gnu.org>
20197
20198 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
20199 (etags-tags-included-tables): Call `convert-standard-filename' on
20200 the file names contained in TAGS so that windows Emacs can handle
20201 TAGS files created by cygwin ctags.
20202
20203 2011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
20204
20205 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
20206 which apparently didn't work.
20207
20208 2011-07-19 Roland Winkler <winkler@gnu.org>
20209
20210 * proced.el (proced-send-signal): For *Marked Processes* buffer
20211 put point at beginning of buffer.
20212
20213 2011-07-19 Stephen Berman <stephen.berman@gmx.net>
20214
20215 * proced.el (proced-format): Make header lines align with the text
20216 (bug#1779).
20217
20218 2011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
20219
20220 * view.el (view-buffer): Allow running in `special' modes if we're
20221 visiting a file (bug#8615).
20222
20223 2011-07-19 Martin Rudalics <rudalics@gmx.at>
20224
20225 * window.el (display-buffer-alist-of-strings-p)
20226 (display-buffer-alist-set-1, display-buffer-alist-set-2):
20227 New functions.
20228 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
20229 more accurately.
20230
20231 2011-07-18 Alan Mackenzie <acm@muc.de>
20232
20233 Fontify declarators properly when, e.g., a jit-lock chunk begins
20234 inside a declaration.
20235
20236 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
20237
20238 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
20239 New function.
20240 (c-complex-decl-matchers): Insert reference to
20241 c-font-lock-enclosing-decls.
20242
20243 * progmodes/cc-engine.el (c-backward-single-comment):
20244 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
20245 to nil around calls to (forward-comment -1).
20246
20247 2011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
20248
20249 * image.el (put-image): Doc typo fix.
20250
20251 * progmodes/etags.el (tags-search): Doc typo fix.
20252
20253 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
20254 password if we get errors 550 to 554.
20255
20256 2011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
20257
20258 * net/gnutls.el (gnutls-log-level): Remove.
20259
20260 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
20261 indentation character (bug#6380).
20262
20263 * files.el (buffer-offer-save): Made permanently local (bug#6241).
20264
20265 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
20266 to clarify what the problem is (bug#4291).
20267
20268 * simple.el (current-kill): Clarify what
20269 `interprogram-paste-function' does (bug#7500).
20270 (auto-fill-mode): Document `auto-fill-function' in relation to
20271 `auto-fill-mode' (bug#2470).
20272
20273 2011-07-16 Lawrence Mitchell <wence@gmx.li>
20274
20275 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
20276 method if slot is read-only (bug#9035).
20277
20278 2011-07-16 Martin Rudalics <rudalics@gmx.at>
20279
20280 * frame.el (select-frame-set-input-focus): New argument NORECORD.
20281 * window.el (pop-to-buffer): Select window used even if it was
20282 selected before, see discussion of (Bug#8615), (Bug#6954).
20283 Pass argument NORECORD on to select-frame-set-input-focus.
20284
20285 2011-07-15 Glenn Morris <rgm@gnu.org>
20286
20287 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
20288 Respect help-form.
20289
20290 2011-07-09 Lawrence Mitchell <wence@gmx.li>
20291
20292 * net/gnutls.el (gnutls-min-prime-bits): New variable.
20293 (gnutls-negotiate): Use it.
20294
20295 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
20296
20297 * net/gnutls.el (gnutls-negotiate):
20298 Upcase `gnutls-algorithm-priority'.
20299
20300 2011-07-15 Glenn Morris <rgm@gnu.org>
20301
20302 * jka-compr.el (jka-compr-verbose): Move from here...
20303 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
20304 Add missing :version tag.
20305 * info.el: No need to require jka-compr when compiling.
20306
20307 2011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
20308
20309 * net/gnutls.el (gnutls-algorithm-priority): New variable.
20310 (gnutls-negotiate): Use it.
20311
20312 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
20313
20314 * info.el (Info-beginning-of-buffer): New command.
20315 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
20316 announcing `b' as the key (bug#8325).
20317 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
20318
20319 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
20320
20321 * international/mule-cmds.el
20322 (describe-specified-language-support): Make the error message
20323 clearer (bug#8905).
20324
20325 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
20326
20327 * isearch.el (isearch-barrier): Add a doc string, since it's
20328 mentioned in a function doc string (bug#8678).
20329
20330 2011-07-15 Martin Rudalics <rudalics@gmx.at>
20331
20332 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
20333 buffer argument (Bug#9083) and self-identifying label argument.
20334
20335 2011-07-15 Glenn Morris <rgm@gnu.org>
20336
20337 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
20338
20339 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
20340
20341 * man.el (Man-fontify-manpage): Fix message when formatting the
20342 man page (bug#7929).
20343
20344 2011-07-14 Eli Zaretskii <eliz@gnu.org>
20345
20346 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
20347 argument LRM; if non-nil, append an invisible LRM character to the
20348 buffer name.
20349 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
20350 last argument non-nil, when formatting buffer names.
20351 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
20352 paragraph direction.
20353
20354 2011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
20355
20356 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
20357 the man page name (bug#7929).
20358
20359 * image.el (put-image): Mention the `put-image' overlay property
20360 (bug#7834).
20361
20362 * scroll-bar.el (set-scroll-bar-mode): Mention that
20363 `scroll-bar-mode' lists the values (bug#7772).
20364
20365 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
20366 command (bug#7729).
20367
20368 * rect.el (apply-on-rectangle): Return the point after the last
20369 operation.
20370 (string-rectangle): Go to the point after the last operation
20371 (bug#7522).
20372
20373 * printing.el (pr-toggle-region): Clarify the documentation
20374 slightly (bug#7493).
20375
20376 * time.el (display-time-update):
20377 Allow `display-time-mail-function' to return nil (bug#7158).
20378 Fix suggested by Detlev Zundel.
20379
20380 * vc/diff.el (diff): Clarify the order the file names are read
20381 (bug#7111).
20382
20383 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
20384 the doc string (bug#7015).
20385
20386 * font-lock.el (font-lock-maximum-decoration): Mention what
20387 numeric levels mean (bug#6935).
20388
20389 * startup.el (initial-buffer-choice): Don't mention the `none'
20390 selection, which is against policy.
20391
20392 2011-07-14 Martin Rudalics <rudalics@gmx.at>
20393
20394 * window.el (display-buffer-normalize-special):
20395 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
20396
20397 2011-07-14 Eli Zaretskii <eliz@gnu.org>
20398
20399 * subr.el (version<, version<=, version=): Mention "-CVS" and
20400 "-12345" alpha version numbers.
20401
20402 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
20403
20404 * bindings.el: Add advertised binding for set-mark-command
20405 (Bug#5772).
20406
20407 2011-07-14 Chong Yidong <cyd@stupidchicken.com>
20408
20409 * bindings.el (mode-line-other-buffer):
20410 * bookmark.el (bookmark-bmenu-2-window):
20411 * bs.el (bs-cycle-next, bs-cycle-previous):
20412 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
20413 switch-to-buffer.
20414
20415 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
20416 Delete.
20417
20418 2011-07-14 Juanma Barranquero <lekktu@gmail.com>
20419
20420 * follow.el (follow-debug-message, follow-redisplay):
20421 * jka-cmpr-hook.el (with-auto-compression-mode):
20422 Fix typos in docstrings.
20423
20424 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20425
20426 * subr.el (with-silent-modifications): Clarify somewhat what the
20427 macro inhibits (bug#6525).
20428
20429 * simple.el (eval-expression): Note what it does if called
20430 interactively (bug#6495).
20431
20432 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
20433
20434 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
20435 Use pop-to-buffer buffer-or-name if it is nil.
20436
20437 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
20438 Remove switch-to-buffer.
20439
20440 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20441
20442 * files.el (make-directory): Clarify that an error will be raised
20443 if there's an error (bug#6397).
20444
20445 * startup.el (initial-buffer-choice): Add `none' as a choice
20446 (bug#6234).
20447
20448 * subr.el (add-hook): Clarify section about buffer-local hooks
20449 (bug#6218).
20450
20451 * dired.el (dired-flagged): Clarify doc string (bug#6117).
20452
20453 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
20454
20455 * tabify.el (untabify): Preserve the current column so that point
20456 doesn't move (bug#6032).
20457
20458 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20459
20460 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
20461 Rewrite to avoid awkward possessive "s" (bug#5986).
20462
20463 2011-07-13 Glenn Morris <rgm@gnu.org>
20464
20465 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
20466 (dired-insert-directory): Give a message the first time
20467 if ls is found not to support --dired.
20468
20469 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20470
20471 * simple.el (toggle-truncate-lines): Clarify what is toggled
20472 (bug#5580). Text by Drew Adams.
20473
20474 2011-07-13 Chong Yidong <cyd@stupidchicken.com>
20475
20476 * simple.el (blink-matching-open): Make the error message from the
20477 last change less verbose.
20478
20479 2011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
20480
20481 * font-lock.el (font-lock-comment-face): Use the high contrast
20482 "yellow" color for font-lock-comment-face on low color terminals
20483 using a dark background color (bug#4221).
20484
20485 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20486
20487 * dired.el (dired-insert-set-properties): Make the doc string
20488 reflect what it does now (bug#5325).
20489
20490 * simple.el (blink-matching-open): Say that we were unable to find
20491 the match within the limit, if we're limited (bug#5122).
20492
20493 * international/mule-cmds.el (prefer-coding-system): Add an
20494 example (bug#4869).
20495
20496 * progmodes/etags.el (tags-search): Document `file-list-form'
20497 (bug#4731).
20498
20499 2011-07-13 Lawrence Mitchell <wence@gmx.li>
20500
20501 * net/browse-url.el (browse-url-default-browser)
20502 (browse-url-browser-function): Make the default browser choice a
20503 bit more logical (bug#4300). Also clean up the doc string.
20504
20505 2011-07-13 Juanma Barranquero <lekktu@gmail.com>
20506
20507 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
20508 binary endings (bug#4440).
20509
20510 2011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
20511
20512 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
20513 which can be pretty annoying (bug#8971).
20514
20515 * jka-compr.el (jka-compr-verbose): New variable, and use
20516 throughout (bug#8971).
20517
20518 * info.el (Info-find-file): Fall back on the installation
20519 directory if we can't find the info node anywhere else.
20520
20521 2011-07-13 Sergei Organov <osv@javad.com> (tiny change)
20522
20523 * vc/vc.el (vc-revert-file):
20524 Don't set file time-stamp in the past. (Bug#5181)
20525
20526 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
20527
20528 * files.el (after-find-file): Give a better error message when
20529 trying to find a symlink that points to a file that doesn't exist
20530 (bug#4398).
20531
20532 * progmodes/cc-vars.el: Remove (probably) misleading comment
20533 (bug#4396).
20534
20535 2011-07-12 Johan Bockgård <bojohan@gnu.org>
20536
20537 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
20538
20539 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
20540
20541 * mouse-sel.el: Hack restoring functionality, while keeping
20542 compatibility with 2010-07-03 changes to mouse selection.
20543 (mouse-sel-primary-overlay): New var.
20544 (mouse-sel-selection-alist): Use it.
20545 (mouse-sel-mode): Doc fix; remove points that are default features
20546 of mouse.el.
20547
20548 2011-07-12 Johan Bockgård <bojohan@gnu.org>
20549
20550 * progmodes/compile.el (compilation-error-regexp-alist-alist):
20551 Fix previous fix (bug#2490).
20552
20553 2011-07-12 Roland Winkler <winkler@gnu.org>
20554
20555 * textmodes/bibtex.el (bibtex-initialize):
20556 Use pop-to-buffer-same-window.
20557 (bibtex-search-entries): Fix interactive call.
20558
20559 2011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
20560
20561 * progmodes/compile.el (compilation-error-regexp-alist-alist):
20562 Fontise bytecomp Error lines more correctly (bug#2490).
20563 Fix suggested by Johan Bockgård.
20564
20565 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
20566
20567 * dired-x.el (dired-guess-default): Use `delete-dups'.
20568
20569 2011-07-12 Chong Yidong <cyd@stupidchicken.com>
20570
20571 * dired.el (dired-mark-prompt):
20572 * dired-aux.el (dired-read-shell-command): Doc fix.
20573
20574 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
20575
20576 * mail/sendmail.el (sendmail-query-once):
20577 Use `customize-save-variable' unconditionally, now that it works under
20578 emacs -Q.
20579
20580 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
20581
20582 * cus-edit.el (custom-file): Take an optional no-error variable.
20583 (customize-save-variable): Set the variable, and give a warning if
20584 running under "emacs -q".
20585
20586 2011-07-11 Juanma Barranquero <lekktu@gmail.com>
20587
20588 * loadhist.el (unload-feature-special-hooks):
20589 Add `auto-coding-functions', `fill-nobreak-predicate' and
20590 `find-directory-functions' (bug#5327).
20591
20592 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
20593
20594 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
20595
20596 * cus-edit.el (custom-guess-name-alist): -alist variables should
20597 use the `alist' type (bug#3120). Suggested by Drew Adams.
20598
20599 * printing.el: Add documentation to all the `pr-toggle-' commands.
20600
20601 2011-07-11 Leo Liu <sdl.web@gmail.com>
20602
20603 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
20604 backends where it makes sense (bug#2623).
20605
20606 2011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
20607
20608 * dired-x.el (dired-guess-default): Remove duplicate shell command
20609 entries (bug#2028).
20610 (dired-guess-default): Fix grammar in doc string (bug#2028).
20611 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
20612
20613 * subr.el (remove-duplicates): New conveniency function.
20614
20615 2011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
20616
20617 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
20618 (bug#1526).
20619
20620 2011-07-10 Martin Rudalics <rudalics@gmx.at>
20621
20622 * window.el (display-buffer-normalize-default): Don't invert
20623 meaning of even-window-heights. Reported by Eli Zaretskii
20624 <eliz@gnu.org>.
20625
20626 2011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
20627
20628 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
20629
20630 2011-07-10 Chong Yidong <cyd@stupidchicken.com>
20631
20632 * window.el (display-buffer): Fix arguments to
20633 display-buffer-reuse-window in last change.
20634
20635 * faces.el (link): Use a less saturated blue on light backgrounds.
20636
20637 * startup.el (fancy-startup-text, fancy-about-text)
20638 (fancy-startup-tail): Use font-lock faces, for background safety.
20639
20640 2011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
20641
20642 * emulation/viper-cmd.el (viper-change-state-to-vi):
20643 Limit triggering of abbrev expansion (Bug#9038).
20644
20645 2011-07-09 Martin Rudalics <rudalics@gmx.at>
20646
20647 * window.el (display-buffer-default-specifiers): Remove.
20648 (display-buffer-macro-specifiers): Remove default specifiers.
20649 (display-buffer-alist): Default to nil.
20650 (display-buffer-reuse-window): New optional argument other-window.
20651 (display-buffer-pop-up-window): Allow splitting internal
20652 windows. Check whether a live window was created.
20653 (display-buffer-other-window-means-other-frame)
20654 (display-buffer-normalize-arguments): Rename to
20655 display-buffer-normalize-argument and rewrite. Set the
20656 other-window specifier.
20657 (display-buffer-normalize-special): New function.
20658 (display-buffer-normalize-options): Rename to
20659 display-buffer-normalize-default and rewrite.
20660 (display-buffer-normalize-options-inhibit): Remove.
20661 (display-buffer-normalize-specifiers): Rewrite.
20662 (display-buffer): Process other-window specifier and call
20663 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
20664 more faithfully.
20665 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
20666 (display-buffer-alist-set): Don't handle 'unset default values.
20667 (display-buffer-in-window, display-buffer-alist-set):
20668 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
20669 <tassilo@member.fsf.org>.
20670
20671 2011-07-09 Leo Liu <sdl.web@gmail.com>
20672
20673 * register.el (insert-register): Restore accidental change on
20674 2011-06-26. (Bug#9028)
20675
20676 2011-07-09 Glenn Morris <rgm@gnu.org>
20677
20678 * subr.el (remq): Handle the empty list. (Bug#9024)
20679
20680 2011-07-08 Andreas Schwab <schwab@linux-m68k.org>
20681
20682 * mail/sendmail.el (send-mail-function): No longer delay custom
20683 initialization.
20684 * custom.el (custom-initialize-delay): Doc fix.
20685
20686 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
20687
20688 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
20689
20690 2011-07-08 Michael Albinus <michael.albinus@gmx.de>
20691
20692 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
20693 human-friendly prompt.
20694
20695 2011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
20696
20697 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
20698 provided by a particular plugin.
20699
20700 2011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
20701
20702 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
20703 save customizations (with "emacs -Q"), just set the variable
20704 instead of erroring out.
20705
20706 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
20707
20708 2011-07-08 Juri Linkov <juri@jurta.org>
20709
20710 * arc-mode.el (archive-zip-expunge, archive-zip-update)
20711 (archive-zip-update-case): Use 7z if found by `executable-find'.
20712 The order of searching the available programs is the same as in
20713 `archive-zip-extract' (bug#8968).
20714
20715 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
20716
20717 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
20718 (menu-bar-options-menu): Tweak descriptions.
20719
20720 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
20721
20722 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
20723 menu items into verb phrases (bug#1421). Also refill to fit under
20724 80 columns.
20725
20726 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
20727
20728 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
20729 (Info-read-node-name): Doc fix (Bug#1084).
20730
20731 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
20732 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
20733 (end-of-sexp, beginning-of-sexp)
20734 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
20735 (forward-symbol, forward-same-syntax, word-at-point)
20736 (sentence-at-point): Doc fix (Bug#1144).
20737
20738 2011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
20739
20740 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
20741 should cover it (bug#1281).
20742
20743 * cus-edit.el (custom-show): Mark as obsolete.
20744
20745 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
20746 negotiation fails, then possibly try again with a non-encrypted
20747 connection (bug#9017).
20748
20749 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
20750 be used.
20751
20752 2011-07-07 Richard Stallman <rms@gnu.org>
20753
20754 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
20755 property, and handle its changed format.
20756 Look for the correct line number.
20757 Use file's line contents (but not past first =) to find
20758 correct line in message.
20759
20760 2011-07-07 Kenichi Handa <handa@m17n.org>
20761
20762 * international/characters.el (build-unicode-category-table):
20763 Delete it.
20764 (unicode-category-table): Set it by unicode-property-table-internal.
20765
20766 * international/mule-cmds.el (char-code-property-alist): Move to
20767 to src/chartab.c.
20768 (get-char-code-property): Call unicode-property-table-internal to
20769 load a file. Call get-unicode-property-internal where necessary.
20770 (put-char-code-property): Call unicode-property-table-internal to
20771 load a file. Call put-unicode-property-internal where necessary.
20772 put-unicode-property-internal where necessary.
20773 (char-code-property-description):
20774 Call unicode-property-table-internal to load a file.
20775
20776 * international/charprop.el:
20777 * international/uni-bidi.el:
20778 * international/uni-category.el:
20779 * international/uni-combining.el:
20780 * international/uni-comment.el:
20781 * international/uni-decimal.el:
20782 * international/uni-decomposition.el:
20783 * international/uni-digit.el:
20784 * international/uni-lowercase.el:
20785 * international/uni-mirrored.el:
20786 * international/uni-name.el:
20787 * international/uni-numeric.el:
20788 * international/uni-old-name.el:
20789 * international/uni-titlecase.el:
20790 * international/uni-uppercase.el: Regenerate.
20791
20792 * loadup.el: Load international/charprop.el before
20793 international/characters.
20794
20795 2011-07-07 Chong Yidong <cyd@stupidchicken.com>
20796
20797 * window.el (next-buffer, previous-buffer): Signal an error if
20798 called from a minibuffer window.
20799
20800 * bindings.el: Revert 2011-07-04 change.
20801
20802 2011-07-06 Richard Stallman <rms@gnu.org>
20803
20804 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
20805 (rmail-mime-insert-bulk, rmail-mime-insert-text):
20806 Treat markers like ints.
20807 (rmail-mime-entity): Doc fix.
20808
20809 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
20810
20811 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
20812 defcustom again for backwards compatibility.
20813
20814 * simple.el (shell-command-on-region): Fill.
20815
20816 * dired-aux.el (dired-kill-line): Add a doc string.
20817
20818 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
20819 to "\\sw\\|\\s_" (bug#358).
20820
20821 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
20822 (dired-unmark-backward): Ditto.
20823 (dired-flag-backup-files): Ditto.
20824
20825 * dired-x.el (dired-mark-sexp): Ditto.
20826
20827 2011-07-06 Richard Stallman <rms@gnu.org>
20828
20829 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
20830 (rmail-mime-entity): New arg TRUNCATED.
20831 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
20832 New functions.
20833 (rmail-mime-save): Warn if entity is truncated.
20834 (rmail-mime-toggle-hidden): Likewise, for showing.
20835 (rmail-mime-process-multipart): Record when an entity is truncated.
20836
20837 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
20838 if ENTITY is a string.
20839
20840 2011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
20841
20842 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
20843 of faces when `M-C-x'-ing their definitions (bug#8378).
20844 Also clean up the code slightly.
20845
20846 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
20847 because that makes the colors go away.
20848
20849 * mail/sendmail.el (send-mail-function): Change the default to
20850 `sendmail-query-once'.
20851 (sendmail-query-once): Add an autoload cookie.
20852
20853 * net/network-stream.el (network-stream-open-starttls): Try using
20854 a plain connection even if the server offered STARTTLS, and we
20855 kinda wanted to use it, if Emacs doesn't have any STARTTLS
20856 capability. This should make smtpmail.el work in slightly more
20857 configurations.
20858
20859 2011-07-06 Michael Albinus <michael.albinus@gmx.de>
20860
20861 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
20862 New defun.
20863 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
20864
20865 2011-07-06 Michael R. Mauger <mmaug@yahoo.com>
20866
20867 * progmodes/sql.el: Version 3.0
20868 (sql-product-alist): Add product :completion-object,
20869 :completion-column, and :statement attributes.
20870 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
20871 (sql-mode-syntax-table): Mark all punctuation.
20872 (sql-font-lock-keywords-builder): Temporarily remove fallback on
20873 ansi keywords.
20874 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
20875 (sql-mode-oracle-font-lock-keywords): Improve.
20876 (sql-oracle-show-reserved-words): New function for development.
20877 (sql-product-font-lock): Simplify for source code buffers.
20878 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
20879 New functions.
20880 (sql-highlight-product): Set product specific syntax table.
20881 (sql-mode-map): Add statement movement functions.
20882 (sql-ansi-statement-starters, sql-oracle-statement-starters):
20883 New variable.
20884 (sql-statement-regexp, sql-beginning-of-statement)
20885 (sql-end-of-statement, sql-signum): New functions.
20886 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
20887 (sql-show-sqli-buffer): Bug fix.
20888 (sql-interactive-mode): Store connection data as buffer local.
20889 (sql-connect): Add NEW-NAME parameter. Redesign interaction
20890 with sql-interactive-mode.
20891 (sql-save-connection): Save buffer local settings.
20892 (sql-connection-menu-filter): Change menu entry name.
20893 (sql-product-interactive): Bug fix.
20894 (sql-preoutput-hold): New variable.
20895 (sql-interactive-remove-continuation-prompt): Bug fixes.
20896 (sql-debug-redirect): New variable.
20897 (sql-str-literal): New function.
20898 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
20899 Redesign.
20900 (sql-oracle-save-settings, sql-oracle-restore-settings)
20901 (sql-oracle-list-all, sql-oracle-list-table): New functions.
20902 (sql-completion-object, sql-completion-column)
20903 (sql-completion-sqlbuf): New variables.
20904 (sql-build-completions-1, sql-build-completions)
20905 (sql-try-completion): New functions.
20906 (sql-read-table-name): Use them.
20907 (sql-contains-names): New buffer local variable.
20908 (sql-list-all, sql-list-table): Use it.
20909 (sql-oracle-completion-types): New variable.
20910 (sql-oracle-completion-object, sql-sqlite-completion-object)
20911 (sql-postgres-completion-object): New functions.
20912
20913 2011-07-06 Glenn Morris <rgm@gnu.org>
20914
20915 * window.el (pop-to-buffer): Doc fix.
20916
20917 2011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
20918
20919 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
20920
20921 2011-07-06 Chong Yidong <cyd@stupidchicken.com>
20922
20923 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
20924
20925 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
20926
20927 2011-07-05 Chong Yidong <cyd@stupidchicken.com>
20928
20929 * button.el (button): Inherit from link face. Suggested by Dan
20930 Nicolaescu.
20931
20932 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
20933
20934 * progmodes/gdb-mi.el: Fit in 80 columns.
20935 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
20936 switch-to-buffer.
20937
20938 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
20939 if imenu is simply not configured (bug#8941).
20940
20941 2011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
20942
20943 * allout.el (allout-post-undo-hook): New allout outline-change
20944 event hook to signal undo activity.
20945 (allout-post-command-business): Run allout-post-undo-hook if an
20946 undo just occurred.
20947 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
20948 * allout-widgets.el (allout-widgets-after-undo-function):
20949 Ensure the integrity of the current item's decoration after it has been
20950 in the vicinity of an undo.
20951 (allout-widgets-mode): Include allout-widgets-after-undo-function
20952 on the new allout-post-undo-hook.
20953
20954 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
20955
20956 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
20957 Let define-derived-mode define it.
20958 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
20959 cycles of abbrev-table inheritance (bug#8998).
20960
20961 2011-07-05 Roland Winkler <winkler@gnu.org>
20962
20963 * textmodes/bibtex.el: Add support for biblatex.
20964 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
20965 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
20966 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
20967 (bibtex-entry-alist, bibtex-field-alist): New variables.
20968 (bibtex-entry-field-alist): Obsolete alias for
20969 bibtex-BibTeX-entry-alist.
20970 (bibtex-entry-alist, bibtex-field-alist): New widgets.
20971 (bibtex-set-dialect): New command.
20972 (bibtex-entry-type, bibtex-entry-head)
20973 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
20974 Bind via bibtex-set-dialect.
20975 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
20976 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
20977 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
20978 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
20979 Define via bibtex-set-dialect.
20980 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
20981 Obey bibtex-no-opt-remove-re.
20982 (bibtex-vec-push, bibtex-vec-incr): New functions.
20983 (bibtex-format-entry, bibtex-field-list)
20984 (bibtex-print-help-message, bibtex-validate)
20985 (bibtex-search-entries): Use new format of bibtex-entry-alist.
20986
20987 2011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
20988
20989 * progmodes/compile.el (compilation-goto-locus):
20990 * net/tramp-cmds.el (tramp-append-tramp-buffers):
20991 * bs.el (bs-cycle-next, bs-cycle-previous):
20992 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
20993 * bindings.el (mode-line-other-buffer):
20994 * autoinsert.el (auto-insert):
20995 * arc-mode.el (archive-extract):
20996 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
20997
20998 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
20999
21000 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
21001 Fix check of `emacs-lock-unlockable-modes'.
21002 Coerce true values of `emacs-lock--try-unlocking' to t.
21003
21004 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
21005
21006 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
21007 * emacs-lock.el: New file.
21008
21009 2011-07-05 Julien Danjou <julien@danjou.info>
21010
21011 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
21012 than `boundp' to check if face is set.
21013
21014 2011-07-05 Juanma Barranquero <lekktu@gmail.com>
21015
21016 * register.el (registerv-make):
21017 * window.el (window-min-height): Fix typos in docstrings.
21018
21019 2011-07-05 Jan Djärv <jan.h.d@swipnet.se>
21020
21021 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
21022 Update doc string.
21023
21024 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
21025
21026 * server.el (server-execute): Catch quit and call
21027 `server-return-error' to pass the error back to emacsclient and
21028 close the connection (bug#8942).
21029
21030 2011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
21031
21032 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
21033 insecure exception for current topic. Also note that auto-saves
21034 are handled differently.
21035
21036 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
21037 State variables for tracking auto-save inhibition situation.
21038
21039 (allout-write-contents-hook-handler): Rename from
21040 'allout-write-file-hook-handler', and describe how it depends on
21041 write-contents-functions sensitivity to non-nil value to prevent
21042 file write.
21043
21044 (allout-auto-save-hook-handler): Remove. auto-save does not check
21045 this in individual buffers, only in the starting buffer, so this
21046 is not the right way for us to inhibit auto-save in a buffer
21047 according to its condition.
21048
21049 (allout-mode): Use new allout-write-contents-hook-handler, and
21050 only with write-contents-functions. Remove auto-save provisions -
21051 they're implemented elsewhere.
21052
21053 (allout-before-change-handler): If undo is in progress, note that
21054 for attention of allout-post-command-business.
21055
21056 (allout-post-command-business): If the command we're following was
21057 an undo, check for change in the status of encrypted items and
21058 adjust auto-save inhibitions accordingly.
21059
21060 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
21061 according to whether there are or aren't any plain-text topics
21062 pending encryption.
21063
21064 (allout-inhibit-auto-save-info-for-decryption):
21065 Adjust buffer-saved-size and some allout state to inhibit auto-saves
21066 if there are plain-text topics pending encryption.
21067
21068 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
21069 buffer-saved-size and some allout state to not inhibit auto-saves
21070 if there are no longer any plain-text topics pending encryption.
21071
21072 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
21073 No longer provide for exemption of the current topic.
21074
21075 2011-07-04 Juri Linkov <juri@jurta.org>
21076
21077 Add 7z operations to delete and save changed members (bug#8968).
21078 * arc-mode.el (archive-7z-expunge, archive-7z-update):
21079 New defcustoms.
21080 (archive-7z-write-file-member): New function.
21081 (archive-7z-summarize): Fix the number of dashes in the
21082 listing output.
21083
21084 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
21085
21086 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
21087 (bug#8958).
21088
21089 2011-07-04 Chong Yidong <cyd@stupidchicken.com>
21090
21091 * bindings.el: Ignore next-buffer and previous-buffer in
21092 minibuffer-local-map.
21093
21094 * font-lock.el (font-lock-builtin-face): Change light background
21095 color to dark slate blue (Bug#6693).
21096
21097 2011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
21098
21099 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
21100
21101 2011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
21102
21103 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
21104 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
21105 Add switch-to-buffer.
21106
21107 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
21108
21109 * isearch.el (isearch-search-fun-function): Clarify further the
21110 meaning of the function returned.
21111
21112 2011-07-04 Michael Albinus <michael.albinus@gmx.de>
21113
21114 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
21115
21116 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
21117 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
21118 Use it.
21119 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
21120 `tramp-default-remote-path' does not exist.
21121 (tramp-send-command-and-read): New optional argument NOERROR.
21122 (tramp-open-connection-setup-interactive-shell)
21123 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
21124 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
21125 (tramp-process-sentinel): Flush also process' connection property.
21126 (tramp-sh-handle-start-file-process): Do not set process
21127 sentinel. It is done now ...
21128 (tramp-maybe-open-connection): ... here. (Bug#8929)
21129
21130 2011-07-04 MON KEY <monkey@sandpframing.com>
21131
21132 * play/animate.el (animate-string): Doc fixes and allow changing
21133 the buffer name (bug#5417).
21134
21135 2011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
21136
21137 * play/animate.el (animation-buffer-name): Rename from *animate*.
21138
21139 2011-07-04 Paul Eggert <eggert@cs.ucla.edu>
21140
21141 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
21142 This is simpler and helps future-proof the code.
21143 (timer-until): Use time-subtract and float-time.
21144 (timer--time-less-p): Use time-less-p.
21145
21146 2011-07-04 Juanma Barranquero <lekktu@gmail.com>
21147
21148 * type-break.el (timep): Use the value of `float-time' to avoid a
21149 byte-compiler warning.
21150
21151 * server.el (server-eval-and-print): Return any result, even nil.
21152
21153 2011-07-03 Paul Eggert <eggert@cs.ucla.edu>
21154
21155 * type-break.el: Accept time formats that the builtins accept.
21156 (timep, type-break-time-difference): Accept any format that
21157 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
21158 This is simpler and helps future-proof the code.
21159 (type-break-time-difference): Round rather than ignoring
21160 subseconds components.
21161
21162 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
21163
21164 * info.el (Info-apropos-matches): Make non-interactive, since it
21165 doesn't seem to do anything useful as a command (bug#8829).
21166
21167 2011-07-03 Chong Yidong <cyd@stupidchicken.com>
21168
21169 * frame.el (frame-background-mode, frame-set-background-mode):
21170 Move from faces.el.
21171 (frame-default-terminal-background): New function.
21172
21173 * custom.el (custom-push-theme): Don't record faces in `changed'
21174 theme; this doesn't work correctly for per-frame face settings.
21175 (disable-theme): Use face-set-after-frame-default to reset faces.
21176 (custom--frame-color-default): New function.
21177
21178 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
21179
21180 * dired.el (dired-flagging-regexp): Remove unused variable
21181 (bug#8769).
21182
21183 2011-03-29 Kevin Ryde <user42@zip.com.au>
21184
21185 * progmodes/compile.el (compilation-error-regexp-alist-alist):
21186 `perl-Test2' extend to match possible "fail #N" rep count
21187 (bug#8377).
21188
21189 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
21190
21191 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
21192 `smtpmail-via-smtp' now returns the error instead of nil.
21193
21194 * isearch.el (isearch-search-fun-function): Clarify the doc string
21195 (bug#8101).
21196
21197 2011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
21198
21199 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
21200 unnecessary spaces (bug#8987).
21201
21202 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
21203
21204 * net/network-stream.el (open-network-stream): Use the
21205 :end-of-capability command thoughout.
21206
21207 2011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
21208
21209 * net/network-stream.el (open-network-stream): Add the
21210 :end-of-capability command parameter, used by pop3.el.
21211
21212 2011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
21213
21214 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
21215
21216 * fringe.el (fringe-query-style): Remove redundant text " (type ?
21217 for list)" (bug#6475).
21218
21219 * files.el (file-expand-wildcards): Ignore non-readable
21220 sub-directories while trying to find matches instead of signaling
21221 an error (bug#6297).
21222
21223 * man.el (Man-reference-regexp): Allow matching possible
21224 word-wrapped references (bug#6289).
21225
21226 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
21227 for consistency with the other vc buffers (bug#6197).
21228 (vc-checkin): Ditto.
21229
21230 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
21231
21232 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
21233
21234 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
21235
21236 * custom.el (defcustom): Clarify that :set is only used in the
21237 Customize user interface (bug#6089).
21238
21239 * progmodes/flymake.el (flymake-mode): If the buffer isn't
21240 associated with a file, refuse to run instead of erroring out
21241 (bug#6084).
21242
21243 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
21244 the doc string, since it appears that using `fill-column' always
21245 controls the width (bug#7845).
21246
21247 * simple.el (shell-command-on-region): Say where the error output
21248 went if `shell-command-default-error-buffer' is set (bug#6857).
21249
21250 2011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
21251
21252 * allout.el (allout-yank-processing): Adjust cursor position for
21253 backwards-deleted space.
21254
21255 (allout-rebullet-heading): Register changes with
21256 allout-exposure-changed-hook, so the modified topic is properly
21257 decorated.
21258
21259 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
21260
21261 * minibuffer.el (completion-in-region): Document PREDICATE
21262 (bug#7136).
21263
21264 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
21265 of keyword/argument pairs (bug#6904).
21266
21267 * replace.el (multi-occur):
21268 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
21269
21270 2011-07-02 Drew Adams <drew.adams@oracle.com>
21271
21272 * dired.el (dired-mark-if): Make the message about whether it's
21273 marking or unmarking clearer (bug#8523).
21274
21275 2011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
21276
21277 * disp-table.el (display-table-print-array): New function.
21278 (describe-display-table): Use it to print the vectors more pretty
21279 (Bug#8859).
21280
21281 2011-07-02 Martin Rudalics <rudalics@gmx.at>
21282
21283 * window.el (window-state-get-1): Don't assign clone numbers.
21284 Add clone-of item to list of window parameters.
21285 (window-state-put-2): Don't process clone numbers.
21286 (display-buffer-alist): Fix doc-string.
21287
21288 2011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
21289
21290 * subr.el (remq): Don't allocate if it's not needed.
21291 (keymap--menu-item-binding, keymap--menu-item-with-binding)
21292 (keymap--merge-bindings): New functions.
21293 (keymap-canonicalize): Use them to refine the canonicalization.
21294 * minibuffer.el (minibuffer-local-completion-map)
21295 (minibuffer-local-must-match-map): Move initialization from C.
21296 (minibuffer-local-filename-completion-map): Move initialization from C;
21297 don't inherit from anything here.
21298 (minibuffer-local-filename-must-match-map): Make obsolete.
21299 (completing-read-default): Use make-composed-keymap to combine
21300 minibuffer-local-filename-completion-map with either
21301 minibuffer-local-must-match-map or
21302 minibuffer-local-filename-completion-map.
21303
21304 2011-07-01 Glenn Morris <rgm@gnu.org>
21305
21306 * type-break.el (type-break-time-sum): Use dolist.
21307
21308 * textmodes/flyspell.el (flyspell-word-search-backward):
21309 Replace CL function.
21310
21311 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
21312
21313 * mouse.el (mouse--strip-first-event): New function.
21314 (function-key-map): Use it to map fringe clicks to normal clicks
21315 by default.
21316
21317 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
21318 (vc-bzr-revision-completion-table): Add support for annotate and date.
21319
21320 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
21321 inherit from parent.
21322
21323 2011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
21324
21325 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
21326 (dired-show-file-type): Doc fixup (bug#8818).
21327
21328 * dired.el (dired-mode): Fix up the doc string as suggested by
21329 Drew Adams (bug#8817).
21330
21331 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
21332 cookie, since the manual says that it should be possible to add
21333 this function to `find-file-hook' (bug#8709).
21334
21335 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
21336
21337 * progmodes/cfengine.el: Moved all cfengine3.el functionality
21338 here. Noted Ted Zlatanov as the maintainer.
21339 (cfengine-common-settings, cfengine-common-syntax): New functions
21340 to set up common things between `cfengine-mode' and
21341 `cfengine3-mode'.
21342 (cfengine3-mode): New mode.
21343 (cfengine3-defuns cfengine3-defuns-regex
21344 (cfengine3-class-selector-regex cfengine3-category-regex)
21345 (cfengine3-vartypes cfengine3-font-lock-keywords)
21346 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
21347 (cfengine3-indent-line): Add from cfengine3.el.
21348
21349 2011-07-01 Michael Albinus <michael.albinus@gmx.de>
21350
21351 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
21352
21353 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
21354
21355 2011-07-01 Martin Rudalics <rudalics@gmx.at>
21356
21357 * window.el (same-window-buffer-names, same-window-regexps)
21358 (same-window-p, special-display-frame-alist)
21359 (special-display-popup-frame, special-display-function)
21360 (special-display-buffer-names, special-display-regexps)
21361 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
21362 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
21363 (split-window-preferred-function, split-height-threshold)
21364 (split-width-threshold, even-window-heights)
21365 (display-buffer-mark-dedicated, window-splittable-p)
21366 (split-window-sensibly, window-safely-shrinkable-p):
21367 Un-obsolete.
21368 (display-buffer): Don't spread args with function specifier
21369 because special-display-popup-frame won't like it.
21370
21371 2011-07-01 Paul Eggert <eggert@cs.ucla.edu>
21372
21373 Time-stamp simplifications and fixes.
21374 These improve accuracy slightly, and future-proof the code
21375 against some potential changes to current-time format.
21376
21377 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
21378 by using time-since and float-time.
21379
21380 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
21381 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
21382 + NNN microseconds".
21383
21384 * type-break.el (type-break-time-sum): Rewrite using time-add.
21385
21386 * play/hanoi.el (hanoi-current-time-float): Remove.
21387 All uses replaced by float-time.
21388
21389 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
21390 This yields a more-accurate answer.
21391 (rng-time-to-float): Remove; no longer needed.
21392
21393 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
21394
21395 * calendar/timeclock.el (timeclock-seconds-to-time):
21396 Defalias to seconds-to-time, since they're the same thing.
21397
21398 * emacs-lisp/elp.el (elp-elapsed-time):
21399 * emacs-lisp/benchmark.el (benchmark-elapse):
21400 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
21401
21402 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
21403
21404 * window.el (bury-buffer): Don't iconify the only frame.
21405 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
21406 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
21407
21408 2011-07-01 Chong Yidong <cyd@stupidchicken.com>
21409
21410 * eshell/em-smart.el (eshell-smart-display-navigate-list):
21411 Add mouse-yank-primary.
21412
21413 2011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
21414
21415 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
21416
21417 2011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
21418
21419 * emacs-lisp/find-func.el (find-library--load-name): New fun.
21420 (find-library-name): Use it to find relative load names when provided
21421 absolute file name (bug#8803).
21422
21423 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
21424
21425 * textmodes/flyspell.el (flyspell-word): Consider words that
21426 differ only in case as potential doublons (bug#5687).
21427
21428 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
21429 Remove two rather uninteresting debugging-like messages to make
21430 debbugs.el more silent.
21431
21432 * comint.el (comint-password-prompt-regexp): Accept "Response" as
21433 a password-like phrase.
21434
21435 2011-06-30 Masatake YAMATO <yamato@redhat.com>
21436
21437 * progmodes/cc-guess.el: New file.
21438
21439 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
21440
21441 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
21442 derived from `c-basic-common-init'.
21443
21444 * progmodes/cc-mode.el (top-level): Require cc-guess.
21445 (c-basic-common-init): Use `cc-choose-style-for-mode'.
21446
21447 2011-06-30 Lawrence Mitchell <wence@gmx.li>
21448
21449 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
21450
21451 2011-06-30 Alan Mackenzie <acm@muc.de>
21452
21453 * progmodes/cc-engine.el (c-guess-continued-construct):
21454 Correct the handling of template-args-cont, particularly for when font
21455 lock is disabled. Name this case as "CASE G".
21456
21457 2011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
21458
21459 * allout.el (allout-yank-processing): Fix injection of extra space
21460 between bullet and non-whitespace character in first topic when
21461 pasting, ensuring that the actual spacing in the pasted topic
21462 following the bullet char is preserved. This extra space was
21463 causing pasted encrypted topics to get a decrypted status even
21464 when the content was actually still encrypted. Now the decryption
21465 status from before the paste is preserved.
21466
21467 (allout-flag-region): Set all allout overlays so they evaporate
21468 when reduced to zero length (evanescent), to prevent overlay
21469 leakage.
21470
21471 2011-06-30 Glenn Morris <rgm@gnu.org>
21472
21473 * w32-fns.el (w32-charset-info-alist): Declare.
21474
21475 * find-dired.el (find-grep-options): Simplify.
21476
21477 * term/ns-win.el (ns-set-resource): Declare.
21478
21479 * ses.el (row, col): Declare dynamic variables honestly.
21480
21481 * textmodes/reftex-parse.el (index-tags): Declare.
21482
21483 2011-06-30 Chong Yidong <cyd@stupidchicken.com>
21484
21485 * cus-edit.el (customize-push-and-save): New function.
21486
21487 * files.el (hack-local-variables-confirm): Use it.
21488
21489 * custom.el (load-theme): New arg NO-CONFIRM.
21490 Use customize-push-and-save (Bug#8720).
21491 (custom-enabled-themes): Doc fix.
21492
21493 * cus-theme.el (customize-create-theme)
21494 (custom-theme-merge-theme): Callers to load-theme changed.
21495
21496 2011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
21497
21498 * thingatpt.el (thing-at-point-short-url-regexp): Require that
21499 short URLs have at least one dot in them (bug #7614).
21500
21501 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
21502 nil, because using a pty is apparently too slow (bug #895).
21503
21504 2011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
21505
21506 * mail/sendmail.el (sendmail-query-once): New function.
21507 (sendmail-query-once-function): New variable.
21508
21509 2011-06-29 Glenn Morris <rgm@gnu.org>
21510
21511 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
21512
21513 * ses.el (top-level): Require cl when compiling.
21514 (ses-set-localvars): Fix error statement.
21515 Call it at compile time to silence a storm of warnings.
21516
21517 2011-06-29 Martin Rudalics <rudalics@gmx.at>
21518
21519 * window.el (normalize-live-buffer): Rename to
21520 window-normalize-buffer.
21521 (normalize-live-frame): Rename to window-normalize-frame.
21522 (normalize-any-window): Rename to window-normalize-any-window.
21523 (normalize-live-window): Rename to window-normalize-live-window.
21524 (make-window-atom): Rename to window-make-atom.
21525 (window-resize-reset): Rename to window--resize-reset.
21526 (window-resize-reset-1): Rename to window--resize-reset-1.
21527 (resize-mini-window): Rename to window--resize-mini-window.
21528 (resize-subwindows-skip-p): Rename to
21529 window--resize-subwindows-skip-p.
21530 (resize-subwindows-normal): Rename to
21531 window--resize-subwindows-normal.
21532 (resize-subwindows): Rename to window--resize-subwindows.
21533 (resize-other-windows): Rename to window--resize-siblings.
21534 (resize-this-window): Rename to window--resize-this-window.
21535 (resize-root-window): Rename to window--resize-root-window.
21536 (resize-root-window-vertically): Rename to
21537 window--resize-root-window-vertically.
21538 (normalize-buffer-to-display): Rename to
21539 window-normalize-buffer-to-display.
21540 (normalize-buffer-to-switch-to): Rename to
21541 window-normalize-buffer-to-switch-to.
21542 Correspondingly update all callers of the functions listed
21543 above.
21544 (display-buffer-alist, display-buffer-normalize-arguments)
21545 (display-buffer-normalize-options, display-buffer)
21546 (display-buffer-alist-set): Use "function" instead of
21547 "fun-with-args".
21548
21549 2011-06-28 Chong Yidong <cyd@stupidchicken.com>
21550
21551 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
21552 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
21553 debbugs.gnu.org. Mention acknowledgment email.
21554
21555 2011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
21556
21557 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
21558 buffer multibyteness, since it shouldn't matter.
21559
21560 2011-06-28 Martin Rudalics <rudalics@gmx.at>
21561
21562 * window.el (display-buffer-in-side-window): Handle dedicated
21563 windows as in display-buffer-reuse-window.
21564 (display-buffer-normalize-alist): Use value of override
21565 specifier.
21566 (display-buffer-normalize-specifiers): Use value of
21567 other-window-means-other-frame specifier.
21568 (display-buffer-alist): Rewrite some texts in widgets.
21569 (display-buffer): Spread arguments when calling function
21570 specified by fun-with-args.
21571
21572 2011-06-28 Deniz Dogan <deniz@dogan.se>
21573
21574 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
21575 Unnest `let'.
21576
21577 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
21578 selectors (Bug#5732).
21579 (css-proprietary-nmstart-re): Use `regexp-opt'.
21580
21581 2011-06-27 Jari Aalto <jari.aalto@cante.net>
21582
21583 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
21584 (eshell-ls-date-format): New defcustom.
21585 (eshell-ls-file): Use it.
21586
21587 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
21588
21589 * help-fns.el (describe-variable): Fix message for terminal-local vars.
21590
21591 2011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
21592
21593 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
21594 (ange-ftp-make-tmp-name): New arg.
21595 (ange-ftp-file-local-copy): Use it.
21596
21597 2011-06-27 Jambunathan K <kjambunathan@gmail.com>
21598
21599 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
21600 no-conversion (Bug#8870).
21601
21602 2011-06-27 Martin Rudalics <rudalics@gmx.at>
21603
21604 * window.el (window-right, window-left, window-child)
21605 (window-child-count, window-last-child)
21606 (window-iso-combination-p, walk-window-tree-1)
21607 (window-atom-check-1, window-tree-1, delete-window)
21608 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
21609 new naming conventions - window-vchild, window-hchild,
21610 window-next and window-prev are now called window-top-child,
21611 window-left-child, window-next-sibling and window-prev-sibling
21612 respectively.
21613 (resize-window-reset): Rename to window-resize-reset.
21614 (resize-window-reset-1): Rename to window-resize-reset-1.
21615 (resize-window): Rename to window-resize.
21616 (window-min-height, window-min-width)
21617 (resize-mini-window, resize-this-window, resize-root-window)
21618 (resize-root-window-vertically, adjust-window-trailing-edge)
21619 (enlarge-window, shrink-window, maximize-window)
21620 (minimize-window, delete-window, quit-restore-window)
21621 (split-window, balance-windows, balance-windows-area-adjust)
21622 (balance-windows-area, window-state-put-2)
21623 (display-buffer-even-window-sizes, display-buffer-set-height)
21624 (display-buffer-set-width, set-window-text-height)
21625 (fit-window-to-buffer): Rename all "resize-window" prefixed
21626 calls to use the "window-resize" prefix convention.
21627 (display-buffer-alist): Fix symbol for label specifier.
21628 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
21629 corresponding specifier.
21630 Reported by Juanma Barranquero <lekktu@gmail.com>.
21631
21632 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
21633
21634 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
21635 convention.
21636 (ses-call-printer): Does not pass an empty string to formatter when the
21637 cell is empty to keep from barking printer Calc math-format-value.
21638
21639 2011-06-27 Richard Stallman <rms@gnu.org>
21640
21641 * battery.el (battery-mode-line-limit): New variable.
21642 (battery-update): Handle it.
21643
21644 * mail/rmailmm.el (rmail-mime-process-multipart):
21645 Handle truncated messages.
21646
21647 2011-06-27 Glenn Morris <rgm@gnu.org>
21648
21649 * progmodes/flymake.el (flymake-err-line-patterns):
21650 Allow for column numbers in the ant/javac pattern. (Bug#8866)
21651
21652 2011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
21653
21654 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
21655 (ses--clean-!, ses--clean-_): New functions.
21656 (ses-range): Add configurability of readout order, and conversion
21657 to Calc vector.
21658
21659 * ses.el (ses-repair-cell-reference-all): New function.
21660 (ses-cell-symbol): Set macro as safe, so that it can be used in
21661 formulas.
21662
21663 * ses.el: Update cycle detection algorithm.
21664 (ses-localvars): Add ses--Dijkstra-attempt-nb and
21665 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
21666 (ses-set-localvars): New function.
21667 (ses-make-cell): Add property-list as a cell element.
21668 (ses-cell-property-get-fun, ses-cell-property-get)
21669 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
21670 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
21671 New functions.
21672 (ses-cell-property-set, ses-cell-property-pop)
21673 (ses-cell-property-get-handle): New macro.
21674 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
21675 New aliases, used for code readability.
21676 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
21677 cycle detection.
21678 (ses-self-reference-early-detection): New defcustom.
21679 (ses-formula-references): Robustify against self-referring cells.
21680 (ses-mode): Use ses-set-localvars.
21681 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
21682 before lauching the update processing.
21683 (ses-initialize-Dijkstra-attempt): New function.
21684 (ses-recalculate-cell): Update for cycle detection based on
21685 Dijkstra algorithm.
21686
21687 * ses.el: Fix commenting and indenting convention.
21688
21689 2011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
21690
21691 * bs.el (bs-cycle-next): Complete last change.
21692
21693 2011-06-27 Drew Adams <drew.adams@oracle.com>
21694
21695 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
21696
21697 2011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
21698
21699 * net/network-stream.el (network-stream-open-starttls):
21700 Don't re-get capabilities unless we've reestablished connection.
21701 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
21702
21703 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
21704 to binary to possibly avoid line encoding issues on Windows (among
21705 other things).
21706
21707 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
21708
21709 * net/network-stream.el (open-network-stream): Return an :error
21710 saying what the problem was, if possible.
21711
21712 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
21713 server.
21714
21715 * net/network-stream.el (network-stream-open-starttls): If we
21716 wanted to use STARTTLS, and the server offered it, but we weren't
21717 able to because we had no STARTTLS support, then close the connection.
21718 (open-network-stream): Return an :error element, if present.
21719
21720 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
21721
21722 * hl-line.el (hl-line-sticky-flag): Doc fix.
21723 (global-hl-line-sticky-flag): New option (Bug#8323).
21724 (global-hl-line-highlight): Obey it.
21725
21726 * vc/vc.el (vc-revert-show-diff): Default to t.
21727
21728 2011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
21729
21730 * allout-widgets.el (allout-widgets-post-command-business):
21731 Stop decorating intermediate isearch matches. They're not being
21732 undecorated when an isearch is continued past, and isearch
21733 automatically collapses them. This leads to "widget leaks", where
21734 decorated items accumulate in collapsed areas. Lines with lots of
21735 hidden widgets can slow down cursor travel, substantially.
21736 Too much complicated machinery would be needed to ensure undecoration,
21737 so we're doing without this nicety.
21738
21739 (allout-widgets-tally-string): Don't try to do a hash-table-count
21740 of allout-widgets-tally when it's nil. This eliminates spurious "Error
21741 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
21742 *Messages* when allout-widgets-maintain-tally is t.
21743
21744 2011-06-26 Martin Rudalics <rudalics@gmx.at>
21745
21746 * window.el (display-buffer-normalize-argument): Rename to
21747 display-buffer-normalize-arguments. Handle special meaning of
21748 LABEL argument. Respect special-display-function when popping up
21749 a new frame. Fix code searching for a window showing the buffer
21750 on another frame.
21751 (display-buffer-normalize-specifiers):
21752 Call display-buffer-normalize-arguments.
21753 (display-buffer-in-window): Don't undedicate the window if its
21754 buffer remains the same.
21755 Reported by Drew Adams <drew.adams@oracle.com>.
21756 (display-buffer-alist): Add choice for same-window macro
21757 specfier.
21758 (display-buffer): Mention special meaning of LABEL argument in
21759 doc-string. Fix quoting. Don't pop up a new frame even as
21760 fallback.
21761
21762 2011-06-26 Juanma Barranquero <lekktu@gmail.com>
21763
21764 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
21765 avoid deleting the current window in some cases (bug#8911).
21766
21767 2011-06-26 Andreas Schwab <schwab@linux-m68k.org>
21768
21769 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
21770 (Bug#8934)
21771
21772 2011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
21773
21774 * net/network-stream.el (network-stream-open-starttls):
21775 Use built-in TLS support if `gnutls-available-p' is true.
21776 (network-stream-open-tls): Ditto.
21777
21778 2011-06-26 Leo Liu <sdl.web@gmail.com>
21779
21780 * register.el (registerv): New struct.
21781 (registerv-make): New function.
21782 (jump-to-register, describe-register-1, insert-register):
21783 Support the jump-func, print-func and insert-func slot of a registerv
21784 struct. (Bug#8415)
21785
21786 2011-06-26 Chong Yidong <cyd@stupidchicken.com>
21787
21788 * vc/vc.el (vc-revert-show-diff): New defcustom.
21789 (vc-diff-internal): New arg specifying diff buffer.
21790 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
21791 reuse an existing *vc-diff* buffer (Bug#8927).
21792
21793 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
21794
21795 2011-06-26 Glenn Morris <rgm@gnu.org>
21796
21797 * progmodes/f90.el (f90-critical-indent): New option.
21798 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
21799 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
21800 (f90-mode): Doc fix.
21801 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
21802 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
21803 (f90-beginning-of-block, f90-next-block, f90-indent-region)
21804 (f90-match-end): Handle block, critical.
21805
21806 2011-06-25 Glenn Morris <rgm@gnu.org>
21807
21808 * calendar/diary-lib.el (diary-included-files): Doc fix.
21809 (diary-include-files): New function, extracted from
21810 diary-include-other-diary-files and diary-mark-included-diary-files.
21811 (diary-include-other-diary-files, diary-mark-included-diary-files):
21812 Just call diary-include-files.
21813 (diary-mark-entries): Reset diary-included-files on first call.
21814
21815 * calendar/diary-lib.el (diary-mark-entries)
21816 (diary-mark-included-diary-files):
21817 Visit included diary-files in temp buffers.
21818
21819 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
21820 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
21821 (f90-start-block-re, f90-imenu-generic-expression)
21822 (f90-looking-at-program-block-start, f90-no-block-limit):
21823 Add support for submodules.
21824
21825 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
21826 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
21827
21828 2011-06-25 Eli Zaretskii <eliz@gnu.org>
21829
21830 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
21831 buffer-file-type before setting its value, to avoid disastrous
21832 global effects on decoding files for DOS/Windows systems. (Bug#8780)
21833
21834 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
21835
21836 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
21837
21838 * ses.el (ses-unload-function):
21839 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
21840
21841 * proced.el (proced-unload-function):
21842 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
21843
21844 2011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
21845
21846 * server.el (server-create-window-system-frame): Add parameters arg.
21847 (server-process-filter): Doc fix. Handle frame-parameters.
21848
21849 2011-06-25 Juanma Barranquero <lekktu@gmail.com>
21850
21851 Fix bug#8730, bug#8781.
21852
21853 * loadhist.el (unload--set-major-mode): New function.
21854 (unload-feature): Use it.
21855
21856 * progmodes/python.el (python-after-info-look): Add autoload cookie.
21857 (python-unload-function): New function.
21858
21859 2011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
21860
21861 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
21862
21863 2011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
21864
21865 * net/browse-url.el (browse-url-firefox-program): Add icecat to
21866 the candidates list.
21867
21868 2011-06-24 Juanma Barranquero <lekktu@gmail.com>
21869
21870 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
21871
21872 2011-06-23 Richard Stallman <rms@gnu.org>
21873
21874 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
21875 (rmail-variables): Set next-error-move-function.
21876 (rmail-what-message): Take argument POS.
21877 (rmail-next-error-move): New function.
21878
21879 2011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
21880
21881 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
21882 messages for adjacent non-terminals.
21883
21884 2011-06-23 Richard Stallman <rms@gnu.org>
21885
21886 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
21887 (rmail-show-message-1): Preserve buffer modified flag.
21888 (rmail-start-mail): Don't specify use of rmail-mail-return;
21889 that's done by mail-bury now.
21890 (rmail-mail-return): Handle arg NEWBUF.
21891
21892 2011-06-23 Michael Albinus <michael.albinus@gmx.de>
21893
21894 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
21895 SIZE is a number.
21896
21897 2011-06-23 Martin Rudalics <rudalics@gmx.at>
21898
21899 * window.el (get-lru-window, get-mru-window)
21900 (get-largest-window): Never return a minibuffer window.
21901 (display-buffer-pop-up-window): Fix a bug that could lead to
21902 reusing the minibuffer window.
21903 (display-buffer): Pass original specifier argument to
21904 display-buffer-function instead of the normalized one.
21905 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
21906
21907 2011-06-22 Leo Liu <sdl.web@gmail.com>
21908
21909 * minibuffer.el (completing-read-function)
21910 (completing-read-default): Move from minibuf.c.
21911
21912 2011-06-22 Richard Stallman <rms@gnu.org>
21913
21914 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
21915 to Rmail even if not started by a special Rmail command.
21916
21917 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
21918 Copy the buffer currently showing just one message.
21919
21920 2011-06-22 Roland Winkler <winkler@gnu.org>
21921
21922 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
21923 (bibtex-clean-entry): First delete the old key so that a
21924 customized algorithm for generating the new key does not get
21925 confused by the old key.
21926 (bibtex-url): Obey regexp of first step.
21927 (bibtex-search-entries): Do not use add-to-list with local
21928 list-var.
21929
21930 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
21931
21932 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
21933 stored a user name, then query for the password first, instead of
21934 waiting for SMTP to give an error message and the trying again.
21935
21936 2011-06-22 Lawrence Mitchell <wence@gmx.li>
21937
21938 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
21939 BUFFER in call-process.
21940
21941 2011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
21942
21943 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
21944 QUIT twice.
21945 (smtpmail-try-auth-methods): Require user name and password from
21946 auth-source.
21947
21948 2011-06-22 Martin Rudalics <rudalics@gmx.at>
21949
21950 * window.el (display-buffer-default-specifiers)
21951 (display-buffer-alist): Remove entries for pop-up-frame-alist.
21952 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
21953 (split-window): Normalize SIDE argument (Bug#8916).
21954
21955 * frame.el (pop-up-frame-alist, pop-up-frame-function)
21956 (special-display-frame-alist, special-display-popup-frame):
21957 Remove duplicate declarations. These are now in window.el.
21958
21959 2011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
21960
21961 * mail/smtpmail.el (smtpmail-via-smtp):
21962 Set :use-starttls-if-possible so that we always use STARTTLS if the
21963 server supports it. SMTP servers that support STARTTLS commonly
21964 require it.
21965
21966 * net/network-stream.el (network-stream-open-starttls): Support
21967 upgrading to STARTTLS always, even if we don't have built-in support.
21968 (open-network-stream): Add the :always-query-capabilities keyword.
21969
21970 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
21971 upgrades with `open-network-stream', and rely solely on
21972 auth-source for all credentials. Big changes throughout the file,
21973 but in particular:
21974 (smtpmail-auth-credentials): Remove.
21975 (smtpmail-starttls-credentials): Remove.
21976 (smtpmail-via-smtp): Check for servers saying they want AUTH after
21977 MAIL FROM, too.
21978
21979 * net/network-stream.el (network-stream-open-starttls):
21980 Provide support for client certificates both for external and built-in
21981 STARTTLS.
21982 (auth-source): Require.
21983 (open-network-stream): Document the :client-certificate keyword.
21984 (network-stream-certificate): Change cert-cert to cert and
21985 cert-key to key.
21986
21987 2011-06-21 Michael Albinus <michael.albinus@gmx.de>
21988
21989 * net/tramp-cache.el (top): Don't load the persistency file when
21990 "emacs -Q" has been called.
21991
21992 2011-06-21 Tim Harper <timcharper@gmail.com>
21993
21994 * term/ns-win.el (ns-initialize-window-system):
21995 Set application-specific `ApplePressAndHoldEnabled' system
21996 resource to NO as it is not yet supported by the NS port.
21997
21998 2011-06-21 Juanma Barranquero <lekktu@gmail.com>
21999
22000 * misc.el (list-dynamic-libraries--refresh): Compute header here...
22001 (list-dynamic-libraries): ...not here.
22002
22003 2011-06-21 Leo Liu <sdl.web@gmail.com>
22004
22005 * subr.el (sha1): Implement sha1 using secure-hash.
22006
22007 2011-06-21 Martin Rudalics <rudalics@gmx.at>
22008
22009 * window.el (display-buffer-alist): In default value do not
22010 enforce searching a window on any but the selected frame.
22011 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
22012 (display-buffer-select-window): Remove function.
22013 (display-buffer-in-window): When a window on another frame gets
22014 reused, do not select it any more but just raise its frame if
22015 necessary (Bug#8851) and (Bug#8856).
22016 (display-buffer-normalize-options): Handle pop-up-frames related
22017 options more faithfully.
22018 (pop-to-buffer): Don't rely on `display-buffer' selecting the
22019 window if it is on another frame.
22020 (display-buffer-alist, display-buffer-default-specifiers):
22021 Don't make new frame unsplittable by default.
22022 (display-buffer-normalize-argument): Fix doc-string typo and use
22023 'same-frame-other-window instead of 'other-window when associating
22024 with display-buffer-macro-specifiers.
22025
22026 2011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
22027
22028 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
22029 New functions.
22030 (5x5-mode-map, 5x5-mode-menu): Bind them.
22031 (5x5-draw-grid): Tweak the solver's rendering.
22032
22033 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
22034
22035 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
22036 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
22037
22038 2011-06-21 Drew Adams <drew.adams@oracle.com>
22039
22040 * menu-bar.el: Use function variable instead of switch-to-buffer.
22041 (menu-bar-select-buffer-function): New variable.
22042 (menu-bar-update-buffers): Use it (bug#8876).
22043
22044 2011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
22045
22046 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
22047 variable's status.
22048
22049 2011-06-20 Jan Djärv <jan.h.d@swipnet.se>
22050
22051 * x-dnd.el (x-dnd-version-from-flags)
22052 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
22053 and long as number (Bug#8899).
22054 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
22055
22056 2011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
22057
22058 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
22059 (completion-try-completion, completion-all-completions): Compute the
22060 metadata argument if it's missing; make it optional (bug#8795).
22061
22062 * wid-edit.el: Use lex-bind and move towards completion-at-point.
22063 (widget-complete): Use new :completion-function property.
22064 (widget-completions-at-point): New function.
22065 (default): Use :completion-function instead of :complete.
22066 (widget-default-completions): Rename from widget-default-complete;
22067 Rewrite.
22068 (widget-string-complete, widget-file-complete, widget-color-complete):
22069 Remove functions.
22070 (file, symbol, function, variable, coding-system, color):
22071 * international/mule-cmds.el (default-input-method, charset)
22072 (language-info-custom-alist):
22073 * cus-edit.el (face): Use new property :completions.
22074
22075 * progmodes/pascal.el (pascal-completions-at-point): New function.
22076 (pascal-mode): Use it.
22077 (pascal-mode-map): Use completion-at-point.
22078 (pascal-toggle-completions): Make obsolete.
22079 (pascal-complete-word, pascal-show-completions):
22080 * progmodes/octave-mod.el (octave-complete-symbol):
22081 Redefine as obsolete alias.
22082 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
22083 Signal absence of completion info for old Octave,
22084 (inferior-octave-complete): Redefine as obsolete alias.
22085 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
22086 (meta-completions-at-point): Rename from meta-complete-symbol and
22087 adapt it for use on completion-at-point-functions.
22088 (meta-common-mode): Use it.
22089 (meta-looking-at-backward, meta-match-buffer): Remove.
22090 (meta-complete-symbol): Redefine as obsolete alias.
22091 (meta-common-mode-map): Use completion-at-point.
22092 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
22093 (makefile-mode-map): Use completion-at-point.
22094 (makefile-completions-at-point): Rename from makefile-complete and
22095 adapt it for use on completion-at-point-functions.
22096 (makefile-mode): Use it.
22097 (makefile-complete): Redefine as obsolete alias.
22098
22099 2011-06-20 Deniz Dogan <deniz@dogan.se>
22100
22101 * net/rcirc.el: Delete trailing whitespaces once and for all.
22102
22103 2011-06-20 Daniel Colascione <dan.colascione@gmail.com>
22104
22105 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
22106
22107 2011-06-19 Chong Yidong <cyd@stupidchicken.com>
22108
22109 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
22110
22111 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
22112
22113 2011-06-19 Martin Rudalics <rudalics@gmx.at>
22114
22115 * window.el (display-buffer-other-window-means-other-frame):
22116 Call display-buffer-normalize-alist.
22117 (display-buffer-normalize-specifiers-1): Rename to
22118 display-buffer-normalize-argument. New argument other-frame.
22119 Rewrite.
22120 (display-buffer-normalize-specifiers-2): Rename to
22121 display-buffer-normalize-options.
22122 (display-buffer-normalize-alist-1): New function.
22123 (display-buffer-normalize-specifiers-3): Rename to
22124 display-buffer-normalize-alist.
22125 Call display-buffer-normalize-alist-1.
22126 (display-buffer-normalize-options-inhibit): New variable.
22127 (display-buffer-normalize-specifiers): Rewrite calling
22128 display-buffer-normalize-alist,
22129 display-buffer-normalize-argument, and
22130 display-buffer-normalize-options. Don't call the latter if
22131 display-buffer-normalize-options-inhibit is non-nil.
22132 (frame-auto-delete): New option.
22133 (window-deletable-p): Use frame-auto-delete.
22134 (window-list-no-nils, window-state-ignored-parameters)
22135 (window-state-get-1, window-state-get, window-state-put-list)
22136 (window-state-put-1, window-state-put-2, window-state-put):
22137 New functions.
22138 (display-buffer-normalize-options): Move special-display-p group
22139 after pop-up-frame group (Bug#8851) and (Bug#8856).
22140
22141 2011-06-18 Chong Yidong <cyd@stupidchicken.com>
22142
22143 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
22144 groups (Bug#8776).
22145 (rx-submatch-n): New function.
22146 (rx): Document it.
22147
22148 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
22149 (Bug#8768).
22150
22151 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
22152
22153 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
22154
22155 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
22156 anytime existing face settings are present (Bug#8889).
22157
22158 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
22159 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
22160 Remove unused argument.
22161
22162 2011-06-18 Martin Rudalics <rudalics@gmx.at>
22163
22164 * window.el (display-buffer-default-specifiers):
22165 Remove pop-up-frame. Add pop-up-window-min-height,
22166 pop-up-window-min-width, and another reuse-window specifier
22167 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
22168 (display-buffer-normalize-specifiers-2):
22169 Handle split-height-threshold and split-width-threshold also when
22170 pop-up-windows is unset. Add a reuse-window specifier for the
22171 case popping up a new window fails.
22172 (special-display-popup-frame): Remove double quoting.
22173 (display-buffer-normalize-specifiers-1): Fix thinko.
22174
22175 2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
22176
22177 * shell.el (shell-completion-vars): Set pcomplete-termination-string
22178 according to comint-completion-addsuffix.
22179
22180 * pcomplete.el: Convert to lexical binding and fix bug#8819.
22181 (pcomplete-suffix-list): Mark as obsolete.
22182 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
22183 pcomplete-seen in the closure.
22184 (pcomplete-comint-setup): Setup completion-at-point as well.
22185 (pcomplete--entries): New function.
22186 (pcomplete--env-regexp): New var.
22187 (pcomplete-entries): Rewrite to work with partial-completion and
22188 without relying on pcomplete-suffix-list.
22189 (pcomplete-pare-list): Remove, unused.
22190
22191 2011-06-17 Martin Rudalics <rudalics@gmx.at>
22192
22193 * window.el (display-buffer-alist): Set pop-up-window-min-height
22194 and pop-up-window-min-width in default value. Reported by
22195 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
22196 other-window-means-other-frame.
22197 (display-buffer-macro-specifiers): Comment out entry for
22198 other-window specifier.
22199 (display-buffer-other-window-means-other-frame): New function.
22200 (display-buffer-normalize-specifiers-1): New arguments
22201 buffer-name and label. Treat other-window case specially.
22202 (display-buffer-normalize-specifiers-2): Treat other-window case
22203 specially.
22204 (display-buffer-normalize-specifiers-3): New function.
22205 (display-buffer-normalize-specifiers):
22206 Call display-buffer-normalize-specifiers-3.
22207
22208 2011-06-17 Martin Rudalics <rudalics@gmx.at>
22209
22210 * window.el (same-window-p): Fix two typos introduced when
22211 adding with-no-warnings.
22212 (display-buffer-normalize-specifiers-1): Don't check
22213 pop-up-frames for 'unset initialization.
22214 (display-buffer-normalize-specifiers-2): Major rewrite using
22215 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
22216 (pop-up-frames, display-buffer-reuse-frames)
22217 (display-buffer-mark-dedicated): Don't initialize to 'unset.
22218 Suggested by David Engster <deng@randomsample.de>.
22219 (even-window-heights): Initialize to 'unset.
22220 (display-buffer-alist-set): Handle new 'unset initializations.
22221 (display-buffer-macro-specifiers): Don't pop up a new frame in the
22222 other window case.
22223
22224 2011-06-16 Martin Rudalics <rudalics@gmx.at>
22225
22226 * window.el (display-buffer-normalize-specifiers-1):
22227 Respect current value of pop-up-frames for most reasonable values of
22228 second argument of display-buffer (Bug#8865).
22229 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
22230 (switch-to-buffer-other-window-same-frame)
22231 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
22232 Adams (Bug#8875).
22233 (display-buffer): Don't check noninteractive when calling
22234 display-buffer-pop-up-frame.
22235 (display-buffer-pop-up-frame): Never pop up a frame in
22236 noninteractive mode (Bug#8857).
22237 (enlarge-window, shrink-window): Don't report an error when the
22238 window can't be resized as requested (Bug#8862).
22239
22240 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
22241
22242 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
22243
22244 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
22245
22246 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
22247
22248 2011-06-15 Alan Mackenzie <acm@muc.de>
22249
22250 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
22251 for declarators, disable knr checking to speed up for normal files.
22252 2: Refactor, replacing a sequence of nested if forms by a cond form.
22253
22254 2011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
22255
22256 * net/network-stream.el (open-network-stream): Add the keyword
22257 :always-query-capabilities for the case where you want to force a
22258 `plain' network connection, but the protocol still requires the
22259 capabilitiy command (i.e., SMTP and EHLO).
22260
22261 * subr.el (process-live-p): Rename from `process-alive-p' for
22262 consistency with other `-live-p' functions.
22263
22264 2011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
22265
22266 * window.el (same-window-buffer-names, same-window-regexps)
22267 (special-display-frame-alist, special-display-popup-frame)
22268 (special-display-function, special-display-buffer-names)
22269 (special-display-regexps, pop-up-frame-alist)
22270 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
22271 (pop-up-windows, split-window-preferred-function)
22272 (split-height-threshold, split-width-threshold, even-window-heights)
22273 (display-buffer-mark-dedicated): Don't encourage the use of
22274 display-buffer-alist from Elisp code.
22275
22276 2011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
22277
22278 * progmodes/python.el (python-mode): Derive from prog-mode.
22279 * progmodes/ps-mode.el (ps-mode):
22280 * progmodes/mixal-mode.el (mixal-mode):
22281 * progmodes/cfengine.el (cfengine-mode):
22282 * progmodes/ld-script.el (ld-script-mode): Likewise.
22283
22284 2011-06-15 Martin Rudalics <rudalics@gmx.at>
22285
22286 * window.el (display-buffer-alist): Trim default value to avoid
22287 popping up a new frame (Bug#8857) or reusing an arbitrary window
22288 on another frame.
22289 (display-buffer): Do not fall back on popping up a new frame in
22290 batch mode (Bug#8857).
22291
22292 2011-06-14 Chong Yidong <cyd@stupidchicken.com>
22293
22294 * cus-theme.el (describe-theme-1): Use custom-theme-p.
22295 (custom-theme-summary): New function.
22296 (customize-themes): Use it.
22297
22298 2011-06-13 Glenn Morris <rgm@gnu.org>
22299
22300 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
22301
22302 2011-06-13 Martin Rudalics <rudalics@gmx.at>
22303
22304 * help.el (help-window): Remove variable.
22305 (help-window-point-marker, temp-buffer-max-height)
22306 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
22307 (help-print-return-message): Don't set help-window.
22308 (resize-temp-buffer-window): Rewrite cod eand doc-string.
22309 (help-window-setup-finish): Remove.
22310 (help-window-display-message, help-window-setup)
22311 (with-help-window): Major rewrite based on new
22312 display-buffer-window variable.
22313
22314 * help-mode.el (help-mode-finish): Remove help-window related
22315 code.
22316
22317 * view.el (view-exits-all-viewing-windows): Remove reference to
22318 view-return-to-alist in doc-string.
22319 (view-return-to-alist): Make obsolete.
22320 (view-buffer): Call pop-to-buffer-same-window and remove
22321 undo-window code.
22322 (view-buffer-other-window): Call pop-to-buffer-other-window and
22323 simplify code. Ignore second argument.
22324 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
22325 simplify code. Ignore second argument.
22326 (view-return-to-alist-update): Make obsolete.
22327 (view-mode-enter): Rename second argument to QUIT-RESTORE.
22328 Rewrite using quit-restore window parameters.
22329 (view-mode-exit): Rename second argument to EXIT-ONLY.
22330 Rewrite using quit-restore-window.
22331 (View-exit, View-exit-and-edit, View-leave, View-quit)
22332 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
22333 appropriate arguments.
22334 (view-end-message): Use quit-restore window parameter.
22335
22336 * window.el (display-buffer-function): Rewrite doc-string.
22337 (display-buffer-window, display-buffer-alist): New variables.
22338 (display-buffer-split-specifiers)
22339 (display-buffer-side-specifiers)
22340 (display-buffer-macro-specifiers): New constants.
22341 (display-buffer-even-window-sizes, display-buffer-set-height)
22342 (display-buffer-set-width, display-buffer-select-window)
22343 (display-buffer-in-window, display-buffer-reuse-window)
22344 (display-buffer-split-window-1, display-buffer-split-window)
22345 (display-buffer-split-atom-window, display-buffer-pop-up-window)
22346 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
22347 (display-buffer-in-side-window, normalize-buffer-to-display)
22348 (display-buffer-normalize-specifiers-1)
22349 (display-buffer-normalize-specifiers-2)
22350 (display-buffer-normalize-specifiers, display-buffer-frame):
22351 New functions.
22352 (display-buffer): Major rewrite.
22353 (display-buffer-other-window, display-buffer-other-frame)
22354 (pop-to-buffer, switch-to-buffer-other-window)
22355 (switch-to-buffer-other-frame): Rewrite.
22356 (display-buffer-same-window, display-buffer-same-frame)
22357 (display-buffer-same-frame-other-window)
22358 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
22359 (pop-to-buffer-other-window)
22360 (pop-to-buffer-same-frame-other-window)
22361 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
22362 (switch-to-buffer-other-window-same-frame): New functions.
22363 (same-window-p, special-display-p): Rewrite disabling warnings.
22364 Make obsolete.
22365 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
22366 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
22367 Make obsolete
22368 (same-window-buffer-names, same-window-regexps)
22369 (special-display-frame-alist, special-display-popup-frame)
22370 (special-display-function, special-display-buffer-names)
22371 (special-display-regexps, pop-up-frame-alist)
22372 (pop-up-frame-function, split-window-preferred-function)
22373 (split-height-threshold, split-width-threshold)
22374 (even-window-heights): Make obsolete.
22375
22376 2011-06-12 Glenn Morris <rgm@gnu.org>
22377
22378 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
22379 Misc simplifications.
22380
22381 2011-06-12 Martin Rudalics <rudalics@gmx.at>
22382
22383 * window.el (window-safely-shrinkable-p): Restore function which
22384 was inadvertently removed in change from 2011-06-11. Declare as
22385 obsolete.
22386
22387 * calendar/calendar.el (calendar-generate-window):
22388 Use window-iso-combined-p instead of combination of one-window-p and
22389 window-safely-shrinkable-p.
22390
22391 2011-06-12 Glenn Morris <rgm@gnu.org>
22392
22393 * progmodes/fortran.el (fortran-mode-syntax-table):
22394 * progmodes/f90.el (f90-mode-syntax-table):
22395 Set % to punctuation. (Bug#8820)
22396 (f90-find-tag-default): Remove, no longer needed.
22397
22398 2011-06-12 Daniel Colascione <dan.colascione@gmail.com>
22399
22400 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
22401
22402 2011-06-11 Chong Yidong <cyd@stupidchicken.com>
22403
22404 * image.el (image-animated-p): Return animation delay in seconds.
22405 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
22406 (image-animate-timeout): Remove DELAY argument. Don't assume
22407 every subimage has the same delay; get it from image-animated-p.
22408 (image-animate): Caller changed.
22409
22410 2011-06-11 Michael Albinus <michael.albinus@gmx.de>
22411
22412 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
22413 to ignored backtrace functions.
22414
22415 2011-06-11 Glenn Morris <rgm@gnu.org>
22416
22417 * calendar/appt.el (appt-disp-window-function): Doc fix.
22418 (appt-check): Handle overlapping appointments. (Bug#8337)
22419
22420 2011-06-11 Martin Rudalics <rudalics@gmx.at>
22421
22422 * window.el (window-tree-1, window-tree): New functions, moving
22423 the latter to window.el.
22424 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
22425 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
22426 (bw-refresh-edges): Remove.
22427 (balance-windows-1, balance-windows-2): New functions.
22428 (balance-windows): Rewrite in terms of window tree functions,
22429 balance-windows-1 and balance-windows-2.
22430 (bw-adjust-window): Remove.
22431 (balance-windows-area-adjust): New function with functionality of
22432 bw-adjust-window but using resize-window.
22433 (set-window-text-height): Rewrite doc-string.
22434 Use normalize-live-window and resize-window.
22435 (enlarge-window-horizontally, shrink-window-horizontally):
22436 Rename argument to DELTA.
22437 (window-buffer-height): New function.
22438 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
22439 Rewrite using new window resize routines.
22440 (kill-buffer-and-window, mouse-autoselect-window-select):
22441 Use ignore-errors instead of condition-case.
22442 (quit-window): Call delete-frame instead of delete-windows-on
22443 for the only buffer on frame.
22444
22445 2011-06-10 Martin Rudalics <rudalics@gmx.at>
22446
22447 * loadup.el (top-level): Load window before files for the sake
22448 of replace-buffer-in-windows.
22449
22450 * files.el (read-buffer-to-switch)
22451 (switch-to-buffer-other-window)
22452 (switch-to-buffer-other-frame, display-buffer-other-frame):
22453 Move to window.el.
22454
22455 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
22456 (previous-buffer): Move to window.el.
22457
22458 * bindings.el (unbury-buffer): Move to window.el.
22459
22460 * window.el (delete-other-windows-vertically): Move after
22461 definition of delete-other-windows.
22462 (other-window, delete-windows-on, replace-buffer-in-windows):
22463 Move here from window.c.
22464 (record-window-buffer, unrecord-window-buffer)
22465 (set-window-buffer-start-and-point, switch-to-prev-buffer)
22466 (switch-to-next-buffer): New functions.
22467 (get-next-valid-buffer, last-buffer, next-buffer): Move here
22468 from simple.el. Call switch-to-next-buffer.
22469 (previous-buffer): Move here from simple.el.
22470 Call switch-to-prev-buffer.
22471 (bury-buffer): Move here from buffer.c. Switch to previous
22472 buffer when window cannot be deleted.
22473 (unbury-buffer): Move here from bindings.el.
22474 (ctl-x-map): Move binding for other-window from window.c to
22475 here.
22476 (read-buffer-to-switch, switch-to-buffer-other-window)
22477 (switch-to-buffer-other-frame): Move here from files.el.
22478 (normalize-buffer-to-switch-to): New functions.
22479 (switch-to-buffer): Move here from buffer.c.
22480 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
22481
22482 2011-06-10 Martin Rudalics <rudalics@gmx.at>
22483
22484 * window.el (window-min-height, window-min-width): Move here
22485 from window.c. Add defcustoms and rewrite doc-strings.
22486 (resize-mini-window, resize-window): New functions.
22487 (adjust-window-trailing-edge, enlarge-window, shrink-window):
22488 Move here from window.c.
22489 (maximize-window, minimize-window): New functions.
22490 (delete-window, delete-other-windows, split-window): Move here
22491 from window.c.
22492 (window-split-min-size): New function.
22493 (split-window-keep-point): Mention split-window-above-each-other
22494 instead of split-window-vertically.
22495 (split-window-above-each-other, split-window-vertically):
22496 Rename split-window-vertically to split-window-above-each-other
22497 and provide defalias for old definition.
22498 (split-window-side-by-side, split-window-horizontally):
22499 Rename split-window-horizontally to split-window-side-by-side
22500 and provide defalias for the old definition.
22501 (ctl-x-map): Move bindings for delete-window,
22502 delete-other-windows and enlarge-window here from window.c.
22503 Replace bindings for split-window-vertically and
22504 split-window-horizontally by bindings for
22505 split-window-above-each-other and split-window-side-by-side.
22506
22507 * cus-start.el (all): Remove entries for window-min-height and
22508 window-min-width. Add entries for window-splits and
22509 window-nest.
22510
22511 2011-06-09 Glenn Morris <rgm@gnu.org>
22512
22513 * calendar/appt.el (appt-mode-line): New function.
22514 (appt-check, appt-disp-window): Use it.
22515
22516 * files.el (hack-one-local-variable-eval-safep):
22517 Allow minor-modes with explicit +/-1 arguments.
22518
22519 2011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
22520
22521 * term/xterm.el (xterm): Add defgroup.
22522 (xterm-extra-capabilities): Add defcustom to supply known xterm
22523 capabilities, skip querying them, or query them (default).
22524 (terminal-init-xterm): Use it.
22525 (terminal-init-xterm-modify-other-keys): New function to set up
22526 modifyOtherKeys support to simplify `terminal-init-xterm'.
22527
22528 2011-06-09 Martin Rudalics <rudalics@gmx.at>
22529
22530 * window.el (resize-window-reset, resize-window-reset-1)
22531 (resize-subwindows-skip-p, resize-subwindows-normal)
22532 (resize-subwindows, resize-other-windows, resize-this-window)
22533 (resize-root-window, resize-root-window-vertically)
22534 (window-deletable-p, window-or-subwindow-p)
22535 (frame-root-window-p): New functions.
22536
22537 2011-06-09 Glenn Morris <rgm@gnu.org>
22538
22539 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
22540 (ange-ftp-get-files): Use it.
22541
22542 2011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
22543
22544 * mail/sendmail.el (mail-recover-1, mail-recover):
22545 * files.el (recover-file, recover-session):
22546 Handle dired-listing-switches not being just a single short option.
22547
22548 2011-06-09 Glenn Morris <rgm@gnu.org>
22549
22550 * calendar/appt.el (appt-display-message, appt-disp-window):
22551 Handle lists of appointments.
22552
22553 2011-06-08 Martin Rudalics <rudalics@gmx.at>
22554
22555 * window.el (one-window-p): Move down in code.
22556 Rewrite doc-string.
22557 (window-current-scroll-bars): Rewrite doc-string.
22558 Normalize live window argument.
22559 (walk-windows, get-window-with-predicate, count-windows):
22560 Rewrite doc-string. Use window-list-1.
22561 (window-in-direction-2, window-in-direction, get-mru-window):
22562 New functions.
22563
22564 2011-06-08 Reuben Thomas <rrt@sc3d.org>
22565
22566 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
22567 Doc fix (Bug#8713).
22568
22569 2011-06-08 Chong Yidong <cyd@stupidchicken.com>
22570
22571 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
22572
22573 2011-06-08 Juanma Barranquero <lekktu@gmail.com>
22574
22575 * loadhist.el (unload-feature-special-hooks):
22576 Add `comint-output-filter-functions'.
22577
22578 2011-06-08 Ivan Kanis <gnu@kanis.fr>
22579
22580 * calendar/appt.el (appt-check): Move some initializations into the let.
22581
22582 2011-06-08 Martin Rudalics <rudalics@gmx.at>
22583
22584 * window.el (window-height): Defalias to window-total-height.
22585 (window-width): Defalias to window-body-width.
22586
22587 2011-06-07 Chong Yidong <cyd@stupidchicken.com>
22588
22589 * image-mode.el (image-toggle-animation): New command.
22590 (image-mode-map): Bind it to RET.
22591 (image-mode): Update message.
22592 (image-toggle-display-image): Avoid a spurious cache flush.
22593 (image-transform-rotation): Doc fix.
22594 (image-transform-properties): Return quickly in the normal case.
22595 (image-animate-loop): Rename from image-animate-max-time.
22596
22597 * image.el (image-animate-max-time): Move to image-mode.el.
22598 (create-animated-image): Remove unnecessary function.
22599 (image-animate): Rename from image-animate-start. New arg.
22600 (image-animate-stop): Remove; just use image-animate-timer.
22601 (image-animate-timer): Use car-safe.
22602 (image-animate-timeout): Rename argument.
22603
22604 2011-06-07 Martin Rudalics <rudalics@gmx.at>
22605
22606 * window.el (get-lru-window, get-largest-window): Move here from
22607 window.c. Rename first argument to ALL-FRAMES.
22608 Rephrase doc-strings.
22609 (get-buffer-window-list): Rewrite using window-list-1.
22610 Rephrase doc-string.
22611 (window-safe-min-height, window-safe-min-width): New constants.
22612 (window-size-ignore, window-min-size, window-min-size-1)
22613 (window-sizable, window-sizable-p, window-size-fixed-1)
22614 (window-size-fixed-p, window-min-delta-1, window-min-delta)
22615 (window-max-delta-1, window-max-delta, window-resizable)
22616 (window-resizable-p, window-total-height, window-total-width)
22617 (window-body-width): New functions.
22618 (window-full-height-p, window-full-width-p): Rewrite using
22619 window-total-size.
22620 (window-body-height): Rewrite using window-body-size.
22621
22622 2011-06-06 Martin Rudalics <rudalics@gmx.at>
22623
22624 * window.el (window-right, window-left, window-child)
22625 (window-child-count, window-last-child, window-any-p)
22626 (normalize-live-buffer, normalize-live-frame)
22627 (normalize-any-window, normalize-live-window)
22628 (window-iso-combination-p, window-iso-combined-p)
22629 (window-iso-combinations)
22630 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
22631 (windows-with-parameter, window-with-parameter)
22632 (window-atom-root, make-window-atom, window-atom-check-1)
22633 (window-atom-check, window-side-check, window-check):
22634 New functions.
22635 (ignore-window-parameters, window-sides, window-sides-vertical)
22636 (window-sides-slots): New variables.
22637 (window-size-fixed): Move down in code. Minor doc-string fix.
22638
22639 2011-06-05 Andreas Schwab <schwab@linux-m68k.org>
22640
22641 * comint.el (comint-dynamic-complete-as-filename)
22642 (comint-dynamic-complete-filename): Correctly call
22643 completion-in-region.
22644
22645 2011-06-05 Deniz Dogan <deniz@dogan.se>
22646
22647 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
22648 in last change.
22649
22650 2011-06-05 Deniz Dogan <deniz@dogan.se>
22651
22652 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
22653 (rcirc): Use it to prompt for encryption.
22654
22655 2011-06-05 Roland Winkler <winkler@gnu.org>
22656
22657 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
22658 (bibtex-search-entries): New command bound to C-c C-a.
22659 (bibtex-display-entries): New function.
22660
22661 2011-06-05 Roland Winkler <winkler@gnu.org>
22662
22663 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
22664 (bibtex-insert-kill): After yanking insert newline if necessary.
22665 (bibtex-initialize): Call bibtex-string-files-init only once.
22666 (bibtex-mode): Do not call easy-menu-add.
22667 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
22668 (bibtex-yank): Set arg properly if nil.
22669
22670 2011-06-05 Roland Winkler <winkler@gnu.org>
22671
22672 * textmodes/bibtex.el (bibtex-search-entry-globally):
22673 New variable.
22674 (bibtex-search-entry): Use it.
22675
22676 2011-06-05 Roland Winkler <winkler@gnu.org>
22677
22678 * textmodes/bibtex.el (bibtex-entry-format): New option
22679 sort-fields.
22680 (bibtex-format-entry, bibtex-reformat): Honor this option.
22681 (bibtex-parse-entry): Return fields in proper order.
22682
22683 2011-06-05 Juanma Barranquero <lekktu@gmail.com>
22684
22685 * doc-view.el (doc-view-remove-if): Move computation of result out
22686 of `dolist' to silence misleading lexical-binding warning.
22687
22688 2011-06-04 Chong Yidong <cyd@stupidchicken.com>
22689
22690 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
22691 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
22692
22693 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
22694
22695 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
22696 "SunOS 5.10".
22697
22698 2011-06-04 Michael Albinus <michael.albinus@gmx.de>
22699
22700 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
22701 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
22702 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
22703 (tramp-parse-putty):
22704 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
22705 (tramp-completion-function-alist-ssh)
22706 (tramp-completion-function-alist-telnet)
22707 (tramp-completion-function-alist-su)
22708 (tramp-completion-function-alist-putty): Set `tramp-autoload'
22709 cookie.
22710
22711 * net/tramp-ftp.el:
22712 * net/tramp-sh.el:
22713 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
22714 load "tramp.el" `tramp-set-completion-function'.
22715
22716 2011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
22717
22718 * shell.el: Require and use pcomplete.
22719 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
22720 (shell-completion-vars): Set pcomplete-default-completion-function.
22721
22722 2011-06-04 Deniz Dogan <deniz@dogan.se>
22723
22724 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
22725 `memq' (Bug#8799).
22726
22727 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
22728
22729 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
22730
22731 2011-06-02 Juanma Barranquero <lekktu@gmail.com>
22732
22733 * bs.el (bs--mark-unmark, bs--nth-wrapper):
22734 * mpc.el (mpc-select-extend, mpc-songpointer-context):
22735 * vc/log-view.el (log-view-beginning-of-defun):
22736 * vc/smerge-mode.el (smerge-apply-resolution-patch)
22737 (smerge-refine-forward, smerge-refine-chopup-region):
22738 Silence warning for unused `dotimes' counter variables.
22739
22740 2011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
22741
22742 * net/tramp.el (tramp-with-progress-reporter): Rename from
22743 with-progress-reporter. Use `declare'.
22744 * net/tramp-smb.el:
22745 * net/tramp-sh.el:
22746 * net/tramp-gvfs.el: Update all uses.
22747
22748 2011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
22749
22750 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
22751 buffer isn't killed before making it current.
22752
22753 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
22754
22755 Silence various byte-compiler warnings.
22756 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
22757 `access-type' and new obsolescence format.
22758 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
22759 new format.
22760 (byte-compile-check-variable): New `access-type' argument.
22761 Only warn if the access-type is obsolete.
22762 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
22763 (byte-compile-variable-set): Adjust callers.
22764 * help-fns.el (describe-variable): Adjust to new obsolescence format.
22765 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
22766 setting it as obsolete.
22767 * simple.el (minibuffer-completing-symbol):
22768 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
22769 access as obsolete.
22770 * minibuffer.el (minibuffer-completing-file-name): Don't make it
22771 obsolete yet.
22772 * international/quail.el (quail-mouse-choose-completion): Remove unused
22773 code referring to obsolete var.
22774 (quail-choose-completion-string): Remove.
22775 * server.el (server-clients-with, server-kill-buffer-query-function)
22776 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
22777 * proced.el (proced-send-signal):
22778 * emacs-lisp/lisp.el (lisp-complete-symbol):
22779 Replace completion-annotate-function with completion-extra-properties.
22780
22781 2011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
22782
22783 * simple.el (goto-line): Use read-number.
22784 (overriding-map-is-bound): Remove.
22785 (saved-overriding-map): Change default.
22786 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
22787 Take the map as argument.
22788 (universal-argument, negative-argument, digit-argument): Use it.
22789 (restore-overriding-map): Adjust.
22790 (do-auto-fill): Use fill-forward-paragraph.
22791 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
22792
22793 * minibuffer.el (minibuffer-inactive-mode-map): New var.
22794 (minibuffer-inactive-mode): New major mode.
22795 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
22796 the *Messages* buffer" hack.
22797 (mouse-popup-menubar): Don't burp if the event is a normal key.
22798
22799 Miscellaneous tweaks.
22800 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
22801 lexical scoping as in subr.el's dolist and dotimes.
22802 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
22803 Silence compiler warning.
22804 * thingatpt.el (forward-whitespace): Trivial coding style fix.
22805 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
22806 * international/ccl.el (ccl-compile): Trivial simplification.
22807 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
22808 * emacs-lisp/testcover.el (testcover-end): Remove spurious
22809 `printflag' argument.
22810 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
22811 Purecopy the whole obsolescence data.
22812
22813 2011-06-01 Leo Liu <sdl.web@gmail.com>
22814
22815 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
22816 improve doc-string as suggested by Marco Pessotto
22817 <melmothx@gmail.com>.
22818 (rcirc-print): Fix last change.
22819
22820 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
22821
22822 * minibuffer.el (complete-with-action): Return nil for the metadata and
22823 boundaries of non-functional tables.
22824 (completion-table-dynamic): Return nil for the metadata.
22825 (completion-table-with-terminator): Add default case, using
22826 complete-with-action.
22827 (completion--metadata): New function.
22828 (completion-all-sorted-completions, minibuffer-completion-help): Use it
22829 to try and avoid pathological performance problems.
22830 (completion--embedded-envvar-table): Return `category' metadata.
22831
22832 2011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
22833
22834 * subr.el (process-alive-p): New tiny convenience function.
22835
22836 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
22837
22838 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
22839 content but also its previous major mode.
22840
22841 2011-05-31 Helmut Eller <eller.helmut@gmail.com>
22842
22843 * emacs-lisp/debug.el (debug): Restore the previous content of the
22844 *Backtrace* buffer when we exit with C-M-c.
22845
22846 2011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
22847
22848 * minibuffer.el: Add metadata method to completion tables.
22849 (completion-category-overrides): New defcustom.
22850 (completion-metadata, completion--field-metadata)
22851 (completion-metadata-get, completion--styles)
22852 (completion--cycle-threshold): New functions.
22853 (completion-try-completion, completion-all-completions):
22854 Add `metadata' argument to choose completion-styles.
22855 (completion--do-completion): Use metadata to choose cycling.
22856 (completion-all-sorted-completions): Use metadata for sorting.
22857 Remove :completion-cycle-penalty which is not needed any more.
22858 (completion--try-word-completion): Add `metadata' argument.
22859 (minibuffer-completion-help): Check metadata for annotation function
22860 and sorting.
22861 (completion-file-name-table): Return `category' metadata.
22862 (minibuffer-completing-file-name): Make obsolete.
22863 * simple.el (minibuffer-completing-symbol): Make obsolete.
22864 * icomplete.el (icomplete-completions): Pass new `metadata' param to
22865 completion-try-completion.
22866
22867 2011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
22868
22869 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
22870
22871 2011-05-30 Leo Liu <sdl.web@gmail.com>
22872
22873 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
22874 (rcirc-print): Decode all incoming messages (bug#8744).
22875 (rcirc-decode-coding-system): Allow value nil for automatic coding
22876 system detection.
22877
22878 2011-06-01 Glenn Morris <rgm@gnu.org>
22879
22880 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
22881
22882 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
22883
22884 * image.el (image-animate-max-time): Allow nil and t values.
22885 Default to nil.
22886 (create-animated-image): Doc fix.
22887 (image-animate-start): Remove second arg; just use
22888 image-animate-max-time.
22889 (image-animate-timeout): Doc fix. Args changed.
22890
22891 * image-mode.el (image-toggle-display-image): Ensure that the
22892 image spec passed to the animate timer is the same object as in
22893 the buffer's display property (Bug#6981).
22894 (image-transform-properties): Doc fix.
22895
22896 * image.el (image-animate-max-time): Default to nil.
22897
22898 2011-05-29 Martin Rudalics <rudalics@gmx.at>
22899
22900 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
22901 entire buffer list (Bug#8184).
22902
22903 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
22904
22905 * image.el (imagemagick-types-inhibit)
22906 (imagemagick-register-types): Doc fix.
22907
22908 2011-05-29 Deniz Dogan <deniz@dogan.se>
22909
22910 * net/rcirc.el (rcirc): Use the user's stored encryption method by
22911 default.
22912
22913 2011-05-29 Chong Yidong <cyd@stupidchicken.com>
22914
22915 * select.el: Don't perform clipboard-manager saving in hooks;
22916 leave the hooks empty.
22917
22918 2011-05-28 Leo Liu <sdl.web@gmail.com>
22919
22920 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
22921 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
22922 (occur-edit-mode): New major mode (Bug#8463).
22923 (occur-after-change-function): New function.
22924 (occur-engine): Give Occur tags a read-only property.
22925
22926 2011-05-28 Kevin Ryde <user42@zip.com.au>
22927
22928 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
22929
22930 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
22931
22932 * bindings.el (help-echo): Make the initial non-indicator dash
22933 empty on graphical terminals (Bug#7295).
22934
22935 * files.el (auto-mode-alist): Move config rule after the
22936 in-stripping one (Bug#8547).
22937
22938 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
22939
22940 * startup.el (normal-splash-screen): Remove gratuitous mode-line
22941 setting (Bug#8740).
22942
22943 2011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
22944
22945 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
22946 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
22947 (Bug#8539).
22948
22949 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
22950
22951 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
22952
22953 2011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
22954
22955 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
22956 (hs-hide-block-at-point, hs-find-block-beginning)
22957 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
22958 (Bug#8279).
22959
22960 2011-05-28 Glenn Morris <rgm@gnu.org>
22961
22962 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
22963
22964 2011-05-28 Chong Yidong <cyd@stupidchicken.com>
22965
22966 * help-fns.el (describe-function-1): If the function is a derived
22967 major mode, print the parent mode.
22968
22969 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
22970 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
22971
22972 2011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
22973
22974 * minibuffer.el (completion--capf-wrapper): Check applicability before
22975 returning non-nil for non-exclusive completion data.
22976 * progmodes/etags.el (tags-completion-at-point-function):
22977 * info-look.el (info-lookup-completions-at-point): Mark as
22978 non-exclusive.
22979 (info-complete): Adjust accordingly.
22980
22981 * info-look.el: Convert to lexical-binding and completion-at-point.
22982 (info-lookup-completions-at-point): New function.
22983 (info-complete): Use it and completion-in-region.
22984
22985 2011-05-28 Drew Adams <drew.adams@oracle.com>
22986
22987 * isearch.el: Let M-e start with point at the first mismatched char.
22988 (isearch-fail-pos): New function.
22989 (isearch-edit-string): Use it.
22990
22991 2011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
22992
22993 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
22994
22995 2011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
22996
22997 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
22998 traversal functions for avl-trees.
22999 (avl-tree--stack): New struct.
23000 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
23001 (avl-tree-enter): Add optional `updatefun' arg.
23002 (avl-tree--do-enter): Add optional `updatefun' arg.
23003 Change return value.
23004 (avl-tree-delete): Add optional `test' and `nilflag' args.
23005 (avl-tree--do-delete): Add `test' and `nilflag' args.
23006 Change return value.
23007 (avl-tree-member): Add optional `nilflag'
23008 (avl-tree-member-p): New function.
23009 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
23010 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
23011 (avl-tree-stack-empty-p): New functions.
23012
23013 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
23014 avl-tree--del-balance1 and make it work both ways.
23015 (avl-tree--del-balance2): Remove.
23016 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
23017 make it work both ways.
23018 (avl-tree--enter-balance2): Remove.
23019 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
23020 New macros.
23021 (avl-tree--mapc, avl-tree-map): Add direction argument.
23022
23023 2011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
23024
23025 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
23026
23027 2011-05-27 Chong Yidong <cyd@stupidchicken.com>
23028
23029 * select.el: Support clipboard managers with built-in function
23030 x-clipboard-manager-save, via delete-frame-functions and
23031 kill-emacs-hook.
23032 (xselect-convert-to-targets): Add MULTIPLE target to list.
23033 (xselect-convert-to-save-targets): New function.
23034
23035 2011-05-27 Kenichi Handa <handa@m17n.org>
23036
23037 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
23038 let-binding rfc2047-encode-encoded-words to nil.
23039
23040 2011-05-27 Glenn Morris <rgm@gnu.org>
23041
23042 * mail/emacsbug.el: Don't require url-util.
23043
23044 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
23045
23046 * files.el (set-auto-mode):
23047 Also respect mode: entries at the end of the file. (Bug#8586)
23048
23049 2011-05-26 Glenn Morris <rgm@gnu.org>
23050
23051 * files.el (hack-local-variables-prop-line, hack-local-variables):
23052 Downcase mode names, as seems to be traditional.
23053 (hack-local-variables, hack-local-variables-apply): Doc fixes.
23054
23055 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
23056 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
23057
23058 2011-05-25 Julien Danjou <julien@danjou.info>
23059
23060 * textmodes/rst.el (rst-define-level-faces): Do not define face
23061 symbol if it is already defined.
23062
23063 2011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
23064
23065 * play/5x5.el (5x5-new-game, 5x5-randomize):
23066 Reset 5x5-solver-output to nil when a new grid is cast.
23067 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
23068 these debugging traces, as defmacro breaks the compiled code.
23069
23070 2011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
23071
23072 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
23073
23074 2011-05-24 Leo Liu <sdl.web@gmail.com>
23075
23076 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
23077 (vc-bzr-sha1): Adapt.
23078
23079 * sha1.el: Remove. Function `sha1' is now builtin.
23080
23081 * bindings.el: Provide sha1 feature.
23082
23083 2011-05-24 Kenichi Handa <handa@m17n.org>
23084
23085 * mail/sendmail.el: Require `rfc2047'.
23086 (mail-insert-from-field): Do not perform RFC2047 encoding.
23087 (mail-encode-header): New function.
23088 (sendmail-send-it): Set buffer-file-coding-system of the work
23089 buffer to the return value of select-message-coding-system.
23090 Call mail-encode-header.
23091
23092 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
23093
23094 2011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
23095
23096 * mail/supercite.el (sc-default-cite-frame):
23097 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
23098
23099 2011-05-24 Glenn Morris <rgm@gnu.org>
23100
23101 * progmodes/python.el (brm-menu): Declare.
23102
23103 * emulation/viper.el (viper-set-hooks): Declare.
23104
23105 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
23106 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
23107 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
23108 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
23109 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
23110 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
23111
23112 2011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
23113
23114 Add an :exit-function for completion-at-point.
23115
23116 * minibuffer.el (completion--done): New fun.
23117 (completion--do-completion): Use it. New arg `expect-exact'.
23118 (minibuffer-complete, minibuffer-complete-word): Don't output message,
23119 since completion--do-completion does it for us now.
23120 (minibuffer-force-complete): Use completion--done and
23121 completion--replace. Handle sole-completion case with more care.
23122 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
23123 (completion-extra-properties): New var.
23124 (completion-annotate-function): Make obsolete.
23125 (minibuffer-completion-help): Adjust accordingly.
23126 Use completion-list-insert-choice-function.
23127 (completion-at-point, completion-help-at-point):
23128 Bind completion-extra-properties.
23129 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
23130 * simple.el (completion-list-insert-choice-function): New var.
23131 (completion-setup-function): Preserve it.
23132 (choose-completion): Pay attention to it, shuffle the code a bit.
23133 (choose-completion-string): New arg `insert-function'.
23134
23135 * textmodes/bibtex.el: Convert to lexical binding.
23136 (bibtex-mode-map): Use completion-at-point.
23137 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
23138 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
23139 (bibtex-complete): Define as obsolete alias.
23140 (bibtex-complete-internal): Remove.
23141 (bibtex-format-entry): Remove unused sub-group in regexp.
23142 * shell.el (shell--command-completion-data)
23143 (shell-environment-variable-completion):
23144 * pcomplete.el (pcomplete-completions-at-point):
23145 * comint.el (comint--complete-file-name-data): Use :exit-function
23146 instead of completion-table-with-terminator so it also works for
23147 choose-completion.
23148
23149 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
23150
23151 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
23152
23153 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
23154 (bug#8710).
23155
23156 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
23157
23158 2011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
23159
23160 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
23161 customization variable and implement: If non-nil, auto-fill will
23162 be inhibited while on topic's header line.
23163
23164 2011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
23165
23166 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
23167 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
23168 always have a solution in grid size = 5 cases.
23169 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
23170 (5x5-solver-output, 5x5-log-buffer): New vars.
23171 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
23172 Make these variables buffer local to achieve 5x5 multi-session-ness.
23173 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
23174 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
23175 (5x5-solve-suggest): New funs.
23176 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
23177 randomize a grid so that we ensure that there is always a solution.
23178 (5x5-make-random-grid): Allow other movement than flipping.
23179
23180 2011-05-23 Kevin Ryde <user42@zip.com.au>
23181
23182 * emacs-lisp/advice.el (ad-read-advised-function):
23183 Use `function-called-at-point' as the default, if it has
23184 advice and passes PREDICATE.
23185
23186 2011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
23187
23188 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
23189 byte-compile-lambda if it's actually a lambda.
23190
23191 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
23192 Fix function quoting. Use backquote better.
23193
23194 2011-05-22 Yuanle Song <sylecn@gmail.com>
23195
23196 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
23197 matching (Bug#8516).
23198
23199 2011-05-22 Jari Aalto <jari.aalto@cante.net>
23200
23201 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
23202 different face (Bug#8178).
23203
23204 2011-05-22 Chong Yidong <cyd@stupidchicken.com>
23205
23206 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
23207 defface (Bug#8144).
23208
23209 2011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
23210
23211 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
23212 funcall as well (bug#8712). Warn when performing those conversions.
23213 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
23214
23215 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
23216
23217 2011-05-22 Glenn Morris <rgm@gnu.org>
23218
23219 * files.el (hack-local-variables-prop-line): Small simplifications.
23220 (hack-local-variables, hack-local-variables-prop-line):
23221 If MODE-ONLY, return the mode, rather than just `t'.
23222
23223 2011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
23224
23225 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
23226
23227 2011-05-21 Glenn Morris <rgm@gnu.org>
23228
23229 * files.el (hack-local-variables-prop-line, hack-local-variables):
23230 If only interested in the mode, don't bother doing the other stuff.
23231
23232 * image-mode.el (image-after-revert-hook):
23233 Redraw all frames on which the image is visible. (Bug#8567)
23234
23235 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
23236
23237 * wid-edit.el (widget-checklist-match-inline):
23238 Fix 2011-04-19 change. (Bug#8649)
23239
23240 2011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
23241
23242 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
23243 Also allow singlespace after single-letter capitals followed by a dot.
23244
23245 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
23246 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
23247
23248 2011-05-20 Nix <nix@esperi.org.uk>
23249
23250 * files.el (basic-save-buffer-2):
23251 Fix handling of break-hardlink-on-save with non-existent files.
23252
23253 2011-05-19 Deniz Dogan <deniz@dogan.se>
23254
23255 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
23256 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
23257
23258 2011-05-19 Glenn Morris <rgm@gnu.org>
23259
23260 * progmodes/f90.el (f90-type-def-re):
23261 Handle "type, bind(c)". (Bug#8691)
23262
23263 * emacs-lisp/autoload.el (batch-update-autoloads):
23264 Set autoload-excludes by parsing loadup.el rather than Makefiles.
23265
23266 2011-05-18 Michael Albinus <michael.albinus@gmx.de>
23267
23268 * net/tramp.el (tramp-process-actions): Set "first-password-request"
23269 property for the correct connection in case of multihops.
23270
23271 2011-05-18 Glenn Morris <rgm@gnu.org>
23272
23273 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
23274 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
23275
23276 Rationalize calendar handling of day and month abbrev-arrays.
23277 * calendar/calendar.el (calendar-customized-p): New function.
23278 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
23279 (calendar-day-name-array, calendar-month-name-array): Doc fix.
23280 Add :set function.
23281 (calendar-abbrev-length, calendar-day-abbrev-array)
23282 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
23283 (calendar-day-abbrev-array, calendar-month-abbrev-array):
23284 Elements may no longer be nil.
23285 (calendar-day-name, calendar-month-name):
23286 Update for changed nature of abbrev arrays.
23287 * calendar/diary-lib.el (diary-name-pattern):
23288 Update for changed nature of abbrev arrays.
23289 (diary-mark-entries-1): Update calendar-make-alist calls.
23290 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
23291 * calendar/cal-html.el (cal-html-day-abbrev-array):
23292 Simply inherit from calendar-day-abbrev-array.
23293
23294 2011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
23295
23296 * progmodes/grep.el (grep-mode): Disable default
23297 compilation-directory-matcher setting (bug#8684).
23298
23299 2011-05-17 Michael Albinus <michael.albinus@gmx.de>
23300
23301 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
23302 instead of "head" and "tail". There were problems with SunOS 5.9,
23303 and it performs better.
23304
23305 2011-05-17 Glenn Morris <rgm@gnu.org>
23306
23307 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
23308
23309 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
23310 Replace obsolete function.
23311
23312 * shell.el (pcomplete-parse-arguments-function): Declare.
23313
23314 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
23315 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
23316 (appt-check): Doc fixes.
23317 (appt-disp-window-function, appt-delete-window-function):
23318 Remove needless special case in custom :type.
23319 (appt-display-count): Default to 0, not nil.
23320 (appt-check): Reset appt-display-count to 0, not nil.
23321
23322 2011-05-17 Juanma Barranquero <lekktu@gmail.com>
23323
23324 * progmodes/python.el (python-font-lock-keywords):
23325 Add the Python 3.X keyword "nonlocal" (bug#8639).
23326
23327 2011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
23328
23329 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
23330
23331 2011-05-16 Kevin Ryde <user42@zip.com.au>
23332
23333 * info-look.el (makefile-automake-mode): New setups, looking in
23334 automake manual, then makefile-mode.
23335 (makefile-mode): Remove automake manual, have it just in
23336 makefile-automake-mode since there's various things different or
23337 not relevant to plain make.
23338 (makefile-mode): Remove "other-modes" non-existent automake-mode,
23339 believe a hypothetical automake-mode would go to makefile-mode,
23340 not the other way around.
23341
23342 2011-05-15 Chong Yidong <cyd@stupidchicken.com>
23343
23344 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
23345 hunk-end tags (Bug#8672).
23346
23347 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
23348 vc-annotate-show-diff-revision-at-line (Bug#8671).
23349
23350 2011-05-14 Glenn Morris <rgm@gnu.org>
23351
23352 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
23353 in the middle of an existing one with multiple authors. (Bug#8645)
23354 (change-log-font-lock-keywords): Also handle multiple author lines
23355 with leading tabs. (Bug#8644)
23356
23357 * calendar/appt.el (appt-check): Rename some local variables.
23358 Some simplification/reordering.
23359
23360 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
23361 (feedmail-sendmail-f-doesnt-sell-me-out)
23362 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
23363 (feedmail-debug-sit-for, feedmail-queue-express-hook)
23364 (feedmail-queue-runner-message-sender): Set :version.
23365 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
23366 (bbdb-dwim-net-address, vm-mail): Declare.
23367 (feedmail-binmail-gnulinuxish-template):
23368 Rename from feedmail-binmail-linuxish-template.
23369 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
23370 Use insert-buffer-substring.
23371
23372 2011-05-14 Bill Carpenter <bill@carpenter.org>
23373
23374 * mail/feedmail.el (feedmail-patch-level): Increase.
23375 (feedmail-debug): New custom group.
23376 (feedmail-confirm-outgoing-timeout)
23377 (feedmail-sendmail-f-doesnt-sell-me-out)
23378 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
23379 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
23380 (feedmail-sender-line, feedmail-from-line)
23381 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
23382 (feedmail-spray-this-address)
23383 (feedmail-spray-address-fiddle-plex-list)
23384 (feedmail-queue-use-send-time-for-date)
23385 (feedmail-queue-use-send-time-for-message-id)
23386 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
23387 (feedmail-buffer-eating-function):
23388 Doc fixes.
23389 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
23390 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
23391 (feedmail-message-action-scroll-down): New functions.
23392 (feedmail-queue-directory, feedmail-queue-draft-directory):
23393 Use expand-file-name.
23394 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
23395 Remove C-v help entry.
23396 (feedmail-queue-buffer-file-name): New variable.
23397 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
23398 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
23399 (feedmail-message-action-send-strong, feedmail-message-action-edit)
23400 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
23401 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
23402 (feedmail-message-action-toggle-spray)
23403 (feedmail-run-the-queue-no-prompts)
23404 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
23405 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
23406 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
23407 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
23408 (feedmail-envelope-deducer, feedmail-fiddle-from)
23409 (feedmail-fiddle-sender, feedmail-default-date-generator)
23410 (feedmail-fiddle-date, feedmail-fiddle-message-id)
23411 (feedmail-fiddle-spray-address)
23412 (feedmail-fiddle-list-of-spray-fiddle-plexes)
23413 (feedmail-fiddle-list-of-fiddle-plexes)
23414 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
23415 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
23416 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
23417 Change default. Doc fix.
23418 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
23419 (feedmail-binmail-linuxish-template): New constant.
23420 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
23421 Respect feedmail-sendmail-f-doesnt-sell-me-out.
23422 (feedmail-send-it): Add debug call.
23423 Use feedmail-queue-buffer-file-name, and
23424 feedmail-send-it-immediately-wrapper.
23425 (feedmail-message-action-send): Add debug call.
23426 Use feedmail-send-it-immediately-wrapper.
23427 (feedmail-queue-express-to-queue): Add debug call.
23428 Run feedmail-queue-express-hook.
23429 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
23430 (feedmail-message-action-help-blat):
23431 Rename from feedmail-queue-send-edit-prompt-help-first.
23432 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
23433 Check line-endings. Handle errors better.
23434 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
23435 Doc fix. Add debug call.
23436 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
23437 Use feedmail-queue-send-edit-prompt-inner.
23438 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
23439 (feedmail-queue-send-edit-prompt-inner): New function, extracted
23440 from feedmail-queue-send-edit-prompt.
23441 (feedmail-queue-send-edit-prompt-help)
23442 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
23443 (feedmail-tidy-up-slug): Add debug call.
23444 Respect feedmail-queue-slug-suspect-regexp.
23445 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
23446 (feedmail-dump-message-to-queue): Add debug call.
23447 Expand queue-directory.
23448 (feedmail-dump-message-to-queue): Change message slightly.
23449 Use feedmail-say-chatter.
23450 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
23451 (feedmail-send-it-immediately-wrapper): New function.
23452 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
23453 Insert empty string rather than newline. Handle full-frame case.
23454 Use catch/throw. Use feedmail-say-chatter.
23455 (feedmail-fiddle-from): Try mail-host-address.
23456 (feedmail-default-message-id-generator): Doc fix.
23457 Bind system-time-locale. Handle missing end.
23458 (feedmail-fiddle-x-mailer): Add debug call.
23459 Handle feedmail-x-mailer-line being nil.
23460 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
23461 Add debug call. Use buffer-substring-no-properties.
23462 (feedmail-say-debug, feedmail-say-chatter): New functions.
23463 (feedmail-find-eoh): Give an explicit error.
23464
23465 2011-05-13 Ulf Jasper <ulf.jasper@web.de>
23466
23467 * net/newst-treeview.el (newsticker-treeview-face): Change default
23468 family from helvetica to sans.
23469 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
23470 etc/images/newsticker.
23471
23472 * net/newst-reader.el (newsticker-feed-face): Change default
23473 family from helvetica to sans.
23474
23475 * net/newst-plainview.el (newsticker-new-item-face)
23476 (newsticker-old-item-face, newsticker-immortal-item-face)
23477 (newsticker-obsolete-item-face, newsticker-date-face)
23478 (newsticker-statistics-face): Change default family from
23479 helvetica to sans.
23480 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
23481 etc/images/newsticker.
23482
23483 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
23484 (newsticker--process-auto-mark-filter-match): Tell user about
23485 auto-marking.
23486
23487 2011-05-13 Didier Verna <didier@xemacs.org>
23488
23489 Common Lisp indentation improvements on defmethod and lambda-lists.
23490 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
23491 TODO entries.
23492 (lisp-lambda-list-keyword-parameter-indentation)
23493 (lisp-lambda-list-keyword-parameter-alignment)
23494 (lisp-lambda-list-keyword-alignment): New customizable user options.
23495 (lisp-indent-defun-method): Improve docstring.
23496 (extended-loop-p): Fix comment.
23497 (lisp-indent-lambda-list-keywords-regexp): New variable.
23498 (lisp-indent-lambda-list): New function.
23499 (lisp-indent-259): Use it.
23500 (lisp-indent-defmethod): Support for more than one
23501 method qualifier and properly indent methods lambda-lists.
23502 (defgeneric): Provide a missing common-lisp-indent-function property.
23503
23504 2011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
23505
23506 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
23507 bounds for the empty string (bug#8667).
23508
23509 2011-05-13 Glenn Morris <rgm@gnu.org>
23510
23511 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
23512
23513 * mail/sendmail.el (sendmail-program): Try executable-find first.
23514 (sendmail-send-it): `sendmail-program' cannot be unbound.
23515
23516 * calendar/appt.el (appt-make-list): Simplify.
23517 (appt-time-msg-list): Doc fix.
23518 (appt-check): Change mode-line message at the time of the appointment.
23519
23520 2011-05-12 Andreas Schwab <schwab@linux-m68k.org>
23521
23522 * progmodes/ld-script.el (ld-script-keywords)
23523 (ld-script-builtins): Update keywords list.
23524
23525 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
23526
23527 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
23528
23529 * shell.el (shell-completion-vars): New function.
23530 (shell-mode):
23531 * simple.el (read-shell-command): Use it.
23532 (blink-matching-open): No need for " [...]" in minibuffer-message.
23533
23534 2011-05-12 Glenn Morris <rgm@gnu.org>
23535
23536 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
23537 (appt-check): Simplify.
23538
23539 2011-05-12 Eli Zaretskii <eliz@gnu.org>
23540
23541 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
23542 literal "/dev/null".
23543
23544 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
23545
23546 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
23547 Fix typo.
23548
23549 2011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
23550
23551 * progmodes/which-func.el (which-function):
23552 Use add-log-current-defun instead of add-log-current-defun-function,
23553 which might not be defined (Bug#8260).
23554
23555 2011-05-12 Glenn Morris <rgm@gnu.org>
23556
23557 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
23558 Let byte-compile-initial-macro-environment always take precedence.
23559
23560 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
23561
23562 * net/rcirc.el: Add support for SSL/TLS connections.
23563 (rcirc-server-alist): New field `encryption'.
23564 (rcirc): Check `encryption' settings.
23565 (rcirc-connect): New arg `encryption'. Use open-network-stream.
23566 Merge make-local-variable into `set'.
23567 (rcirc--connection-open-p): New function.
23568 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
23569 the process is not a network process (e.g. running gnutls-cli).
23570 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
23571 Make rcirc-(en|de)code-coding-system local here.
23572 (rcirc-mode): Merge make-local-variable into `set'.
23573 (rcirc-parent-buffer): Make permanent buffer-local.
23574 (rcirc-multiline-minor-mode): Don't do it here.
23575 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
23576 there's no server buffer.
23577
23578 2011-05-11 Glenn Morris <rgm@gnu.org>
23579
23580 * newcomment.el (comment-kill): Prefix "unused" local.
23581
23582 * term/w32console.el (get-screen-color): Declare.
23583
23584 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
23585 Handle symbol elements of byte-compile-initial-macro-environment.
23586
23587 2011-05-10 Leo Liu <sdl.web@gmail.com>
23588
23589 * bookmark.el (bookmark-bmenu-mode-map):
23590 Bind bookmark-bmenu-search to `/'.
23591
23592 * mail/footnote.el: Convert to utf-8 encoding.
23593 (footnote-unicode-string, footnote-unicode-regexp): New variable.
23594 (Footnote-unicode): New function.
23595 (footnote-style-alist): Add unicode style to the list.
23596 (footnote-style): Doc fix.
23597
23598 2011-05-10 Jim Meyering <meyering@redhat.com>
23599
23600 Fix doubled-word typos.
23601 * international/quail.el (quail-insert-kbd-layout): and and -> and
23602 * kermit.el: and and -> and
23603 * net/ldap.el (ldap-search-internal): to to -> to
23604 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
23605 * progmodes/js.el (js-mode): and and -> and
23606 * textmodes/artist.el (artist-move-to-xy): at at -> at
23607 (artist-draw-region-trim-line-endings): if if -> if
23608 And Safetyc -> Safety.
23609 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
23610
23611 2011-05-10 Glenn Morris <rgm@gnu.org>
23612 Stefan Monnier <monnier@iro.umontreal.ca>
23613
23614 * files.el (hack-one-local-variable-eval-safep):
23615 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
23616
23617 2011-05-10 Glenn Morris <rgm@gnu.org>
23618
23619 * calendar/diary-lib.el (diary-list-entries-hook)
23620 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
23621 (diary-nongregorian-marking-hook, diary-list-entries)
23622 (diary-include-other-diary-files, diary-mark-entries)
23623 (diary-mark-included-diary-files): Doc fixes.
23624
23625 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
23626
23627 * misc.el: Require tabulated-list.el during compilation.
23628
23629 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
23630
23631 * progmodes/compile.el (compilation-start):
23632 Run compilation-filter-hook for the async case too.
23633 (compilation-filter-hook): Doc fix.
23634
23635 2011-05-09 Deniz Dogan <deniz@dogan.se>
23636
23637 * wdired.el: Remove outdated installation comment. Fix usage
23638 comment.
23639
23640 2011-05-09 Juanma Barranquero <lekktu@gmail.com>
23641
23642 * misc.el: Implement new command `list-dynamic-libraries'.
23643 (list-dynamic-libraries--loaded-only-p): New variable.
23644 (list-dynamic-libraries--refresh): New function.
23645 (list-dynamic-libraries): New command.
23646
23647 2011-05-09 Chong Yidong <cyd@stupidchicken.com>
23648
23649 * progmodes/compile.el (compilation-error-regexp-alist-alist):
23650 Fix the ant regexp to handle end-line and end-column info from jikes.
23651 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
23652 higher priority to avoid clobbering by gnu.
23653
23654 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
23655
23656 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
23657 if the face has existing theme settings (Bug#8454).
23658
23659 2011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
23660
23661 * progmodes/perl-mode.el (perl-imenu-generic-expression):
23662 Only match variables declared via `my' or `our' (Bug#8261).
23663
23664 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
23665 special file names `.' and `..' (Bug#8259).
23666
23667 2011-05-08 Chong Yidong <cyd@stupidchicken.com>
23668
23669 * progmodes/grep.el (grep-mode-font-lock-keywords):
23670 Remove buffer-changing entries.
23671 (grep-filter): New function.
23672 (grep-mode): Add it to compilation-filter-hook.
23673
23674 * progmodes/compile.el (compilation-filter-hook)
23675 (compilation-filter-start): New defvars.
23676 (compilation-filter): Call compilation-filter-hook prior to
23677 updating the process mark.
23678
23679 2011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
23680
23681 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
23682
23683 2011-05-07 Eli Zaretskii <eliz@gnu.org>
23684
23685 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
23686 mailclient-send-it even if window-system is nil. (Bug#8595)
23687
23688 * term/w32console.el (terminal-init-w32console):
23689 Call get-screen-color and use its output to set the frame
23690 background-mode. (Bug#8597)
23691
23692 2011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
23693
23694 Make bytecomp.el understand that defmethod defines funs (bug#8631).
23695 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
23696 New functions.
23697 (defgeneric, eieio--defmethod): Use them.
23698 (eieio-defgeneric): Remove.
23699 (defmethod): Call defgeneric in a way visible to the byte-compiler.
23700
23701 2011-05-07 Glenn Morris <rgm@gnu.org>
23702
23703 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
23704 Use let rather than let*.
23705 (timeclock-find-discrep): Remove unused local.
23706
23707 * calendar/diary-lib.el (diary-comment-start): Doc fix.
23708
23709 * calendar/appt.el (appt-time-msg-list): Doc fix.
23710
23711 2011-05-06 Noah Friedman <friedman@splode.com>
23712
23713 * apropos.el (apropos-print-doc): Only use
23714 emacs-lisp-docstring-fill-column when it is bound to an integer,
23715 per that variable's documentation.
23716
23717 2011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
23718
23719 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
23720 and warnings are not silently discarded (e.g. use -d instead of -P).
23721
23722 2011-05-06 Glenn Morris <rgm@gnu.org>
23723
23724 * calendar/appt.el (appt-message-warning-time): Doc fix.
23725 (appt-warning-time-regexp): New option.
23726 (appt-make-list): Respect appt-message-warning-time.
23727
23728 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
23729 New options.
23730 (diary-add-to-list): Strip comments from the displayed string.
23731 (diary-mode): Set comment-start and comment-end.
23732
23733 * vc/diff-mode.el (smerge-refine-subst): Declare.
23734 (diff-refine-hunk): Don't require smerge-mode when compiling.
23735
23736 2011-05-06 Juanma Barranquero <lekktu@gmail.com>
23737
23738 * simple.el (list-processes): Return nil as the docstring says.
23739
23740 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
23741
23742 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
23743 to "".
23744 (ange-ftp-write-region, ange-ftp-insert-file-contents)
23745 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
23746 determining of binary transfer. (Bug#7383)
23747
23748 2011-05-05 Michael Albinus <michael.albinus@gmx.de>
23749
23750 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
23751 Fix port computation bug. (Bug#8618)
23752
23753 2011-05-05 Glenn Morris <rgm@gnu.org>
23754
23755 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
23756
23757 * simple.el (shell-dynamic-complete-functions)
23758 (comint-dynamic-complete-functions): Declare.
23759
23760 * net/network-stream.el (gnutls-negotiate):
23761 * simple.el (tabulated-list-print): Fix declarations.
23762
23763 * progmodes/gud.el (syntax-symbol, syntax-point):
23764 Remove unnecessary and incorrect declarations.
23765
23766 * emacs-lisp/check-declare.el (check-declare-scan):
23767 Handle byte-compile-initial-macro-environment in bytecomp.el.
23768
23769 2011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
23770
23771 Fix earlier half-done eieio-defmethod change (bug#8338).
23772 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
23773 Streamline and change calling convention.
23774 (defmethod): Adjust accordingly and simplify.
23775 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
23776 new eieio--defmethod.
23777 (slot-boundp): Minor CSE simplification.
23778
23779 2011-05-05 Milan Zamazal <pdm@zamazal.org>
23780
23781 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
23782 (glasses-make-readable): Use glasses-separate-capital-groups.
23783
23784 2011-05-05 Juanma Barranquero <lekktu@gmail.com>
23785
23786 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
23787 (warning-series): Doc fix.
23788 (display-warning): Don't try to create the buffer if we just found it.
23789
23790 2011-05-04 Chong Yidong <cyd@stupidchicken.com>
23791
23792 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
23793 (autoload-find-generated-file): New function.
23794 (generate-file-autoloads): Bind generated-autoload-file to
23795 buffer-file-name.
23796 (update-file-autoloads, update-directory-autoloads):
23797 Use autoload-find-generated-file. If called interactively, prompt for
23798 output file (Bug#7989).
23799 (batch-update-autoloads): Doc fix.
23800
23801 2011-05-04 Juanma Barranquero <lekktu@gmail.com>
23802
23803 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
23804
23805 2011-05-04 Glenn Morris <rgm@gnu.org>
23806
23807 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
23808 function, so it follows changes in calendar-date-style.
23809 (diary-fancy-date-matcher): New function.
23810 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
23811 (diary-fancy-font-lock-fontify-region-function):
23812 Use diary-fancy-date-pattern as a function.
23813
23814 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
23815 non-numbers for `year' etc pseudo-variables. (Bug#8583)
23816
23817 2011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
23818
23819 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
23820 instead of positional arguments. Allow :keylist and :crlfiles
23821 arguments.
23822 (open-gnutls-stream): Call it.
23823
23824 * net/network-stream.el (network-stream-open-starttls): Adjust to
23825 call `gnutls-negotiate' with :process and :hostname arguments.
23826
23827 2011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
23828
23829 * minibuffer.el (completion--message): New function.
23830 (completion--do-completion, minibuffer-complete)
23831 (minibuffer-force-complete, minibuffer-complete-word): Use it.
23832 (completion--do-completion): Don't ignore completion-auto-help when in
23833 icomplete-mode.
23834
23835 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
23836 internal encoding (e.g. tibetan zero is not whitespace).
23837 (global-whitespace-mode): Prefer save-current-buffer.
23838 (whitespace-trailing-regexp): Remove useless save-match-data.
23839 (whitespace-empty-at-bob-regexp): Minor simplification.
23840
23841 2011-05-03 Chong Yidong <cyd@stupidchicken.com>
23842
23843 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
23844
23845 2011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
23846
23847 * textmodes/ispell.el (ispell-add-per-file-word-list):
23848 Use `concat' to create string for insertion.
23849
23850 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
23851
23852 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
23853 Avoid open-line which runs post-self-insert-hook.
23854 (bibtex-fill-entry): Remove unused `end' var.
23855
23856 2011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
23857
23858 * textmodes/ispell.el (ispell-add-per-file-word-list):
23859 Protect against `nil' value of `comment-start' (Bug#8579).
23860
23861 2011-05-03 Leo Liu <sdl.web@gmail.com>
23862
23863 * isearch.el (isearch-yank-pop): New command.
23864 (isearch-mode-map): Bind it to `M-y'.
23865 (isearch-forward): Mention it.
23866
23867 2011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
23868
23869 * simple.el (minibuffer-complete-shell-command): Remove.
23870 (minibuffer-local-shell-command-map): Use completion-at-point.
23871 (read-shell-command): Setup completion vars here instead.
23872 (read-expression-map): Bind TAB to symbol completion.
23873
23874 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
23875 error directly rather via storing it into `results'.
23876
23877 2011-05-02 Leo Liu <sdl.web@gmail.com>
23878
23879 * vc/diff.el: Fix description.
23880
23881 2011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
23882
23883 * server.el (server-eval-at): New function.
23884
23885 2011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
23886
23887 * net/network-stream.el (open-network-stream): Take a :nowait
23888 parameter and pass it on to `make-network-process'.
23889 (network-stream-open-plain): Ditto.
23890
23891 2011-04-30 Andreas Schwab <schwab@linux-m68k.org>
23892
23893 * faces.el (face-spec-set-match-display): Don't match toolkit
23894 options on terminal frames.
23895
23896 2011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
23897
23898 * progmodes/pascal.el: Use lexical binding.
23899 (pascal-mode-map): Remove author preferences.
23900
23901 * pcomplete.el (pcomplete-std-complete): Don't abuse
23902 completion-at-point.
23903
23904 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
23905
23906 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
23907 removing code that has been dead since 1991 or so.
23908
23909 * startup.el (command-line): When warning about "_emacs", use a
23910 delayed warning to allow the user to filter it out.
23911
23912 2011-04-28 Deniz Dogan <deniz@dogan.se>
23913
23914 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
23915 user has not joined.
23916
23917 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
23918
23919 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
23920 aren't any completions at point.
23921
23922 2011-04-28 Juanma Barranquero <lekktu@gmail.com>
23923
23924 * subr.el (display-delayed-warnings): New function.
23925 (delayed-warnings-hook): New variable.
23926
23927 2011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
23928
23929 * minibuffer.el (completion-at-point, completion-help-at-point):
23930 Don't presume that a given completion-at-point-function will always
23931 use the same calling convention.
23932
23933 * pcomplete.el (pcomplete-completions-at-point):
23934 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
23935 pcomplete-seen is non-nil.
23936 (pcomplete-comint-setup): Also recognize the new comint/shell
23937 completion functions.
23938 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
23939 pcomplete-seen is non-nil.
23940
23941 2011-04-27 Niels Giesen <niels.giesen@gmail.com>
23942
23943 * calendar/icalendar.el (diary-lib): Add require statement.
23944 (icalendar--create-uid): Read out a uid from a text-property on
23945 the first character in the entry. This allows for code to add its
23946 own uid to the entry.
23947 (icalendar--convert-float-to-ical): Add export of
23948 `diary-float'-entries save for those with the optional DAY
23949 argument.
23950
23951 2011-04-27 Daniel Colascione <dan.colascione@gmail.com>
23952
23953 * subr.el (shell-quote-argument): Use alternate escaping strategy
23954 when we spot a variable reference in a string.
23955
23956 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
23957
23958 * cus-start.el (all): Define customization for debug-on-event.
23959
23960 2011-04-26 Daniel Colascione <dan.colascione@gmail.com>
23961
23962 * subr.el (shell-quote-argument): Escape correctly under Windows.
23963
23964 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
23965
23966 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
23967
23968 2011-04-25 Michael Albinus <michael.albinus@gmx.de>
23969
23970 * net/tramp.el (tramp-process-actions): Add POS argument.
23971 Delete region between POS and (pos).
23972
23973 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
23974 Use `nil' position in `tramp-process-actions' call.
23975 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
23976
23977 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
23978 position in `tramp-process-actions' call.
23979
23980 * net/trampver.el: Update release number.
23981
23982 2011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
23983
23984 * custom.el (defcustom): Obey lexical-binding.
23985
23986 Fix octave-inf completion problems reported by Alexander Klimov.
23987 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
23988 Inherit from octave-mode-syntax-table.
23989 (inferior-octave-mode): Set info-lookup-mode.
23990 (inferior-octave-completion-at-point): New function.
23991 (inferior-octave-complete): Use it and completion-in-region.
23992 (inferior-octave-dynamic-complete-functions): Use it as well, and use
23993 comint-filename-completion.
23994 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
23995 symbol elements which shouldn't be word elements.
23996 (octave-font-lock-keywords, octave-beginning-of-defun)
23997 (octave-function-header-regexp): Adjust regexps accordingly.
23998 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
23999
24000 2011-04-25 Juanma Barranquero <lekktu@gmail.com>
24001
24002 * net/gnutls.el (gnutls-errorp): Declare before first use.
24003
24004 2011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
24005
24006 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
24007 verify-error, and verify-hostname-error parameters. Check whether
24008 default trustfile exists before going to use it. Add missing
24009 argument to gnutls-message-maybe call. Return value.
24010 Reported by Claudio Bley <claudio.bley@gmail.com>.
24011 (open-gnutls-stream): Add usage example.
24012
24013 * net/network-stream.el (network-stream-open-starttls): Give host
24014 parameter to `gnutls-negotiate'.
24015 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
24016 * subr.el (shell-quote-argument): Escape correctly under Windows.
24017
24018 2011-04-24 Daniel Colascione <dan.colascione@gmail.com>
24019
24020 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
24021 Use correct match group (bug#8438).
24022
24023 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
24024
24025 * emacs-lisp/package.el (package-built-in-p): Fix typo.
24026 (package-menu--generate): New arg specifying packages to show.
24027 (package-menu-refresh, package-menu-execute, list-packages):
24028 Callers changed.
24029 (package-show-package-list): New function, replacing deleted
24030 package--list-packages (renamed because it is non-internal).
24031
24032 * finder.el (finder-list-matches): Use package-show-package-list
24033 instead of deleted package--list-packages.
24034
24035 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
24036 Based on a previous implementation by Juanma Barranquero (Bug#8366).
24037 (vc-annotate-mode-map): Bind it to RET.
24038
24039 2011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
24040
24041 * progmodes/etags.el (next-file): Don't use set-buffer to change
24042 buffers (Bug#8478).
24043
24044 2011-04-24 Chong Yidong <cyd@stupidchicken.com>
24045
24046 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
24047
24048 * apropos.el (apropos-label-face): Avoid variable-pitch face.
24049 (apropos-accumulator): Doc fix.
24050 (apropos-function, apropos-macro, apropos-command)
24051 (apropos-variable, apropos-face, apropos-group, apropos-widget)
24052 (apropos-plist): Add face property.
24053 (apropos-symbols-internal): Fix indentation.
24054 (apropos-print): Simplify help, and recognize apropos-multi-type.
24055 (apropos-print-doc): Use button-type-get to extract the button's
24056 face property. Fill docstring (Bug#8352).
24057
24058 2011-04-23 Juanma Barranquero <lekktu@gmail.com>
24059
24060 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
24061
24062 * play/mpuz.el (mpuz-silent): Doc fix.
24063 (mpuz-mode-map): Use mapc.
24064 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
24065 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
24066 Fix typos in docstrings.
24067
24068 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
24069 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
24070
24071 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
24072
24073 2011-04-23 Chong Yidong <cyd@stupidchicken.com>
24074
24075 * minibuffer.el (completion--do-completion): Avoid the "Next char
24076 not unique" prompt if icomplete-mode is enabled (Bug#5849).
24077
24078 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
24079 mouse-2 into unread-command-events, it is interpreted correctly.
24080
24081 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
24082 (image-toggle-display): Doc fix.
24083
24084 2011-04-23 Stephen Berman <stephen.berman@gmx.net>
24085
24086 * textmodes/page.el (what-page): Use line-number-at-pos to
24087 calculate line number (Bug#6825).
24088
24089 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
24090
24091 * eshell/esh-mode.el (find-tag-interactive): Declare function.
24092 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
24093 Pass argument NO-DEFAULT to `find-tag-interactive'.
24094
24095 2011-04-22 Juanma Barranquero <lekktu@gmail.com>
24096
24097 Lexical-binding cleanup.
24098
24099 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
24100 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
24101 * progmodes/ada-prj.el (ada-prj-initialize-values)
24102 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
24103 (ada-prj-show-value):
24104 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
24105 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
24106 (antlr-invalidate-context-cache, antlr-options-menu-filter)
24107 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
24108 * progmodes/bug-reference.el (bug-reference-push-button):
24109 * progmodes/fortran.el (fortran-line-length):
24110 * progmodes/glasses.el (glasses-change):
24111 * progmodes/octave-mod.el (octave-fill-paragraph):
24112 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
24113 (python-pdbtrack-grub-for-buffer, python-sentinel):
24114 * progmodes/sql.el (sql-save-connection):
24115 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
24116 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
24117 Mark unused parameters.
24118
24119 * progmodes/compile.el (compilation--flush-directory-cache)
24120 (compilation--flush-parse, compile-internal): Mark unused parameters.
24121 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
24122 (compilation-next-error-function): Remove unused variable `timestamp'.
24123
24124 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
24125 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
24126
24127 * progmodes/dcl-mode.el (dcl-end-of-command):
24128 Remove unused variable `start'.
24129 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
24130 (dcl-option-value-basic, dcl-option-value-offset)
24131 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
24132 Mark unused parameters.
24133 (dcl-save-local-variable): Remove unused variable `val'.
24134 (mode): Declare.
24135
24136 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
24137 Mark unused parameters.
24138 (delphi-ignore-changes): Move before first use.
24139 (delphi-charset-token-at): Remove unused variable `start'.
24140 (delphi-else-start): Remove unused variable `if-count'.
24141 (delphi-comment-block-start, delphi-comment-block-end):
24142 Remove unused variable `kind'.
24143 (delphi-indent-line): Remove unused variable `new-point'.
24144
24145 * progmodes/ebrowse.el (ebrowse-files-list)
24146 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
24147 Mark unused parameters. Don't quote `lambda'.
24148 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
24149 Don't quote `lambda'.
24150 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
24151 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
24152 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
24153 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
24154 Use `ignore-errors'.
24155 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
24156 (ebrowse-view/find-file-and-search-pattern)
24157 (ebrowse-view/find-member-declaration/definition):
24158 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
24159 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
24160 Rename parameter PREFIX-ARG to PREFIX.
24161 (ebrowse-tags-read-name): Remove unused variables `start' and
24162 `member-info'.
24163 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
24164 to `tags-file'.
24165
24166 * progmodes/etags.el (local-find-tag-hook): Declare.
24167 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
24168 Mark unused parameters.
24169
24170 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
24171 (executable-interpret): Mark unused parameter.
24172
24173 * progmodes/flymake.el (flymake-process-sentinel)
24174 (flymake-after-change-function)
24175 (flymake-create-temp-with-folder-structure)
24176 (flymake-get-include-dirs-dot): Mark unused parameters.
24177 (flymake-safe-delete-directory): Remove unused variable `err'.
24178
24179 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
24180 (speedbar-timer-fn, speedbar-line-text)
24181 (speedbar-change-expand-button-char, speedbar-delete-subblock)
24182 (speedbar-center-buffer-smartly): Declare functions.
24183 (gdb-find-watch-expression): Remove unused variable `array'.
24184 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
24185 (gdb-starting): Mark unused parameters.
24186 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
24187 (gdb-table-string): Remove unused variable `res'.
24188 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
24189 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
24190 (gdb-display-buffer): Remove unused variable `cur-size'.
24191
24192 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
24193 allow lexical-binding compilation.
24194 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
24195 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
24196 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
24197 Mark unused parameters.
24198 (gud-gdb-marker-filter): Remove unused variable `match'.
24199 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
24200 lambda expressions and funcall them, instead of using `fset'.
24201
24202 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
24203 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
24204
24205 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
24206 variable `header-beg'; use `let'.
24207
24208 * progmodes/icon.el (indent-icon-exp): Remove unused variables
24209 `restart', `last-sexp' and `at-do'.
24210
24211 * progmodes/js.el (js--debug): Mark unused parameter.
24212 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
24213 (js--splice-into-items): Remove unused variable `item'.
24214 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
24215
24216 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
24217 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
24218 (makefile-complete): Remove unused variable `try'.
24219 (makefile-fill-paragraph, makefile-match-function-end):
24220 Mark unused parameters.
24221
24222 * progmodes/octave-inf.el (inferior-octave-complete):
24223 Remove unused variable `proc'.
24224 (inferior-octave-output-digest): Mark unused parameter.
24225
24226 * progmodes/perl-mode.el (perl-calculate-indent):
24227 Remove unused variable `err'.
24228
24229 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
24230 (prolog-indent-line): Mark unused parameters.
24231 (prolog-indent-line): Remove unused variable `beg'.
24232
24233 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
24234 (reporter-dont-compact-list): Declare.
24235
24236 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
24237 Remove unused variable `char'.
24238 (sh-debug): Mark unused parameter.
24239 (sh-get-indent-info): Remove unused variable `start'.
24240 (sh-calculate-indent): Remove unused variable `var'.
24241
24242 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
24243 (simula-electric-keyword): Remove unused variable `null'.
24244 (simula-search-backward, simula-search-forward): Remove unused
24245 variables `begin' and `end'.
24246
24247 * progmodes/vera-mode.el (vera-guess-basic-syntax):
24248 Remove unused variable `pos'.
24249 (vera-electric-tab, vera-comment-uncomment-region):
24250 Mark unused parameters.
24251 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
24252
24253 2011-04-22 Chong Yidong <cyd@stupidchicken.com>
24254
24255 * emacs-lisp/package.el (package--builtins, package-alist)
24256 (package-load-descriptor, package-built-in-p, package-activate)
24257 (define-package, package-installed-p)
24258 (package-compute-transaction, package-buffer-info)
24259 (package--push): Doc fix. Distinguish more clearly between
24260 version strings and version lists.
24261
24262 2011-04-21 Juanma Barranquero <lekktu@gmail.com>
24263
24264 Lexical-binding cleanup.
24265
24266 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
24267 (5x5-make-mutate-best):
24268 * play/fortune.el (fortune-in-buffer):
24269 * play/gomoku.el (gomoku-init-display):
24270 * play/solitaire.el (solitaire, solitaire-do-check):
24271 * play/tetris.el (tetris-default-update-speed-function):
24272 Mark unused parameters.
24273
24274 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
24275 (bubbles--shift): Remove unused variable `char-org'.
24276 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
24277 (bubbles--show-images): Remove unused variable `char'.
24278
24279 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
24280 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
24281 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
24282 (decipher-analyze-buffer): Use ?\s.
24283 (decipher-make-checkpoint): Remove unused variable `mapping'.
24284
24285 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
24286
24287 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
24288 Remove unused variable `result'; use `let'.
24289
24290 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
24291 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
24292 (gametree-children-shown-p, gametree-compute-reduced-score):
24293 Use `ignore-errors'.
24294
24295 * play/handwrite.el (ps-lpr-switches): Declare.
24296 (handwrite): Remove unused variables `pmin' and `lastp'.
24297
24298 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
24299
24300 * play/landmark.el (landmark-init-display)
24301 (landmark-update-naught-weights): Mark unused parameters.
24302 (landmark-y): Remove unused variable `noise'. Simplify.
24303 (landmark-human-plays): Remove unused variable `score'.
24304
24305 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
24306 (mpuz-try-proposal): Remove unused variable `game'.
24307
24308 * play/zone.el (life-patterns): Declare.
24309
24310 2011-04-20 Juanma Barranquero <lekktu@gmail.com>
24311
24312 * vc/vc.el (ediff-vc-internal): Declare function.
24313
24314 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
24315
24316 * shell.el: Use lexical-binding and std completion UI.
24317 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
24318 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
24319 comint-preoutput-filter-functions rather than on
24320 comint-output-filter-functions.
24321 (shell-command-completion, shell--command-completion-data)
24322 (shell-filename-completion, shell-environment-variable-completion)
24323 (shell-c-a-p-replace-by-expanded-directory): New functions.
24324 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
24325 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
24326 (shell-dynamic-complete-environment-variable): Use them.
24327 (shell-dynamic-complete-as-environment-variable)
24328 (shell-dynamic-complete-as-command): Remove.
24329 (shell-match-partial-variable): Match past point.
24330 * comint.el: Clean up use of completion-at-point-functions.
24331 (comint-completion-at-point): New function.
24332 (comint-mode): Use it completion-at-point-functions.
24333 (comint-dynamic-complete): Make it obsolete.
24334 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
24335 (comint-c-a-p-replace-by-expanded-history): New function.
24336 (comint-dynamic-complete-functions)
24337 (comint-replace-by-expanded-history): Use it.
24338 * minibuffer.el (completion-table-with-terminator): Allow dynamic
24339 termination strings. Try harder to avoid second try-completion.
24340 (completion-in-region-mode-map): Disable bindings that don't work yet.
24341
24342 * comint.el: Use lexical-binding. Require CL.
24343 (comint-dynamic-complete-functions): Use comint-filename-completion.
24344 (comint-completion-addsuffix): Tweak custom type.
24345 (comint-filename-completion, comint--common-suffix)
24346 (comint--common-quoted-suffix, comint--table-subvert)
24347 (comint--complete-file-name-data): New functions.
24348 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
24349 (comint-dynamic-list-filename-completions): Use them.
24350 (comint-dynamic-simple-complete): Make obsolete.
24351
24352 * minibuffer.el (completion-in-region-mode):
24353 Keep completion-in-region-mode--predicate global.
24354 (completion-in-region--postch):
24355 Assume completion-in-region-mode--predicate is not null.
24356
24357 * progmodes/flymake.el (flymake-start-syntax-check-process):
24358 Obey `dir'. Simplify.
24359
24360 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
24361 we're in VC after all.
24362
24363 2011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
24364
24365 * vc/vc.el (vc-diff-build-argument-list-internal)
24366 (vc-version-ediff, vc-ediff): New commands.
24367 (vc-version-diff): Use vc-diff-build-argument-list-internal.
24368
24369 2011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
24370
24371 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
24372 add sanity check.
24373
24374 * obsolete/erc-hecomplete.el: Make obsolete.
24375 * obsolete/: Standardize obsolescence info in the header.
24376
24377 2011-04-20 Glenn Morris <rgm@gnu.org>
24378
24379 * calendar/solar.el (solar-horizontal-coordinates):
24380 Use the longitude argument rather than `calendar-longitude'.
24381 (solar-date-next-longitude): Remove unused locals.
24382
24383 2011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
24384
24385 * whitespace.el: New version 13.2.1.
24386
24387 2011-04-20 felix <EmacsWiki> (tiny change)
24388
24389 * whitespace.el (global-whitespace-mode): Keep highlight when
24390 switching between major modes on a file.
24391
24392 2011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
24393
24394 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
24395 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
24396 multi-line comments as well.
24397
24398 2011-04-19 Juanma Barranquero <lekktu@gmail.com>
24399
24400 Lexical-binding cleanup.
24401
24402 * arc-mode.el (archive-mode-revert):
24403 * cmuscheme.el (scheme-interactively-start-process):
24404 * custom.el (custom-initialize-delay):
24405 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
24406 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
24407 * emacs-lock.el (emacs-lock-clear-sentinel):
24408 * ezimage.el (defezimage):
24409 * follow.el (follow-avoid-tail-recenter):
24410 * fringe.el (set-fringe-mode-1):
24411 * generic-x.el (bat-generic-mode-compile):
24412 * help-mode.el (help-info-variable, help-do-xref)
24413 (help-mode-revert-buffer):
24414 * help.el (view-emacs-todo):
24415 * iswitchb.el (iswitchb-completion-help):
24416 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
24417 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
24418 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
24419 * locate.el (locate-update):
24420 * longlines.el (longlines-encode-region)
24421 (longlines-after-change-function):
24422 * outline.el (outline-isearch-open-invisible):
24423 * ps-def.el (declare-function, charset-dimension, char-width)
24424 (encode-char):
24425 * ps-mule.el (ps-mule-plot-string):
24426 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
24427 (recentf-edit-list-select, recentf-edit-list-validate)
24428 (recentf-open-files-action):
24429 * rect.el (delete-whitespace-rectangle-line)
24430 (rectangle-number-line-callback):
24431 * register.el (window-configuration-to-register)
24432 (frame-configuration-to-register):
24433 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
24434 * select.el (xselect-convert-to-string, xselect-convert-to-length)
24435 (xselect-convert-to-targets, xselect-convert-to-delete)
24436 (xselect-convert-to-filename, xselect-convert-to-charpos)
24437 (xselect-convert-to-lineno, xselect-convert-to-colno)
24438 (xselect-convert-to-os, xselect-convert-to-host)
24439 (xselect-convert-to-user, xselect-convert-to-class)
24440 (xselect-convert-to-name, xselect-convert-to-integer)
24441 (xselect-convert-to-atom, xselect-convert-to-identity):
24442 * subr.el (declare, ignore, process-kill-without-query)
24443 (text-clone-maintain):
24444 * terminal.el (te-get-char, te-tic-sentinel):
24445 * tool-bar.el (tool-bar-make-keymap):
24446 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
24447 * type-break.el (type-break-mode, type-break-noninteractive-query):
24448 * view.el (View-back-to-mark):
24449 * wid-browse.el (widget-browse-action, widget-browse-widget)
24450 (widget-browse-widgets, widget-browse-sexp):
24451 * widget.el (define-widget-keywords):
24452 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
24453 Mark unused parameters.
24454
24455 * align.el (align-adjust-col-for-rule): Mark unused parameter.
24456 (align-areas): Remove unused variable `look'.
24457 (align-region): Remove unused variables `real-end' and `pos-list'.
24458
24459 * apropos.el (apropos-score-doc): Remove unused variable `i'.
24460
24461 * bindings.el (mode-line-modified, mode-line-remote):
24462 Mark unused parameters.
24463 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
24464
24465 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
24466 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
24467
24468 * comint.el (comint-history-isearch-pop-state)
24469 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
24470 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
24471 (comint-substitute-in-file-name): Doc fix.
24472
24473 * completion.el (cmpl-statistics-block): Mark unused parameter.
24474 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
24475 (save-completions-to-file, load-completions-from-file):
24476 Remove unused local variable `e'.
24477
24478 * composite.el (compose-chars): Remove unused variable `len'.
24479 (lgstring-insert-glyph): Remove unused variable `g'.
24480 (compose-glyph-string): Remove unused variables `ascent',
24481 `descent', `lbearing' and `rbearing'.
24482 (compose-glyph-string-relative): Remove unused variables
24483 `lbearing', `rbearing' and `wadjust'.
24484 (compose-gstring-for-graphic): Remove unused variables `header',
24485 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
24486 (compose-gstring-for-terminal): Remove unused variables `header'
24487 and `nchars'. Use `let', not `let*'.
24488
24489 * cus-edit.el (Custom-set, Custom-save, custom-reset)
24490 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
24491 (Custom-buffer-done, custom-buffer-create-internal)
24492 (custom-browse-visibility-action, custom-browse-group-tag-action)
24493 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
24494 (widget-magic-mouse-down-action, custom-toggle-parent)
24495 (custom-add-parent-links, custom-toggle-hide-variable)
24496 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
24497 (custom-toggle-hide-face, face, hook, custom-group-link-action)
24498 (custom-face-menu-create, custom-variable-menu-create, get)
24499 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
24500 (custom-reset-standard-save-and-update): Remove unused variable `value'.
24501 (customize-apropos): Remove unused variable `tests'.
24502 (custom-group-value-create): Remove unused variable `hidden-p'.
24503 (sort-fold-case): Declare.
24504
24505 * cus-theme.el (custom-reset-standard-faces-list)
24506 (custom-reset-standard-variables-list): Declare.
24507 (customize-create-theme, custom-theme-revert, custom-theme-write)
24508 (custom-theme-choose-mode, customize-themes, custom-theme-save):
24509 Mark unused parameters.
24510
24511 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
24512
24513 * delim-col.el (delimit-columns-max): Move defvar before first use.
24514
24515 * descr-text.el (describe-char-categories): Don't quote `lambda'.
24516 (describe-char): Don't quote `lambda'. Mark unused parameter.
24517
24518 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
24519 (auto-insert): Declare.
24520 (desktop-restore-file-buffer): Rename desktop-* parameters;
24521 mark unused ones.
24522 (desktop-create-buffer): Rename desktop-* parameters and bind them.
24523 (desktop-buffer): Rename desktop-* parameters.
24524
24525 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
24526 (dframe-reposition-frame-xemacs, dframe-help-echo)
24527 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
24528 Mark unused parameters.
24529
24530 * dired-aux.el (backup-extract-version-start, overwrite-query)
24531 (overwrite-backup-query, rename-regexp-query)
24532 (rename-non-directory-query): Declare.
24533 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
24534 (dired-add-entry): Remove unused variable `orig-file-name'.
24535 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
24536 Use parameter PRESERVE-TIME instead of accessing dynamic variable
24537 `dired-copy-preserve-time' directly.
24538 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
24539 (dired-insert-subdir-newpos): Rename unused variable `pos'.
24540
24541 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
24542 (dired-virtual-revert, dired-make-relative-symlink):
24543 Mark unused parameters.
24544 (manual-program): Declare.
24545 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
24546 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
24547 wrapped in `with-no-warnings' to avoid replacing one warning by another.
24548
24549 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
24550
24551 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
24552
24553 * echistory.el (electric-history-in-progress, Helper-return-blurb):
24554 Declare.
24555
24556 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
24557
24558 * electric.el (Electric-command-loop): Rename parameter
24559 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
24560
24561 * expand.el (expand-in-literal): Remove unused variable `here'.
24562
24563 * facemenu.el (facemenu-add-new-color):
24564 Remove unused variable `docstring'.
24565
24566 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
24567 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
24568 (face-attr-construct): Mark unused parameter. Doc fix.
24569 (read-color): Remove unused variable `hex-string'.
24570
24571 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
24572 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
24573 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
24574 (display-buffer-other-frame): Remove unused variable `old-window'.
24575 (kill-buffer-hook): Declare.
24576 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
24577 Mark unused parameters.
24578 (after-find-file): Pass 1 to `auto-save-mode', not t.
24579
24580 * files-x.el (auto-insert): Declare.
24581 (modify-file-local-variable-prop-line): Remove unused variable `val'.
24582
24583 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
24584 variable `buf'. Mark unused parameter.
24585 (find-lisp-insert-directory): Mark unused parameter.
24586
24587 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
24588 (format-encode-region): Remove unused variables `cur-buf' and `result'.
24589 (format-common-tail): Remove, unused.
24590 (format-deannotate-region): Remove unused variable `loc'.
24591 (format-annotate-region): Remove unused variable `p'.
24592 (format-annotate-single-property-change): Remove unused variables
24593 `default' and `tail'.
24594
24595 * forms.el (read-file-filter): Declare.
24596 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
24597
24598 * frame.el (frame-creation-function-alist): Mark unused parameter.
24599 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
24600
24601 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
24602 Remove unused parameters.
24603 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
24604 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
24605
24606 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
24607 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
24608 (hfy-prepare-tag-map): Mark unused parameters.
24609 (htmlfontify-buffer): Use `called-interactively-p'.
24610
24611 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
24612 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
24613 (ibuffer-do-occur): Mark unused parameters.
24614 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
24615 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
24616
24617 * ibuffer.el: Don't quote `lambda'.
24618 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
24619 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
24620 Mark unused parameters.
24621
24622 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
24623 (ido-completing-read): Mark unused parameters.
24624 (ido-copy-current-word): Mark unused parameters;
24625 remove unused variable `name'.
24626 (ido-sort-merged-list): Remove unused parameter `dirs'.
24627
24628 * ielm.el (ielm-input-sender): Mark unused parameter.
24629 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
24630 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
24631 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
24632 `ielm-string' as a dynamic variable accessible from the IELM prompt.
24633 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
24634
24635 * image-dired.el (image-dired-display-thumbs): Remove unused
24636 variables `curr-file' and `count'.
24637 (image-dired-remove-tag): Remove unused variable `start'.
24638 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
24639 variable `curr-file'
24640 (image-dired-rotate-original): Remove unused variable `temp-file'.
24641 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
24642 Remove unused variable `file'.
24643 (image-dired-gallery-generate): Remove unused variable `curr'.
24644 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
24645
24646 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
24647
24648 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
24649
24650 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
24651
24652 * isearch.el (minibuffer-history-symbol): Declare.
24653 (isearch-edit-string): Remove unused variable `err'.
24654 (isearch-message-prefix, isearch-message-suffix):
24655 Mark unused parameters.
24656
24657 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
24658
24659 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
24660
24661 * makesum.el (double-column): Remove unused variable `cnt'.
24662
24663 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
24664 (ido-ignore-item-temp-list): Declare.
24665
24666 * mouse-drag.el (mouse-drag-throw): Remove unused variables
24667 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
24668 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
24669 (mouse-drag-drag): Remove unused variables `mouse-delta' and
24670 `mouse-col-delta'.
24671
24672 * mouse-sel.el (mouse-extend-internal):
24673 Remove unused variable `orig-window-frame'.
24674
24675 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
24676 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
24677 Move declarations before first use.
24678 (pcomplete-opt): Mark unused parameters; doc fix.
24679
24680 * proced.el (proced-revert): Mark unused parameter.
24681 (proced-send-signal): Remove unused variable `err'.
24682
24683 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
24684 Rename parameter PREFIX-ARG to ARG.
24685 (ps-basic-plot-string, ps-basic-plot-whitespace):
24686 Mark unused parameters.
24687
24688 * replace.el (replace-count): Define.
24689 (occur-revert-function): Mark unused parameters.
24690 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
24691 (isearch-case-fold-search, isearch-string): Declare.
24692 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
24693 bind `case-fold-search'. Remove unused variables `beg' and `end',
24694 and simplify.
24695 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
24696 COUNT and bind `replace-count'.
24697 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
24698 to COUNT.
24699
24700 * savehist.el (print-readably, print-string-length): Declare.
24701
24702 * shadowfile.el (shadow-expand-cluster-in-file-name):
24703 Remove unused variable `cluster'.
24704 (shadow-copy-file): Remove unused variable `i'.
24705 (shadow-noquery, shadow-clusters, shadow-site-cluster)
24706 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
24707 (shadow-define-literal-group, shadow-define-regexp-group)
24708 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
24709
24710 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
24711 (shell): Use `called-interactively-p'.
24712 (shell-directory-tracker): Remove unused variable `chdir-failure'.
24713
24714 * simple.el (compilation-context-lines, comint-file-name-quote-list)
24715 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
24716 (delete-backward-char): Remove unused variable `ocol'.
24717 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
24718 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
24719 (event-apply-hyper-modifier, event-apply-shift-modifier)
24720 (event-apply-control-modifier, event-apply-meta-modifier):
24721 Mark unused parameters.
24722 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
24723 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
24724
24725 * speedbar.el (speedbar-ignored-directory-expressions)
24726 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
24727 (speedbar-find-file, speedbar-dir-follow)
24728 (speedbar-directory-buttons-follow, speedbar-tag-find)
24729 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
24730 (speedbar-buffers-line-directory, speedbar-buffer-click):
24731 Mark unused parameters.
24732 (speedbar-tag-file): Remove unused variable `mode'.
24733 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
24734
24735 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
24736
24737 * talk.el (talk): Remove unused variable `display'.
24738
24739 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
24740 (tar-write-region-annotate): Mark unused parameter.
24741
24742 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
24743 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
24744 Declare them, wrapped in `with-no-warnings' to avoid replacing one
24745 warning by another.
24746
24747 * time-stamp.el (time-stamp-string-preprocess):
24748 Remove unused variable `require-padding'.
24749
24750 * tree-widget.el (widget-glyph-enable): Declare.
24751 (tree-widget-action): Mark unused parameter.
24752
24753 * w32-fns.el (x-get-selection): Mark unused parameter.
24754 (autoload-make-program, generated-autoload-file): Declare.
24755
24756 * wdired.el (wdired-revert): Mark unused parameters.
24757 (wdired-xcase-word): Remove unused variable `err'.
24758
24759 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
24760 (whitespace-help-scroll): Remove unused variable `data-help'.
24761
24762 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
24763 (widget-image-insert, widget-after-change, default)
24764 (widget-default-format-handler, widget-default-notify)
24765 (widget-default-prompt-value, widget-info-link-action)
24766 (widget-url-link-action, widget-function-link-action)
24767 (widget-variable-link-action, widget-file-link-action)
24768 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
24769 (widget-field-prompt-internal, widget-field-action, widget-field-match)
24770 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
24771 (widget-insert-button-action, widget-delete-button-action, visibility)
24772 (widget-documentation-link-action, widget-documentation-string-action)
24773 (widget-const-prompt-value, widget-regexp-match, symbol)
24774 (widget-coding-system-prompt-value)
24775 (widget-key-sequence-value-to-external, sexp)
24776 (widget-sexp-value-to-internal, character, vector, cons)
24777 (widget-choice-prompt-value, widget-boolean-prompt-value)
24778 (widget-color--choose-action): Mark unused parameters.
24779 (widget-item-match-inline, widget-choice-match-inline)
24780 (widget-checklist-match, widget-checklist-match-inline)
24781 (widget-group-match): Rename parameter VALUES to VALS.
24782 (widget-field-value-set): Remove unused variable `size'.
24783 (widget-color-action): Remove unused variables `value' and `start'.
24784
24785 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
24786 variable `dir'. Doc fix.
24787 (windmove-find-other-window): Don't pass it.
24788
24789 * window.el (count-windows): Mark unused parameter.
24790 (bw-adjust-window): Remove unused variable `err'.
24791
24792 * woman.el (woman-file-name): Remove unused variable `default'.
24793 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
24794 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
24795 (global-font-lock-mode): Declare.
24796 (woman-decode-region): Mark unused parameter.
24797 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
24798
24799 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
24800 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
24801 (x-dnd-handle-moz-url): Remove unused variable `title'.
24802 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
24803
24804 * xml.el (xml-parse-tag, xml-parse-attlist):
24805 Remove unused variable `pos'.
24806
24807 2011-04-19 Glenn Morris <rgm@gnu.org>
24808
24809 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
24810 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
24811 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
24812 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
24813 * calendar/cal-html.el (cal-html-insert-minical):
24814 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
24815 (calendar-mark-date-pattern):
24816 Prefix "unused" locals.
24817
24818 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
24819 optional argument `style'.
24820
24821 * calendar/appt.el (appt-make-list):
24822 * calendar/cal-china.el (calendar-chinese-date-string):
24823 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
24824 (diary-hebrew-yahrzeit):
24825 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
24826 * calendar/calendar.el (calendar-generate-window):
24827 * calendar/time-date.el (time-to-days):
24828 Remove unused local variables.
24829
24830 2011-04-18 Chong Yidong <cyd@stupidchicken.com>
24831
24832 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
24833 glyphless-char-display table.
24834 (tabulated-list-glyphless-char-display): New var.
24835
24836 2011-04-18 Sam Steingold <sds@gnu.org>
24837
24838 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
24839 to acknowledgments.
24840
24841 2011-04-17 Glenn Morris <rgm@gnu.org>
24842
24843 * calendar/diary-lib.el (diary-sexp-entry):
24844 * calendar/holidays.el (holiday-sexp):
24845 Set debug-on-error rather than the removed stack-trace-on-error.
24846
24847 2011-04-16 Glenn Morris <rgm@gnu.org>
24848
24849 * progmodes/f90.el: Use lexical-binding.
24850 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
24851
24852 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
24853
24854 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
24855 (mail-mode): Setup mailalias completion here instead.
24856 * mail/mailalias.el: Use lexical-binding.
24857 (pattern, mailalias-done): Declare dynamic.
24858 (mail-completion-at-point-function): New function, from mail-complete.
24859 (mail-complete): Use it.
24860 (mail-completion-expand): New function.
24861 (mail-get-names): Use it.
24862 (mail-directory, mail-directory-process, mail-directory-stream):
24863 Don't use `pattern' for lexically bound arg.
24864
24865 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
24866
24867 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
24868 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
24869 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
24870
24871 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
24872 (byte-save-window-excursion, byte-temp-output-buffer-setup)
24873 (byte-interactive-p): Define them again, for use when inlining
24874 old code.
24875
24876 2011-04-15 Juanma Barranquero <lekktu@gmail.com>
24877
24878 * loadup.el: Use `string-to-number', not `string-to-int'.
24879
24880 2011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
24881
24882 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
24883 gud-gdb-complete-command.
24884 (gud-gdb-completions): New function, from gud-gdb-complete-command.
24885 (gud-gdb-completion-at-point): New function.
24886 (gud-gdb-completions): Remove.
24887
24888 2011-04-14 Michael Albinus <michael.albinus@gmx.de>
24889
24890 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
24891 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
24892 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
24893 whether `executable-find' is bound.
24894
24895 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
24896
24897 2011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
24898
24899 * minibuffer.el (completion-in-region-mode-predicate)
24900 (completion-in-region-mode--predicate): New vars.
24901 (completion-in-region, completion-in-region--postch)
24902 (completion-in-region-mode): Use them.
24903 (completion--capf-wrapper): Also return the hook function.
24904 (completion-at-point, completion-help-at-point):
24905 Adjust and provide a predicate.
24906
24907 Preserve arg names for advice of subr and lexical functions (bug#8457).
24908 * help-fns.el (help-function-arglist): Consolidate the subr and
24909 new-byte-code cases. Add argument `preserve-names' to extract names
24910 from the docstring when needed.
24911 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
24912 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
24913 (ad-arglist): Use help-function-arglist's new arg.
24914 (ad-definition-type): Use cond.
24915
24916 2011-04-13 Juanma Barranquero <lekktu@gmail.com>
24917
24918 * autorevert.el (auto-revert-handler):
24919 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
24920 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
24921 Don't quote lambda.
24922
24923 * image-mode.el (image-transform-set-scale):
24924 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
24925
24926 2011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
24927
24928 * net/network-stream.el (network-stream-open-starttls): Only do
24929 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
24930 Upgrades via gnutls-cli are too slow to be done opportunistically.
24931
24932 2011-04-12 Juanma Barranquero <lekktu@gmail.com>
24933
24934 * dframe.el (dframe-current-frame): Remove spurious quote.
24935
24936 2011-04-12 Glenn Morris <rgm@gnu.org>
24937
24938 * calendar/cal-tex.el (cal-tex-end-document):
24939 Try to automatically use latin1 input if needed.
24940
24941 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
24942 Don't try to cons a mark onto an empty element.
24943
24944 2011-04-11 Leo Liu <sdl.web@gmail.com>
24945
24946 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
24947 buffers.
24948 (ido-kill-buffer-at-head): Support killing virtual buffers.
24949
24950 2011-04-10 Chong Yidong <cyd@stupidchicken.com>
24951
24952 * minibuffer.el (completion-show-inline-help): New var.
24953 (completion--do-completion, minibuffer-complete)
24954 (minibuffer-force-complete, minibuffer-complete-word):
24955 Inhibit minibuffer messages if completion-show-inline-help is nil.
24956
24957 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
24958 to avoid interference from inline help (Bug#5849).
24959
24960 2011-04-10 Leo Liu <sdl.web@gmail.com>
24961
24962 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
24963 Fix typo.
24964
24965 2011-04-09 Chong Yidong <cyd@stupidchicken.com>
24966
24967 * image-mode.el (image-toggle-display-image): Signal an error if
24968 not in Image mode.
24969 (image-transform-mode, image-transform-resize)
24970 (image-transform-set-rotation): Doc fix.
24971 (image-transform-set-resize): Delete.
24972 (image-transform-set-scale, image-transform-fit-to-height)
24973 (image-transform-fit-to-width): Handle image-toggle-display-image
24974 and image-transform-resize directly.
24975
24976 2011-04-08 Sho Nakatani <lay.sakura@gmail.com>
24977
24978 * doc-view.el (doc-view-fit-width-to-window)
24979 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
24980 New functions for fitting the shown image to the Emacs window size.
24981 (doc-view-mode-map): Add bindings for the new functions.
24982
24983 2011-04-08 Juanma Barranquero <lekktu@gmail.com>
24984
24985 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
24986 Fix typo in docstring.
24987
24988 2011-04-08 Eli Zaretskii <eliz@gnu.org>
24989
24990 * files.el (file-size-human-readable): Produce one digit after
24991 decimal, like "ls -lh" does.
24992
24993 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
24994 the file size representation.
24995
24996 * simple.el (list-processes): If async subprocesses are not
24997 available, error out with a clear error message.
24998
24999 2011-04-08 Chong Yidong <cyd@stupidchicken.com>
25000
25001 * help.el (help-form-show): New function, to be called from C.
25002 Put help-form output in a buffer named differently than *Help*.
25003
25004 2011-04-08 Eli Zaretskii <eliz@gnu.org>
25005
25006 * files.el (file-size-human-readable): New function.
25007
25008 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
25009 computing the representation inline. Don't require `cl'.
25010
25011 2011-04-08 Glenn Morris <rgm@gnu.org>
25012
25013 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
25014
25015 * net/browse-url.el (browse-url-firefox):
25016 Test system-type, not system-configuration.
25017
25018 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
25019 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
25020 Use log-edit-empty-buffer-p. (Bug#7598)
25021
25022 * net/rlogin.el (rlogin-process-connection-type): Simplify.
25023 (rlogin-mode-map): Initialize in the defvar.
25024 (rlogin): Use ignore-errors.
25025
25026 * replace.el (occur-mode-map): Some fixes for menu items.
25027
25028 2011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
25029
25030 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
25031
25032 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
25033
25034 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
25035 issuing unused warnings.
25036
25037 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
25038 macro directly.
25039
25040 * simple.el: Lisp reimplement of list-processes. Based on an
25041 earlier reimplementation by Leo Liu, but using tabulated-list.el.
25042 (process-menu-mode): New major mode.
25043 (list-processes--refresh, list-processes):
25044 (process-menu-visit-buffer): New functions.
25045
25046 * files.el (save-buffers-kill-emacs): Don't assume any return
25047 value of list-processes, which is undocumented anyway.
25048
25049 2011-04-06 Chong Yidong <cyd@stupidchicken.com>
25050
25051 * emacs-lisp/tabulated-list.el: New file.
25052
25053 * emacs-lisp/package.el: Use Tabulated List mode.
25054 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
25055 (package-menu-mode): Derive from tabulated-list-mode. Set up the
25056 table format using Tabulated List mode variables.
25057 (package--push): New macro, replacing package-list-maybe-add.
25058 (package-menu--generate): Use package--push. Renamed from
25059 package--generate-package-list.
25060 (package-menu-refresh, list-packages): Use it.
25061 (package-menu--print-info): Rename from package-print-package.
25062 Return insertion data instead of inserting it directly.
25063 (package-menu-describe-package, package-menu-execute):
25064 Use tabulated-list-get-id.
25065 (package-menu-mark-delete, package-menu-mark-install)
25066 (package-menu-mark-unmark, package-menu-backup-unmark)
25067 (package-menu-mark-obsolete-for-deletion):
25068 Use tabulated-list-put-tag.
25069 (package--list-packages, package-menu-revert)
25070 (package-menu-get-package, package-menu-get-version)
25071 (package-menu-sort-by-column): Functions deleted.
25072 (package-menu-package-list, package-menu-sort-key): Vars deleted.
25073 (package-menu--status-predicate, package-menu--version-predicate)
25074 (package-menu--name-predicate)
25075 (package-menu--description-predicate): Handle arguments in the
25076 Tabulated List format.
25077 (package-list-packages-no-fetch): Call list-packages.
25078
25079 2011-04-06 Juanma Barranquero <lekktu@gmail.com>
25080
25081 * files.el (after-find-file-from-revert-buffer): Remove variable.
25082 (after-find-file): Don't bind it.
25083 (revert-buffer-in-progress-p): New variable.
25084 (revert-buffer): Bind it.
25085 Pass nil for `after-find-file-from-revert-buffer'.
25086
25087 * saveplace.el (save-place-find-file-hook): Use new variable
25088 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
25089
25090 2011-04-06 Glenn Morris <rgm@gnu.org>
25091
25092 * Makefile.in (AUTOGEN_VCS): New variable.
25093 (autoloads): Use $AUTOGEN_VCS.
25094
25095 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
25096 * calendar/calendar.el (calendar-mode-map):
25097 Check for toolkit scroll bars. (Bug#8305)
25098
25099 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
25100
25101 * minibuffer.el (completion-in-region--postch)
25102 (completion-in-region-mode): Remove unnecessary messages.
25103
25104 2011-04-05 Juanma Barranquero <lekktu@gmail.com>
25105
25106 * font-lock.el (font-lock-refresh-defaults):
25107 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
25108 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
25109
25110 * info.el (Info-directory-list, Info-read-node-name-2)
25111 (Info-split-parameter-string): Doc fixes.
25112 (Info-virtual-nodes): Reflow docstring.
25113 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
25114 (Info-apropos-toc-nodes, info-finder, Info-get-token)
25115 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
25116 Fix typos in docstrings.
25117 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
25118 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
25119 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
25120 (Info-restore-desktop-buffer): Mark unused parameters.
25121 (Info-directory-find-file, Info-directory-find-node)
25122 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
25123 (Info-virtual-index-find-node, Info-apropos-find-file)
25124 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
25125 Mark unused parameters; fix typos in docstrings.
25126 (Info-virtual-index): Remove unused local variable `nodename'.
25127
25128 2011-04-05 Deniz Dogan <deniz@dogan.se>
25129
25130 * net/rcirc.el: Update my e-mail address.
25131 (rcirc-mode-map): Remove M-o binding.
25132
25133 2011-04-05 Chong Yidong <cyd@stupidchicken.com>
25134
25135 * startup.el (command-line): Save the cursor's theme-face
25136 directly, instead of using face-override-spec.
25137
25138 * custom.el (load-theme): Minor optimization in assigning faces.
25139
25140 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
25141
25142 * help-fns.el (describe-variable): Complete all variables having
25143 documentation, including keywords.
25144 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
25145
25146 2011-04-04 Juanma Barranquero <lekktu@gmail.com>
25147
25148 Convert to lexical-binding.
25149
25150 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
25151 (bs--get-marked-string, bs--get-modified-string)
25152 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
25153 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
25154 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
25155
25156 * ehelp.el (electric-help-execute-extended)
25157 (electric-help-ctrl-x-prefix):
25158 * hexl.el (hexl-revert-buffer-function):
25159 * linum.el (linum-after-change, linum-after-scroll):
25160 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
25161
25162 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
25163
25164 2011-04-04 Daiki Ueno <ueno@unixuser.org>
25165
25166 * epa-dired.el:
25167 * epa-mail.el:
25168 * epa-hook.el:
25169 * epa-file.el:
25170 * epa.el:
25171 * epg.el: Use lexical binding.
25172
25173 2011-04-03 Chong Yidong <cyd@stupidchicken.com>
25174
25175 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
25176
25177 * textmodes/flyspell.el (flyspell-word): Recognize default
25178 dictionary case for flyspell-mark-duplications-exceptions.
25179 Use regexp matching for languages.
25180 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
25181 default dictionary (Bug#7926).
25182
25183 2011-04-02 Chong Yidong <cyd@stupidchicken.com>
25184
25185 * emacs-lisp/package.el (package--with-work-buffer):
25186 Recognize https URLs.
25187
25188 * net/network-stream.el: Move from gnus/proto-stream.el.
25189 Change prefix to network-stream throughout.
25190 (open-protocol-stream): Merge into open-network-stream, leaving
25191 open-protocol-stream as an alias. Handle nil BUFFER args.
25192
25193 * subr.el (open-network-stream): Move to net/network-stream.el.
25194
25195 2011-04-02 Glenn Morris <rgm@gnu.org>
25196
25197 * find-dired.el (find-exec-terminator): New option.
25198 (find-ls-option): Test for -ls support.
25199 (find-ls-subdir-switches): Test for -b in find-ls-option.
25200 (find-dired, find-grep-dired): Doc fixes.
25201 (find-dired): Use find-exec-terminator.
25202
25203 * find-dired.el (find-ls-option, find-ls-subdir-switches)
25204 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
25205 (find-name-arg): Remove purecopy.
25206
25207 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
25208 (grep-compute-defaults): Check for `-exec COMMAND +' support.
25209 Set grep-find-use-xargs, grep-find-command, and grep-find-template
25210 accordingly. Don't add the null-device if not needed.
25211
25212 * files.el (save-some-buffers): Doc fix.
25213
25214 2011-04-02 Eli Zaretskii <eliz@gnu.org>
25215
25216 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
25217
25218 2011-04-01 Juanma Barranquero <lekktu@gmail.com>
25219
25220 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
25221 Use `dolist' rather than `mapcar'.
25222
25223 2011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
25224
25225 Add lexical binding.
25226
25227 * subr.el (apply-partially): Use new closures rather than CL.
25228 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
25229 (dolist, dotimes): Use slightly different expansion for lexical code.
25230 (functionp): Move to C.
25231 (letrec): New macro.
25232 (with-wrapper-hook): Use it and apply-partially instead of CL.
25233 (eval-after-load): Preserve lexical-binding.
25234 (save-window-excursion, with-output-to-temp-buffer): Turn them
25235 into macros.
25236
25237 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
25238
25239 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
25240 than the arglist.
25241 (help-add-fundoc-usage): Don't add `Not documented'.
25242 (help-function-arglist): Handle closures, subroutines, and new
25243 byte-code-functions.
25244 (help-make-usage): Remove leading underscores.
25245 (describe-function-1): Handle closures.
25246 (describe-variable): Use special-variable-p for completion.
25247
25248 * files.el (lexical-binding): Declare safe.
25249
25250 * emacs-lisp/pcase.el: Don't use destructuring-bind.
25251 (pcase--memoize): Rename from pcase-memoize. Change weakness.
25252 (pcase): Add `let' pattern.
25253 Change memoization so it actually works.
25254 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
25255 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
25256 <let>: New case.
25257
25258 * emacs-lisp/macroexp.el: Use lexical binding.
25259 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
25260 Don't convert ' to #' without checking that it's indeed quoting
25261 a lambda.
25262
25263 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
25264 Use eval-sexp-add-defvars.
25265 (eval-sexp-add-defvars): New fun.
25266
25267 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
25268
25269 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
25270 Don't autoload.
25271 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
25272 than the internal `byte-compile-lambda'.
25273 (defmethod): Don't hide code under quotes.
25274 (eieio-defmethod): New `code' argument.
25275
25276 * emacs-lisp/eieio-comp.el: Remove.
25277
25278 * emacs-lisp/edebug.el (edebug-eval-defun)
25279 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
25280 (edebug-toggle): Avoid `eval'.
25281
25282 * emacs-lisp/disass.el (disassemble-internal): Handle new
25283 `closure' objects.
25284 (disassemble-1): Handle new byte codes.
25285
25286 * emacs-lisp/cl.el (pushnew): Silence warning.
25287
25288 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
25289 (cl-byte-compile-throw): Remove.
25290 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
25291
25292 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
25293 closures.
25294
25295 * emacs-lisp/cconv.el: New file.
25296
25297 * emacs-lisp/bytecomp.el: Use lexical binding instead of
25298 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
25299 (byte-compile-initial-macro-environment):
25300 Handle declare-function here.
25301 (byte-compile--lexical-environment): New var.
25302 (byte-stack-ref, byte-stack-set, byte-discardN)
25303 (byte-discardN-preserve-tos): New lap codes.
25304 (byte-interactive-p): Don't use any more.
25305 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
25306 New macros.
25307 (byte-compile-lapcode): Use them and handle new lap codes.
25308 (byte-compile-obsolete): Remove.
25309 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
25310 (byte-compile-arglist-warn): Check late def of inlinable funs.
25311 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
25312 since they should have been expanded by now.
25313 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
25314 (byte-compile-from-buffer): Remove unused second arg.
25315 (byte-compile-preprocess): New function.
25316 (byte-compile-toplevel-file-form): New function to distinguish
25317 file-form calls from outside from file-form calls from hunk-handlers.
25318 (byte-compile-file-form): Simplify.
25319 (byte-compile-file-form-defsubst): Remove.
25320 (byte-compile-file-form-defmumble): Simplify now that
25321 byte-compile-lambda always returns a byte-code-function.
25322 (byte-compile): Preprocess.
25323 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
25324 Remove, not used any more.
25325 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
25326 (byte-compile-make-args-desc): New funs.
25327 (byte-compile-lambda): Handle lexical functions. Always return
25328 a byte-code-function.
25329 (byte-compile-reserved-constants): New var, to make up room for
25330 closed-over variables.
25331 (byte-compile-constants-vector): Obey it.
25332 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
25333 (byte-compile-macroexpand-declare-function): New function.
25334 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
25335 byte-code-functions.
25336 (byte-compile-form): Check obsolescence here.
25337 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
25338 (byte-compile-variable-ref): Remove.
25339 (byte-compile-dynamic-variable-op): New fun.
25340 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
25341 (byte-compile-variable-set): New funs.
25342 (byte-compile-discard): Add 2 args.
25343 (byte-compile-stack-ref, byte-compile-stack-set)
25344 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
25345 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
25346 macroexpand-all instead.
25347 (byte-compile-quote-form): Remove.
25348 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
25349 (byte-compile-bind, byte-compile-unbind): New funs.
25350 (byte-compile-let): Handle let* and lexical binding.
25351 (byte-compile-let*): Remove.
25352 (byte-compile-catch, byte-compile-unwind-protect)
25353 (byte-compile-track-mouse, byte-compile-condition-case):
25354 Handle a new :fun-body form, used for lexical scoping.
25355 (byte-compile-save-window-excursion)
25356 (byte-compile-with-output-to-temp-buffer): Remove.
25357 (byte-compile-defun): Simplify.
25358 (byte-compile-stack-adjustment): New fun.
25359 (byte-compile-out): Use it.
25360 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
25361
25362 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
25363 handler any more.
25364
25365 * emacs-lisp/byte-opt.el: Use lexical binding.
25366 (byte-inline-lapcode): Remove (to bytecomp).
25367 (byte-compile-inline-expand): Pay attention to inlining to/from
25368 lexically bound code.
25369 (byte-compile-unfold-lambda): Don't handle byte-code-functions
25370 any more.
25371 (byte-optimize-form-code-walker): Don't handle save-window-excursion
25372 any more and don't call compiler-macros.
25373 (byte-compile-splice-in-already-compiled-code): Remove.
25374 (byte-code): Don't inline any more.
25375 (disassemble-offset): Receive `bytes' as argument rather than via
25376 dynamic scoping.
25377 (byte-compile-tag-number): Declare before first use.
25378 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
25379 `return' even if make-spliceable.
25380 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
25381 obsolete interactive-p.
25382 (byte-optimize-lapcode): Optimize new lap-codes.
25383 Don't trip up on new form of `byte-constant' lap code.
25384
25385 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
25386
25387 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
25388
25389 * custom.el (custom-initialize-default, custom-declare-variable):
25390 Use `defvar'.
25391
25392 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
25393 New variables.
25394 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
25395 (COMPILE_FIRST): Add macroexp and cconv.
25396 * makefile.w32-in: Mirror changes in Makefile.in.
25397
25398 * vc/cvs-status.el:
25399 * vc/diff-mode.el:
25400 * vc/log-edit.el:
25401 * vc/log-view.el:
25402 * vc/smerge-mode.el:
25403 * textmodes/bibtex-style.el:
25404 * textmodes/css-mode.el:
25405 * startup.el:
25406 * uniquify.el:
25407 * minibuffer.el:
25408 * newcomment.el:
25409 * reveal.el:
25410 * server.el:
25411 * mpc.el:
25412 * emacs-lisp/smie.el:
25413 * doc-view.el:
25414 * dired.el:
25415 * abbrev.el: Use lexical binding.
25416
25417 2011-04-01 Eli Zaretskii <eliz@gnu.org>
25418
25419 * info.el (info-display-manual): New function.
25420
25421 2011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
25422
25423 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
25424
25425 2011-03-31 Tassilo Horn <tassilo@member.fsf.org>
25426
25427 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
25428 an entry for that server in rcirc-authinfo. (Bug#8385)
25429
25430 2011-03-31 Glenn Morris <rgm@gnu.org>
25431
25432 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
25433
25434 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
25435
25436 2011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
25437
25438 * progmodes/python.el (python-default-interpreter)
25439 (python-python-command-args, python-jython-command-args)
25440 (python-which-shell, python-which-args, python-which-bufname)
25441 (python-file-queue, python-comint-output-filter-function)
25442 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
25443 variables and functions.
25444
25445 2011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
25446
25447 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
25448 (completion-in-region-mode): New minor mode.
25449 (completion-in-region): Use it.
25450 (completion-in-region--data, completion-in-region-mode-map): New vars.
25451 (completion-in-region--postch): New function.
25452 (completion--capf-misbehave-funs, completion--capf-safe-funs):
25453 New vars.
25454 (completion--capf-wrapper): New function.
25455 (completion-at-point): Use it to track well-behavedness of
25456 hook functions.
25457 (completion-help-at-point): New command.
25458
25459 2011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
25460
25461 * vc/add-log.el (add-change-log-entry): Don't use whitespace
25462 syntax class to search for whitespace on a single line
25463 (Message-ID: <4D938140.4030905@redhat.com>).
25464
25465 2011-03-30 Leo Liu <sdl.web@gmail.com>
25466
25467 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
25468 New commands.
25469 (edit-abbrevs-map): Bind them here.
25470 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
25471
25472 2011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
25473
25474 * allout.el (allout-hide-by-annotation, allout-flag-region):
25475 Reduce possibility of overlay leakage by making them volatile.
25476
25477 * allout-widgets.el (allout-widgets-tally): Define as nil so the
25478 hash is not shared between buffers. Mode initialization is
25479 responsible for giving it a useful starting value.
25480 (allout-item-span): Reduce possibility of overlay leakage by
25481 making them volatile.
25482 (allout-widgets-count-buttons-in-region): Add diagnostic function
25483 for tracking down button overlay leaks.
25484
25485 2011-03-29 Leo Liu <sdl.web@gmail.com>
25486
25487 * ido.el (ido-read-internal): Use the default history var
25488 minibuffer-history if no HISTORY is specified.
25489
25490 2011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
25491
25492 * net/imap.el (imap-shell-open, imap-process-connection-type):
25493 Use imap-process-connection-type for 'shell' streams as well as
25494 Kerberos, SSL, other subprocesses.
25495
25496 2011-03-28 Leo Liu <sdl.web@gmail.com>
25497
25498 * abbrev.el (abbrev-table-empty-p): New function.
25499 (prepare-abbrev-list-buffer): Place empty abbrev tables after
25500 nonempty ones. (Bug#5937)
25501
25502 2011-03-27 Jan Djärv <jan.h.d@swipnet.se>
25503
25504 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
25505
25506 2011-03-27 Leo Liu <sdl.web@gmail.com>
25507
25508 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
25509 for foreground and background colors.
25510 (ansi-color-make-color-map): Adapt.
25511
25512 2011-03-25 Leo Liu <sdl.web@gmail.com>
25513
25514 * midnight.el (midnight-time-float): Remove. Note it calculates
25515 the microsecond component incorrectly and seconds-to-time does the
25516 same job.
25517 Remove redundant (require 'timer).
25518
25519 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
25520 (ido-completions): Remove unused arguments. (Bug#8329)
25521
25522 2011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
25523
25524 * minibuffer.el (completion--flush-all-sorted-completions):
25525 Remove itself from hook.
25526 (completion-at-point): Let the functions perform the completion
25527 immediately and return nil or t.
25528 * comint.el (comint-dynamic-complete-functions): Now identical to
25529 completion-at-point-functions.
25530 (comint-dynamic-list-input-ring): Remove unused var `index'.
25531 (comint--match-partial-filename, comint--unquote&expand-filename):
25532 New funs, split from comint-match-partial-filename.
25533 (comint-dynamic-complete): Use completion-at-point.
25534 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
25535
25536 2011-03-24 Drew Adams <drew.adams@oracle.com>
25537
25538 * thingatpt.el: Support `defun'.
25539
25540 2011-03-23 Leo Liu <sdl.web@gmail.com>
25541
25542 * abbrevlist.el: Move to obsolete/abbrevlist.el.
25543
25544 * help-mode.el (help-mode-finish): Tweak regexp.
25545
25546 2011-03-23 Glenn Morris <rgm@gnu.org>
25547
25548 * eshell/esh-opt.el (eshell-eval-using-options):
25549 Do not bind unused local variable `eshell-option-stub'.
25550
25551 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
25552
25553 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
25554
25555 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
25556 keymap variable in `with-no-warnings' to avoid a warning when the
25557 keymap has been already `defconst'ed.
25558
25559 2011-03-22 Leo Liu <sdl.web@gmail.com>
25560
25561 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
25562 encode all chars in abbrevs; otherwise use emacs-mule or
25563 utf-8-emacs. (Bug#8308)
25564
25565 2011-03-22 Juanma Barranquero <lekktu@gmail.com>
25566
25567 * simple.el (backward-delete-char-untabify):
25568 Avoid warning about using `delete-backward-char'.
25569
25570 * image.el (image-type-file-name-regexps): Make it variable.
25571 `imagemagick-register-types' modifies it, and the user may want
25572 to add new extensions for known image types.
25573 (imagemagick-register-types): Throw error if not using ImageMagick.
25574
25575 2011-03-22 Leo Liu <sdl.web@gmail.com>
25576
25577 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
25578 located before rcirc-prompt-end-marker.
25579 (rcirc-complete): Error if point is not after rcirc prompt.
25580 Handle the case when table is nil.
25581 (rcirc-user-authenticated): Define to fix compiler warning.
25582
25583 2011-03-22 Chong Yidong <cyd@stupidchicken.com>
25584
25585 * custom.el (custom--inhibit-theme-enable): Make it affect only
25586 custom-theme-set-variables and custom-theme-set-faces.
25587 (provide-theme): Ignore custom--inhibit-theme-enable.
25588 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
25589 (custom-enabling-themes): Delete variable.
25590 (enable-theme): Accept only loaded themes as arguments.
25591 Ignore the special custom-enabled-themes variable.
25592 (custom-enabled-themes): Forbid themes from setting this.
25593 Eliminate use of custom-enabling-themes.
25594 (custom-push-theme): Quote "changed" custom var entry.
25595
25596 2011-03-21 Leo Liu <sdl.web@gmail.com>
25597
25598 * ido.el (ido-read-internal): Add ido-selected to history instead
25599 of user input.
25600
25601 2011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
25602
25603 * subr.el (deferred-action-list, deferred-action-function):
25604 Mark obsolete.
25605
25606 2011-03-21 Leo Liu <sdl.web@gmail.com>
25607
25608 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
25609 change on 2011-02-13 (bug#8309).
25610
25611 * minibuffer.el (read-file-name-function): Change default value.
25612 (read-file-name--defaults): Rename from read-file-name-defaults.
25613 (read-file-name-default): Rename from read-file-name.
25614 (read-file-name): Call read-file-name-function.
25615
25616 2011-03-21 Glenn Morris <rgm@gnu.org>
25617
25618 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
25619 Doc fixes.
25620
25621 2011-03-21 Chong Yidong <cyd@stupidchicken.com>
25622
25623 * cus-theme.el: Add missing provide statement.
25624 (customize-create-theme): Extract theme value correctly.
25625 (custom-theme-visit-theme): Autoload.
25626 (customize-create-theme): Prompt before inserting default faces.
25627
25628 2011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
25629
25630 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
25631 units and musical notes.
25632
25633 2011-03-20 Leo Liu <sdl.web@gmail.com>
25634
25635 * ido.el (ido-read-internal): Use completing-read-default.
25636 (ido-completing-read): Fix compatibility with completing-read.
25637
25638 2011-03-20 Christian Ohler <ohler@gnu.org>
25639
25640 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
25641 (ert-delete-all-tests): Use `called-interactively-p' rather than
25642 `interactive-p'.
25643 (ert--make-xrefs-region): Respect END.
25644
25645 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
25646
25647 * dired-aux.el (dired-create-directory): Signal an error if the
25648 directory already exists (Bug#8246).
25649
25650 * facemenu.el (list-colors-display): Call list-faces-display
25651 inside with-help-window.
25652 (list-colors-print): Use display property to align the final
25653 column, instead of checking window-width.
25654
25655 2011-03-19 Eli Zaretskii <eliz@gnu.org>
25656
25657 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
25658 windows-nt systems.
25659 (emerge-protect-metachars): Quote correctly for ms-dos and
25660 windows-nt systems.
25661
25662 2011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
25663
25664 * info.el (info-initialize): Replace all uses of `:' with
25665 path-separator for compatibility with non-Unix systems.
25666 Cache quoting of path-separator. (Bug#8258)
25667
25668 2011-03-19 Juanma Barranquero <lekktu@gmail.com>
25669
25670 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
25671 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
25672 (mouse-avoidance-mode): Fix typos in docstrings.
25673
25674 2011-03-19 Chong Yidong <cyd@stupidchicken.com>
25675
25676 * startup.el (package-subdirectory-regexp): Move from package.el.
25677 Omit \\` and \\', and let callers add them.
25678
25679 * emacs-lisp/package.el (package-strip-version)
25680 (package-load-all-descriptors): Add \\` and \\' to
25681 package-subdirectory-regexp before using it.
25682 (package-untar-buffer): New arg DIR; ensure that file untars only
25683 into this expected directory. Remove superfluous delete-region.
25684 (package-unpack): Caller changed.
25685 (package-tar-file-info): Use package-subdirectory-regexp.
25686
25687 2011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
25688
25689 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
25690 diff-mode-shared-map (bug#8284).
25691 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
25692
25693 2011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
25694
25695 * calendar/time-date.el (format-seconds): Use assoc instead of
25696 assoc-string, since assoc-string doesn't exist in XEmacs.
25697
25698 2011-03-17 Juanma Barranquero <lekktu@gmail.com>
25699
25700 * custom.el (custom-known-themes): Reflow docstring.
25701 (custom-theme-load-path): Fix typo in docstring.
25702 (load-theme): Fix typo in error message.
25703 (custom-available-themes, custom-variable-theme-value):
25704 Use `let', not `let*'.
25705
25706 2011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
25707
25708 * calc/README: Mention inclusion of musical notes.
25709
25710 * calc/calc-units.el (calc-lu-quant): Rename from
25711 `calc-logunits-quantity'.
25712 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
25713 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
25714 (calc-db): Rename from `calc-dblevel'.
25715 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
25716 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
25717 (calc-np): Rename from `calc-nplevel'.
25718 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
25719 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
25720 (calc-lu-plus): Rename from `calc-logunits-add'.
25721 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
25722 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
25723 (calc-lu-minus): Rename from `calc-logunits-sub'.
25724 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
25725 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
25726 (calc-lu-times): Rename from `calc-logunits-mul'.
25727 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
25728 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
25729 (calc-lu-divide): Rename from `calc-logunits-div'.
25730 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
25731 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
25732
25733 * calc/calc-ext.el (calc-init-extensions): Update the names of the
25734 functions being autoloaded.
25735
25736 * calc/calc.el (calc-lu-power-reference): Rename from
25737 `calc-logunits-power-reference'.
25738 (calc-lu-field-reference): Rename from
25739 `calc-logunits-field-reference'.
25740
25741 * calc/calc-help.el (calc-l-prefix-help):
25742 Mention musical note functions.
25743
25744 2011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
25745
25746 * minibuffer.el (completion-all-sorted-completions):
25747 Use :completion-cycle-penalty text property if present.
25748
25749 2011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
25750
25751 * allout.el (allout-yank-processing): Adjust for new rebulleting
25752 regime so bullet being yanked is used without prompting the user
25753 for a choice.
25754
25755 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
25756
25757 * startup.el (command-line): Warn the user that _emacs is deprecated.
25758
25759 2011-03-16 Juanma Barranquero <lekktu@gmail.com>
25760
25761 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
25762 (delphi-verbose, delphi-comment-face, delphi-string-face)
25763 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
25764 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
25765 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
25766 (delphi-new-comment-line, delphi-font-lock-defaults)
25767 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
25768 Fix typos in docstrings.
25769
25770 2011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
25771
25772 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
25773 Invert the roles of character and string values for INSTEAD, so a
25774 string is used for the more common case of a defaulting prompt.
25775
25776 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
25777
25778 * progmodes/ruby-mode.el (ruby-backward-sexp):
25779 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
25780 * play/gamegrid.el (gamegrid-make-face):
25781 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
25782 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
25783 * notifications.el (notifications-notify):
25784 * net/xesam.el (xesam-search-engines):
25785 * net/quickurl.el (quickurl-list-insert):
25786 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
25787
25788 2011-03-15 Chong Yidong <cyd@stupidchicken.com>
25789
25790 * startup.el (command-line): Update package subdirectory regexp.
25791
25792 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
25793
25794 * allout.el (allout-abbreviate-flattened-numbering)
25795 (allout-mode-deactivate-hook): Fix up obsolescence "date".
25796
25797 * subr.el (read-char-choice): Only show the cursor after the prompt,
25798 not after the answer.
25799
25800 2011-03-15 Kevin Ryde <user42@zip.com.au>
25801
25802 * help-fns.el (variable-at-point): Skip leading quotes, if any
25803 (bug#8253).
25804
25805 2011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
25806
25807 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
25808 warning message.
25809
25810 2011-03-14 Michael Albinus <michael.albinus@gmx.de>
25811
25812 * shell.el (shell): When called interactively, offer to change the
25813 shell file name on remote hosts.
25814
25815 2011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
25816
25817 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
25818 integration for LDAP parameters. The host, base, user or binddn,
25819 and secret tokens can be specified in a netrc file, for instance.
25820 This is optional because an `auth-source' parameter must be
25821 specified in the search attributes.
25822
25823 2011-03-13 Juanma Barranquero <lekktu@gmail.com>
25824
25825 * help.el (describe-mode): Link to the mode's definition (bug#8185).
25826
25827 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
25828
25829 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
25830 into declaration. Remove redundant and harmful binding.
25831
25832 2011-03-12 Eli Zaretskii <eliz@gnu.org>
25833
25834 * files.el (file-ownership-preserved-p): Pass `integer' as an
25835 explicit 2nd argument to `file-attributes'. If the file's owner
25836 is the Administrators group on Windows, and the current user is
25837 Administrator, consider that a match.
25838
25839 * server.el (server-ensure-safe-dir): Consider server directory
25840 safe on MS-Windows if its owner is the Administrators group while
25841 the current Emacs user is Administrator. Use `=' to compare
25842 numerical UIDs, since they could be integers or floats.
25843
25844 2011-03-12 Juanma Barranquero <lekktu@gmail.com>
25845
25846 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
25847
25848 2011-03-12 Michael Albinus <michael.albinus@gmx.de>
25849
25850 Sync with Tramp 2.2.1.
25851
25852 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
25853
25854 * net/trampver.el: Update release number.
25855
25856 2011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
25857
25858 * progmodes/compile.el (compilation--previous-directory): Fix up
25859 various nil/dead-marker mismatches (bug#8014).
25860 (compilation-directory-properties, compilation-error-properties):
25861 Don't call it at a position past the one we're about to change.
25862
25863 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
25864 Disable obsolescence warnings in the file that declares it.
25865
25866 2011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
25867
25868 * allout-widgets.el (allout-widgets-tally):
25869 Initialize allout-widgets-tally as a hash table rather than nil to
25870 prevent mode-line redisplay warnings. Also, clarify the module
25871 description and fix a comment typo.
25872
25873 2011-03-11 Juanma Barranquero <lekktu@gmail.com>
25874
25875 * help-fns.el (describe-variable): Don't complete keywords.
25876 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
25877
25878 2011-03-10 Chong Yidong <cyd@stupidchicken.com>
25879
25880 * emacs-lisp/package.el (package-version-join): Impose a standard
25881 string representation for pre/alpha/beta version lists.
25882 (package-unpack-single): Standardize the directory name by passing
25883 it through package-version-join.
25884 (package-strip-rcs-id): Accept any version string that does not
25885 signal an error in version-to-list.
25886
25887 2011-03-10 Michael Albinus <michael.albinus@gmx.de>
25888
25889 * simple.el (delete-trailing-whitespace): Return nil for the
25890 benefit of `write-file-functions'.
25891
25892 2011-03-10 Glenn Morris <rgm@gnu.org>
25893
25894 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
25895
25896 * vc/vc-git.el (vc-git-program): New option.
25897 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
25898 (vc-git--call): Use it.
25899
25900 * eshell/esh-util.el (eshell-condition-case): Doc fix.
25901
25902 * cus-edit.el (Custom-newline): If no button at point, look
25903 for a subgroup button at start-of-line. (Bug#2298)
25904
25905 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
25906
25907 2011-03-10 Julien Danjou <julien@danjou.info>
25908
25909 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
25910 `cursor-type' is nil.
25911
25912 2011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
25913
25914 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
25915
25916 2011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
25917
25918 * allout.el: Change so yank of distinctive-bullet items
25919 preserves the existing header prefix, rebulleting it if necessary,
25920 rather than replacing it. This is necessary for proper operation
25921 of cooperative addons like allout-widgets.
25922 (allout-make-topic-prefix, allout-rebullet-heading):
25923 Change SOLICIT arg to INSTEAD, and interpret additionally a string
25924 value as alternate bullet to be used, instead of prompting the user
25925 for a bullet character.
25926
25927 2011-03-09 Michael Albinus <michael.albinus@gmx.de>
25928
25929 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
25930 Do not use `tramp-file-name-port', because this returns also
25931 `tramp-default-port'.
25932
25933 2011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
25934
25935 * net/rcirc.el (rcirc-handler-001): Remove useless
25936 with-rcirc-process-buffer.
25937 (rcirc-check-auth-status): Swap arguments to string-match.
25938
25939 2011-03-09 Glenn Morris <rgm@gnu.org>
25940
25941 * shell.el (shell-mode):
25942 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
25943
25944 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
25945 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
25946
25947 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
25948
25949 * emacs-lisp/package.el (package-refresh-contents)
25950 (package-menu-execute): Use condition-case-no-debug.
25951
25952 2011-03-08 Michael Albinus <michael.albinus@gmx.de>
25953
25954 * simple.el (shell-command-to-string): Use `process-file'.
25955
25956 * emacs-lisp/package.el (package-tar-file-info): Handle also
25957 remote files.
25958
25959 * emacs-lisp/package-x.el (package-upload-buffer-internal):
25960 Use `equal' for upload base check.
25961
25962 2011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
25963
25964 * textmodes/texinfo.el (texinfo-environments):
25965 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
25966
25967 2011-03-08 Glenn Morris <rgm@gnu.org>
25968
25969 * cus-start.el (cursor-in-non-selected-windows):
25970 Fix :set quoting oddness. (Bug#8192)
25971
25972 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
25973 in some setf expressions. (Bug#2159)
25974
25975 2011-03-08 Chong Yidong <cyd@stupidchicken.com>
25976
25977 * custom.el (custom-available-themes): Return themes in
25978 alphabetical order.
25979
25980 See ChangeLog.15 for earlier changes.
25981
25982 ;; Local Variables:
25983 ;; coding: utf-8
25984 ;; End:
25985
25986 Copyright (C) 2011-2013 Free Software Foundation, Inc.
25987
25988 This file is part of GNU Emacs.
25989
25990 GNU Emacs is free software: you can redistribute it and/or modify
25991 it under the terms of the GNU General Public License as published by
25992 the Free Software Foundation, either version 3 of the License, or
25993 (at your option) any later version.
25994
25995 GNU Emacs is distributed in the hope that it will be useful,
25996 but WITHOUT ANY WARRANTY; without even the implied warranty of
25997 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
25998 GNU General Public License for more details.
25999
26000 You should have received a copy of the GNU General Public License
26001 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.